Frédéric Péters
3cd48901e7
misc: attach a copy of environment to requests ( #24058 )
2018-05-24 17:52:51 +02:00
Frédéric Péters
832a34c032
misc: add dedicated methods for copy and deepcopy ( #24033 )
...
copy and deepcopy are recycling __getstate__ originally defined for
pickling objects; however we have a custom __getstate__ method for
formdefs because we want to save fields in a different pickle chunk.
But while removing fields in __getstate__ during pickling wouldn't
affect a "live" object, copy/deepcopy are supposed to create usable
objects, and a formdef with its fields attribute reduced to None
doesn't qualify.
Practically this could cause all sorts of malfunctions including a
not-so-subtle removal of all fields (if the copied formdef was stored
on disk).
2018-05-23 18:11:11 +02:00
Thomas NOËL
0f30572297
update french translations
2018-05-23 16:27:58 +02:00
Thomas NOËL
3ceab69928
wscall: show wscall error 'reason' in formdata history ( #24031 )
2018-05-23 15:59:18 +02:00
Frédéric Péters
04f6bc20bb
misc: create more SQL tables when switching from the UI ( #24014 )
2018-05-23 10:02:48 +02:00
Frédéric Péters
3d79ca4cbc
misc: restore backoffice drafts to the correct page ( #23942 )
2018-05-22 11:14:35 +02:00
Frédéric Péters
6d9d9fddb0
misc: use a copy of sources when temporarily feeding a new source ( #23935 )
2018-05-18 18:19:49 +02:00
Frédéric Péters
77473ca0d0
translation update
2018-05-18 15:53:37 +02:00
Frédéric Péters
31156f6ca1
sql: always rebuild security attributes of formdata in the same order ( #23918 )
2018-05-18 15:53:37 +02:00
Frédéric Péters
e7dac1590c
misc: use an afterjob to update formdatas when a workflow is changed ( #23918 )
2018-05-18 15:53:37 +02:00
Frédéric Péters
4dc3d6ea3a
misc: use an afterjob to update form digests ( #23919 )
2018-05-18 15:17:02 +02:00
Frédéric Péters
493bc0078d
backoffice: adjust sidebar to not be sticky on mobile ( #23911 )
2018-05-18 09:52:47 +02:00
Thomas NOËL
063e73b769
update french translations
2018-05-17 15:32:32 +02:00
Thomas NOËL
52ba7c30ac
do not jump after edit if target status is unknown ( #23882 )
2018-05-17 15:07:33 +02:00
Frédéric Péters
64bad2d27e
forms: use a template to render file fields ( #23281 )
2018-05-17 14:05:55 +02:00
Frédéric Péters
4b9fb90018
management: use SQL global view for formdata lookup on identifier ( #23517 )
2018-05-17 11:12:27 +02:00
Frédéric Péters
a2fab65a14
misc: save empty conditions as None ( #23855 )
2018-05-16 13:48:35 +02:00
Frédéric Péters
7b0b2a35e6
workflows: handle empty <condition> tags in exports ( #23855 )
2018-05-16 13:48:35 +02:00
Thomas NOËL
ce94b90179
do not add an evolution on static jump ( #22236 )
2018-05-16 13:47:30 +02:00
Frédéric Péters
771dec087b
misc: unify context processors into an extended one ( #23856 )
2018-05-16 11:43:37 +02:00
Thomas NOËL
c298493c4b
wscall: do not post form data by default ( #23111 )
2018-05-16 08:45:37 +02:00
Frédéric Péters
1588e17bf8
translation update
2018-05-15 16:37:43 +02:00
Frédéric Péters
a3758491b3
misc: do not crash on draft suddenly not available ( #23826 )
2018-05-15 16:11:53 +02:00
Frédéric Péters
95668f69e5
workflows: handle concerned/actions roles with conditions on actions ( #23839 )
...
When a workflow is changed security details of all related have to be
recomputed (rebuild_security). With the introduction of conditions on
actions this process now requires to have objects available in the
context for evaluating conditions.
2018-05-15 15:17:39 +02:00
Frédéric Péters
01e009142d
forms: add a method to check if a select has (non-disabled) options ( #23838 )
2018-05-15 13:03:09 +02:00
Thomas NOËL
33aed517ee
evaluates first page condition without breaking the others ( #23718 )
2018-05-14 19:45:07 +02:00
Frédéric Péters
c6cad6591f
general: add support for a stored digest value on formdatas ( #23511 )
2018-05-14 11:39:52 +02:00
Frédéric Péters
ece780dc15
backoffice: load user pending forms asynchronously ( #22105 )
2018-05-14 11:39:52 +02:00
Frédéric Péters
ef5f70791a
api: don't crash on dates in users API ( #23671 )
2018-05-14 11:39:52 +02:00
Thomas NOËL
97672e11b1
portfolio: use repr in log statements ( #23657 )
2018-05-09 10:45:37 +02:00
Thomas NOËL
277a858dc8
update french translations
2018-05-04 15:38:23 +02:00
Frédéric Péters
7c33254cc8
misc: adapt sidebar max width to gadjo change ( #23493 )
2018-05-02 18:44:47 +02:00
Frédéric Péters
5fefb61a9e
workflows: add conditions on all actions ( #16341 )
2018-05-02 15:29:54 +02:00
Frédéric Péters
46ef21e541
formdef: store fields in a different pickle chunk ( #23028 )
2018-05-02 12:32:47 +02:00
Frédéric Péters
a88ab2d0fb
misc: fix parameters passed to logging functions ( #23392 )
2018-04-25 10:32:01 +02:00
Frédéric Péters
6628b56429
forms: correctly restore date fields from drafts ( #23389 )
2018-04-25 10:32:01 +02:00
Frédéric Péters
9057a659b9
forms: correctly restore draft files on validation page ( #23386 )
2018-04-25 10:32:01 +02:00
Frédéric Péters
3499a2feab
forms: don't crash on files in drafts ( #23385 )
2018-04-25 09:56:41 +02:00
Frédéric Péters
0f36379afb
translation: mention end date is excluded ( #23126 )
2018-04-24 15:43:39 +02:00
Frédéric Péters
0d0d357a70
misc: add proper truncation to logged error ids ( #23329 )
2018-04-24 07:58:58 +02:00
Thomas NOËL
f8d9977b2f
add migrate_schemas command, alias to migrate ( #23337 )
2018-04-23 14:34:54 +02:00
Frédéric Péters
affe4cc5ac
tests: import make messages command
2018-04-22 17:18:41 +02:00
Frédéric Péters
66711f97c8
tests: add check for idp initiated logout
2018-04-22 11:13:21 +02:00
Frédéric Péters
342e82e5f0
tests: add basic test for rebuild_indexes control command
2018-04-22 11:13:21 +02:00
Frédéric Péters
955f1f7fdc
tests: add additional tests for edition of jump action
2018-04-22 11:13:21 +02:00
Frédéric Péters
38d9ff4f4b
tests: add check for timeout being an expression
2018-04-22 11:13:21 +02:00
Thomas NOËL
3961764ac9
sql: delay re-index operations on first cron ( #22383 )
2018-04-20 14:38:32 +02:00
Thomas NOËL
0b56cd640e
tests: use sql_mode publisher creation in test_sql
2018-04-20 14:38:25 +02:00
Thomas NOËL
f724295485
sql: make select a possible iterator ( #23305 )
2018-04-20 13:59:55 +02:00
Frédéric Péters
eb9d10524c
workflows: do not use after jobs when there's no http response ( #23239 )
2018-04-19 18:11:16 +02:00