Commit Graph

7527 Commits

Author SHA1 Message Date
Frédéric Péters e1c5bffbc2 sql: ignore non-dict values for block fields (#53065) 2021-04-13 15:20:08 +02:00
Lauréline Guérin 26085c1190
workflow: fix get_submitter_email with blockdef (#50871) 2021-04-13 14:41:05 +02:00
Frédéric Péters 54fc8a9ec3 api: add statistics API for direct combo usage (#52731) 2021-04-13 14:19:44 +02:00
Frédéric Péters 621686bee0 translation update 2021-04-13 13:49:49 +02:00
Frédéric Péters 7f6fb7295d misc: include object url in XML exports (#51899) 2021-04-13 11:52:20 +02:00
Frédéric Péters 750007984a general: add queryset filter on form_number (#52763)
(and fallbacks so |filter_by can be used with specialized filters)
2021-04-13 11:51:25 +02:00
Frédéric Péters e5f06accdb misc: add a |strip_metadata filter (#51483) 2021-04-13 09:53:31 +02:00
Frédéric Péters 5fce2f27a9 general: add a dbshell management command (#52235) 2021-04-13 08:36:55 +02:00
Frédéric Péters b36aef9395 general: don't flatten to invalid keys (#52579) 2021-04-13 08:36:05 +02:00
Thomas NOËL c4f5f44e4d workflow: stop workflow after a remove action (#52927) 2021-04-12 16:23:53 +02:00
Lauréline Guérin d49c9b15bc
misc: clean old thumbnails (#52528) 2021-04-12 15:24:07 +02:00
Lauréline Guérin d38db142c6
misc: caching for thumbnails (#52528) 2021-04-12 15:24:07 +02:00
Frédéric Péters 93b951e02a backoffice: consider all templates during direct rendering (#52934) 2021-04-12 14:15:58 +02:00
Frédéric Péters b5298bad06 misc: fix rendering of legacy themes (#52885) 2021-04-09 10:01:45 +02:00
Frédéric Péters 653fcaf7e3 backoffice: display card models usage on workflow page (#52648) 2021-04-09 08:18:56 +02:00
Frédéric Péters cfd832ee69 backoffice: use a template to render workflow page (#52648) 2021-04-09 08:18:56 +02:00
Frédéric Péters f3bc4ec278 trivial: add forgotten pylint mark for cron jobs 2021-04-07 09:03:00 +02:00
Frédéric Péters 5539d1997f workflows: don't fail on incomplete global anchor date template (#52785) 2021-04-07 08:01:46 +02:00
Frédéric Péters a407b21008 general: add explicit registration of cron jobs (#52793) 2021-04-07 08:00:22 +02:00
Lauréline Guérin 8fec8c6ce8
trivial: update README about isort 2021-04-06 21:28:03 +02:00
Frédéric Péters daf2aa0ae3 trivial: add pylint disable comment for deprecated-module warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters deac7415d0 trivial: fix len-as-condition pylint warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters b23b21ee31 trivial: fix disallowed-name pylint warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters d67c024f15 trivial: fix unnecessary-lambda pylint warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters 528e0917e0 trivial: add pylint disable comments for individual eval-used warnings (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters 305ee58a65 trivial: add pylint disable comment for exec-used (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters dbd5bf655f trivial: remove unused get_template_from_script function (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters cc1f7e13a0 trivial: fix not-a-mapping pylint warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters 7a9657c293 trivial: fix pointless-statement pylint warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters e35c293dcb trivial: fix subprocess-run-check pylint warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters 1a611d0ce7 trivial: fix assignment-from-no-return pylint warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters 575a06e6d2 trivial: fix assignment-from-none pylint warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters 6e1e665417 trivial: fix pylint duplicate-except warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters fc780d27a7 trivial: fix consider-using-ternary pylint warning (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters 531d15fd76 build: remove unnecessary init-hook from pylint configuration (#52732) 2021-04-06 10:11:42 +02:00
Frédéric Péters eace88afc9 sql: declare loggederror id field as integer (#52666)
This is the default value, it avoids a DataError trace when using .get()
with a non-integer value.
2021-04-06 09:40:25 +02:00
Frédéric Péters 29ac5ab0d3 workflows: add history entry after successful edit action, not before (#52629) 2021-04-04 10:33:50 +02:00
Frédéric Péters 3fff9b48a5 misc: add basic odt support to block fields (#50030) 2021-04-04 10:33:50 +02:00
Frédéric Péters 17b135023d workflows: fix removal of existing form_details odt section (#52694) 2021-04-04 10:33:50 +02:00
Lauréline Guérin 71e5a74898
misc: pylint fix astroid-error (#52630)
************* Module tests.admin_pages.test_form
tests/admin_pages/test_form.py:1: [F0002(astroid-error), ]
<class 'RecursionError'>: maximum recursion depth exceeded

split testcase, it seems to fix the error
2021-04-02 16:27:18 +02:00
Lauréline Guérin f79705fa5e
misc: pylint various fix (#52630) 2021-04-02 15:49:52 +02:00
Lauréline Guérin b45ff4a9b9
misc: pylint fix global-statement, global-variable-not-assigned (#52630) 2021-04-02 15:49:52 +02:00
Lauréline Guérin fd7b28c05a
misc: pylint fix function-redefined (#52630) 2021-04-02 15:49:52 +02:00
Lauréline Guérin c80d8dc224
misc: pylint fix misplaced-comparison-constant (#52630) 2021-04-02 15:49:52 +02:00
Lauréline Guérin 0ba07f8b12
misc: pylint fix assert-on-string-literal (#52630) 2021-04-02 15:49:52 +02:00
Lauréline Guérin f93f513213
misc: pylint fix anomalous-backslash-in-string (#52630) 2021-04-02 15:49:51 +02:00
Lauréline Guérin 5c49177e48
misc: pylint fix unidiomatic-typecheck (#52630) 2021-04-02 15:49:51 +02:00
Lauréline Guérin 43807dadcd
misc: pylint fix singleton-comparison (#52630) 2021-04-02 15:49:51 +02:00
Lauréline Guérin 5253275e37
misc: pylint fix unneeded-not (#52630) 2021-04-02 15:49:51 +02:00
Lauréline Guérin 37e8d1adba
misc: pylint fix dangerous-default-value (#52630) 2021-04-02 15:49:51 +02:00