Commit graph

113 commits

Author SHA1 Message Date
Marcin Kuzminski
26ac57ecbc admin: added basic admin page 2019-03-22 22:19:05 +01:00
Marcin Kuzminski
bf2f76fa87 processes: shorten the message and remove exit code which isn't shown properly anyway. 2019-02-22 02:13:53 +01:00
Marcin Kuzminski
a005be6f2f permissions: flush permissions correctly for forks/repos when celery is used. 2019-01-15 21:04:30 +01:00
Marcin Kuzminski
767c0da28a permissions: flush default user permissions on global app permission changes. 2019-01-14 22:16:57 +01:00
Marcin Kuzminski
3268256a7a permissions: handle more cases for invalidating permission caches
- invalidate user permissions on chaning the global permissions
- invalidate all users in case of creating new object with "copy permissions" flag
- invalidate all users permissions in case of repo/repo group renames
- invalidate all user permissions in forked repo with copy flag
2019-01-14 20:19:25 +01:00
Marcin Kuzminski
c37bfb464a users: use two distinct actions for user password reset.
- this makes a better UX instead of TOGGLE.
2019-01-14 18:46:18 +01:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Daniel Dourvaris
bd42c53c17 search: add support for elastic search 6
- elasticsearch new query lang and searcher
- much more advanced query lang
- added context aware search in repository groups, repository, commits, files view
- optimized quick search bar speed when using full text search
- added option to increase hits per file number from query URL using max_lines
- search results can be now marked inside a text file using ?mark=HIGHLIGHT_TEXT added to the url
2018-12-19 18:17:51 +01:00
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
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
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
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
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
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
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
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
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