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
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
csalgau
ef7b0fcbd5
Issue #5536 - ability to disable server-side SSH key generation
...
- Fixes #5536
2019-02-14 01:16:57 +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
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
10cf433145
ssh-keys: further sanitize data of inputted SSH keys.
2018-05-16 23:01:46 +02:00
Marcin Kuzminski
7e3a4739f0
ssh(sec): fix newline problem on key saving that would allow bypassing command sandbox.
2018-05-15 18:51:38 +02:00
Marcin Kuzminski
0d8040e6fa
bootstrap: allow setting certain env flags for usage in CLI scripts.
...
- we can catch that later in pyramid and skip certain heavy actions to speed-up CLI invokation
2018-03-01 16:42:35 +01:00
Marcin Kuzminski
3e1942b6c6
svn: fixed tests for svn backend.
2018-02-19 13:40:07 +01:00
Marcin Kuzminski
b5b6c94fc2
ssh: fix problems with backend and ssh clones.
2018-02-18 12:24:44 +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
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
043d5232de
ssh: always expand the path for the generated authorized_keys file.
...
Without it we can lead to path problems on reading the ~.
2017-11-06 11:13:05 +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
38c78cd493
ssh: allow customizing the base_url for running application.
...
Allows proper URLs inside events when executing on SSH calls.
2017-10-25 11:48:03 +02: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