Commit Graph

5068 Commits

Author SHA1 Message Date
Frédéric Péters 0893bec032 api: add id/text attributes api/users/ endpoint (#21385) 2018-01-30 18:00:28 +01:00
Frédéric Péters 62531037a4 backoffice: disable geolocation on form previews (#21492) 2018-01-30 18:00:28 +01:00
Frédéric Péters 45c1368b76 backoffice: don't disable geolocation in backoffice submissions (#21491) 2018-01-30 18:00:28 +01:00
Frédéric Péters 19dad90b1a misc: limit logged error filename length (#21478) 2018-01-30 18:00:28 +01:00
Thomas NOËL f1d39c1944 fix typo in french translation (#21493) 2018-01-30 15:30:28 +01:00
Frédéric Péters b81e961b70 workflows: don't use django autoescaping in odt templates (#21446) 2018-01-26 18:06:28 +01:00
Thomas NOËL 7e2e05aa6a trigger_jumps: initialize publisher (#21447) 2018-01-26 15:56:25 +01:00
Frédéric Péters c53587da68 misc: only advertise strings in substitution variables (#21378) 2018-01-24 12:00:01 +01:00
Frédéric Péters f97734c48b workflows: do not use django templating by default in workflows (#21317) 2018-01-22 22:00:02 +01:00
Frédéric Péters 337f0a476c sql: add reindex for change in fts indexing (#21240) 2018-01-18 19:09:22 +01:00
Thomas NOËL 69612df2bf wscall: act as stop if target status no longer exists (#21245) 2018-01-18 15:35:41 +01:00
Thomas NOËL 834c97968f workflows: do not crash on missing wscall target status (#21241) 2018-01-18 01:46:27 +01:00
Thomas NOËL f19194977c qommon: do not consider misformatted wcs.log lines (#21207) 2018-01-17 16:17:53 +01:00
Frédéric Péters 73397f7248 sql: always apply same string transform for full text search (#21229) 2018-01-17 16:13:41 +01:00
Frédéric Péters 1040ad0e2d translation update 2018-01-17 13:25:43 +01:00
Frédéric Péters 4ed32befc2 workflows: sort workflow actions in categories (#3405) 2018-01-17 13:25:43 +01:00
Benjamin Dauvergne 5cc3847843 api: change schema of formdefs, user/forms and user/drafts APIs (#13184)
All responses now have the form {"err": x, "data": y}.
2018-01-16 12:49:09 +01:00
Frédéric Péters b6e5b36890 api: only return formdef count if it is requested (#21166) 2018-01-16 11:41:11 +01:00
Frédéric Péters e66a4d0a8e emails: don't escape variables in text/plain templates (#21088) 2018-01-16 09:38:00 +01:00
Frédéric Péters 408f342b9c workflows: let django escaping do its job in evolution comments (#20996)
Always consider contents to be HTML and follow standard Django rules
when Django template syntax is used in "register comment" (add to
history) actions.

As strings should start with a < to be interpreted as HTML at display
times, enclose the whole thing in a <div> if no other tag is at the
start of the string.
2018-01-15 09:30:18 +01:00
Frédéric Péters 6b7e8d9b9c tests: filter out DTSTAMP when comparing ics data (#20841) 2018-01-15 09:29:32 +01:00
Frédéric Péters 163edf48f2 workflows: don't expose disabled forms in resubmit action (#21147) 2018-01-12 14:04:40 +01:00
Frédéric Péters 3af195cbf5 workflows: fix selection of forms presented by resubmit in frontoffice (#21148) 2018-01-12 14:04:40 +01:00
Frédéric Péters 0f60f7b475 workflows: fix initial values of resubmit settings (#21142) 2018-01-12 14:04:40 +01:00
Frédéric Péters 698a013d50 templates: pass request in context whenever it's available (#21137) 2018-01-12 14:03:16 +01:00
Frédéric Péters 644619cea4 update French translation 2018-01-09 12:33:59 +01:00
Frédéric Péters 79665be0c5 api: load all evolutions at once in formdatas API (#21028) 2018-01-09 11:30:02 +01:00
Thomas NOËL 5dbb87ef43 admin: warn if a form contains more than 500 fields (#20963) 2018-01-05 11:58:57 +01:00
Thomas NOËL 200a391e6d formdefs: try to preserve fields ids on import (#21001) 2018-01-05 03:51:07 +01:00
Frédéric Péters ffb3a3f0ee update tox for django 1.11 and correct dependencies 2018-01-03 15:00:26 +01:00
Frédéric Péters b483ea747d workflow: extend resubmit action for frontoffice and preset target (#20009) 2018-01-02 18:00:03 +01:00
Frédéric Péters eb7d39a3b1 debian: move "stable" settings to debian_config.py (#20955) 2018-01-02 18:00:03 +01:00
Frédéric Péters bc4cb0ae9d tests: add custom settings file to allow hosts (#20936) 2018-01-02 15:56:47 +01:00
Frédéric Péters f769ef945b misc: update Context usage in template strings (#20936) 2018-01-02 15:56:47 +01:00
Frédéric Péters 3d65e3066a tests: update redirection checks for django 1.11 (#20936) 2018-01-02 15:56:47 +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 7bb2caf277 misc: update settings to use TEMPLATES (#20936) 2018-01-02 15:56:47 +01:00
Frédéric Péters 999892348a misc: don't use named views in urls.py (#20936) 2018-01-02 15:56:47 +01:00
Thomas NOËL eacc34a638 formdata: anonymise backoffice fields (#20840) 2018-01-02 14:54:19 +01:00
Frédéric Péters def9802431 sql: unaccent strings for full text search (#9112) 2018-01-02 14:52:21 +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 e415703bf5 templates: monkey patch django template variable resolution for strings (#20885) 2018-01-02 14:10:59 +01:00
Frédéric Péters 994d086040 forms: include field type as css class in status page (#20932) 2018-01-02 08:51:08 +01:00
Frédéric Péters a14bc64ed5 formdata: add new is_at_endpoint_status method (#20931) 2018-01-02 08:51:08 +01:00
Frédéric Péters 5658245590 forms: give display_fields a default value for fields (#20930) 2018-01-02 08:51:08 +01:00
Frédéric Péters 41d7dd083c misc: don't let ckeditor turn characters into entities (#20886) 2017-12-26 13:21:56 +01:00
Frédéric Péters a0b4d6c77f misc: use global evaluation dictionary when evaluating data sources (#16978)
This makes it possible to use "evalutils" functions and "complex" types.
2017-12-26 13:21:56 +01:00
Frédéric Péters 265bb77888 translation update
(to match label used in other applications)
2017-12-25 20:41:39 +01:00
Frédéric Péters b36c9ef53b backoffice: rely on gadjo for header user info links (#20882) 2017-12-25 20:41:12 +01:00
Thomas NOËL e7fe4fba8b api: add backoffice-submission parameters to formdefs endpoints (#17689) 2017-12-23 14:02:25 +01:00