Commit graph

239 commits

Author SHA1 Message Date
RhodeCode Admin
90a1d3ca75 feat(artifacts): new artifact storage engines allowing an s3 based uploads 2024-08-28 23:56:59 +02:00
RhodeCode Admin
81595dcae2 fix(mailing): patch repozesendmail to properly use CRLF for newlines. Fixes RFC5322 Issues with mailing 2024-08-28 13:29:10 +02:00
RhodeCode Admin
8f1e706ad8 chore(cleanups): cleanup unicode usage... 2024-06-23 21:48:10 +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
RhodeCode Admin
8de3597958 fix(api.url): set default api.url and re-use defaults in ssh wrappers 2024-02-27 09:50:56 +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
719ae001e0 feat(upgrade): added feature to bulk upgrade hooks from 4.X -> 5.X fixes RCCE-34 2024-01-29 12:15:15 +01:00
Serhii Ilin
15bf624134 fix(test): fixed test and pull api endpoint. Fixes: RCCE-29 2024-01-11 18:05:51 +02:00
Serhii Ilin
840ea1daef fix(LFS): fixed pull_changes method to support a new (sync_large_objects) flag, updated all parts that will use a new flag. Fixes: RCCE-8 2024-01-08 14:22:04 +02:00
RhodeCode Admin
8a480af3c1 fix(tests): fixed the creation of non-linear commits creation in tests
- This addresses and makes a fix for #5706
2023-11-23 09:41:19 +01:00
RhodeCode Admin
00bce73f62 code: import fix/pep8 2023-10-09 12:45:35 +02:00
RhodeCode Admin
6e5314f631 tests: refactor code to use a single test url generator 2023-10-04 19:36:19 +02:00
RhodeCode Admin
3424f9c3fc exc-tracking: fixed API calls with new exceptions store engine 2023-08-25 12:50:30 +02:00
RhodeCode Admin
8ae0e8de44 caches: make sure the global cache namespace prefixes are used.
- fixes problems when porting from old RC to new python3 based and different serialization mech
2023-07-26 16:15:52 +02:00
RhodeCode Admin
257c91a1ad exceptions: skip extracting exception by deprecated .message attribute 2023-07-26 10:17:55 +02:00
RhodeCode Admin
b4c874e244 cleanups: typing + whitespaces 2023-07-20 10:33:37 +02:00
RhodeCode Admin
4bbb30fa06 modernize: updates for python3 2023-07-18 14:45:20 +02:00
RhodeCode Admin
230f12827e api: modernize code for python3 2023-07-18 14:16:28 +02:00
RhodeCode Admin
3c7a0fe047 lint: ruff run 2023-07-18 13:46:39 +02:00
RhodeCode Admin
42301154fc copyrights: updated for 2023 2023-07-18 11:57:27 +02:00
RhodeCode Admin
e564ec9b32 api: make all tests for API pass 2023-07-18 09:45:22 +02:00
RhodeCode Admin
458caff188 api: code fixes / cleanups for python3 2023-07-18 09:45:03 +02:00
RhodeCode Admin
555d39bde6 api: replaced formatting with fstrings 2023-05-11 11:59:23 +02:00
RhodeCode Admin
047254866b api: fixes and changes to always return content type in API
- few tweeks here and there
2023-03-28 10:21:23 +02:00
RhodeCode Admin
e1d1da53b9 pytest: restructure fixtures/plugins to fix problems with pkg_resources and Can't perform this operation for unregistered loader type errors.
- seems the latest pytest breaks older packages relying on pkg_resources when defining a entrypoints plugins
- change the way we register plugins to be local only, this is what we need anyway
2023-03-21 12:24:16 +01:00
RhodeCode Admin
34af9cfa2f python3: fixed various code issues
- iterators
- use of u''
2023-03-20 20:51:25 +01:00
RhodeCode Admin
94a50edf39 python3: fix usage of int/long 2023-03-07 09:54:36 +01:00
RhodeCode Admin
dbf975898e py3: remove use of pyramid.compat 2023-03-06 15:52:51 +01:00
RhodeCode Admin
8f6692847b python3: removed use of xrang 2023-03-06 14:57:53 +01:00
RhodeCode Admin
d300144665 repos: cleannup and fix landing-ref code.
with latest git update this exposed a bug when we allowed to set references like tip for git repos
now the defaults are loaded from a single place controlled by default branch for git.

