Commit graph

67 commits

Author SHA1 Message Date
RhodeCode Admin
aef3cca3ea security: limit API impersonate feature to only super admins 2025-03-24 05:17:44 +01:00
Serhii Ilin
038709a7ac fix(auto-merge): fixed automatic PR merging f-ty. 2025-01-20 14:08:34 +02:00
RhodeCode Admin
166db21812 core: run ruff format 2025-01-13 17:47:37 +01:00
RhodeCode Admin
107b31a78f core: use consistent import for get_current_request 2024-12-10 07:36:38 +01:00
Andrii Verbytskyi
2433f3fbfc chore: disabled auto-merge feature until next bugfix release 2024-12-24 18:40:18 +01:00
Serhii Ilin
3e31d2a638 added delay before doing an auto merge 2024-11-21 16:43:38 +02:00
Serhii Ilin
460e4be5eb added latest changes 2024-11-20 14:12:26 +02:00
RhodeCode Admin
ef109d8f05 feat(remap and rescan): added more relient remap and removal option, and also split the logic to either add or cleanup 2024-11-13 13:39:21 +01:00
RhodeCode Admin
82f0f8d214 core: updated copyright to 2024 2024-11-12 16:39:07 +01:00
Serhii Ilin
38d5e39b57 feat(task-for-automatic-pr-merge): added f-ty to support pull request auto merge for EE. Fixes: RCCE-67 2024-10-28 12:35:44 +02:00
RhodeCode Admin
4bc763e2d0 fix(license-import): don't crash if license file is not present, and only run this code for EE 2024-10-04 12:54:37 +02:00
RhodeCode Admin
1a00627df3 feat(license): allow import of license from rhodecode_enterprise.license which got broken after python3 migration 2024-10-01 11:26:42 +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
17e93a0136 fix(pyroutes): fixed generated JS routes for EE 2024-01-09 13:11:01 +01:00
RhodeCode Admin
4bbb30fa06 modernize: updates for python3 2023-07-18 14:45:20 +02:00
RhodeCode Admin
42301154fc copyrights: updated for 2023 2023-07-18 11:57:27 +02:00
RhodeCode Admin
c59d44237d subscribers: optimized used of threadglobals and fix python3 compat 2023-07-18 11:04:35 +02:00
RhodeCode Admin
0c2d385eb8 web-app: environ should have any ints inside 2023-03-28 10:27:44 +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
80911c5892 python3: more 2to3 fixes 2023-03-06 23:49:19 +01:00
RhodeCode Admin
dc6b8b6677 python3: remove usage of subprocess32 2023-03-06 23:29:12 +01:00
RhodeCode Admin
137f5001fb celery: update how reqquest object is passed arround.
- fixed hooks callback to actually use web based request passed to thread
- rely on celery conf mechanism to pass in the request always in the same manner
2023-01-31 23:33:33 +01:00
RhodeCode Admin
28af9bcecf translations: moved methods from new request subscriber to actual methods of custom class.
- this enabled it to work with celery exceptions without any problems
- celery has no new request scope so those were undefined in celery
2023-01-12 15:57:46 +01:00
RhodeCode Admin
227f4040d2 debugging: expose logs/exception when debug log is enabled. 2022-10-03 12:03:41 +02: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
Milka Kuzminski
16c5d9453a subscribers: use shlex in the async-subscriber directly 2020-11-30 12:28:47 +01:00
Milka Kuzminski
f5bed7486e app: improve logging, and remove DB calls on app startup. 2020-11-10 09:55:47 +01:00
Marcin Kuzminski
e564aec523 hosting: added usage writers for hosting needs. 2020-08-11 12:41:54 +02:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Kuzminski
a73fb57d29 auth-token: expose fetched token in unified way into request attribute.
- This will allow re-using exposed access token for HTTP views in single place
- We will support also exposing tokens from url if special _auth_token will be used as url param
- We'll no longer require double logic for extraction of URL/HEADER auth-tokens and have a single place to extract it.
2019-10-22 19:58:56 +02:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
8d8e2802da core: use application wide detection of invalid bytes sent via URL/GET/POST data. 2018-10-24 12:29:11 +02:00
Marcin Kuzminski
2f4516d1ef core: handle bogus GET params so we don't crash on translate subscriber. 2018-10-22 23:02:38 +02:00
Marcin Kuzminski
ecff3dbaed security: update lastactivity when on audit logs.
- The previous update on each call was to expensive and created lot of DB locks in high traffic env
2018-07-31 22:52:44 +02:00
Marcin Kuzminski
ad4963f1d3 events: add event to catch permission changed so we can flush affected users permission caches 2018-07-09 13:01:42 +02:00
Marcin Kuzminski
74588e74e9 subscribers: make creation of routes.js safer.
If by accident this flag is set to true then
build rhodecode from nix wont start because of write failure.
2018-06-28 14:44:09 +02:00
Marcin Kuzminski
1bc95ca628 debug: add new custom logging to track unique requests across systems. 2018-06-15 19:34:39 +02:00
Marcin Kuzminski
b23a023093 meta: fix write condition. 2018-02-05 13:21:37 +01:00
Marcin Kuzminski
c12b41fff7 metadata: store workers and prevent to excesive metadata writes. 2018-01-22 11:30:32 +01:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +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
b505377197 users: ported controllers from pylons into pyramid views. 2017-09-20 22:29:34 +02:00
Marcin Kuzminski
ebc5609e99 pyramid: allows easier turning off the pylons components. 2017-07-13 10:57:57 +02:00
Marcin Kuzminski
0b2c148765 pyramid: stop relying on global mako url() function.
- use only the helpers method
2017-07-12 23:46:34 +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
7304e9b076 pyramid: moved extraction of user into a seperate subscriber. 2017-07-12 18:54:42 +02:00
Marcin Kuzminski
af56c8a8da routing: fixed pyramid routing generation.
- make sure we append slashes to JS generated routes.
2017-07-03 18:20:34 +02:00
Marcin Kuzminski
6680a287da core: improve attach context attribute to rely strictly on already provided user. 2017-06-05 19:22:27 +02:00