Commit graph

188 commits

Author SHA1 Message Date
RhodeCode Admin
b0f3ddc600 system-info: expose env variables 2021-12-01 13:53:38 +01:00
RhodeCode Admin
37a751bc31 users: enable full edit mode for super admins.
- We'll enable the users to change their names via external auth for rename cases.
2021-10-29 14:42:31 +02:00
RhodeCode Admin
cee973848d permissions: flush all users permissions when creating a new user group.
- fixes #5664
2021-07-28 22:28:24 +02:00
RhodeCode Admin
9f13849af9 api: added proper full permission flush on API calls when creating repos and repo groups.
- This allows a full flush and multiple calls made via API
2021-05-24 23:47:29 +02:00
Milka Kuzminski
0421a6054d artifacts: added missing code for CE views and admin artifacts. 2021-04-06 22:23:41 +02:00
Milka Kuzminski
202df81250 clone-urls: allow custom clone by id template. 2021-01-22 08:56:20 +01:00
Milka Kuzminski
eb5ec20934 application: not use config.scan(), and replace all @add_view decorator into a explicit add_view call for faster app start. 2020-12-08 17:04:39 +01:00
Milka Kuzminski
f5bed7486e app: improve logging, and remove DB calls on app startup. 2020-11-10 09:55:47 +01:00
Marcin Kuzminski
8627996783 issue-trackers: implemented more sophisticated ticket data extraction based on advanced regex module, and special
look-behind regex. This is a recommended ticket extraction from Atlassian itself (for Jira) and we also
implemented it for Redmine, or tickets

- bonus: report errors on patterns in preview window
2020-09-30 10:53:17 +02:00
Marcin Kuzminski
50d91914f5 emails: set References header for threading in mail user agents even with different subjects
- drop template headers() function as it wasn't used, and actually had bad implementation
2020-07-15 21:37:03 +02:00
Marcin Kuzminski
4fac5279f8 permissions: flush all when running remap and rescan. 2020-07-06 11:36:55 +02:00
Marcin Kuzminski
1b07afc2cd create: fixed case for repo groups that didn't pre-fill the repo group from GET param.
- also added similar to repo selector for personal repo group.
2020-07-02 21:43:41 +02:00
Daniel Dourvaris
03f066ce9a users: added option to detach pull requests for users which we delete.
- as bonus added ability to specify new owner via ?detach_user_id=NUM GET param.
2020-05-20 12:33:43 +02:00
Marcin Kuzminski
98ce0d9f7a svn: expose file path for generated config. 2020-05-12 17:04:02 +02:00
Marcin Kuzminski
d4eb900e5e app: use simpler way to extract default_user_id, this will be now registered at server
boot.
2020-05-07 15:28:20 +02:00
Marcin Kuzminski
9f456e36ba tests: fixed repo tests after changes for repo type selector. 2020-05-05 14:44:32 +02:00
Marcin Kuzminski
4ac845a76d users: added more secure way for fetching authentication tokens.
- we don't expose ALL on single page
- request needs a validation before viewing of each token
- will later add 2nd layer of auth.
2020-04-20 15:59:06 +02:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Lulek
780ec5f73e core: added user-notice logic to push notice messages.
- will be used for exception tracker info
- new version upgrades
- dedicated important messages to the users
2020-04-09 12:30:13 +02:00
Marcin Kuzminski
3b5d294eac ssh-keys: allow generation of legacy keys for older systems and windows. 2020-02-20 11:13:10 +01:00
Marcin Kuzminski
50f79f63c2 emails: fixed bug in test email sending.
- AuthUser instance was wrongly used for user who sent the email which we don't support
2020-01-22 10:47:57 +01:00
Marcin Kuzminski
ef0dad2905 grids: fixed tests and added one for permissions to repository group. 2019-12-20 18:27:24 +01:00
Marcin Kuzminski
7260aed821 grids: columns and sorting fixes 2019-12-19 15:27:28 +01:00
Marcin Kuzminski
90db409b65 admin: made all grids use same partial loading logic
- dont load all results for repositories in admin
- speed up loading admin repos page by narrowing results based on permissions
- some small speed ups and code optimizations on permission loading
2019-12-19 11:42:25 +01:00
Marcin Kuzminski
03b4b5ba7b pull-requests: added update pull-requests email+notifications
- fixed generated update message comments + invalid anchor linkes generated to the changed files
- unified headers on all email messages for pull requests
2019-12-04 20:58:23 +01:00
Daniel Dourvaris
8bfbe9e1dc issue-tracker: moved example to the input box
- removed docs which had bad examples
- improved regex for matching newline character properly
- added nicer formatting in examples
2019-12-02 15:12:39 +01:00
Daniel Dourvaris
dbac62326d webhelpers: replaced paginate library with custom lib 2019-11-21 20:37:17 +01:00
Marcin Kuzminski
1addb7b6e2 security: fixed issues with exposing repository names using global PR redirection link
logic.

