Commit graph

4846 commits

Author SHA1 Message Date
RhodeCode Admin
b19bdaa108 hooks: fix logging info on callback daemon 2023-01-20 11:54:27 +01:00
RhodeCode Admin
72d370c14e cache-keys: fix inifinite look of using atexit with signals.
This prevented a grafecull shutdown of gunicorn workers.
2023-01-18 22:11:31 +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
ca160683bf ops: make ping view return orderedDict, and make the platform-id expose variables 2023-01-16 12:42:31 +01:00
RhodeCode Admin
a664610f98 caches: log properly how we cleanup cache keys 2023-01-16 12:42:02 +01:00
RhodeCode Admin
b2ee30b85a caches: make a set copy to edit it during operation 2023-01-15 21:23:20 +01:00
RhodeCode Admin
c07d61211b caches: pass synchronize session to cleanup cache_keys to fix some errors 2023-01-15 10:01:07 +01:00
RhodeCode Admin
d8be76e7ab cache_keys: fix prefix deletion 2023-01-14 20:16:58 +01:00
RhodeCode Admin
fbadb2be0b caches: don't clear all cache keys on exit as we lost state for not-recycled workers 2023-01-13 21:44:59 +01:00
RhodeCode Admin
3535beb1a7 caches: use a better logic to clear cache keys 2023-01-13 07:43:17 +01:00
RhodeCode Admin
463905a689 logging: expose logs when not mapped repo is found 2023-01-12 21:50:56 +01:00
RhodeCode Admin
7908e6921a routing: improve bad character detection on repo names 2023-01-12 21:24:59 +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
9aad6f687e routing: detect invalid repo/group names before we hit DB checks to prevent some errors for bad repo names 2023-01-11 22:47:29 +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
1c3b7de2fc diffs: add button to browse files at current commit 2023-01-11 14:33:04 +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
2abe485d6c tests: switch default log-level to critical to not spam during tests. 2023-01-10 09:55:52 +01:00
RhodeCode Admin
82894a87fa caches: fixed auth plugin usage of cached settings.
Don't use in-class cache as it breaks invalidation
2023-01-10 09:22:41 +01:00
RhodeCode Admin
1fe7f6f15d settings: fixed some issuetracker settings tests 2023-01-09 16:06:41 +01:00
RhodeCode Admin
f18966f6ea settings: don't use explicitly statsd because it's optional 2023-01-09 11:14:48 +01:00
RhodeCode Admin
119c3c406b caches: remove settings cache to use invalidation context as it's slowing down much usage 2023-01-05 09:51:28 +01:00
RhodeCode Admin
95bdb4e1c3 ini: cleanups + added generic cache definition 2023-01-05 09:50:14 +01:00
RhodeCode Admin
2fb5b22ffd statsd: fixed timed logic 2023-01-05 09:46:49 +01:00
RhodeCode Admin
2672be414c db: added index to cache_args column for feaster lookup on cache invalidation 2023-01-05 09:46:07 +01:00
RhodeCode Admin
cac94b39e5 configs: fixed IP extraction in gunicorn 2022-12-21 14:55:03 +01:00
RhodeCode Admin
02cdf6fd78 caches: added path check to cached methods for faster git repo checks 2022-12-19 15:20:57 +01:00
RhodeCode Admin
7a4e0005a5 config: updated changes to config files 2022-12-19 15:20:13 +01:00
RhodeCode Admin
577bf534e9 env: small fixes to sync with vcsserver settings maker 2022-12-12 22:34:15 +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
c3bd2e4093 logging: fixed typo 2022-12-12 22:03:47 +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
ab6095b38c config: move env expansion to common code for EE usage 2022-11-20 07:25:54 +01:00
RhodeCode Admin
bfaa4b9416 pull-requests: Add possibility to include pull request description into merge commit message 2022-11-04 12:03:49 +01:00
RhodeCode Admin
5d103475d6 metrics: expose response code to logs 2022-11-03 09:40:25 +01:00
RhodeCode Admin
062734947d configs: added changed require to track logging with loki or logstash 2022-10-28 13:08:19 +02:00
RhodeCode Admin
8a95bb9eb4 logging: changed module in logs extra as it is a reserved keyword 2022-10-27 22:54:02 +02:00
RhodeCode Admin
446b48dea6 celery: fixed error when celery was disabled 2022-10-27 22:51:48 +02:00
RhodeCode Admin
faa449987b logging: expose extra metadata to various important logs for loki 2022-10-27 22:49:17 +02:00
RhodeCode Admin
d04fb901d3 caches: updated cache sanitizer to remove any non-ascii chars 2022-10-27 15:32:21 +02:00
RhodeCode Admin
cff104fdd7 statsd: added option to use timer without auto-sending data 2022-10-27 15:31:50 +02:00
RhodeCode Admin
877b1f16b8 metrics: remove bootstrap timing, as its not usefull at all.
Counter resets on each start we don't get any good metrics out of that
2022-10-27 15:31:18 +02:00
RhodeCode Admin
85f6a432fb caches: fixed unicode mismatch with types 2022-10-26 11:17:53 +02:00
RhodeCode Admin
5cfea23393 exceptions: store exception about failed exc email sending 2022-10-26 11:13:39 +02:00
RhodeCode Admin
241c6c738b metrics: reduce cardinality on view names 2022-10-26 11:03:10 +02:00
RhodeCode Admin
298c38a0c3 caches: fixed unicode errors on non-ascii cache keys 2022-10-26 10:38:13 +02:00
RhodeCode Admin
fb9e5e1720 metrics: expose exc_type in consistent format 2022-10-26 10:17:24 +02:00
RhodeCode Admin
275f31e397 metrics: fixed celery task names, fixed hiistogram type metrics, client small fixes 2022-10-25 21:35:08 +02:00
RhodeCode Admin
059911817e metrics: use non decimal version for timer.
- added bucket registry
- some small fixes
2022-10-25 16:39:23 +02:00
RhodeCode Admin
e9cba7b782 metrics: fixed exc type metrics 2022-10-25 13:59:47 +02:00