demarches-normaliennes/app/models/concerns
simon lehericey e64ac79f05 tech(refactor): much nicer code, thx LeSim
root -> rooted_tree

depth_cach -> walk

smal refactor

comment

remove form for header_section

remove seen_at from header section

header_section: champ -> header_section

champ_subree: remove if not

remove root_depth use header_section_level_value instead

remove unused include

remove ChampTreeComponent

rename ChampsSubtreeComponent to SectionComponent

use TreeableConcern only in section component

remove fields_for_champ_component

champs -> tail

add split_section_champ helper

refactor(editable_champ::header_section): keep same interface everywhere

fix(repetition): add spec for SectionComponent on repetitions
2023-04-20 08:22:02 +02:00
..
.keep First Commit 2015-08-10 11:05:06 +02:00
attachment_titre_identite_watermark_concern.rb active_storage: refactor concerns 2021-03-16 11:49:14 +01:00
attachment_virus_scanner_concern.rb active_storage: refactor concerns 2021-03-16 11:49:14 +01:00
blob_signed_id_concern.rb Rails app:update 2020-07-07 18:03:56 +02:00
blob_titre_identite_watermark_concern.rb refactor(watermark): use column instead of metadata on blob 2023-01-04 12:07:08 +01:00
blob_virus_scanner_concern.rb chore(rubocop): fix Rails/IgnoredColumnsAssignment 2023-04-19 12:55:14 +02:00
champ_conditional_concern.rb refactor(conditional): extract in a ChampConditionalConcern with tests 2023-01-26 09:06:30 +01:00
dossier_filtering_concern.rb feat(instructeur/procedure#index): enhance filter to support processed_at and state [plus en_instruction_at/since] 2022-09-27 17:19:54 +02:00
dossier_prefillable_concern.rb Fix rubocop 2023-02-22 19:40:52 +01:00
dossier_rebase_concern.rb fix(dossier): fix rebasing submitted dossiers private champs type changes 2023-03-22 11:43:08 +01:00
dossier_sections_concern.rb fix(dossier): don't auto-number header sections in repetitions 2023-03-09 16:15:56 +01:00
email_sanitizable_concern.rb feat(graphql): implement add/remove instructeurs via API 2023-01-10 20:33:35 +01:00
encryptable_concern.rb add encryptable_concern 2021-07-30 11:18:44 +02:00
mail_template_concern.rb fix(mail): default subject fallback when subject template is empty 2023-02-09 17:49:43 +01:00
password_complexity_concern.rb models: extract password complexity to a concern 2021-09-09 09:40:39 -05:00
procedure_stats_concern.rb chore(rubocop): fix Rails/DurationArithmetic 2023-04-19 12:55:13 +02:00
rna_champ_association_fetchable_concern.rb refacto: better error management 2023-02-27 14:35:11 +01:00
siret_champ_etablissement_fetchable_concern.rb fix(champ): may fix pg deadlocks: autosave already saves value at the same time 2023-03-20 14:32:14 +01:00
tags_substitution_concern.rb fix(administrateur): procedure page n+1 2023-02-16 11:29:21 +01:00
transient_models_with_purgeable_job_concern.rb fix(exports): purge stuck (pending) exports, not generated or failed 2022-07-27 15:26:59 +02:00
treeable_concern.rb tech(refactor): much nicer code, thx LeSim 2023-04-20 08:22:02 +02:00
trusted_device_concern.rb Rename gestionnaire in code to instructeur 2019-08-12 13:47:01 +02:00