Commit graph

30 commits

Author SHA1 Message Date
RhodeCode Admin
166db21812 core: run ruff format 2025-01-13 17:47:37 +01:00
RhodeCode Admin
82f0f8d214 core: updated copyright to 2024 2024-11-12 16:39:07 +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
92610d5645 tweens: removed utf8 marker 2023-07-18 09:45:45 +02:00
RhodeCode Admin
7fc6a0e0fd tweens: use explicit position of measuring tween 2023-05-11 11:54:54 +02:00
RhodeCode Admin
9c2ac7ec41 logging: improve handling tween logging name 2023-03-08 14:55:23 +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
274ad239e5 token-access: allow token in headers not only in GET/URL 2020-12-21 12:34:05 +01:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Kuzminski
631a663b62 request-wrapper: ensure we wrap WHOLE request not just logic after http detection. 2019-12-26 19:52:17 +01:00
Marcin Kuzminski
073b2bc899 tests: fixed some tests for files pages. 2019-07-01 13:15:37 +02:00
Marcin Kuzminski
a1b36af5a6 tweens: check url sanity before vcs detection tween. 2019-03-05 22:24:05 +01: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
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +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
7304e9b076 pyramid: moved extraction of user into a seperate subscriber. 2017-07-12 18:54:42 +02:00
Marcin Kuzminski
d969440caa core: use proper event to bootstrap pylons env.
- allows to skip this for VCS and API calls in more efficient way.
- fixes #5164
2017-01-12 21:47:02 +01:00
Marcin Kuzminski
526cdfd9b2 i18n: use consistent way of setting user language. 2017-01-12 17:05:06 +01:00
Marcin Kuzminski
64b98245ef code: added more logging, and some notes 2017-01-12 12:54:21 +01:00
Marcin Kuzminski
584bd214ae vcs: do an early detection of vcs-type request.
We we to know to detect vcs type request as early as possible. IF we know
we're handling an VCS request, we can skip some of the pylons stack initialization.

- This fixes issues with leaking sessions and other object from pylons into
a purely VCS type request.
2017-01-12 01:20:31 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Daniel Dourvaris
e6833d2fd8 db: move Session.remove to outer wsgi layer and also add it
to hooks daemon to avoid leaving connections open in the db pool
fixes #4173, refs #4166
2016-08-13 02:56:48 +03:00
Marcin Kuzminski
d61bb55cfb js-template-context: made the context pyramid and pylons compatible.
- the routing/controller are bigger problem we'll disable them for now.
2016-07-08 19:02:52 +02:00
Daniel Dourvaris
18573c588d cleanup: remove accidental additions 2016-06-08 15:45:30 +03:00
Daniel Dourvaris
fdcf88bd53 pyramid: make responses/exceptions from pyramid/pylons work 2016-06-08 15:21:58 +03:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00