Commit graph

117 commits

Author SHA1 Message Date
RhodeCode Admin
6a667624ae fix(tests): fixed tests for PR celery hooks deamon 2024-10-25 10:34:22 +02:00
RhodeCode Admin
6cf678911a fix(tests): fixed more permissions tests 2024-10-22 22:15:23 +02:00
RhodeCode Admin
a019d888c3 fix(tests): fixed few tests 2024-10-22 21:56:30 +02:00
RhodeCode Admin
a7e6b8d86c fix(permissions): added a common way to update private flag via repo model
- this allows to have a one and only one way to control the flag with the business logic shared
- added test for that
- changed view to use this method instead of DB update and custom permissions flush
- fixed a case when update of repo settings didn't flush permissions actually while it should when private flag changed
2024-10-14 11:07:44 +02:00
Serhii Ilin
0eeee78a52 updated with a latest changes. 2024-10-02 12:22:06 +03:00
RhodeCode Admin
c859407811 feat(vcs): dropped validate SSL for vcs-operations.
- This is very error prone
- With docker we don't need it anymore
2024-10-01 11:28:07 +02:00
Serhii Ilin
5d1b03ab5b feat(git lfs path and path to hg large files in *.ini files): moved git lfs path and path of hg large files to *.ini files. 2024-09-25 10:59:01 +03:00
RhodeCode Admin
efb6d1e422 feat(configs): deprecared old hooks protocol and ssh wrapper.
New defaults are now set on v2 keys, so previous installation are automatically set to new keys.
Fallback mode is still available.
2024-08-07 13:35:47 +02:00
Serhii Ilin
5f36eb1b22 Updated with a latest changes. 2024-03-11 20:12:31 +02:00
Serhii Ilin
7e2e69d2ba feat(repo_path-config): moved main storage location path into ini file. Fixes: RCCE-61 2024-03-01 09:39:14 +02:00
RhodeCode Admin
45ebc7cca3 fix(mercurial): dropped support for depreacted hgsubversion fixes RCCE-12 2023-12-28 15:09:26 +01: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
f3a9d5faea tests: fixed scm tests 2023-08-28 14:25:01 +02:00
RhodeCode Admin
e278d7d3ad code: fixes to escape characters improperly used 2023-08-25 14:20:05 +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
bf561e5914 tests: fixed all tests for python3 BIG changes 2023-07-18 11:46:31 +02:00
RhodeCode Admin
aab457fdca python3: removed more unicode usage 2023-03-10 10:05:54 +01:00
RhodeCode Admin
3a64e09b7b tests: fixed some tests 2021-07-16 16:23:02 +02:00
Marcin Kuzminski
c3f059ebc6 observers: code cleanups and fixed tests. 2020-10-11 22:16:08 +02:00
Marcin Kuzminski
9106e99baf pull-requests: added observers, and fix few problems with versioned comments 2020-08-21 20:56:59 +02:00
Daniel Dourvaris
c9e2b11f8f tests: fixed some tests after recent changes. 2020-07-02 17:58:05 +02:00
Marcin Kuzminski
d4eb900e5e app: use simpler way to extract default_user_id, this will be now registered at server
boot.
2020-05-07 15:28:20 +02:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Kuzminski
4de6dd537c pull-requests: fixed case for GIT repositories when a merge check failed due to merge conflicts the pull request wrongly reported missing commits.
- we're now searching for dangling commits in a repo that has them and cannot see them because of failed merge checks.
- pull-request: will save metadata during merge simulation so merge conflicts are permanently stored, and showed to all users.
2020-04-08 11:17:10 +02:00
Bartlomiej Wolynczyk
bfb50f3681 helpers: pre-compiled issue tracker patterns early for speedup. 2020-01-20 16:50:17 +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 Lulek
f069e0f0f9 pull-requests: add merge check that detects WIP marker in title. This will prevent merges in such case.
Usually WIP in title means unfinished task that needs still some work.

This pattern is present in Gitlab/Github and is already quite common.
2019-11-25 19:10:53 +01:00
Marcin Kuzminski
1eb782ad15 pull-requests: expose unresolved files in merge response. 2019-11-15 01:00:13 +01:00
Daniel Dourvaris
836aa041be pull-requests: change the naming from #NUM into !NUM.
- We'll later on enable global pattern matching and from now on refercing a pr should be
used with an ! not to confuse #NUM which is tickets/issues
2019-11-06 12:24:42 +01:00
Marcin Kuzminski
3876870e28 tests: stabilize tests for mysql/postgres. 2019-10-08 17:06:35 +02:00
Marcin Kuzminski
ed0653712b dependencies: bumped test libraries. 2019-09-30 13:26:57 +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
0b076e1f65 caches: updated cache backend to new vcsserver caches implementation. 2019-07-17 00:14:26 +02:00
Marcin Kuzminski
6a2e2f0b94 commits: re-implemented fetching a single commit for git case.
- faster using always cache if available
- fixed problems after changes of __bool__ of repo object which always rebuilt cache and this is not the case now
- make few error messages better
2019-06-10 12:28:47 +02:00
Marcin Kuzminski
0215f5278c pull-requests: updated metadata information for failed merges with multiple heads. 2019-04-09 13:12:26 +02:00
Marcin Kuzminski
d621ac19ee mercurial: enabled full evolve+topic extensions 2019-04-19 12:00:01 +02:00
Marcin Kuzminski
efc39f31eb events: trigger 'review_status_change' when reviewers are updated.
- small code refactoring
- extended commenting event with comment
- extended review_status_change event with new status
2019-01-18 13:16: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
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
7f14620be5 tests: ensure we never hit same user_id twice in voting tests. 2018-12-06 21:05:54 +01:00
Daniel Dourvaris
94d74336d1 diffs: introducing diff menu for whitespace toggle and context changes 2018-10-23 17:02:26 +02:00
Marcin Kuzminski
175a9b344e rcextensions: new builtin rcextensions.
- ability to expose output to users from rcextensions
- new docs
- linking to the code makes the tests always check the integrity of rcextensions
- added new hook variables and described them to end users
2018-10-23 11:45:45 +02:00
Daniel Dourvaris
21e7eef112 vcs: don't use deprecated get_changeset[s] methods. 2018-10-03 16:18:06 +02:00
Marcin Kuzminski
628a59828e exceptions: fixed py3 incompatible calls 2018-10-02 22:48:13 +02:00
Marcin Kuzminski
4da7905b37 vcs: use a real two part name for merge operation.
- expose settings into vcs_settings for easier override later
2018-10-01 13:54:51 +02:00
Marcin Kuzminski
3a43ded6b6 hooks: pass in store_path into env for hooks. 2018-09-26 12:14:37 +02:00
Marcin Kuzminski
e41725c078 branch permissions: added logic to define in UI branch permissions.
- db models
- new permissions pages placeholders
2018-08-28 13:41:30 +02:00
Marcin Kuzminski
ecb77c7c3d tests: added tests for permission update views to catch obvious form errors. 2018-07-02 12:20:44 +02:00