Martin
98c1fb8abc
feat(archive): drop old feature
2022-03-18 14:26:09 +01:00
mfo
6c18666b7e
Merge pull request #7059 from betagouv/main
...
2022-03-18-01
2022-03-18 08:54:07 +01:00
mfo
f91cf5ab8a
Merge pull request #7058 from betagouv/fix_fd_leak_in_archive_creation
...
fix(parallel_download_queue): avoid fd leak in archive creation
2022-03-18 08:36:27 +01:00
simon lehericey
31d52d2483
do not open all fd at once
2022-03-17 22:44:53 +01:00
Kara Diaby
b72de3c64d
Merge pull request #7055 from betagouv/feat/7054
...
ETQ Instructeur, lorsque l'usager a supprimé le dossier de son interface, je ne peux plus lui envoyer de messages
2022-03-17 16:46:43 +01:00
Kara Diaby
8bcdf59778
change commentaire model
2022-03-17 13:57:49 +01:00
Kara Diaby
4bfcf4f9d9
tests
2022-03-17 13:57:49 +01:00
Kara Diaby
eda5f75ec3
modify dossier model
2022-03-17 13:57:49 +01:00
Paul Chavard
a7c406c6f2
Merge pull request #7057 from betagouv/main
...
2022-03-17-01
2022-03-17 12:17:22 +01:00
LeSim
294cc8a5b4
Merge pull request #7056 from tchak/fix-carto-ign
...
Correction des cartes IGN
2022-03-17 12:07:40 +01:00
Paul Chavard
d2e9cb5253
fix(map): remove IGN token
2022-03-17 11:55:20 +01:00
Paul Chavard
31da6178cc
refactor(maplibre): improuve type imports
2022-03-17 11:55:20 +01:00
Paul Chavard
0b1fdf88c8
Merge pull request #7052 from tchak/feat-revisions-diffs
...
Afficher les modifications des formulaires
2022-03-17 10:30:54 +01:00
Paul Chavard
c530399eac
feat(procedure): display revisions diffs
2022-03-17 10:26:38 +01:00
Paul Chavard
6d69e153f3
fix(procedure): use non-breaking spaces
2022-03-17 10:26:38 +01:00
Paul Chavard
0cb34028d2
fix(procedure): use size instead of count
2022-03-17 10:26:38 +01:00
mfo
18d1e5cad8
Merge pull request #7039 from adullact/fix/7038-after-party-geo-area
...
Échec de la tâche AfterParty fix_geo_areas_geometry
2022-03-17 10:14:31 +01:00
François Vantomme
28f9bd62d1
fix(after_party): use find_or_create_by to respect idempotency
2022-03-17 10:10:10 +01:00
LeSim
fc5847803c
Merge pull request #7035 from adullact/fix/7034-after-party-dossier-traitement
...
Échec de la tâche AfterParty add_traitements_from_dossiers
2022-03-17 10:07:09 +01:00
François Vantomme
021bdd4db6
fix(after_party): use find_or_create_by to respect idempotency
...
instead of create!
2022-03-17 10:02:43 +01:00
LeSim
9d5db6e276
Merge pull request #7029 from adullact/fix/7028-after-party-process-expired
...
Échec de la tâche AfterParty process_expired_dossiers_en_construction
2022-03-16 18:15:32 +01:00
François Vantomme
b89541568c
fix(after_party): remove APP_ENV condition
2022-03-16 17:56:06 +01:00
François Vantomme
93233be5c9
fix(after_party): add the missing second argument to send_expiration_notices method
...
ArgumentError: wrong number of arguments (given 1, expected 2)
app/services/expired_dossiers_deletion_service.rb:72:in `send_expiration_notices'
lib/tasks/deployment/20200401123317_process_expired_dossiers_en_construction.rake:11:in `block (2 levels) in <main>'
refs: 7028
2022-03-16 17:56:06 +01:00
LeSim
54289dbcb8
Merge pull request #7053 from betagouv/fix_mention_legal
...
corrige un lien pointant vers les mentions légales
2022-03-16 17:40:35 +01:00
simon lehericey
885dd52f29
fix mentions legales
2022-03-16 17:15:47 +01:00
LeSim
c525274770
Merge pull request #7051 from betagouv/main
...
2022-03-16-01
2022-03-16 15:38:10 +01:00
mfo
9c0d51d036
Merge pull request #6989 from betagouv/US/archive-with-swift-or-custom-uploader
...
ETQ qu'instructeur je veux pouvoir télécharger une archive de ma procédure même si elle fait plus de 5Go (et conserver la capacité a chiffré le truc)
2022-03-16 15:06:29 +01:00
Martin
5739150f15
feat(service/archive_uploader): add an archive uploader class to upload files thru a custom script which handle file encryption of massive file (bigger than 4Go)
...
Update doc/object-storange-and-data-encryption.md
Co-authored-by: LeSim <mail@simon.lehericey.net>
Update app/services/archive_uploader.rb
Co-authored-by: LeSim <mail@simon.lehericey.net>
Update doc/object-storange-and-data-encryption.md
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
clean(doc): align document file name and document h1
clean(review): refactore based on various comments
clean(review): refactore based on various comments
2022-03-16 14:56:21 +01:00
Pierre de La Morinerie
377e359908
Merge pull request #7046 from betagouv/strong-migrations
...
Ajout de strong_migrations (linter automatique des migrations Rails)
2022-03-16 10:52:23 +01:00
Pierre de La Morinerie
21bf4d38cf
db: alphabetize schema.rb
...
This avoids the column order being de-synchronized between different
machines.
2022-03-16 10:30:25 +01:00
Pierre de La Morinerie
2e04435117
gems: add strong_migrations
2022-03-16 10:30:25 +01:00
Pierre de La Morinerie
1eebc2f1e1
specs: make test migrations safer
...
This will avoid strong_migrations to flag them as dangerous.
2022-03-16 10:30:25 +01:00
Pierre de La Morinerie
c45e01ada1
Merge pull request #7048 from betagouv/main
...
2022-03-15-03
2022-03-15 16:37:45 +01:00
Paul Chavard
747ecdcb08
Merge pull request #7049 from betagouv/fix-after-party-task
...
Correction de la tâche after_party de rétro-compatibilité 'null_exports_key_to_uuid'
2022-03-15 16:29:00 +01:00
Pierre de La Morinerie
1b69accd10
tasks: rename after_party task to the proper name
...
The name of the file must be exactly the same than the name of the
task.
2022-03-15 16:20:15 +01:00
Pierre de La Morinerie
c09f2506d0
Merge pull request #7019 from betagouv/move-users-foreign-keys-part-1
...
Ajout de colonnes référençant le User à Administrateur, Instructeur et Expert
2022-03-15 16:03:07 +01:00
Pierre de La Morinerie
ae3e360139
models: double-write to the newly created foreign keys
...
This code is only used to handle a live system creating new
Administrateurs, Instructeurs or Experts before the migration to the new
foreign keys.
2022-03-15 15:57:22 +01:00
Pierre de La Morinerie
d2f12e5188
db: copy user-related ids to the respective models
2022-03-15 15:57:22 +01:00
Pierre de La Morinerie
48ea53b90d
db: add foreign keys to Administrateur, Instructeur and Expert
2022-03-15 15:15:51 +01:00
Pierre de La Morinerie
be834ba58d
models: reload old_user roles before destroying it
...
Otherwise ActiveRecord believes that old_user still has roles (although
they have been migrated to the new user), and attempts to delete them.
2022-03-15 15:13:45 +01:00
Pierre de La Morinerie
2cac7d96be
models: fix procedure_revision comments indentation
2022-03-15 15:13:45 +01:00
Paul Chavard
4329d3e81e
Merge pull request #7044 from betagouv/test_for_sections_number_in_preview
...
Durcit le test de preview
2022-03-15 11:23:02 +01:00
simon lehericey
0a3eb4a909
reinforce preview testing
2022-03-15 11:15:28 +01:00
LeSim
defc9bab41
Merge pull request #7043 from betagouv/main
...
2022-03-15-02
2022-03-15 11:02:13 +01:00
Paul Chavard
968531f45b
Merge pull request #7042 from betagouv/fix_sections
...
quick fix of sections in preview
2022-03-15 10:58:45 +01:00
simon lehericey
44f2d93277
quick fix of sections in preview
2022-03-15 10:54:39 +01:00
Paul Chavard
bd4b2e3d47
Merge pull request #7041 from betagouv/main
...
2022-03-15-01
2022-03-15 10:20:15 +01:00
Paul Chavard
79bb26e4dd
Merge pull request #7024 from tchak/fix-instructeur-show-n+1
...
fix(instructeur): avoid n+1 in instructeur_dossiers#show et user_dossiers#show
2022-03-15 10:12:59 +01:00
Paul Chavard
77c2187747
fix(instructeur): avoid n+1 in instructeur_dossier#show and user_dossier#show
2022-03-15 09:57:54 +01:00
Pierre de La Morinerie
8b1af41273
Merge pull request #6912 from adullact/fix/6870-migration-export-key
...
Correction de la migration 20210402163003_exports_key_not_null
2022-03-15 09:01:16 +01:00