Commit graph

9207 commits

Author SHA1 Message Date
Paul Chavard
93ba94a9e6 Add carte champ and geo area models 2018-10-16 14:01:12 +03:00
Paul Chavard
202e055b7b Add geo areas schema 2018-10-16 14:00:52 +03:00
gregoirenovel
b2c1a5b1c7
Merge pull request #2841 from betagouv/fix-2833
[Fix #2833] Move /fixtures files to /support
2018-10-16 11:03:44 +02:00
gregoirenovel
baf69acbcb [Fix #2833] Move /support files to /fixtures 2018-10-16 10:47:41 +02:00
Frederic Merizen
758c47343f
Merge pull request #2802 from betagouv/frederic/fix_2772-migrate_dossiers
Restore deleted dossiers
2018-10-16 10:47:19 +02:00
Frederic Merizen
bbdb446dfd [#2772] For unmigrated dossiers, make read-only access possible
and notify usager
2018-10-16 10:40:04 +02:00
Frederic Merizen
1e4ccda14c [#2772] Notify users that their dossier was restored 2018-10-16 10:40:04 +02:00
Frederic Merizen
3283cb1ae7 [#2772] Allow per-migrated-dossier callback 2018-10-16 10:40:04 +02:00
Frederic Merizen
bc22c97501 [#2772] Restore deleted dossiers for neph procedure 2018-10-16 10:40:04 +02:00
Frederic Merizen
f236e31c29 [#2772] Restore deleted dossiers for candidats libres procedure 2018-10-16 10:40:04 +02:00
Frederic Merizen
ecfacf8417 [#2772] Avoid touching champ update date 2018-10-16 10:40:04 +02:00
Frederic Merizen
1d0ce21555 [#2772] Migrate pieces justificatives 2018-10-16 10:40:04 +02:00
Frederic Merizen
840b049cdb [#2772] Allow untranslatable dossiers to be skipped 2018-10-16 10:40:04 +02:00
Frederic Merizen
dfe7f2cc45 [#2772] Also migrate private champs 2018-10-16 10:40:04 +02:00
Frederic Merizen
f7fcf46f0d [#2772] Avoid overriding initialize in subclasses 2018-10-16 10:40:04 +02:00
Frederic Merizen
6a3f7438d5 [#2772] Let migrator instantiate mapping from provided class 2018-10-16 10:40:04 +02:00
Frederic Merizen
968ccce7f0 [#2772] Move method to champ class 2018-10-16 10:40:04 +02:00
Frederic Merizen
11bd342897 [#2772] Helper methods can now be private 2018-10-16 10:40:04 +02:00
Frederic Merizen
55dfba68a3 [#2772] Extract method 2018-10-16 10:40:04 +02:00
gregoirenovel
8f3c427c70
Merge pull request #2839 from betagouv/ssl-typhoeus
Remove ssl_verifypeer option in ApiEntreprise::API.call
2018-10-16 10:31:07 +02:00
gregoirenovel
a8af27105d Remove ssl_verifypeer option in ApiEntreprise::API.call
SSL seems OK for https://entreprise.api.gouv.fr/
2018-10-16 10:23:30 +02:00
gregoirenovel
00dd1ed806
Merge pull request #2838 from betagouv/rest-client
Simplify ApiCarto::API.call
2018-10-16 10:23:11 +02:00
gregoirenovel
5a326db650 Simplify ApiCarto::API.call
SSL seems OK for https://apicarto.sgmap.fr
2018-10-16 10:16:44 +02:00
gregoirenovel
60a383e174
Merge pull request #2837 from betagouv/refactor-ban
Refactor ban
2018-10-16 09:44:21 +02:00
gregoirenovel
99894961a5 AddressController#get → #suggestions 2018-10-16 09:38:53 +02:00
gregoirenovel
6658b466cb address/get → address/suggestions 2018-10-16 09:38:53 +02:00
gregoirenovel
43f9fc93de AddressController#get_address_point → #geocode 2018-10-16 09:38:53 +02:00
gregoirenovel
f01057267b address/address_point → address/geocode 2018-10-16 09:38:53 +02:00
gregoirenovel
e667cad617 ban → address 2018-10-16 09:38:53 +02:00
gregoirenovel
79ebdc3443 Ban::SearchController → AddressController 2018-10-16 09:38:53 +02:00
gregoirenovel
b4911b8a70
Merge pull request #2836 from betagouv/carto-lib-3
Carto lib 3
2018-10-16 09:38:16 +02:00
gregoirenovel
0018326451 Add some spacing to specs 2018-10-16 09:33:16 +02:00
gregoirenovel
f66f0f9668 Remove two useless initialize methods 2018-10-16 09:33:16 +02:00
gregoirenovel
22088b167d Remove ApiAdresse::Geocodeur 2018-10-16 09:33:16 +02:00
gregoirenovel
d68aca545a Refactor ApiAddresse::PointAdapter 2018-10-16 09:33:16 +02:00
gregoirenovel
145880555e ApiAdresse::PointAdapter#point → #geocode 2018-10-16 09:33:16 +02:00
gregoirenovel
af716fa3c6 ApiAdresse::PointRetriever → ApiAdresse::PointAdapter 2018-10-16 09:33:16 +02:00
gregoirenovel
81d2b27160 Refactor ApiAdresse::AddressAdapter 2018-10-16 09:33:16 +02:00
gregoirenovel
7af41b35a2 ApiAdresse::AddressAdapter#list → #get_suggestions 2018-10-16 09:33:16 +02:00
gregoirenovel
517c0ad3fc ApiAdresse::AddressRetriever → ApiAdresse::AddressAdapter 2018-10-16 09:33:16 +02:00
Paul Chavard
4d963901a8
Merge pull request #2834 from betagouv/carto-lib-2
Carto lib 2
2018-10-16 10:32:51 +03:00
gregoirenovel
32b27ba111 Add some spacing 2018-10-15 23:31:23 +02:00
gregoirenovel
76cf9ab746 ApiGeo::Driver → ApiGeo::API 2018-10-15 23:31:23 +02:00
gregoirenovel
c654122e90 Unify scoping in app/lib 2018-10-15 23:31:23 +02:00
gregoirenovel
831cd56b95 Remove comments in ApiAdresse 2018-10-15 23:31:23 +02:00
gregoirenovel
8b4ba42f15 Simplify ApiAdresse 2018-10-15 23:31:23 +02:00
gregoirenovel
a841a517df ApiAdresse::Driver → ApiAdresse::API 2018-10-15 23:31:23 +02:00
gregoirenovel
5db4de6c53 QuartiersPrioritaires::Adapter → QuartiersPrioritairesAdapter 2018-10-15 23:31:23 +02:00
gregoirenovel
918a91a985 ApiCarto::Cadastre::Adapter → ApiCarto::CadastreAdapter 2018-10-15 23:31:23 +02:00
gregoirenovel
dc28e79ab4 Group API Entreprise mock responses in a folder 2018-10-15 23:31:23 +02:00