Commit graph

32 commits

Author SHA1 Message Date
RhodeCode Admin
166db21812 core: run ruff format 2025-01-13 17:47:37 +01:00
RhodeCode Admin
82f0f8d214 core: updated copyright to 2024 2024-11-12 16:39:07 +01:00
RhodeCode Admin
4bbb30fa06 modernize: updates for python3 2023-07-18 14:45:20 +02:00
RhodeCode Admin
42301154fc copyrights: updated for 2023 2023-07-18 11:57:27 +02:00
RhodeCode Admin
175640c7d0 models: major update for python3,
- imports fixes
- str vs unicode fixes
- found issues with logic on tests runs
2023-07-18 11:31:01 +02:00
RhodeCode Admin
9c37eeebb1 models: removed utf8 markers 2023-07-18 10:59:21 +02:00
RhodeCode Admin
dbf975898e py3: remove use of pyramid.compat 2023-03-06 15:52:51 +01:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Daniel Dourvaris
96fa4e0bdc py3: remove usage of basestring 2019-01-22 23:06:49 +01:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
9033601562 logging: use lazy parameter evaluation in log calls. 2018-09-13 17:41:35 +02:00
Marcin Kuzminski
ecb77c7c3d tests: added tests for permission update views to catch obvious form errors. 2018-07-02 12:20:44 +02:00
Marcin Kuzminski
b03cb81208 user-groups: expose public profile link to user group in membership view 2018-06-15 10:13:29 +02:00
Marcin Kuzminski
a18e6c482e api: added audit logs for user-group related calls.
- fixes #5461
2018-04-18 00:49:00 +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
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
bd6d47475c api: add consistent permissions_summary data for both user and user_groups that expose
the summary of permissions for each object.

- deprecates the 'permissions' data key for get_user
- adds a consistent way of fetching permissions summary for both objects.
2017-12-05 23:12:06 +01:00
Marcin Kuzminski
bab4242396 user-groups: fix potential problem with group sync of external plugins.
- when using external plugin we used to check for a parameter that set the
sync mode. The problem is we only checked if the flag was there. So
toggling sync on and off set the value and then left the key still set
but with None. This confused the sync and thought the group should be
synced !
2017-09-29 21:40:06 +02:00
Marcin Kuzminski
b505377197 users: ported controllers from pylons into pyramid views. 2017-09-20 22:29:34 +02:00
Marcin Kuzminski
13e4927d13 logging: use logger_generic in all suitable places, and fix get_current_rhodecode_user()
function to use the new mechanics from pyramid. Fixes #5390
2017-09-20 17:39:46 +02:00
Marcin Kuzminski
a8abeb0d1c user-groups: rewrote the app to pyramid
- added new event data with added/removed/changed permissions
- cleanup code and spelling
2017-08-31 12:47:19 +02:00
Marcin Kuzminski
25436a7365 audit-logs: implemented full audit logs across application.
- Fixes #5321
- Api+web actions
- To be extended while we develop new features.
2017-06-21 12:03:14 +02:00
Marcin Kuzminski
9757a7c0c3 security: escape always the provided user data like firstname/lastname. 2017-06-06 11:59:46 +02:00
Marcin Kuzminski
0b80fe66c9 pull-request-reviewers: added option to add reviewers by picking an user group for pull requests.
- fixes #5228
2017-04-19 17:30:07 +02:00
Marcin Kuzminski
b595153ea8 user-groups: moved get_user_groups from RepoModel to UserGroupModel. 2017-04-19 16:52:24 +02:00
Marcin Kuzminski
98f97b18fd user-groups: added info, and new panel to control user group synchronization.
- allows to check status of user-group and if it's going to be sync-ed via
  external plugins.
- allows to set manual synchronization for already existing RhodeCode Groups.
2017-04-05 14:20:30 +02:00
Bartłomiej Wołyńczyk
b5ec70cf90 admin-users: add view for user groups managment
model-repo: get_user_groups modified to return more information about user
model-user_group: 2 new methods added
tests-models: mocked repo test becouse of modifications in model
2017-03-21 20:51:18 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +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
Marcin Kuzminski
16a626ce44 refactor: renamed get_first_admin to get_first_super_admin which
reflects better what kind of user we're fetching.
2016-06-28 01:24:24 +02:00
Daniel Dourvaris
9354185a44 bugfix: fixed #3965 and updated a bunch of api tests which
were not actually testing their return values properly
2016-06-01 20:11:27 +03:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00