Paul Chavard
|
5182af820a
|
refactor(type_de_champ): type_de_champ should not expose revision or procedure
|
2024-11-05 21:57:05 +01:00 |
|
Paul Chavard
|
c0da8d1556
|
refactor(tdc): tdc.columns should take procedure instead of procedure_id
|
2024-11-05 21:57:04 +01:00 |
|
Paul Chavard
|
3ce36222b4
|
refactor(procedure): refactor procedure publish methods
|
2024-11-05 21:55:08 +01:00 |
|
Colin Darie
|
1d2c8e15b2
|
Merge pull request #11018 from colinux/ignore-invalid-images
ETQ tech, réduit l'impact d'images invalides sur sentry
|
2024-11-05 16:21:37 +00:00 |
|
Colin Darie
|
e2f3f236de
|
chore(image): don't try to process empty images
|
2024-11-05 16:57:59 +01:00 |
|
Eric Leroy-Terquem
|
efef61c34c
|
feat(gallery): add attachments from justificatif motivation
|
2024-11-05 16:53:41 +01:00 |
|
Eric Leroy-Terquem
|
ad98bafeca
|
feat(gallery): notify instructeur if pieces jointes added in avis
|
2024-11-05 16:53:40 +01:00 |
|
Eric Leroy-Terquem
|
d10df6e17c
|
feat(gallery): add attachments from avis
|
2024-11-05 16:53:40 +01:00 |
|
Eric Leroy-Terquem
|
d979bf6c68
|
feat(instruction options management): add routable champs by category
|
2024-11-05 14:41:37 +01:00 |
|
Colin Darie
|
594fc517d1
|
Merge pull request #10943 from colinux/feat-admin-prefill-service
ETQ admin mes informations de nouveau service sont pré-remplies à partir d'API publiques
|
2024-11-05 09:54:53 +00:00 |
|
Paul Chavard
|
d1565a67a0
|
Merge pull request #11011 from demarches-simplifiees/US/extract-pj-column
ETQ tech, je peux acceder aux pj via les columns
|
2024-11-05 09:39:25 +00:00 |
|
Colin Darie
|
4e80f16b9f
|
Merge pull request #10974 from demarches-simplifiees/remove_empty_brouillon
Tech: ajoute un scope pour détecter les brouillons vides
|
2024-11-05 09:32:16 +00:00 |
|
Eric Leroy-Terquem
|
ddb238ccd0
|
Merge pull request #11007 from demarches-simplifiees/can-condition-on-pays-champ
ETQ admin je peux conditionner / router depuis un champ pays
|
2024-11-05 09:26:20 +00:00 |
|
mfo
|
9d13ebb3ff
|
feat(pj): add specialized column for attachments
|
2024-11-05 10:09:59 +01:00 |
|
LeSim
|
4f0713a764
|
Merge pull request #11005 from demarches-simplifiees/work_on_json_path_column
ETQ Instructeur, je peux voir et filtrer sur les données retournées par API
|
2024-11-05 08:46:44 +00:00 |
|
simon lehericey
|
c364be12f1
|
rework ChampColumn.value
|
2024-11-05 09:38:29 +01:00 |
|
simon lehericey
|
ea57a97c06
|
introduce tdc_type
|
2024-11-05 09:38:27 +01:00 |
|
simon lehericey
|
52aaff5ffc
|
breaking: simplify linked_drop_down_column column_id
|
2024-11-05 09:38:27 +01:00 |
|
simon lehericey
|
74e6834ce2
|
use path instead of value_column in linked_drop_down
|
2024-11-05 09:38:27 +01:00 |
|
simon lehericey
|
de8cad888e
|
LinkedDropDownColumn is also a ChampColumn by the way
|
2024-11-05 09:38:26 +01:00 |
|
simon lehericey
|
9d6304e7d4
|
TitreIdentite is a ChampColumn
|
2024-11-05 09:38:26 +01:00 |
|
simon lehericey
|
a4617abb0e
|
rework JSONPathColumn to be a ChampColumn
|
2024-11-05 09:38:26 +01:00 |
|
simon lehericey
|
d03d5d0dae
|
add ChampColumn
|
2024-11-05 09:38:26 +01:00 |
|
Lisa Durand
|
dcf56616c3
|
rename ProcedureLabel by Label part 2
|
2024-11-04 16:48:47 +01:00 |
|
Lisa Durand
|
468c159b52
|
handle label color translation and class name
|
2024-11-04 16:48:47 +01:00 |
|
Lisa Durand
|
507ea70398
|
improve color selection for Admin and improve generic label lists
|
2024-11-04 16:48:47 +01:00 |
|
Lisa Durand
|
725a97da7e
|
admin can modify procedure labels
|
2024-11-04 16:48:46 +01:00 |
|
Lisa Durand
|
35dee477ea
|
rename ProcedureLabel by Label
|
2024-11-04 16:48:44 +01:00 |
|
Lisa Durand
|
e723c9e365
|
create generic label for procedure in controller instead of using a hook
|
2024-11-04 16:48:11 +01:00 |
|
Lisa Durand
|
3a45524d39
|
add column label to procedure table
|
2024-11-04 16:48:00 +01:00 |
|
simon lehericey
|
a5b8b936d5
|
a column can override its column_id
|
2024-11-04 16:34:38 +01:00 |
|
Lisa Durand
|
2006dd283f
|
create dossier_labels
|
2024-11-04 16:05:35 +01:00 |
|
Lisa Durand
|
96cfb6cc43
|
create generic labels for old and new procedure
|
2024-11-04 16:05:35 +01:00 |
|
Lisa Durand
|
9dd224c3c7
|
create procedure_labels
|
2024-11-04 16:05:31 +01:00 |
|
Colin Darie
|
7742703081
|
refactor(service): concurrent prefill API calls
|
2024-11-04 12:50:49 +01:00 |
|
Colin Darie
|
065d380b70
|
feat(service): prefill type organisme from API Entreprise
|
2024-11-04 12:50:49 +01:00 |
|
Colin Darie
|
8dc47c1b93
|
feat(service): prefill contact information from annuaire service public
|
2024-11-04 12:48:13 +01:00 |
|
Paul Chavard
|
415be4f9ea
|
feat(type_de_champ): test value casts
|
2024-11-04 11:16:05 +01:00 |
|
Paul Chavard
|
aeb1d1c53a
|
refactor(champ): move champ.blank? implementation to type_de_champ
|
2024-11-04 11:16:05 +01:00 |
|
Eric Leroy-Terquem
|
30aa0b71d0
|
feat(routing): can create simple routing with pays tdc
|
2024-11-04 11:09:58 +01:00 |
|
Eric Leroy-Terquem
|
b29893a843
|
feat(conditional): can condition and route with pays tdc
|
2024-11-04 11:09:37 +01:00 |
|
Paul Chavard
|
7fddec484d
|
refactor(column): no more java 🎉 get_value -> value
|
2024-10-31 21:36:13 +01:00 |
|
Paul Chavard
|
503da1d160
|
chore: implement special columns
|
2024-10-31 13:57:23 +01:00 |
|
Paul Chavard
|
e9991573e7
|
chore: columns on some champs at this point do not make sense
|
2024-10-31 13:29:15 +01:00 |
|
Paul Chavard
|
e2ace4f6bd
|
chore: only create columns on fillable champs
|
2024-10-31 13:29:15 +01:00 |
|
simon lehericey
|
f27598f235
|
fix: assign_to.procedure_presentation should return an ActiveModel::Errors if needed
the caller will then calls `errors.full_messages`
|
2024-10-31 11:03:06 +01:00 |
|
simon lehericey
|
c28087ba3b
|
move human_value_for_filter to filter_buttons_component
|
2024-10-31 11:03:06 +01:00 |
|
simon lehericey
|
f50e63ea40
|
remove useless conversion
|
2024-10-31 11:03:06 +01:00 |
|
simon lehericey
|
c8332b5e22
|
column: add more identifier
|
2024-10-31 10:54:28 +01:00 |
|
simon lehericey
|
ab9a0fc34f
|
remove extraneous flatten compact
|
2024-10-30 18:34:11 +01:00 |
|
simon lehericey
|
5981de90a2
|
use Columns::DossierColumn
|
2024-10-30 18:30:38 +01:00 |
|
simon lehericey
|
96cd4fda72
|
ensure exported columns existed in main columns function
|
2024-10-30 18:28:25 +01:00 |
|
simon lehericey
|
d618f7cc0f
|
only expose chorus col when necessary
|
2024-10-30 18:28:25 +01:00 |
|
simon lehericey
|
92a863d48c
|
remove_all as there is no some_usager_columns
|
2024-10-30 18:28:25 +01:00 |
|
simon lehericey
|
2181a917a2
|
move col def to private when possible
|
2024-10-30 18:28:25 +01:00 |
|
mfo
|
656080538b
|
review(pull/10591#discussion_r1818942794): remove tested enum labels
|
2024-10-30 18:28:25 +01:00 |
|
mfo
|
fa50e21101
|
review(pull/10591#discussion_r1818919818): export without user id
|
2024-10-30 18:28:24 +01:00 |
|
mfo
|
cbb9854f4c
|
review(pull/10591#discussion_r1818916426): extract groupe_instructeurs_column and followers_instructeurs_email_column
|
2024-10-30 18:28:24 +01:00 |
|
mfo
|
3bed049a29
|
tech(style): prefix columns builders by their table, easier to understand
|
2024-10-30 18:28:24 +01:00 |
|
mfo
|
fc45e537cf
|
review(pull/10591#discussion_r1818914395): extract and dry archived/motivation column
|
2024-10-30 18:28:24 +01:00 |
|
mfo
|
d9fc48ad70
|
review(10591#discussion_r1818752344): homogenize interface for columns builders
|
2024-10-30 18:28:24 +01:00 |
|
mfo
|
8afe4374c7
|
review(pull/10591#discussion_r1818744664): extract some column builder
|
2024-10-30 18:28:23 +01:00 |
|
Christophe Robillard
|
df71c6a689
|
align columns naming and order for filter and add for export
Co-authored-by: mfo <mfo@users.noreply.github.com>
|
2024-10-30 18:28:23 +01:00 |
|
LeSim
|
0e589fc7ad
|
Merge pull request #10984 from demarches-simplifiees/fix-image-processor-job-errors
Technique : gestion des cas d'erreurs de ImageProcessorJob
|
2024-10-30 14:43:43 +00:00 |
|
Paul Chavard
|
c6329ef10a
|
feat(column): add column get_value
|
2024-10-30 08:10:50 +01:00 |
|
mfo
|
af878ca5b7
|
Merge pull request #10988 from mfo/US/fix-exports-recasting-simple-to-multiple
Correctif: ETQ instructeur je peux exporter des mes dossiers au format xlsx même si le formulaire usager a changer
|
2024-10-28 08:55:55 +00:00 |
|
mfo
|
d66487138f
|
fix(sentry#6013588148): allowing recasting from drop_down_list to multiple_drop_down_list raises due to call to .selected_options
|
2024-10-25 13:49:32 +02:00 |
|
Eric Leroy-Terquem
|
4dc13cc56c
|
fix(image processing): process only authorized image and pdf types
|
2024-10-24 18:48:27 +02:00 |
|
Eric Leroy-Terquem
|
e6845cd94d
|
fix(image processing): handle case of blob without attachments
|
2024-10-24 18:48:27 +02:00 |
|
simon lehericey
|
b22f049318
|
fix: do not allow empty filter in models
|
2024-10-24 12:06:32 +02:00 |
|
Paul Chavard
|
08490bfb82
|
ETQ Instructeur, je veux pouvoir faire la difference entre un champ Oui/Non vide et “Non”
|
2024-10-22 21:18:17 +02:00 |
|
Thibaut Poullain
|
5195ebd5c7
|
🛠️ Fix | Procedure minimal admins presence
|
2024-10-22 17:01:57 +02:00 |
|
Paul Chavard
|
51a8c3cf98
|
refactor(export): do not use dossier.champs in export
|
2024-10-22 12:31:40 +02:00 |
|
simon lehericey
|
0137763d42
|
feat: add empty_brouillon scope
|
2024-10-22 12:03:03 +02:00 |
|
Paul Chavard
|
94b06cb50f
|
fix(logic): we need to expose raw typed values for champs
|
2024-10-21 13:09:49 +02:00 |
|
Paul Chavard
|
5024b5b549
|
refactor(champs): no need to project empty champs for tag
|
2024-10-21 13:09:49 +02:00 |
|
Paul Chavard
|
1ded040730
|
fix(iban): format iban through type_de_champ
|
2024-10-21 13:09:49 +02:00 |
|
Paul Chavard
|
02934188b4
|
refactor(champ): move champ value format methods from TypeDeChamp class to instance
|
2024-10-21 13:09:49 +02:00 |
|
Paul Chavard
|
fb07bdb8aa
|
fix(dossier): fix preloader with champs outside of revision
|
2024-10-18 18:17:17 +02:00 |
|
Paul Chavard
|
4e8336ce88
|
Merge pull request #10897 from tchak/refactor-dossier-diff-merge
ETQ dev, je ne veux plus de méthode `champs_for_revision`
|
2024-10-17 09:54:08 +00:00 |
|
Paul Chavard
|
0529718c4b
|
refactor(dossier): the end of champs_for_revision
|
2024-10-17 11:33:24 +02:00 |
|
Paul Chavard
|
dd97c2fffd
|
refactor(dossier): diff and merge
|
2024-10-17 11:33:24 +02:00 |
|
Paul Chavard
|
8c8bb870fc
|
refactor(dossier): filled champs
|
2024-10-17 11:33:24 +02:00 |
|
Paul Chavard
|
ad7458a12f
|
Merge pull request #10931 from tchak/better-handle-api-entreprise-jobs
fix(api_entreprise): better handle api entreprise errors
|
2024-10-17 09:30:09 +00:00 |
|
simon lehericey
|
4059bfdc11
|
fix: make filter works on multiple_drop_down_list
|
2024-10-16 18:09:51 +02:00 |
|
Colin Darie
|
5522efc3e5
|
Merge pull request #10954 from tchak/fix-dossier-merge-with-multiple-rows
ETQ usager, fix soumission d'un dossier en construction quand multiples lignes de champs répétables ont été modifiées
|
2024-10-16 15:00:26 +00:00 |
|
LeSim
|
6862f6c6bd
|
Merge pull request #10875 from demarches-simplifiees/add_id_to_column_third_part
Utilisation des colonnes dans l'affichage et le filtrage
|
2024-10-16 14:53:30 +00:00 |
|
Paul Chavard
|
c417614695
|
fix(dossier): fix apply_diff with multiple changed rows
|
2024-10-16 14:15:26 +02:00 |
|
Mathieu Magnin
|
04bbf09097
|
Merge pull request #10939 from demarches-simplifiees/fix-10919
Correction bug champ carto
|
2024-10-15 18:13:13 +00:00 |
|
simon lehericey
|
5621edcca8
|
remove unused filtered? method
|
2024-10-15 16:09:09 +02:00 |
|
simon lehericey
|
f850924dc0
|
remove procedure_presentation from export
|
2024-10-15 16:09:09 +02:00 |
|
simon lehericey
|
71bcbbc440
|
remove useless snapshot
|
2024-10-15 16:09:09 +02:00 |
|
simon lehericey
|
b5ed8c9b61
|
export cache_key based on column
|
2024-10-15 16:09:08 +02:00 |
|
simon lehericey
|
954d232a47
|
add filtered and sorted columns to export
|
2024-10-15 16:09:08 +02:00 |
|
simon lehericey
|
603c2a108e
|
remove useless Export.by_key procedure_presentation arg
|
2024-10-15 16:09:08 +02:00 |
|
simon lehericey
|
d1530b40a1
|
use the filter_service
|
2024-10-15 16:09:08 +02:00 |
|
simon lehericey
|
4d7715fbb6
|
extract filter and sort function to a filter_service
|
2024-10-15 16:09:08 +02:00 |
|
simon lehericey
|
16e93a217b
|
reset procedure_presentation if a pb occurs with a column deserialization
|
2024-10-15 16:09:07 +02:00 |
|
mfo
|
112d49cb51
|
tech(deadcode): remove unused constant on ProcedurePresentation
|
2024-10-15 16:09:07 +02:00 |
|
simon lehericey
|
e41326dad5
|
tech(clean): remove sva_columns(for_filters)
Co-authored-by: mfo <mfo@users.noreply.github.com>
|
2024-10-15 16:09:07 +02:00 |
|
simon lehericey
|
3677f3b2d3
|
tech(clean): remove Column classname: attribute
Co-authored-by: mfo <mfo@users.noreply.github.com>
|
2024-10-15 16:09:07 +02:00 |
|
simon lehericey
|
30fcb75da4
|
extract dossier_state_column
|
2024-10-15 16:09:07 +02:00 |
|
simon lehericey
|
14483270ba
|
default default_displayed_column
|
2024-10-15 16:09:06 +02:00 |
|
simon lehericey
|
0a54db6db5
|
remove human_to_filter
|
2024-10-15 16:09:06 +02:00 |
|
simon lehericey
|
b2754cd26c
|
move validations concern to filtered_column
Co-authored-by: mfo <mfo@users.noreply.github.com>
|
2024-10-15 16:09:06 +02:00 |
|
simon lehericey
|
6b5efbda07
|
remove now unused code
|
2024-10-15 16:09:06 +02:00 |
|
simon lehericey
|
14fe11b612
|
use displayed_columns !
|
2024-10-15 16:09:06 +02:00 |
|
simon lehericey
|
7e4ca07df2
|
use filtered_column to filter !
Co-authored-by: mfo <mfo@users.noreply.github.com>
|
2024-10-15 16:09:05 +02:00 |
|
simon lehericey
|
4c5d7e2950
|
remove now useless add_filters and remove_filters
|
2024-10-15 16:09:05 +02:00 |
|
simon lehericey
|
175f303399
|
display filter tags
|
2024-10-15 16:09:05 +02:00 |
|
simon lehericey
|
d54ab64e40
|
add filtered_column type
|
2024-10-15 16:09:05 +02:00 |
|
simon lehericey
|
4e0d3c2df1
|
improve Column not found error message
|
2024-10-15 15:48:41 +02:00 |
|
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 |
|
Paul Chavard
|
d13c475170
|
fix(api_entreprise): better handle api entreprise errors
|
2024-10-15 15:24:37 +02: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 |
|
Paul Chavard
|
8ddec687e6
|
Merge pull request #10873 from tchak/refactor-repetition-remove-parent_id
ETQ dev, je ne veux plus avoir de relation entre les champs et leur parent
|
2024-10-15 13:00:52 +00:00 |
|
Mathieu Magnin
|
029a75404d
|
[#10799] Fixes after @E-L-T review's
|
2024-10-15 14:40:51 +02:00 |
|
Mathieu Magnin
|
c897893e8a
|
[#10799] Remove dead code
|
2024-10-15 14:40:50 +02:00 |
|
Mathieu Magnin
|
e172f3ed6c
|
[#10799] Fix tests
|
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
|
64297f9ee8
|
[#10799] Add error on procedure#show if api entreprise token is expiring
|
2024-10-15 14:40:50 +02:00 |
|
Mathieu Magnin
|
99a1b68185
|
[#10799] reorder methods A->Z
|
2024-10-15 14:40:49 +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
|
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 |
|
benoitqueyron
|
3c5749e45a
|
TypeDeChamp: purge notice explicative lors d'un changement de type_champ
|
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 |
|
Mathieu Magnin
|
49c9f274e4
|
[#10919] When data in geo_area is invalid do not crash when .label is called
|
2024-10-15 14:37:32 +02:00 |
|
Paul Chavard
|
bd32f5693d
|
refactor(repetition): remove parent_id
|
2024-10-15 11:42:36 +02:00 |
|
Christophe Robillard
|
47a4f40939
|
destroy export_templates when destroy groupe_instructeur
|
2024-10-15 11:18:58 +02: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 |
|
Kara Diaby
|
f025e08336
|
Ajoute la table procedure tags et la liaison entre procedure et procedures tags
|
2024-10-14 10:26:46 +02: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
|
f0d334ea69
|
Merge pull request #10916 from tchak/graphql-fix-n+1
fix(graphql): n+1 on procedure and france_connect_informations
|
2024-10-11 15:20:53 +00:00 |
|
Paul Chavard
|
a3375be7c5
|
fix(graphql): n+1 on procedure and france_connect_informations
|
2024-10-11 12:20:24 +02:00 |
|
Eric Leroy-Terquem
|
d9f604e8ce
|
feat(gallery): notify instructeur if pieces jointes updates
|
2024-10-11 11:20:46 +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
|
14809b35af
|
add comments
|
2024-10-09 09:21:44 +02:00 |
|
simon lehericey
|
450420aa81
|
cache columns per request using Current
|
2024-10-08 22:51:26 +02:00 |
|
simon lehericey
|
249ddf291f
|
update_displayed_fields can use sorted_column
|
2024-10-08 22:51:26 +02:00 |
|
simon lehericey
|
4f0cac251d
|
use sorted_column to sort dossier
|
2024-10-08 22:51:26 +02:00 |
|
simon lehericey
|
ba91f2f66e
|
remove now useless validation
|
2024-10-08 22:51:25 +02:00 |
|
simon lehericey
|
da98aa556b
|
use update(sorted_column:) and remove obsolete update_sort(column_id:, order:)
|
2024-10-08 22:51:25 +02:00 |
|
simon lehericey
|
76fee12653
|
remove now unused procedure_presentation.opposite_order_for
|
2024-10-08 22:51:25 +02:00 |
|
simon lehericey
|
7349dd183a
|
notified_toggle_component use sorted_column
|
2024-10-08 22:51:24 +02:00 |
|
simon lehericey
|
22cbf725ec
|
column_table_header compute update_sort_path
|
2024-10-08 22:51:24 +02:00 |
|