Commit graph

6482 commits

Author SHA1 Message Date
gregoirenovel
d9aedcdd24
Merge pull request #3155 from betagouv/fix_3154_header_order
[fix #3154] order export
2018-12-10 16:46:58 +01:00
simon lehericey
5a87fad02e [fix #3154] order export 2018-12-10 16:41:37 +01:00
Pierre de La Morinerie
eeea623cf9
Merge pull request #3129 from betagouv/cache-geo-api-requests
Cache Geo Api requests
2018-12-10 11:44:34 +01:00
Pierre de La Morinerie
30774aa189 api_geo: cache requests for one day
This should make the 500 errors that we get in production less frequent.

NB: Unfortunately we can't write a spec for the caching behavior, as the
VCR mocks are never cached.
2018-12-10 11:41:07 +01:00
Pierre de La Morinerie
a0ae1afb45 typhoeus: add a cache store for successful requests 2018-12-10 11:41:07 +01:00
gregoirenovel
f7c65e8b57
Merge pull request #3138 from betagouv/api-v3
Api v3
2018-12-10 10:54:26 +01:00
gregoirenovel
3b0562949c Ask API Entreprise for insee v3 2018-12-10 10:49:56 +01:00
gregoirenovel
31250b4642 Make more ApiEntreprise::API methods private 2018-12-10 10:48:57 +01:00
Frederic Merizen
1ff1a0b4e9
Merge pull request #3148 from betagouv/frederic/fix_2180/speed_up_migration
#2180 speed up migration
2018-12-10 10:31:41 +01:00
Frederic Merizen
c72216aafd [#2180] Batch fetch new PJ modification times
To speed up transfer
2018-12-08 15:58:32 +01:00
Frederic Merizen
270c7568fa [#2180] Avoid fetching old PJ modification times separately
Speeds up transfer
2018-12-08 15:55:40 +01:00
Frederic Merizen
7b18c51483 [#2180] Add separate notification for (slow) PJ listing 2018-12-08 15:38:45 +01:00
gregoirenovel
64c45c4789
Merge pull request #3145 from betagouv/fix_cellar
Really fix #3133
2018-12-07 17:05:18 +01:00
Frederic Merizen
35fc41fb9f Really fix #3133 2018-12-07 16:59:25 +01:00
Frederic Merizen
c9d34c0e86
Merge pull request #3144 from betagouv/frederic/fix_2180/progress_report_edge_cases
[#2180] Fix edge cases for progress report
2018-12-07 16:58:31 +01:00
Frederic Merizen
84cfdcf617 [#2180] Fix edge cases for progress report 2018-12-07 16:45:14 +01:00
Frederic Merizen
1820008a31
Merge pull request #3141 from betagouv/frederic/fix_2180/improve_migration_task
Improve PJ migration task
2018-12-07 15:31:22 +01:00
Frederic Merizen
8c64ab9995 [#2180] Remove dead files before fixing mime types
To avoid trying to fix the mime type of non-existing files
2018-12-07 15:30:10 +01:00
Frederic Merizen
907e87809b [#2180] Iterate over storage keys rather than blobs
To create less confusion on dev
2018-12-07 15:30:10 +01:00
Frederic Merizen
c6c8bea095 [#2180] Progress reporter that doesn't crash 2018-12-07 15:30:10 +01:00
Frederic Merizen
6522248801
Merge pull request #3142 from betagouv/frederic/fix_3133_upload
Fixer l’upload
2018-12-07 15:29:16 +01:00
Frederic Merizen
57f2895938 [#3133] Bump activestorage-openstack to fix on openstack 2018-12-07 15:19:18 +01:00
Frederic Merizen
8e0408093b [#3133] Change signature of upload for cellar to match upstream evolution 2018-12-07 15:19:18 +01:00
gregoirenovel
a9b4150b3b
Merge pull request #3139 from betagouv/fix-sentry-105
Fix Sentry 105
2018-12-07 10:48:47 +01:00
Mathieu Magnin
aba9dfdd5c Fix Sentry 105, https://stackoverflow.com/questions/53560064/unknown-keyword-content-type-in-active-storage-5-2-1-1 2018-12-07 10:40:40 +01:00
gregoirenovel
26837436dd
Merge pull request #3127 from pengfeidong/fix_2813_not_clone_lien_notice_in_procedure
[fix #2813] set lien_notice nil when clone a procedure
2018-12-06 21:32:46 +01:00
pedong
f70f276ae9 [fix #2813] set lien_notice nil when clone a procedure 2018-12-06 21:28:08 +01:00
gregoirenovel
c12586f522
Merge pull request #3132 from betagouv/fix-3130
Add Matomo tracking code for logged usagers
2018-12-06 19:56:58 +01:00
Chaïb Martinez
80133601c7 Add Matomo tracking code for logged usagers 2018-12-06 19:44:50 +01:00
Mathieu Magnin
19d9d83ca4
Merge pull request #2994 from betagouv/fix_598_delete_old_pj
DossierController: user can destroy new pjs
2018-12-06 11:19:01 +01:00
simon lehericey
db6c86b242 DossierController: user can destroy pjs 2018-12-06 10:45:10 +01:00
gregoirenovel
4c7c09c270
Merge pull request #3050 from betagouv/frederic/fix_2999-fluent_login_after_email_validation
[Fix #2999] Send gestionnaire back to what they were doing after email verification
2018-12-06 10:08:22 +01:00
Frederic Merizen
4699e515ed [Fix #2999] Send gestionnaire back to what they were doing after email verification 2018-12-06 10:03:21 +01:00
Paul Chavard
f1398f62f8
Merge pull request #3122 from tchak/revert-carto-api-change
Revert legacy carte API to parsed json
2018-12-05 18:27:27 +01:00
Paul Chavard
ee93b4e33d Revert legacy carte API to parsed json 2018-12-05 18:19:15 +01:00
Paul Chavard
d1825b7b3c
Merge pull request #3046 from tchak/dossier-export-service
Procedure export dossiers with champs siret
2018-12-05 17:25:45 +01:00
Paul Chavard
35494df78e Procedure export dossiers with champs siret 2018-12-05 17:09:39 +01:00
Frederic Merizen
b42d231938
Merge pull request #3112 from betagouv/frederic/fix_2180/finish-transfer
#2180 finaliser le transfert des PJs
2018-12-05 16:33:28 +01:00
Frederic Merizen
34bafacd49 [#2180] Transfer missing files from old to new pj storage 2018-12-05 16:27:36 +01:00
Frederic Merizen
9ceb4259b3 [#2180] Remove unused objects in new storage 2018-12-05 16:27:36 +01:00
Frederic Merizen
477af84186 [#2180] Fix MIME types 2018-12-05 16:27:36 +01:00
Frederic Merizen
045579f7ae [#2180] Empty skeleton for pj transfer cleanup task 2018-12-05 16:27:36 +01:00
Pierre de La Morinerie
fdf4509573
Merge pull request #3111 from betagouv/instructeur-see-draft-demarches
Affiche les démarches en test dans la liste des Instructeurs
2018-12-05 15:52:03 +01:00
Pierre de La Morinerie
e206f3d4d4 gestionnaire: display draft procedures in the list
Fix #3088
2018-12-05 15:38:20 +01:00
Pierre de La Morinerie
421f125c45 gestionnaire_spec: factorize a assign helper 2018-12-05 15:38:20 +01:00
Paul Chavard
2e29825415
Merge pull request #3118 from tchak/messages-user_id
Add user_id and gestionnaire_id to commentaires
2018-12-05 14:10:09 +01:00
Paul Chavard
a08f170dbd Assign users and gestionnaires to commentaires
fix #2052
2018-12-05 13:40:57 +01:00
Paul Chavard
b927ab4568 Add user_id and gestionnaire_id to commentaires 2018-12-05 11:25:18 +01:00
gregoirenovel
713557bf23
Merge pull request #3121 from betagouv/sassc-rails
sass-rails → saasc-rails
2018-12-04 17:05:47 +01:00
gregoirenovel
9b380829f8 sass-rails → saasc-rails
saas-rails is deprecated
2018-12-04 15:54:49 +01:00