Commit graph

112 commits

Author SHA1 Message Date
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
Marcin Kuzminski
9c110539e0 admin: ported settings controller to pyramid.
- NavList dropped pyramid flag as it's pure pyramid now
2017-11-09 15:40:31 +01:00
Marcin Kuzminski
068afbe067 navigation: moved registration of nav registry to it's own function.
We can re-use it in EE tests better.
2017-11-08 12:46:42 +01:00
Marcin Kuzminski
877b539f3b settings: removed not used supervisor views/models.
- this isn't going anywhere, and it's a dead code that has been
replaced by the processes page.
2017-11-08 12:22:35 +01:00
Marcin Kuzminski
c095cd185f navigation: allow passing already found registry 2017-11-08 11:24:09 +01:00
Marcin Kuzminski
70b3ddade4 navigation: change the code for pep8 to stop complaining 2017-11-08 11:23:49 +01:00
Marcin Kuzminski
661d12e10f partial-renderer: use package resource format for templates.
- it's faster then lookup
- doesn't require any special configuration changes
2017-11-07 22:28:14 +01:00
Marcin Kuzminski
116099638b apps: switch import of ADMIN_PREFIX from routing into base app.
- routing is deprecated and will be soon removed
2017-11-07 14:17:26 +01:00
Marcin Kuzminski
4336119cb0 views: load template context for XHR views.
- We use partial renderer and this requires the call_context to be initialized.
- Helps the Pyramid porting to be finished
2017-11-07 14:15:24 +01:00
Marcin Kuzminski
e6fa851ff8 db: prevent empty IN queries that generally are performance problem, and triggers sql warnings. 2017-10-17 20:32:23 +02:00
Marcin Kuzminski
69a865a7a3 repo-groups: moved to pyramid 2017-10-17 14:06:51 +02:00
Marcin Kuzminski
b326189910 repo-forks: security, fix issue when forging fork_repo_id could allow reading
other people forks.
2017-10-15 18:54:52 +02:00
Marcin Kuzminski
a00cc457a9 ssh-keys: expose last access time on admin summary page for SSH keys. 2017-09-27 22:21:04 +02:00
Marcin Kuzminski
a9fc01d079 repo-auth-tokens: UX, set and disable to VCS scope if selected an repo from select2 2017-09-21 20:12:13 +02:00
Marcin Kuzminski
b505377197 users: ported controllers from pylons into pyramid views. 2017-09-20 22:29:34 +02:00