LeSim
8b7b9b438c
Merge branch 'dev' into change_dossier_state_from_manager
2018-07-02 16:16:40 +02:00
simon lehericey
73a14c7f09
[ fix #2185 ] Messagerie: best commit ever
2018-07-02 16:11:20 +02:00
simon lehericey
49836564ce
Manager: can change dossier state to instruction
2018-07-02 15:57:39 +02:00
Pierre de La Morinerie
b4b533f0c5
dossiers: change all links to use the new user dossiers list
2018-07-02 13:58:58 +02:00
Pierre de La Morinerie
148dc164f7
dossiers: generate the correct link to see the dossier details
2018-07-02 13:58:58 +02:00
Pierre de La Morinerie
07f3effb02
dossiers: add details to the empty state
2018-07-02 13:58:58 +02:00
Pierre de La Morinerie
f781399309
form: validate forms only when submitting dossier, not on draft saves
2018-07-02 12:30:27 +02:00
Mathieu Magnin
34663db158
Translate devise view
2018-07-02 11:26:36 +02:00
Mathieu Magnin
47bc3a7ea3
Remove unused EN devise view
2018-07-02 11:26:36 +02:00
Mathieu Magnin
e694e7f9b9
[ Fix #2145 ] When procedure is archived, usager should see a message explaining dossier submission is closed
2018-07-02 11:10:34 +02:00
Frederic Merizen
06efd9681c
[ #1421 ] Format linked dropdwon in user recapitulatif
2018-06-28 20:06:32 +02:00
Frederic Merizen
6dc79301ce
[ #1421 ] Format linked list in gestionnaire view
2018-06-28 20:06:32 +02:00
Paul Chavard
d0a6957862
Remove old cerfa code
2018-06-28 15:16:20 +02:00
Frederic Merizen
44d9f72da4
[ Fix #2147 ] Link to better France Connect about page
2018-06-28 10:09:12 +02:00
Pierre de La Morinerie
0cebf60c46
[ #1421 ] replace master/slave by primary/secondary
2018-06-27 17:02:46 +02:00
Frederic Merizen
dad3bc092b
[ #1421 ] linked dropdwon user view
2018-06-27 17:02:46 +02:00
Frederic Merizen
2f206af0d6
[ #1421 ] Make label clickable for drop-down lists
2018-06-27 17:02:46 +02:00
Mathieu Magnin
fee961ea1e
In dev env, load xray
2018-06-27 14:20:15 +02:00
Pierre de La Morinerie
d77530b6a6
dossiers: move link back to the old ui
2018-06-27 11:37:06 +02:00
Pierre de La Morinerie
9f70e72d83
dossiers: add a button to start a new demarche
2018-06-26 18:13:52 +02:00
Pierre de La Morinerie
20aeae5029
dossiers: ask heavy users for feedback
2018-06-26 18:04:04 +02:00
Pierre de La Morinerie
8c36c8d26f
dossiers: add an empty state
2018-06-26 18:04:04 +02:00
Pierre de La Morinerie
06de1d6cee
dossiers: link individual dossiers to the old UI
2018-06-26 18:04:04 +02:00
Pierre de La Morinerie
f242c73974
dossiers: make link in the header point to the new UI
2018-06-26 18:04:04 +02:00
Pierre de La Morinerie
a569a566fc
header: use active_link_to for setting the active class on links
2018-06-26 18:04:04 +02:00
Pierre de La Morinerie
b9c8a1ffbe
dossiers: simpler display when there are not invited dossiers
2018-06-26 18:04:04 +02:00
Mathieu Magnin
202a1dd7ce
Show siege social siret in accompagnateur view
2018-06-26 17:45:18 +02:00
Pierre de La Morinerie
805ea0595b
identite: add mandatory asterisk to CGU field
2018-06-25 11:51:15 +02:00
Pierre de La Morinerie
a1f8baefdc
auth: fit the signup button on a single line
2018-06-25 11:51:15 +02:00
Pierre de La Morinerie
956c3fe36c
Replace hardcoded phone numbers by a CONTACT_PHONE constant
2018-06-25 11:51:15 +02:00
Pierre de La Morinerie
51e256e122
header: fix link to the contact email
2018-06-25 11:26:45 +02:00
Frederic Merizen
15e8d8af05
[ #1421 ] Add linked dropown fields
2018-06-21 16:19:20 +02:00
Mathieu Magnin
3058c4350f
Fix design
2018-06-21 15:02:12 +02:00
gregoirenovel
901748c5aa
Show the etablissement SIRET, not the siege social SIRET
2018-06-20 18:35:19 +02:00
Pierre de La Morinerie
c4057a0807
dossier: display user infos on edit page
2018-06-19 16:27:53 +02:00
Pierre de La Morinerie
c1db26b2e1
service: add explanation about contact infos
2018-06-19 16:23:43 +02:00
Pierre de La Morinerie
755600acf4
layout: move the landing footer to its own file
2018-06-19 16:23:43 +02:00
Frederic Merizen
e99931527b
[ #1421 ] Move pays to PaysChamp
2018-06-19 15:20:01 +02:00
Frederic Merizen
0239f936d7
[ #1421 ] Move departements to DepartementChamp
2018-06-19 15:20:01 +02:00
Frederic Merizen
5b59bce0b6
[ #1421 ] Move regions to RegionChamp
2018-06-19 15:20:01 +02:00
Pierre de La Morinerie
426e61777c
dossier: make the "Save changes" button title more meaningful
2018-06-19 13:46:43 +02:00
Pierre de La Morinerie
a4382ac198
dossiers: asterisque
-> astérisque
2018-06-19 13:46:43 +02:00
Frederic Merizen
bdece939c8
[ #1568 ] Inline partial that is only used in one view
2018-06-19 12:42:46 +02:00
Frederic Merizen
521aec6af9
[ #1568 ] Remove old previsualisation code
2018-06-19 12:42:46 +02:00
Frederic Merizen
fd10310cbf
[ Fix #1568 ] Use new procedure preview
2018-06-19 12:42:46 +02:00
Mathieu Magnin
ae6e3e345e
Task to unhide dossiers with instruction commencee
2018-06-19 10:05:00 +02:00
Mathieu Magnin
e05fb2d0ae
Allow dossier deletion if instruction has not started
2018-06-19 10:05:00 +02:00
Pierre de La Morinerie
3ba5d654ba
editable_champs: move the label near the checkbox
2018-06-18 18:12:11 +02:00
Frederic Merizen
78fa6945cb
[ #2068 ] Use official French word for mail
2018-06-18 10:42:04 +02:00
Frederic Merizen
dd4e6eaa11
[ #2068 ] Add missing devise translations
2018-06-18 10:42:04 +02:00
simon lehericey
eee41cbf39
Manager: can reinvite a gestionnaire
2018-06-14 16:41:10 +02:00
Pierre de La Morinerie
0bef35946f
procedure: make sentence shorter
...
Before: "Affectez des accompagnateurs à votre procédure.Affectez un
service à votre procédure.
After: "Affectez des accompagnateurs et un service à votre procédure."
2018-06-13 11:59:40 +02:00
Pierre de La Morinerie
367ac0dd5a
procedure: avoid tooltip being hidden by the navbar
2018-06-13 11:59:40 +02:00
Frederic Merizen
fd2fd83aac
Remove erroneous space in haml
2018-06-13 10:21:57 +02:00
Mathieu Magnin
6289a719ef
Display virus scan status with pj champs
2018-06-12 15:12:39 +02:00
gregoirenovel
c2b97c68e1
Fix an email
2018-06-11 11:56:52 +02:00
gregoirenovel
41e8350cbe
[ Fix #1735 ] Sign the admin account creation email
2018-06-01 20:48:50 +02:00
gregoirenovel
6be05e8fc5
Add a local variable to the bizdev_signature partial
2018-06-01 20:48:50 +02:00
Frederic Merizen
52bb40ab20
[ #1946 ] Show retention times in procedure administration summary
2018-06-01 17:35:04 +02:00
gregoirenovel
b82ed65568
[ Fix #885 ] Convert .text.erb to .html.haml
2018-06-01 17:14:48 +02:00
gregoirenovel
efdcbe4265
[ Fix #885 ] Convert .html.erb to .html.haml
2018-06-01 17:14:48 +02:00
gregoirenovel
bd9d913a74
[ Fix #885 ] Remove unused mail templates
2018-06-01 17:14:48 +02:00
gregoirenovel
f6c1229cf0
[ Fix #1775 ] Improve the wording of the emails templates
2018-06-01 17:12:10 +02:00
gregoirenovel
42650cef72
Remove an unused file
2018-06-01 17:07:23 +02:00
Frederic Merizen
648483ac76
[ #1946 ] Allow admins to edit data retention time
2018-06-01 16:46:39 +02:00
gregoirenovel
f8f760db62
Use p tags in emails to improve legability
2018-06-01 15:42:56 +02:00
gregoirenovel
dd66089d5c
Put the title in an instance variable when needed to avoid repetition
2018-06-01 15:42:56 +02:00
gregoirenovel
1cd06b68d4
Remove extra markup from the avis invitation email
2018-06-01 15:42:56 +02:00
gregoirenovel
4f2509861b
Improve the wording of the avis email
2018-06-01 15:42:56 +02:00
gregoirenovel
bc8f74dc42
[ Fix #1858 ] Improve the avis email’s style
2018-06-01 14:11:06 +02:00
gregoirenovel
a0b82696dd
[ Fix #886 ] devise/mailer -> devise_mailer
2018-06-01 11:47:46 +02:00
gregoirenovel
8f1579fb9e
[ Fix #886 ] Move mail templates from /mails to /notification_mailers
2018-06-01 11:47:46 +02:00
gregoirenovel
464d1c1efa
Remove a useless method
2018-06-01 11:35:40 +02:00
gregoirenovel
b364b8bfb3
Improve many subjects
2018-06-01 11:35:40 +02:00
gregoirenovel
23931a7591
Remove the contact_email locale
2018-06-01 00:00:11 +02:00
gregoirenovel
185f08f63e
Add constants for email addresses
2018-06-01 00:00:11 +02:00
simon lehericey
18ad227df5
[ fix #1897 ] Procedure: can delete a deliberation
2018-05-31 16:56:28 +02:00
simon lehericey
fa14db1cbf
Procedure: add deliberation
2018-05-31 16:56:28 +02:00
simon lehericey
a96889310b
Procedure: add legal reference
2018-05-31 16:55:31 +02:00
Paul Chavard
e2a126e37a
Add users and gestionnaires to manager
2018-05-31 15:18:24 +02:00
gregoirenovel
0329b1db68
Use User#owns_or_invite? instead of Dossier#owner_or_invite?
2018-05-31 14:39:43 +02:00
gregoirenovel
4e9565a5df
Adds User#owns?
2018-05-31 14:39:43 +02:00
simon lehericey
167ca26036
ManagerDemandeView: does not bug when there is no demand
2018-05-31 13:47:42 +02:00
gregoirenovel
661010100d
[ Fix #1536 ] Remove stringupcasepatch
2018-05-31 11:49:25 +02:00
gregoirenovel
dc045bdefb
[ Fix #1808 ] Use &. where possible
2018-05-31 11:49:25 +02:00
Mathieu Magnin
eb1fbb7dbc
Delete button, notify user and admin then delete dossier
2018-05-30 18:01:36 +02:00
Mathieu Magnin
b68563f45f
Only dossier owner can see delete button
2018-05-30 18:01:36 +02:00
Mathieu Magnin
28fc32db6d
Change delete button wording
2018-05-30 18:01:36 +02:00
Paul Chavard
66855e77b6
Guard for champ SIRET without etablissement
2018-05-30 15:03:44 +02:00
simon lehericey
959097ce8b
DubiousProcedure: small style adjustement
2018-05-30 14:21:41 +02:00
simon lehericey
6eadea29bc
[ fix #1952 ] DubiousProcedure: add admin contact, procedure state and dossier count
2018-05-30 14:21:41 +02:00
Mathieu Magnin
0f32821b27
Add dossier state to deletion email
2018-05-29 12:16:22 +02:00
Mathieu Magnin
cf36d7f1ed
[ Fix #1801 ] use the new string_to_html method
2018-05-24 18:05:41 +02:00
Paul Chavard
d99eed122d
Use new models in controllers and views
2018-05-24 17:54:51 +02:00
simon lehericey
aaebcd3494
[ fix #1701 ] Use DS form to enroll admin
2018-05-24 17:15:44 +02:00
Mathieu Magnin
aaf1bc0b99
[ Fix #1931 ] User can ask support to delete dossier
2018-05-24 16:42:16 +02:00
simon lehericey
0b87944368
[ #1915 ] Devise: avoid leaking registered people
2018-05-23 15:55:52 +02:00
simon lehericey
7fed476e29
Welcome Mailer: remove obsolete mailer
2018-05-23 15:55:52 +02:00
simon lehericey
5bd589344e
Devise: confirm user email
2018-05-23 15:55:52 +02:00
Frederic Merizen
678baaf362
Unroll loop with ifs
2018-05-22 18:35:23 +02:00
gregoirenovel
de201fca04
Add FAQ_URL
2018-05-22 17:23:56 +02:00
gregoirenovel
5126503cfc
Add MENTIONS_LEGALES_URL
2018-05-22 17:23:56 +02:00
gregoirenovel
dc962f0c0a
Add LISTE_DES_DEMARCHES_URL
2018-05-22 17:23:56 +02:00
gregoirenovel
5e2219416e
Add the DOC_URL constant
2018-05-22 17:23:56 +02:00
simon lehericey
928227a610
Procedure: remove now duplicate organisation and direction
2018-05-18 16:21:27 +02:00
simon lehericey
39bb56d1d9
Service: add organisme, email, tel, horaires, adresse
2018-05-18 16:21:27 +02:00
simon lehericey
0be21395ac
[ fix #1829 ] Service: add breadcrumbs
2018-05-18 16:21:26 +02:00
simon lehericey
0cb910f38a
Style: extract and rename accompagnateur-header to sub-header
2018-05-18 16:21:26 +02:00
simon lehericey
304c04275c
Admin Nav Bar: link to new service if no service available
2018-05-18 16:21:26 +02:00
simon lehericey
f2357acb27
Service: cannot published a procedure without a service
2018-05-18 16:21:26 +02:00
simon lehericey
abccdab6ab
Admin Procedure Show: simple cleaning
2018-05-18 16:21:26 +02:00
simon lehericey
6b8a878ec1
Service: can be destroyed
2018-05-18 16:21:26 +02:00
simon lehericey
af7be58132
Service: add service to procedure
2018-05-18 16:21:26 +02:00
simon lehericey
5d7455f436
Service: keep procedure_id
2018-05-18 16:21:26 +02:00
Frederic Merizen
a8f2528dcd
Add services to procedure admin menu
2018-05-18 16:21:26 +02:00
Frederic Merizen
ec21f78274
Cosmetic refactor left procedure admin panel
2018-05-18 16:21:26 +02:00
Frederic Merizen
365cb9b44d
Service: can update a service
2018-05-18 16:21:26 +02:00
simon lehericey
c54c85bad8
Service: can create a service
2018-05-18 16:21:26 +02:00
simon lehericey
4d0a920e7a
Service: add index page
2018-05-18 16:21:26 +02:00
Paul Chavard
da8ad1f3e2
Remove external scripts from mailjet widget
2018-05-17 13:27:27 +02:00
simon lehericey
95db5e5767
[ fix #1560 ] update logo in mail
2018-05-15 12:27:28 +02:00
Mathieu Magnin
748300fcf7
[ Fix #1896 ] fix typo
2018-05-11 13:52:06 +02:00
Frederic Merizen
26f9ec0122
[ Fix #1825 ] Also show previews for archived procedures
2018-05-09 18:28:41 +02:00
Frederic Merizen
4308535450
[ Fix #1833 ] Remove library button from new procedure from scratch screen
2018-05-09 16:16:43 +02:00
Frederic Merizen
93e068421b
[ #1833 ] New procedure button defaults to procedure library
2018-05-09 16:16:09 +02:00
Frederic Merizen
5fd5c3ee5b
[ #1833 ] Add ‘create from scratch’ button to procedure library
2018-05-09 16:15:19 +02:00
Mathieu Magnin
7f4e6eae6b
No dubious proc. email == Everything is ok || Something went wrong. We should always send dubious procedure email.
2018-05-07 12:24:05 +02:00
Mathieu Magnin
a2bbf1b4d6
[ Fix #1907 ] A new token should be regenerated, because the one in db is encrypted
2018-05-04 14:23:05 +02:00
gregoirenovel
5cdd7b48b1
Add a link to the available demarches
2018-05-02 17:09:38 +02:00
gregoirenovel
291259deb8
On the landing page, show the Usagers panel first
2018-05-02 17:09:38 +02:00
Mathieu Magnin
3e50903b66
[ Fix #1873 ] Add pre maintenance warning
2018-05-02 16:52:38 +02:00
simon lehericey
bb4d29ee8f
[ fix #1855 ] Gestionnaire: are now invited to create their password
2018-04-27 14:10:06 +02:00
gregoirenovel
47323ffbf1
[ #1872 ] Managers can enable feature flags from UI
2018-04-26 16:28:45 +02:00
gregoirenovel
09909b9293
[ Fix #1835 ] Transférer -> Envoyer une copie
2018-04-26 15:19:18 +02:00
Paul Chavard
482b306920
Show enabled features for admins in manager
2018-04-25 15:42:45 +02:00
simon lehericey
e5b5913d29
[ fix #1824 ] link preview button to preview page
2018-04-24 16:54:05 +02:00
simon lehericey
48c5d5a917
Procedure Preview: add annotations preview
2018-04-24 16:54:05 +02:00
simon lehericey
366ef2d2b5
Procedure: add new preview view
2018-04-24 16:54:05 +02:00
simon lehericey
1da69a7730
Dossier: extract edition view to shared template
2018-04-24 16:50:32 +02:00
simon lehericey
28ce027025
[ fix #1832 ] Procedure Stat: display procedure cloned ratio
2018-04-24 14:22:22 +02:00
Paul Chavard
45019ce75c
Use Flipflop instead of Feature
2018-04-18 16:51:21 +02:00
Paul Chavard
7dd0611a28
Add link to features UI to manager dashboard
2018-04-18 16:51:21 +02:00
Paul Chavard
c3915234c4
Champ SIRET Spinner
2018-04-17 13:49:02 +02:00
simon lehericey
7f788c4f06
[ fix #1826 ] Library: add contact link
2018-04-16 11:28:22 +02:00
Frederic Merizen
ff3dc32de3
Do not send fake password to users upgraded to gestionnaires
2018-04-12 16:40:24 +02:00
simon lehericey
5667cfe747
[ fix #675 ] upload notice in DS
2018-04-12 10:44:58 +02:00
Mathieu Magnin
7cf21d5171
User header should not display the 'go to user interface' button
2018-04-10 18:08:28 +02:00
simon lehericey
bb6e94e76e
[ fix #932 ] Display pj template to usager
2018-04-09 18:19:24 +02:00
simon lehericey
0ab526de5a
[ fix #932 ] Let an adminstrateur upload a pj template
2018-04-09 18:19:24 +02:00
Paul Chavard
408feaa52e
Display etablissement information for siret champ
2018-04-09 13:18:10 +02:00