Commit Graph

109 Commits

Author SHA1 Message Date
Agate a95687397b misc: added is_french_mobile_phone_number template tag (#24990) 2022-07-25 14:38:42 +02:00
Frédéric Péters 6d6b923eb9 misc: allow passing a string (email/uuid) as |filter_by_user parameter (#67198) 2022-07-15 08:32:30 +02:00
Thomas NOËL d894a01eb5 templatetags: allow add filter to concatenate lists (#66471) 2022-06-27 16:12:09 +02:00
Lauréline Guérin 7e18ff78c8
misc: add |as_template filter (#49467)
gitea-wip/wcs/pipeline/head Build started... Details
2022-06-13 13:23:33 +02:00
Valentin Deniaud 204d176571 templatetags: add |getlistdict filter (#63559) 2022-05-03 09:59:31 +02:00
Frédéric Péters 0a00c462c1 misc: use a template to render sidebox (#62753) 2022-03-29 14:04:31 +02:00
Thomas NOËL ecf10d169c templatetags: do not crash on B date format (#62864) 2022-03-17 10:22:11 +01:00
Lauréline Guérin b7a5464822 misc: fix |last with None value (#62663) 2022-03-16 12:05:58 +01:00
Lauréline Guérin 43eac0f945 misc: fix |first with None value (#62663) 2022-03-16 12:05:58 +01:00
Lauréline Guérin 28f66c8afb
misc: default arg for |age_in_working_days filters (#62403)
gitea-wip/wcs/pipeline/head Build started... Details
2022-03-14 17:05:14 +01:00
Lauréline Guérin 22b65efb17
misc: add |modulo template filter (#62552)
gitea-wip/wcs/pipeline/head Build started... Details
2022-03-11 10:59:48 +01:00
Frédéric Péters 0b231171a6 general: add {% block_value %} to create a value for a block of fields (#61321) 2022-02-02 12:44:10 +01:00
Frédéric Péters 549b612865 misc: add |count support for block values (#60881) 2022-01-20 22:57:36 +01:00
Thomas NOËL d3d4caea05 templatetags: allow custom messages in email action button (#60512) 2022-01-14 11:57:20 +01:00
Frédéric Péters 534ece65fa misc: add support for email actions on cards (#60037) 2022-01-03 16:59:23 +01:00
Frédéric Péters 6040c018f2 templates: add a |duration filter (#25418) 2021-12-19 16:59:45 +01:00
Lauréline Guérin 4991be8979
formdata: add |filter_by_internal_id filter (#59303)
gitea-wip/wcs/pipeline/head Build started... Details
2021-12-14 14:15:57 +01:00
Thomas NOËL b78fdaa02c templatetags: handle lazy values on unaccent filter (#58688) 2021-11-22 15:47:26 +01:00
Frédéric Péters 87d130ac1c misc: add support for lazy variables to |is_empty (#58253) 2021-10-29 11:16:52 +02:00
Frédéric Péters 71b0291a4a misc: introduce a {% newline %} tag (#57622) 2021-10-05 22:12:33 +02:00
Frédéric Péters fbda352421 misc: add |rename_file filter (#51484) 2021-08-19 20:24:17 +02:00
Benjamin Dauvergne e9c5baba07 templatetags: add a qrcode filter for string values (#55189) 2021-08-03 11:55:13 +02:00
Frédéric Péters ffc4d8e611 templatetags: add adjust_to_week_monday and iterate_days_until (#54806) 2021-06-14 12:35:27 +02:00
Frédéric Péters 1e13d82e8e templatetags: introduce |list, to turn a generator into a list (#54807) 2021-06-14 06:32:51 +02:00
Frédéric Péters 822e3311a2 templatetags: introduce and use a unlazy function 2021-06-14 06:32:51 +02:00
Lauréline Guérin 671d651784
misc: |add_hours filter (#54411) 2021-06-11 14:41:44 +02:00
Frédéric Péters 57544f2059 misc: add |done filter (#54351) 2021-05-31 16:28:44 +02:00
Lauréline Guérin 86550e9259
misc: add |exclude_value template filter (#53416) 2021-05-20 08:45:13 +02:00
Lauréline Guérin de77d99522
misc: fix |count filter for None values (#53924) 2021-05-17 10:09:07 +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 08f1431a66 trivial: apply new isort configuration (#52504) 2021-03-30 13:42:22 +02:00
Lauréline Guérin 157f97a27a
misc: pylint fix unused-variable (#52222) 2021-03-29 10:28:29 +02:00
Lauréline Guérin 48470c50c0
misc: apply isort (#52224) 2021-03-19 18:00:18 +01:00
Lauréline Guérin a320d4f25b
misc: store Role also in SQL (#51772) 2021-03-16 16:33:04 +01:00
Lauréline Guérin 4c6ec73981
misc: add |urljoin template filter (#51615) 2021-03-12 09:05:14 +01:00
Frédéric Péters e7292f6f3f misc: remove usage of "six" module (#51517) 2021-03-01 15:43:54 +01:00
Frédéric Péters 4ebe82ef21 trivial: apply black 2021-02-04 10:37:40 +01:00
Lauréline Guérin 568a419982
misc: add |is_empty filter (#50402) 2021-01-29 14:42:23 +01:00
Frédéric Péters 7e4706e628 formdata: return missing boolean value as False, not None (#50428) 2021-01-22 13:53:26 +01:00
Thomas NOËL b2ba8a118d templatetags: make count an alias of length (#49889) 2021-01-19 14:24:08 +01:00
Frédéric Péters 2691f4c80c templatetags: unlazy values given to |date, |datetime, |time filters (#50102) 2021-01-13 15:21:50 +01:00
Lauréline Guérin b918c88f0f
misc: add |age_in_working_days filters (#49924) 2021-01-08 10:11:30 +01:00
Lauréline Guérin d42ef313f3
misc: add |get_auto_geoloc filter (#49079) 2020-12-11 11:28:49 +01:00
Thomas NOËL fcd5d86ee5 templatetags: unlazy value in phonenumber_fr (#49014) 2020-12-01 16:06:20 +01:00
Lauréline Guérin b723546cf5
misc: add with_custom_view filter (#48553) 2020-11-27 09:05:38 +01:00
Lauréline Guérin d7e0232354
misc: add |pending for querysets (#48182) 2020-11-13 14:59:20 +01:00
Frédéric Péters b3378e553e misc: increase decimal precision (#48513) 2020-11-13 13:04:55 +01:00
Lauréline Guérin a7ce65cb3e
misc: add |filter_by_status for querysets (#48181) 2020-11-05 14:04:00 +01:00
Frédéric Péters d8cd485379 misc: add |filter_by_user and |current_user for querysets (#46855) 2020-09-25 07:17:48 +02:00