Commit Graph

6210 Commits

Author SHA1 Message Date
Frédéric Péters 84e801eb47 misc: write files as binaries (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 68837c7b7c tests: use resp.text (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 46b178697d tests: use file() to open file (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters f2c22c9b8b tests: remove usage of urllib2 (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 563e25e453 misc: get ConfigParser from six (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters cb9d208aa3 misc: use print as function (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters b8e68257d8 tests: update location of MIMEText import (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 7fe626dda3 misc: update except syntax (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 79a23d7f62 tests: replace cPickle by pickle (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 26ed332576 misc: get urlparse from six (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 59e2f81b12 tests: remove unused cPickle import (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 2cde27b983 misc: use cPickle only when available (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters b6272576da misc: only convert SafeString when running in Python 2 (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 4f413115b0 misc: use SafeText instead of SafeUnicode (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters abf453b07a general: remove bounce processing (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 268d68afa9 misc: get StringIO from six (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters a7844cf7ca general: replace unicode() calls by force_text() (#36515) 2019-11-20 09:17:17 +01:00
Frédéric Péters 45292ff7cc general: don't mention encoding of XML export (= default as utf-8) (#37574) 2019-11-19 18:04:13 +01:00
Frédéric Péters f6a2b641dd misc: don't check workflow options if workflow cannot be found (#37734) 2019-11-18 17:16:45 +01:00
Frédéric Péters 3e124dc3f3 workflows: add jump button option to ignore form errors (#24182) 2019-11-18 09:34:44 +01:00
Frédéric Péters 64ce4e3e1f misc: remove statsd support (#37587) 2019-11-12 14:28:59 +01:00
Frédéric Péters 1b7a956ad6 general: remove "vote" extension and its support code (#37573) 2019-11-12 09:51:05 +01:00
Frédéric Péters f9590d9d4b general: remove legacy "switch to utf-8" code (#6107) 2019-11-12 09:51:05 +01:00
Frédéric Péters fc73508917 misc: always hide status in front (#37517) 2019-11-07 20:00:20 +01:00
Frédéric Péters 5749ec05bf translation update 2019-11-07 14:25:24 +01:00
Frédéric Péters b4ad853ecf backoffice: unify workflows list (#37510) 2019-11-07 14:25:24 +01:00
Frédéric Péters daa9fa0b64 misc: update card related labels (#37510) 2019-11-07 14:25:24 +01:00
Lauréline Guérin 94c5dc13af
forms: add a query filter include-anonymised to /api/forms/ (#37176) 2019-11-07 10:02:07 +01:00
Lauréline Guérin 5911bf782d
misc: add an utility function to get flag from query (#37176) 2019-11-07 10:02:07 +01:00
Frédéric Péters f30ca1a8e1 misc: add missing errors import before raising themes 404 errors (#37373) 2019-11-03 08:48:33 +01:00
Frédéric Péters d57ade1eac backoffice: add early translation for mass action message (#37372) 2019-10-31 07:24:13 +01:00
Frédéric Péters a750588f7e data sources: make stub implement all methods (#37371) 2019-10-31 07:24:13 +01:00
Thomas NOËL e22d2b52ae misc: add has_role filter (#29342) 2019-10-30 14:56:55 +01:00
Frédéric Péters 25942171ba workflows: consider cards when evaluating timeout jumps (#37354) 2019-10-30 11:13:12 +01:00
Frédéric Péters 339374088e translation update 2019-10-30 09:11:05 +01:00
Frédéric Péters b9b53aac9a general: always push webservice/datasource/script in context (#37341) 2019-10-30 08:03:33 +01:00
Frédéric Péters 74b430284b workflows: also mark status on trigger/timeout jumps (#37169) 2019-10-29 15:46:20 +01:00
Frédéric Péters ab051a6cf0 misc: mark logged error emails with a tech_id reference (#36807) 2019-10-29 10:33:28 +01:00
Thomas NOËL 8aed02d1a9 misc: add strip templatetag (#37270) 2019-10-28 16:26:07 +01:00
Frédéric Péters 2eea37253e admin: revamp overriding forms (#36711)
* always display summary of changes if there are data
* -> skip summary of changes if there are no data (#13599)
* do not use scrolling in summary (#32177)
* ignore no-data fields when comparing types
* warn about data loss instead of data corruption/bugs
* remove data from incompatible columns (in SQL) (#15379)
2019-10-25 10:46:18 +02:00
Frédéric Péters a545f25984 admin: display all formdef types using a data source (#37105) 2019-10-25 10:45:08 +02:00
Frédéric Péters c8513a1a73 workflows: use correct class when importing workflow backoffice fields (#37105) 2019-10-25 10:45:07 +02:00
Frédéric Péters 9da3ee9901 misc: recreate workflow form after submission, to get live items (#35903) 2019-10-22 11:13:36 +02:00
Nicolas Roche e8384beceb tests: check for live data sources in workflow forms (#35903) 2019-10-22 11:13:36 +02:00
Frédéric Péters 497d8d83d2 misc: always allow restoring drafts (#37107) 2019-10-22 09:50:25 +02:00
Frédéric Péters e7887d2b0f admin: don't refer to slug widget if it has not been added (#37102) 2019-10-21 22:50:07 +02:00
Frédéric Péters cd216c1ff4 translation update 2019-10-18 12:15:22 +02:00
Nicolas Roche 0085120f84 datasources: avoid raising on lost datasource (#18431) 2019-10-18 11:00:02 +02:00
Nicolas Roche 215209fb98 admin: protect datasources in use from deletion or slug change (#15163) 2019-10-18 10:57:06 +02:00
Frédéric Péters b876213f44 api: do not advertise all forms for backoffice submission to admins (#36988) 2019-10-18 10:52:57 +02:00