Commit graph

668 commits

Author SHA1 Message Date
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
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
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
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
952b2b0cdc pull-requests: fix potential crash on providing a wrong order-by type column. 2021-07-19 11:53:32 +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
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
56421dc214 pull-requests: added retry mechanism for updating pull requests. 2021-05-24 23:46:36 +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
Milka Kuzminski
97d1082f4d users: make user data loading more resilient to errors. 2021-04-14 08:38:10 +02:00
Milka Kuzminski
219a05baa4 permissions: use constant for fork enable/disable 2021-03-24 16:52:47 +01:00
Milka Kuzminski
ae9f4779d2 permissions: flush permissions on owner changes for repo and repo groups. 2021-03-24 14:54:26 +01:00
Milka Kuzminski
2cc353de2c backends: use reference explicitly to properly translate GIT references to commits such as numeric branches 2021-03-16 23:18:52 +01:00
Milka Kuzminski
3cfae0d77f automation: enabled automated check for new versions. 2021-02-04 23:40:58 +01:00
Milka Kuzminski
295f94aea6 comments: add ability to resolve todos from the side-bar. 2021-02-03 15:14:34 +01:00
Milka Kuzminski
54ee3ab1fa pull-requests: fixed a case when template marker was used in description field.
fixes #5652
2021-02-01 23:10:32 +01:00
Milka Kuzminski
202df81250 clone-urls: allow custom clone by id template. 2021-01-22 08:56:20 +01:00
Milka Kuzminski
9c33519fcc pull-requests: expose commit versions in the pull-request commit list. Fixes #5642 2020-12-29 08:48:26 +01:00
Milka Kuzminski
22514505c5 file-store: changed for stream upload endpoint. 2020-12-22 23:54:10 +01:00
Milka Kuzminski
eb5ec20934 application: not use config.scan(), and replace all @add_view decorator into a explicit add_view call for faster app start. 2020-12-08 17:04:39 +01:00
Milka Kuzminski
08e06718cd events: added new fts build event 2020-11-30 12:29:10 +01:00
Milka Kuzminski
586719d33a drafts: sidebar functionality 2020-11-16 10:50:44 +01:00
Milka Kuzminski
a48329f4be reviewers: only require a review when we have reviewers defined.
- use case is that pr can be created without review needed, maybe just for sharing, or CI checks
2020-11-13 11:31:29 +01:00
Milka Kuzminski
6cf496d104 notifications: skip double rendering just to generate email title/desc 2020-11-11 22:44:38 +01:00
Milka Kuzminski
30342b6001 reviewers: changes for new author/commit author logic.
- new rules to exclude include pr author, commit-authors
- allows workflow to always add author of PR to reviewers
2020-11-11 17:47:49 +01:00
Milka Kuzminski
b8ef1f16ea comments: don't mark draft comments as outdated. 2020-11-05 15:05:07 +01:00
Milka Kuzminski
1d6df06614 comments: counts exclude now draft comments, they shouldn't be visible. 2020-10-30 09:36:31 +01:00
Milka Kuzminski
620dcdcd3f repo-mapper: make it more resilient to errors, it's better it executes and skip certain repositories, rather then crash whole mapper. 2020-11-05 15:05:48 +01:00
Milka Kuzminski
afd3357349 comments: introduce new draft comments.
- private to author
- not triggering any notifications
- sidebar doesn't display draft comments
- They are just placeholders for longer review.
2020-10-21 17:53:23 +02:00
Milka Kuzminski
3e19492a42 remap-rescann: fixes #5636 initial rescann problem 2020-10-29 09:12:28 +01:00
Marcin Kuzminski
c3f059ebc6 observers: code cleanups and fixed tests. 2020-10-11 22:16:08 +02: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
b5f86e3b64 pull-requests: fixed creation of pr after new serialized commits data. 2020-10-09 09:39:27 +02:00
Marcin Kuzminski
16678eb0f8 reviewers: use common function to obtain reviewers with filter of role. 2020-10-08 14:10:11 +02:00
Marcin Kuzminski
0bbae6c416 pull-requests: only allow actual reviewers to leave status/votes.
Other participants aren't allowed that, they could only sent text comments
to not distract from actual votes that count towards the overall review.
2020-10-08 13:46:33 +02:00
Marcin Kuzminski
508c8ba158 reviewers: optimize diff data, and creation of PR with advanced default reviewers 2020-10-08 12:01:18 +02:00
Marcin Kuzminski
e78b5fc1ee pull-requests: limit the ammount of data saved in default reviewers data for better memory usage
- fixes #5633
2020-10-07 11:26:24 +02:00
Marcin Kuzminski
d724630710 default-reviewers: diff data should load more things lazy for better performance. 2020-10-06 14:32:24 +02:00
Marcin Kuzminski
6c71e979b5 db: don't use lazy loaders on PR related objects.
-pr itself has too many data to load lazy, and causes excesive memory usage.
2020-10-06 14:31:45 +02:00
Marcin Kuzminski
5e7cb0b2a0 pull-requests: use count only for comments related to display grids on my account and repo view. 2020-10-06 14:14:01 +02:00
Marcin Kuzminski
9692332a7b channelstream: cleanup, and re-organize code for posting comments/pr updated messages.
- now shares new common code
- fixed cases for both views and API in consistent way
2020-10-06 11:54:29 +02:00
Marcin Kuzminski
80da773011 reviewers: added observers as another way to define reviewers.
- fixes #4183
2020-10-06 08:49:13 +02:00
Marcin Kuzminski
8c6f923e3f sidebar: expose status indicator for general comments which changed review status. 2020-09-27 19:33:46 +02:00
Marcin Kuzminski
da657b1919 sidebar: fixes to comment links, and new hovercard info about a comment. 2020-09-26 08:35:59 +02:00
Marcin Kuzminski
f634c67b68 commits/pr pages various fixes.
- added navbar to commit page
- improvements on UI
- code cleanups
2020-09-23 11:45:43 +02:00
Marcin Kuzminski
9430615145 pull-requests: overhaul of the UX by adding new sidebar
- sidebar aggregates comments, todos, observers, referenced tickets, and reviewers
- live components push now comments, reviewer presence, and todo live via channelstream
- sidebar is collapsable, and stored in user session
- simplified number of information on the pull request page
- fixed and cleanup of the outdated comments and at version comments that in some cases reported wrong version assignment.
2020-09-01 12:09:40 +02:00
Marcin Kuzminski
9106e99baf pull-requests: added observers, and fix few problems with versioned comments 2020-08-21 20:56:59 +02:00
Marcin Kuzminski
5ec57ac2bc artifacts: few fixes for handling cases of using sub path to store artifacts.
- fixed some bugs when using the sub path artifacts and generataed sub-directory store
2020-08-24 15:01:08 +02:00
Marcin Kuzminski
8bd65513e6 pull-requests: properly save merge failure metadata. Before this change
when reference errors were saved the de-serialization lost some of the
attributes resulting in bad formatting of merge failure messages.
2020-08-03 11:15:04 +02:00