Commit graph

4904 commits

Author SHA1 Message Date
RhodeCode Admin
5a6f7608d6 merge with default 2023-03-06 12:58:49 +01:00
RhodeCode Admin
064168c52f makefile: remove nix stuff, added self-document version 2023-03-06 12:55:11 +01:00
RhodeCode Admin
377ad853c5 hooks: support v2 hooks protocol using binary msgpack 2023-03-05 18:47:43 +01:00
RhodeCode Admin
35791c850a paginator: report better expcetions 2023-03-05 18:47:26 +01:00
Marcin Kuzminski
a55db736a0 deps: pinn mistune for venv use 2023-04-05 10:15:59 +02:00
RhodeCode Admin
ce14e894d4 deps: synced urllib3 and rhodecode-tools re-release to address dependency conflicts 2023-02-21 15:22:22 +01:00
RhodeCode Admin
cab9da96fb setup: synced with rhodecode tools with better compatability on pip versions 2023-02-21 12:56:46 +01:00
RhodeCode Admin
4b976f70aa build: updated rhodecode-tools requirement
- cleanup of patches/deps
2023-02-21 12:41:26 +01:00
RhodeCode Admin
3ffdb509a6 deps: bumped rhodecode-tools 2023-02-21 11:01:30 +01:00
RhodeCode Admin
720c82426c dependencies: replaced deprecated mysql-python for mysqlclient which is a maintained lib 2023-02-19 21:11:17 +01:00
RhodeCode Admin
971b015bdf config: reduced gunicorn backlog default to handle less connections per worker 2023-02-09 11:00:33 +01:00
RhodeCode Admin
f051e2a56e statsd: better task execution reporting on celery 2023-02-08 21:39:12 +01:00
RhodeCode Admin
f8543e9441 celery: always count tasks even if they fail 2023-02-08 14:01:03 +01:00
RhodeCode Admin
bc9d34cbec config: reduce max-task-per-child to 20 2023-02-08 12:20:01 +01:00
RhodeCode Admin
a831986529 celery: fixed bootstrap of beat workers 2023-02-07 11:13:08 +01:00
RhodeCode Admin
84412730da vcs: added headers into stream call too 2023-02-03 10:35:08 +01:00
RhodeCode Admin
455020bf4a vcs-client: report more data about the call for better request tracking 2023-02-02 23:47:08 +01:00
RhodeCode Admin
7a2bd60f22 statsd: use safe mode and disable statsd if we can't connect 2023-02-02 10:01:32 +01:00
RhodeCode Admin
159c758565 auth-plugins: remove the in-object cache that cauused invalidation failures.
We use now proper dogepile cache which gets purged on settings change.
2023-02-02 09:42:19 +01:00
RhodeCode Admin
83e86c7943 small naming fixes 2023-02-02 09:41:40 +01:00
RhodeCode Admin
753c195eaf utils: by default use OS implemented pick port which is WAAAY faster, leave fallback if we need specific range. 2023-02-01 21:49:53 +01:00
RhodeCode Admin
13a872fd35 utils: catch error: [Errno 98] Address already in use errors 2023-02-01 21:35:47 +01:00
RhodeCode Admin
8be47ab771 celery: allow JSON task data to be sent 2023-02-01 13:58:28 +01:00
RhodeCode Admin
f881540968 celery: bumped to 4.4.7 and fixed loader logic/logging 2023-02-01 13:33:15 +01:00
RhodeCode Admin
2d75c988c1 testing: added webhook tests and fixed tags adding 2023-02-01 12:06:16 +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
49ad8de0a4 bootstrap-request: inject fake user so ishell and other can actually execute tasks or some other web-related calls 2023-01-31 22:04:26 +01:00
RhodeCode Admin
5c25db9c0c celery: fail with exception if bootstrap is failed 2023-01-31 21:57:02 +01:00
RhodeCode Admin
61a728836a celery: don't allow subtasks within tasks 2023-01-31 21:46:38 +01:00
RhodeCode Admin
8c54271b59 hooks: fixed tests 2023-02-01 13:29:39 +01:00
RhodeCode Admin
f4336fe56e requests: cleaned / unified way of handling requests generation from non-web scope.
- cli
- celery workers
2023-01-31 20:31:36 +01:00
RhodeCode Admin
5b6732fae5 code: small fixes/whitespace/logging 2023-01-31 15:00:19 +01:00
RhodeCode Admin
82c7d91c36 debug: logging fix with reduced redundant info 2023-01-31 11:32:19 +01:00
RhodeCode Admin
4301d10342 debug: add example of calling context 2023-01-31 11:22:30 +01:00
RhodeCode Admin
67b6d065b8 repos: only flush permissions for owner on creation. The repo creation task flushes ALL and can be done async 2023-01-31 11:22:10 +01:00
RhodeCode Admin
a672643796 celery: improve errors handling and logging 2023-01-31 10:07:10 +01:00
RhodeCode Admin
07bf79ea48 tasks: improve logging on failed tasks 2023-01-31 09:26:54 +01:00
RhodeCode Admin
01c3bcde81 pick_port: unified code for testing/hooks 2023-01-31 08:55:12 +01:00
RhodeCode Admin
9665def3bd error-reporting: fix setting call_context on dummy-request available in sentry 2023-01-31 08:54:26 +01:00
RhodeCode Admin
7b4a8e1ac5 tests: make port picker more robust for tests 2023-01-30 21:35:26 +01:00
RhodeCode Admin
3af19c39da tests: fixed random fail of flacky test 2023-01-30 15:24:14 +01:00
RhodeCode Admin
1b54ca50f7 audit-logs: improve user-agent normalizer, and added tests 2023-01-23 10:46:20 +01:00
RhodeCode Admin
f7e8f47972 logging: set logging autoconfigure default to False so it's not a breaking change 2023-01-23 10:45:56 +01:00
RhodeCode Admin
8c02834af4 hooks: reserver only high-ports to limit possibility of hitting port from rhodecode stack 2023-01-21 21:30:32 +01:00
RhodeCode Admin
16ca79921f hooks: allow to bind to existing hostname automatically if nothing explicitly is set. 2023-01-21 14:47:59 +01:00
RhodeCode Admin
c691bf8c9a statsd/audit-logs: cleanup push/pull user agent code.
- add normalization
- add user-agent tag into statsd call so we can track protocol/vcs type usage
- internal merge also sends in repo type
2023-01-21 14:38:37 +01:00
RhodeCode Admin
59792e6457 premailer: replace logger instead of altering handlers.
Initial logger posted to stderr poluting output and tests
2023-01-21 14:34:46 +01:00
RhodeCode Admin
f56bc796ad hooks: simplified code 2023-01-20 13:19:04 +01:00
RhodeCode Admin
74efadbc57 hooks: generate bind port before init of TcpServer for better logging. 2023-01-20 12:44:26 +01:00
RhodeCode Admin
b19bdaa108 hooks: fix logging info on callback daemon 2023-01-20 11:54:27 +01:00