Commit Graph

5709 Commits

Author SHA1 Message Date
Frédéric Péters 10301475e4 sql: fix column name used for _structured field (#32430) 2019-04-18 07:49:19 +02:00
Paul Marillonnet 5a5f2eb71a workflows: do not crash on global action name duplicate (#20874) 2019-04-17 17:33:30 +02:00
Frédéric Péters e916dcf8d2 api: don't crash /api/forms when there are no formdefs (#32415) 2019-04-17 12:41:26 +02:00
Frédéric Péters dcb0b0fc58 misc: add site option to force lazy evaluation (#29951) 2019-04-16 15:09:00 +02:00
Frédéric Péters 653db00150 lazy: add support for __radd__ ("foo" + form_var_bla) (#29951) 2019-04-16 15:09:00 +02:00
Frédéric Péters a481797540 workflows: keep compatibility dict intact in display message action (#29951) 2019-04-16 15:08:55 +02:00
Benjamin Dauvergne 669140ab01 fields: accept Item(s)Field.items can be None (fixes #32363) 2019-04-16 10:58:59 +02:00
Frédéric Péters fb1e70e94d tests: don't use "aaa" as list item to avoid clash with statics hash 2019-04-16 10:07:00 +02:00
Thomas NOËL e3a4f92817 workflows: jump on trigger only once (#32326) 2019-04-16 09:32:28 +02:00
Frédéric Péters 9e9b5e1463 misc: give unique identifiers to backoffice fields (#17375) 2019-04-16 08:16:16 +02:00
Frédéric Péters 5ef21e4734 tests: adjust for new select2/placeholder support (#32222) 2019-04-15 14:14:03 +02:00
Benjamin Dauvergne 048024af93 api: store display/structured on submit of an item field with raw id (#32013) 2019-04-15 14:09:10 +02:00
Benjamin Dauvergne 04e06d4e02 doc: complete api-fill.page about item and items field (#32013) 2019-04-15 14:09:10 +02:00
Frédéric Péters 617191674b forms: move hint inside select2 (like normal select) (#32222) 2019-04-15 13:38:16 +02:00
Frédéric Péters 63dcac7784 misc: reset <select> set by geolocation on unknown value (#32245) 2019-04-15 13:36:57 +02:00
Frédéric Péters e408679d06 misc: add l10n to default template tags libraries (#32265) 2019-04-15 13:35:46 +02:00
Frédéric Péters e02206fb85 lazy: add internal_id and page_no properties to form data (#32264) 2019-04-15 13:35:46 +02:00
Frédéric Péters 5f8f4a87be api: use dedicated django views for session-less APIs (#23023) 2019-04-15 09:32:43 +02:00
Frédéric Péters e9c01df247 sql: change default to rebuild global view (#32191) 2019-04-15 09:32:43 +02:00
Benjamin Dauvergne 2cb534760d api: export structured items of item and items fields (#32014)
It's only exported if the call is signed, it's exported in a new field
'structured_items' to keep signature of 'items'.
2019-04-15 08:39:43 +02:00
Frédéric Péters 04e04d56bf tests: add checks for trigger restricted to roles 2019-04-11 14:59:55 +02:00
Frédéric Péters 189ede3c58 workflows: let backoffice item field be assigned from data label (#32134) 2019-04-10 13:23:48 +02:00
Thomas NOËL 3bf1110393 misc: be explicit about input format passed to graphicsmagick (#32109) 2019-04-09 16:51:00 +02:00
Benjamin Dauvergne bbeb4033ba templatetags: add tags for token generation/validation (#31268)
- add {% token_decimal n %} -> n digits random token
- add {% token_alphanum n %} -> n digits/uppercase-letters (without
  0,1,I and O) random token
- token1|token_check:token2 -> verify token1 is equal to token2
  insensitive to case and prefix/suffix spaces.
2019-04-05 13:54:30 +02:00
Frédéric Péters 51df06ed9d ezt: don't crash displaying unknown reference (#32024) 2019-04-05 12:45:08 +02:00
Frédéric Péters 7356623963 translation update 2019-04-05 11:00:31 +02:00
Frédéric Péters 3bf61b16b3 forms: add support for live change of JSON data source (#31492) 2019-04-04 19:24:58 +02:00
Frédéric Péters 065247ae13 forms: extend json autocomplete support for be asynchronous if possible (#31492) 2019-04-04 19:24:58 +02:00
Frédéric Péters 45a374ae50 api utils: add function to sign an URL if orig is known (#31492) 2019-04-04 19:24:58 +02:00
Frédéric Péters 5351db8a2e misc: refactor and test jsonp data source (#31492) 2019-04-04 19:24:58 +02:00
Frédéric Péters a9c4fb54f3 forms: add option to use select2/autocomplete on list items (#19271) 2019-04-04 19:24:58 +02:00
Frédéric Péters b12b1906d2 fields: change list "show as radio" option into a "display mode" option (#31539) 2019-04-04 19:24:58 +02:00
Frédéric Péters 38e319f3df misc: add version hash to admin.css & qommon.css (#32002) 2019-04-04 19:22:45 +02:00
Frédéric Péters 2dbc629659 misc: give (lazy)formdata users a legit access to formdef (#31982) 2019-04-03 17:56:04 +02:00
Frédéric Péters 86487cea87 misc: make export_to_json available to LazyFormData (#31979) 2019-04-03 17:56:04 +02:00
Frédéric Péters 47c250b3d1 forms: invalidate cache when adjusting transient formdata content (#31922) 2019-04-03 15:30:03 +02:00
Frédéric Péters 18dcc53449 translation update 2019-04-03 12:01:20 +02:00
Frédéric Péters ba74239426 tests: don't use lazy variable internals for testing attachments (#31955) 2019-04-03 09:01:00 +02:00
Frédéric Péters b47183bafe misc: change lazy request to expose META attribute (#31949) 2019-04-03 08:34:05 +02:00
Frédéric Péters ba64a46fb6 misc: privatise lazy variable internals (#31950) 2019-04-03 08:32:48 +02:00
Frédéric Péters 4629e2a565 forms: fix export/import of digest template (#31947) 2019-04-03 08:32:48 +02:00
Frédéric Péters c365a8221d admin: add link to workflow from form page (#20756) 2019-04-02 14:44:13 +02:00
Frédéric Péters 96204aed4b settings: enable logger by default (#31807) 2019-04-02 13:30:11 +02:00
Frédéric Péters ff693a78de geolocation: fix setting list item from click on map (#31910) 2019-04-02 10:46:37 +02:00
Frédéric Péters 4998ca74f2 forms: add class to file widget when displaying a thumbnail (#31730) 2019-04-01 10:52:20 +02:00
Frédéric Péters 2d72fbb1a1 misc: include version hash in static ressources URLs (#31841) 2019-03-29 14:08:57 +01:00
Frédéric Péters bf2dfb5757 trivial: fix typo in exception text 2019-03-26 16:56:18 +01:00
Frédéric Péters 4da4dbcec8 forms: disable autosave while form is submitted (#31706) 2019-03-26 14:30:30 +01:00
Frédéric Péters ff55130941 forms: don't reset user during backoffice edition (#31729) 2019-03-26 14:03:54 +01:00
Frédéric Péters 340cba66e1 forms: use correct live evaluation URL when editing an existing form (#31668) 2019-03-25 18:48:48 +01:00