Commit graph

37 commits

Author SHA1 Message Date
RhodeCode Admin
102205ec73 feature(scm): added multibranch support for git and mercurial 2025-12-21 08:27:16 +01:00
RhodeCode Admin
f172aa4144 svn: fixed issue with custom svn client user agents 2025-11-28 11:32:10 +01:00
Andrii V
e99780dea1 tests: fix 2 unit-tests 2025-06-25 19:08:37 +02:00
RhodeCode Admin
83aaa1ecb7 tests: fixed svn tests 2025-03-12 08:52:47 +01:00
RhodeCode Admin
166db21812 core: run ruff format 2025-01-13 17:47:37 +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
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
RhodeCode Admin
d00bf18b2d fix(tests): fixed svn tests 2024-03-04 12:54:09 +01:00
RhodeCode Admin
fc0ee0e99b feat(ssh-wrapper-speedup): major rewrite of code to address imports problem with ssh-wrapper-v2
- use bootstrapped settings rather than config
- use more code split to make sure we don't import heavy code
2024-02-28 09:30:58 +01: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
4026ee36ee apps: modernize for python3 2023-07-18 14:24:37 +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
006cbc84e0 apps: removed utf8 marker 2023-07-18 10:20:56 +02:00
RhodeCode Admin
255d0e78ee python3: fix import configparser 2023-03-06 23:30:53 +01:00
RhodeCode Admin
c691bf8c9a statsd/audit-logs: cleanup push/pull user agent code.
- add normalization
- add user-agent tag into statsd call so we can track protocol/vcs type usage
- internal merge also sends in repo type
2023-01-21 14:38:37 +01:00
Milka Kuzminski
6a44d04b91 tests: fixed some flacky tests on docker. 2021-03-17 08:15:29 +01:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Daniel Dourvaris
fef1c89222 svn: explicitly specify tunnel-user to properly map rhodecode username on svn commit via SSH backend
- fixes #5608
2020-03-31 17:39:58 +02:00
Daniel Dourvaris
bc26425632 svn: fixed case of wrong extracted repository name for SSH backend. In cases
where we commited to a nested subdirs SVN reported the access path with the subdir paths in it.
We couldn't then match that extended name into proper rhodecode repository for ACL checks.

- Current implementation gives an slight overhead as we have to lookup all repositories
- fixes #5606
2020-03-31 09:25:37 +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
d693a556b4 Mercurial: fix ssh-server support for UI objects
- fixed evolve/topic usage
- fixed propagation of publishing and extension flags
2019-04-07 13:39:06 +02:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
df27625f07 exceptions: use python3 compatible exception handling 2018-10-02 11:03:22 +02:00
Daniel Dourvaris
1db967ddb0 tests: fixed some pytest deprecated calls, and warnings. 2018-10-01 12:23:47 +02:00
Marcin Kuzminski
3a43ded6b6 hooks: pass in store_path into env for hooks. 2018-09-26 12:14:37 +02:00
Marcin Kuzminski
08d3f6b83b branch-permissions: enabled branch permissions checks for SSH backend. 2018-08-29 16:41:52 +02:00
Marcin Kuzminski
3e1942b6c6 svn: fixed tests for svn backend. 2018-02-19 13:40:07 +01:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
19744d8230 vcs-ops: store user_id inside the extras for vcs context operations.
- we'll use this one for bootstrap of async tasks.
2017-11-30 17:41:05 +01:00
Marcin Kuzminski
af533f47d8 compat: use py3 compatible configparser in all places. 2017-11-15 20:35:22 +01:00
Marcin Kuzminski
d394c2653a ssh-support: enabled full handling of all backends via SSH.
- run callback deamons
- run proper authentication checks
- add relative loging.
- fixes #5312
2017-10-24 23:48:14 +02:00
Marcin Kuzminski
ba710e874d ssh-support: don't use API calls to fetch the data.
We now rely on pure bootstrap executable that has access to the database and can
check things directly without any API calls.
2017-10-23 16:09:50 +02:00
Marcin Kuzminski
a8d0784226 tests: fixed tests for random dict order could sometimes break the tests 2017-09-20 23:33:29 +02:00
Marcin Kuzminski
034abca8dc ssh: embedded ssh support
- updated command generation and added debug flag
- updated .ini config to have ALL required components to run SSH commands
- rcssh-wrapper now is embedded and pinned into version of enterprise
- update ssh_support configration
- implements #5343
2017-08-18 14:32:00 +02:00
Marcin Kuzminski
945777cf9c ssh: added support for auto generating authorized_keys from stored ssh keys. 2017-08-03 16:36:16 +02:00