RhodeCode Admin
4bbb30fa06
modernize: updates for python3
2023-07-18 14:45:20 +02:00
RhodeCode Admin
230f12827e
api: modernize code for python3
2023-07-18 14:16:28 +02:00
RhodeCode Admin
42301154fc
copyrights: updated for 2023
2023-07-18 11:57:27 +02:00
RhodeCode Admin
458caff188
api: code fixes / cleanups for python3
2023-07-18 09:45:03 +02:00
Marcin Kuzminski
c3f059ebc6
observers: code cleanups and fixed tests.
2020-10-11 22:16:08 +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
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
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
Bartłomiej Wołyńczyk
6ddfbb0ddd
api: added edit comment api
2020-06-28 23:37:16 +02:00
Marcin Kuzminski
293a3535ae
pull-requests: fix way how pull-request calculates common ancestors.
...
- fixes #5561
- added new preview for size (commits/files) of PRs before opening, this is now based on the special logic that calculates common ancestor and has access to preview diff
- store common ancestor in DB so updates of pull-requests are consistent
2020-05-08 08:43:51 +02:00
Marcin Kuzminski
fe96e16646
code: update copyrights to 2020
2020-04-16 00:34:52 +02:00
Marcin Kuzminski
1e8d393f02
comments: extend API data with references to commit_id or pull_request_id for audit-logs.
2020-04-15 15:46:53 +02:00
Daniel Dourvaris
c8b4ab6843
API: added pull-requests versions into returned API data
...
- fixes #5582
2020-01-16 08:51:35 +01:00
Bartlomiej Wolynczyk
d8cfd57a83
api: add send_email flag for comments api to allow commenting without email notification.
...
- fixes #5581
2020-01-20 20:30:57 +01:00
Marcin Kuzminski
03b4b5ba7b
pull-requests: added update pull-requests email+notifications
...
- fixed generated update message comments + invalid anchor linkes generated to the changed files
- unified headers on all email messages for pull requests
2019-12-04 20:58:23 +01:00
Marcin Kuzminski
697ce81998
api: allow extra recipients for pr/commit comments api methods
...
- adds some sort of CC functionality for notification
- allows sending emails with notifications to people who are not commit messages, or pr reviewers e.g project manager etc.
2019-11-07 22:29:39 +01:00
Marcin Kuzminski
758991d8f1
pull-requests: make merge state default as False. This causes a lot of performance problems and should default to faster way
2019-07-25 21:52:14 +02:00
Marcin Lulek
b11c4157c4
api: pull-requests, fixed invocation of merge as another user.
2019-02-15 10:27:18 +01:00
Marcin Kuzminski
184b3c75e2
api: expose owner to create_pull_request API. Fixes #5537
2019-02-13 10:44:44 +01:00
Marcin Kuzminski
a181157300
api: forbid commenting on closed PR
2019-02-08 09:55:45 +01:00
Marcin Kuzminski
01cd008a20
api: expose merge message in the merge operation
2019-02-05 17:17:58 +01:00
Marcin Kuzminski
bd69124334
api: pull-requests get_all now sortes the results and have a flag to show/hide merge result state
2019-01-31 14:42:23 +01:00
Marcin Kuzminski
7f1f5e3601
api/pull-requests: trigger events for comments/review status changes.
2019-01-18 13:34:54 +01:00
Marcin Kuzminski
1e2a7a9136
pull-requests: introduce operation state for pull requests to prevent from
...
locks during merge/update operations.
2019-01-07 13:32:16 +01:00
Marcin Kuzminski
bd1a9c8201
docs: updated copyrights to 2019
2019-01-02 18:13:27 +01:00
Daniel Dourvaris
599f9b7964
pull-requests: ensure merge response provide more details
...
- refactor merge responses with detailed messages
- fixes #5520
- code cleanups
2018-12-30 11:00:09 +01:00
Marcin Kuzminski
1f39d62f74
comments: use proper auth user for close PR action.
2018-09-18 09:49:18 +02:00
Marcin Kuzminski
6458ef9105
pull-requests: add merge validation to prevent merges to protected branches.
2018-08-28 20:24:40 +02:00
Marcin Kuzminski
f74691150a
api: allow updates and setting description renderer for pull requests via the API.
2018-07-17 13:30:50 +02:00
Marcin Kuzminski
d576848d4a
api: creation of pull_request now honor additional reviewers when using reviewer rules.
2018-07-12 14:10:29 +02:00
Marcin Kuzminski
239874ceca
api: pull-requests fixed logic of ancestor calculation and target ref calculation based on the web view.
2018-07-11 17:27:30 +02:00
Marcin Kuzminski
f3d4446814
api: pull-requests allow automatic title generation via API
2018-07-11 13:46:16 +02:00
Marcin Kuzminski
84767c858f
api: fixed ordering of commits in PR creation from API
2018-07-11 10:36:12 +02:00
Marcin Kuzminski
42c80fe075
shadow-repos: use numeric repo id for creation of shadow repos.
...
- Fixes a problem after rename or move into repository group.
2018-06-21 14:04:06 +02:00
Marcin Kuzminski
b058fefee1
audit-logs: use auth_user in few places to track action IP.
2018-06-12 18:29:54 +02:00
Marcin Kuzminski
1a717208f4
audit-logs: store properly IP and user for certain comments types.
...
- before mostly IP could be missing from audit log data.
2018-04-26 00:59:07 +02:00
Marcin Kuzminski
00b45c1fa7
release: update copyright year to 2018
2018-01-19 17:13:16 +01:00
Marcin Kuzminski
bc23ad316c
api: pull-requests, make the repoid parameter optional. Because pullrequestid is global
...
we don't want to complicate things more by requiring repoid. Left for backward compat.
2017-11-23 21:14:04 +01:00
Marcin Kuzminski
b809d00f88
api: pull-requests added option to fetch comments from a pull requests.
...
- fixes #5398
2017-11-23 20:08:46 +01:00
Marcin Kuzminski
27aff1de7a
pull-requests: trigger merge simulation during PR creation. Fixes #5396
2017-10-12 20:57:02 +02:00
Marcin Kuzminski
926a79e98e
audit-logs: implemented pull request and comment events.
2017-06-17 15:22:50 +02:00
Daniel Dourvaris
2beb24a857
reviewers: added validation and default review rules via API calls.
...
- update/create pull request now validate and update the default reviewer rules.
2017-06-14 11:10:19 +02:00
Marcin Kuzminski
5915f38fcf
pull-request-api: updated logic of closing a PR via API call.
...
- consistent logic via web and API
- updated events
- updated proper close checks.
2017-06-13 00:14:21 +02:00
Marcin Kuzminski
bd1e865c9c
pull-request: extended default reviewers functionality.
...
- added mandatory reviewers JS logic Fixes : #4219
- added option to forbid author to be a reviewer via JS/Frontend checks. Fixes #5190
- added option to forbid adding new reviewers except those defined. Fixes #5208
2017-05-29 20:10:17 +02:00
Marcin Kuzminski
51775c0669
pull-requests: fixed translation of error messages via merge-api.
...
- fixes #5325
2017-05-29 20:00:38 +02:00
Marcin Kuzminski
bf27cbaf6d
docs: update API documentation.
2017-04-05 22:10:02 +02:00
Marcin Kuzminski
3f9289f77f
api: added comment_resolved_id into aprameters to resolve TODO notes via API.
2017-01-18 19:15:46 +01:00
Marcin Kuzminski
cc9db5e79e
api: added possibility to specify comment_type for comment API.
2017-01-18 19:07:49 +01:00
Marcin Kuzminski
30637758d6
pull-requests: unified merge checks.
...
- same logic is now used for API, pre-conditions on show, and checks on actual merge
- added checks into API because it was not validated
2017-01-18 14:56:20 +01:00