Commit graph

74 commits

Author SHA1 Message Date
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
ievgenii vdovenko
2c3304132a feature: minor refactoring 2025-07-26 15:18:08 +02:00
ievgenii vdovenko
6e8b6c4975 tests: fixes existing tests and add new assertion 2025-07-26 10:36:17 +02:00
ievgenii vdovenko
1c3d177833 feature: names fixes 2025-07-25 15:43:29 +02:00
ievgenii vdovenko
2dcb9984c7 feature: implemented deleting user and migrating all user assets new system ghost user 2025-07-25 15:43:29 +02:00
RhodeCode Admin
166db21812 core: run ruff format 2025-01-13 17:47:37 +01:00
RhodeCode Admin
107b31a78f core: use consistent import for get_current_request 2024-12-10 07:36:38 +01:00
RhodeCode Admin
82f0f8d214 core: updated copyright to 2024 2024-11-12 16:39:07 +01:00
RhodeCode Admin
47a4437420 fix(sqlalchemy): fixed deprecated methods for sqlalchemy 2024-10-22 22:15:46 +02:00
RhodeCode Admin
90a1d3ca75 feat(artifacts): new artifact storage engines allowing an s3 based uploads 2024-08-28 23:56:59 +02:00
RhodeCode Admin
cd9fe75554 fix(caching): fixed problems with Cache query for users.
The old way of querying caused the user get query to be always cached, and returning old results even in 2fa forms.
The new limited query doesn't cache the user object resolving issues
2024-04-23 15:25:21 +02:00
RhodeCode Admin
14e425bce6 fix(user-models): added extra protection against model username changes that would create duplicates 2024-03-13 19:46:19 +01:00
RhodeCode Admin
b82349386a modernize: python3 updates 2023-07-18 14:50:17 +02: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
061c3d3f5e caches: cleanup code
- emails from cache should skip default user as that user does not have extra emails
2023-03-28 10:33:16 +02:00
Milka Kuzminski
6cf496d104 notifications: skip double rendering just to generate email title/desc 2020-11-11 22:44:38 +01:00
Marcin Kuzminski
dd344bb96b users: autocomplete now sorts by matched username to show best matches first. 2020-10-09 09:39:50 +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
aae4c3e227 comments: added rcextensions hoooks for comment editing, and renamed methods to remove odd log_ prefix which
isn't exactly what those functions were actually doing.
2020-07-14 11:24:40 +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
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Kuzminski
b3c6e232b9 registration: properly expose first_name/last_name into email fake object. 2019-11-12 15:11:35 +01:00
Daniel Dourvaris
453a6ee9a2 emails: updated emails design and data structure they provide.
- more consistent UI for emails
- nicer formatting, plaintext emails
- major cleanup and fixes lots of incosistencies
- additionally debug-style now allows to test emails in browser for faster development
2019-11-05 19:07:09 +01:00
Marcin Kuzminski
9b9e7d2a5a users: description edit fixes
- tests
- added metatags info
2019-10-31 11:22:32 +01:00
Marcin Kuzminski
cd0bf47064 users: add edition of description in admin view for users 2019-10-31 10:28:13 +01:00
Marcin Kuzminski
e350c718ba user: speed up data propagatation for auth users by pre-filling only selected variables
skipping some not-required and using faster update method (not setattr())
2019-10-30 14:49:42 +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
3876870e28 tests: stabilize tests for mysql/postgres. 2019-10-08 17:06:35 +02:00
Marcin Kuzminski
522f374fae users: fetch user data for user removal hook, *before* actually marking object for deletion. 2019-10-08 14:04:53 +02:00
Daniel Dourvaris
32f6c7aa28 logging: small updates for logging. 2019-09-27 12:36:12 +02:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
64c5591c2e authentication: allow setting extern type with registration.
- This will allow external identity plugins to define proper externs instead of always
  using "rhodecode" one
2018-11-29 18:13:31 +01:00
Marcin Kuzminski
e9cb071b85 users: when deleting users ensure we also clear personal flag so we don't have multiple personal groups
for super-admin who inherits the detached objects.
2018-09-24 19:02:21 +02:00
Marcin Kuzminski
9033601562 logging: use lazy parameter evaluation in log calls. 2018-09-13 17:41:35 +02:00
Marcin Kuzminski
8510d1ece8 models: fixed spelling. 2018-08-19 11:00:02 +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
04ad3b47be logs: fix leaking of tokens to logging. Fixes #5452 2018-03-22 17:51:42 +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
52d5654850 users: allow caching of active users count. 2017-12-04 13:16:50 +01:00
Marcin Kuzminski
f9f80e3ff9 feed-token, user, performance: lazy load the feed_token. We only need it for
scope of web requests. For vcs operations, we don't need it.

- 20ms to load this can save up much time for SVN requests.
2017-12-04 12:14:01 +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
34175fd787 auth-rhodecode: don't fail on bcrypt if user password is set to None.
Default to emptry string to not cause an exception.
2017-10-07 10:02:57 +02:00
Marcin Kuzminski
708f22ac87 db: use unicode for some of the defaults to reduce sqlalchemy warnings. 2017-07-26 12:14:56 +02:00
Marcin Kuzminski
0c1f7e3306 auth: improve logging 2017-07-25 15:07:43 +02:00