Commit Graph

63 Commits

Author SHA1 Message Date
Frédéric Péters 7dae4773f0 misc: sort using key parameter (#44465) 2020-06-26 06:40:20 +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
Frédéric Péters 4b4970cac3 add viewer/ URL to redirect to SIG viewer (#10799) 2016-05-02 17:38:54 +02:00
Frédéric Péters f5a8764436 misc: use a point inside Montpellier in example URL 2016-05-02 17:38:54 +02:00
Serghei Mihai c19b87cc6a add endpoint for getting district and subdistrict (#10027) 2016-04-28 14:16:40 +02:00
Frédéric Péters 8062d4641a misc: add migration for passerelle log_level addition 2016-04-08 17:16:40 +02:00
Frédéric Péters a666f2ce84 update test to check for CHEMIN, not CHAUSSEE 2016-02-02 17:19:58 +01:00
Serghei Mihai 96c0c1b6ce "che" means "chemin" (#9208) 2015-12-04 17:03:39 +01:00
Serghei Mihai 19672529ae fix street numbers geographical coords reading (#8238) 2015-09-23 10:43:43 +02:00
Frédéric Péters b1aa0db213 move connector to GIS category 2015-09-05 19:22:03 +02:00
Serghei Mihai 60d8522455 fix coords order when calling GIS webservice
Closes #7349
2015-07-28 14:07:54 +02:00
Serghei Mihai 0075b0ce13 setup.py: remove entry point declaration 2015-06-22 17:09:21 +02:00