Commit graph

6539 commits

Author SHA1 Message Date
Mathieu Magnin
097074fdc7
Merge pull request #10865 from demarches-simplifiees/fix-10799
ETQ Admin / Instructeur je veux être savoir si le jeton api entreprise d'une démarche a expiré ou va expirer prochainement
2024-10-15 13:25:20 +00:00
Benoit Queyron
c8f69283cc
Merge pull request #10713 from demarches-simplifiees/etq-admin-bug-message-info-character-limit
Tech : amélioration de la gestion des types_de_champ.options
2024-10-15 13:02:33 +00:00
Mathieu Magnin
dfa3276cb6
[#10799] Missing test 2024-10-15 14:40:50 +02:00
Mathieu Magnin
4266a76db6
[#10799] Move test in right file 2024-10-15 14:40:50 +02:00
Mathieu Magnin
c897893e8a
[#10799] Remove dead code 2024-10-15 14:40:50 +02:00
Mathieu Magnin
f26ff30538
[#10799] Add maintenance task to fill api_entreprise_token_expires_at for previous data 2024-10-15 14:40:50 +02:00
Mathieu Magnin
6b326b634e
[#10799] Modifications after Marlene's comments 2024-10-15 14:40:50 +02:00
Mathieu Magnin
687617cb08
[#10799] Add test 2024-10-15 14:40:50 +02:00
Mathieu Magnin
ec2c913ab4
[#10799] Display token error on related card 2024-10-15 14:40:49 +02:00
Mathieu Magnin
703a722c54
[#10799] Handle the case when api_entreprise_token is not nil then set to nil 2024-10-15 14:40:49 +02:00
Mathieu Magnin
7009eed9d7
[#10799] Move api entreprise token logic in a concern 2024-10-15 14:40:49 +02:00
Mathieu Magnin
39fdb8ddbb
[#10799] Display a warning about token expiration on token form page 2024-10-15 14:40:49 +02:00
Mathieu Magnin
2d9854dc01
[#10799] Declare api_entreprise_token_expires_at attribute and feed it on save 2024-10-15 14:40:49 +02:00
benoitqueyron
e88d84cf57
ajout d'un nettoyage des options des types_de_champ lors de la publication d'une procedure ou d'une nouvelle revision 2024-10-15 14:40:33 +02:00
benoitqueyron
4f62590b7a
ProcedureRevision#compare_type_de_champ: fix bug comparaison character_limit chaine vide vs nil 2024-10-15 14:40:33 +02:00
simon lehericey
b588b77571
TypeDeChamp: amélioration de la gestion des drop_down_options 2024-10-15 14:40:15 +02:00
Paul Chavard
bd32f5693d
refactor(repetition): remove parent_id 2024-10-15 11:42:36 +02:00
mfo
e7080c1ad1
Merge pull request #10927 from mfo/US/renormalize_department_code_and_name
amelioration ETQ tech, je souhaite que les composants d'adresses soient normalisés en anglais
2024-10-15 07:49:16 +00:00
mfo
366c02dbb7
fix(typo): use english for normalized addresses component 2024-10-15 09:13:05 +02:00
Colin Darie
ed6a254135
Merge pull request #10930 from colinux/fix-dropdown-list-filter-length
ETQ instructeur je peux filtrer un champ "choix simple" avec un long libellé d'option
2024-10-14 19:18:35 +00:00
Colin Darie
1c32a30b80
fix(filters): drop down list filters can have much longer values.
Notre infra supporte des urls d'au moins 8000 caractères, probablement
plus encore, donc on est large.
2024-10-14 16:01:48 +02:00
Eric Leroy-Terquem
60be8d68fc
test(instructeurs management): update tests 2024-10-14 15:14:06 +02:00
Eric Leroy-Terquem
59fe8b64c4
wording(instructeurs management): update translations 2024-10-14 15:13:35 +02:00
Colin Darie
9e27295a36
fix(admin): all procedures really filtered by tags 2024-10-14 10:26:47 +02:00
Kara Diaby
2c85757289
Créé la liste de nouveaux tags en base et les associe aux démarches 2024-10-14 10:26:47 +02:00
Kara Diaby
953ccbcfb6
Mise à jour des tests 2024-10-14 10:26:47 +02:00
Paul Chavard
32d8cbfe48
Merge pull request #10923 from tchak/graphql-siret-address-optimize
fix(graphql): parse_etablissement_address is slow (up to 300ms) – bypasse it when possible
2024-10-14 08:14:51 +00:00
Paul Chavard
960385831e
Merge pull request #10904 from tchak/remove-some-complex-champs-from-prefill
chore(prefill): remove unused prefill support on complex champs
2024-10-14 08:11:30 +00:00
Paul Chavard
b027839721
fix(graphql): parse_etablissement_address is slow (300ms) – bypasse it when possible 2024-10-14 09:23:35 +02:00
Mathieu Magnin
2222b6ff2d
[#10921] Extend error handling to cover new error codes 2024-10-11 16:16:17 +02:00
Eric Leroy-Terquem
3397beb71d
refactor(gallery test): use freeze_time instead of Timecop 2024-10-11 13:14:19 +02:00
Eric Leroy-Terquem
72ae654ce7
style(pieces jointes): update UI 2024-10-11 11:20:47 +02:00
Eric Leroy-Terquem
3bc232e81e
feat(gallery): update gallery item badge class after seen 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
d9f604e8ce
feat(gallery): notify instructeur if pieces jointes updates 2024-10-11 11:20:46 +02:00
Eric Leroy-Terquem
bc237152e7
feat(gallery): add origin tag to gallery item 2024-10-11 10:41:05 +02:00
Eric Leroy-Terquem
df08617387
feat(gallery): add badge for date of created_at or updated_at 2024-10-11 10:41:04 +02:00
Eric Leroy-Terquem
3560d73b58
refactor(gallery): use gallery component in gallery demande 2024-10-11 10:41:04 +02:00
Eric Leroy-Terquem
2882af43aa
refactor(gallery): extract representation_url_for method 2024-10-11 10:41:04 +02:00
Eric Leroy-Terquem
bae752f1aa
refactor(gallery): add attachment_gallery_item component 2024-10-11 10:41:03 +02:00
Colin Darie
7f18db6c91
fix(job): non crirtical mail must be sent into < 15min, not hours 2024-10-10 17:14:28 +02:00
mfo
fc37bbaa4a
Merge pull request #10906 from mfo/US/reword-queueing
amelioration : ETQ operateur j'aimerais simplifier/optimiser la gestion des tâches asynchrones
2024-10-10 07:47:59 +00:00
mfo
b8b727f06b
feat(default.queues): mailers that are not critical are low, otherwise critical. analysis is default, purge is low 2024-10-10 09:31:20 +02:00
Colin Darie
9ef445a4a1
Merge pull request #10905 from tchak/fix-api-entreprise-sentry-error
ETQ Usager, je veux pouvoir déposer mon dossier même si le service des SIRET n'est pas disponible
2024-10-09 14:13:47 +00:00
LeSim
163fa42007
Merge pull request #10869 from demarches-simplifiees/add_id_to_column_second_part
Tech: utilise les objets `SortedColumn`
2024-10-09 13:05:50 +00:00
Colin Darie
cae5d8afed
feat(task): task enqueueing a maintenance task runnable on deploy 2024-10-09 13:44:17 +02:00
Colin Darie
d0f77d0aab
feat(task): with_statement_timeout helper for long running collection or process query 2024-10-09 13:44:17 +02:00
Paul Chavard
668aba8986
fix(api-entreprise): do not raise an error when the service is unavailable 2024-10-09 12:47:26 +02:00
Paul Chavard
e56bc9d35b
chore(prefill): remove unused prefill support on complex champs 2024-10-09 12:11:42 +02:00
simon lehericey
34b0379203
procedure.find_column raise NotFound to fit AR interface 2024-10-09 09:23:06 +02:00
simon lehericey
4f0cac251d
use sorted_column to sort dossier 2024-10-08 22:51:26 +02:00