Commit graph

126 commits

Author SHA1 Message Date
Marcin Kuzminski
79a7719e92 system-info: ensure safe read of base_url in case it's not set. 2018-12-10 17:33:14 +01:00
Marcin Kuzminski
5dc892c339 auth/security: enforce that external users cannot reset their password. 2018-11-29 19:24:15 +01:00
Marcin Kuzminski
fcc18a6200 application: re-organize imports for pyramid to prepare code for speedup optimization. 2018-11-24 17:52:21 +01:00
Marcin Lulek
a39b4baf03 system-info: expose base_url 2018-11-22 14:39:33 +01:00
Marcin Kuzminski
e1bbb01dab ldap: adde common ldap-ce na ldap-ee structure, and extend options
- added timeout
- make the code more shared
- allow specification of tls certdir and certfile manually
2018-11-25 18:47:15 +01:00
Marcin Kuzminski
0cc2c2c07d code: code cleanups, use is None instead of == None. 2018-11-21 18:05:27 +01:00
Marcin Kuzminski
68c06918fd processes: show how many workers we have set from configuration. 2018-10-25 11:48:44 +02:00
Marcin Kuzminski
8d4e2dda3a license: update license metadata and generation code 2018-09-20 21:48:08 +02:00
Marcin Kuzminski
19d4c6901b exc_tracker: allow setting custom store via .ini file
- use safer exc read when listing exceptions.
2018-09-10 22:18:53 +02:00
Marcin Lulek
c1c8c93ea6 exception-tracker: add show-more link. 2018-08-30 12:05:26 +02: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
b9af4aab18 auth-tokens: abstracted adding token for users into UserModel method for easier usage in scripts, and in future in API. 2018-08-10 15:20:29 +02:00
Marcin Kuzminski
38cd92a8c0 events: cleanup code, pep8, better logging. 2018-07-31 12:13:04 +02:00
Marcin Kuzminski
16fc665e10 system-info: fetch default locale to the provided system info data. 2018-07-30 12:17:36 +02:00
Marcin Kuzminski
21c608be71 exceptions: added new exception tracking capability.
- store exceptions
- expose super admin interface to browse latest errors
2018-07-23 15:56:09 +02:00
Marcin Kuzminski
84d673d387 caches: use dogpile for sql_cache_short region. 2018-07-12 17:20:03 +02:00
Marcin Kuzminski
1e5586a48f events: UserPermissionsChanged should not flush duplicates 2018-07-11 13:26:45 +02:00
Marcin Kuzminski
fa5d94d619 permissions: flush cache when creating a new fork. 2018-07-11 12:56:18 +02:00
Marcin Kuzminski
8a32949457 caches: flush cache when adding new objects so we can access them right away. 2018-07-10 16:02:21 +02:00
Marcin Kuzminski
0691f71bdd caches: flush the caches on permission changes for affected users. 2018-07-09 13:56:52 +02:00
Marcin Kuzminski
ad4963f1d3 events: add event to catch permission changed so we can flush affected users permission caches 2018-07-09 13:01:42 +02:00
Marcin Kuzminski
a48ab8a32d caches: don't use beaker for file caches anymore 2018-07-06 12:55:13 +02:00
Marcin Kuzminski
ddc445856e caches: rewrite of auth/permission caches to dogpile. 2018-07-05 20:14:33 +02:00
Marcin Kuzminski
b66bbff0e8 tests: made few tests handle database transactions better. 2018-06-11 18:39:51 +02:00
Marcin Kuzminski
df9206a486 release: merge back stable branch into default 2018-05-17 12:05:10 +02:00
Marcin Kuzminski
10cf433145 ssh-keys: further sanitize data of inputted SSH keys. 2018-05-16 23:01:46 +02:00
Bartłomiej Wołyńczyk
7ba1dd57ac admin users and admin users group: add number of inactive users/users_group, resolves #5454 2018-04-18 21:43:24 +02:00
Marcin Kuzminski
3667868099 system-info: added ulimit to system info. 2018-03-30 15:35:55 +02:00
Marcin Kuzminski
c8bd6381f6 user-groups: fix sync flag extraction. 2018-03-30 14:21:15 +02:00
Marcin Kuzminski
beff366341 processes: better handling of PID that are not part of RhodeCode processes.
- in some cases for multiple gunicorn instances the PID sent is not from rhodecode which
would lead to AccessDenied errors. We prevent from crashing the server on this type of errors.
2018-03-28 13:27:03 +02:00
Marcin Kuzminski
3949688b3d api: enable setting sync flag for user groups on create/edit. 2018-03-28 13:27:21 +02:00
Marcin Kuzminski
a8428e7271 auth-ldap: added connection pinning and timeout option to ldap plugin 2018-03-27 11:51:37 +02:00
Marcin Kuzminski
8d1765a709 user-groups: on admin view redirect links to public profile. We have an explicit
edit button, and this is consistent with user views.
2018-02-22 15:52:39 +01:00
Marcin Kuzminski
a1a6ad26bc automation: add EE feature placeholder 2018-02-21 18:45:52 +01:00
Marcin Kuzminski
67d8bfdbb6 settings-forms: put flash message on validation errors to prevent missing out some field input validation problems. 2018-02-20 14:59:09 +01:00
Marcin Kuzminski
ff858cc9f6 ssh: show fingerprint when adding already existing key.
- help to track why we failed to add a specific key
2018-02-18 12:24:01 +01:00
Marcin Kuzminski
b8619894a6 process-management: use safer way to extract data for processes.
- prevents from unknown PID errors.
2018-02-05 18:45:04 +01:00
Marcin Kuzminski
e12af2ef40 processes: add a way to control processes via gunicorn control.
- allows web based adding/removing workers
2018-01-29 22:08:52 +01:00
Marcin Kuzminski
5c4f5f9f2c process-management: enable auto-refresh to track usage live. 2018-01-29 17:47:25 +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
ad2c66ddb5 issue-trackers: cache the fetched issue tracker patterns in changelog page before loop iteration 2017-12-07 12:33:11 +01:00
Marcin Kuzminski
a368564cba update: add new async task to check for updates via scheduler.
- save the data into DB for later evaluation
- show in system info that we know the system is outdated
2017-12-04 19:23:55 +01:00
Marcin Kuzminski
60846faf8e navigation: allow specifing more than one active element to set as one selecting current navlist entry. 2017-11-26 22:13:20 +01:00
Marcin Kuzminski
79f00ec46a flash: use consistent use of h.flash across the application. 2017-11-16 20:35:50 +01:00
Marcin Kuzminski
6bbab12fcc celery: celery 4.X support. Fixes #4169
- update tasks
- enabled celerybeat to function
- check and cleanup code for 4.X
2017-11-16 19:26:53 +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 Kuzminski
b82576778b issue-trackers: enforce a http or / patterns to avoid JS injections. 2017-11-09 19:42:19 +01:00