Commit Graph

165 Commits

Author SHA1 Message Date
Frédéric Péters 2577400045 protect openinghours parsing against null value (#84537)
gitea/combo-plugin-gnm/pipeline/head This commit looks good Details
2023-12-11 10:12:40 +01:00
Frédéric Péters 7f240c2090 adapt retrieval url for usage in place pages (#83742)
gitea/combo-plugin-gnm/pipeline/head This commit looks good Details
2023-11-28 13:06:51 +01:00
Frédéric Péters 9d1e5d96a2 add parsing of card schedule fields (#83742)
gitea/combo-plugin-gnm/pipeline/head This commit looks good Details
2023-11-21 10:36:12 +01:00
Frédéric Péters 608a3b2404 allow subslug pages as place page (#83742) 2023-11-21 10:36:12 +01:00
Frédéric Péters e7f732e5b0 declare json cell type for "lieu d'accueil" (#83742) 2023-11-21 10:36:11 +01:00
Valentin Deniaud 62e2e241da misc: apply double-quote-string-fixer (#79788) 2023-08-16 11:52:19 +02:00
Frédéric Péters c29f3f3236 reporting: strip url to listings (#71239) 2022-11-12 10:05:18 +01:00
Frédéric Péters bc55309eb1 ignore missing atmo api token settings 2022-09-11 11:52:37 +02:00
Frédéric Péters 3a466d7a98 misc: update api atmo url to always get data (#56178) 2022-09-11 09:12:20 +02:00
Frédéric Péters f650cf4e92 add api calls for revamped air quality tile (#56178) 2022-09-11 09:12:20 +02:00
Frédéric Péters b8ad5553f9 move atmo api token to settings (#56178) 2022-09-11 09:12:20 +02:00
Frédéric Péters b7456da8d9 mark json entries to be used as tiles (#68618) 2022-09-01 13:36:47 +02:00
Frédéric Péters 6659323d60 add entries for new tiles (#66875) 2022-07-22 09:15:39 +02:00
Frédéric Péters c7996a8425 trivial: apply new pre-commit hooks 2022-06-18 10:35:14 +02:00
Frédéric Péters 2e551daa9d add gnm_update_settings command to set toodego specific settings (#64909) 2022-06-18 10:33:32 +02:00
Frédéric Péters 2c2b9d4306 remove urls/views (#64910) 2022-05-31 18:51:07 +02:00
Frédéric Péters 417097b315 templatetags: remove duplicate json_script tag 2022-05-31 10:53:28 +02:00
Frédéric Péters ec7b596ce4 misc: remove usage of django.utils.six (#63683) 2022-04-17 10:44:07 +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 8c75b8885b ignore pages with layer name as slug anchored as root 2021-06-06 17:21:08 +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 99f47e5ef6 add |form_asset_url filter to form asset url from commune sites (#51632) 2021-03-16 09:56:35 +01:00
Nicolas Roche 7764be274a templatetags: manage exceptions on opening hours (#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 2d00832fc2 trivial: apply black 2021-01-11 21:31:40 +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 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 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
Frédéric Péters 5bf278e014 detect and skip erroneous layers (#48949) 2020-11-28 09:49:48 +01:00
Frédéric Péters d9762e6683 don't create pages with empty titles 2020-11-24 17:57:22 +01:00
Frédéric Péters 7f60bd72e8 ignore invalid dayOfWeek in opening hours specs (#48792) 2020-11-24 14:05:05 +01:00