Commit graph

349 commits

Author SHA1 Message Date
Pierre de La Morinerie
c3de45307d dossiers: rename "Éditer" to "Modifier"
"Éditer" is a anglicism.
2018-07-25 14:06:09 +02:00
gregoirenovel
4d41381155 Move the attestation route inside the member block 2018-07-17 17:26:42 +02:00
simon lehericey
73a14c7f09 [fix #2185] Messagerie: best commit ever 2018-07-02 16:11:20 +02:00
Frederic Merizen
06efd9681c [#1421] Format linked dropdwon in user recapitulatif 2018-06-28 20:06:32 +02:00
Paul Chavard
d0a6957862 Remove old cerfa code 2018-06-28 15:16:20 +02:00
Mathieu Magnin
6289a719ef Display virus scan status with pj champs 2018-06-12 15:12:39 +02:00
gregoirenovel
42650cef72 Remove an unused file 2018-06-01 17:07:23 +02:00
gregoirenovel
0329b1db68 Use User#owns_or_invite? instead of Dossier#owner_or_invite? 2018-05-31 14:39:43 +02:00
gregoirenovel
661010100d [Fix #1536] Remove stringupcasepatch 2018-05-31 11:49:25 +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
c019cb623a Individual: use birthdate as a ... date :) 2018-04-04 13:19:39 +02:00
simon lehericey
9749365cc7 Etape2 individual: procedure with individual uses the new system 2018-04-03 18:39:48 +02:00
Frederic Merizen
884c430619 [#1677] No need to use emails when we have users 2018-03-29 16:59:16 +02:00
Frederic Merizen
2d6a780714 [Fix #1750] Allow newlines in procedure descriptions as paragraph breaks 2018-03-29 11:26:53 +02:00
Frederic Merizen
bdf2831209 [Fix #1691] Do not attempt to 'wrap' <p>s in other <p>s
It cannot be done because <p>s don't nest in HTML, so use
<div>s for the wrapping instead
2018-03-29 11:20:17 +02:00
gregoirenovel
d0a59058e8 Remove the mandataire_social guess
Rationale:
- is true for only 0.06% of Dossiers
- is not displayed anymore anyways
- will be a rare case for now
  * FC adoption is not insane
  * FC used more for personal than professional
    matters
  * not always the mandataires sociaux that fill
    dossiers for their companies, so not that
    relevant
- we can add it back later
2018-03-20 16:09:00 +01:00
Frederic Merizen
6c669ccc39 [Fix #1614] Show newlines for textarea champs 2018-03-15 12:21:00 +01:00
Paul Chavard
0b2ad653fa Fix camelcase attribute 2018-02-27 16:22:53 +01:00
simon lehericey
a0667f5ad9 [fix #1411] user: link new screen to the rest of the application 2018-02-27 15:24:51 +01:00
Frederic Merizen
1b528ebc31 [#1152] Unlock optional SIRET for gestionnaires 2018-02-26 17:06:23 +01:00
simon lehericey
7bb8849d80 Gestionnaire: move attestation_dossier_path to attestation_gestionnaire_dossier_path 2018-02-22 17:02:20 +01:00
gregoirenovel
ee145180a3 Add a piece_justificative_file attribute to Champ 2018-02-15 11:15:23 +01:00
Mathieu Magnin
50f35ee905 [Fix #1296] Birthday field is optional in procedure 2018-02-07 15:57:48 +01:00
Mathieu Magnin
11dbc595c7 Store in constant CGU url 2018-01-29 11:08:19 +01:00
gregoirenovel
d2f7c655d7 Bump development gems
- brakeman
- web-console
- xray-rails
- haml-lint
- scss_lint
2018-01-23 16:26:56 +01:00
Paul Chavard
6a43248cb3 Fix CSS injection 2018-01-16 14:02:10 +01:00
gregoirenovel
1368cd4b03 [Fix #1120] Delete the old accompagnateur UI 2018-01-15 10:02:10 +01:00
gregoirenovel
bbaebe0602 !foo.nil? -> foo.present? 2018-01-12 11:32:43 +01:00
gregoirenovel
7c34807f46 Don’t use unless 2018-01-12 11:32:43 +01:00
gregoirenovel
3f2876faf6 [Fix #1129] Simplify the terms checkbox message 2018-01-08 17:14:51 +01:00
Simon Lehericey
72bae2c374 [fix #504] Dossier: draft -> brouillon 2017-12-15 11:52:09 +01:00
LeSim
56545933a9 [fix #504] Dossier: initiated -> en_construction
The change must not impact the api
2017-12-15 11:52:09 +01:00
gregoirenovel
0d22ecfe5a Delete the CGU-related files and mentions 2017-12-07 16:15:44 +01:00
Mathieu Magnin
19a951d103 [Fix #1023] If old commentaire.PJ is present, then display it 2017-12-01 10:14:02 +01:00
Mathieu Magnin
fa95c312ff Old UI : Plug messagerie on new commentaire file system 2017-11-28 15:07:10 +01:00
Simon Lehericey
69e5da1854 Avis Old UI: fix a path that have moved 2017-09-28 12:37:56 +02:00
Simon Lehericey
1cfeb10ce9 [Fix #503] Dossier: remove updated 2017-09-26 14:42:54 +02:00
Simon Lehericey
633b55aca0 [Fix #503] Dossier: remove replied 2017-09-26 14:42:54 +02:00
Mathieu Magnin
8aed0d7aef Use champ decorator to print dossier details 2017-09-06 11:11:15 +02:00
Mathieu Magnin
3804ab5911 [Fix #589] When displaying individual form, fill birthdate input 2017-08-01 16:47:44 +02:00
Simon Lehericey
4ae9d8ef0d [Fix #592] Convert html_safe to sanitize 2017-07-13 10:14:16 +02:00
Simon Lehericey
da7af28f9f [Fix #592] Remove useless html_safe 2017-07-13 10:14:16 +02:00
Simon Lehericey
35affd69fc Commentaires: avoid xss injection 2017-07-12 13:53:25 +02:00
Simon Lehericey
2e03f77e4d InfoDossier: avoid xss injection 2017-07-12 13:47:59 +02:00
Simon Lehericey
b2ba5c597d [FIX #558] Attestation: fix access with multiple logins 2017-07-10 10:23:15 +02:00
Simon Lehericey
82d8871d03 DossierShow: fix unattended bug on @champs_private 2017-07-04 16:37:29 +02:00
Simon Lehericey
b1d96f4a94 [FIX #492] switch to new attestation download system 2017-07-03 14:09:14 +02:00
gregoirenovel
0e3ebfd819 [Fix #183] Display “oui” or “non” instead of “true” or “false” 2017-06-26 14:53:38 +02:00
gregoirenovel
3d11a35da8 Remove some commented code 2017-06-26 10:49:02 +02:00
Simon Lehericey
671a0575ce [Fix #196] Recapitulatif: user can download its attestation 2017-06-16 12:11:10 +02:00
gregoirenovel
88267a990d [Fix #197] Show the motivation on a dossier’s details 2017-06-13 15:14:48 +02:00
Simon Lehericey
c185f60dd2 Avis: ugly workaround for #375 2017-05-31 16:44:06 +02:00
Simon Lehericey
f6359cb7aa gestionnaire invited on dossier for avis, can update Avis 2017-05-29 11:44:28 +02:00
Mathieu Magnin
d07943a55d Add by_latest scope in Avis 2017-05-29 11:44:28 +02:00
Mathieu Magnin
7c662aa7b2 Gestionnaire invited on dossier for avis, cannot see private form / change dossier state / follow dossier / see invited people / see others avis 2017-05-29 11:44:28 +02:00
Mathieu Magnin
c3bf15d49f Create and list Avis on Dossier detail page 2017-05-29 11:44:28 +02:00
Mathieu Magnin
ac1782256a Fix #282 use disable_with to avoid sending same message twice 2017-05-12 17:34:20 +02:00
Simon Lehericey
cebb197994 Fix #171 : add localtime to a bunch of date 2017-05-11 15:10:49 +02:00
gregoirenovel
9a0df71887 Change the link to a linked dossier depending on the user profile 2017-05-04 17:20:18 +02:00
gregoirenovel
f3343f593f Fix some spelling mistakes 2017-05-04 16:15:51 +02:00
gregoirenovel
77dae0462b Utilisateur -> Usager 2017-05-04 11:35:23 +02:00
gregoirenovel
7ddcb9aedc Extract id attributes from HAML tag attributes 2017-04-26 17:22:30 +02:00
gregoirenovel
51daa2f498 Use implicit div tags instead of explicit 2017-04-26 17:01:45 +02:00
gregoirenovel
a6d3ea8536 [Fix #133] Improve the linked dossier informations displayed 2017-04-26 15:59:18 +02:00
gregoirenovel
7173d359d4 [Fix #132] Show the dossier link in the dossier detail for Users
There’s no reason why they couldn’t easily
navigate to it

Also improve the typography of a placeholder
message
2017-04-26 11:57:36 +02:00
gregoirenovel
14b7badfed Eager-load the dossier’s procedure when possible 2017-04-26 09:53:10 +02:00
gregoirenovel
c10c2fc31b Selectors must be written in lowercase with hyphens 2017-04-20 10:35:53 +02:00
gregoirenovel
dd1fd419c7 Require mandatory fields on the frontend side 2017-04-11 14:25:49 +02:00
Simon Lehericey
a324a22ba2 DossierLink: add show template 2017-04-11 13:54:33 +02:00
gregoirenovel
9c04d3ff93 All CSS declarations must end with a semi-colon 2017-04-10 17:55:55 +02:00
gregoirenovel
3797015908 All colons must be followed by a single space 2017-04-10 17:55:55 +02:00
gregoirenovel
97df69bcd8 In HAML files, separate arguments by a comma and 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
aaaed328fb Remove unnecessary string outputs 2017-04-10 17:55:54 +02:00
gregoirenovel
69ba92009b Separate HAML comments from the leading # by a space 2017-04-10 17:55:54 +02:00
gregoirenovel
a8d2a003c1 Do not define static class names in the attributes hash 2017-04-10 17:55:53 +02:00
gregoirenovel
2d5df47c4e Use implicit div tags in HAML files 2017-04-10 17:55:53 +02:00
gregoirenovel
7e067c2624 Static classes attribute must use the inline tag syntax 2017-04-10 17:55:53 +02:00
gregoirenovel
a3d04fe7a9 Html Ruby evaluation tags must be followed by a single space 2017-04-10 17:55:53 +02:00
gregoirenovel
e7e4e41e12 Haml Ruby evaluation tags must be followed by a space 2017-04-10 17:55:53 +02:00
Mathieu Magnin
b18c09e9fd Download dossiers button exports all dossiers except draft 2017-04-05 11:04:53 +02:00
gregoirenovel
d1e463b7ab Files should end with a single new line 2017-04-04 16:59:39 +02:00
gregoirenovel
d5e7bbd80d Files should end with a new line 2017-04-04 16:59:38 +02:00
gregoirenovel
87ab2ba9eb Remove trailing spaces 2017-04-04 16:59:37 +02:00
gregoirenovel
6cb78acd85 Make the birthday field a date field
And remove the date picker (you can now use the
native one)
2017-04-03 16:03:38 +02:00
gregoirenovel
c6738bf223 Rename Mr in M. 2017-03-27 15:45:07 +02:00
Simon Lehericey
3ed14bf1a4 Cleaning 2017-03-15 17:51:34 +01:00
Simon Lehericey
7596c2424e Explication: do not show explication in _infos_dossier 2017-03-14 13:59:37 +01:00
Simon Lehericey
fcca0bb247 Cleaning 2017-03-14 13:54:31 +01:00
Mathieu Magnin
ad1250af6f Add confirm popup on important actions 2017-03-09 16:55:47 +01:00
Mathieu Magnin
9986ab1f01 Merge pull request #21 from sgmap/clean_grid
Clean grid
2017-02-14 17:58:15 +01:00
Simon Lehericey
5359c046e6 Clean grid usage 2017-02-14 17:12:44 +01:00
Mathieu Magnin
11c793a60c Remove custom button code, use bootstrap classes 2017-02-14 16:23:48 +01:00
Mathieu Magnin
6c41cbcc5e Clean css 2017-02-14 16:20:52 +01:00
Xavier J
5d733c11fd Delete references @opensimplif 2017-02-13 15:46:28 +01:00
Mathieu Magnin
82546a3ad4 Fix merge error 2017-02-08 15:32:49 +01:00
Xavier J
5edd16c30f Fix indentation 2017-02-07 17:52:56 +01:00
Xavier J
7cd08ec3f9 Merge branch 'develop' into print_css_for_dossier_show
# Conflicts:
#	app/views/dossiers/_messagerie.html.haml
2017-02-07 17:38:02 +01:00
Mathieu Magnin
e99746639b Merge branch 'send_user_notification_when_invite_send_a_message' into develop 2017-02-01 17:01:34 +01:00
Mathieu Magnin
91bd058106 Some fixes after review 2017-02-01 15:58:56 +01:00
Mathieu Magnin
34d05e4d9e Improve the print css for the dossier/show 2017-02-01 14:24:24 +01:00
Mathieu Magnin
38e8acf285 Change some wordings and clean some templates 2017-01-31 10:46:20 +01:00
Mathieu Magnin
c7934b2f97 Send a mail to usager if somebody else wrote a new commentaire on his dossier 2017-01-30 15:17:45 +01:00
Xavier J
23df8a2348 - Ajust TPS for OpenSimplif
- Create /simplifcations routes for OpenSimplifController
2017-01-09 17:12:11 +01:00
Xavier J
99e6749c96 Fix invite to access a files 2017-01-04 18:03:03 +01:00
Xavier J
9ed1fc5125 Change libelle message header section 2017-01-02 15:23:05 +01:00
JC
f407f3a266 Need refactoring on dossier_show rendered partials 2017-01-02 14:05:31 +01:00
JC
fdf6efafb2 Display hist for pieces justificatives only if multiple files uploaded 2017-01-02 11:44:21 +01:00
JC
aa2d2ad924 No notification message, when gestionnaire on index 2016-12-28 12:20:34 +01:00
JC
9e88a0d889 Display action renseigner un siret when not gestionnaire logged and dossier in states draft, replied, initiated 2016-12-28 12:06:37 +01:00
JC
6dd4736f9d Margin credentials and champs in dossier show 2016-12-28 11:55:39 +01:00
JC
a727c5146f Cannot have the right feature test about invites, both side User and Gestionnaire 2016-12-26 14:16:08 +01:00
Xavier J
31653ff553 Add everywhere col-sm-X and col-xs-X 2016-12-23 16:58:06 +01:00
Xavier J
cd7b7e4055 - Fix display private form
- Refacto code private form
2016-12-22 11:39:44 +01:00
Xavier J
d4522ae82e Refacto code in Récapitulatif view 2016-12-22 10:55:27 +01:00
Xavier J
76757b1d22 Fix bug display « PIÈCES JOINTES » header section 2016-12-22 10:52:04 +01:00
Xavier J
e258118825 Reactive cartographie 2016-12-20 14:48:09 +01:00
JC
04a8632bda Merge branch 'develop_v2' into develop 2016-12-19 17:17:10 +01:00
JC
691f061828 Features tests about user: create and edit dossier 2016-12-19 17:16:07 +01:00
Xavier J
0563ae1090 Fix CSS for default data block Infos 2016-12-19 16:31:18 +01:00
Xavier J
bc4e3860be Fix all tests 2016-12-14 18:41:33 +01:00
JC
e228f20684 Adding white back to some views 2016-12-07 17:55:42 +01:00
JC
e10bd08800 2nd round about css and some adjustements: message/pj empty validation, margins, link_to div inclusion and more 2016-12-07 16:59:35 +01:00
Xavier J
6f731f700f Fix description view for champs and private champs 2016-12-07 15:44:28 +01:00
JC
6f019f9a0f Time to launch on staging 2016-12-07 14:44:10 +01:00
JC
5c93920f74 Mutualize all informations in dossier_show partial, now work on css 2016-12-07 13:58:00 +01:00
JC
6d8d8470d8 Need to test UI 2016-12-06 15:36:04 +01:00
JC
029fb1faec Continue working on css, display carto (buggy), now adding private fields 2016-12-06 15:22:57 +01:00
JC
f0d5b5dc25 Need to add carto body, and then private field block 2016-12-06 15:17:18 +01:00
JC
e367cba480 Added condition to show renseigner un siret action in dossiers#show 2016-12-06 14:41:50 +01:00
JC
7058fde758 First step about user registration is safe (CSS) 2016-12-06 13:56:33 +01:00
JC
c8f176de74 Using carto block, need to add css classes even if empty + need to refactor some of backoffice/dossiers/show Vs users/recapitulatif/show + then continue on document block and add a siren button on construct dossier 2016-12-06 13:14:06 +01:00
JC
41ebb648ef Having editer action for construct dossier, now need the carto default_block to be shown 2016-12-06 13:06:34 +01:00
JC
02f913afdf Now rework the action interface for dossiers in their show 2016-12-06 12:51:02 +01:00
JC
17e5800487 Add feature flag OpenSimplif for comments per field 2016-12-05 15:24:07 +01:00
JC
e24008bae4 font-size increased for options in download menu (dossiers#index), adding caret to display dropdown 2016-12-05 11:27:26 +01:00
JC
27cc62ea1e Working on dossiers#show recapitulatif for users 2016-12-02 16:33:36 +01:00
JC
62f64d2bea Working on dossiers#show 2016-12-02 10:39:28 +01:00
JC
06ee5726ed Fixing css on split-hr-left 2016-11-30 11:22:29 +01:00
JC
53692be01d Css on left-pannel action for dossiers#show 2016-11-29 16:03:59 +01:00
JC
67091f995b Changing css index filters dossiers#index 2016-11-29 15:47:58 +01:00
JC
f66b593596 Continue css upon dossiers#show, doing procedure libelle 2016-11-29 14:56:24 +01:00
JC
3772fee85f Dossier content displayed by default on dossiers#show 2016-11-29 14:46:09 +01:00
JC
a1242bb55a Merge branch 'develop_v2' of github.com:sgmap/tps into develop_v2 2016-11-28 18:34:39 +01:00
JC
4a5c053ae5 Continue on dossier#show 2016-11-28 18:34:31 +01:00
Xavier J
53b0b9ee63 Fix bug right preference panel 2016-11-28 16:49:50 +01:00
Xavier J
eb75d9b337 Merge branch 'develop' into develop_v2 2016-11-25 10:49:28 +01:00
Xavier J
97c2be07ea Change wording submit and receive action 2016-11-25 10:46:08 +01:00
Xavier J
d09a47ae23 First iteration navbar tableau de bord 2016-11-23 15:21:42 +01:00