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
Marcin Kuzminski
dec6e7afda
permissions: rename write+ to write or higher for more explicit meaning.
2020-07-24 12:23:53 +02:00
Daniel Dourvaris
a20d45c20e
notifications: properly inject the custom email headers into templates.
2020-07-24 09:51:14 +02:00
Marcin Kuzminski
bdf49e02d6
emails: added logic to allow overwriting the default email titles via rcextensions.
2020-07-16 12:37:52 +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
Marcin Kuzminski
74e96ea4b4
comments: added new events for comment editing to handle them in integrations.
2020-07-13 11:18:28 +02:00
Marcin Kuzminski
7c55d3dab0
comments-api: make edit API resilent to bad version data.
2020-07-14 10:40:05 +02:00
Marcin Kuzminski
9cadf302eb
api: added get_comment method, and return versions for comments to allow simple edits via API.
2020-07-10 11:49:52 +02:00
Marcin Kuzminski
3ca5ca1105
pull-requests: changed the order of close-branch after merge, so we don't leave open heads.
...
Branches will be closed, and then merged based on the close commit. This is a proper and recommended
workflow for feature branches and close option.
2020-07-09 13:09:14 +02:00
Marcin Kuzminski
3708c3660d
emails: reduce warning logs on pre-mailer.
2020-07-09 11:51:23 +02:00
Marcin Kuzminski
119f11f756
auth-tokens: expose all roles with explanation to help users understand it better.
2020-07-07 13:04:19 +02:00
Marcin Kuzminski
4fac5279f8
permissions: flush all when running remap and rescan.
2020-07-06 11:36:55 +02:00
Daniel Dourvaris
5d5bf456a6
permissions: allow users to update settings for repository groups they still own, or have admin perms, when they don't change their name.
...
- this before gave no-permission errors as the parent group access was checked
- since the group parent permission should be checked at creation, or name change this commit fixes such case
2020-07-02 11:39:35 +02:00