- Since redirect was created to repository which linked to the PR, users who
didn't have permissions to those repos could still see the name in the url generated.
2019-11-07 13:21:42 +01:00
Daniel Dourvaris
ad7ff3bf73 patterns: enabled global !NUM match for new style pull-request references. 2019-11-06 13:56:26 +01:00
Marcin Kuzminski
9b9e7d2a5a users: description edit fixes
- tests
- added metatags info
2019-10-31 11:22:32 +01:00
Marcin Kuzminski
8b8d8ab401 artifacts: handle detach/delete of artifacts for users who own them and are to be deleted.
- added relationships that cleanup properly
- cleanup code for detach/delete on users
2019-10-24 17:05:07 +02:00
Marcin Kuzminski
ba9f6d58e3 admin: fixed problems with generating last change in admin panels.
- from now on also updated_on will refer as last commit change instead of last update of DB.
Reason for that is since we have audit logs the last db update should be taken from there along the change info.
Storing last commit date in the dedicated field makes it searchable, sortable and faster to read.
2019-10-19 13:31:19 +02:00
Daniel Dourvaris
53980d49a6 authentication: allow super-admins to change bound authentication for users.
- we had many requests from admins on doing so, after connecting LDAP/Saml
- since admins actually started doing this via DB it's no longer a point we shouldn't enable it via UI
2019-10-10 14:08:11 +02:00
Marcin Kuzminski
3876870e28 tests: stabilize tests for mysql/postgres. 2019-10-08 17:06:35 +02:00
Marcin Lulek
f70f60713e audit-logs: expose download user audit logs as JSON file.
Primarly in larger organizations often this needs to be performed for some
employees. Before we delegated users to API or DB fetch.
2019-10-03 13:32:59 +02:00
Marcin Kuzminski
a17adaa9f2 db: use more consistent sorting using real objects, strings are deprecated in laters sqlalchemy query syntax. 2019-09-30 13:24:56 +02:00
Marcin Kuzminski
1d9452ce80 pytest: use consistent way of creating a fixture by using pytest.fixture() 2019-09-28 23:04:18 +02:00
Daniel Dourvaris
2f19673dc4 system-info: expose data about vcsserver. 2019-09-26 11:20:03 +02:00
Marcin Kuzminski
745a1f1278 processes: reduce measure interval to 0.1 to make the processes page load a bit faster (else blocking a lot) 2019-09-03 14:06:41 +02:00
Marcin Kuzminski
569321aa23 processes: use 200ms CPU measure time to get actual results, previous implementation showed 0 most of the time. 2019-09-02 11:15:33 +02:00
Marcin Kuzminski
0cbb6b652a permissions: properly flush user cache permissions in more cases of permission changes.
- fixed #5560
2019-08-20 10:48:36 +02: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
f7627b4904 settings: reduce number of settings fetch since it uses locking for cache invalidation and is generally slow.
We anyway load it per-request so we can re-use this.
2019-07-18 00:02:51 +02:00
Marcin Kuzminski
65f5964cf6 merged default into new-ui 2019-05-15 12:24:27 +02:00
Marcin Kuzminski
1df2ca521c exc_store: add filter for display and deletion. 2019-05-08 14:48:00 +02:00
Marcin Kuzminski
a7bf317765 merge default into new-ui 2019-05-08 09:50:12 +02:00
Marcin Kuzminski
ee405633ea users: personal repo group template also can use first/last names for an user 2019-05-06 10:20:31 +02:00
Marcin Kuzminski
442096cbde merge: merged default changes into new-ui 2019-04-19 13:21:58 +02:00
Marcin Kuzminski
5c2d3ac5aa user-groups: fixed in_ filters for large ammount of data. 2019-04-03 23:15:23 +02:00
Marcin Kuzminski
5ac3be4f4e repository-groups: use lazy loaded admin dashboard 2019-04-03 23:15:02 +02:00