Commit graph

84 commits

Author SHA1 Message Date
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
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
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
7e2e69d2ba feat(repo_path-config): moved main storage location path into ini file. Fixes: RCCE-61 2024-03-01 09:39:14 +02: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
aae5984782 fix(svn): fixed svn tests and pass-in the Auth headers back to the svn server 2023-12-05 10:01:09 +01:00
RhodeCode Admin
7f75e4e70e fix(tests): fixed svn tests that now require request method 2023-12-01 20:51:56 +01:00
RhodeCode Admin
d15df16e43 svn: fixed test 2023-10-10 04:49:33 +02:00
RhodeCode Admin
e56ec0a352 tests: fixed stream test chunking that returned wrongly str not bytes 2023-08-29 16:52:31 +02:00
RhodeCode Admin
2d8991f833 tests: fixed simplevcs tests 2023-08-29 16:36:23 +02:00
RhodeCode Admin
a655feae42 tests: fixed some tests because of wrong compare strings 2023-07-18 16:01:38 +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
dd0b0f490c tests: multiple tests cases fixes for python3 2023-03-27 21:42:58 +02:00
RhodeCode Admin
acbe2b54a6 json: fixed calls to json after orjson implementation 2023-03-20 20:58:57 +01:00
RhodeCode Admin
34af9cfa2f python3: fixed various code issues
- iterators
- use of u''
2023-03-20 20:51:25 +01:00
RhodeCode Admin
0c53201403 python3: fixed urllib usage 2023-03-10 10:01:53 +01:00
RhodeCode Admin
44cde4b5c1 python3: removed usage of .iteritems() 2023-03-06 23:46:33 +01:00
RhodeCode Admin
dc6b8b6677 python3: remove usage of subprocess32 2023-03-06 23:29:12 +01:00
RhodeCode Admin
135f0f0cc6 python3: fixed usage of stringIO module 2023-03-06 23:09:06 +01:00
RhodeCode Admin
f7091556fd python3: fixed urlparse import 2023-03-06 23:02:03 +01:00
RhodeCode Admin
8f6692847b python3: removed use of xrang 2023-03-06 14:57:53 +01:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +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
70d5bb346a shadow-repos: skip init of full repo to generate shadow repo path. 2019-09-20 21:00:31 +02:00
Daniel Dourvaris
6793d652e0 git-lfs: fixed bug #5399 git-lfs application failed to generate HTTPS urls properly. 2019-07-02 15:08:39 +02:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
a95bd9622c svn: support proxy-prefix properly fixes #5521 2018-12-20 01:01:02 +01:00
Marcin Kuzminski
e8ec810de8 app: disconect auth plugin loading from authentication registry.
- introduce load_all flag used in skip application load time for certain actions
2018-11-26 00:15:05 +01:00
Marcin Kuzminski
f0ff76a829 core: use py3 compatible prints 2018-09-12 09:47:41 +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
42c80fe075 shadow-repos: use numeric repo id for creation of shadow repos.
- Fixes a problem after rename or move into repository group.
2018-06-21 14:04:06 +02:00
Marcin Kuzminski
7d870ea83a mercurial: protocol security updates.
- fixes Mercurial CVE for lack of permissions checking on mercurial batch commands
- more strict checks for permissions, now default to push instead of pull
to be always on safe side.
- decypher batch commands and pick top-most permission to be used
2018-04-25 13:10:52 +02:00
Marcin Kuzminski
bdf5f0afb6 svn: enable hooks and integration framework execution.
- This change will allow SVN to execute rhodecode integration framework
via executing the builting hooks.
- uses txn_id for svn to provide metadata required via Apache
- Interception of SVN transaction is required to use temporary stores for metadata
- hooks are now part of vcsserver where the install/control logic is stored
2018-04-06 12:44:01 +02:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
4f426c33f5 tests: rewrote code for running vcs_operations. Now it starts it's own
configurable instances for exactly those tests.
2017-12-18 21:19:29 +01:00
Marcin Kuzminski
1fccd17a6d auth, performance: use cache_ttl for anonymous access taken from the rhodecode plugin.
- for operations like svn this boosts performance significantly for anonymous access enabled.
2017-12-04 14:20:53 +01:00
Marcin Kuzminski
245d213bf2 vcs: also register a global config for vcs_handler.
- this solves a case when SVN repository needs to find out a repo without
per-repo settings available
- we need to get the global config first to be able to extract repo name
2017-11-28 13:23:25 +01:00
Marcin Kuzminski
1d332c03ad pylons: fixed code and test suite after removal of pylons. 2017-11-16 18:27:09 +01:00
Marcin Kuzminski
5f9ae2ae11 pylons: remove pylons as dependency
- dependencies: bumped:
 -setuptools-scm==1.15.6
 -celery==4.1.0
 -kombu==4.1.0
 -pytz==2017.3
 -Routes==2.4.1

Removed all pylons components. Refactored the code to use only pyramid
parts
2017-11-15 13:42:54 +01:00
Marcin Kuzminski
f445addfdd vcs: reduce sql queries used during pull/push operations. 2017-09-28 21:45:19 +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
3f0ff6b65b vcs: report 404 for shadow repos that are not existing anymore. Before we got 500 exception in this case. 2017-09-01 13:10:52 +02:00
Marcin Kuzminski
68cdaa3763 pyramid: remove csrf tests because this was only used in pylons. 2017-07-13 09:56:15 +02:00
Marcin Kuzminski
71071c0b26 dependencies: bumped pyramid to 1.9 webob to 1.7.3 and webtest to 2.0.27
- fixed some core tests for new webob/webtest
- changed core methods to make them more pyramid compat.
2017-07-12 22:54:14 +02:00
Marcin Kuzminski
71fee00277 home: moved home and repo group views into pyramid.
- fixed lots of tests related to those changes
- now main and subrepo group views are handled by pyramid.
2017-06-05 15:16:04 +02:00
Marcin Kuzminski
1f812d6a5e caches: ensure we don't use non-ascii characters in cache keys.
- this could before lead to problems in beaker cache implementation.
2017-05-15 22:10:36 +02:00
Marcin Kuzminski
858dfef419 git-lfs: settings for GIT repos to enable git-lfs and set store location
- ref #4235
2017-03-21 17:23:28 +01:00
Marcin Kuzminski
ca9e08007f git-lfs: added tests for git-lfs protocol detection
- refs #4235
2017-03-17 15:48:07 +01:00