Commit Graph

249 Commits

Author SHA1 Message Date
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
Frédéric Péters b928e96166 tests: update to match behaviour change from #40054 2020-11-30 13:01:13 +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
Frédéric Péters de3353bdf2 declare assets for new commerce tiles (#48697) 2020-11-24 13:47:50 +01:00
Frédéric Péters d7d96db6a8 declare tiles for commerces (#48697) 2020-11-24 13:36:41 +01:00
Frédéric Péters 274e139cbe ignore invalid opening hours entries (#48702) 2020-11-20 10:18:45 +01:00
Frédéric Péters 1e300df3d8 declare tiles to be used as pages in tile settings
This makes it possible to add new place pages without editing gnm_create_places.
2020-11-20 07:59:21 +01:00
Frédéric Péters a3e97a6534 use same template for all urgence-sanitaire-... tiles (#48496) 2020-11-19 19:33:37 +01:00
Frédéric Péters 57730993c0 trivial: remove unused import 2020-11-17 15:31:27 +01:00
Frédéric Péters acb41794fe declare "urgences sanitaires" pages/tiles (#48496) 2020-11-17 15:29:30 +01:00
Frédéric Péters ebb6379ef2 commands: get all properties when creating place pages 2020-11-17 15:28:09 +01:00
Christophe Siraut fe2e2f0496 jenkins: build for default suite targets 2020-08-21 00:10:28 +02:00
Frédéric Péters 5e8ba55f6d use data cached in opengis connector where possible 2020-05-20 17:49:05 +02:00
Frédéric Péters 5a6a0f792a adapt reporting command to new custom view URLs (#43164) 2020-05-20 17:49:05 +02:00
Frédéric Péters bc05147ced fix indentation of parkingtr entry 2020-05-18 14:37:35 +02:00
Frédéric Péters 444b16fc1e pass credentials to get TCL realtime data 2020-05-18 14:37:35 +02:00
Frédéric Péters 876687f548 switch silos-a-verre data source to geojson 2020-05-18 14:37:35 +02:00
Frédéric Péters efd24eb99a debian: stop building python2 package 2020-05-15 12:46:56 +02:00
Frédéric Péters a8725ab961 fix suggestion of arrondissement mairie 2020-05-15 12:33:02 +02:00
Frédéric Péters c24baefb06 get arrondissement mairie in case of lyon city (#42813) 2020-05-13 15:12:08 +02:00