Pierre de La Morinerie
1b80bfcd5d
Merge pull request #7070 from betagouv/move-users-foreign-keys-part-3
...
Ajout d'une migration de données pour supprimer les rôles invalides en base
2022-03-29 08:34:43 +02:00
Pierre de La Morinerie
6dd742dcdf
db: add a data migration to remove invalid roles
...
This prepares a future migration where we can add database constraints
to those roles.
2022-03-29 08:30:48 +02:00
LeSim
71a1c80b4b
Merge pull request #7078 from betagouv/harden_email_validation
...
durcit la validation des emails
2022-03-24 15:44:49 +01:00
simon lehericey
7ecf20ce75
harden email validation
2022-03-24 13:00:54 +01:00
LeSim
697d60c17d
Merge pull request #7037 from adullact/fix/7036-after-party-cloned-revisions
...
Échec de la tâche AfterParty fix_cloned_revisions
2022-03-23 11:02:02 +01:00
François Vantomme
04c3739a3d
fix(after_party): rescue from PG::UndefinedColumn
...
ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column types_de_champ.procedure_id does not exist
fixes : #7036
2022-03-23 10:57:32 +01:00
Pierre de La Morinerie
12ab4506bf
Merge pull request #7074 from betagouv/fix-foreign-keys-null
...
Ajout de contraintes NOT NULL sur les colonnes de AdministrateursInstructeur
2022-03-22 15:43:46 +01:00
Pierre de La Morinerie
9dcd92a678
db: add not-null constraints to AdministrateursInstructeur
2022-03-22 13:32:02 +01:00
Paul Chavard
afcacfc8d4
Merge pull request #7072 from betagouv/fix-graphql-authentication
...
Corrige l'authentification de l'API GraphQL, pour utiliser les nouvelles relations sur les rôles
2022-03-22 12:47:07 +01:00
Pierre de La Morinerie
ebb6294682
routes: fix API authentication not to use deprecated columns
...
Fix a regression introduced by 6849a73aec
2022-03-22 12:11:41 +01:00
LeSim
f685090122
Merge pull request #7033 from adullact/fix/7032-after-party-migrate-revisions
...
Échec de la tâche AfterParty migrate_revisions
2022-03-22 12:11:17 +01:00
François Vantomme
6a6947c064
fix(after_party): check constant presence before processing
...
NameError: uninitialized constant TmpDossiersMigrateRevisionsJob
refs: #7032
2022-03-22 12:07:40 +01:00
LeSim
a79a66647b
Merge pull request #7031 from adullact/fix/7030-after-party-dropdown-list
...
Échec de la tâche AfterParty drop_down_list_options_to_json
2022-03-22 12:06:32 +01:00
François Vantomme
a1354e7996
fix(after_party): rescue from ActiveRecord::ConfigurationError
...
ActiveRecord::ConfigurationError: Can't join 'TypeDeChamp' to
association named 'drop_down_list'; perhaps you misspelled it?
refs: #7030
2022-03-22 12:02:43 +01:00
Paul Chavard
ddc0876dc5
Merge pull request #7067 from tchak/fix-map-reader
...
fix(carto): render GeoJSON layers after map style changes
2022-03-22 09:38:16 +01:00
Paul Chavard
af166f5520
fix(carto): render GeoJSON layers after map style changes
2022-03-22 09:26:11 +01:00
Paul Chavard
f033194ffa
Merge pull request #7061 from tchak/fix-notifications
...
fix(dossiers): mark as read dossier on update_annotations
2022-03-22 09:23:58 +01:00
Paul Chavard
7aacb7565c
fix(dossiers): mark as read dossier on update_annotations
2022-03-22 09:19:24 +01:00
Pierre de La Morinerie
b5b33b16ef
Merge pull request #7050 from betagouv/move-users-foreign-keys-part-2
...
Changement du sens de la relation des Users aux rôles
2022-03-22 08:05:23 +01:00
Pierre de La Morinerie
fbe0410702
models: fix a typo in a ProcedurePresentation's comment
2022-03-22 07:58:44 +01:00
Pierre de La Morinerie
6849a73aec
models: ignore deprecated User columns
2022-03-22 07:58:44 +01:00
Pierre de La Morinerie
31bd05f835
models: inverse the direction of the User role associations
2022-03-22 07:58:44 +01:00
Pierre de La Morinerie
d4da6502ba
models: remove double-write callback on User
2022-03-22 07:58:44 +01:00
Pierre de La Morinerie
56edba37bc
specs: make the ProcedurePresentation#sorted_ids test more robust
...
Before the Dossiers were already created in the correct order, so the
sorting wasn't really tested.
2022-03-22 07:58:44 +01:00
mfo
6a67f9c859
Merge pull request #7063 from betagouv/US/drop_old_method_for_archive
...
feat(archive): drop old feature, enable new way for creating archive (parallel download and use safer zip method [binary])
2022-03-18 14:43:55 +01:00
Martin
98c1fb8abc
feat(archive): drop old feature
2022-03-18 14:26:09 +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
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
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