Commit graph

16139 commits

Author SHA1 Message Date
Paul Chavard
e51d2235ed
Merge pull request #6668 from tchak/feat-add-parent-to-procedure-revision-type-de-champ
Add parent to procedure revision type de champ
2021-12-06 21:53:06 +01:00
Paul Chavard
5e0f8a5816 task(type_de_champ): migrate type_de_champ parent_id 2021-12-06 21:45:54 +01:00
Paul Chavard
09c37435ad feat(procedure_revision_types_de_champ): add parent_id 2021-12-06 21:45:54 +01:00
Paul Chavard
b83425896d
Merge pull request #6704 from tchak/feat-commune-departement
Display commune departement information
2021-12-06 21:08:00 +01:00
Paul Chavard
0036933425 feat(graphql): add commune and departement information to API 2021-12-06 21:01:28 +01:00
Paul Chavard
fcbe364ac8 feat(commune): display departement information on commune champ 2021-12-06 21:01:28 +01:00
Paul Chavard
ed2cbdc966 fix(champ): save departement name without code prefix 2021-12-06 20:58:08 +01:00
Paul Chavard
0a61056ea8
Merge pull request #6705 from tchak/fix-depose-at
fix(dossier): use depose_at instead of en_construction_at
2021-12-06 20:43:46 +01:00
Paul Chavard
2ba05bfb4f fix(dossier): use depose_at instead of en_construction_at 2021-12-06 15:49:17 +01:00
mfo
37aeae3db0
Merge pull request #6721 from betagouv/main
2021-12-06-01
2021-12-06 13:32:56 +01:00
mfo
2bb013afaa
Merge pull request #6700 from betagouv/6671-etq-instructeur-rendre-l-expiration-plus-visible
6671 : ETQ instructeur, je veux savoir quand le dossier arrive a expiration
2021-12-06 13:15:38 +01:00
Martin
bb9b750ce9 merge(main): fix conflict 2021-12-06 13:11:46 +01:00
Martin
45a74ee999 clean(routes): based on review 2021-12-06 13:09:46 +01:00
Martin
a9413f9b12 feat(manager): add procedure_expires_when_termine_enabled to administrate 2021-12-06 07:49:59 +01:00
Martin
2778b42f1a feat(instructeurs/procedures#show): re-align tabs at the start of the container. re-align demander cell content verticaly 2021-12-06 07:20:01 +01:00
Martin
081d5094a9 feat(instructeurs/procedure/dossiers#extend_conservation): add extends duree conservation in action button list, also rewire this action for user [extend by procedure.duree_conservation_dans_ds by default] but force 1.month for instructeur. add new icon for standby based on https://en.wikipedia.org/wiki/Power_symbol 2021-12-06 07:20:01 +01:00
Martin
d8a8d1fdab feat(instructeur/dossier/header/_expiration_banner): split trads and add dedicated expiration banner for instructeur. also enhance wording to include duree conservation + extension_conservation
feat(expiration_banner): enhance wording of expiration

feat(dossiers/expiration_banner): enhance wording regarding expiration to include duree_conservation_dossiers_dans_ds + extension_conservation, also add spec on expiration_banner for instructeur
2021-12-06 07:05:17 +01:00
Martin
22531560d8 feat(tabs.expirants): re-order so it comes before deleted dossiers 2021-12-06 07:05:17 +01:00
Martin
8e9b15aef4 clean(expiration_banner): dedicated to user not shared 2021-12-06 07:05:17 +01:00
Martin
1bb868714c fix(spec/lint/review): lint and fix spec of previous commits, also fix based on tchak feedback 2021-12-06 07:05:17 +01:00
Martin
d87f8b57cc feat(instructeurs/procedures#show): add dossier experiant in procedure#show 2021-12-06 07:05:17 +01:00
Martin
2dfbc70d41 feat(instructeur#dossiers_count_summary): add counter for expirants. ignore brouillon 2021-12-06 07:05:17 +01:00
Martin
ce87878ff0 refactor(traitement.process_expired): move process expired to procedure 2021-12-03 16:32:36 +01:00
Martin
f8a17b2cc4 feat(procedures#index): add dossiers-expirant to instructeur/procedure#index 2021-12-03 16:32:03 +01:00
krichtof
731f8c3063
Merge pull request #6665 from betagouv/6194-add-ministere-to-procedure
6194 add zone to procedure
2021-12-02 19:30:43 +01:00
Christophe Robillard
3265ac2d84 localize zone 2021-12-02 19:24:26 +01:00
krichtof
b2902340af add db constraints for ministere
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2021-12-02 19:24:26 +01:00
Christophe Robillard
9341c787a1 administrateur can add zone to procedure 2021-12-02 19:24:26 +01:00
Christophe Robillard
561f6fb274 add belongs_to zone for procedure 2021-12-02 19:23:05 +01:00
Christophe Robillard
5b8d872b6e populate zones 2021-12-02 19:16:11 +01:00
Christophe Robillard
219eaf0d5e add zone model 2021-12-02 19:16:11 +01:00
Pierre de La Morinerie
426c682fcb
Merge pull request #6718 from betagouv/main 2021-12-02 16:16:32 +01:00
Pierre de La Morinerie
05c81e902d
Administrateur : empêche la publication d'une démarche comportant un champ "Choix" sans valeur sélectionnable (#6703) 2021-12-02 09:05:23 +01:00
Pierre de La Morinerie
b7d17b0989 models: validate that no drop-downs are empty on publishing
Disallow publishing a procedure containing drop-downs with no selectable
values.
2021-12-02 09:00:37 +01:00
Pierre de La Morinerie
e219ec33d8 validators: rename no_empty_repetitions to no_empty_repetition 2021-12-02 09:00:37 +01:00
Pierre de La Morinerie
115ca5e24a js: don't create invalid menus by default
When a new "Menu" type de champ is added, it comes pre-filled with a
menu title – and nothing else. Which is confusing, and invalid.

Instead pre-fill the type de champ with actual values (no titles).
2021-12-02 09:00:37 +01:00
Pierre de La Morinerie
9ae4361f59
Remplacement de la feature Flipper instructeur_bypass_email_login_token 3/3 (#6681) 2021-12-02 08:56:21 +01:00
Pierre de La Morinerie
d524beee4e app: remove :instructeur_bypass_email_login_token from Flipper 2021-12-02 08:51:52 +01:00
Pierre de La Morinerie
8b3d31980a specs: use Instructeur.bypass_email_login_token in the tests 2021-12-02 08:51:52 +01:00
Pierre de La Morinerie
ac07f05771 app: use Instructeur.bypass_email_login_token 2021-12-02 08:51:52 +01:00
Paul Chavard
fdaaf7c587
Merge pull request #6712 from tchak/fix-stats-page
fix(stats): remove super admin stats
2021-12-01 18:35:04 +01:00
Paul Chavard
46e2e34b89 fix(stats): remove super admin stats 2021-12-01 18:10:05 +01:00
Paul Chavard
dc52606374
Merge pull request #6711 from adullact/fix/stat-time-travel
fix(stat): enforce time travel when dealing with relative dates
2021-12-01 18:09:42 +01:00
François Vantomme
8fc14faa2a
fix(stat): enforce time travel when dealing with relative dates 2021-12-01 17:09:30 +01:00
mfo
8b98b3b657
Merge pull request #6684 from betagouv/US/fix-show-expirable-on-procedure-where-not-needed
fix(expiration_banner): only show expirations info when flip is enabled
2021-11-30 16:21:20 +01:00
Pierre de La Morinerie
8befadf2d5
Merge pull request #6702 from betagouv/main 2021-11-30 16:08:29 +01:00
Martin
725521c3a1 fix(expiration_banner): only show expirations info when flip is enabled
fix(lint): lint haml

fix(spec): enable flipper and allow procedure to receive flipper check when checking banner presence

fix(doc): add missing documentation on readme regarding system testing with a visual feedback

fix(typo): add missing accent

clean(PR): feedback from Tchak, better to wrap feature check for expirability by procedure within dossier.expirable? helper
2021-11-30 16:05:32 +01:00
Pierre de La Morinerie
89244407be
Merge pull request #6701 from betagouv/fix-after-party-task-name 2021-11-30 16:00:10 +01:00
Pierre de La Morinerie
65c1966dc2 lib: fix after_party task name 2021-11-30 15:51:25 +01:00
Kara Diaby
b67301c149
Merge pull request #6699 from betagouv/main
2021-11-30-03
2021-11-30 15:35:28 +01:00