Commit graph

23 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01: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
a55becaad1 ssh: improve logging, and make the UI show last accessed date for key. 2018-08-29 14:06:51 +02:00
Marcin Kuzminski
225757aaf3 hooks: made the callback host configurable.
- This allows easier docker container seperation
2018-07-03 11:57:03 +02: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
15972afecb ssh: use proper way of extracting the HOOK_PROTOCOL out of vcssettings.
- it might be not stored inside the .ini file so we should use the config
that has proper defaults, and it's used in many other places.
2017-11-06 11:43:38 +01:00
Marcin Kuzminski
82baccf66d ssh: prevent exceptions when user associated to stored old key is not found. 2017-11-03 13:07:02 +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