Commit graph

76 commits

Author SHA1 Message Date
RhodeCode Admin
d79877ff23 ssh-wrapper: added extra logging in case of failed user fetch 2025-01-06 12:09:22 +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
2bbd831d7c fix(ssh-backend): fix accidentally added rhodecode_tools import 2024-11-08 15:18:23 +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
55281cb2b0 feat(config): deprecated old ssh wrapper command and make the v2 the default one 2024-08-06 16:02:40 +02:00
Serhii Ilin
9019f7e9c8 fix: fixed empty server url in PR link. Fixes: RCCE-77 2024-06-21 09:25:02 +03:00
RhodeCode Admin
d00bf18b2d fix(tests): fixed svn tests 2024-03-04 12:54:09 +01:00
RhodeCode Admin
104352ccda fix(svn): more binary protocol svn ssh fixes 2024-03-03 08:40:12 +01:00
RhodeCode Admin
747534f76d fix(svn-ssh): fixed svn ssh wrapper 2024-03-01 13:40:11 +01:00
Serhii Ilin
f56c72e441 feat(svn-config): updated with the latest changes. 2024-03-01 12:49:01 +02:00
Serhii Ilin
51a688c0c0 refactor(ssh-wrapper): changed SSHVcsServer to SshVcsServer, updated call_service_api method. 2024-02-28 11:52:11 +02: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
25f36e9654 feat(svn-config): moved svn related config keys to *.ini file. Fixes: RCCE-60 2024-02-28 09:34:14 +02:00
RhodeCode Admin
aadbbc076c fix(ssh): added missing import 2024-02-27 10:41:51 +01:00
RhodeCode Admin
fb6b7a3692 chore(imports): optimize imports for ssh events 2024-02-27 09:51:41 +01:00
RhodeCode Admin
2f216c3acf feat(ssh-wrapeprs): moved the setup logging into common function to not relly on v1 codebase 2024-02-27 09:48:58 +01:00
RhodeCode Admin
0b73535140 settings: remove links to rccontrol from settings and default to the docker image paths 2024-02-27 09:44:28 +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
8534f3602b fix(ssh): add pull fix into pre_pull hook 2024-02-16 07:45:24 +01:00
RhodeCode Admin
034377cec3 feat(ssh-wrapper): added pre/post pull hooks on top of git for ssh backend.
- this makes it consistent with the http backend and actually adds audit logging into the ssh pulls for git
2024-02-15 19:58:58 +01:00
Serhii Ilin
86bc980004 feat(celery-hooks): added all needed changes to support new celery backend, removed DummyHooksCallbackDaemon, updated tests. Fixes: RCCE-55 2024-02-12 11:38:03 +02:00
Serhii Ilin
6192f14c32 feat(metric): added new metric calculation. Fixes: RCCE-5 2024-01-17 17:19:42 +02:00
RhodeCode Admin
4bbb30fa06 modernize: updates for python3 2023-07-18 14:45:20 +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
c231b4c990 apps: various fixes and improvements for python3 2023-07-18 11:39:51 +02:00
RhodeCode Admin
abbc465e47 core: multiple fixes to unicode vs str usage
- python3 fixes
- import fixes
- list vs iterators
2023-07-18 11:17:17 +02:00
RhodeCode Admin
006cbc84e0 apps: removed utf8 marker 2023-07-18 10:20:56 +02:00
RhodeCode Admin
0c53201403 python3: fixed urllib usage 2023-03-10 10:01:53 +01:00
RhodeCode Admin
c3da01c179 ssh-wrapper: perf optimizations
- make key timestamp update pure sql so we don't generate model import overhead
- code cleanups
2023-03-08 14:57:45 +01:00
RhodeCode Admin
255d0e78ee python3: fix import configparser 2023-03-06 23:30:53 +01:00
RhodeCode Admin
f7091556fd python3: fixed urlparse import 2023-03-06 23:02:03 +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
RhodeCode Admin
5f9fc66a86 ssh: rollback temp changes as it creates even more problems with cross drive linking 2023-01-11 21:11:30 +01:00
RhodeCode Admin
324da80267 ssh: generate tmp rename file in tmp dir rather then location of file.
This is mostly due to possible docker mount permission issues
2023-01-11 14:32:50 +01:00
RhodeCode Admin
911fc2e7e3 env-config: use proper ALL keys reconfiguration based on env vars 2022-12-12 22:04:53 +01:00
RhodeCode Admin
43f40cd31c config: major update for the code to make it be almost fully controllable via env for new docker based installer. 2022-12-12 14:05:25 +01:00
RhodeCode Admin
5df5d7893b ssh: handle subrepos better 2021-06-23 21:40:40 +02:00
RhodeCode Admin
1f15dd1741 ssh: use pre-compiled backends for faster matching of vcs detection. 2021-06-23 21:38:16 +02:00
Milka Kuzminski
6a44d04b91 tests: fixed some flacky tests on docker. 2021-03-17 08:15:29 +01:00
Milka Kuzminski
712064268e ssh: allow clone by ID via SSH operations. 2021-03-04 22:08:18 +01:00
Marcin Kuzminski
dec6e7afda permissions: rename write+ to write or higher for more explicit meaning. 2020-07-24 12:23:53 +02: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
52b560fe7d ssh: fix invocation of custom hgrc 2019-05-08 09:49:53 +02:00
Marcin Kuzminski
c6963cf66b ssh: call custom hooks via SSH backend 2019-04-17 12:39:26 +02:00