Commit graph

47 commits

Author SHA1 Message Date
ievgenii vdovenko
328153000e fix: adds a special case - when there are duplicated permissions, allows removing them 2025-12-19 16:53:10 +01:00
ievgenii.v
6e3aa8ed6b feature: implements locking feature for AI review button; adds detailed audit logging 2025-10-29 16:31:07 +02:00
ievgenii vdovenko
59dfb4c0a0 poc: adds audit logs 2025-09-04 12:30:51 +02:00
ievgenii vdovenko
bd9d7a7b5a feature: squash audit log 2025-07-30 13:35:18 +02:00
ievgenii vdovenko
0b1e5fdf80 feature: adds audit 2025-07-29 13:31:09 +02:00
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
abbc465e47 core: multiple fixes to unicode vs str usage
- python3 fixes
- import fixes
- list vs iterators
2023-07-18 11:17:17 +02:00
RhodeCode Admin
5357fb11f2 libs: removed utf8 markers 2023-07-18 10:57:59 +02:00
RhodeCode Admin
34af9cfa2f python3: fixed various code issues
- iterators
- use of u''
2023-03-20 20:51:25 +01:00
RhodeCode Admin
faa449987b logging: expose extra metadata to various important logs for loki 2022-10-27 22:49:17 +02:00
RhodeCode Admin
0d36e58be5 pull-requests: optimize db transaction logic.
- we've been investigating this issue with locked pull-requests
- the transactions arround audit-logs and state-lock seems to be fragile for long-running, and exception prone setups
- this change tries to make use of few snapshot transactions to prevent a long ones, and actually try to recover on failed audit-log calls.
2021-07-15 15:05:16 +02:00
Marcin Kuzminski
80da773011 reviewers: added observers as another way to define reviewers.
- fixes #4183
2020-10-06 08:49:13 +02:00
Bartłomiej Wołyńczyk
b9a819cbfe comments: edit functionality added 2020-05-27 23:47:09 +02:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Kuzminski
66a5b46e5f audit-logger: use copy of params we later modify to prevent from modification by the store function of parameters that we only use for reading. 2020-01-14 16:15:54 +01:00
Marcin Kuzminski
f91141b4bd artifacts: added reading of metadata and define basic audit-log entries for add/delete artifact 2019-05-15 17:23:35 +02:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
2910f510dc repositories: added option to archive repositories instead of deleting them.
- closes #5493
2018-09-25 17:28:11 +02:00
Marcin Kuzminski
4db6dd6754 audit-logs: added entries for branch permissions 2018-09-14 18:24:51 +02:00
Marcin Kuzminski
ecff3dbaed security: update lastactivity when on audit logs.
- The previous update on each call was to expensive and created lot of DB locks in high traffic env
2018-07-31 22:52:44 +02:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
ad1596b0de audit-logs: added user.register audit log entry. 2017-11-20 17:31:56 +01:00
Marcin Kuzminski
3135dd089e audit-logger: use raw JSON with empty data to control unicode decode warnings.
Passing in empty dict triggers warnings on sqlalchemy level that we're trying to pass in NON unicode into Unicode column.
2017-10-24 10:50:57 +02:00
Marcin Kuzminski
b95e835ebb audit-logs: allow showing individual entries for audit log. 2017-09-21 16:47:10 +02:00
Marcin Kuzminski
35cefa9b2d users: added SSH key management for user admin pages 2017-08-03 16:35:13 +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
d00d73858a audit-logs: updated action data attrbiutes. 2017-06-20 16:35:14 +02:00
Marcin Kuzminski
926a79e98e audit-logs: implemented pull request and comment events. 2017-06-17 15:22:50 +02:00
Marcin Kuzminski
8a3441e96e audit-logs: use specific web/api calls.
- also normalized action_data to specs.
2017-06-14 16:33:23 +02:00
Marcin Kuzminski
8ae7a08fd3 audit-logs: added audit logs on user groups admin page. 2017-06-14 15:25:31 +02:00
Marcin Kuzminski
1be028f546 audit-logs: moved async tasks from old deprecated action_logger. 2017-06-14 15:45:17 +02:00
Marcin Kuzminski
8ec82f1089 audit-logs: fill in some default values for the expected action data. 2017-06-14 15:46:06 +02:00
Marcin Kuzminski
4bd5c08e87 audit-logs: added audit-logs on user actions.
- adding/deleting ips
- adding/deleting emails
- edit/create
2017-06-14 14:38:59 +02:00
Marcin Kuzminski
7618001212 audit-logger: added convinience wrappers to store web or api action. 2017-06-14 14:15:11 +02:00
Marcin Kuzminski
3e76f23368 audit-logs: added action logs for repository groups. 2017-06-14 12:39:51 +02:00
Marcin Kuzminski
dbcc488137 audit-logs: implement enum sources that should be re-used. 2017-06-14 11:51:46 +02:00
Marcin Kuzminski
208136ab4d repo-settings: moved advanced setion into pyramid views.
- improved delete method, and actions.
2017-05-16 12:43:58 +02:00
Marcin Kuzminski
93c97b0aef audit-logger: added entry for archive download. 2017-05-11 12:58:19 +02:00
Marcin Kuzminski
664cbc6f52 audit-logs: add push/pull actions to audit logs. 2017-05-09 15:19:04 +02:00
Marcin Kuzminski
17a42739e8 repo-permissions: moved permissions into pyramid.
- fix issues when added new perms changed those already in the form
- fixed issue with default user overriding permissions when private repos where turned on.
- Two above are not security issues, but rather making the behaviour more consistent.
2017-05-05 16:04:16 +02:00
Marcin Kuzminski
39d7def8ce audit-logger: store some user details on we have proper object of auth-user. 2017-04-27 12:10:26 +02:00
Marcin Kuzminski
2e6238eb76 audit-logs: added web strip command to audit logs 2017-04-26 23:21:12 +02:00
Marcin Kuzminski
18fc345e5d audit-logs: use new v2 api on login/logout/password reset views. 2017-04-26 23:05:48 +02:00
Marcin Kuzminski
23f3d5fbdf audit-logs: introducing new audit logger for actions.
- api v2
- gathers more actions such as dump of user/action data
2017-04-26 23:19:45 +02:00