Commit graph

47 commits

Author SHA1 Message Date
RhodeCode Admin
7d730bf3a3 fix(tests): use random suffix for vcs operations 2026-01-21 17:53:52 +01:00
RhodeCode Admin
cafdf00501 fix(test): another attempt on flaky tests fixes
- cleanup DB calls for flaky tests
2026-01-21 09:10:52 +01:00
RhodeCode Admin
6e41408812 fix(tests): flacky tests fixes 2026-01-19 08:54:53 +01:00
RhodeCode Admin
67bc6a188a fix(tests): use the perm setter with cleanup 2026-01-19 08:44:26 +01:00
RhodeCode Admin
ed1e9accb8 fix(tests): fix flacky tests 2026-01-13 09:06:03 +01:00
RhodeCode Admin
273165dc92 tests: fix hg stream test 2025-12-30 09:57:03 +01:00
RhodeCode Admin
6f160d6556 fix(security): fixed xss in file diffs 2025-01-14 13:19:10 +01:00
RhodeCode Admin
166db21812 core: run ruff format 2025-01-13 17:47:37 +01:00
Serhii Ilin
279e84da82 fix(tests): added ability for test to get an up-to-date version mercurial. 2024-12-05 16:33:07 +02:00
RhodeCode Admin
d08633d220 fix(encoding for file): fixed support of non utf-8 files in all backends 2024-11-27 19:35:02 +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
06b3778ab4 fix(tests): fixed svn tests cases when interactive prompt was displayed 2024-07-17 21:10:12 +02:00
RhodeCode Admin
26d18ef0fe fix(svn): svn events fixes and change the way how we handle the events 2024-06-04 17:20:16 +02:00
RhodeCode Admin
417852037f fix(tests): fixed tests for vcs-operations 2024-02-08 17:07:44 +01:00
RhodeCode Admin
76441ed70b feature(caches): refactor how invalidationContext works, fixes many issues with the previousl solution
- much more simpler now
- no more key leak
2024-02-08 10:52:32 +01:00
RhodeCode Admin
8235aaf181 tests: fix import 2023-08-28 10:56:36 +02:00
RhodeCode Admin
2f6649d083 tests: fix httpbin port, within a container we use internal docker network so port is not exposed, we should call httpbin directly 2023-08-28 10:07:10 +02:00
RhodeCode Admin
8a427f4a24 cleanup: few fixes 2023-07-27 17:07:36 +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
37451db5b4 tests: write proper bytes for test ini 2023-03-27 21:39:33 +02:00
RhodeCode Admin
0122133e4e python3: fixed usage of .next() and .func_name 2023-03-07 09:56:40 +01:00
RhodeCode Admin
dc6b8b6677 python3: remove usage of subprocess32 2023-03-06 23:29:12 +01:00
RhodeCode Admin
2d75c988c1 testing: added webhook tests and fixed tags adding 2023-02-01 12:06:16 +01:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Kuzminski
8e01135d04 Authentication: cache plugins for auth and their settings in the auth_registry.
- Before that change on each requests 4x we loaded plugins for authentication, this hit
many caches, db invalidation context and loaded the plugins logic each time. This was a heavy performance hit
for SVN and other backends as they needed to load that plugins many many times
- Since Authentication plugins almost never change, we'll not store the plugins listed for authentication into
the authnregistry for each process
- For AuthPlugins settings we now also flush plugins settings, and authnregistry cached plugins
2020-01-23 12:41:51 +01:00
Marcin Kuzminski
5e1dcce38f tests: fixed some warnings on tests 2019-10-23 14:57:44 +02:00
Marcin Kuzminski
3876870e28 tests: stabilize tests for mysql/postgres. 2019-10-08 17:06:35 +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
51fb86379c tests: fixed author for commit messages to be in a proper format. 2019-07-11 20:22:45 +02:00
Marcin Kuzminski
f08743ff88 tests: further test fixes 2019-07-01 23:33:26 +02:00
Marcin Kuzminski
7b4415eaf1 tests: fixed stream tests 2019-03-05 19:22:45 +01:00
Daniel Dourvaris
50b4956860 tests: protocol ops, added --pull and --pull --stream clone tests 2019-02-28 12:45:48 +01:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
48d67fee3a vcs: handle excessive slashes in from of the repo name path, fixes #5522 2018-12-23 20:37:05 +01:00
Marcin Kuzminski
2910f510dc repositories: added option to archive repositories instead of deleting them.
- closes #5493
2018-09-25 17:28:11 +02:00
Marcin Kuzminski
9033601562 logging: use lazy parameter evaluation in log calls. 2018-09-13 17:41:35 +02:00
Marcin Kuzminski
d3afc86451 branch-permissions: handle vcs operations and branch permissions.
- use new exceptions for branch permissions
- detect if we need to check permissions
- calculate super-admin the same way as regular users for override capabilities
- added new tests for branch permissions
2018-08-29 20:22:43 +02:00
Marcin Kuzminski
f1497f5afd caches: new cache context managers.
- deprecate beaker cache completly
- use new cache decorators from dogpile
- use a proper per cache key invalidation
2018-08-02 18:04:52 +02:00
Marcin Kuzminski
5b6f79f166 tests: use post for testing webhook at httpbin.org. With recent changes
the previous wasn't stable and relaible.
2018-07-03 11:07:45 +02:00
Marcin Kuzminski
a21841488c tests: use more random ports created at start of rc-web server to stabilize the tests. 2018-02-20 14:57:23 +01:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
7a77df4abf tests: increase timeouts for better test stability 2017-12-19 13:39:51 +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
6ba1fb962c tests: move vcs_operations into its own module. 2017-12-18 18:24:06 +01:00