Commit Graph

6244 Commits

Author SHA1 Message Date
Frédéric Péters 1c93f5325b backoffice: fix filtering on backoffice item/s fields (#38627) 2019-12-18 16:17:04 +01:00
Frédéric Péters 81457aca77 sql: use force_str() on filtered options (#38624) 2019-12-18 16:01:04 +01:00
Frédéric Péters 2d96602aeb categories: do not create duplicate slugs (#38612) 2019-12-18 09:58:58 +01:00
Frédéric Péters 7955c2980a backoffice: use actual data for item(s) field filters (#35703) 2019-12-17 15:25:24 +01:00
Frédéric Péters ee4d46947a misc: use lazy mode for variables in template evaluations (#38332) 2019-12-11 15:00:35 +01:00
Frédéric Péters c9ba994312 misc: do not let internal roles grant access to backoffice (#38409) 2019-12-11 15:00:02 +01:00
Frédéric Péters fb0632d07f forms: consider form pages with only inert fields in validation pages (#37709) 2019-12-09 18:46:35 +01:00
Emmanuel Cazenave fa926506f8 jenkins: publish consolidated junit file (#38296) 2019-12-09 12:13:04 +01:00
Emmanuel Cazenave e80f55d694 ctl: preserve key length in py3 (#38240) 2019-12-09 09:48:01 +01:00
Frédéric Péters ecab37694f tests: try multiple times to get a database name 2019-12-06 13:23:35 +01:00
Frédéric Péters 483aa0e1d9 translation fix 2019-12-06 12:41:01 +01:00
Frédéric Péters c1925e9b32 cron: add random minutes offset to all jobs, at evaluation time (#38200)
SECRET_KEY is not available early enough in uwsgi context and the
behaviour doesn't need to be optional.
2019-12-04 15:19:59 +01:00
Frédéric Péters cf2a3bdef4 translation update 2019-12-04 14:08:46 +01:00
Frédéric Péters c10c8b76c7 backoffice: require a second explicit click to select all items (#38057) 2019-12-04 11:06:06 +01:00
Frédéric Péters 6a549fb053 misc: align jump checks with the "hourly" cron jobs (#38159) 2019-12-04 08:47:47 +01:00
Frédéric Péters d165872b4c trivial: import print_function for cron messages 2019-12-03 14:43:52 +01:00
Benjamin Dauvergne 74098a2608 sql: use UNION ALL for wcs_all_forms (#37868) 2019-12-03 14:37:32 +01:00
Benjamin Dauvergne 1b33a1de18 formdef: sort keys in export_to_json() (~ #37868) 2019-12-03 14:37:32 +01:00
Frédéric Péters 618e0c81a4 translation update 2019-12-02 13:38:54 +01:00
Frédéric Péters d68bda9740 misc: add note about quixote3/id removal (#38095) 2019-11-30 14:37:27 +01:00
Frédéric Péters 1678d3b6a2 form: don't let quixote3 assign a default id to widgets (#38095) 2019-11-30 14:36:06 +01:00
Frédéric Péters ce81160605 storage: keep non-utf8 strings as bytes (#38021)
(this is not supposed to exist)
2019-11-29 12:34:18 +01:00
Frédéric Péters f088bf40bc sql: add proper suffix to indexes (#33707) 2019-11-29 11:56:58 +01:00
Frédéric Péters 1358df73ea general: deal with py2/3 type conversion when unpickling (#38021) 2019-11-29 11:19:54 +01:00
Frédéric Péters 45a53e635a misc: don't interpolate site-options.cfg values (#37989) 2019-11-29 11:19:54 +01:00
Frédéric Péters bd9d18a7db misc: update threading monkeypatch for Python 3 (#37986) 2019-11-29 11:19:54 +01:00
Frédéric Péters bc194f23aa saml: pass strings to lasso (#37978) 2019-11-29 11:19:54 +01:00
Frédéric Péters 3547597d82 misc: force tracebacks to be ascii only in Python 2 (#37985) 2019-11-29 11:19:54 +01:00
Frédéric Péters 0463cadea1 misc: load config.pck as utf-8 (#37976) 2019-11-29 11:19:54 +01:00
Frédéric Péters 73088ea36e emails: check SMTP server response against bytes (#37971) 2019-11-29 11:19:54 +01:00
Frédéric Péters 2e31a5731f backoffice: don't include anonymised formdata in listings (#33707) 2019-11-29 11:19:54 +01:00
Frédéric Péters d0afa819bf sql: add indexes on receipt_time and anonymised columns (#33707) 2019-11-29 11:19:54 +01:00
Thomas NOËL 1fdb67feb4 workflows: add label attribute on backoffice fields action (#37620) 2019-11-29 10:59:33 +01:00
Frédéric Péters 2e44e1938b misc: add missing socket import (#37970) 2019-11-26 20:48:16 +01:00
Frédéric Péters 066824a03d ctl: accept non-string variables during hobo deploy (#37833) 2019-11-20 18:43:32 +01:00
Frédéric Péters 14c43d7fbc admin: encode graphviz svg (#37827) 2019-11-20 16:12:36 +01:00
Frédéric Péters e80be39d50 translation update 2019-11-20 14:08:12 +01:00
Frédéric Péters ac80c56af6 tox: add build dependencies (#36515) 2019-11-20 09:21:15 +01:00
Frédéric Péters 279abb7753 tox: run tests against python 3 (#36515) 2019-11-20 09:21:15 +01:00
Frédéric Péters de96b7d721 publisher: restore config.json from zip file as text (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 6b07387ad4 tests: get test_finish_interrupted_request responses content (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 3e78ff2e19 tests: make test_finish_failed_request work standalone (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters c142f43fca misc: use force_str to encode exception in error page (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters f6995de73a publisher: only handle non-encodable exception strings in python 2 (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 9c710ba2ea misc: don't enable form tokens in simulated form in test_display_form (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 1d2a1d869a formdef: add pre-json serialization of struct_time workflow options (#36515)
(python3 json serializer would otherwise catch them and serialize them
as tuples)
2019-11-20 09:17:20 +01:00
Frédéric Péters b2b2fa0bff tests: use PicklableUpload in test that requires copying structure (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters e2f3df0cc1 tests: don't check application/msword extension as it may vary (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 5dc016682f forms: mark invalid prefill value explicitely (#36515) 2019-11-20 09:17:20 +01:00
Frédéric Péters 2d9bebb49a tests: update check against json exception message (#36515) 2019-11-20 09:17:20 +01:00