Commit graph

4517 commits

Author SHA1 Message Date
Marcin Kuzminski
2b3b3aa5a7 observers: hide it for CE edition.
- This hide is simple, but real logic is in the validate function which would only work if EE edition is installed.
2020-10-08 22:28:51 +02:00
Marcin Kuzminski
92fb77497e sidebar: introduce tooltips for observers 2020-10-08 14:10:22 +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
8e48997a91 pull-requests: make my account and repo pr table more consistent. 2020-10-08 13:25:14 +02:00
Marcin Kuzminski
e9f4c90062 tables: unified tables for main pages of rhodecode repo pages. 2020-10-08 12:50:57 +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
c8e9d9be54 sidebar: sort tickets in referenced messages 2020-10-07 10:53:26 +02:00
Marcin Kuzminski
e81d17f45c sidebar: few fixes for panel rendering of reviewers/observers for both commits and PRS. 2020-10-06 10:46:42 +02:00
Marcin Kuzminski
8a81eb3f8a sidebar: changed new comment color indicator. 2020-10-06 10:09:23 +02:00
Marcin Kuzminski
973b1762b0 comments: fix existing ids discovery 2020-10-06 10:04:19 +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
274d09cad8 quick-search-bar: fixes #5634 2020-10-08 18:19:14 +02:00
Marcin Kuzminski
8627996783 issue-trackers: implemented more sophisticated ticket data extraction based on advanced regex module, and special
look-behind regex. This is a recommended ticket extraction from Atlassian itself (for Jira) and we also
implemented it for Redmine, or tickets

- bonus: report errors on patterns in preview window
2020-09-30 10:53:17 +02:00
Marcin Kuzminski
65ea5624f2 exc-tracking: fixed send-email bug when called from a source not attached to user session. 2020-09-29 10:04:58 +02:00
Marcin Kuzminski
faa932a3a1 Added tag v4.21.0 for changeset 8bb5fece08ab 2020-09-28 15:41:14 +00:00
Marcin Kuzminski
035364d735 release: Finish preparation for 4.21.0 2020-09-28 15:41:12 +00:00
Marcin Kuzminski
ad03d32d09 docs: added release notes for 4.21.0 2020-09-28 17:33:04 +02:00
Marcin Kuzminski
9f20cdeb6b release: updated pip2nix output for 4.21.0 2020-09-28 12:29:37 +00:00
Marcin Kuzminski
ed310778f5 i18n: Updated message catalog template 2020-09-28 12:20:26 +00:00
Marcin Kuzminski
5aa8df7b67 release: Merge default into stable for release preparation 2020-09-28 12:19:44 +00: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
b39807deeb comments: view edit history of comment should be allowed for anonymous users, as they anyway see comments body. 2020-09-26 08:43:42 +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
5def722eda issue-trackers: fix XSS with description field. 2020-09-24 13:11:05 +02:00
Marcin Kuzminski
63461e605d tests: fixed some tests after sidebar introduction 2020-09-24 13:02:33 +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
5e1a429afd sessions: patch baker to take expire time for redis for auto session cleanup. 2020-09-14 11:13:41 +02:00
Marcin Kuzminski
d79287cbfe user-sessions: fix cleanup with corrupted session data. 2020-09-03 22:44:48 +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
246e0968cd channelstream: fixed registered users info. 2020-09-23 11:43:27 +02:00
Marcin Kuzminski
ebb08db0ad channelstream: bumped to channelstream==0.6.14 2020-08-31 21:15:25 +02:00
Marcin Kuzminski
436bb2e63a helpers: cleanup gravatars code. 2020-08-24 15:13:48 +02:00
Marcin Kuzminski
b495ecb8ac helpers: allow save-on-disk svg gravatars instead of the on-the-fly generated ones 2020-08-24 15:08:39 +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
a849ac31f3 artifacts: skip vcs detection for artifact downloads. 2020-08-24 11:24:05 +02:00
Marcin Kuzminski
7e4cac8421 repo-api: allow repo admins to get/set settings. Previously it was only super-admins that could do that, and it's wrong. 2020-08-13 11:11:24 +02:00
Marcin Kuzminski
e564aec523 hosting: added usage writers for hosting needs. 2020-08-11 12:41:54 +02:00
Marcin Kuzminski
0774943455 pull-requests: log a mismatch of name changed during a display of a PR.
If long-living PR was altered that the names of repo doesn't match anymore, we'll show a warning instead of silent 404.
2020-08-11 12:34:28 +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
Marcin Kuzminski
7ef065f261 release: Bump version 4.20.0 to 4.21.0 2020-07-29 13:29:21 +02:00
Marcin Kuzminski
8781a7b312 release: merge back stable branch into default 2020-07-27 21:22:49 +02:00
Marcin Kuzminski
1179d156b9 Added tag v4.20.1 for changeset 7e2eb896a02c 2020-07-27 08:22:11 +00:00
Marcin Kuzminski
aaf1382533 release: Finish preparation for 4.20.1 2020-07-27 08:22:09 +00:00