Commit graph

12723 commits

Author SHA1 Message Date
simon lehericey
5cfb4114ce one query per table 2021-04-29 11:23:41 +02:00
simon lehericey
20fb756097 one less count 2021-04-29 11:23:41 +02:00
simon lehericey
8b73d8804c fetch all exports at once by groupe_instructeurs_ids 2021-04-29 11:23:41 +02:00
simon lehericey
951d4c0025 eager load procedure logo 2021-04-29 11:23:41 +02:00
Paul Chavard
acf078c726
Merge pull request #6096 from tchak/update-and-pin-map-dependencies
Update and pin mapbox-gl
2021-04-28 15:45:13 +02:00
Paul Chavard
f9fb6473b4 geo module is not really accessible :( 2021-04-28 15:34:53 +02:00
Paul Chavard
6e1b4a2067 Update and pin mapbox-gl 2021-04-28 15:34:53 +02:00
Paul Chavard
44b438630c
Merge pull request #6130 from tchak/improuve-multi-select
Improuve ComboMultipleDropdownList style
2021-04-28 15:33:45 +02:00
Paul Chavard
85b907807a Improuve ComboMultipleDropdownList style 2021-04-28 12:54:45 +02:00
krichtof
c6bf29d936
Merge pull request #6059 from betagouv/4978-export-dossiers-proc
archive tous les dossiers d'une démarche
2021-04-28 12:16:21 +02:00
Christophe Robillard
09870c918d prevent race conditions when creating archives 2021-04-28 11:40:58 +02:00
Christophe Robillard
dfbe004122 rename content_type to time_span_type for archives 2021-04-28 11:40:58 +02:00
Christophe Robillard
9134114c2e fix rubocop offenses 2021-04-28 11:40:58 +02:00
Christophe Robillard
aa407d5607 place le cronjob PurgeStaleArchives dans le bon répertoire 2021-04-28 11:40:58 +02:00
Christophe Robillard
8bee53fe77 rend plus robuste la création de l'archive 2021-04-28 11:40:58 +02:00
Christophe Robillard
59a08ad307 affiche quand l'archive a été générée 2021-04-28 11:40:58 +02:00
Christophe Robillard
fa4f6190c4 exporte aussi les démarches archivées 2021-04-28 11:40:58 +02:00
Christophe Robillard
71a5e41e5b add archive_zip_globale feature flag 2021-04-28 11:40:58 +02:00
Christophe Robillard
8b2849408c instructeurs can create and download archives 2021-04-28 11:40:58 +02:00
Christophe Robillard
609a1aa45b add archive creation and purge archives jobs 2021-04-28 11:40:58 +02:00
Christophe Robillard
07cc4fa97f add service to create procedure archive 2021-04-28 11:40:58 +02:00
Christophe Robillard
fba0d78153 generate pdf export inside pieces_justificatives_service 2021-04-28 11:40:58 +02:00
Christophe Robillard
c25f3c79d9 add archive model 2021-04-28 11:40:58 +02:00
Pierre de La Morinerie
959026ca4f
Merge pull request #6139 from betagouv/fix-migration
Correction de la migration des Individuals (#6139)
2021-04-27 17:06:57 +02:00
Pierre de La Morinerie
d1777d8cd6 db: fix migration adding unique index to Individuals 2021-04-27 16:57:46 +02:00
Pierre de La Morinerie
02902e2b0e
Merge pull request #6136 from betagouv/add-some-unique-contraints
Ajout de contraintes d'unicité sur les tables Invites, Procedures et Individuals (#6136)
2021-04-27 15:45:34 +02:00
Pierre de La Morinerie
d024b9ab9e db: add uniqueness constraints
Enforce uniqueness constraints at the database level, on:
- Invites,
- Procedures,
- Individuals.

These are the one less likely to have duplicates. A follow-up
PR will contains similar migrations, but more likely to have
existing duplicates that need to be removed.
2021-04-27 15:36:22 +02:00
Pierre de La Morinerie
0cb2162a65 db: fix out-to-date Procedure comments 2021-04-27 15:36:22 +02:00
Paul Chavard
a19c5b3a39
Merge pull request #6137 from betagouv/fix-email-locale
views: fix invalid locale name
2021-04-27 15:36:09 +02:00
Pierre de La Morinerie
ac3bc38c75 views: fix invalid locale name 2021-04-27 14:51:00 +02:00
Pierre de La Morinerie
96d3c5d1e3
Merge pull request #6124 from betagouv/nbsp
Page "Lien de réinitialisation du mot de passe envoyé" : ajout d'espaces insécables (#6124)
2021-04-27 14:30:48 +02:00
Pierre de La Morinerie
4a12e973bf i18n: add unbreakable spaces to reset_link_sent locales 2021-04-27 13:56:57 +02:00
Pierre de La Morinerie
de3a39cb2f
Merge pull request #6134 from betagouv/avoid_huge_n_plus_one_in_dossier_show
Instructeur : la page d'un dossier s'affiche plus rapidement (#6134)
2021-04-27 13:54:35 +02:00
simon lehericey
275b71abac includes champs: :type_de_champ 2021-04-27 13:45:57 +02:00
Pierre de La Morinerie
ba466f8430
Merge pull request #6129 from betagouv/log-token-errors
Ajout d'un message de déboguage en cas de token invalide dans Users::SessionsController (#6129)
2021-04-27 10:15:33 +02:00
Pierre de La Morinerie
51d6faabee controllers: log invalid tokens in Users::SessionsController
This is an attempt to understand why we have so many of these
errors in production.
2021-04-22 19:23:47 +02:00
Paul Chavard
684fb388d3
Merge pull request #6105 from tchak/remove-feedback
Remove user feedback buttons
2021-04-22 16:43:37 +01:00
Paul Chavard
2a068fb9b0 Remove user feedback buttons 2021-04-22 15:40:40 +01:00
Paul Chavard
dc73500d61
Merge pull request #6107 from tchak/refactor-commentaires
Remove the link between commentaire and user
2021-04-22 15:32:36 +01:00
Paul Chavard
c20ad5ca17 Remove the link between commentaire and user 2021-04-22 15:10:47 +01:00
LeSim
a640ec1d43
Merge pull request #6122 from betagouv/add-reset-link-page
Improve password reset : confirmation page and button in email
2021-04-22 14:33:00 +02:00
Pierre de La Morinerie
360f4be4c9 views: replace link by a round_button in the password reset email 2021-04-22 14:24:15 +02:00
Pierre de La Morinerie
d530b272a1 password: add specific page for reset instructions 2021-04-22 14:24:15 +02:00
Pierre de La Morinerie
fb55c76829 views: cleanup link_sent HTML and CSS
This prepares for re-using the CSS in the reset_link_sent page.
2021-04-22 14:24:15 +02:00
LeSim
b973f60379
Merge pull request #6121 from betagouv/easy_instructeur_dossier_show_improvments
Ajoute un index sur la colonne etablissement_id de la table exercices
2021-04-22 14:20:30 +02:00
simon lehericey
f542c0876e Add missing etablissement_id index on exercices table (-600ms) 2021-04-22 14:12:50 +02:00
Paul Chavard
6b08de77e3
Merge pull request #6117 from tchak/show-more-results
Improuve commune autocomplete results
2021-04-22 10:16:58 +01:00
Paul Chavard
6836191ca5 Improuve commune autocomplete results 2021-04-22 09:59:21 +01:00
LeSim
d1c241cdbc
Merge pull request #6120 from betagouv/improve_instructeur_show_array
Améliore le temps de réponse de la vue d'une procédure par un instructeur
2021-04-22 10:57:26 +02:00
simon lehericey
b20296f8c6 less object (-350) 2021-04-22 10:46:04 +02:00