Commit Graph

71 Commits

Author SHA1 Message Date
Frédéric Péters 4f488c1d57 tests: use PicklableUpload in test that requires copying structure (#36515) 2019-11-19 16:00:48 +01:00
Frédéric Péters a295a0b441 tests: give bytes to Upload (#36515) 2019-11-19 15:55:27 +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 1b1e596d1f misc: use relative imports (#36517) 2019-09-30 11:05:53 +02:00
Frédéric Péters f14115483d backoffice: create/display user label from data fields (#33812) 2019-06-18 11:18:20 +02:00
Frédéric Péters 517fd9c88b misc: remove private status & history option (#33155) 2019-05-27 17:17:14 +02:00
Frédéric Péters 91f6b8e447 formdata: add form_display_name variable (#33288) 2019-05-21 10:26:18 +02:00
Frédéric Péters 2eb1614dbb lazy: only create resultset on numeric access to __getitem__ (#33262) 2019-05-20 14:37:36 +02:00
Frédéric Péters 7d4246a6d7 templatetags: add support for lazy vars to string filters (#33196) 2019-05-20 14:37:36 +02:00
Frédéric Péters e03fa5924d misc: keep cache of queryset result after __iter__ usage (#33013) 2019-05-13 11:51:20 +02:00
Frédéric Péters ad6385bb28 misc: display drafts chronologically sorted (#32784) 2019-05-13 11:51:20 +02:00
Frédéric Péters 24da1659ae lazy: give access to formdata API URL (#33017) 2019-05-13 11:27:23 +02:00
Frédéric Péters bc33beda39 misc: add dedicated boolean check for querysets (#33011) 2019-05-13 11:27:23 +02:00
Frédéric Péters 099a255fda misc: add template tag to filter queryset on distance (#32944) 2019-05-13 11:27:22 +02:00
Frédéric Péters 7f8c246f87 misc: add distance template tag (#32262) 2019-05-13 11:27:22 +02:00
Frédéric Péters 634570cf20 lazy: fix access to user field data (#32717) 2019-05-01 16:08:30 +02:00
Frédéric Péters 22fc1227dd lazy: add queryset-like features to lazy formdef (#32244)
{% for formdata in form.formdef.objects.pending %}
  {{formdata.number}}
{% endfor %}
2019-05-01 16:08:30 +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
Nicolas Roche e081602813 templatetags: add ceil, floor and abs filteris (#31068) 2019-03-06 13:46:56 +01:00
Nicolas Roche 69f4fe62b0 templatetags: add mathematics filters (#27709) 2019-03-04 13:49:55 +01:00
Nicolas Roche 144fad9847 templatetags: manage lazy variable on decimal filter (#30793) 2019-02-21 16:06:01 +01:00
Frédéric Péters 4c25688057 formdata: handle form_tracking_code of unsaved data in lazy mode (#30536) 2019-02-18 16:19:45 +01:00
Frédéric Péters b79e00e58d misc: add slicing support to lazy field variables (#30648) 2019-02-14 13:32:35 +01:00
Frédéric Péters 6a8b4c44e3 misc: add support for |startswith to lazy field variables (#30645) 2019-02-14 13:32:35 +01:00
Frédéric Péters 1bdb38ad5f formdata: publish category variables in lazy mode (#30442) 2019-02-07 15:38:19 +01:00
Thomas NOËL f574d6f639 simplify tests on age_in_days to work even on non working times (#30416) 2019-02-06 01:01:43 +01:00
Thomas NOËL 2f523eca3b templatetags: add age_in_days/years/months filters (#30144) 2019-01-30 17:46:14 +01:00
Thomas NOËL 298ab4667d Revert "templatetags: add age_in_days/years/months filters (#30144)"
This reverts commits a0fcda4575
and last commit 1152826dbf
2019-01-29 13:52:25 +01:00
Thomas NOËL a0fcda4575 templatetags: add age_in_days/years/months filters (#30144) 2019-01-29 00:30:50 +01:00
Thomas NOËL 4daf8310ca evalutils: handle lazy dates in make_date and make_datetime (#29406) 2019-01-28 15:19:07 +01:00
Thomas NOËL 853c0e8e2b templatetags: add add_days and add_hours filters (#29337) 2019-01-28 15:19:01 +01:00
Thomas NOËL 87cae6fbbc make date and datetime templatetags render lazydate objects (#29406) 2019-01-28 15:09:51 +01:00
Thomas NOËL e2260c5ac0 misc: add lazydateobject, use it for today and now global variables (#29406) 2019-01-28 15:09:51 +01:00
Thomas NOËL e6969acb1c variables: add flexible comparison on lazy dates (#29406) 2019-01-28 15:09:51 +01:00
Frédéric Péters f2f840cf36 misc: add support for not equal operator to lazy field vars (#30044) 2019-01-24 07:45:38 +01:00
Frédéric Péters 1e38c3e8c0 misc: add custom lazy field for map variables, for string compat (#28193) 2018-12-06 14:47:46 +01:00
Frédéric Péters aa7ba9669b tests: add basic lazy var check for map fields 2018-11-20 16:24:25 +01:00
Frédéric Péters fb712e7743 misc: fix ezt [is ...] usage with lazy field variables (#27781) 2018-11-06 13:25:06 +01:00
Frédéric Péters 6a05724c8e misc: fix behaviour on missing variables with a known prefix (#26269) 2018-09-10 14:31:07 +02:00
Frédéric Péters 9173846da8 tests: keep on testing legacy variables path 2018-09-10 10:45:25 +02:00
Frédéric Péters 12a413ab34 misc: extend |date filter to support more input types (#25976) 2018-08-31 12:03:56 +02:00
Frédéric Péters 473f489dd4 formdata: improve compatibility of lazy date fields (#25961) 2018-08-30 20:54:03 +02:00
Frédéric Péters d46c4c0451 misc: add criticality label to available variables (#25676) 2018-08-29 09:49:52 +02:00
Frédéric Péters fda6dd4a35 general: add lazy evaluation to substitution subvariables (#22106) 2018-08-17 13:44:30 +02:00
Frédéric Péters bed253cb75 formdata: get correct status for intermediary evolutions (#20146) 2017-11-19 17:49:01 +04:00
Thomas NOËL 21e0603aa7 fix compute _url variable of workflow data uploads (#17233) 2017-06-28 17:10:22 +02:00
Frédéric Péters 9da9633c84 general: remove support for advanced fargo features (#15720) 2017-04-05 10:50:55 +02:00
Frédéric Péters 170c331fdf misc: rename file_validation to match its generic portfolio contents (#15709) 2017-03-31 11:51:03 +02:00
Frédéric Péters 4f31842a06 backoffice: give appropriate roles access to private histories (#15040) 2017-02-17 13:16:42 +01:00
Frédéric Péters 5772e64846 misc: prefer email from formdata over user profile (#10123) 2016-12-23 11:09:15 +01:00