Commit graph

3117 commits

Author SHA1 Message Date
Paul Chavard
8b79c32a55 Do not rely on javascript for form submits without direct upload 2018-08-07 16:58:49 +02:00
Paul Chavard
a0979b1d57 Fix logstasher custom fields 2018-08-07 16:26:44 +02:00
Pierre de La Morinerie
f55f949b58 admin: disable fade on publish modal
It makes Capybara tests brittle.
2018-08-07 14:28:52 +02:00
Paul Chavard
c91abe73c5 Remove old user dossier form 2018-08-07 14:13:27 +02:00
Pierre de La Morinerie
c8409ecb89 dossier: remove route hack for show 2018-08-07 12:15:38 +02:00
Pierre de La Morinerie
4f9384d6bd webpack: add babel-polyfill at runtime
This includes the polyfills for features that need to be emulated at
runtime (see https://github.com/babel/babel-preset-env/issues/203#issuecomment-285820866)

It fixes a "Symbol not defined" error when using `for… in` loops on
Internet Explorer 11. This caused the dossiers not to be submitted.

Fix #2300
2018-08-06 16:30:36 +02:00
Pierre de La Morinerie
b4f8c69d89 browsers: add comment to minimum browsers version rules 2018-08-06 15:13:06 +02:00
Pierre de La Morinerie
a9ddadfdd2 browsers: remove IE-specific browser detection
- It doesn't work in IE >=10 (as support for conditionnal comments was
  removed)
