Commit Graph

63 Commits

Author SHA1 Message Date
Serghei Mihai 28d11bc31b code refactoring (#12412)
gitea/passerelle-montpellier-encombrants/pipeline/head This commit looks good Details
2023-06-12 16:49:50 +02:00
Valentin Deniaud 164021cf9e misc: apply pre-commit-hooks (#74979) 2023-03-01 14:56:15 +01:00
Frédéric Péters 6ced0d2180 trivial: apply new pre-commit configuration (isort & pyupgrade) 2022-08-10 09:02:33 +02:00
Thomas NOËL aa5840d4a6 misc: remove usage of "six" module (#64417) 2022-04-21 10:55:17 +02:00
Frédéric Péters 76724612b3 translation update 2022-04-06 21:18:39 +02:00
Frédéric Péters cede43de4b add option to use http basic auth to retrieve formdatas (#63469) 2022-04-01 16:42:54 +02:00
Nicolas Roche a016a66115 django22: on_delete on ForeignKey and OneToOne fields (#51125) 2021-03-04 13:56:00 +01:00
Nicolas Roche 90b7762a8b django22: import django.urls (#51125) 2021-03-04 13:04:38 +01:00
Frédéric Péters f7348a846d trivial: apply black 2021-01-11 19:02:29 +01:00
Frédéric Péters 18e522f554 misc: remove unnecessary encoding (#44545) 2020-06-29 12:02:31 +02:00
Frédéric Péters f115bf6488 Revert to old delays behaviour (cancel 41070)
Revert "tests: adapt to new delays (#41070)"
Revert "always notify for two days (#41070)"
Revert "close available days a day earlier (#41070)"
2020-05-20 19:38:19 +02:00
Frédéric Péters 1ecb13df6b misc: get urllib.quote from six 2020-05-20 19:36:03 +02:00
Frédéric Péters e551fe8898 always notify for two days (#41070) 2020-03-26 18:21:43 +01:00
Frédéric Péters 9398c04220 close available days a day earlier (#41070) 2020-03-26 18:18:17 +01:00
Emmanuel Cazenave 10284247ec move tests in tests/ directory (#39560) 2020-02-05 13:47:13 +01:00
Emmanuel Cazenave 0afd56441d use items() instead of iteritems() (#39560) 2020-02-05 13:39:23 +01:00
Emmanuel Cazenave fce66ba72e use py3 compati^Ce except syntax (#39560) 2020-02-05 13:38:49 +01:00
Emmanuel Cazenave 5bf620f918 use python_2_unicode_compatible for objects representation (#39560) 2020-02-05 13:37:45 +01:00
Frédéric Péters 7384d3e37d use a dictionary for context (django 1.11) 2019-05-06 10:36:15 +02:00
Frédéric Péters 7467c3dfb9 skip command if settings do not exist (#30284) 2019-02-04 06:28:46 +01:00
Frédéric Péters 893e4e7a8b remove log level attribute (#27162) 2018-11-19 15:00:32 +01:00
Frédéric Péters 425398fb13 migrations: mark slug as unique from the start (#20937) 2018-01-11 08:52:35 +01:00
Frédéric Péters 4bbfc767ef misc: disable db_index in slug fields to work around migration bug (#20937) 2018-01-02 13:59:57 +01:00
Frédéric Péters ec0a214ff8 general: update urls.py for django 1.11 (#20934) 2018-01-01 12:09:18 +01:00
Serghei Mihai 884d749d6f make slug unique (#13053) 2017-12-20 11:15:22 +01:00
Frédéric Péters 0022731900 misc: make title/slug/description translatable (#15660) 2017-12-12 07:29:51 +01:00
Frédéric Péters 017dfe6813 don't expose Monday for requests made on Saturday (#15880) 2017-04-14 12:57:11 +02:00
Frédéric Péters df480d1043 update templates to match summer 2016 gadjo changes (#15732) 2017-04-03 15:01:29 +02:00
Frédéric Péters 62ab9b4cbd make all forms/views compatible with django 1.8 (#15731) 2017-04-03 15:01:29 +02:00
Serghei Mihai e1a697c433 don't display Monday collect day on Friday eve (#10859) 2016-05-09 10:30:16 +02:00
Serghei Mihai 612e451386 remove "volume" and "type" columns from email ods (#9924) 2016-04-16 10:26:25 +02:00
Serghei Mihai f16fe9fb5b sort ods by 'commune' and 'voie' columns (#9925) 2016-04-16 10:25:41 +02:00
Frédéric Péters ea51cd37bc fix pieces of django 1.8 compatibility 2016-04-09 13:03:23 +02:00
Frédéric Péters b162999bd1 misc: add migration for passerelle log_level addition 2016-04-08 17:15:49 +02:00
Frédéric Péters 23e0b423ee ignore cancelled requests (#9871) 2016-02-04 13:47:56 +01:00
Serghei Mihai e25bec5ec9 "che" means "chemin" (#9208) 2015-12-04 17:04:15 +01:00
Serghei Mihai 209e76fd63 export formdata in ods file (#9178) 2015-12-04 09:56:49 +01:00
Serghei Mihai 07692842fb fix current weekday computing 2015-12-01 18:54:02 +01:00
Serghei Mihai 2c6be693f6 use empty string for empty form elements 2015-12-01 18:53:58 +01:00
Serghei Mihai c6813aebe4 increase contact email field size (#9164) 2015-12-01 11:44:17 +01:00
Frédéric Péters 484826cfc1 misc: on Fridays send emails for Sat and Sun and Mon (#9018) 2015-11-18 12:10:38 +01:00
Serghei Mihai aba220d7b6 allow commune edit (#8626) 2015-10-13 23:25:13 +02:00
Serghei Mihai 944094c4b8 add commune, first and last names in attached csv (#8561) 2015-10-09 09:30:42 +02:00
Serghei Mihai 138ca5c0a3 strip email subject 2015-10-07 08:09:52 +02:00
Serghei Mihai 01f404a75b get all formdata at once using "full=on" (#8512) 2015-10-06 09:41:41 +02:00
Serghei Mihai 5b10a3232d search next demands in all formdatas 2015-10-05 15:21:13 +02:00
Serghei Mihai 25d016ea6b read street name and number separately in formdata 2015-09-24 00:28:51 +02:00
Serghei Mihai d50d427ee3 allow multiple emails for sectors (#8268) 2015-09-17 09:39:27 +02:00
Serghei Mihai 6f64d3b239 notify sectors about new demands (#7604) 2015-07-10 12:01:44 +02:00
Serghei Mihai 5bea7ec74e define optional sectors via street list for commune (#7603) 2015-07-10 11:35:49 +02:00