Commit graph

18779 commits

Author SHA1 Message Date
Pierre de La Morinerie
272c0aa9c4
Merge pull request #7087 from betagouv/main
2022-03-29-01
2022-03-29 08:44:11 +02:00
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
3100b065db
Merge pull request #7079 from betagouv/main
2022-03-24-01
2022-03-24 16:06:04 +01: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
Pierre de La Morinerie
681cc9cb38
Merge pull request #7073 from betagouv/main
2022-03-22-02
2022-03-22 12:57:49 +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
8799fb4041
Merge pull request #7069 from betagouv/main
2022-03-22-01
2022-03-22 10:22:46 +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
d7f9b4fdf6
Merge pull request #7064 from betagouv/main
2022-03-18-02
2022-03-18 14:52:34 +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
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