Commit Graph

49 Commits

Author SHA1 Message Date
Frédéric Péters b48214feac misc: do not decorate uploaded HTML files (#87331)
gitea/wcs/pipeline/head This commit looks good Details
2024-03-01 11:13:13 +01:00
Frédéric Péters 3ff59c706e general: finish removal of support for non-utf8 charset (#85626) 2024-01-15 11:46:52 +01:00
Frédéric Péters d98da9a802 misc: adapt popups with no form to work with gadjo dialog (#84831) 2023-12-19 09:46:47 +01:00
Frédéric Péters 52250e9289 misc: add afterjob processing to native django views (#76909) 2023-10-27 08:34:53 +02:00
Frédéric Péters 48eed50888 misc: make sure there's no leftover skeleton url on missing tenant (#73795) 2023-01-27 09:19:13 +01:00
Benjamin Dauvergne 77ac56cf2f compat: honor DEBUG_PROPAGATE_EXCEPTIONS in Django compatibility views (#73489) 2023-01-18 22:39:38 +01:00
Benjamin Dauvergne 2fcdde657a misc: let django generate set-cookies headers (#72613)
Django's HttpResponse cannot hold more than one value for an HTTP
headers, so if multiple Set-Cookie are produced by a Quixote
HttpResponse the first set-cookie headers will be overwritten by the
last one.
2022-12-27 09:43:32 +01:00
Frédéric Péters 58e26caff2 misc: call start_request for pure django views (#71478) 2022-11-21 10:53:29 +01:00
Frédéric Péters 2d71198352 general: remove legacy theming code (#70128) 2022-10-14 11:09:40 +02:00
Valentin Deniaud 0635869a0c misc: allow new request.headers usage (#69809) 2022-10-04 11:21:59 +02:00
Nicolas Roche b761fbf134 misc: send frontoffice exceptions to sentry too (#67834) 2022-08-30 15:27:45 +02:00
Frédéric Péters 41e7cb53b7 misc: make request.user ok to use in templates (#64493) 2022-04-29 08:28:50 +02:00
Frédéric Péters 327e405528 backoffice: use a template to render error pages in backoffice (#63750) 2022-04-19 15:33:03 +02:00
Frédéric Péters 1c93862e60 misc: add export/import API (#60698) 2022-02-14 19:17:17 +01:00
Frédéric Péters 33125abda7 api: fix handling of query string and errors in provision API (#57361) 2021-09-29 09:40:45 +02:00
Lauréline Guérin 1cc3c9ec31
misc: fix pylint errors with 2.10.2 version (#56489)
gitea-wip/wcs/pipeline/head Build started... Details
2021-09-02 09:44:54 +02:00
Frédéric Péters d6816b90ad general: save session at the very end (#47154)
It's necessary for native django responses as rendering will not go
through CompatWcsPublisher.
2021-05-05 13:29:36 +02:00
Frédéric Péters 08f1431a66 trivial: apply new isort configuration (#52504) 2021-03-30 13:42:22 +02:00
Lauréline Guérin a7b8150b26
misc: pylint fix ungrouped-imports (#52222) 2021-03-29 10:28:31 +02:00
Lauréline Guérin 6893e0dd80
misc: pylint fix super-with-arguments (#52222) 2021-03-29 10:28:29 +02:00
Lauréline Guérin 48470c50c0
misc: apply isort (#52224) 2021-03-19 18:00:18 +01:00
Frédéric Péters 4ebe82ef21 trivial: apply black 2021-02-04 10:37:40 +01:00
Lauréline Guérin 7b9ec14452
misc: send exception to sentry on views (#43116) 2020-07-11 14:16:20 +02:00
Frédéric Péters e7463c49ad misc: update to new style middlewares (with compat layer) (#41236) 2020-04-02 20:09:02 +02:00
Frédéric Péters ca91df122a general: remove six.PY[23] usage (#40006) 2020-02-19 12:18:12 +01:00
Frédéric Péters 40e5f9dd4c misc: remove unused import lines 2020-01-24 08:59:59 +01:00
Frédéric Péters d81959f81f trivial: insure two blank lines before top functions and classes 2020-01-18 20:33:44 +01:00
Frédéric Péters 8cf415e664 misc: add force_str(), to encode in Python 2 (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters fddc1e70a7 request: only preprocess form fields in py2 (#36515) 2019-11-20 09:17:18 +01:00
Frédéric Péters 2381d57f16 misc: get META via request.environ (do not override property) (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters bd44241b93 misc: access django POST using original unicode keys() (#36893) 2019-10-15 10:28:32 +02:00
Frédéric Péters 281b020996 backoffice: add checkboxes to run global actions on many items at once (#7865) 2019-09-18 15:48:00 +02:00
Frédéric Péters db0e1d1260 python3: import modules from six compatibility locations (#30996) 2019-03-04 12:44:32 +01:00
Frédéric Péters bc8f5f1c66 python3: use newer syntax for exceptions (#30996) 2019-03-04 12:44:32 +01:00
Frédéric Péters 6df1af66e9 general: adjust media support in all widgets (#25113) 2018-07-06 13:38:08 +02:00
Frédéric Péters 6aebe1a458 general: always use a django template to render pages (#25057) 2018-07-05 16:05:29 +02:00
Frédéric Péters e3fa75cadc misc: encode field keys into bytes (#22299) 2018-03-06 12:56:08 +01:00
Frédéric Péters 2d9e26ccf3 misc: update context usage for django 1.11 (#20936) 2018-01-02 15:56:47 +01:00
Frédéric Péters cccecb7f12 misc: don't propagate Connection HTTP header (#20916) 2018-01-02 14:31:20 +01:00
Frédéric Péters f1d2f0753e misc: add way to get quixote request from django request (#18064) 2017-09-04 17:31:50 +02:00
Frédéric Péters e00fd7917e misc: pass django request object to RequestContext constructors (#18422) 2017-09-04 17:31:50 +02:00
Frédéric Péters ef372cc5a2 misc: always encode PATH_INFO (#18219) 2017-09-03 15:28:57 +02:00
Frédéric Péters 016bfc78e9 general: move publisher pre-redirects to middleware (#18035) 2017-08-18 10:25:51 +02:00
Frédéric Péters 4374f576f9 misc: do not crash on unknown theme directory 2017-08-16 14:45:58 +02:00
Frédéric Péters b595a2d22e general: use real gadjo for backoffice templates (#6735) 2017-08-12 15:13:58 +02:00
Frédéric Péters 263edfbf2a add support for after jobs (running them in threads) (#6735) 2017-08-12 15:13:57 +02:00
Frédéric Péters 079ccafc75 monkeypatch quixote with thread-aware functions (#6735) 2017-08-12 15:13:57 +02:00
Frédéric Péters 01b280aa2c integrate with django templates (#6735) 2017-08-12 15:13:57 +02:00
Frédéric Péters 0482cdcd7d switch to django request/response handling (#6735) 2017-08-12 15:13:57 +02:00