Commit graph

4775 commits

Author SHA1 Message Date
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
a96c87c5bb merged stable into default 2021-07-16 16:40:04 +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
RhodeCode Admin
3a64e09b7b tests: fixed some tests 2021-07-16 16:23:02 +02:00
RhodeCode Admin
5df5d7893b ssh: handle subrepos better 2021-06-23 21:40:40 +02:00
RhodeCode Admin
1f15dd1741 ssh: use pre-compiled backends for faster matching of vcs detection. 2021-06-23 21:38:16 +02:00
RhodeCode Admin
14751ae9c1 caches: report damaged DB on key iterations too not only the GET call 2021-06-23 21:37:29 +02:00
RhodeCode Admin
c162ccdedd core: don't check channelstream connections for faster handling of this route. 2021-06-23 21:36:49 +02:00
RhodeCode Admin
ad14837737 merged with stable 2021-05-25 10:59:02 +02:00
RhodeCode Admin
81d962abe6 drafts-comments: don't allow to view history for others than owner.
- security/privacy fix
2021-05-25 10:58:10 +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
RhodeCode Admin
56421dc214 pull-requests: added retry mechanism for updating pull requests. 2021-05-24 23:46:36 +02:00
RhodeCode Admin
4fa4ac2fa9 Added tag v4.25.2 for changeset 27475bd8a718 2021-04-29 10:16:22 +00:00
RhodeCode Admin
893fecffed release: Finish preparation for 4.25.2 2021-04-29 10:16:20 +00:00
RhodeCode Admin
aaf1cdfc57 release: Start preparation for 4.25.2 2021-04-29 10:16:10 +00:00
RhodeCode Admin
dfc4e804b8 Docs: release notes for 4.25.2 2021-04-18 09:28:18 +02:00
RhodeCode Admin
4e0bab3335 gists: block id input for public gists.
fixes #5655
2021-04-20 13:45:03 +02:00
RhodeCode Admin
aded27dc31 pull-requests: added awaiting my review filter for users pull-requests.
- additionally the awaiting my review now properly filters pull requests that have no review votes on them
2021-04-20 12:59:31 +02:00
RhodeCode Admin
0031dcc28b archiving: make it explicit archiving a repo is irreversible. 2021-04-20 10:29:43 +02:00
Milka Kuzminski
872b3d113b my-account: updated bookmarks UX 2021-04-18 09:27:19 +02:00
Milka Kuzminski
e485d41079 summary: fixed ui on summary page for non-admins. The setup instructions were broken if user had no write permissions. 2021-04-16 17:49:54 +02:00
Milka Kuzminski
97d1082f4d users: make user data loading more resilient to errors. 2021-04-14 08:38:10 +02:00
Milka Kuzminski
331492325e pr: small ui fix for grid. 2021-04-13 19:44:10 +02:00
Milka Kuzminski
b0ec46a052 packages: bump nix version 2021-04-13 19:43:57 +02:00
Milka Kuzminski
ea182c47a9 comments: refresh on draft submit. 2021-04-09 11:30:48 +02:00
Milka Kuzminski
d7214dc941 draft: fixed logic in toggle all draft for submit. 2021-04-09 11:27:31 +02:00
Milka Kuzminski
72085d16b0 pull-requests: fixed problems with unicode characters in branches. 2021-04-08 16:59:58 +02:00
Milka Kuzminski
24de12c200 Added tag v4.25.1 for changeset 77fe47b5b393 2021-04-06 21:29:18 +00:00
Milka Kuzminski
143c23473c release: Finish preparation for 4.25.1 2021-04-06 21:29:17 +00:00
Milka Kuzminski
dd439f86a7 release: Start preparation for 4.25.1 2021-04-06 21:29:07 +00:00
Milka Kuzminski
1e4be193fc docs: added release notes 2021-04-06 23:28:55 +02:00
Milka Kuzminski
e61450650f packages: bumped nix ver 2021-04-06 23:06:55 +02:00
Milka Kuzminski
0421a6054d artifacts: added missing code for CE views and admin artifacts. 2021-04-06 22:23:41 +02:00