- It is redundant with our all-browsers detection anyway
2018-08-06 15:13:06 +02:00
Pierre de La Morinerie
a9c9c491a2 browsers: fix outdated browsers banner styling when using the new design 2018-08-06 15:13:06 +02:00
Pierre de La Morinerie
c73da9d299 browsers: make outdated browser message more actionnable 2018-08-06 15:00:12 +02:00
Paul Chavard
46e75ac8ef Only notify on dossier supression if dossier is en_construction 2018-08-02 17:07:24 +02:00
Pierre de La Morinerie
1ca2ca9121 invite: support remote forms
This allows to keep the draft content when inviting a new user.
2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
1cac0b80af invite: add button for invite someone to collaborate on a draft 2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
9541e781bb invite: rename 'email' to 'invite_email' 2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
030562a32f design: add styling for disabled buttons 2018-08-01 17:41:12 +02:00
Pierre de La Morinerie
0fa18c70bf form: extract the form header to its own partial 2018-08-01 17:41:11 +02:00
Pierre de La Morinerie
dee4acd802 dossier_facade: remplace followers by an equivalent implementation 2018-08-01 17:41:11 +02:00
Paul Chavard
78a9365fe1 Package mailjet widget with webpack 2018-08-01 16:54:39 +02:00
gregoirenovel
6d9648e88c [Fix #2214] Don’t suggest using the messagerie when it is not available 2018-08-01 15:36:52 +02:00
Pierre de La Morinerie
01cdd910df invite: don't display email of following accompagnateurs
We don't want the individual contact of Accompagnateurs to be displayed, for privacy reasons.
2018-08-01 13:48:58 +02:00
Paul Chavard
872e07b5e6 Fix global jQuery usage 2018-08-01 11:55:35 +02:00
Pierre de La Morinerie
b7382375e2 specs: fix disabling jQuery animations during tests 2018-08-01 11:46:04 +02:00
Paul Chavard
e358e72867 Do not display gestionnaire emails in the messaging interface
fix #2302
2018-07-31 15:27:36 +02:00
Pierre de La Morinerie
5011797e7a siret: fix spinner position 2018-07-30 17:49:00 +02:00
Pierre de La Morinerie
a399cef144 siret: make etablissement styled and visible 2018-07-30 17:49:00 +02:00
Pierre de La Morinerie
fcc7ffabcd siret: make validation error message red 2018-07-30 17:49:00 +02:00
Pierre de La Morinerie
728a92a0b3 siret: improve error messages 2018-07-30 17:49:00 +02:00
Pierre de La Morinerie
55847f011c siret: fix validity being broken after clearing the field 2018-07-30 14:29:44 +02:00
Pierre de La Morinerie
e1088d7952 dossier: fix layout of form action buttons on IE11
Fix #2311
2018-07-30 11:51:35 +02:00
Frederic Merizen
0e639030f9 [#2179] Generate denormalized search terms value for Dossier 2018-07-27 11:11:52 +02:00
Mathieu Magnin
84937e3d43 Fix Sentry error 2755 2018-07-26 17:38:19 +02:00
Paul Chavard
bf7c023380 Add webpacker and use it for new_design 2018-07-25 15:14:06 +02:00
Mathieu Magnin
e66d56be43 Fix text align on dropdown button 2018-07-25 14:37:15 +02:00
gregoirenovel
abbd4e3c69 [Fix #2277] Do not crash when creating a service with invalid data 2018-07-25 14:22:44 +02:00
Pierre de La Morinerie
c3de45307d dossiers: rename "Éditer" to "Modifier"
"Éditer" is a anglicism.
2018-07-25 14:06:09 +02:00
Pierre de La Morinerie
13182ad291 dossier: send deletion email also to the following gestionnaires 2018-07-25 13:49:55 +02:00
Mathieu Magnin
9788dcc931
Merge branch 'dev' into delete-brouillon 2018-07-25 12:25:48 +02:00
Pierre de La Morinerie
547c36243d dossier: add responsive layout for action buttons 2018-07-24 18:31:10 +02:00
Pierre de La Morinerie
0f1811dd4e dossier: add an button to delete a brouillon 2018-07-24 18:31:10 +02:00
Pierre de La Morinerie
768537fedc buttons: center text also on link styled as buttons 2018-07-24 18:25:37 +02:00
Pierre de La Morinerie
07be63b48e patron: add missing button styles 2018-07-24 17:43:28 +02:00
Pierre de La Morinerie
e613815ac6 mailer: remove last mention of TPS 2018-07-24 16:58:03 +02:00
Pierre de La Morinerie
6e5840e838 manager: allow searching for deleted dossier
Deleted dossiers don't appear in the unfiltered list though. You have to
know its id to find it.
2018-07-24 11:06:18 +02:00
Pierre de La Morinerie
f6c83cae1f manager: make resources searchable by id 2018-07-24 11:01:02 +02:00
Pierre de La Morinerie
5c6fa992f8 manager: fix exception when searching for a dossier
Text summary is a generated accessor, and not a true DB column – so
we should tell Administrate not to use it in a search query.
2018-07-24 11:01:02 +02:00
Pierre de La Morinerie
099fac69c0 manager: fix typo 2018-07-24 11:01:01 +02:00
Mathieu Magnin
20790569a9 fix-input-file-margin 2018-07-23 14:52:14 +02:00
gregoirenovel
ab2181ea13 [Fix #2280] Correct a typo 2018-07-20 10:23:34 +02:00
gregoirenovel
eb95fce194 [Fix #2272] Add a SIRET field to the Service form 2018-07-19 15:43:13 +02:00
gregoirenovel
81ac3d7c6b Bump development gems
- brakeman (4.3.0 → 4.3.1)
- rubocop (0.56.0 → 0.58.1)
2018-07-17 17:33:28 +02:00
gregoirenovel
ed436bfe77 [Fix #2260] Add a search field in the usager UI 2018-07-17 17:26:42 +02:00
gregoirenovel
4d41381155 Move the attestation route inside the member block 2018-07-17 17:26:42 +02:00
Paul Chavard
04821a6875 Disable Champ SIRET autocomplete for previews 2018-07-17 16:50:55 +02:00
Pierre de La Morinerie
7ca476fc61 manager: add confirmation email actions for the User
- Allow to re-send the confirmation email
- Allow to confirm the email address manually
2018-07-17 12:10:56 +02:00
Pierre de La Morinerie
5c9676678d manager: show if a user email address is confirmed or not 2018-07-17 11:45:30 +02:00
Pierre de La Morinerie
40aae2e20b mailers: mention the procedure when notifying about dossier deletion 2018-07-16 15:49:34 +02:00
Pierre de La Morinerie
540c744912 apercu: add quotes around the procedure name 2018-07-16 14:53:45 +02:00
Pierre de La Morinerie
a3442674f9 apercu: fix typo 2018-07-16 14:53:45 +02:00
simon lehericey
106263f5e7 [fix #2247] linked drop down list: fix js scope pb 2018-07-13 13:14:10 +02:00
simon lehericey
0e8a1f1678 [fix #2241] GestionnaireDossierController: allow linked drop down value in update 2018-07-12 14:11:42 +02:00
Mathieu Magnin
e748b6883f Fix comportement chelou in LinkedDropDownListChamp 2018-07-12 12:31:54 +02:00
Pierre de La Morinerie
da0a505cbc form: add folder icon next to the procedure title 2018-07-11 17:28:20 +02:00
Pierre de La Morinerie
0282994990 form: move the procedure notice link to a button 2018-07-11 17:13:18 +02:00
Pierre de La Morinerie
2ef6f46ef4 style: add the styling for hr elements inside forms 2018-07-11 17:13:15 +02:00
Pierre de La Morinerie
97a92e279b assets: add the info icon 2018-07-11 17:13:10 +02:00
Pierre de La Morinerie
6d26024aa1 patron: add missing icons 2018-07-11 17:12:35 +02:00
Mathieu Magnin
d113ca6ae4 Revert "Temporary fix to allow users to download files with extensions"
This reverts commit 1fb1d92fe7.
2018-07-11 15:46:22 +02:00
Pierre de La Morinerie
e5de401107 form: make the sample asterisk also red 2018-07-09 18:34:33 +02:00
Pierre de La Morinerie
c4bf47398e form: add missing spacing after explanations 2018-07-09 18:18:42 +02:00
Pierre de La Morinerie
adab8e44ff form: add spacing between paragraphs 2018-07-09 18:16:59 +02:00
Mathieu Magnin
1fb1d92fe7 Temporary fix to allow users to download files with extensions 2018-07-09 12:25:25 +02:00
Pierre de La Morinerie
d2eb597380 admin: fix Procédures pluralization and accent 2018-07-09 11:40:13 +02:00
gregoirenovel
bd13be1e89 Improve the landing page backgrounds 2018-07-06 13:49:53 +02:00
gregoirenovel
43836d05ad Small improvements to the landing page titles 2018-07-06 13:25:47 +02:00
gregoirenovel
d6c66f64bd Move the features panel down the landing page 2018-07-05 12:01:28 +02:00
gregoirenovel
b9efd846a1 Invert two buttons 2018-07-05 12:00:00 +02:00
gregoirenovel
e77a693f5a Clarify a button 2018-07-05 11:58:27 +02:00
gregoirenovel
1525adab8b Clarify some titles 2018-07-05 11:57:56 +02:00
gregoirenovel
bae4cd4f59 Fix a typo 2018-07-04 17:42:20 +02:00
Pierre de La Morinerie
f5d3adba5e dossiers: remove unused dossiers list code
This code is unused since the user dossiers list uses the new UI.
2018-07-04 12:23:49 +02:00
Pierre de La Morinerie
d7b54abd37 auth: add vertical spacing to the procedure description
Fix #2174
2018-07-04 12:14:50 +02:00
Pierre de La Morinerie
0b474a5b32 admin: explain purpose of the /admin/gestionnaires page 2018-07-04 12:11:00 +02:00
Pierre de La Morinerie
4ab5d30044 dossiers: move the index method to the top of the controller 2018-07-04 11:49:24 +02:00
Pierre de La Morinerie
f10205e3f5 dossiers: improve empty state wording 2018-07-04 11:43:39 +02:00
Pierre de La Morinerie
33c743ab77 helper: simplify DossierHelper.url_for_dossier
The argument is never an Invite
2018-07-04 11:43:39 +02:00
Pierre de La Morinerie
592331e9ac procedures: fix double N+1 requests in new_from_existing 2018-07-03 23:55:55 +02:00
Pierre de La Morinerie
b0a9e49549 procedures: group new_from_existing list by organization
As procedures are not grouped by Service (which are unique to an
administrator) but by organization, this allows procedures with the same
organization name to be displayed together.
2018-07-03 23:43:42 +02:00
Pierre de La Morinerie
56987e5147 procedures: add tests for new_from_existing 2018-07-03 23:43:41 +02:00
Mathieu Magnin
d2812a4a54 Add a confirm before changing dossier state in manager 2018-07-03 13:55:10 +02:00
Pierre de La Morinerie
d1301762d4 pipedrive: fix deals when no deals are returned 2018-07-02 17:07:24 +02:00
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
f2ee88b278 dossiers: put last updated dossiers first 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
Paul Chavard
2a8dbf521d form: fix action sent after navigating away and back again 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
Mathieu Magnin
9afbd16bbf [Fix #2145] When procedure is archived, usager should not be able to submit a dossier 2018-07-02 11:10:33 +02:00
Frederic Merizen
b003fe9221 [Fix #2176] Allow setting page size in API 2018-06-29 17:34:35 +02:00
Frederic Merizen
785c9cb9b9 [#1421] API export for linked drop down menus 2018-06-28 20:06:32 +02:00
Frederic Merizen
5192929730 [#1421] Format linked dropdown menus in attestations and mails 2018-06-28 20:06:32 +02:00
Frederic Merizen
b326cb9c3e [#1421] Handle mandatory fields 2018-06-28 20:06:32 +02:00
Frederic Merizen
e794515c8e [#1421] Format linked dropdown menus in spreadsheet export 2018-06-28 20:06:32 +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
Frederic Merizen
04892f6c55 [#1421] Format value for display 2018-06-28 20:06:32 +02:00
Paul Chavard
d0a6957862 Remove old cerfa code 2018-06-28 15:16:20 +02:00
Paul Chavard
93d6d72df5 Do not copy service info when cloning from library 2018-06-28 11:33:10 +02:00
Frederic Merizen
7fdb523b1a We can use the shorter syntax fort ordered_champs(_private)
now that the old preview is gone
2018-06-28 10:27:07 +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
Frederic Merizen
7b1e8c2110 [#1421] Extract values for both drop down lists 2018-06-27 17:02:46 +02:00
Frederic Merizen
2214fc6b86 [#1421] Extract contents of both 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
8c680347dd header: leave horizontal space for both "Procedure" and "Avis" 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
226e3ca562 [#1421] Subject linked dropdown field to feature toggle 2018-06-21 16:19:20 +02:00
Frederic Merizen
d3df6e813c [#1421] DRY up type de champ toggles 2018-06-21 16:19:20 +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
Mathieu Magnin
d0d55c796d
Merge branch 'dev' into useless-method 2018-06-21 11:38:19 +02:00
Mathieu Magnin
c49b88453f
Merge branch 'dev' into add-gestionnaires-to-procedures-manager 2018-06-21 11:22:52 +02:00
gregoirenovel
901748c5aa Show the etablissement SIRET, not the siege social SIRET 2018-06-20 18:35:19 +02:00
gregoirenovel
3c331b65a5 Remove an unused method 2018-06-20 18:30:41 +02:00
Pierre de La Morinerie
e953481fd0 manager: display procedures on the gestionnaires page 2018-06-20 17:34:11 +02:00
Pierre de La Morinerie
99b9f42b21 manager: display gestionnaires on the procedure page 2018-06-20 17:33:59 +02:00
simon lehericey
c3610fc96e [fix #2067] Resend confirmation mail if the user is not confirmed 2018-06-20 13:30:32 +02:00
Mathieu Magnin
071e234150 Fix select2 overflow 2018-06-19 17:52:16 +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