Colin Darie
64ce2719ed
feat(services): accept an optional SIRET
...
Closes #7359
2022-09-06 09:23:52 +02:00
simon lehericey
d612c39438
fix(admin procedure preview): redirect is procedure invalid
2022-09-05 10:18:33 +02:00
simon lehericey
e9677c37a1
fix(admin procedure preview): remove preview and continue buttons where procedure invalid
2022-09-05 10:17:05 +02:00
Martin
4537d2149d
fix(service#index): caption absolute positionning does works well with long captions
2022-09-02 10:29:00 +02:00
simon lehericey
bad058891b
feat(conditional): block actions and hide revision details if procedure invalid
2022-09-01 15:07:18 +02:00
simon lehericey
f4b465a03f
add errors_summary component
2022-09-01 15:07:18 +02:00
Colin Darie
b1e9dffbc6
chore(rubocop): enable on .prawn files
2022-08-31 16:52:00 +02:00
Martin
f3ad8e2ead
clean(service.edit.html.haml): extract other services
2022-08-31 14:56:01 +02:00
Martin
39b328a984
ui(Administrateur::Procedure::Service): use ds-fr table and some ui refinements
2022-08-31 14:56:01 +02:00
Martin
2649cc477f
feat(Administrateur::Procedure::Service.form): resize inputs
2022-08-31 14:56:01 +02:00
Martin
edbff1ceb2
feat(Administrateur::Procedure::Service.form): add back link
2022-08-31 14:56:01 +02:00
Martin
d2b42dda2e
feat(Administrateur::Procedure::Service.form): enhance wording and styl
2022-08-31 14:56:00 +02:00
Martin
f086302455
feat(Administrateurs::Procedure::Service#form): wrap explanation within DSFR::CallOut
2022-08-31 14:56:00 +02:00
Martin
289b8f78b8
feat(Administrateur::Services#index): rework list of services
2022-08-31 14:56:00 +02:00
Martin
17d8c7a371
feat(Administrateurs::Procedure::Service#edit): update UI with new warning as well as DSFR ui
...
feat(Administrateur::Procedure::Service#edit): add warning message a la DSFR
2022-08-31 14:56:00 +02:00
Martin
d30492a222
tech(clean): better naming
2022-08-23 13:28:10 +02:00
Martin
dc524cf615
fix(spec): broken spec due to TDD and refacto on former code
2022-08-23 13:28:10 +02:00
Martin
711b2ee2e4
feat(ExportComponent): only render it when connected instructeur/administrateur is not from manager
2022-08-23 13:28:10 +02:00
Martin
25c0e91d87
feat(Administrateurs::GroupeInstructeur): ensure admin from super admin can not add an instructeur
2022-08-23 13:28:10 +02:00
Martin
d1544bc4ae
feat(Administrateurs::ProcedureAdministrateurs): ensure admin from super admin can not add administrateur
2022-08-23 13:28:10 +02:00
Colin Darie
d4f8f05dec
fix(admin/attestation): page layout because of too larger input#size attribute
2022-07-27 14:26:00 +02:00
Paul Chavard
8cba80116e
fix(types_de_champ): fix exception on validation errors
2022-07-26 18:17:48 +02:00
simon lehericey
369141c7f7
Fix(procedure library): replace infinite list by a basic search
2022-07-26 12:38:05 +02:00
Paul Chavard
7425744f9f
refactor(procedure): move cards to components
2022-07-21 18:07:56 +02:00
Martin
87af7f3261
feat(exports): implement admin export
2022-07-20 14:08:33 +02:00
mfo
4b6ae888d2
Update app/views/administrateurs/procedures/_informations.html.haml
...
Co-authored-by: Paul Chavard <github@paul.chavard.net>
2022-07-18 14:08:53 +02:00
Martin
8ca3a9760b
feat(procedure/_information): show new policy regarding data retention [translated so other instances can adapt their support strategy]
2022-07-18 14:08:53 +02:00
Martin
24c8dc5829
feat(procedure.duree_conservation_dossiers_dans_ds): decrease max duree_conservation_dossiers_dans_ds from 36 to 12
2022-07-18 14:08:53 +02:00
Paul Chavard
98a0bc8c71
refactor(condition): use dom_id with stable_id
2022-07-13 15:38:43 +02:00
Paul Chavard
0adfd92213
refactor(condition): use standard revision change ops
2022-07-13 15:32:25 +02:00
simon lehericey
2cad0e11d3
display condition change between version
2022-07-13 15:10:23 +02:00
Colin Darie
d805114a72
Revert "feat(revision): list updated placeholder option for generic type de champ"
...
This reverts commit fe0282e904
.
Continue 2bd33ada45b036f73f3fc78150621092e0667693
2022-07-12 11:37:58 +02:00
simon lehericey
0179a0a826
update conditions_controller
2022-07-12 10:44:40 +02:00
simon lehericey
2fee0ddfd4
feature: type_de_champ_controller
2022-07-12 10:44:40 +02:00
simon lehericey
2df9d8ba98
use condition_condition_component in editor
2022-07-12 10:44:40 +02:00
Paul Chavard
9867bc3947
fix(a11y): manu buttons should have unique ids
2022-07-12 08:43:17 +02:00
Colin Darie
ce67dd2d70
feat(admin): list procedures with updated_at & auto_archive_on
...
Closes #7392
2022-07-11 17:22:11 +02:00
Colin Darie
fe0282e904
feat(revision): list updated placeholder option for generic type de champ
2022-07-11 17:16:20 +02:00
Paul Chavard
9b45dcea3f
feat(demarche): add possibility to reset draft revision
2022-07-06 14:18:01 +02:00
Martin
7fb85c97cb
feat(Administrateur::ArchivesControllers): add archives #index and #create for admin
2022-07-04 14:18:46 +02:00
Martin
4ec61e58ac
feat(EditComponent): add max_file_size and content_types to upload buttons inspired by dsfr
2022-06-28 17:44:35 +02:00
Paul Chavard
eba1973d5f
refactor(stimulus): eager load stimulus controllers
2022-06-23 15:22:55 +02:00
Christophe Robillard
fa3c6c3b61
opendata active only if feature flag
2022-06-23 14:11:09 +02:00
Christophe Robillard
45d48bd269
administrators can specifiy if demarche's descriptive is opendata
2022-06-23 14:11:09 +02:00
Martin
ab4d4c83a8
feat(GroupeInstructeurs.closed): add closed option to GroupeInstructeur in order to prevent usagers to submit dossier
2022-06-20 16:32:06 +02:00
Paul Chavard
6801b04b7b
feat(type_de_champ): type_de_champ editor in stimulus/turbo
2022-06-17 11:04:09 +02:00
Paul Chavard
1573d20ee9
types_de_champ controller to use turbo
2022-06-17 11:04:09 +02:00
Kara Diaby
5f1f8b299a
layout
2022-06-08 14:38:17 +02:00
Kara Diaby
1c271fef83
layout
2022-05-30 14:40:49 +02:00
Kara Diaby
8df81b365e
layout
2022-05-26 12:45:05 +02:00
Pierre de La Morinerie
62d5778790
views: shorten administrateur breadcrumb
2022-05-25 10:37:59 +02:00
Paul Chavard
e257a05150
feat(dossier): preview should save dossier
2022-05-24 17:02:05 +02:00
Paul Chavard
bc77390cfe
refactor(attachment): use new components
2022-05-17 16:08:47 +02:00
Pierre de La Morinerie
51512ff733
views: clarify why contact informations are important
2022-05-17 10:45:34 +02:00
Pierre de La Morinerie
c0b96bfecb
views: improve Service breadcrumbs
...
- Make the procedure name shorter
- Capitalize the words
2022-05-17 10:45:34 +02:00
Paul Chavard
246db0e1cf
fix(menu-button): should be a button
2022-05-16 09:44:30 +02:00
Paul Chavard
771a92a5e2
refactor(menu-button): use menu button controller
2022-05-11 16:23:42 +02:00
Kara Diaby
513f749e72
layout
2022-05-10 16:16:16 +02:00
Martin
3737311390
feat(procedure.procedure_expires_when_termine_enabled): enable by default, allow contributor to choose the default settings of this flag using an env var during migration. ie: DEFAULT_PROCEDURE_EXPIRES_WHEN_TERMINE_ENABLED=true|false
...
feat(administrateurs/procedures#show): warning/alert when procedure_expires_when_termine_enabled is not true on current procedure
feat(administrateur/procedure#update): after an update redirect to procedure show: suggested by: https://ux.stackexchange.com/questions/55291/after-updating-form-should-redirect-back-to-form-itself-or-to-the-show-page-or-b and confirmed by Olivier
clean(Flipper.archive_zip_globale): no more in use, so remove all occurences
Update app/views/administrateurs/procedures/_suggest_expires_when_termine.html.haml
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
Update app/views/administrateurs/procedures/_suggest_expires_when_termine.html.haml
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
Update app/views/administrateurs/procedures/_suggest_expires_when_termine.html.haml
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
Update spec/views/administrateurs/procedures/show.html.haml_spec.rb
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
fix(review): typo, why ena?, who knows
fix(env.example.optional): add missing DEFAULT_PROCEDURE_EXPIRES_WHEN_TERMINE_ENABLED
2022-05-05 13:07:11 +02:00
simon lehericey
663f419404
fix typo in rgpd text
2022-04-29 11:57:38 +02:00
Paul Chavard
26df3aaa58
refactor(dossier): remove preview special case
2022-04-28 12:20:41 +02:00
Martin
3c0e3f725d
feat(administrateur/procedures#publication): show dubious to administrateur
...
Update app/views/administrateurs/procedures/publication.html.haml
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
2022-04-27 15:13:22 +02:00
Martin
be090a1bec
feat(administrateur/procedure#create): allow admin to add a lien to the DPO, allow user to consult link to dpo. enhance spec on _procedure_footer.html
...
Update spec/views/users/_procedure_footer.html.haml_spec.rb
Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
2022-04-27 15:09:02 +02:00
Martin
89d192bcfe
feat(adminstrateurs#dossier_vide): add button to /dossier_vide so administrateur can have a pdf version of their form to send it in regards to RGPD
2022-04-25 15:00:48 +02:00
Paul Chavard
cad63391db
refactor(turbo): use turbo in procedure administrateurs controller
2022-04-21 19:41:27 +02:00
Kara Diaby
95bdc4a22a
layout
2022-04-21 11:34:40 +02:00
Paul Chavard
c530399eac
feat(procedure): display revisions diffs
2022-03-17 10:26:38 +01:00
Paul Chavard
6d69e153f3
fix(procedure): use non-breaking spaces
2022-03-17 10:26:38 +01:00
Paul Chavard
0cb34028d2
fix(procedure): use size instead of count
2022-03-17 10:26:38 +01:00
mfo
62351153a1
Merge branch 'main' into patch-1
2022-03-03 17:01:16 +01:00
Benoît Bernier
8ee6c5fe1b
Typo correction
2022-03-03 16:48:26 +01:00
Benoît Bernier
02661b5ec7
Typo correction
2022-03-03 16:46:02 +01:00
Paul Chavard
ac6e219074
feat(administrateur): dossiers count should only include relevant dossiers
2022-03-02 15:37:42 +00:00
Martin
85a588541b
feat(dossier_submitted_message): add a new system to customize the standby page (/merci) after an user created his folder. this is a basic feature that will come with more options asap
...
wip(dossier_created_hook): add tile to administrateurs/procedure#show in order to crud dossier_created_hook
refactor(css.utilities): remove merge helpers.scss within utils.scss (same purpose). use scss each for spacer modifiers
refactor(dossiers/_merci.html): extract partial _merci so we can re-use it in preview of dossier_created_hook.
feat(wip): current progress
2022-02-25 14:01:18 +01:00
Paul Chavard
76b1b85fa7
fix(attestation_template): add revision diff support
2022-02-11 08:45:32 +01:00
Paul Chavard
12151acb99
Revert "Revert "feat(attestation): revise attestations""
...
This reverts commit 4e7733e571
.
2022-02-08 16:22:59 +01:00
Pierre de La Morinerie
d680602c84
models: validate private types_de_champ
2022-02-01 12:37:16 +01:00
Pierre de La Morinerie
e8e37cce15
models: refactor the types_de_champ validators
...
Context: we want to validate public and private types_de_champ
separately.
Before we validated the whole revision (and then validators themselves
enumerated all champs, public and private).
Now we validate the actual public types_de_champ, which will let us
validate separately the private types_de_champ.
2022-02-01 12:37:16 +01:00
Paul Chavard
4e7733e571
Revert "feat(attestation): revise attestations"
...
This reverts commit e413872530
.
2022-01-25 18:26:34 +01:00
Paul Chavard
e413872530
feat(attestation): revise attestations
2022-01-19 18:00:37 +01:00
Kara Diaby
8490826a78
import csv gi available only for published procedures
2022-01-18 13:21:11 +01:00
Martin
a9ffaf942e
feat(attestation): can enable/disable attestation no matter the state of the procedure
2022-01-05 18:20:11 +01:00
Paul Chavard
3513182e7c
a11y(select): use new ComboMultiple component
2022-01-05 12:33:40 +01:00
Paul Chavard
7f0dde9be4
fix(a11y): add aria to tabs
2022-01-04 09:44:32 +01:00
Paul Chavard
e264472481
fix(procedures): fix check to enable procedure delete
2021-12-16 17:28:42 +00:00
Christophe Robillard
dec1f787a7
edit zone only if zonage feature enabled
2021-12-15 19:37:32 +01:00
Christophe Robillard
829d644c10
group related options in zone select box
2021-12-15 19:37:32 +01:00
François Vantomme
6ab8ac0662
feat (api particulier): add Pole emploi field
2021-12-08 10:36:25 +01:00
Christophe Robillard
3265ac2d84
localize zone
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
Pierre de La Morinerie
b86dec8251
views: prevent procedure publication on validation error
2021-11-30 13:34:41 +01:00
Pierre de La Morinerie
9db62178d2
views: display revision errors on the procedure dashboard
2021-11-30 13:34:41 +01:00
Pierre de La Morinerie
184a401182
app: rename new_administrateur
to administrateurs
2021-11-30 08:49:38 +01:00
Pierre de La Morinerie
e5f449b595
devise: unify password reset views
...
By default, Devise will look for views:
1. First in `views/resource/passwords/…`,
2. Then in `views/devise/passwords/…` if not found.
By moving the views to `views/devise`, we avoid having a partial in
`views/shared` that we need to include manually, and instead let Devise
do the job automatically.
2021-09-09 09:40:40 -05:00
Pierre de La Morinerie
ed8b19d2eb
app: use password_complexity in Administrateurs::ActivateController
2021-09-09 09:40:39 -05:00
simon lehericey
d5ddd182a7
remove useless session views
2019-08-14 18:04:26 +02:00
simon lehericey
7ac243ac44
Use proper token to find the administrateur ... how can it works otherwise ?
2019-08-12 13:43:03 +02:00
simon lehericey
7e78b7d62d
Administrateur password, remove one level of indirection
2019-08-12 13:43:03 +02:00
maatinito
8d3e3baabc
#3928 administrator new & edit pwd pages
2019-08-01 17:12:14 +02:00
Pierre de La Morinerie
e87264b402
stylesheets: add a devise-container class
2018-10-03 15:09:30 +02:00
Paul Chavard
3c66fceba5
Replace password strength js with ujs
2018-09-27 16:00:14 +02:00
Mathieu Magnin
7280b1f503
[ Fix #1285 ] Password strength is checked when user is typing
2018-09-26 09:51:30 +02:00
Mathieu Magnin
35da5d595f
[ Fix #1285 ] Redesign the administrateurs password activation page
2018-09-26 09:03:03 +02:00
gregoirenovel
5db408efdb
[ Fix #1511 ] Remove the now obsolete DS logo
2018-09-24 12:16:58 +02:00
Paul Chavard
bbf55ab85e
Create administrateurs with invitation link and no password
2018-01-16 10:49:07 +01:00
Simon Lehericey
271abc72fb
[ fix #1065 ] Change logout logo for plain text
2017-12-11 17:00:45 +01:00
gregoirenovel
c10c2fc31b
Selectors must be written in lowercase with hyphens
2017-04-20 10:35:53 +02:00
gregoirenovel
3797015908
All colons must be followed by a single space
2017-04-10 17:55:55 +02:00
gregoirenovel
6db4a69cb2
Use spaces inside hashes
2017-04-10 17:55:54 +02:00
gregoirenovel
e7e4e41e12
Haml Ruby evaluation tags must be followed by a space
2017-04-10 17:55:53 +02:00
gregoirenovel
d5e7bbd80d
Files should end with a new line
2017-04-04 16:59:38 +02:00
JC
b698046e1e
Adding layout for credentials, this dropdown is shown when you pass hover sign_out button. It display email informations about the current gestionnaire/user
2016-12-05 14:06:43 +01:00
Xavier J
d2a221ee40
Fix admin log out navbar style
2016-12-01 13:21:56 +01:00
Xavier J
d7fdf22abb
First fixed
2016-11-14 17:33:45 +01:00
Xavier J
a08ded5322
Fix logo image_url
2016-11-03 17:29:59 +01:00
Xavier J
e10c218d3a
Add dynamic logo (opensimplif)
2016-11-03 17:20:56 +01:00
Xavier J
68951c3a53
Add locales dynamics (opensimplif)
2016-11-03 16:46:26 +01:00
Xavier J
bb116a68dd
Fix connexion view
2016-05-27 10:15:19 +02:00
Xavier J
143a683303
Change management navbar procedure admin
2016-05-19 10:57:18 +02:00
Xavier J
1a1a97f79c
Ajust source code
2016-02-22 15:20:22 +01:00
Guillaume Lazzara
973d6693e0
Demo sign-in page for administrateur
2016-02-19 17:27:14 +01:00
Guillaume Lazzara
2a2aef34db
Add gestionnaire administration panel.
2016-02-09 11:01:10 +01:00
Xavier J
43779aafee
Error 403 when admin would edit a procedure with at least one dossier
2015-12-21 12:02:53 +01:00
Tanguy PATTE
cf99b30349
change banner for admin
2015-12-14 17:27:14 +01:00
Xavier J
27dedb1f7b
Harmonisation des pages de login
2015-11-20 17:50:27 +01:00
Xavier J
49627fccad
Add Administrateurs role and his connexion is ok.
2015-10-23 16:19:55 +02:00