Commit graph

3518 commits

Author SHA1 Message Date
RhodeCode Admin
94c141d6a4 caches: fix id sanitizer. 2022-10-10 12:30:07 +02:00
RhodeCode Admin
39e6e12be3 caches: fixes the file-store backend to use serialized names for filename cache of vcsserver.
Using ones with '/' would crash the backend
2022-10-06 10:26:43 +02:00
RhodeCode Admin
03521bc8cf i18n: Updated message catalog template 2022-10-03 13:29:53 +00:00
RhodeCode Admin
227f4040d2 debugging: expose logs/exception when debug log is enabled. 2022-10-03 12:03:41 +02:00
RhodeCode Admin
093cf251d5 caches: make sure we init caches on repo names withou '/' to not create a new cache subpath 2022-09-01 22:00:13 +02:00
RhodeCode Admin
e5a4524403 url-validator: make it more explicit credentials could be a case for repo import validator to fail 2022-09-01 21:59:29 +02:00
RhodeCode Admin
985d3eede5 tests: fixed some issues with new transifex urls 2022-09-01 21:58:53 +02:00
RhodeCode Admin
ce7e048a7d git: allow overriding default master branch with an env variable. 2022-08-11 09:39:24 +02:00
RhodeCode Admin
57eecdce7f vcs-settings: when setting landing ref from UI switch default GIT branch too.
fixes #5663
2022-08-11 09:39:06 +02:00
RhodeCode Admin
4508de422b caches: fixed error for unique non-ascii cache keys 2022-07-25 15:07:29 +02:00
RhodeCode Admin
7483c5b2bf files: fixed unicode problems in specially encoded paths handler. 2022-01-10 15:24:21 +01:00
RhodeCode Admin
da3f876a71 commits/summary: unify fetching remote attribute in summary and commits page to properly and in the same way show the data. 2021-12-20 16:07:22 +01:00
RhodeCode Admin
eb95462c1a files: escape special chars for metadata loading to prevent breaking url with chars like #, <.
- fixes #5672
2021-12-17 08:24:00 +01:00
RhodeCode Admin
86f1961de4 caches: invalidate cache on remote side from repo settings alongside local cache. 2021-12-16 14:26:38 +01:00
RhodeCode Admin
b7718f5e2d vcs-cache: enable more methods, and fix arguments calls 2021-12-06 10:30:22 +01:00
RhodeCode Admin
ae99ab4e5e drafts: show TODO drafts properly.
- Fixes #5668
2021-12-03 15:21:17 +01:00
RhodeCode Admin
2b35e8af0d vcs-call-cache: controll via hidden .ini flag 2021-12-03 15:17:11 +01:00
RhodeCode Admin
aedc41d96a vcs: experimental local cache for methods 2021-12-01 14:17:51 +01:00
RhodeCode Admin
b0f3ddc600 system-info: expose env variables 2021-12-01 13:53:38 +01:00
RhodeCode Admin
6661b23cd5 security: fixed self-xss on archive download page. 2021-11-18 15:18:21 +01:00
RhodeCode Admin
2c268b6026 pyroutes: register status healthcheck in routes. 2021-10-29 14:42:59 +02: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
57d6760484 version: bumped to 4.27.0 2021-10-12 14:48:14 +02:00
RhodeCode Admin
d1bfd0ade0 healthcheck: Added authentication because we expose DB information 2021-10-12 14:47:16 +02:00
RhodeCode Admin
720dbed814 ops: added healthcheck view 2021-10-12 14:29:26 +02:00
RhodeCode Admin
f5cf1a1f86 celerylib: fixed broken tasks for auto-update 2021-10-12 14:09:11 +02:00
RhodeCode Admin
448f66785c sys-info: added helpers for faster loading of sys-info data 2021-10-12 13:40:59 +02:00
RhodeCode Admin
98cc67d889 caches: added debug and timings 2021-10-12 13:40: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
d811485440 locks: handle refresh thread already started 2021-07-27 10:08:28 +02:00
RhodeCode Admin
f1f1c99cae repos: recover properly from bad extraction of repo_id from URL and DB calls. 2021-07-26 13:36:42 +02:00
RhodeCode Admin
8fe339248e caches: fixed wrong except 2021-07-24 08:11:42 +02:00
RhodeCode Admin
7170e63907 caches: use the same lock instance, otherwise we won't release it.
Also handle AlreadyAquired so locks skip that case and not throw a 500 error
2021-07-23 11:21:58 +02:00
RhodeCode Admin
3ce837d046 caches: introduce invalidation as a safer ways to expire keys, deleting them are more problematic. 2021-07-23 11:09:12 +02:00
RhodeCode Admin
81ea8edd0b views: skip vcsdetection for ops view 2021-07-23 10:47:20 +02:00
RhodeCode Admin
d8aa3deda9 caches: optimized defaults for safer more reliable behaviour 2021-07-22 22:28:32 +02:00
RhodeCode Admin
fe98575ce6 cache: allow controlling lock_auto_renewal via .ini config 2021-07-22 11:47:42 +02:00
RhodeCode Admin
42f9103f64 release: Bump version 4.25.2 to 4.26.0 2021-07-21 10:01:04 +02:00
RhodeCode Admin
1b36875be6 comments-history: fixed fetching of history for comments 2021-07-21 10:00:57 +02:00
RhodeCode Admin
952b2b0cdc pull-requests: fix potential crash on providing a wrong order-by type column. 2021-07-19 11:53:32 +02:00
RhodeCode Admin
144b197cd0 errors: use safe_str before escape to prevent crash on escape of bad chars 2021-07-19 11:04:44 +02:00
RhodeCode Admin
8ec2b58a03 caches: improved locking problems with distributed lock new cache backend 2021-07-18 23:33:46 +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
RhodeCode Admin
8e9be47052 pull-requests: updated use lower retry, and cleanup some code 2021-07-15 15:03:43 +02:00
RhodeCode Admin
3dbebf36b8 pull-requests: allow forced state change to repo admins too. 2021-07-15 15:03:07 +02:00
RhodeCode Admin
ac5dbf712f emails: default app-from email should be a valid one. 2021-07-15 14:20:03 +02:00
RhodeCode Admin
2b9eeb7a86 redis-lock: strict-redis is what we use. 2021-07-15 14:19:47 +02:00
RhodeCode Admin
d52521dd31 redis-lock: add rhodecode logging prefix to properly log things. 2021-07-15 14:19:09 +02:00
RhodeCode Admin
1eb249254a validators: apply username validator to prevent bad values beeing searched in DB, and potential XSS payload sent via validators. 2021-07-15 10:29:38 +02:00
RhodeCode Admin
8f4dca8494 redis: added better distributed lock implementation. 2021-07-14 15:35:27 +02:00