Commit Graph

73 Commits

Author SHA1 Message Date
Nicolas Roche cf296b7c66 django22: declare django2.2 in setup and tox (#51125) 2021-02-15 19:22:57 +01:00
Nicolas Roche 04346a9d13 django22: remove unused import (#51146) 2021-02-15 19:13:10 +01:00
Frédéric Péters a38b98b412 tox: add black (via pre-commit) to tests (#50927) 2021-02-15 17:51:42 +01:00
Frédéric Péters 86399b0ecf misc: add black files/notes 2021-01-11 19:05:51 +01:00
Frédéric Péters 917a485d7b trivial: apply black 2021-01-11 19:05:23 +01:00
Frédéric Péters cb7edde0e1 build: update to use origin/main 2020-12-26 15:21:16 +01:00
Frédéric Péters 932ca3a219 tox: get additional modules using https (via #46904#note-2) 2020-09-24 20:05:02 +02:00
Frédéric Péters cfaaf2fd5b tox: stop testing against python 2 2020-09-09 08:00:15 +02:00
Valentin Deniaud 74cd2939b4 tox: tell setuptools to use distutils from stdlib (#46252) 2020-09-01 14:42:47 +02:00
Serghei Mihai 300812c3b8 py3: convert encode query to text (#44464) 2020-06-26 11:30:44 +02:00
Frédéric Péters fb51303820 misc: sort using key parameter (#44465) 2020-06-26 08:53:35 +02:00
Serghei Mihai 394560a9e4 py3: convert query string to text (#44464) 2020-06-26 00:18:52 +02:00
Frédéric Péters eb0803f8fa debian: add python3 module 2020-06-12 12:10:27 +02:00
Frédéric Péters 390005aa91 misc: sync setup.py 2020-06-12 12:08:23 +02:00
Frédéric Péters bd676bd356 tests: set db backend from environment, then force postgresql 2020-05-20 19:34:24 +02:00
Emmanuel Cazenave 3ee4029f02 tox: add psycopg2 in deps 2020-04-26 08:28:06 +02:00
Christophe Siraut 491787da0c Jenkinsfile: use default distribution target (#41301) 2020-04-24 15:47:51 +02:00
Frédéric Péters cbecdc4819 tox: limit enum34 to 1.1.6, for python 2 compatibility 2020-02-22 18:44:24 +01:00
Emmanuel Cazenave 826e1e008a run tests in jenkins (#39569) 2020-02-05 15:54:43 +01:00
Emmanuel Cazenave 5b4fa9a321 use tox to run tests (#39569) 2020-02-05 15:49:53 +01:00
Emmanuel Cazenave 48fcc18e68 move tests in tests/ directory (#39569) 2020-02-05 15:49:05 +01:00
Emmanuel Cazenave 3803186e33 cast version to string (#39569) 2020-02-05 15:47:19 +01:00
Emmanuel Cazenave d367723451 use py3 compatible except syntax (#39569) 2020-02-05 15:46:43 +01:00
Emmanuel Cazenave 9cfbe22142 make explicit relative imports (#39569) 2020-02-05 15:45:46 +01:00
Emmanuel Cazenave d570d292d4 jenkins: use ci@entrouvert.org for notifications 2019-10-02 14:20:13 +02:00
Frédéric Péters 16c6e21a73 add Jenkinfile 2019-09-23 16:06:29 +02:00
Frédéric Péters 7a4a59fd7c add support for ?id= parameter to voies/<commune> endpoint 2019-03-20 21:22:04 +01:00
Thomas NOËL 5198c0a9bf do not crash on empty name (#30409) 2019-02-05 16:44:37 +01:00
Frédéric Péters 9a54a43dc7 debian: declare apps when installed 2019-01-26 09:22:50 +01:00
Frédéric Péters 8ca09ef0ca remove log level attribute (#27162) 2018-11-19 15:01:04 +01:00
Frédéric Péters eafc15f87b add error handling to district view (#24543) 2018-06-15 20:31:48 +02:00
Frédéric Péters 0330cc3a87 fix error check as webservice result is not always a dictionary (#24543) 2018-06-15 08:55:32 +02:00
Frédéric Péters 695b4c8e6f silently return empty lists on hebe errors (#24543) 2018-06-14 15:20:30 +02:00
Frédéric Péters 3e9b49717f add availability monitoring (#21050) 2018-01-12 13:56:07 +01:00
Frédéric Péters 1efb7a65c1 add appconfig to declare connector URLs (#21150) 2018-01-12 13:56:07 +01:00
Frédéric Péters 0058d36cfc update urls.py for django 1.11 (#21150) 2018-01-12 13:56:07 +01:00
Frédéric Péters 70b6148637 migrations: mark slug as unique from the start (#20937) 2018-01-11 08:53:03 +01:00
Frédéric Péters 7d6b308e7e fix cut/paste error in migration change 2018-01-02 14:02:01 +01:00
Frédéric Péters 599c386326 misc: disable db_index in slug fields to work around migration bug (#20937) 2018-01-02 13:59:07 +01:00
Serghei Mihai 7b0b289330 make slug unique (#13053) 2017-12-20 11:16:32 +01:00
Frédéric Péters 11e931b924 misc: make title/slug/description translatable (#15660) 2017-12-12 07:30:35 +01:00
Frédéric Péters 4f724a3225 hardcode list of communes (#16045) 2017-04-26 13:31:17 +02:00
Serghei Mihai 49efa04f4f provide conf file for tests 2017-01-16 18:08:28 +01:00
Serghei Mihai 41e33bbc98 raise APIError if service is not available (#14596) 2017-01-16 16:38:30 +01:00
Benjamin Dauvergne b3995eaebd remove dead imports 2016-07-28 17:12:52 +02:00
Benjamin Dauvergne f3fddf5735 replace json.loads(resp.content) by simpler resp.json() (#8240) 2016-07-28 17:12:19 +02:00
Benjamin Dauvergne cca2f6d621 fix undefined e variable (#8240) 2016-07-28 17:10:22 +02:00
Frédéric Péters 14c187b554 add short connector slug for backward compatibility 2016-07-28 16:17:14 +02:00
Serghei Mihai 3165d92c99 general: refactor to new style of connector (#12411) 2016-07-04 19:21:56 +02:00
Serghei Mihai 71aaeb2068 return empty list if error occurs on hebe (#8240) 2016-07-04 19:21:44 +02:00