Marcin Kuzminski
c3f059ebc6
observers: code cleanups and fixed tests.
2020-10-11 22:16:08 +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
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
Marcin Kuzminski
40d5038ad3
tests: fixed problem with non-ascii errors
2020-05-13 15:52:46 +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
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
abcf0ed683
get-perms-api-helper: show nicer message when prefix is specified to help in API usage.
2020-01-14 16:15:13 +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
9b9e7d2a5a
users: description edit fixes
...
- tests
- added metatags info
2019-10-31 11:22:32 +01:00
Daniel Dourvaris
e9018c74bd
search: added per-backend sorting fields.
...
- unified naming to be more user friendly
- only sort on supported fields that each backend exposes
- fixed few cases of sort errors and added additional tests
2019-10-02 17:23:34 +02:00
Marcin Kuzminski
ed0653712b
dependencies: bumped test libraries.
2019-09-30 13:26:57 +02:00
Marcin Kuzminski
a17adaa9f2
db: use more consistent sorting using real objects, strings are deprecated in laters sqlalchemy query syntax.
2019-09-30 13:24:56 +02:00
Marcin Kuzminski
1d9452ce80
pytest: use consistent way of creating a fixture by using pytest.fixture()
2019-09-28 23:04:18 +02:00
Marcin Kuzminski
e9cf83badc
diffs: fixed outdated files in pull-requests re-using the filediff raw_id for anchor generation.
...
In some cases when there are no longer any files this caused error since filediff wasn't present.
In addition this generated wrong ids since it used a last-defined attribute on a for loop.
Fixes #5567
2019-09-25 10:33:00 +02:00
Marcin Kuzminski
981307fc4f
landing-rev: fixes #4102 , use branches instead of landing tip refs by default.
...
- also changed how readme is rendered based on landing commit to minimize locking for often changing repositories.
2019-08-16 09:55:36 +02:00
Marcin Kuzminski
5b8d619a70
tests: fixes after some later code changes
2019-07-29 13:01:18 +02:00
Marcin Kuzminski
929deba1dd
tests: fixing tests for pull-requests and changelog(commits)
2019-06-28 14:24:57 +02:00
Marcin Kuzminski
23584a96ce
tests: fix cache problems after empty repo check change.
2019-06-06 20:24:25 +02:00
Marcin Lulek
4275ee91b9
api: added tests for the search API
2019-03-29 12:51:50 +01:00
Marcin Lulek
b11c4157c4
api: pull-requests, fixed invocation of merge as another user.
2019-02-15 10:27:18 +01:00
Marcin Kuzminski
01cd008a20
api: expose merge message in the merge operation
2019-02-05 17:17:58 +01:00
Marcin Kuzminski
f38e87b9b7
api: added function to fetch comments for a repository.
2019-01-28 12:05:34 +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
Marcin Kuzminski
861720334b
release: merge back stable branch into default
2019-01-02 17:04:25 +01:00
Marcin Kuzminski
03fcdf8f0b
api: added store_exception_api for remote exception storage.
...
- this will be used in the new indexer that could now report indexing error right back into RhodeCode.
2018-12-18 12:05:03 +01:00
Marcin Kuzminski
1d027eb16a
pull-requests: validate ref types for pull request so users cannot provide wrongs ones.
2018-12-13 22:02:46 +01:00
Marcin Kuzminski
23f4646581
reviewers: use target repo owner as default reviewer in case of CE edition.
...
- Fixes #5515
- This was somehow different than in EE edition
2018-11-21 18:04:29 +01:00
Daniel Dourvaris
21e7eef112
vcs: don't use deprecated get_changeset[s] methods.
2018-10-03 16:18:06 +02:00
Daniel Dourvaris
1db967ddb0
tests: fixed some pytest deprecated calls, and warnings.
2018-10-01 12:23:47 +02:00
Marcin Kuzminski
5a4a98b40e
git: use a fetch_sync based creation of remote repos.
...
- skips fragile dulwich code that has problems with large repos
- is in sync with logic that does remote fetch
- is faster and more efficient
2018-09-21 13:35:45 +02:00
Marcin Kuzminski
da91bab5d6
validators: fix url_validator tests and make it flag controllable.
2018-09-19 10:52:06 +02:00
Marcin Kuzminski
f0ff76a829
core: use py3 compatible prints
2018-09-12 09:47:41 +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
ecff3dbaed
security: update lastactivity when on audit logs.
...
- The previous update on each call was to expensive and created lot of DB locks in high traffic env
2018-07-31 22:52:44 +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
9812f0cbda
api: fixed recursive permissions changes to repo group.
...
- fixes #5489
2018-07-10 22:39:57 +02:00
Marcin Kuzminski
bdf5f0afb6
svn: enable hooks and integration framework execution.
...
- This change will allow SVN to execute rhodecode integration framework
via executing the builting hooks.
- uses txn_id for svn to provide metadata required via Apache
- Interception of SVN transaction is required to use temporary stores for metadata
- hooks are now part of vcsserver where the install/control logic is stored
2018-04-06 12:44:01 +02:00
Marcin Kuzminski
89d8b3cb21
api: security, fix problem when absolute paths are specified with API call, that would allow
...
forking of path based repos if paths are known to end users.
2018-03-28 21:56:23 +02:00
Marcin Kuzminski
3949688b3d
api: enable setting sync flag for user groups on create/edit.
2018-03-28 13:27:21 +02:00
Marcin Kuzminski
4c3c5b0e21
api: update pull method with possible specification of the url
2018-02-13 18:31:43 +01:00
Marcin Kuzminski
00b45c1fa7
release: update copyright year to 2018
2018-01-19 17:13:16 +01:00
Marcin Kuzminski
6f2703e4af
default-reviewers: introduce new voting rule logic that allows
...
defining vote rules for user groups assigned to the default reviewers.
- allows to set per number votes on user groups
- group reviewers by groups
- store the rules and show them in the UI
- fixes #5409
2018-01-19 12:38:25 +01:00
Marcin Kuzminski
d3c3b68b31
api: fixed tests and update docstrings.
2017-12-06 00:07:54 +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