Commit Graph

270 Commits

Author SHA1 Message Date
Lauréline Guérin d827b280d5
debian: add agenda cells for caluire (#55585) 2021-07-15 11:47:01 +02:00
Lauréline Guérin 06c461e098
debian: custom cells for caluire (#55527) 2021-07-12 15:26:13 +02:00
Frédéric Péters f1be8e26f3 always look for collectivity using its slug, not its label (#55446)
(because "Caluire-et-Cuire" vs "Caluire et Cuire")
2021-07-12 09:47:27 +02:00
Frédéric Péters 8d10480b8d tox: limit psycopg2 to < 2.9 (#54925) 2021-06-17 08:50:02 +02:00
Frédéric Péters 8c75b8885b ignore pages with layer name as slug anchored as root 2021-06-06 17:21:08 +02:00
Lauréline Guérin abb766287f
debian: declare custom cells to display a tile per child (#54252) 2021-05-27 09:38:19 +02:00
Frédéric Péters 65e5f599df debian: declare rsj-fiche custom cell (#52840) 2021-04-19 09:29:17 +02:00
Frédéric Péters 9f54c72f60 debian: declare custom cell to display rsj requests (#52838) 2021-04-16 15:58:22 +02:00
Frédéric Péters 0c9237f8c9 misc: use user.is_authenticated as a property, for django 2.2 compat 2021-04-13 15:25:47 +02:00
Frédéric Péters d42b49eb3a settings: add support for a new cityway_api_userid parameter (#51532) 2021-03-29 18:19:47 +02:00
Frédéric Péters 4663abea40 settings: force localization off for cityway parameters 2021-03-29 17:57:59 +02:00
Frédéric Péters 99f47e5ef6 add |form_asset_url filter to form asset url from commune sites (#51632) 2021-03-16 09:56:35 +01:00
Frédéric Péters 8c8a3bd9ae tox: fix (unused) settings file environment variable name 2021-03-14 18:59:17 +01:00
Frédéric Péters 1816ffcb41 trivial: add new reformatting commit hash to .git-blame-ignore-revs 2021-02-15 17:46:57 +01:00
Frédéric Péters f330a22438 trivial: reapply black 2021-02-15 17:46:36 +01:00
Frédéric Péters 1f9aa7b373 tox: add black (via pre-commit) to tests (#50927) 2021-02-15 17:45:34 +01:00
Nicolas Roche 1cab06e861 tests: add a test on badges having exception (#50419) 2021-01-23 16:48:57 +01:00
Nicolas Roche 7764be274a templatetags: manage exceptions on opening hours (#50419) 2021-01-23 16:48:57 +01:00
Nicolas Roche 59632e6b30 tests: add a test for opening hours on first january (#50419) 2021-01-23 16:48:57 +01:00
Nicolas Roche c0d31ce0c7 templatetags: ease undestanding openinghoursspecification is used as default (#50419) 2021-01-22 10:09:55 +01:00
Nicolas Roche 116511fc31 templatetags: factorize formats parser for badges and opening hours (#50419) 2021-01-22 10:09:55 +01:00
Nicolas Roche 8e99bea02f templatetags: use openinghoursspecification as default format (#50404) 2021-01-22 10:05:58 +01:00
Nicolas Roche 045a98a06c templatetags: remove redondant code (#50404) 2021-01-22 09:58:49 +01:00
Frédéric Péters ce7092ff68 trivial: don't include max tiles stats for sites without any tiles 2021-01-22 09:44:21 +01:00
Frédéric Péters d51a64b9da misc: add black files/notes 2021-01-11 21:32:33 +01:00
Frédéric Péters 2d00832fc2 trivial: apply black 2021-01-11 21:31:40 +01:00
Frédéric Péters 153c136804 build: update to use origin/main 2020-12-26 15:21:15 +01:00
Frédéric Péters 1b523bc8c0 commands: use unsafe templating for place page titles 2020-12-22 14:29:11 +01:00
Frédéric Péters 9909e848a6 limit ATMO calls to new API (#49183) 2020-12-21 13:27:53 +01:00
Frédéric Péters aa72687db8 add templatetag to get list of known tiles (#49643) 2020-12-21 11:41:12 +01:00
Nicolas Roche d9f2edd994 templatetags: manage 24h/24 slots (#48929) 2020-12-11 16:08:05 +01:00
Nicolas Roche 3721cc8faa templatetags: allow 24:00 input hour (#48929) 2020-12-11 16:07:55 +01:00
Nicolas Roche fac5f0587e templatetags: simplify start/end date computation on mdr_format (#48919) 2020-12-06 00:23:59 +01:00
Nicolas Roche 226207a916 templatetags: add 'r' prefix to regex strings (#48919) 2020-12-06 00:23:59 +01:00
Nicolas Roche 1ece478eb9 templatetags: remove unused imports (#48919) 2020-12-06 00:23:59 +01:00
Nicolas Roche d6507267c1 templatetags: simplify start/end date computation on openinghoursspecification (#48919) 2020-12-06 00:23:59 +01:00
Nicolas Roche 926248ebf9 templatetags: move independant code on top of module (#48919) 2020-12-06 00:23:57 +01:00
Nicolas Roche 33e59ba5ee templatetags: simplify start/end date computation on opening_hours (#48919) 2020-12-05 22:32:16 +01:00
Nicolas Roche e9f57108f8 templatetags: use a generic day parameter in openinghours_to_datetime (#48919) 2020-12-05 22:31:28 +01:00
Nicolas Roche 854d3e73a1 templatetags: replace dateutil.parser by a explicit computation (#48919) 2020-12-05 22:29:39 +01:00
Nicolas Roche ff52f172e8 templatetags: deduce period and all_day_hours directely from data (#48919) 2020-12-05 22:26:37 +01:00
Nicolas Roche d75a455f4d templatetags: simplify get_period_from_data (#48919) 2020-12-05 21:49:41 +01:00
Nicolas Roche 2e0328ed29 tests: add new case when hours belongs on next day (#48919) 2020-12-05 21:45:21 +01:00
Nicolas Roche 3e8fd2843d templatetags: get badges from night hours (#48919) 2020-12-05 12:48:54 +01:00
Nicolas Roche 4570380949 templatetags: get opening hours ending after midnight (#48919) 2020-12-02 10:12:03 +01:00
Nicolas Roche 560af3110e templatetags: get opening hours directly from specifications (#48919) 2020-12-02 10:12:03 +01:00
Nicolas Roche 3b2d0c9b01 templatetags: correct timezone on openinghour specification (#48919) 2020-12-02 10:12:01 +01:00
Nicolas Roche 23f6a7f14d tests: add tests on night hours (#48919) 2020-12-02 10:11:09 +01:00
Frédéric Péters 1e849e1cfb settings: declare map layer marker slot (#49018) 2020-12-01 17:34:14 +01:00
Frédéric Péters c7ecf2ca46 ci: run tests (#48990) 2020-11-30 20:15:28 +01:00