Commit graph

2065 commits

Author SHA1 Message Date
Paul Chavard
18815e88a3 Rename champ.zones to champ.geo_json 2018-11-20 10:53:14 +01:00
Paul Chavard
2462e42b53 Stop using legacy api carto after migration 2018-11-20 10:53:14 +01:00
pengfei
0593299def tronquer uniquement label et mettre close-icon avant le text 2018-11-15 15:10:41 +01:00
pengfei
89daaedbe4 [fix #2719] tronquer les textes dans le filtre, max=50 2018-11-15 15:10:41 +01:00
Paul Chavard
2eb61bd6ed Move dossier invites handler to invites controller 2018-11-14 15:16:49 +01:00
Pierre de La Morinerie
b02d50dac8 manager: improve code to hide production features 2018-11-13 16:38:56 +01:00
simon lehericey
36621bffeb FlipFlop: enable for gestionnaire 2018-11-13 10:41:45 +01:00
simon lehericey
5690599289 Session: send a mail to confirm gestionnaire login 2018-11-13 10:41:45 +01:00
Pierre de La Morinerie
7635aede98 dossier: improve wording of estimated time
Ref #2970
2018-11-12 10:21:57 +01:00
Pierre de La Morinerie
5c921182ea procedure: rename mean_instruction_time to usual_instruction_time
Ref #2970
2018-11-08 17:20:06 +01:00
Pierre de La Morinerie
c7ac43cfe7 confirmation: add a dedicated page with confirmation instructions
Fix #2586
2018-11-08 16:20:05 +01:00
Paul Chavard
a524c72add Use dossier_display_state helper 2018-11-08 14:56:45 +01:00
Paul Chavard
624b442cd7 Remove “Outil de changement d'état d'un dossier” 2018-11-08 14:56:45 +01:00
Chaïb Martinez
8d02b4dbdf Add Matomo Suivi page 2018-11-08 14:25:37 +01:00
Chaïb Martinez
3187b5b05a Add Matomo tracking code 2018-11-07 17:34:10 +01:00
Paul Chavard
a7de2e68ed Refactor types_de_champ views to use service instead of facade 2018-11-07 11:36:10 +01:00
Frederic Merizen
8cf235f2fd [#835] Enable html5 validation of multiple mails 2018-11-06 15:44:43 +01:00
Frederic Merizen
c7358a8f53 [Fix #835] Enable asking for multiple avis at the same time 2018-11-06 15:44:43 +01:00
Paul Chavard
074050a91a Add IntegerNumberChamp 2018-11-06 11:28:44 +01:00
Paul Chavard
45bfb2fd47 Add DecimalNumberChamp 2018-11-06 11:28:44 +01:00
Paul Chavard
e391fe6bec Clarify procedure path availability code 2018-10-30 15:59:37 +01:00
Paul Chavard
6e4d111e09 Refactor and fix procedure update error handling 2018-10-30 15:59:37 +01:00
Mathieu Magnin
e90c541ab4 [Fix #2276] When service creation fails form is not cleared 2018-10-30 15:49:18 +01:00
gregoirenovel
6bc1a8cb71 Remove the confirmation button from the manager 2018-10-30 15:24:30 +01:00
Paul Chavard
725e88a89a Rename :procedure_path -> :path 2018-10-30 12:01:45 +01:00
Paul Chavard
f1fd1b38ec Refactor procedures_controller 2018-10-30 12:01:45 +01:00
Paul Chavard
641831864b Refactor commencer actions 2018-10-30 12:01:45 +01:00
Frederic Merizen
06a667f353 [Fix #2815] Ne pas parler de plusieur PJs quand il n'y en a qu'une 2018-10-30 11:19:17 +01:00
simon lehericey
3dad743d56 remove localtime as it uses server timezone 2018-10-26 10:10:20 +00:00
simon lehericey
f620e4aee2 DateTime.parse => Time.zone.parse 2018-10-26 10:10:20 +00:00
simon lehericey
2238e5bd9f Time.now => Time.zone.now 2018-10-26 10:10:20 +00:00
simon lehericey
13ffa61435 DateTime.now => Time.zone.now 2018-10-26 10:10:20 +00:00
gregoirenovel
fed1f05456 Add CADRE_JURIDIQUE_URL 2018-10-25 14:45:13 +02:00
gregoirenovel
394524b397 Improve the webhook description 2018-10-25 14:45:13 +02:00
Paul Chavard
c0344fc30e Fix procedures with multiple dossier link champs 2018-10-24 10:44:28 +02:00
Paul Chavard
5a8a4b393f Add RPG carte source 2018-10-23 18:13:44 +02:00
Chaïb Martinez
535fe6d13a Link directly to the instructeur tutorial in the instructeur email 2018-10-23 11:23:24 +02:00
Chaïb Martinez
eb7ef0ff82 Link to our contact form 2018-10-23 11:23:24 +02:00
Chaïb Martinez
796ff972e6 Add a webinaire registration CTA at the end of the admin email 2018-10-23 11:23:24 +02:00
Chaïb Martinez
e8dd6b00bf Link to the admin tutorial instead of the doc 2018-10-23 11:23:24 +02:00
Chaïb Martinez
e785c91d92 Make the phone number a link 2018-10-23 11:23:24 +02:00
gregoirenovel
4716afb1c2 Remove one “invite” occurence (also written after this occurence) 2018-10-23 11:23:24 +02:00
Chaïb Martinez
48eada980e Make the account activation link more visible in the admin email 2018-10-23 11:23:24 +02:00
Paul Chavard
4249f8ae25 Add carte type de champ options 2018-10-23 09:35:25 +02:00
Paul Chavard
b40abaa133 Display carte champ value 2018-10-23 09:35:25 +02:00
Paul Chavard
4a097900d2 Implement carte champ editor 2018-10-23 09:35:25 +02:00
Paul Chavard
99e1a20d98 Add champ carte endpoint 2018-10-23 09:35:25 +02:00
Paul Chavard
f28cfdc779 Rename shared folder carto to carte 2018-10-23 09:35:25 +02:00
Paul Chavard
febef735b8 Refactor carto to share more code 2018-10-23 09:35:25 +02:00
Chaïb Martinez
f47aab8ce6 Improve the help CTA message for instructeurs 2018-10-18 18:38:04 +02:00
gregoirenovel
0ae8c1d719 [Fix #2880] Do not show our phone number to instructeurs 2018-10-18 18:38:04 +02:00
Chaïb Martinez
e0ea605460 [Fix #2877] Modification du titre contact dans le menu instructeur 2018-10-18 18:27:36 +02:00
Frederic Merizen
4b2a06acb5 [#2874] Show archived / followed status of dossier in search result 2018-10-18 16:05:19 +02:00
Pierre de La Morinerie
65bdfacd8c dossier: remove old SIRET code, controllers and views 2018-10-18 15:46:00 +02:00
Pierre de La Morinerie
da5c3c3007 dossier: remove unused pieces_justificatives partial 2018-10-18 15:46:00 +02:00
Chaïb Martinez
a8b40c4a18 Modification du texte dans le header admin. Ajout du tel et de l'email de de support 2018-10-18 15:31:59 +02:00
gregoirenovel
7eeaac5d81 Hide the mean verification/instruction times for a special demarche
It is not relevant for this demarche, and we’re
doing them a favor
2018-10-18 13:10:55 +02:00
Chaïb Martinez
0090ed2e1f Modification de texte pour le cadre juridique, afin de le rendre plus clair et simple a remplir. 2018-10-18 12:09:16 +02:00
Frederic Merizen
a0ab2bae04 [Fix #2861] Coquille 2018-10-17 19:50:03 +02:00
gregoirenovel
3a973999a3 [Ref #2738] Hide exercices if not gestionnaire 2018-10-17 15:07:29 +02:00
gregoirenovel
da4037b2fd Add a blank line 2018-10-17 12:24:00 +02:00
gregoirenovel
f9d38762ea [Ref #2738] Remove exercices from a soon-to-be deleted template 2018-10-17 12:24:00 +02:00
Pierre de La Morinerie
93f1a53dfc dossier: add page for etablissement 2018-10-17 10:37:06 +02:00
Pierre de La Morinerie
310f4b92d1 dossier: add action to save SIRET number 2018-10-17 10:37:06 +02:00
Pierre de La Morinerie
54ba0f8e50 dossier: add new page for SIRET identification 2018-10-17 10:37:06 +02:00
Pierre de La Morinerie
1cf7568bb4 dossier: extract demarche overview to a partial 2018-10-17 10:37:06 +02:00
gregoirenovel
f8b1bc96bb Hide other delete links when the demarche has not been persisted 2018-10-17 09:32:27 +02:00
gregoirenovel
2c44754981 [Fix #2847] Hide the delete logo link if demarche is not persisted 2018-10-17 09:32:27 +02:00
gregoirenovel
2ab38955b7 Bump default gems
- administrate (0.10.0 → 0.11.0)
- groupdate (4.0.1 → 4.0.2)
- spreadsheet_architect (3.1.0 → 3.2.0)
- webpacker (4.0.0.pre.pre.2 → 4.0.0.pre.3)
2018-10-16 15:33:23 +02:00
Frederic Merizen
bbdb446dfd [#2772] For unmigrated dossiers, make read-only access possible
and notify usager
2018-10-16 10:40:04 +02:00
Frederic Merizen
1e4ccda14c [#2772] Notify users that their dossier was restored 2018-10-16 10:40:04 +02:00
gregoirenovel
ac2cc1e5f4 Add a blank state message to carto 2018-10-15 17:12:34 +02:00
Paul Chavard
2bab056613 Cleanup carto css 2018-10-14 12:34:43 +02:00
Paul Chavard
dff4f2116a Move geographical zones list to a partial 2018-10-14 12:34:43 +02:00
Paul Chavard
c63675461a Add new carto init code 2018-10-14 12:34:43 +02:00
Paul Chavard
5a2a18d8f1 Remove previous carto init code 2018-10-14 12:34:43 +02:00
gregoirenovel
56cfcd08d3 [Fix #2692] Move the sign up CTA at the top of the sign in page 2018-10-11 12:22:47 +02:00
gregoirenovel
d78f4a8faf [#2692] Make the sign up button a primary button on the sign in page 2018-10-11 12:22:47 +02:00
Frederic Merizen
05c8c3f18b [Fix #2800] Handle empty cells
Evidently link_to handles nil differently when it receives it as a first
argument than when it is returned from a block argument
2018-10-10 20:32:03 +02:00
Paul Chavard
b79e77687e Refactor avis helpers 2018-10-10 15:05:51 +02:00
Paul Chavard
9d5ffba068 Refactor state button helpers 2018-10-10 15:05:51 +02:00
Frederic Merizen
40a5ff0266 [#2750] do parsing of displayed_fields inside ProcedurePresentation
rather than in the view
2018-10-10 09:07:57 +02:00
Frederic Merizen
9fa7a6fd0e [#2750] Move get_value to ProcedurePresentation 2018-10-10 09:07:57 +02:00
Frederic Merizen
efcac5192a [#2750] Move fields_for_select to ProcedurePresentation 2018-10-10 09:07:57 +02:00
gregoirenovel
a1bab24681 Change the link to the API documentation 2018-10-09 17:23:07 +02:00
gregoirenovel
98d348aab1 Remove the delete demarche feature for admins 2018-10-09 16:42:32 +02:00
Paul Chavard
bcbfc370b2 Add button in manager to transition démarche in brouillon state
fix #2565
2018-10-09 16:14:18 +02:00
gregoirenovel
c5ee377a1a Fix a date on the tour de france page 2018-10-08 14:34:01 +02:00
Paul Chavard
37d424d671 Refactor carto code 2018-10-05 09:55:41 +02:00
Paul Chavard
6ed4bb538c Remove dead code 2018-10-05 09:55:41 +02:00
Paul Chavard
ff405e1b2d Stop using global function 2018-10-05 09:55:13 +02:00
gregoirenovel
b853402ef9 Add a blank state message in the avis tab 2018-10-05 00:01:54 +02:00
gregoirenovel
25cbd5e7af [Fix #2757] Do not show the avis form for dossiers that are terminés 2018-10-05 00:01:54 +02:00
gregoirenovel
fffbbb5d73 Extract the conditional in a partial to its caller 2018-10-05 00:01:54 +02:00
gregoirenovel
458e3e37f8 Rename .dossiers-table-empty to .blank-tab 2018-10-05 00:01:54 +02:00
Paul Chavard
e3e83b6021 Allow link to any dossier 2018-10-04 19:53:10 +02:00
Frederic Merizen
33f29f35ab Avoid recreating service too often 2018-10-04 18:09:39 +02:00
gregoirenovel
14c8e02aca [Fixes #2597] Remove given_name and family_name delegation 2018-10-04 13:54:07 +02:00
Paul Chavard
44511acfed Do not reload page when instructeur change dossier state
fix #2425
2018-10-04 11:12:43 +02:00
Chaïb Martinez
dc0dd8a479 Remove the details from the Publication tab 2018-10-03 16:03:43 +02:00
Chaïb Martinez
baca93dc38 Rename the Informations tab to Publication 2018-10-03 16:03:43 +02:00
Pierre de La Morinerie
7a23aaf62f session: consistent wording between usagers and instructeurs 2018-10-03 15:10:02 +02:00
Pierre de La Morinerie
627df7a1f3 session: migrate the password pages to the new design 2018-10-03 15:10:02 +02:00
Pierre de La Morinerie
bfd106ba30 session: migrate the "token confirmation" page to the new design 2018-10-03 15:09:30 +02:00
Pierre de La Morinerie
e87264b402 stylesheets: add a devise-container class 2018-10-03 15:09:30 +02:00
Chaïb Martinez
e452fa8343 [Fix #2432] Warn admins to always share a direct link to their demarche 2018-10-03 11:18:17 +02:00
Paul Chavard
941c529b2c Remove CGU checkbox
fix #2725
2018-10-03 08:59:02 +02:00
Mathieu Magnin
1dc2c30b24 Add mail templates to manager 2018-10-02 17:27:28 +02:00
Pierre de La Morinerie
36c1aa118d dossier: remove RecapitulatifController
And add a redirection to the new URLs.
2018-10-02 15:42:29 +02:00
Pierre de La Morinerie
d476953108 dossier: remove Invites view 2018-10-02 14:40:47 +02:00
Pierre de La Morinerie
bf9f427299 dossier: remove DescriptionController 2018-10-02 14:40:47 +02:00
gregoirenovel
553a6b53f2 Make the annotations privées submit button more visible 2018-10-02 14:18:07 +02:00
Pierre de La Morinerie
758ccff984 dossier: remove feature flag 2018-10-02 12:25:44 +02:00
Chaïb Martinez
da134c6d4b Ajout d'une astuce dans l'ajout d'instructeur 2018-10-02 11:43:44 +02:00
gregoirenovel
3965709bd0 Fix a mistake in the Tour de France page 2018-10-01 15:33:19 +02:00
Pierre de La Morinerie
cd938b4c36 dropdown: refactor to make the button an actual button 2018-09-27 17:43:08 +02:00
Pierre de La Morinerie
c79c1a2636 carto: update link to dossier 2018-09-27 17:22:59 +02:00
Pierre de La Morinerie
40cf7ebdcb mailers: update links to messagerie 2018-09-27 17:22:59 +02:00
Paul Chavard
3c66fceba5 Replace password strength js with ujs 2018-09-27 16:00:14 +02:00
Paul Chavard
5a795ae30b Add more information about lien demarche 2018-09-27 15:47:33 +02:00
simon lehericey
1af789b9a8 Profile: add breadcrumb 2018-09-27 10:14:32 +02:00
simon lehericey
17285b0368 Profil: display token only once 2018-09-27 10:14:32 +02:00
simon lehericey
bd04972f65 Profile: move to new design 2018-09-27 10:14:32 +02:00
simon lehericey
f115658d55 OH ! 2018-09-27 10:14:32 +02:00
Paul Chavard
f94a24d7ce Add path field to procedure information form 2018-09-26 10:53:45 +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
Chaïb Martinez
21a13b3311 Correctif mineur de texte dans le formulaire d'inscription admin 2018-09-25 16:57:41 +02:00
gregoirenovel
c92b0b163c Add a banner about the Tour de France on the administration landing page 2018-09-25 13:43:11 +02:00
Frederic Merizen
9beaa293cd [#1421] Use delegation rather than STI for TypeDeChamp 2018-09-25 08:26:56 +02:00
gregoirenovel
5b011fef59 [Fix #2652] Add the /tour-de-france page 2018-09-24 18:07:29 +02:00
Pierre de La Morinerie
01599ac1e1 dossier: allow inviting users on the dossier page 2018-09-24 17:05:26 +02:00
Pierre de La Morinerie
0995c8e5ad dossier: extract the invitation dropdown to a partial 2018-09-24 16:29:36 +02:00
gregoirenovel
f9d640d78d [Fix #2665] Fix the avis invitation email footer 2018-09-24 14:32:20 +02:00
gregoirenovel
7b3a7d2336 [Fix #187] Allow an admin to delete their demarche logo 2018-09-24 13:29:35 +02:00
gregoirenovel
94378e3663 [Fix #2332] Allow the notice deletion 2018-09-24 12:25:10 +02:00
gregoirenovel
89deb93e1d Remove marianne_small.png 2018-09-24 12:16:58 +02:00
gregoirenovel
5db408efdb [Fix #1511] Remove the now obsolete DS logo 2018-09-24 12:16:58 +02:00
gregoirenovel
0b0c668888 [Fix #2648] Add more details about the retention time out of DS 2018-09-24 12:09:54 +02:00
gregoirenovel
535f9004bf Admins can delete the attestation template's logo 2018-09-24 10:15:22 +02:00
gregoirenovel
d649e29bb0 [Fix #1979] Admins can delete the attestation template's signature 2018-09-24 10:15:02 +02:00
gregoirenovel
ded9c0eaf6 Add a separator between the explanation and form 2018-09-23 21:52:13 +02:00
gregoirenovel
477faf06d7 Add a title to the new demande page 2018-09-23 18:17:16 +02:00
gregoirenovel
ed0e58d179 Add a footer to the new demande page 2018-09-23 18:16:53 +02:00
gregoirenovel
09196d12c3 Open the notice in a new tab 2018-09-21 15:57:04 +02:00
gregoirenovel
2585485370 Move the dossier-edit class directly to the _edit.html.haml template
So that when the partial included in
modifier.html.haml can also benefit from its
styling rules
2018-09-21 10:35:20 +02:00
gregoirenovel
7b7a939312 [Fix #2642] Show the filename in the dossier print view 2018-09-21 10:26:10 +02:00
Frederic Merizen
ac82a72dcc [#1946] Monthly expiring dossiers summary mail 2018-09-20 17:44:31 +02:00
gregoirenovel
0c9628c180 Fix some files according the the .editorconfig rules 2018-09-20 16:23:09 +02:00
gregoirenovel
66fcdda59b Extract some code in a helper
It makes the code clearer and will avoid some
linting issues
2018-09-20 16:23:09 +02:00