Repos without master are now working just fine with new git and new logic.
2023-01-18 22:10:40 +01:00
RhodeCode Admin
fb9e5e1720 metrics: expose exc_type in consistent format 2022-10-26 10:17:24 +02:00
RhodeCode Admin
e9cba7b782 metrics: fixed exc type metrics 2022-10-25 13:59:47 +02:00
RhodeCode Admin
bc8d59f1a7 metrics: use prom metrics, and added some additional metrics 2022-10-25 13:08:47 +02:00
RhodeCode Admin
50ffbba0d9 metrics: expose more metrics via statsd
- expections
- celery tasks with statuses
2022-10-25 09:44:44 +02:00
RhodeCode Admin
9f13849af9 api: added proper full permission flush on API calls when creating repos and repo groups.
- This allows a full flush and multiple calls made via API
2021-05-24 23:47:29 +02:00
Milka Kuzminski
219a05baa4 permissions: use constant for fork enable/disable 2021-03-24 16:52:47 +01:00
Milka Kuzminski
eb5ec20934 application: not use config.scan(), and replace all @add_view decorator into a explicit add_view call for faster app start. 2020-12-08 17:04:39 +01:00
Marcin Kuzminski
1bfda61f13 api: fixed SVN raw diff export. The API method was incosistent, and used different logic.
Now it shares the same code as raw-diff from web-ui
2020-10-15 09:21:49 +02:00
Marcin Kuzminski
c3f059ebc6 observers: code cleanups and fixed tests. 2020-10-11 22:16:08 +02:00
Marcin Kuzminski
508c8ba158 reviewers: optimize diff data, and creation of PR with advanced default reviewers 2020-10-08 12:01:18 +02:00
Marcin Kuzminski
9692332a7b channelstream: cleanup, and re-organize code for posting comments/pr updated messages.
- now shares new common code
- fixed cases for both views and API in consistent way
2020-10-06 11:54:29 +02:00
Marcin Kuzminski
80da773011 reviewers: added observers as another way to define reviewers.
- fixes #4183
2020-10-06 08:49:13 +02:00
Marcin Kuzminski
7e4cac8421 repo-api: allow repo admins to get/set settings. Previously it was only super-admins that could do that, and it's wrong. 2020-08-13 11:11:24 +02:00
Marcin Kuzminski
74e96ea4b4 comments: added new events for comment editing to handle them in integrations. 2020-07-13 11:18:28 +02:00
Marcin Kuzminski
9cadf302eb api: added get_comment method, and return versions for comments to allow simple edits via API. 2020-07-10 11:49:52 +02:00
Bartłomiej Wołyńczyk
6ddfbb0ddd api: added edit comment api 2020-06-28 23:37:16 +02:00
Daniel Dourvaris
5d5bf456a6 permissions: allow users to update settings for repository groups they still own, or have admin perms, when they don't change their name.
- this before gave no-permission errors as the parent group access was checked
- since the group parent permission should be checked at creation, or name change this commit fixes such case
2020-07-02 11:39:35 +02:00
Marcin Lulek
720ed431ee api: expose audit-logs API 2020-05-21 10:15:43 +02:00
Marcin Kuzminski
293a3535ae pull-requests: fix way how pull-request calculates common ancestors.
- fixes #5561
- added new preview for size (commits/files) of PRs before opening, this is now based on the special logic that calculates common ancestor and has access to preview diff
- store common ancestor in DB so updates of pull-requests are consistent
2020-05-08 08:43:51 +02:00
Marcin Kuzminski
40d5038ad3 tests: fixed problem with non-ascii errors 2020-05-13 15:52:46 +02:00