Commit graph

225 commits

Author SHA1 Message Date
Colin Darie
5af32b46f4
refactor(contact): form is persisted in db before pushed to HS 2024-07-31 17:08:01 +02:00
Colin Darie
ff62e99e7b
refactor(contact): suggest email correction, strict email validation, fix admin form 2024-07-31 11:23:17 +02:00
Lisa Durand
eb3b928cf2
change scope to include new column for expiring dossiers 2024-07-24 17:07:47 +02:00
Lisa Durand
9346020889
dont use depreciated column hidden_at 2024-07-24 17:06:30 +02:00
Lisa Durand
c2abceaa72
hide expired dossiers instead of delete them 2024-07-24 17:06:30 +02:00
Paul Chavard
229483d16c
refactor(champ): remove type_de_champ_id and champ factories 2024-07-22 13:53:45 +02:00
Colin Darie
b3ccfc16c4
Merge pull request #10547 from colinux/mandatory-by-default
ETQ admin, un nouveau champ est obligatoire par défaut
2024-07-02 14:26:29 +00:00
Colin Darie
9e80962ea5
test: default administrateur as fixtures 2024-07-01 22:36:31 +02:00
Colin Darie
f40b71f450
test(type_de_champ): mandatory by default, like schema 2024-07-01 17:00:49 +02:00
Colin Darie
a1469b04fe
refactor(support): create HS conversation in async and run virus scanner on attachments 2024-06-13 13:27:51 +02:00
Eric Leroy-Terquem
05ad5dcbd6
feat(gallery): display large variant for rare image types 2024-06-06 12:01:40 +02:00
Colin Darie
c2b1d7aaaf
Merge pull request #10261 from colinux/ignore-search-terms-2
Tech (perf): ignore les `search_terms` colonnes pour ne plus les select à chaque query et debounce l'indexation
2024-05-21 07:07:10 +00:00
Lisa Durand
affb1820d8
add PDF preview in view for gallery 2024-05-17 11:03:39 +02:00
Lisa Durand
93c3761107
add specs 2024-05-17 11:03:39 +02:00
Lisa Durand
b4a7b4bfbd
create a job for all image treatments 2024-05-17 11:03:38 +02:00
Colin Darie
39b0327237
refactor(search): rename update search terms => index search terms 2024-05-06 18:57:39 +02:00
Colin Darie
2e763d5e92
perf(search): ignore search_terms columns, use raw sql instead 2024-05-06 17:16:34 +02:00
simon lehericey
8f8b63ac6a
fix: load the dols day by day 2024-04-19 08:48:17 +02:00
mfo
fd5faad31f
fix(Champs::PaysChamp): validates Champs::PaysChamp respecting it's validation context. Also do not save value when external_id/code can't be found by lookup 2024-04-01 07:18:13 +02:00
Martin
be47152096 tech(export_job): sometimes ExportJob are OOMed, in those cases jobs are stuck and never retried. release lock and increase attemps 2024-03-26 15:29:04 +01:00
Colin Darie
578f19b000 chore(service): limit geocoding area to INSEE code commune 2024-03-13 10:40:39 +01:00
Paul Chavard
1243cfefeb fix(entreprise): graphql effectif 2024-03-05 16:00:28 +01:00
Martin
32e8f34511 refactor(PiecesJustificativesService): stop passing flags, pass user_profile and manage ACL from the service itself 2024-02-16 11:23:39 +01:00
Martin
72a3f6e89c refactor(export/archives): holds user profile asking for the archive or export 2024-02-16 11:23:38 +01:00
Colin Darie
bfb98554ff
fix(active-storage): don't fail on analyzing a blob derivated by watermark
Quand l'analyse du job se produit après le watermark, elle doit comparer
le checksum avec celui du fichier filigrané.
2024-02-12 16:30:58 +01:00
Colin Darie
533ce8d7ba fix(procedure-url-check): don't fail when other attribute have an error 2024-01-29 15:42:35 +01:00
simon lehericey
97f335c36a add a cron job to send expiration notice 2024-01-26 10:18:16 +01:00
Colin Darie
7892b54aa6 fix(discarded-dossiers): don't crash whole job when a single dossier causes an error 2024-01-17 13:15:42 +01:00
Colin Darie
a0e64151d5
test: replace OpenStruct by model expected 2024-01-16 19:43:24 +01:00
Colin Darie
1a56fe620e feat(correction): make pending corrections blocking by feature flag only 2023-12-18 14:12:45 +01:00
Colin Darie
3d21262e89
test(declarative): clarify intention with pending correction & declarative procedure 2023-12-12 15:05:45 +01:00
seb-by-ouidou
8c1bc9e62f feat: batch action for repousser_expiration depuis expirant 2023-12-09 06:27:00 +01:00
seb-by-ouidou
5c80f6c3f0 feat: batch action for desarchiver 2023-12-09 06:27:00 +01:00
seb-by-ouidou
c0c2e35881 feat: batch action for restaurer 2023-12-09 06:27:00 +01:00
seb-by-ouidou
5ec95d781c feat: batch action for supprimer 2023-12-09 06:27:00 +01:00
Martin
fd81936baf correctif(users.expires): maj l'appel a process_expired car le service est instanciable maintenant 2023-11-21 10:18:58 +01:00
Martin
81826e2509 amelioration(Cron::ExpiredUsersDeletionJob): ne retente jamais ce job si il crash [pour eviter de se lancer ds une boucle infinie de suppression] 2023-11-17 11:33:14 +01:00
Martin
66cf41b6d2 amelioration(procedure.duree_conservation_dossiers_dans_ds_changes): reset les flag d'expirations lorsqu'on change la date de conservation des dosseirs d'une procedure 2023-11-17 11:33:14 +01:00
Martin
1716a931c5 amelioration(Procedure.procedure_expires_when_termine_enabled): active l'expiration des dossiers terminés sur les procedure ne l'ayant pas activé jusqu'à présent. La cible est de faire ça sur 20 Procedure quotidiennement 2023-11-17 11:33:14 +01:00
Martin
99529c611d tech(refactor): deplace les service d'expiration usager/dossier dans un namespace dedié 2023-11-17 11:33:14 +01:00
Martin
b989af5b47 amelioration(ExpiredUsersDeletionService): limite le nombre d'envoie d'email sur le job de suppression des utilisateurs 2023-11-17 11:33:14 +01:00
Martin
252b3e4719 tech(expires-user.cron): ajoute une tache cron [débrayable] pour faire tourner la tache de suppression des usagers inutile
attention, pour notre instance, avec ma db anonymiser :
```
ExpiredUsersDeletionService.find_expired_user.pluck(:id).size
=> 1795515
```
2023-11-17 11:33:14 +01:00
Colin Darie
fb318620aa
Merge pull request #9692 from colinux/fix-deprecation-warnings
Tech: fix multiple deprecation warnings
2023-11-13 10:16:06 +00:00
Martin
2d4701ac61 correctif(Champs::CommuneChamp): il restait des champs commune a normaliser 2023-11-10 10:42:42 +01:00
Colin Darie
edb47d94f7 test: fix not_to raise_error(SpecificErrorClass) false positive risk 2023-11-09 17:27:55 +01:00
Paul Chavard
34a76d8afd feat(dossier): commune champ is an autocomplete now 2023-11-07 20:58:39 +01:00
Christophe Robillard
97ff31f60f update departement after getting etablissement_infos 2023-10-27 10:00:52 +02:00
Christophe Robillard
0f1e243b01 use api entreprise v3 for effectifs annuels 2023-10-17 13:48:46 +02:00
Christophe Robillard
e5d0d7dda2 get most fresh info for effectifs mensuels 2023-10-17 13:48:46 +02:00
mfo
ade95f5f5f
Merge pull request #9582 from demarches-simplifiees/US/fix-export-job
correctif(tech.export): il arrive que des exports soient mal identifié (le content-type), ce qui par la suite renvoie des exports vide (0kb)
2023-10-10 12:22:54 +00:00