Marcin Kuzminski
fe96e16646
code: update copyrights to 2020
2020-04-16 00:34:52 +02:00
Marcin Kuzminski
b07c737259
users: do not require description on admin user creation
2019-11-12 14:52:15 +01:00
Marcin Kuzminski
cd0bf47064
users: add edition of description in admin view for users
2019-10-31 10:28:13 +01:00
Marcin Kuzminski
981307fc4f
landing-rev: fixes #4102 , use branches instead of landing tip refs by default.
...
- also changed how readme is rendered based on landing commit to minimize locking for often changing repositories.
2019-08-16 09:55:36 +02:00
Marcin Kuzminski
4607c07228
pull-requests: drop required minimal 3 characters for title
2019-05-03 10:24:11 +02:00
Marcin Kuzminski
bd1a9c8201
docs: updated copyrights to 2019
2019-01-02 18:13:27 +01:00
Marcin Kuzminski
e41725c078
branch permissions: added logic to define in UI branch permissions.
...
- db models
- new permissions pages placeholders
2018-08-28 13:41:30 +02:00
Marcin Kuzminski
099f68a724
pull-requests: make the renderer stored and saved for each pull requests.
...
- gives backward compatability with previous versions which didn't set renderer
- allows versioning of renderer changes
2018-07-17 14:45:29 +02:00
Bartłomiej Wołyńczyk
4637dd151e
caching: add option to cache diffs for commits and pull requests.
...
- new option for vcs settings to enable caching of diffs and commits
- enables auditing of PR after closing it, and removing commits from source repo
- speed up for large PR upto 20x
- reduced memory usage
2018-04-17 18:46:20 +02:00
Marcin Kuzminski
e5db2ac1d2
visual-settings: fill in default clone/ssh clone urls if they aren't provided.
...
- people tend to not know what should be the proper value. Let's fill in the defaults for them
2018-02-20 15:10:01 +01:00
Marcin Kuzminski
9c22bde88e
ui: allow selecting and specifing ssh clone url.
...
- fixes #5340
2018-01-25 14:20:08 +01:00
Marcin Kuzminski
00b45c1fa7
release: update copyright year to 2018
2018-01-19 17:13:16 +01:00
Marcin Kuzminski
6f2703e4af
default-reviewers: introduce new voting rule logic that allows
...
defining vote rules for user groups assigned to the default reviewers.
- allows to set per number votes on user groups
- group reviewers by groups
- store the rules and show them in the UI
- fixes #5409
2018-01-19 12:38:25 +01:00
Marcin Kuzminski
a923fc7303
pull-requests: use proper validation of pull request title to prevent from bad errors.
2018-01-18 15:12:17 +01:00
Marcin Kuzminski
b7d0dc3960
release: merge back stable branch into default
2017-11-23 13:44:15 +01:00
Marcin Kuzminski
86e3a0f8d5
emails: fixed validation of emails with whitespace in them.
...
- fixes problem with potential duplicate emails addresses for users.
2017-11-22 20:59:25 +01:00
Marcin Lulek
7d9acd3c06
email: add whitespace stripping during registration of users on email addresses.
2017-11-20 17:49:02 +01:00
Marcin Kuzminski
1d332c03ad
pylons: fixed code and test suite after removal of pylons.
2017-11-16 18:27:09 +01:00
Marcin Kuzminski
5f9ae2ae11
pylons: remove pylons as dependency
...
- dependencies: bumped:
-setuptools-scm==1.15.6
-celery==4.1.0
-kombu==4.1.0
-pytz==2017.3
-Routes==2.4.1
Removed all pylons components. Refactored the code to use only pyramid
parts
2017-11-15 13:42:54 +01:00
Marcin Lulek
725145927b
security: limit the maximum password lenght to 72 characters to prevent possible
...
server side resource consumption attack.
- bcrypt heavy computation can lead to DOS using a very long password .eg 10**8 lenght.
- we allowed this on registration or on password update
2017-09-27 10:52:17 +02:00
Marcin Kuzminski
990994942d
pull-requests: use close action with proper --close-commit solution.
...
- Mercurial settings are no long as LABS
- Unified some code between GIT and HG on rebase/close/delete feature branches
2017-08-24 22:36:34 +02:00
Mathieu Cantin
761e973359
mercurial: Add option to close a branch before merging
2017-08-08 13:46:42 -04:00
Marcin Kuzminski
c650cdddcc
pyramid: if possible fetch csrf tokens from pyramid session.
...
- we need to explicitly pass in requests into secure forms
- allows to not use pylons global session for fetching csrf tokens
2017-07-13 12:35:42 +02:00
Marcin Kuzminski
bd1e865c9c
pull-request: extended default reviewers functionality.
...
- added mandatory reviewers JS logic Fixes : #4219
- added option to forbid author to be a reviewer via JS/Frontend checks. Fixes #5190
- added option to forbid adding new reviewers except those defined. Fixes #5208
2017-05-29 20:10:17 +02:00
Marcin Kuzminski
4801f5f8ca
mercurial-evolve: enable evolve setting on repositories.
2017-05-10 18:33:59 +02:00
Marcin Kuzminski
b4b97b1b4e
repo-creation: validate and forbid creating .git suffixed repository names.
...
- because of git-lfs support, and also becuase to support the clone of git bare repositories
we cannot allow creating such repositories.
2017-04-18 12:23:14 +02:00
Marcin Kuzminski
858dfef419
git-lfs: settings for GIT repos to enable git-lfs and set store location
...
- ref #4235
2017-03-21 17:23:28 +01:00
Marcin Kuzminski
aa95986678
mercurial: allow editing largefile store from web interface.
2017-03-17 22:08:34 +01:00
Marcin Kuzminski
fcc027c282
license: updated copyright year to 2017
2017-01-02 09:30:39 +01:00
Marcin Kuzminski
9e6713219c
repo-groups: implemented default personal repo groups logic.
...
- fixes #4003
- adds new settings to automatically create personal repo groups for users on API cal, add user form, registration
- it's possible to create a pattern based repo group for example /u/{username}
2016-11-07 15:27:36 +01:00
Marcin Kuzminski
cbafa9652e
user-groups: new selector for user group memebers.
...
- removed old two column selector in replacement of autocomplete list
- scales much better for alrge number of users
- still allows to select single users and user groups
- fixes #4291 (user group shows only username in members)
2016-11-06 16:01:21 +01:00
lisaq
607fd8931d
settings: fix #3944 add password reset permission
2016-10-25 17:37:14 +02:00
Daniel Dourvaris
b3e97c1715
reviewers: store reviewer reasons to database, fixes #4238
2016-09-27 02:34:15 +03:00
Marcin Kuzminski
d92e030879
vcs: moved svn proxy settings into vcs related settings
...
- vcs middleware now returns dummyHandler if not configured
- propagate the per-repo vcs related configs into VCSMiddleware
- moved the forms arround and group things into more logical blocks
2016-09-06 12:29:54 +02:00
lisaq
ca1ec404c2
svn: moving svn http support out of labs settings.
2016-08-23 17:07:22 +02:00
Daniel Dourvaris
b51406ec1d
account: convert change password form to colander schema and fix bug
...
where user could use same password as before when changing
password, fixes #2264
2016-08-05 06:55:35 +03:00
Marcin Kuzminski
198c6fda61
gists: use colander schema to validate input data.
...
- brings consistent validation acros API and web
- use nicer and stricter schemas to validate data
- fixes #4118
2016-07-31 20:11:12 +02:00
Daniel Dourvaris
61553db529
deform: use pypi deform library and add helpers to deform scope directly
...
to avoid passing it each time form is rendered
2016-07-29 17:27:38 +03:00
Daniel Dourvaris
9dd0674b39
forms: add deform for integration settings forms
2016-07-27 11:39:23 +03:00
Martin Bornhold
77c3287d4a
settings: Delete obsolete code related to the rebase-merge lab settings.
2016-06-27 16:53:36 +02:00
Martin Bornhold
b3a1dec11e
settings: Add the 'rebase-merge' setting to VCS base form and VCS settings model.
2016-06-27 11:00:22 +02:00
Marcin Kuzminski
2687022328
repos, repo groups, user groups: allow to use disabled users in owner field.
...
This fixes #3374 . There's no good benefit of having possibility to prevent
setting disabled user from beeing an owner.
It can happen that we start preperating a system and use disabled accounts.
Also users shouldn't be forbidden to edit settings on an disabled owner.
2016-06-18 02:03:43 +02:00
Marcin Kuzminski
9a0d8c0b77
project: added all source files and assets
2016-05-24 15:56:53 +02:00