Commit Graph

76 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
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 702a4331c0 tests: adapt for django 3.2 not failing on B date format character (#64295) 2022-04-19 16:18:21 +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
Thomas NOËL b53121644c templates: add null, true and false in default context (#60038) 2021-12-28 13:34:45 +01:00
Frédéric Péters 6040c018f2 templates: add a |duration filter (#25418) 2021-12-19 16:59:45 +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 71b0291a4a misc: introduce a {% newline %} tag (#57622) 2021-10-05 22:12:33 +02:00
Frédéric Péters 9e6bd493a6 misc: add custom behaviour for booleans in [variables] (#56105) 2021-08-13 10:28:02 +02:00
Benjamin Dauvergne e9c5baba07 templatetags: add a qrcode filter for string values (#55189) 2021-08-03 11:55:13 +02:00
Lauréline Guérin ff0d3779c0
misc: apply pyupgrade (#55490) 2021-07-09 15:43:16 +02:00
Lauréline Guérin a5a1ddfee7
misc: fix pylint consider-using-with (#55264) 2021-07-02 09:43:02 +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
Lauréline Guérin 671d651784
misc: |add_hours filter (#54411) 2021-06-11 14:41:44 +02:00
Lauréline Guérin 8f450f5a2f
misc: pylint fix useless-object-inheritance (#52630) 2021-04-02 15:49:51 +02:00
Lauréline Guérin c71299d053
misc: pylint fix unused-import (#52630) 2021-04-02 15:49:50 +02:00
Lauréline Guérin a86d1156c1
misc: pylint on tests (#52630) 2021-04-02 15:01:21 +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 48470c50c0
misc: apply isort (#52224) 2021-03-19 18:00:18 +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 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
Lauréline Guérin b918c88f0f
misc: add |age_in_working_days filters (#49924) 2021-01-08 10:11:30 +01:00
Thomas NOËL fcd5d86ee5 templatetags: unlazy value in phonenumber_fr (#49014) 2020-12-01 16:06:20 +01:00
Frédéric Péters b3378e553e misc: increase decimal precision (#48513) 2020-11-13 13:04:55 +01:00
Frédéric Péters 91e83958fa templatetags: make |get return None on errors (#46507) 2020-09-11 07:52:21 +02:00
Thomas NOËL fe4b237fd9 settings: add django.contrib.humanize templatetags (#46290) 2020-09-02 15:33:40 +02:00
Lauréline Guérin fad0092c65
misc: add removeprefix and removesuffix filters (#43230) 2020-07-31 15:34:38 +02:00
Thomas NOËL 74b62af6d7 misc: avoid crashes when getlist filter not used on a block (#45634) 2020-07-31 11:47:16 +02:00
Thomas NOËL 4c8d63eaab templates: add sum filter (#45394) 2020-07-28 15:22:45 +02:00
Lauréline Guérin 19ecf683f2
misc: add unaccent filter (#44811) 2020-07-21 16:08:02 +02:00
Lauréline Guérin 2f030fd345 templates: add filters for working days (#31851) 2020-07-13 13:55:17 +02:00
Lauréline Guérin 7624c55e66
templates: add datetime_in_past filter (#44023) 2020-06-18 14:38:12 +02:00
Frédéric Péters c503f7336c templatetags: make |get work with lazy vars (#43577) 2020-06-03 17:03:21 +02:00
Paul Marillonnet b1d7230590 misc: add 'endswith' template filter (#43240) 2020-06-03 10:20:21 +02:00
Frédéric Péters 1ea7fc36dd templates: add dict support to |distance (#43296) 2020-05-29 07:36:57 +02:00
Frédéric Péters b8b9244fc8 misc: add filter to detect language (#43335) 2020-05-29 07:36:57 +02:00
Thomas NOËL 053827b19b templatetags: add phonenumber_fr filter (#41723) 2020-05-15 23:33:18 +02:00
Nicolas Roche 942afd8e9f templatetags: manage string concatenation on add filter (#42062) 2020-05-06 10:05:16 +02:00
Frédéric Péters d81959f81f trivial: insure two blank lines before top functions and classes 2020-01-18 20:33:44 +01:00
Frédéric Péters a377981eee tests: only check integer part of reproj result (#36515) 2019-11-20 09:17:19 +01:00
Thomas NOËL 8aed02d1a9 misc: add strip templatetag (#37270) 2019-10-28 16:26:07 +01:00
Frédéric Péters 1b1e596d1f misc: use relative imports (#36517) 2019-09-30 11:05:53 +02:00