Commit graph

14846 commits

Author SHA1 Message Date
mfo
f568b95067
Merge pull request #7068 from betagouv/US/feat-align-archive-threshold
feat(archive): prepare la prod a un plus gros usage des archives
2022-03-30 16:29:27 +02:00
Martin
ab0a172488 feat(Archive.prepare_broader_reach): activate by default the archive button in the export dropdown. add a call to action to contact our support to enable the feature. increase estimated file size limit up to 100.gigabytes 2022-03-30 16:21:07 +02:00
Martin
7ec1021e00 feat(Archive.prepare_broader_reach): activate by default the archive button in the export dropdown. add a call to action to contact our support to enable the feature. increase estimated file size limit up to 100.gigabytes 2022-03-30 16:21:07 +02:00
Paul Chavard
85c0b45000
Merge pull request #7091 from betagouv/dependabot/npm_and_yarn/minimist-1.2.6
build(deps): bump minimist from 1.2.5 to 1.2.6
2022-03-30 15:07:50 +02:00
dependabot[bot]
3dae32f52f
build(deps): bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 10:20:35 +00:00
Paul Chavard
5d572727b5
Merge pull request #6787 from tchak/use-vite
Use vite
2022-03-30 12:19:58 +02:00
simon lehericey
250b699664 remove duplicate csp 2022-03-29 16:27:08 +02:00
Paul Chavard
187e84a010 feat(assets): use vitejs to build javascript 2022-03-29 16:27:08 +02:00
Pierre de La Morinerie
613d0a90f8
Merge pull request #7089 from betagouv/main
2022-03-29-02
2022-03-29 15:13:34 +02:00
Pierre de La Morinerie
43be4482ee
Merge pull request #7088 from betagouv/move-users-foreign-keys-part-4
Ajout de contraintes sur les colonnes des rôles en base, et suppression des colonnes `users.role_id`
2022-03-29 14:56:21 +02:00
Pierre de La Morinerie
79ea80c199 db: remove deprecated role columns on user 2022-03-29 14:52:38 +02:00
Pierre de La Morinerie
017625207e db: add constraints to role tables 2022-03-29 14:52:38 +02:00
Kara Diaby
768b577f1e
Merge pull request #7075 from betagouv/feat/7060
Ajouter un banner sur les dossiers des démarches supprimées
2022-03-29 14:20:32 +02:00
Kara Diaby
71614d4ba3 tests 2022-03-29 12:30:52 +02:00
Kara Diaby
516bfa86cf locale 2022-03-29 12:30:52 +02:00
Kara Diaby
b08011cff7 layout 2022-03-29 12:30:52 +02:00
Kara Diaby
217793c5c8 modify model 2022-03-29 12:30:52 +02:00
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