Agate
979bfb7ca9
ci: update .tar.gz URLs for gitea (like #74706 )
gitea/passerelle-atreal-openads/pipeline/head There was a failure building this commit
Details
2023-02-22 16:50:31 +01:00
Agate
d7570c9910
Prepare Jenkinsfile for Gitea migration ( #74572 )
gitea/passerelle-atreal-openads/pipeline/head There was a failure building this commit
Details
2023-02-20 15:12:19 +01:00
Frédéric Péters
b305334c75
tox: limit psycopg2 to < 2.9 ( #54925 )
2021-06-17 08:50:03 +02:00
Frédéric Péters
156ff794f4
tests: give an explicit name when creating files ( #53755 )
...
Django 2.2.21 introduced the validation of FieldFile.save() name
argument, which cannot contain a path separator anymore.
ref. https://docs.djangoproject.com/en/3.2/releases/2.2.21/
2021-05-13 09:15:24 +02:00
Frédéric Péters
43c7cf6fcc
tests: cast order_by to lists
2021-01-05 09:15:48 +01:00
Frédéric Péters
a76678bfcf
build: update to use origin/main
2020-12-26 15:21:16 +01:00
Frédéric Péters
a6b22e6b40
tox: limit mock version for compatibility with python 3.5
2020-10-06 09:26:03 +02:00
Frédéric Péters
5e08716cd9
tox: get additional modules using https (via #46904#note-2)
2020-09-24 20:04:05 +02:00
Frédéric Péters
214f8e813d
tox: stop testing against python 2
2020-09-09 08:04:34 +02:00
Frédéric Péters
f4092a6534
build: don't install manage.py
2020-06-12 13:10:29 +02:00
Frédéric Péters
55f359c09d
jenkins: build for all default distributions
2020-06-12 13:07:40 +02:00
Frédéric Péters
417768cce7
misc: remove README extraction for setup long description
2020-06-12 12:59:51 +02:00
Frédéric Péters
2dc4176591
debian: add python3 packaging
2020-06-12 12:53:54 +02:00
Frédéric Péters
14fd10268e
build: sync setup.py
2020-06-12 12:53:40 +02:00
Thomas NOËL
7066d22b0a
tests: run tests with postgres
2020-05-09 13:49:10 +02:00
Thomas NOËL
b84bec87e9
switch to native postgresql json field
2020-05-09 13:33:14 +02:00
Benjamin Dauvergne
fe1b4fa541
misc: move AddIndex to end of 0002 migration ( #39544 )
...
Automatic generation does not sort AddIndex for manual indexes correctly
with respect to Remove/AddField.
2020-05-01 01:41:40 +02:00
Benjamin Dauvergne
d4d1234615
misc: add proper 0002 migration ( #39544 )
...
0001 should never be modified apart from cosmetic changes.
2020-05-01 01:41:40 +02:00
Benjamin Dauvergne
f5828d45e4
tox.ini: add env to manipulate migrations ( #39544 )
...
tox -e manage makemigrations
2020-05-01 01:41:40 +02:00
Benjamin Dauvergne
97932ec03c
misc: remove explicit byte string in migrations for py3 ( #39544 )
2020-05-01 01:41:40 +02:00
Benjamin Dauvergne
9865ae0b61
misc: fix package path in migration ( #39544 )
2020-05-01 01:41:40 +02:00
Benjamin Dauvergne
9656393c58
misc: restore initial 0001 migration ( #39544 )
2020-05-01 01:41:40 +02:00
Emmanuel Cazenave
78f65b8603
tox: add psycopg2 in deps
2020-04-26 08:41:05 +02:00
Frédéric Péters
424417c08c
tox: limit enum34 to 1.1.6, for python 2 compatibility
2020-02-22 10:12:05 +01:00
Emmanuel Cazenave
4aa84aed42
run tests against python3 ( #39533 )
2020-02-04 18:35:08 +01:00
Emmanuel Cazenave
ab07851642
cast version to string ( #39533 )
2020-02-04 17:29:11 +01:00
Emmanuel Cazenave
351a1a6242
adapt tests to python3 ( #39533 )
2020-02-04 17:28:28 +01:00
Emmanuel Cazenave
60d2884f8c
use items() instead of iteritems() ( #39533 )
2020-02-04 17:27:47 +01:00
Emmanuel Cazenave
253fc22a15
adapt chunk read to binary data ( #39533 )
2020-02-04 17:27:19 +01:00
Emmanuel Cazenave
436022883a
open file in binary mode ( #39533 )
2020-02-04 17:26:51 +01:00
Emmanuel Cazenave
5747367a56
use response.text when expecting text ( #39533 )
2020-02-04 17:26:18 +01:00
Emmanuel Cazenave
0ecaa0d858
grab url methods form six ( #39533 )
2020-02-04 17:25:01 +01:00
Emmanuel Cazenave
87c7468ab1
catch binascii.Error when decoding base64 ( #39533 )
2020-02-04 17:23:20 +01:00
Emmanuel Cazenave
5b788a5dff
grab HTMLParser from six and adapt initialization to py3 ( #39533 )
2020-02-04 17:21:41 +01:00
Emmanuel Cazenave
37534c6980
use six types when calling isinstance() ( #39533 )
2020-02-04 17:19:16 +01:00
Emmanuel Cazenave
90bdb52e90
use python_2_unicode_compatible for objects representation ( #39533 )
2020-02-04 17:13:50 +01:00
Emmanuel Cazenave
090e4d2bc3
use force_text() instead of unicode() ( #39533 )
2020-02-04 17:09:09 +01:00
Emmanuel Cazenave
671afb17ec
migration: use text instead of bytes ( #39533 )
2020-02-04 17:01:46 +01:00
Frédéric Péters
864bd92deb
tox: limit to xmlschema < 1.1, for Python 2 compatibility
2020-01-24 09:44:34 +01:00
Michael Bideau
a0ae081b74
Models: fixed url concatenation (removed '/' at the begining of the second part)
2019-12-05 21:31:40 +01:00
Michael Bideau
05a81aa993
Pylint: fixed 'keyword-arg-before-vararg' and module order issues
2019-10-29 18:26:56 +01:00
Michael Bideau
498a36bba3
Tests: fixed failing 'test_get_courrier_type' because of previous commit
2019-10-29 18:00:58 +01:00
Michael Bideau
1214526b1a
Replaced courrier_type 'decision_non_opposition_DP' with 'decision_nom_opposition_sr'
2019-10-28 18:38:45 +01:00
Michael Bideau
6809c75d33
Make the connector more generic; Fixed urls and some pylint issues
...
Features
* Added 'get_courrier_type' endpoint that return a 'courrier type' for a given type_dossier
* Added url parameter 'type_dossier_detaille' to 'create_dossier' to post it in the request body
* Replaced the way 'type fichier' is defined: now looks into 'XXX_type_raw' for file 'XXX'
Fixes
* Url components are now encoded
* Pylint warnings
* Loging do not raise an error when 'files' var is empty in 'create_dossier'
Tests
* Added 2 new errors tests to 'test_create_dossier'
* Added 'test_get_courrier_type' to test endpoint 'get_courrier_type'
* Fixed pylint warnings
2019-10-24 17:24:55 +02:00
Frédéric Péters
6197d8ae62
misc: fix debug log call to receive string as first parameter
2019-10-16 08:37:12 +02:00
Emmanuel Cazenave
7b5ec7f6fe
jenkins: use ci@entrouvert.org for notifications
2019-10-02 14:09:52 +02:00
Michael Bideau
31ee9a8ea6
Tests: Refactoring: moving fixtures to conftest.py, added some fixture for ForwardFile and HttpRequest
2019-08-26 14:32:32 +00:00
Michael Bideau
38061d4593
Locales: added translations for 'fr' locale
2019-08-22 16:41:51 +00:00
Michael Bideau
a739371cef
Features: adding verbose name to all fields (mainly ForwardFile ones)
2019-08-22 16:41:28 +00:00
Michael Bideau
a951f062f0
Refactoring: fix most of the (many) 'flake8' complaints
2019-08-22 16:02:06 +00:00