Commit graph

121 commits

Author SHA1 Message Date
Andrii V
9bbdde8d18 tests: fix 3 more unit-tests 2025-06-25 19:22:38 +02:00
Andrii V
f602b2d5b1 Skip svn test to isolate issue 2025-04-03 15:35:24 +02:00
hkoziak
aa01e0b83d RCCE-165 2025-03-25 09:49:29 +02:00
RhodeCode Admin
aef3cca3ea security: limit API impersonate feature to only super admins 2025-03-24 05:17:44 +01:00
RhodeCode Admin
2af828e1c9 fix(security): do not expose draft comments via API to other users than caller 2025-02-24 08:41:01 +01:00
RhodeCode Admin
166db21812 core: run ruff format 2025-01-13 17:47:37 +01:00
RhodeCode Admin
d08633d220 fix(encoding for file): fixed support of non utf-8 files in all backends 2024-11-27 19:35:02 +01:00
RhodeCode Admin
ef109d8f05 feat(remap and rescan): added more relient remap and removal option, and also split the logic to either add or cleanup 2024-11-13 13:39:21 +01:00
RhodeCode Admin
2b623ea7f2 core: avoid using rhodecode.test packages inside main packages as tests are removed during build which can cause some problems in some edge case calls 2024-11-13 09:49:39 +01:00
RhodeCode Admin
82f0f8d214 core: updated copyright to 2024 2024-11-12 16:39:07 +01:00
RhodeCode Admin
1d5d2c0155 tests: fixed test suite for celery adoption 2024-11-08 16:17:57 +01:00
RhodeCode Admin
8f1e706ad8 chore(cleanups): cleanup unicode usage... 2024-06-23 21:48:10 +02:00
Serhii Ilin
16c169bec2 fix(ssh): Added alternative SshWrapper and changes needed to support it + service api. Fixes: RCCE-6 2024-02-19 13:49:51 +02:00
RhodeCode Admin
8a480af3c1 fix(tests): fixed the creation of non-linear commits creation in tests
- This addresses and makes a fix for #5706
2023-11-23 09:41:19 +01:00
RhodeCode Admin
b4c874e244 cleanups: typing + whitespaces 2023-07-20 10:33:37 +02:00
RhodeCode Admin
4bbb30fa06 modernize: updates for python3 2023-07-18 14:45:20 +02:00
RhodeCode Admin
3c7a0fe047 lint: ruff run 2023-07-18 13:46:39 +02:00
RhodeCode Admin
42301154fc copyrights: updated for 2023 2023-07-18 11:57:27 +02:00
RhodeCode Admin
e564ec9b32 api: make all tests for API pass 2023-07-18 09:45:22 +02:00
RhodeCode Admin
458caff188 api: code fixes / cleanups for python3 2023-07-18 09:45:03 +02:00
RhodeCode Admin
047254866b api: fixes and changes to always return content type in API
- few tweeks here and there
2023-03-28 10:21:23 +02:00
RhodeCode Admin
e1d1da53b9 pytest: restructure fixtures/plugins to fix problems with pkg_resources and Can't perform this operation for unregistered loader type errors.
- seems the latest pytest breaks older packages relying on pkg_resources when defining a entrypoints plugins
- change the way we register plugins to be local only, this is what we need anyway
2023-03-21 12:24:16 +01:00
RhodeCode Admin
8f6692847b python3: removed use of xrang 2023-03-06 14:57:53 +01:00
RhodeCode Admin
d300144665 repos: cleannup and fix landing-ref code.
with latest git update this exposed a bug when we allowed to set references like tip for git repos
now the defaults are loaded from a single place controlled by default branch for git.

Repos without master are now working just fine with new git and new logic.
2023-01-18 22:10:40 +01:00
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