Commit Graph

6376 Commits

Author SHA1 Message Date
Frédéric Péters 7733cd21b0 translation update 2020-02-19 15:02:42 +01:00
Frédéric Péters 113df1dad2 misc: don't check for session if there's no request (#40009) 2020-02-19 14:04:16 +01:00
Frédéric Péters 0bd57943eb forms: add option for locking prefilled fields (#39167) 2020-02-19 12:18:12 +01:00
Frédéric Péters b4e3b767c7 forms: add support for checkbox with inline label (#39167) 2020-02-19 12:18:12 +01: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 d82a02dfee cards: add support for map fields in csv import (#39991) 2020-02-19 12:04:51 +01:00
Frédéric Péters 22d551a833 backoffice: do not highlight csv import title (#39994) 2020-02-19 12:04:51 +01:00
Frédéric Péters d41844f65c backoffice: consider submission roles for csv import (#39992) 2020-02-19 12:04:51 +01:00
Frédéric Péters 35f7b286fa backoffice: ignore theme provided javascript (#39993) 2020-02-19 12:04:51 +01:00
Frédéric Péters c0d077bd1b translation update 2020-02-19 08:32:29 +01:00
Frédéric Péters ff24ff2b13 cards: test structured item fields (#39990) 2020-02-19 06:49:19 +01:00
Frédéric Péters 3d52cfb9ce cards: don't include presentation fields in CSV imports (#39989) 2020-02-19 06:49:19 +01:00
Frédéric Péters 3e3d292187 cards: add support for more field types (#39988) 2020-02-19 06:49:19 +01:00
Frédéric Péters 0044a5c10c misc: correctly display pre-py3 session messages (#39975) 2020-02-18 15:07:35 +01:00
Frédéric Péters deb15c7052 misc: don't reimport theme javascript libraries (#33449) 2020-02-18 09:59:57 +01:00
Frédéric Péters 09081c7f1f misc: set qommon/l10n as builtin templatetags in settings (#37275) 2020-02-18 09:58:44 +01:00
Frédéric Péters 1940f8dc7a workflows: don't display title/subtitle/etc. as required in inspect (#36420) 2020-02-18 08:23:03 +01:00
Benjamin Dauvergne 6a63b81928 formdata: do not modify __dict__ in __getstate__ (#38049)
It suppress the _formdef cache, which can break things with transient
formdata created from the FormData class instead of a FormDef.data_class().

Ideally transient FormData should be never copied as the copy is lacking
a _formdef attribute and _names is not initialised so
FormData.get_formdef() will never work.
2020-02-17 19:20:06 +01:00
Frédéric Péters 69aaf094d3 portfolio: add trailing slash to fargo file picking URL (#39955) 2020-02-17 16:59:08 +01:00
Frédéric Péters 6b4487ec2a translation update 2020-02-17 14:44:42 +01:00
Frédéric Péters b23c2a4c50 emails: add support for unicode local-parts (if server supports it) (#39934) 2020-02-17 14:40:16 +01:00
Frédéric Péters f9f95418a6 templates: pass full sentence to translation code (#39875) 2020-02-17 14:37:48 +01:00
Frédéric Péters 4224d484b0 templates: use same variable in plural variant (#39876) 2020-02-17 14:37:48 +01:00
Frédéric Péters 99526aadaa forms: quote filename in redirections (#39936) 2020-02-17 12:49:06 +01:00
Frédéric Péters 29a3372f7a forms: skip live workflow form processing if there's no (more) form (#39916) 2020-02-17 09:41:26 +01:00
Frédéric Péters 56d11799a1 portfolio: remove unused functions (#39921) 2020-02-17 09:41:26 +01:00
Frédéric Péters 5e796a2789 portfolio: don't use PicklableUpload internals (#39919) 2020-02-17 09:41:26 +01:00
Frédéric Péters fd2c689626 misc: use bytes in compatibility with older PicklableUpload (#39919) 2020-02-17 09:41:26 +01:00
Frédéric Péters 8f26e27ff6 api: add start/end filters on last update time (#39918) 2020-02-16 08:30:10 +01:00
Frédéric Péters 0a38132d66 remove obsolete map(None...) usage (#39914) 2020-02-15 01:38:01 +01:00
Frédéric Péters 3792591af2 password: make sure generated password use an integer length (#39885) 2020-02-14 14:06:01 +01:00
Frédéric Péters f5089e9788 translation update
(with hack around #39876)
2020-02-14 12:11:30 +01:00
Frédéric Péters ad26a851db sessions: expose hashed id as {{session_hash_id}} (#39784) 2020-02-14 11:59:58 +01:00
Frédéric Péters 86ce74fbfb saml2: remove requirement of an email attribute (#39738) 2020-02-14 11:59:58 +01:00
Frédéric Péters a556ca65b5 saml2: force role ids/names to be strings (#39856) 2020-02-14 11:58:39 +01:00
Thomas NOËL 004fd9a390 trigger_jumps: use open instead of file (#39864) 2020-02-14 11:08:32 +01:00
Frédéric Péters 93bc6fb13d request: set stdin for all but normal POST content types (#39855) 2020-02-14 11:05:38 +01:00
Frédéric Péters 0e3f6d9f99 portfolio: import urllib from six for compatibility (#39861) 2020-02-14 11:05:38 +01:00
Frédéric Péters 68f9fbec03 misc: also check path against quoted filename (#39854) 2020-02-14 10:05:06 +01:00
Serghei Mihai 5519f4887d cards: add import data from CSV (#39473) 2020-02-13 16:53:47 +01:00
Benjamin Dauvergne cf6d818b28 create_formdata: change default for draft option (#39638) 2020-02-12 12:00:56 +01:00
Frédéric Péters e0ff9aee52 api: allow passing user with no NameID to /submit (#39777) 2020-02-12 11:48:11 +01:00
Thomas NOËL c1ee9e77c3 backoffice: fix live url for cards submission (#39746) 2020-02-12 10:55:48 +01:00
Frédéric Péters 9ccf61e6c9 tests: remove custom --without-postgresql-tests test option (#39641)
pytest.config was deprecated in pytest 5 and it's not worth adapting all
tests.
2020-02-12 10:26:25 +01:00
Frédéric Péters 583d80ad06 misc: refuse 0 as listing limit (#39615) 2020-02-07 17:00:52 +01:00
Frédéric Péters 5491412e58 misc: use bytes to create QR code (#39649) 2020-02-07 16:31:42 +01:00
Frédéric Péters c96714276a workflows: don't advertise create formdata action by default (#39640) 2020-02-07 14:56:49 +01:00
Frédéric Péters a919877d4a translation update 2020-02-07 13:02:50 +01:00
Benjamin Dauvergne 7f421d1587 add new action create-formdata (#33186) 2020-02-07 11:46:49 +01:00
Benjamin Dauvergne 9bbe4b48bb formdata: ease iteration of evolutions parts (#33186) 2020-02-07 11:46:49 +01:00