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
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
Frederic Merizen
95666238ea
[ #1421 ] Move piece justificative error code to piece justificative champ
2018-06-19 15:20:01 +02:00
Frederic Merizen
6af27a7190
[ #1421 ] Move same_hour / same_minute to typed champ
2018-06-19 15:20:01 +02:00
Frederic Merizen
41734092b2
[ #1421 ] Move type specific for_export code to typed champs
2018-06-19 15:20:01 +02:00
Frederic Merizen
ee8616fb97
[ #1421 ] Move type specific to_s implementations to typed champs
2018-06-19 15:20:01 +02:00
Frederic Merizen
c2f199c5aa
[ #1421 ] Move piece justificative specific validation to PieceJustificativeChamp
2018-06-19 15:20:01 +02:00
Frederic Merizen
c690d3819e
[ #1421 ] Move type-specific before_save to typed champs
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
Pierre de La Morinerie
c0da0ba52c
publish-modal: fix the textfield vertical alignement
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
89f82ba92e
Move email sending in delete method
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
Frederic Merizen
bae7a2dd3c
[ Fix #2068 ] Use mail templates from application rather than devise
...
`default template_path:` was the documented way, but wasn’t working
(and there was no hint in the source code of Devise that it could
work)
Therefore, let’s override `template_paths` instead and stop worrying
2018-06-18 10:42:03 +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
Mathieu Magnin
cd4615b10d
When a new PJ is uploaded enqueue a anti virus scan job
2018-06-12 15:12:39 +02:00
Mathieu Magnin
927cd3c6f4
Create virus scan model to store clamav result
2018-06-12 15:12:38 +02:00
gregoirenovel
c2b97c68e1
Fix an email
2018-06-11 11:56:52 +02:00
simon lehericey
e11392981d
[ fix #2072 ] DossierController: check the user can update the dossier
2018-06-08 16:24:29 +02:00
Frederic Merizen
7c6b60bfcb
Retroactively pre(?)activate users for gestionnaires and administrateurs
2018-06-08 10:49:31 +02:00
gregoirenovel
4db432a4ca
Remove Mailers module for app mailers
2018-06-07 17:23:12 +02:00
gregoirenovel
346b32fbd4
[ Fix #1736 ] Assign the deal and person to the person who accepted them
2018-06-07 16:04:15 +02:00
gregoirenovel
b88cea3c18
Change a deliver into a deliver_later
2018-06-07 15:14:26 +02:00
gregoirenovel
f06132edf1
Forgot to change a local variable into an instance variable
2018-06-07 15:05:30 +02:00
gregoirenovel
478598f74c
Add a task to destroy, regenerate, and send new attestations
...
For dossiers that were accepté, went back to
en instruction, and then were accepté again
2018-06-06 18:25:11 +02:00
Frederic Merizen
74135b193a
[ Fix #2042 ] Pre-validate users for administrateurs
...
Rather kludgy but better than the double-validation that is required now
2018-06-06 17:45:48 +02:00
Frederic Merizen
c3254eddae
[ Fix #2043 ] Pre-validate users for gestionnaires
...
Rather kludgy but better than the double-validation that is required now
2018-06-06 17:45:48 +02:00
Frederic Merizen
695f5b2705
Fix class methods on BizDev module
...
and add missing tests
2018-06-06 16:07:29 +02:00
gregoirenovel
bb3dcbbf22
Resend attestation for a procedure whose attestation template changed
2018-06-05 17:37:08 +02:00
gregoirenovel
41e8350cbe
[ Fix #1735 ] Sign the admin account creation email
2018-06-01 20:48:50 +02:00
gregoirenovel
6992bea141
Add the BizDev module
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
346687bd33
[ #1946 ] Once durees de conservation have been set, forbid unsetting them
2018-06-01 16:46:39 +02:00
Frederic Merizen
42765efb91
[ #1946 ] Add validation to durees conservation
2018-06-01 16:46:39 +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
8782bdd961
Do one thing per line
2018-06-01 11:35:40 +02:00
gregoirenovel
69e95f62c8
Remove useless methods
2018-06-01 11:35:40 +02:00
gregoirenovel
b364b8bfb3
Improve many subjects
2018-06-01 11:35:40 +02:00
gregoirenovel
d7a8a103d7
Remove the prefix from our emails’ subjects
2018-06-01 11:21:11 +02:00
simon lehericey
c72421fb9e
Procedure: Once deliberation or cadre_juridique have been set, forbid unsetting them
2018-06-01 11:12:53 +02:00
simon lehericey
1f0e46a4ff
Procedure: required juridique stuff only if needed
2018-06-01 11:12:53 +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
gregoirenovel
a3f5ae9d0b
Add a variable to improve readability
2018-06-01 00:00:11 +02:00
gregoirenovel
8eeb10bc5c
Add parentheses
2018-06-01 00:00:11 +02:00
gregoirenovel
a60f1c434e
Improve the mailers readability
2018-06-01 00:00:11 +02:00
Frederic Merizen
b571f0706c
[ Fix #2015 ] Make sur all data is initialised for index view
2018-05-31 18:32:13 +02:00
simon lehericey
18ad227df5
[ fix #1897 ] Procedure: can delete a deliberation
2018-05-31 16:56:28 +02:00
simon lehericey
0e690c90cc
Procedure: clone the 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
gregoirenovel
a007d6e3eb
Avoid trailing spaces in strings
2018-05-31 14:29:38 +02:00
Frederic Merizen
2f769ca933
[ #1995 ] Add gender and birthdate fields to API
2018-05-31 14:21:37 +02:00
simon lehericey
126c2f2687
DubiousProcedure: update forbidden words
2018-05-31 13:52:33 +02:00
simon lehericey
167ca26036
ManagerDemandeView: does not bug when there is no demand
2018-05-31 13:47:42 +02:00
gregoirenovel
32a2ab153f
Remove vars_mailer and simplify code
2018-05-31 12:10:06 +02:00
gregoirenovel
2e0abb054c
Stop doing something useless
2018-05-31 12:10:06 +02:00
gregoirenovel
641f72a517
Stop relying on instance variables
2018-05-31 12:10:06 +02:00
gregoirenovel
0d8cb50a30
Introduce a local variable to improve legibility
2018-05-31 12:10:06 +02:00
gregoirenovel
8eacfa801c
Use send_mail when possible
2018-05-31 12:10:06 +02:00
gregoirenovel
02c2f681aa
Reorder some methods
2018-05-31 12:10:06 +02:00
gregoirenovel
a57e2388f6
Unify NotificationMailer methods’ signatures
2018-05-31 12:10:06 +02:00
gregoirenovel
7ea37abefa
Use a local variable instead of an instance variable
2018-05-31 12:10:06 +02:00
gregoirenovel
bb8adba9b9
Use goddamn parentheses
2018-05-31 12:10:06 +02:00
gregoirenovel
661010100d
[ Fix #1536 ] Remove stringupcasepatch
2018-05-31 11:49:25 +02:00
gregoirenovel
faa56956c5
[ Fix #1744 ] Remove useless variable
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
55a3d59e38
Create new model to store deleted dossier metadatas
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
Frederic Merizen
80e75b33c4
[ Fix #1999 ] create commentaires for AR
2018-05-30 17:12:06 +02:00
Frederic Merizen
a62adb4307
[ #1999 ] Remove dead code
2018-05-30 17:07:29 +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
simon lehericey
47cc0180bd
DubiousProcedure: change forbidden keywords
2018-05-30 14:21:35 +02:00
Paul Chavard
86b2cb211e
Do not attempt to archive already archived procedures
2018-05-29 14:29:26 +02:00
Mathieu Magnin
0f32821b27
Add dossier state to deletion email
2018-05-29 12:16:22 +02:00
Paul Chavard
87d7bd4fb2
Fix clone procedure
2018-05-28 14:58:40 +02:00
Frederic Merizen
fd168c4a72
[ Fix #1972 ] Make devise mails async
2018-05-28 12:02:13 +02:00
Frederic Merizen
07b1c147d9
[ Fix #1972 ] Always send mails asynchronously
2018-05-28 12:02:13 +02:00
Frederic Merizen
cce00e19c6
[ #1972 ] Avoid passing unsaved templates to ActionMailer
...
So that all mail arguments can be serialized
2018-05-28 12:02:13 +02:00
gregoirenovel
3eab48c699
Simplify ApiEntrepriseService even further
2018-05-24 18:12:29 +02:00
Mathieu Magnin
cf36d7f1ed
[ Fix #1801 ] use the new string_to_html method
2018-05-24 18:05:41 +02:00
Mathieu Magnin
152cf03d72
[ Fix #1801 ] rename and move html_formatted_description in a generic helper
2018-05-24 18:05:00 +02:00
Paul Chavard
edc8e24ddd
Update gestionnaire filters
2018-05-24 17:54:51 +02:00
Paul Chavard
66b83b4508
Remove unused alias
2018-05-24 17:54:51 +02:00
gregoirenovel
5d188c191d
Move transform_keys calls directly to #process_params methods
2018-05-24 17:54:51 +02:00
gregoirenovel
a3fd271b00
Remove legacy
...
Update EtablissementUpdateJob
2018-05-24 17:54:51 +02:00
Paul Chavard
d99eed122d
Use new models in controllers and views
2018-05-24 17:54:51 +02:00
Paul Chavard
753a81c2d3
Update tag substitution concern
2018-05-24 17:54:51 +02:00
Paul Chavard
3f249d6663
Remove unused decorators
2018-05-24 17:54:51 +02:00
Paul Chavard
ad24fd5991
Remove entreprise and rna_information models
2018-05-24 17:54:51 +02:00
Paul Chavard
7fb7d77886
Use aasm_state in scopes
2018-05-24 17:49:24 +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
Paul Chavard
6345d5d153
Use new primitives in procedures controller
2018-05-23 16:31:27 +02:00
Paul Chavard
6b683cc491
procedure AASM derived state
2018-05-23 16:31:27 +02:00
Paul Chavard
550ddc8d97
procedure AASM callbacks
2018-05-23 16:31:27 +02:00
Paul Chavard
9cf87d6063
procedure AASM states and events
2018-05-23 16:31:27 +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
d2dc69cde0
Connection: redirect user to its procedure
2018-05-23 15:55:52 +02:00
simon lehericey
6a69d958da
Devise: move after_sign_up to after_confirmation
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
d1bbb8023a
Remove smartlisting workaround
...
As it was fixed upstream in 1.2.2
2018-05-23 15:53:58 +02:00
Paul Chavard
ceddf65f6c
Fix crash with inexistent paths
2018-05-23 15:36:50 +02:00
Paul Chavard
94d253c6dc
Add commencer/test/:procedure_path route
2018-05-23 11:32:26 +02:00
Paul Chavard
ffef1a644c
procedure_path should check for test and regular procedure
2018-05-23 11:32:26 +02:00
Paul Chavard
4ad3932c05
Add test_procedure to procedure_path
2018-05-23 11:32:26 +02:00
gregoirenovel
44754418f8
Add parentheses
2018-05-22 19:01:46 +02:00
gregoirenovel
a246181afd
Add API_GEO_URL
2018-05-22 19:01:46 +02:00
gregoirenovel
1839269dd9
Add API_CARTO_URL
2018-05-22 18:53:34 +02:00
Frederic Merizen
678baaf362
Unroll loop with ifs
2018-05-22 18:35:23 +02:00
Paul Chavard
785fe3410e
Clone procedure notice
2018-05-22 17:43:44 +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
Paul Chavard
0a07e9983a
Fix test with ordering failures
2018-05-22 16:24:24 +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
bda0ca8188
Service: sort services by name in index
2018-05-18 16:21:26 +02:00
simon lehericey
4d0a920e7a
Service: add index page
2018-05-18 16:21:26 +02:00
simon lehericey
fc17b68dc1
Service: create model
2018-05-18 16:21:26 +02:00
Paul Chavard
2b8ee92074
Add aasm_state to procedures
2018-05-17 14:46:48 +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
Paul Chavard
0c54220c2b
Add test_started_at to procedures
2018-05-15 11:00:20 +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
Frederic Merizen
5ef129d960
[ #1563 ] Remove attestation mail attachment
2018-05-09 10:42:40 +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
dcdd431bc0
[ Fix #1907 ] set activation reminder delay to 3 days to allow administrateurs to activate their account with the original message after the weekend
2018-05-04 14:23: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
8848abc536
#to_sorted_values
-> #sorted_values
2018-05-03 23:35:51 +02:00
gregoirenovel
886431b120
Make some methods private
2018-05-03 23:35:51 +02:00
gregoirenovel
f020fa9e2b
Remove some useless self mentions
2018-05-03 23:35:51 +02:00
Paul Chavard
0b7cf3ae75
#full_data_strings_array
-> #export_values
2018-05-03 23:35:51 +02:00
Paul Chavard
8637a3015e
Simplify Procedure#generate_export code
2018-05-03 23:35:51 +02:00
gregoirenovel
031522cf42
Checking on entreprise has no sense, check etablissement
2018-05-03 23:35:51 +02:00
gregoirenovel
12cda1739b
#export_entreprise_data
-> #export_etablissement_data
2018-05-03 23:35:51 +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
Paul Chavard
d9dbf7b7f9
Remove legacy features support
2018-04-26 16:28:45 +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
simon lehericey
3d53366678
[ fix #1877 ] add maintenance mode
2018-04-26 15:06:34 +02:00
Paul Chavard
482b306920
Show enabled features for admins in manager
2018-04-25 15:42:45 +02:00
Paul Chavard
a5835a9777
Merge branch 'dev' into frederic/fix_1865_api_expose_pj_champ
2018-04-25 15:30:44 +02:00
simon lehericey
6b422ceb7a
[ #1868 ] ProcedureController: rescue date parsing
2018-04-25 12:03:39 +02:00
Paul Chavard
e76e17895a
Flipflop should check administrateur id not user id
2018-04-25 11:06:40 +02:00
Frederic Merizen
5b9f25271f
[ Fix #1865 ] Expose attachment field over API
2018-04-24 20:29:25 +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
c90ddb92a6
Procedure: add #new_dossier
...
Create a new instance of a dossier and its champs without saving them in the db
2018-04-24 16:49:42 +02:00
simon lehericey
9d0b568ef5
Procedure: add parent_procedure
2018-04-24 15:48:20 +02:00
simon lehericey
28ce027025
[ fix #1832 ] Procedure Stat: display procedure cloned ratio
2018-04-24 14:22:22 +02:00
simon lehericey
f46bf5a67e
Procedure: procedure cloned from library are tagged
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
3f3358db16
Add flipflop config
2018-04-18 16:51:21 +02:00
gregoirenovel
09e0144f30
Bump gems
...
- apipie-rails
- brakeman
- byebug
- rubocop
- turbolinks
- skylight
- chartkick
- devise
- dotenv-rails
- uglifier
- web-console
- font-awesome-rails
- pg
- deep_cloneable
- delayed_job_active_record
2018-04-17 17:24:10 +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
35e1030eed
Also create users for avis gestionnaires
2018-04-12 16:40:24 +02:00
Frederic Merizen
ff3dc32de3
Do not send fake password to users upgraded to gestionnaires
2018-04-12 16:40:24 +02:00
Frederic Merizen
faeac3c31d
After activating an admin account, log them into all of their roles
2018-04-12 16:40:24 +02:00
Frederic Merizen
ee67e7b154
Always create a corresponding User account for Admin accounts
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
Paul Chavard
07ed83f99f
Merge branch 'dev' into renaming
2018-04-10 15:10:10 +02:00
gregoirenovel
03c045aa1a
Don’t reinvent the wheel with number_to_currency
2018-04-10 12:35:47 +02:00
gregoirenovel
be672e19bc
ApiEntrepriseService #fetch -> #get_etablissement_params_for_siret
2018-04-10 12:26:06 +02:00
gregoirenovel
ace8441ec7
SIRETService -> ApiEntrepriseService
2018-04-10 12:24:49 +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
Mathieu Magnin
f6d53be873
[ Fix #1799 ] Send automatic emails to improve administrateur activation
2018-04-09 11:08:13 +02:00
Mathieu Magnin
2f8206edd5
[ Fix #1799 ] Extract bizdev signature to prepare reuse
2018-04-09 11:08:13 +02:00
Paul Chavard
27592ae072
Add simple web hooks to procedures
2018-04-09 11:02:24 +02:00
gregoirenovel
26b66aac96
Improve a method name
2018-04-09 09:54:11 +02:00
gregoirenovel
136f15b89c
Improve some variable names
2018-04-09 09:54:11 +02:00
gregoirenovel
4c24c8346a
Use better names for PipedriveService methods
2018-04-09 09:54:11 +02:00
gregoirenovel
71e9a6056d
Structure the helpers methods the same way
2018-04-09 09:54:10 +02:00
gregoirenovel
c5953f8aef
Use .join to generate urls (unification)
2018-04-09 09:54:10 +02:00
gregoirenovel
298d7d050c
Mutualize some code in Pipedrive::API#put
2018-04-09 09:54:10 +02:00
gregoirenovel
e688fc4212
Mutualize some code in Pipedrive::API#get
2018-04-09 09:54:10 +02:00
gregoirenovel
d202e0173e
Mutualize some code in Pipedrive::API#get
2018-04-09 09:54:10 +02:00
gregoirenovel
d287eb0e5f
Create Pipedrive::API get helpers
2018-04-09 09:54:10 +02:00
gregoirenovel
4ff07f2b93
Mutualize a call Pipedrive::API.put
2018-04-09 09:54:10 +02:00
gregoirenovel
e31b839e0c
Create Pipedrive::API put helpers
2018-04-09 09:54:10 +02:00
gregoirenovel
1f226d882c
Dont use the class << self
pattern
2018-04-09 09:54:10 +02:00
gregoirenovel
e71d3a76fa
Refactor Pipedrive: create adapters and an API files
2018-04-09 09:54:10 +02:00
gregoirenovel
82d6f0b8a8
Add a method name to better separate responsabilities
...
Also rename a method to better reflect what it does
2018-04-09 09:54:10 +02:00
Frederic Merizen
6ed7ae4b53
[ Fix #1809 ] Handle non-champ tags in attestation
2018-04-06 19:22:42 +02:00
gregoirenovel
c60c58ff8b
Fix issues spotted by @fredZen in #1802
2018-04-06 16:39:54 +02:00
kemar
b42e410da0
[ Fix #1494 ] Display a warning when accepting a dossier if needed
...
Show the accompagnateur the unspecified demande
champs and attestations privées needed for the
attestation
2018-04-06 16:15:09 +02:00
simon lehericey
2e3f72bc56
[ fix #1805 ] Notice: display notice only if needed
2018-04-06 12:32:22 +02:00
Frederic Merizen
b27218c7c4
[ #1563 ] Display attestation / closed mail discrepancy alert in admin interface
...
- When changing emails
- When changing attestation
- As a safety net, on summary page
2018-04-06 10:18:56 +02:00
Frederic Merizen
a2ffc4357d
[ #1563 ] Generate a helpful alert on attestation / closed mail mismatch
2018-04-06 10:18:56 +02:00
Frederic Merizen
809638df79
[ #1563 ] Determine if Attestation and Closed mail are out of sync
2018-04-06 10:18:56 +02:00
Paul Chavard
d71aabd291
Job to fetch missing etablissement
2018-04-05 14:52:29 +02:00
Paul Chavard
45ef32e6d9
Add SIRET Type De Champ
2018-04-05 10:29:29 +02:00
Paul Chavard
0b79a3d79d
Add Siret(TypeDe)Champ STI model
2018-04-04 18:44:08 +02:00
Paul Chavard
3cd80af6cb
Add sign and verify to etablissement
2018-04-04 18:44:08 +02:00
Paul Chavard
714ebda2fe
Add SignatureService
2018-04-04 18:44:08 +02:00
simon lehericey
b15be89e0c
[ fix #1797 ][ fix #1063 ] Add notice link to dossier modifier
2018-04-04 18:05:55 +02:00
gregoirenovel
616e0041a5
Add an empty state for carto
...
Avoids parsing errors
2018-04-04 16:35:30 +02:00
simon lehericey
3c8d1f13b6
Individual: remove birthdate proxy
2018-04-04 15:27:30 +02:00
Mathieu Magnin
8c1c2f32ca
[ Fix #1724 ] Ensure that printed json is safe
2018-04-04 14:00:50 +02:00
simon lehericey
c019cb623a
Individual: use birthdate as a ... date :)
2018-04-04 13:19:39 +02:00
simon lehericey
1f536c94ab
Individual: missing individual part in old controller
2018-04-04 12:25:54 +02:00
Frederic Merizen
3e56b6fe9b
[ #1563 ] Include attestation link in default closed mail when it makes sense
2018-04-04 10:44:40 +02:00
Frederic Merizen
db0937d1eb
[ #1563 ] Allow default template name to depend on procedure
2018-04-04 10:44:40 +02:00
Frederic Merizen
7bf7347b9c
[ #1563 ] Clarify constant’s role
2018-04-04 10:44:40 +02:00
Frederic Merizen
66aca60957
[ #1563 ] Remove useless self keywords
2018-04-04 10:44:40 +02:00
Frederic Merizen
84c864ed11
[ #1563 ] Add lien attestation link to closed mail template
2018-04-04 09:34:04 +02:00
Frederic Merizen
abf938ff1b
[ #1563 ] Generalise external link generation for mails
2018-04-04 09:34:04 +02:00
simon lehericey
46fd213ad2
Individual: old controller does not care about individual anymore
2018-04-03 21:16:54 +02:00
simon lehericey
9749365cc7
Etape2 individual: procedure with individual uses the new system
2018-04-03 18:39:48 +02:00
simon lehericey
8828663880
Individual: save the birthdate in Y
2018-04-03 16:23:15 +02:00
Paul Chavard
ee5a3852b5
Show procedure link in manager view
2018-04-03 15:15:27 +02:00
gregoirenovel
3a3afc5797
Remove a now useless flash message
2018-04-03 14:12:56 +02:00
simon lehericey
ce2f076ace
Dossiers show: add notification-col class to avoir weird display
2018-04-03 13:33:27 +02:00
simon lehericey
6fa4fc0046
DossierController: factorize page logic
2018-04-03 13:33:25 +02:00
simon lehericey
05ab4c5ca6
DossierController: add tab for dossiers invites
2018-04-03 13:32:41 +02:00
simon lehericey
0bff7abb0c
User: add has many relation to dossiers_invites
2018-04-03 10:48:46 +02:00
simon lehericey
4ec6c72c96
[ fix #1755 ] clean GeoJSON polygones before save
2018-03-30 16:15:30 +02:00
gregoirenovel
fe333674a0
Remove any reference to our old name
2018-03-30 07:42:09 +02:00
Paul Chavard
fd8674dffc
Give procedure_id to SIRETService
2018-03-29 17:57:09 +02:00
Paul Chavard
a9f078265a
Add STI types de champ models
2018-03-29 17:45:19 +02:00
Paul Chavard
e8f3fda1f0
Add STI champ models
2018-03-29 17:45:19 +02:00
Mathieu Magnin
acc68bc050
[ Fix #1729 ] Do not allow <code> tags in template editors
2018-03-29 17:23:29 +02:00
Frederic Merizen
33f7b03ff2
[ Fix #1677 ] Do not show 'submit' button to invités
2018-03-29 17:03:58 +02:00
Frederic Merizen
dd219d5d40
[ #1677 ] Prevent invites from submitting a dossier
2018-03-29 17:03:58 +02:00
Frederic Merizen
b869efd7d1
[ #1677 ] After editing, send Invites back to invitation page
2018-03-29 17:03:58 +02:00
Frederic Merizen
b606afee3f
[ #1677 ] Extract NewUser::DossiersController#owns_dossier?
2018-03-29 17:02:10 +02:00
Frederic Merizen
baf881a38b
[ #1677 ] Remove no-operation
2018-03-29 17:02:10 +02:00
Frederic Merizen
839a5d43f6
[ #1677 ] Allow invites to edit dossiers
2018-03-29 17:02:10 +02:00
Frederic Merizen
13d7149b5c
[ #1677 ] Extract Dossier#invite_for_user
2018-03-29 16:59:16 +02:00
Frederic Merizen
884c430619
[ #1677 ] No need to use emails when we have users
2018-03-29 16:59:16 +02:00
simon lehericey
b2f04e2503
Usager UI: simple dossier index
2018-03-29 16:23:10 +02:00
simon lehericey
48ddb4cfb6
Dossier status: add brouillon label
2018-03-29 16:23:10 +02:00
simon lehericey
88d46594e9
Dossier status: move partial dans shared
2018-03-29 16:23:10 +02:00
gregoirenovel
094ccecc01
Rename Adapter’s siret_or_siren to siret
2018-03-29 16:06:14 +02:00
gregoirenovel
8938a5b40d
Delete SiretService.siren, move its code to EntrepriseAdapter#get_resource
2018-03-29 16:06:14 +02:00
gregoirenovel
cc9e318210
Add a comment to explain why we reject 206 responses
2018-03-29 15:36:41 +02:00
gregoirenovel
67cf614879
Mutualize some code on ApiEntreprise::Adapter
2018-03-29 11:44:59 +02:00
gregoirenovel
5f1394cd7f
ExercicesAdapter#to_array -> ExercicesAdapter#to_params
2018-03-29 11:44:59 +02:00
gregoirenovel
54ab0ec5f0
Extract code in a #handle_legacy_models! method
2018-03-29 11:44:59 +02:00
gregoirenovel
68c9849977
Mutualize the adapters’ #data_source methods
2018-03-29 11:44:59 +02:00
gregoirenovel
a9360a8be2
Mutualize Adapter initialization in a class and method
2018-03-29 11:44:59 +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
Frederic Merizen
d825c3d586
[ Fix #1689 ] Only allow plain text for procedure descriptions
2018-03-29 10:52:37 +02:00
Paul Chavard
322f93afbe
Add administrateur#feature_enabled? method
2018-03-28 17:19:07 +02:00
gregoirenovel
f343e08ce2
Remove trailing spaces
2018-03-28 15:06:03 +02:00
gregoirenovel
681e33b850
Simplify RNAAdapter#to_params and unify the type of objects it returns
2018-03-28 10:55:15 +02:00
gregoirenovel
caf2e50954
Make #to_params return blank hashes if we have no data
2018-03-28 10:55:15 +02:00
gregoirenovel
0022ea71c5
Use #transform_keys instead of .map.to_h
2018-03-28 10:55:14 +02:00
gregoirenovel
7794973774
Simplify SIRETService#fetch
2018-03-28 10:55:14 +02:00
gregoirenovel
4b6b583120
Delete useless return statements
2018-03-28 10:55:14 +02:00
gregoirenovel
94a257f5b0
Add missing spaces
2018-03-28 10:55:14 +02:00
gregoirenovel
de483ac0f6
Format all attr_to_fetch methods the same way
2018-03-28 10:55:14 +02:00
gregoirenovel
b479833699
Reduce method calls
2018-03-28 10:55:14 +02:00
gregoirenovel
8b46df3176
Add a new variable to improve readability
2018-03-28 10:55:14 +02:00
gregoirenovel
3dd76c3d68
Remove useless success? methods
2018-03-28 10:55:14 +02:00
gregoirenovel
a9c1c9f551
Improve #success? methods
2018-03-28 10:55:14 +02:00
gregoirenovel
19add3f534
Use if-flows instead of rescue-flows
2018-03-28 10:55:14 +02:00
gregoirenovel
182afee970
to_params -> to_array
2018-03-28 10:52:54 +02:00
gregoirenovel
3e16eff9a0
Unify data_source methods
2018-03-28 10:50:27 +02:00
simon lehericey
07c9830da0
[ fix #1550 ] unify HS and activation mail, send doc as well
2018-03-27 18:09:27 +02:00
Paul Chavard
2f68b7c4b3
Tweak timeout API Entreprises
2018-03-27 17:59:51 +02:00
Paul Chavard
5ae8eb3383
Lower timeout for API Entreprise
2018-03-27 17:16:56 +02:00
simon lehericey
66a113c7db
Dossier: remove uncessary query on order_champ_v2
2018-03-27 16:48:38 +02:00
simon lehericey
8ac5415ce0
DossierController: avoid unecessary user fetch
2018-03-27 16:48:38 +02:00
simon lehericey
289ddb5419
[ fix #1670 ] Manager send the refused admin email
2018-03-27 16:02:09 +02:00
simon lehericey
d0431a28f2
Pipedrive: manager can refuse a deal
2018-03-27 15:56:28 +02:00
simon lehericey
2102130fa3
Pipedrive: allow super admin to choose target pipeline
2018-03-27 14:52:39 +02:00
simon lehericey
6a74aaa42a
[ fix #1697 ] Pipedrive: use a job to process an admin creation
2018-03-27 14:52:39 +02:00
simon lehericey
31adc8e990
Pipedrive: Rename pipedrive_dev_id
2018-03-27 14:52:39 +02:00
simon lehericey
ec3d558af0
Pipedrive: extract methods in service
2018-03-27 14:52:39 +02:00
Paul Chavard
6b7d0ccb82
Remove unused rescue in SIRET form controller
2018-03-27 13:56:22 +02:00
Paul Chavard
2fc03e9079
Handle ajax errors on SIRET form
2018-03-27 13:56:22 +02:00
Paul Chavard
a17ac5a9db
Remove debug logger
2018-03-26 17:44:51 +02:00
Paul Chavard
2505419b08
Treat partial success from api entreprises as errors
...
We might refine this later, but for now this will give an error instead of unspecified state
2018-03-26 17:44:37 +02:00
Paul Chavard
f35aef0eb6
Use Typhoeus and set agressive timeouts
2018-03-26 16:53:42 +02:00
gregoirenovel
2385548a03
[Ref #1626 ] Add the administrateurs_procedures table and associations
2018-03-23 11:40:03 +01:00
gregoirenovel
5b04fa2a4c
[ Fix #1687 ] Align sign in/up form to the top
2018-03-22 17:16:39 +01:00
Frederic Merizen
cab670b1ad
[ #1677 ] Simplify code
2018-03-22 16:40:57 +01:00
Frederic Merizen
c413dfa127
[ #1677 ] No longer create InviteGestionnaire
s
2018-03-22 16:40:57 +01:00
simon lehericey
9eb28faa10
[ fix #1601 ] accept demandes in manager
2018-03-22 15:37:16 +01:00
simon lehericey
9e566596fa
[ fix #1601 ] show pipedrive demandes in manager
2018-03-22 15:37:16 +01:00
Frederic Merizen
2fa88a432b
Add missing brackets around parameters in method definitions
2018-03-20 17:54:51 +01:00
gregoirenovel
862d8051c8
Fix contact link on the landing page
2018-03-20 17:15:41 +01:00
gregoirenovel
4df2eb168d
Remove mandataires_sociaux
2018-03-20 16:09:00 +01: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
gregoirenovel
5658aae96b
SIADE -> ApiEntreprise
2018-03-19 11:39:46 +01:00
gregoirenovel
96f78b6213
data_source methods can be private
2018-03-19 11:39:46 +01:00
gregoirenovel
9a7e13f72f
Mutualise a JSON#parse call
2018-03-19 11:39:46 +01:00
gregoirenovel
57b42e24e5
SIADEURL -> API_ENTREPRISE_URL
2018-03-19 11:39:46 +01:00
gregoirenovel
658bd95f86
Add a constant to SIADEURL
2018-03-19 11:39:46 +01:00
gregoirenovel
a0a56d6f67
Add a variable for legibility
2018-03-19 11:39:46 +01:00
gregoirenovel
5628eba0a4
mandatory_params -> params
2018-03-19 11:39:46 +01:00
gregoirenovel
b71b8ea8e0
Refactor the url method
2018-03-19 11:39:46 +01:00
gregoirenovel
92e0e4c231
Remove the base_url method
2018-03-19 11:39:46 +01:00
gregoirenovel
51c030b945
Move the URL computation to a private method
2018-03-19 11:39:46 +01:00
gregoirenovel
94176f0b53
Pass a resource instead of a url to #call
2018-03-19 11:39:46 +01:00
gregoirenovel
330f99de8a
Mutualise part of the URL
2018-03-19 11:39:46 +01:00
gregoirenovel
2c18541256
Mutualise base_url call
2018-03-19 11:39:46 +01:00
gregoirenovel
6902f502d3
Mutualise mandatory_params call
2018-03-19 11:39:46 +01:00
gregoirenovel
9daf0ee608
Remove useless attribute default
2018-03-19 11:39:46 +01:00
gregoirenovel
df06850d5d
Remove unused images
2018-03-19 11:29:27 +01:00
Mathieu Magnin
621f8143bd
[ Fix #1654 ] Generate procedure export filename with libelle
2018-03-19 11:16:05 +01:00
gregoirenovel
19a2398593
[ Fix #1644 ] In API, current_administrateur -> administrateur
2018-03-19 11:09:30 +01:00
Mathieu Magnin
4e2af06423
Use root_url in admin creation mail
2018-03-19 11:02:36 +01:00
Frederic Merizen
d60765880f
Fix authentication token description
2018-03-16 10:10:43 +01:00
Paul Chavard
e4f07dbae6
Document pagination params in api and allow to set per_page
limit
2018-03-15 17:50:41 +01:00
Paul Chavard
87d1948023
Add token authentication to API
2018-03-15 17:43:45 +01:00
gregoirenovel
29f35f29a9
[ Fix #1628 ] Change phone number
2018-03-15 15:05:52 +01:00
Mathieu Magnin
ab368d44a1
[ Fix #1500 ] Add mandatory params to call api entreprise v2
2018-03-15 14:51:42 +01:00
Frederic Merizen
6c669ccc39
[ Fix #1614 ] Show newlines for textarea champs
2018-03-15 12:21:00 +01:00
Frederic Merizen
610058c534
[ Fix #1619 ] Do not consider invitations to deleted dossiers
2018-03-15 11:32:21 +01:00
gregoirenovel
031b9c0bab
Update documentation links to GitBook v2
2018-03-15 09:37:24 +01:00
Mathieu Magnin
69f8353b2f
[ Fix #1479 ] Sanitize Avis email before validation
2018-03-14 17:41:47 +01:00
Mathieu Magnin
a00114d03d
[ Fix #1479 ] Sanitize User email before validation
2018-03-14 17:41:47 +01:00
Mathieu Magnin
8731f7c63b
[ Fix #1479 ] Sanitize Administrateur email before validation
2018-03-14 17:41:47 +01:00
Mathieu Magnin
d9c562c59d
[ Fix #1479 ] Sanitize Gestionnaire email before validation
2018-03-14 17:41:46 +01:00
Mathieu Magnin
38e1609d73
[ Fix #1479 ] Validate Avis email format
2018-03-14 17:41:46 +01:00
Mathieu Magnin
247526578c
[ Fix #1479 ] Avis creation can fail gracefully
2018-03-14 17:41:46 +01:00
Mathieu Magnin
ba3b0b4687
[ Fix #1479 ] Remove unused email format validator
2018-03-14 17:41:46 +01:00
Mathieu Magnin
5650c4aefe
[ Fix #1479 ] Sanitize email format for invite
2018-03-14 17:41:45 +01:00
Mathieu Magnin
e00e8ba01d
[ Fix #1479 ] Validate email format with Rails format validation
2018-03-14 17:41:45 +01:00
Mathieu Magnin
b7de632d6c
[ Fix #1479 ] Create a sanitize email concern
2018-03-14 17:41:45 +01:00
gregoirenovel
4ec782ab15
[ Fix #1599 ] Add rel attribute to target blank links
2018-03-14 16:57:39 +01:00
gregoirenovel
8bf09ac2d4
Do not center balises
2018-03-14 16:45:34 +01:00
gregoirenovel
3f92fe9755
[ Fix #1589 ] Keep all the balises’ spaces
2018-03-14 16:45:34 +01:00
Mathieu Magnin
a90a719d9a
Improve dossier readability with wider libelles
2018-03-14 16:24:04 +01:00
Mathieu Magnin
96b1c83537
Align identite headers to dossier champs headers
2018-03-14 16:24:04 +01:00
Mathieu Magnin
ac068861f5
[ Fix #1607 ] Add email to dossier details
2018-03-14 16:24:03 +01:00
Mathieu Magnin
734950f36b
[ Fix #1609 ] Fix buttons on 2 lines
2018-03-14 12:05:50 +01:00
gregoirenovel
092df8e8af
Change a reply_to email address
...
equipe@ is an internal email address
2018-03-14 11:50:22 +01:00
gregoirenovel
53ad9d3611
[ Fix #1591 ] Add rel attribute to target blank links
2018-03-13 11:24:12 +01:00
gregoirenovel
657b9d2e93
Change link to doc
2018-03-12 17:51:39 +01:00
Mathieu Magnin
5b07f59ffb
fix data tag without a value attribute
2018-03-08 23:18:49 +01:00
Mathieu Magnin
df625f3b6c
fix spaces in href
2018-03-08 23:10:03 +01:00
Mathieu Magnin
b1584ff739
fix target _blank
2018-03-08 23:03:58 +01:00
gregoirenovel
eb977ab798
[ Fix #1565 ] Improve accessibility of the landing page
...
- Improve the alt text for the header logo
- Empty alt text for decorative images
- Improve the alt text for the logos of our users
- Improve the alt text for footer logos
2018-03-08 15:25:37 +01:00
Paul Chavard
5faf4cdd84
Remove all references to old STI
2018-03-08 14:17:04 +01:00
Mathieu Magnin
9f6d6e61fb
[ Fix #1577 ] logo link in navbar on gestionnaire UI should not link to admin UI
2018-03-08 14:10:26 +01:00
Paul Chavard
6ef141b014
Build instead of create etablissement
2018-03-07 17:43:44 +01:00
Paul Chavard
19b58a298c
Clarify dependent relationships between etablissement and entreprise
2018-03-07 17:42:31 +01:00
Paul Chavard
d5f620a163
Mark 1to1 nested relationships as update_only
to avoid creating multiple associations
...
This fixes the invalid entreprises without etablissements
2018-03-07 17:42:02 +01:00
Mathieu Magnin
109b48ad01
[ Fix #1573 ] Display multiples spaces from libelle in attestation tags
2018-03-07 17:22:43 +01:00
Mathieu Magnin
22f0767625
[ Fix #1566 ] Do not set buttons height on landing
2018-03-07 11:51:47 +01:00
Frederic Merizen
0e0d17e5eb
Merge branch 'image_optim' into dev
...
Closes #1558
2018-03-07 11:06:08 +01:00
gregoirenovel
ca061dc12f
Add alt descriptions for images
2018-03-06 17:37:37 +01:00
gregoirenovel
55608414ad
Improve the title format
2018-03-06 17:37:09 +01:00
gregoirenovel
bbcf945a8b
Add missing titles to some pages
2018-03-06 17:37:09 +01:00
Guillaume RISCHARD
cb0ea02751
Restauration des svg qui n'ont pas supporté svgcleaner
2018-03-06 17:25:35 +01:00
gregoirenovel
0a9f442260
Enable some Rails cops
2018-03-06 17:18:44 +01:00
gregoirenovel
da3d9d403a
Enable some more cops
2018-03-06 17:18:44 +01:00
gregoirenovel
7489b8d1aa
Avoid assignments in conditions
2018-03-06 17:18:44 +01:00
Mathieu Magnin
4205f14742
fix old navbar
2018-03-06 17:11:46 +01:00
Guillaume RISCHARD
0544ac3ffe
Modifications d'accessibilité au template de base
2018-03-06 16:19:08 +01:00
gregoirenovel
e26f4148ff
Bump development gems
...
- brakeman
- rubocop
- scss_lint
2018-03-06 16:17:22 +01:00
Guillaume RISCHARD
06c34c4920
Optimisation des images
2018-03-06 16:14:59 +01:00
gregoirenovel
fe7f8da636
Revert "Bump development gems"
...
This reverts commit d6ad3fc3fd
.
2018-03-06 15:11:26 +01:00
gregoirenovel
d6ad3fc3fd
Bump development gems
...
- brakeman
- rubocop
- scss_lint
2018-03-06 10:36:35 +01:00
gregoirenovel
be5849a7f5
Remove unneeded quotes
2018-03-05 19:21:20 +01:00
Mathieu Magnin
875766279d
[ Fix #1510 ] Send email after dossier is received
2018-03-05 19:08:17 +01:00
Mathieu Magnin
cc648fcdb3
Log siret behaviour to investigate Sentry #2371
2018-03-05 17:46:42 +01:00
gregoirenovel
b33fd6dd37
Fix rubocop warnings
2018-03-02 15:42:20 +01:00
gregoirenovel
4d8315b997
Change the FAQ URL
2018-03-02 10:30:47 +01:00
gregoirenovel
fcfa35e34d
Improve the subject of the “request an account” link
2018-03-02 10:30:47 +01:00
gregoirenovel
ea4899de06
Improve the wording of a feature
2018-03-02 10:21:36 +01:00
Mael
40c0546efd
typo
2018-03-01 18:27:48 +01:00
gregoirenovel
84ffee66da
Fix a typo
2018-03-01 13:09:08 +01:00
gregoirenovel
740fa86391
Update the contact panel
2018-03-01 12:13:18 +01:00
gregoirenovel
7cca5bbf64
Add the roles panels
2018-03-01 12:13:18 +01:00
gregoirenovel
d09a63bd62
Add more quotes
2018-03-01 12:13:18 +01:00
gregoirenovel
950e105ca6
Change a number in the numbers panel
2018-03-01 12:13:18 +01:00
gregoirenovel
3f39c894c6
Update the users panel
...
- Change its title
- Add more users
2018-03-01 12:13:18 +01:00
gregoirenovel
c6318c666f
Change the features panel
2018-03-01 12:01:57 +01:00
gregoirenovel
02552c7a7f
Change the tagline
2018-03-01 12:01:57 +01:00
gregoirenovel
c52436d8f3
Remove an unexpected file
2018-03-01 12:01:57 +01:00
simon lehericey
82327b0231
champ description: add simple_format and links
2018-03-01 11:28:01 +01:00
simon lehericey
28c4dde96d
_explication: display champ.description instead of champ.value
2018-03-01 11:25:57 +01:00
gregoirenovel
f897901573
Use a cooler red for alerts
2018-03-01 11:03:29 +01:00
gregoirenovel
479f8b192d
Improve the logo display on the landing page
2018-03-01 10:33:53 +01:00
gregoirenovel
b784036a12
Warn of name change on the landing page
2018-03-01 10:33:53 +01:00
gregoirenovel
67da280fa0
Change logos that included “tps”
2018-03-01 10:33:53 +01:00
gregoirenovel
26d3cb1f3b
Change a wrong email address
2018-03-01 10:33:53 +01:00
gregoirenovel
0af270faa0
tps.apientreprise.fr -> demarches-simplifiees.fr
2018-03-01 10:33:53 +01:00
gregoirenovel
fbe431f8dd
Téléprocédures simplifiées -> demarches-simplifiees.fr
2018-03-01 10:33:53 +01:00
gregoirenovel
17421e54cc
In JS, TPS -> DS
2018-03-01 10:33:53 +01:00
gregoirenovel
1b8b6a3274
TPS -> demarches-simplifiees.fr
2018-02-28 18:14:06 +01:00
gregoirenovel
e2366ce658
Improve the footer
2018-02-28 18:09:20 +01:00
gregoirenovel
1e59294c84
Add the Muti Italic font
2018-02-28 18:09:20 +01:00
simon lehericey
eb937649a1
new user: thanks page
2018-02-28 17:34:27 +01:00
Paul Chavard
94a503a2c4
Fix create dossier with siret
2018-02-28 17:16:03 +01:00
simon lehericey
e44cd643b2
IdentiteEntreprise: add safe navigator to access to rna information
2018-02-28 15:34:59 +01:00
simon lehericey
c343972b87
editable_champ: move partials path
2018-02-27 18:36:29 +01:00
simon lehericey
abc9068412
DossierController: allow upload of empty
2018-02-27 17:39:17 +01:00
gregoirenovel
f17420ae4a
Improve the accessibilité page
2018-02-27 16:36:16 +01:00
gregoirenovel
7e2e249ade
Introduce the footer logos
2018-02-27 16:36:16 +01:00
gregoirenovel
31dcee9013
Make the DINSIC logo BIGGER
2018-02-27 16:36:16 +01:00
gregoirenovel
03559eec0b
Remove some footer voodoo to simplify things
2018-02-27 16:36:16 +01:00
Paul Chavard
896518f3d5
add SIRETService
2018-02-27 16:22:53 +01:00
Paul Chavard
da14cceadc
Refactor siade adapters
2018-02-27 16:22:53 +01:00
Paul Chavard
0b2ad653fa
Fix camelcase attribute
2018-02-27 16:22:53 +01:00
simon lehericey
6ff1d6cb18
[ fix #1411 ] user: add a link to users dossiers
2018-02-27 15:24:51 +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
simon lehericey
d702a0c083
[ fix #1411 ] user: new form ui
2018-02-27 15:24:50 +01:00
simon lehericey
5aa9a5ac6c
EditableChamp: seen_at is optional
2018-02-27 14:51:28 +01:00
Mathieu Magnin
87bb7f6122
Merge branch 'dev' into fix_1185-optional_siret
2018-02-26 22:50:38 +01:00
gregoirenovel
3e02c62f45
Add the DINSIC logo to the footer
2018-02-26 17:45:17 +01:00
gregoirenovel
2284e9b40a
Change SVG colors
2018-02-26 17:45:17 +01:00
gregoirenovel
4e8dcb08a7
Change CSS colors
2018-02-26 17:45:17 +01:00
gregoirenovel
6ff1e51847
Ministère de l’environnement -> MTES
2018-02-26 17:45:17 +01:00
Mathieu Magnin
2b6edc0fa4
Remove unused procedure_filter
2018-02-26 17:25:28 +01:00
gregoirenovel
917c6b8a32
Fix accessibilite link
2018-02-26 17:08:23 +01:00
Frederic Merizen
1b528ebc31
[ #1152 ] Unlock optional SIRET for gestionnaires
2018-02-26 17:06:23 +01:00
simon lehericey
2b3672979b
PieceJustificative: fix gestionnaire view when pj champ is not filled
2018-02-26 15:59:57 +01:00
gregoirenovel
9c93000e69
[ Fix #1468 ] Add Accessibilité page
2018-02-26 15:48:10 +01:00
gregoirenovel
f928b6cdeb
[ Fix #1476 ] Add Mentions légales link
2018-02-26 15:48:10 +01:00
gregoirenovel
280deea805
[Ref #1170 ] Fix a typo in #1267
2018-02-26 15:35:20 +01:00
Mathieu Magnin
6f1e103e89
Add browserstack logo to get opensource account
2018-02-26 14:01:14 +01:00
simon lehericey
b30d0c2785
GoogleAnalytics: remove
2018-02-26 13:46:18 +01:00
Mathieu Magnin
3db941ea06
[ Fix #1475 ] Ensure date is parsable before doing it (to avoid errors)
2018-02-26 13:20:23 +01:00
gregoirenovel
3d10dbf0e4
Refactor assignement-related methods
2018-02-23 17:12:58 +01:00
gregoirenovel
ac6ba40598
Unscope the procedures on Gestionnaire and add #visible_procedures
2018-02-23 17:12:58 +01:00
gregoirenovel
948a29aea2
Use link_to helper
2018-02-23 17:12:24 +01:00
gregoirenovel
08f364ccdc
Add constants
2018-02-23 17:12:24 +01:00
gregoirenovel
86d867a7ea
Add more precise info messages
2018-02-23 17:12:24 +01:00
gregoirenovel
1b1460c191
Move a service to the gestionnaire model
2018-02-23 17:12:24 +01:00
gregoirenovel
dc9430b015
Bump more gems
...
- administrate
- fog
- openid_connect
2018-02-23 17:08:13 +01:00
simon lehericey
c94d57db79
AutoReceivedDossiersForProcedure: fix job by changing symbole to string
2018-02-23 15:18:32 +01:00
simon lehericey
26c9f28407
Gestionnaire Namespace: fix last_week_overview
2018-02-23 13:45:21 +01:00
simon lehericey
377e4d689a
Gestionnaire Namespace: fix send_dossier
2018-02-23 13:45:21 +01:00
simon lehericey
f39fe88fb0
Gestionnaire: missing gestionnaire_dossier_url
2018-02-22 17:02:20 +01:00
simon lehericey
630f22e205
Gestionnaire: various missing procedure urls
2018-02-22 17:02:20 +01:00
simon lehericey
864b98c6dc
Gestionnaire: various missing avis urls
2018-02-22 17:02:20 +01:00
simon lehericey
9db5e82b41
Gestionnaire: move avis_path to gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
0308345008
Gestionnaire: move procedures_path to gestionnaire_procedures_path
2018-02-22 17:02:20 +01:00
simon lehericey
4a70087f7a
Gestionnaire: move procedure_path gestionnaire_procedure_path
2018-02-22 17:02:20 +01:00
simon lehericey
0dc101e375
Gestionnaire: move dossier_path gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
7bb8849d80
Gestionnaire: move attestation_dossier_path to attestation_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
a752627d00
Gestionnaire: move recherche_path to gestionnaire_recherche_path
2018-02-22 17:02:20 +01:00
simon lehericey
c1bbe72dbd
Gestionnaire: move sign_up_avis_path to sign_up_gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
b59f9f6117
Gestionnaire: move commentaire_avis_path to commentaire_gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
3b3849e4f3
Gestionnaire: move messagerie_avis_path to messagerie_gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
c58b32a26d
Gestionnaire: move instruction_avis_path to instruction_gestionnaire_avis_path
2018-02-22 17:02:20 +01:00
simon lehericey
bdce6aff2e
Gestionnaire: move print_dossier_path to print_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
9c829422e0
Gestionnaire: move position_dossier_path to position_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
df167dbfb9
Gestionnaire: move envoyer_a_accompagnateur_dossier_path to envoyer_a_accompagnateur_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
1e341fefd0
Gestionnaire: move terminer_dossier_path to terminer_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
7cd3ed3955
Gestionnaire: move repasser_en_construction_dossier_path to repasser_en_construction_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
ddff38452d
Gestionnaire: move passer_en_instruction_dossier_path to passer_en_instruction_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
09c3064dd1
Gestionnaire: move commentaire_dossier_path to commentaire_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
c0793751fa
Gestionnaire: move annotations_dossier_path to annotations_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
129ebdd403
Gestionnaire: move archive_dossier_path to archive_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
b07516c41d
Gestionnaire: move follow_dossier_path to follow_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
a416efc49a
Gestionnaire: move personnes_impliquees_dossier_path to personnes_impliquees_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
63163e5022
Gestionnaire: move avis_dossier_path to avis_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
87a4029f1a
Gestionnaire: move annotations_privees_dossier_path to annotations_privees_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
be191a680e
Gestionnaire: move messagerie_dossier_path to messagerie_gestionnaire_dossier_path
2018-02-22 17:02:20 +01:00
simon lehericey
7c364ce745
Gestionnaire: move download_dossiers_procedure_path to download_dossiers_gestionnaire_procedure_path
2018-02-22 17:02:20 +01:00
simon lehericey
d1079fda8b
Gestionnaire: move remove_filter_procedure_path to remove_filter_gestionnaire_procedure_path
2018-02-22 17:02:20 +01:00
simon lehericey
bbd31ec3a4
Gestionnaire: move add_filter_procedure_path to add_filter_gestionnaire_procedure_path
2018-02-22 17:02:20 +01:00
simon lehericey
c0229813f1
Gestionnaire: move update_sort_procedure_path to update_sort_gestionnaire_procedure_path
2018-02-22 17:02:20 +01:00
simon lehericey
b76237d2ad
Gestionnaire: move update_displayed_fields_procedure_path to update_displayed_fields_gestionnaire_procedure_path
2018-02-22 17:02:20 +01:00
Mathieu Magnin
1bc93b7235
[ Fix #1456 ] When job crashed notify Sentry
2018-02-22 10:28:24 +01:00
Mathieu Magnin
0c6aa42f55
[ Fix #1454 ] Send weekly overview emails async, overview param is not correctly serialized by activejob so it is computed again when email is send
2018-02-21 18:22:56 +01:00
Paul Chavard
49bb4f0b54
Set processed_at
on auto received dossiers
...
Closes #1089
2018-02-21 16:38:25 +01:00
Mathieu Magnin
3efcadd855
[ Fix #1164 ] Do not show profile switcher for current profile
2018-02-21 15:16:30 +01:00
Mathieu Magnin
6ed1d7f833
[Fix 1413] User header should not contain accompagnateurs links
2018-02-21 14:22:59 +01:00
Paul Chavard
5470141ca4
Moulinette™ STI Champ et TypeDeChamp
2018-02-20 16:13:40 +01:00
Paul Chavard
2cf0985585
Show notifications on dossiers terminé
...
Closes #1138
2018-02-20 15:54:36 +01:00
Paul Chavard
55f15b2354
Add a way to check for notifications on dossiers terminé
2018-02-20 15:54:36 +01:00
Paul Chavard
4f8a19718f
Do not show notifications on “all dossiers” tab
2018-02-20 15:54:36 +01:00
Mathieu Magnin
3e5621f633
[ Fix #1409 ] Plug identite new design to current workflow
2018-02-20 11:01:47 +01:00
Mathieu Magnin
9627ba43c0
[ Fix #1409 ] Identite can be updated
2018-02-20 11:01:47 +01:00
Mathieu Magnin
d9265d9686
[ Fix #1409 ] Display identite form with new design
2018-02-20 11:01:47 +01:00
Paul Chavard
35a4367114
Fix multi submit bug with direct upload
2018-02-16 12:53:00 +01:00
gregoirenovel
5746ba29da
Fix a bug in the PJ PR
2018-02-15 13:58:19 +01:00
gregoirenovel
93d8470321
Put the piece justificative champ behind a feature flag
2018-02-15 12:04:03 +01:00
gregoirenovel
ee145180a3
Add a piece_justificative_file attribute to Champ
2018-02-15 11:15:23 +01:00
gregoirenovel
7097cad51a
Add the “piece_justificative” type de champ
2018-02-15 11:14:03 +01:00
gregoirenovel
2a2f794732
Add the direct_upload JS ans SCSS files
2018-02-15 11:14:03 +01:00
gregoirenovel
d51aefa10a
Add activestorage to the JS bundles
2018-02-15 11:14:03 +01:00
Paul Chavard
db42c0c0cf
Fix public and private champs scopes
2018-02-14 18:13:23 +01:00
Paul Chavard
31d638ae2a
Remove TypeDeChampPublic/TypeDeChampPrivate STI
2018-02-14 11:49:06 +01:00
CamilleGarrigue
75b2e16cc0
Update _list.html.haml
2018-02-14 10:44:26 +00:00
Paul Chavard
b3e07d8504
Use in?
in type_champ
tests
2018-02-13 17:59:27 +01:00
Paul Chavard
f80a9466b9
Delegate mandatory?
to type_de_champ
2018-02-13 14:56:55 +01:00
Paul Chavard
2e4ada98e6
Add private columns to Champ and TypeDeChamp
2018-02-13 12:35:03 +01:00
Paul Chavard
52749713ab
Remove ChampPublic/ChampPrivate STI
2018-02-13 12:07:13 +01:00
Mathieu Magnin
5398864609
Whole line should be clickable
2018-02-13 10:58:32 +01:00
Mathieu Magnin
9105e4e3f7
[ Fix #1403 ] Apply dossier index style to recherche
2018-02-13 10:58:32 +01:00
Frederic Merizen
283e6e927b
[ Fix #1397 ] Hide 'envoyer' button when no potential recipient
2018-02-08 20:38:20 +01:00
gregoirenovel
29d9b03672
Bump rails to 5.2.0.rc1
2018-02-07 16:18:42 +01:00
Mathieu Magnin
aeaa156f8b
Unused method removed
2018-02-07 15:57:49 +01:00
Mathieu Magnin
50f35ee905
[ Fix #1296 ] Birthday field is optional in procedure
2018-02-07 15:57:48 +01:00
simon lehericey
9297cbc642
Manager: regenerate views template to match the new version
2018-02-07 15:43:16 +01:00
Mathieu Magnin
d49659fc73
[ Fix #478 ] /recherche can deal with very big int ☺️
2018-02-07 11:56:22 +01:00
gregoirenovel
6320bfffbf
Improve a comment
2018-02-06 14:07:20 +01:00
gregoirenovel
9764a0af8d
Add back content_type
...
I forgot to specify it in
7ccae2c4f1
2018-02-06 14:07:20 +01:00
gregoirenovel
142241dd16
Remove notifications
2018-02-06 14:07:20 +01:00
Paul Chavard
8a55ac79f1
Remove global BROWSER and use browser helper
2018-02-05 10:35:51 +01:00
Frederic Merizen
d919d62cf7
[ Fix #1012 ] Send dossier to other accompagnateur
2018-02-01 16:58:01 +01:00
gregoirenovel
f306dd636e
Refactor some complex code
2018-01-30 16:56:49 +01:00
gregoirenovel
2da724d681
Remove an unused Gestionnaire method and its tests
...
The tests would fail with rails 5.1
2018-01-30 16:56:49 +01:00
gregoirenovel
7ccae2c4f1
render nothing: true has been removed from Rails
...
Use head instead
2018-01-30 16:56:49 +01:00
gregoirenovel
3fa9774123
params is now an object and no longer a hash
2018-01-30 16:56:46 +01:00
gregoirenovel
6afaf42e6a
The "through" relation used in a HasManyThrough must be declared first
2018-01-30 16:40:04 +01:00
gregoirenovel
25aef60354
Use string interpolation
2018-01-30 15:50:52 +01:00
gregoirenovel
c9a79b4f08
Use map when possible
2018-01-30 15:50:52 +01:00
gregoirenovel
5b62bc4f12
Use transform_keys when possible
2018-01-30 15:45:32 +01:00
gregoirenovel
db8c3030e3
Use transform_values when possible
2018-01-30 15:45:32 +01:00
gregoirenovel
b2fe1b856c
Use #sum instead of #inject when possible
2018-01-30 15:45:32 +01:00
Frederic Merizen
c15e1a6942
[ Fix #1374 ] Add missing parameter
...
Dossier pagination was only working for dossiers en construction.
2018-01-30 15:04:21 +01:00
Frederic Merizen
0ce26055d8
[ #1374 ] Revert "Merge pull request #1373 from betagouv/fix_pagination"
...
This reverts commit 5a56fe0182
, reversing
changes made to 31aabcd6b6
.
2018-01-30 15:04:21 +01:00
Mathieu Magnin
50abb36c81
[ Fix #1309 ] Format datetime before save
2018-01-30 13:49:16 +01:00
Mathieu Magnin
dcb38d79a3
[ Fix #1309 ] Datetime value should be print with yyyy-mm-dd format
2018-01-30 13:49:16 +01:00
Paul Chavard
fdd6cedeb8
Remove data_provide
and data_date_format
attributes
2018-01-30 13:49:16 +01:00
simon lehericey
691b12688d
Revert "[ #1360 ] Upgrade SmartListing to fork of 1.2.1"
...
This reverts commit 506a505477
.
2018-01-29 17:43:30 +01:00
Mathieu Magnin
ce5ce78eff
[ Fix #1291 ] Add CGU link to invite_admin mail template
2018-01-29 11:08:20 +01:00
Mathieu Magnin
11dbc595c7
Store in constant CGU url
2018-01-29 11:08:19 +01:00
Frederic Merizen
506a505477
[ #1360 ] Upgrade SmartListing to fork of 1.2.1
2018-01-25 17:47:10 +01:00
gregoirenovel
1c78d77c30
Bump default gems
...
- haml-rails
- jquery-rails
- unicorn
- openid_connect
- omniauth-github (dependencies)
- fog
- mailjet
- smart_listing
- spreadsheet_architect
- apipie-rails
- maruku
- openstack
- browser
- skylight
- simple_form
- scenic
- daemons
- sentry-raven
- administrate (dependencies)
- logstasher
- chartkick
- font-awesome-rails
2018-01-23 16:26:56 +01:00
gregoirenovel
d2f7c655d7
Bump development gems
...
- brakeman
- web-console
- xray-rails
- haml-lint
- scss_lint
2018-01-23 16:26:56 +01:00
Mathieu Magnin
469aca999b
Revert "Remove data_provide
and data_date_format
attributes"
...
This reverts commit 273b3f2faf
.
2018-01-19 13:20:53 +01:00
Mathieu Magnin
e9ec9e410f
[ Fix #1304 ] If procedure has no path do not crash when hiding it
2018-01-18 18:52:54 +01:00
Frederic Merizen
9b4ce1517c
Use lambda instead of send for etablissement tag
2018-01-18 18:35:07 +01:00
Frederic Merizen
8f41ab89cf
[ #1203 ] Do not include champs privés in accusé de réception
2018-01-18 18:26:14 +01:00
Frederic Merizen
a21dee680d
[ #1203 ] Define tags in constants rather than methods
2018-01-18 18:26:14 +01:00
Frederic Merizen
db5bf39e32
[ #1203 ] No implicit available_for_states, make it explicit
2018-01-18 18:26:14 +01:00
Frederic Merizen
21ad13cf74
[ #1203 ] Make all tags multi-line
2018-01-18 18:26:14 +01:00
Frederic Merizen
943fef3160
[ #1203 ] Move all tag definitions to mail template concern
...
Even the one that is mail-specific, because it is too easy to overlook
it when refactoring otherwise
2018-01-18 18:26:14 +01:00
Frederic Merizen
eebab14954
[ Fix #1203 ] No début d’instruction tag in accusé de réception mails
...
Doesn’t make sense functionnally
2018-01-18 18:26:14 +01:00
Frederic Merizen
9f7ffddb31
[ #1203 ] Allow filtering tags based on an arbitray status
2018-01-18 18:26:14 +01:00
Paul Chavard
26b1de5883
[ Closes #1170 ] Put tps-dev (staging) environement behind a BasicAuth
2018-01-18 18:09:46 +01:00
gregoirenovel
5723c4c894
Remove any reference to the SGMAP
2018-01-18 17:39:56 +01:00
Mathieu Magnin
d945001e0a
[ Fix #1302 ] sanitize_url can deal with nil values
2018-01-18 17:35:19 +01:00
Paul Chavard
e42626c588
Add user info to LogStasher
2018-01-18 17:14:42 +01:00
Paul Chavard
273b3f2faf
Remove data_provide
and data_date_format
attributes
2018-01-18 15:13:48 +01:00
gregoirenovel
f6c0edc5a3
[ Fix #1292 ] Link to avis, not dossier for expert search results
2018-01-18 11:22:08 +01:00
gregoirenovel
813844f9db
Enable the Layout/TrailingWhitespace cop
2018-01-18 10:55:08 +01:00
gregoirenovel
d30ea70c08
Enable the Layout/SpaceInsideParens cop
2018-01-18 10:53:35 +01:00
gregoirenovel
b138dcd876
Enable the Layout/SpaceInsideHashLiteralBraces cop
2018-01-18 10:53:35 +01:00
gregoirenovel
897a30da0c
Enable the Layout/SpaceInsideBlockBraces cop
2018-01-18 10:53:34 +01:00
gregoirenovel
9ea1106503
Enable the Layout/SpaceInLambdaLiteral cop
2018-01-18 10:53:34 +01:00
gregoirenovel
3e93bd3615
Enable the Layout/SpaceBeforeComma cop
2018-01-18 10:53:34 +01:00
gregoirenovel
2814fcf27e
Enable the Layout/SpaceAroundKeyword cop
2018-01-18 10:53:34 +01:00
gregoirenovel
278a662350
Enable the Layout/SpaceAroundEqualsInParameterDefault cop
2018-01-18 10:53:34 +01:00
Mathieu Magnin
307d7338e5
Remove unreachable code
2018-01-18 10:32:39 +01:00
Mathieu Magnin
11b055e07c
Rename reinvite action in controller
2018-01-18 10:04:34 +01:00
Mathieu Magnin
14b8ac614f
Redirect to sign_in if not logged in
2018-01-17 18:04:24 +01:00
Mathieu Magnin
ae1498d786
Add some attributes in Administrateur dashboard
2018-01-17 18:04:24 +01:00
Mathieu Magnin
d9feb4be06
Move sign_in behind /manager (not in namespace due to Administrate resources autoloading)
2018-01-17 18:04:23 +01:00
Mathieu Magnin
d5c036362b
Remove old controller and templates
2018-01-17 18:04:23 +01:00
Mathieu Magnin
a5aeaf988a
Add delayed_job link in sidebar
2018-01-17 18:04:23 +01:00
Mathieu Magnin
3aa6357d66
Show 20 procedures in administrateur#show (default was 5)
2018-01-17 18:04:22 +01:00
Mathieu Magnin
ef0907db93
Add flash when resending invitation
2018-01-17 18:04:22 +01:00
Mathieu Magnin
4f756975c7
Move administrateur#update in Administrate
2018-01-17 18:04:21 +01:00
Mathieu Magnin
a6be13ac5e
Redirect if success, else render form with errors ( https://github.com/thoughtbot/administrate/blob/master/app/controllers/administrate/application_controller.rb#L43 )
2018-01-17 18:04:21 +01:00
Mathieu Magnin
67f89d5f86
Move administrateur creation in Administrate
2018-01-17 18:04:21 +01:00
Mathieu Magnin
0396db9e5f
Clean Administrate templates and controllers
2018-01-17 18:04:20 +01:00
Simon Lehericey
1b91641f9a
FC ParticulierController: remove exotic route
2018-01-17 16:37:26 +01:00
Simon Lehericey
d70b6f4af0
FC ParticulierController: cleaner update attribute
2018-01-17 16:37:26 +01:00
simon lehericey
4f86b6305b
FC ParticulierControllerSpec: callback handle empty string
2018-01-17 16:37:26 +01:00
simon lehericey
02dd1e209c
FC ParticulierController: implement auto reconciliation based on user email
2018-01-17 16:37:26 +01:00
simon lehericey
ecfb0f4ec2
FC ParticulierController: move defense logic to before_action
2018-01-17 16:37:26 +01:00
Simon Lehericey
4afc41bca2
FC ParticulierController: inline fci.user
2018-01-17 16:37:26 +01:00
simon lehericey
d348e5fde0
FC ParticulierController: smaller variable
2018-01-17 16:37:26 +01:00
simon lehericey
c6c4dd7c7e
FC ParticulierController: use find or tap
2018-01-17 16:37:26 +01:00
simon lehericey
7cbd6ed067
FC ParticulierController: create is private
...
yep, I know this is strange
2018-01-17 16:37:26 +01:00
Paul Chavard
6a43248cb3
Fix CSS injection
2018-01-16 14:02:10 +01:00
gregoirenovel
7c93b2a0c2
.map -> .pluck when possible
2018-01-16 13:23:29 +01:00
gregoirenovel
80ed589a17
Use string interpolation
2018-01-16 11:08:57 +01:00
gregoirenovel
83be054884
.map.flatten -> .flat_map
2018-01-16 11:08:56 +01:00
gregoirenovel
c3754a173f
Use map instead of inject
2018-01-16 11:08:56 +01:00
gregoirenovel
16254899e1
[ Fix #1199 ] Make id search work for experts
2018-01-16 11:03:53 +01:00
gregoirenovel
d33d488db7
Avoid EOL if statements
2018-01-16 11:01:52 +01:00
gregoirenovel
a050bc20de
Add a dossiers_from_avis relation to Gestionnaire
2018-01-16 11:01:52 +01:00
Paul Chavard
bbf55ab85e
Create administrateurs with invitation link and no password
2018-01-16 10:49:07 +01:00
Paul Chavard
0cf40f4f18
Add invitation related methods to administrateur model
2018-01-16 10:49:07 +01:00
Paul Chavard
5a984a3637
Add admin invitation mailer
2018-01-16 10:49:07 +01:00
gregoirenovel
73dd58b6cd
Enable the Layout/MultilineMethodCallIndentation cop
2018-01-15 22:33:13 +01:00
gregoirenovel
b77837bfd1
Enable the Layout/MultilineMethodCallBraceLayout cop
2018-01-15 22:33:13 +01:00
gregoirenovel
9d75526460
Enable the Layout/MultilineAssignmentLayout cop
2018-01-15 22:33:13 +01:00
gregoirenovel
14c1747645
Enable the Layout/MultilineArrayBraceLayout cop
2018-01-15 22:33:13 +01:00
gregoirenovel
345b892956
Enable the Layout/LeadingCommentSpace cop
2018-01-15 22:33:13 +01:00
gregoirenovel
1e71188d4d
Enable the Layout/IndentationConsistency cop
2018-01-15 22:33:13 +01:00
gregoirenovel
0be657c0d7
Enable the Layout/IndentHash cop
2018-01-15 22:33:12 +01:00
gregoirenovel
3363e21427
Enable the Layout/IndentAssignment cop
2018-01-15 22:33:12 +01:00
gregoirenovel
9e0e553f80
Enable the Layout/IndentArray cop
2018-01-15 22:33:12 +01:00
gregoirenovel
5125cf8396
Enable the Layout/FirstParameterIndentation cop
2018-01-15 22:14:39 +01:00
gregoirenovel
9f855afdfe
Enable the Layout/FirstHashElementLineBreak cop
2018-01-15 22:14:38 +01:00
gregoirenovel
08ed400ec2
Enable the Layout/FirstArrayElementLineBreak cop
2018-01-15 22:14:38 +01:00
simon lehericey
d086b82d44
FC ParticulierController: remove one return
2018-01-15 17:14:12 +01:00
simon lehericey
34bd3a11e9
FC ParticulierController: remove superfluous if
2018-01-15 17:14:12 +01:00
simon lehericey
02395e732c
FC service: return domain info
2018-01-15 17:14:12 +01:00
simon lehericey
7024e14d1c
FC information: remove funny find_by
2018-01-15 17:14:12 +01:00
simon lehericey
8e26a50f16
FC service: clean syntax
2018-01-15 17:14:12 +01:00
simon lehericey
e68fc0811f
FC ParticulierController: callback syntax cleaning
2018-01-15 17:14:12 +01:00
simon lehericey
9dc242d907
FC Particulier Controller: simplier login
2018-01-15 17:14:12 +01:00
simon lehericey
fc4ce4460c
FC Particulier Controller: do not parse an URI into URI
2018-01-15 17:14:12 +01:00
simon lehericey
f8519c5345
FC initializers: remove Hashie
2018-01-15 17:08:38 +01:00
simon lehericey
ec69be0f7b
FC ParticulierClient: simplier initializer
2018-01-15 17:00:26 +01:00
Simon Lehericey
0d46f92795
FC: move FC constants under particulier namespace
2018-01-15 16:59:50 +01:00
simon lehericey
4c2da46dd8
FC ParticulierClient: simplier initialize
2018-01-15 16:59:48 +01:00
Simon Lehericey
8c487c65a9
FC: remove unused code
2018-01-15 11:27:56 +01:00
gregoirenovel
1368cd4b03
[ Fix #1120 ] Delete the old accompagnateur UI
2018-01-15 10:02:10 +01:00
gregoirenovel
3593adbe66
!foo.empty? -> foo.present?
2018-01-12 11:32:43 +01:00
gregoirenovel
aedafbaf2e
!foo.blank? -> foo.present?
2018-01-12 11:32:43 +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
Mathieu Magnin
e3ec8643db
In manager display libelles with line breaks
2018-01-11 11:03:34 +01:00
Frederic Merizen
32be8213da
[ #1209 ] Make sure date de dépôt is available before sending mail
2018-01-10 18:31:55 +01:00
Mathieu Magnin
f772adc582
Add flash when procedure is whitelisted
2018-01-10 18:17:05 +01:00
Mathieu Magnin
1ebaab51de
Show procedure.whitelisted_at in administrate
2018-01-10 18:17:05 +01:00
Mathieu Magnin
4c0592d631
Rails-ish route
2018-01-10 18:17:05 +01:00
gregoirenovel
608a8eaf67
Abstract the Procedure whitelisting
2018-01-10 17:58:10 +01:00
gregoirenovel
289461d708
Handle the GitHub org rename: sgmap -> betagouv
2018-01-10 17:26:25 +01:00
Simon Lehericey
6f0c3ebc11
Whitelist: send the alert mail to equipe
2018-01-10 17:18:44 +01:00
simon lehericey
53687bf84a
Whitelist: add whitelist button in admin
2018-01-10 17:18:44 +01:00
Simon Lehericey
202d0489a1
Whitelist: links from mail to admin
2018-01-10 17:18:44 +01:00
Mathieu Magnin
440c2b5dd1
[ Fix #1098 ] add administrate custom layout to add logout link
2018-01-10 13:44:02 +01:00
Mathieu Magnin
d8d2ecf515
[ Fix #1098 ] Administrateur dashboard
2018-01-10 13:44:02 +01:00
Mathieu Magnin
c7b3bb0733
[ Fix #1098 ] Custom TypesDePieceJustificativeField for Administrate
2018-01-10 13:44:01 +01:00
Mathieu Magnin
51b94e2f53
[ Fix #1098 ] Custom TypesDeChampCollectionField for Administrate
2018-01-10 13:44:01 +01:00
Mathieu Magnin
65f0859357
[ Fix #1098 ] Using custom views to remove edit and delete button from index
...
This can be reverted when Administrate gem will include this fix : https://github.com/thoughtbot/administrate/pull/597 (>=0.5.0)
2018-01-10 13:44:00 +01:00
Mathieu Magnin
d0de9b9ae2
[ Fix #1098 ] Add procedures dashboard
2018-01-10 13:44:00 +01:00
Simon Lehericey
1473577131
[ fix #1033 ] Procedure Edition: add position field to order the champs
2018-01-10 13:27:22 +01:00
Frederic Merizen
56749769d6
[ Fix #1186 ] Rename object to subject for mail templates
2018-01-09 16:00:31 +01:00
Frederic Merizen
7f040a5cf8
[ Fix #1037 ] Add date tags to mail / attestation templates
...
- date de dépôt
- date de passage en instruction
2018-01-09 11:30:54 +01:00
Frederic Merizen
935a38bde0
[ #1037 ] Introduce format-date
function
2018-01-09 11:30:54 +01:00
gregoirenovel
fdf240cf31
Improve the wording on the “New from existing” page
2018-01-09 11:07:26 +01:00
gregoirenovel
c77558aeed
Correctly handle errors when cloning someone else’s procedure
2018-01-09 11:07:26 +01:00
gregoirenovel
a1275af55f
Use the path helper in the new procedure template
2018-01-09 11:05:19 +01:00
gregoirenovel
093d853ecc
Fix some buggy error handling code in Admin::ProcedureController#clone
2018-01-09 11:05:19 +01:00
Frederic Merizen
63ca52792b
[ #1110 ] Remove legacy tags
2018-01-09 10:39:10 +01:00
simon lehericey
2bc61f9f3f
[ fix #1097 ] Accent insensitive search
2018-01-09 10:29:54 +01:00
simon lehericey
6a2b575027
[ fix #1097 ] Add whitelist mechanisme to procedure
2018-01-09 10:29:54 +01:00
simon lehericey
f1b7a03b63
[ fix #1097 ] Add job to monitor procedures
2018-01-09 10:29:54 +01:00
simon lehericey
d7d5d7eff4
Rename new_admin_mailer to administration_mailer
2018-01-09 10:29:54 +01:00
gregoirenovel
3f2876faf6
[ Fix #1129 ] Simplify the terms checkbox message
2018-01-08 17:14:51 +01:00
gregoirenovel
301eb411cd
Remove two opensimplif-related files
...
They seem unused
2018-01-08 17:03:41 +01:00
Mathieu Magnin
04e9f7be3e
[ Fix #1149 ] Move avis actions to new gestionnaire controller
2018-01-08 16:50:15 +01:00
gregoirenovel
bf5e21d6de
[ Fix #1182 ] Add a “create new procedure from an existing one” feature
2018-01-08 14:55:07 +01:00
gregoirenovel
27a8aba53e
Allow the cloning of another admininistrateur’s procedure
2018-01-08 14:55:07 +01:00
gregoirenovel
ec5b9c86ce
Add the admin argument to Procedure#clone
2018-01-08 14:55:07 +01:00
Frederic Merizen
75a3d0f3db
[ #1110 ] use modern rather than legacy tags in default mail templates
2018-01-05 17:42:25 +01:00
Frederic Merizen
deea23139f
[ #1110 ] Use TagsSubstitutionConcern as engine for mail template tags
2018-01-05 17:42:25 +01:00
Frederic Merizen
ab63f80080
[ #1110 ] Motivation and date de décision are only tags for terminé dossiers
2018-01-05 16:35:29 +01:00
Frederic Merizen
e985439416
[ #1110 ] Use tags method rather than ALLOWED_TAGS class constant
2018-01-05 12:48:07 +01:00
Frederic Merizen
b9a1f707f5
[ #1110 ] name => libelle in mail templates
...
to match attestation templates
2018-01-05 12:48:07 +01:00
Frederic Merizen
8d77cd58c6
[ #1110 ] Make linked procedure available to mail model
2018-01-05 12:48:07 +01:00
Frederic Merizen
ad0462f7ff
[ #1110 ] Port libellé procédure tag from mail templates
2018-01-05 11:51:08 +01:00
Frederic Merizen
ee109b24e3
[ #1110 ] Port date de décision tag from mail templates
2018-01-05 11:51:08 +01:00
Frederic Merizen
6a85094e1a
[ #1110 ] Make processed_at date available for attestation generation
2018-01-05 11:51:08 +01:00
Frederic Merizen
3dfc37826a
[ #1110 ] Extract document template concern from attestation template class
2018-01-05 10:57:27 +01:00
Frederic Merizen
b603af1ec7
[ #1110 ] Simplification: directly use symbols
2018-01-04 16:20:08 +01:00
Mathieu Magnin
62d8381ef7
Remove will paginate
2018-01-03 14:35:48 +01:00
Mathieu Magnin
98ac496aa5
[ Fix #1100 ] Administrateur can renew his API Token
2017-12-26 18:30:36 +01:00
Mathieu Magnin
fab00b1674
[ Fix #1096 ] Add administration email in new administrateur email
2017-12-22 11:10:25 +01:00
Mathieu Magnin
4990595430
[ Fix #1096 ] Sign in with GitHub page
2017-12-22 11:10:24 +01:00
Mathieu Magnin
7c0fdbc9f8
[ Fix #1096 ] Github Oauth
2017-12-22 11:10:24 +01:00
gregoirenovel
6191640262
[ Fix #1102 ] Add more information to the avis confidentiality warning
2017-12-22 10:32:54 +01:00
Frederic Merizen
2ae67a44f2
[ Fix #1143 ] Set motivation before generating attestation
2017-12-22 10:23:40 +01:00
Mathieu Magnin
642dc4ba21
[ Fix #1118 ] New ui is the default ui for gestionnaire
2017-12-21 23:20:59 +01:00
Mathieu Magnin
142f01d1bb
Revert "ProcedureController: remove unused destroy method" (Sentry : #2149 )
...
This reverts commit 6ca6669144
.
2017-12-21 18:33:42 +01:00
gregoirenovel
a55463c164
Remove the dossier number from the dossier processing popover
...
- One popup_title wasn’t written so that its
combination with the dossier number made sense
- The number is already visible on the page
- The number is not that important to make a
decision (the context it adds does not have
so much value)
2017-12-21 17:42:53 +01:00
gregoirenovel
85a01a4638
Fix typos and unify the wording for dossier processing
2017-12-21 17:42:53 +01:00
gregoirenovel
8c1eeb9f25
[ Fix #1011 ] Change the “Enregistrer un brouillon” button behaviour
...
And add the “Voir mes brouillons et dossiers”
button
2017-12-21 15:05:13 +01:00
gregoirenovel
84b05a348e
[ Fix #525 ] Improve the wording of the attestation template footer label
2017-12-20 19:57:31 +01:00
gregoirenovel
280d4af5ee
Forgot to replace some commentaires/messages paths in #1122
2017-12-19 16:50:31 +01:00
Mathieu Magnin
77c28144cb
Space out select labels
2017-12-19 13:55:02 +01:00
gregoirenovel
bab4b4711a
Merge pull request #1122 from sgmap/messagerie
...
Commentaire -> message
2017-12-19 13:12:40 +01:00
gregoirenovel
2b294e2a95
[ Fix #1123 ] Remove the beta banner in production
2017-12-19 11:48:21 +01:00
gregoirenovel
a28bf91356
Commentaire -> message
2017-12-18 14:20:41 +01:00
gregoirenovel
046e1cf8f3
Mutualize some code in an avis form partial
2017-12-15 18:54:55 +01:00
gregoirenovel
ec9758a946
Mutualize some code code into a messagerie partial
2017-12-15 18:37:44 +01:00
gregoirenovel
0c995b63cf
Move the avis list partial in the shared folder
2017-12-15 18:37:44 +01:00
gregoirenovel
e4f7f20698
Mutualize some accompagnateur show template code in a partial
2017-12-15 18:37:44 +01:00
gregoirenovel
60c845986c
Remove some unused locals in the champs partial inclusions
2017-12-15 18:37:44 +01:00
gregoirenovel
0a185fb76b
Remove useless ids in the new Avis templates
2017-12-15 18:37:44 +01:00
gregoirenovel
15098d9fa2
Forgot to change some paths after the renaming in #1114
2017-12-15 18:28:08 +01:00
LeSim
bd29b3c4f8
[ fix #1039 ] hide a procedure release its procedure_path
2017-12-15 17:57:34 +01:00
LeSim
6ca6669144
ProcedureController: remove unused destroy method
2017-12-15 17:57:34 +01:00
LeSim
899f2a91dd
DossierListFacades: remove useless total_new_dossier and new_dossier_number
2017-12-15 17:38:39 +01:00
Simon Lehericey
640a42d6cc
DossierListFacade: use en_construction scope
2017-12-15 17:37:30 +01:00
Simon Lehericey
40b9a77395
Dossier: replace nouveau scope by en_construction
2017-12-15 17:37:30 +01:00
Simon Lehericey
4be6cb9126
Dossier: delete state_nouveaux which is similar to en_construction
2017-12-15 17:37:30 +01:00
LeSim
7cc69de543
Dossier: remove useless state methods and const
2017-12-15 17:37:30 +01:00
gregoirenovel
4cb84e556d
Update a class’ name
2017-12-15 15:55:24 +01:00
gregoirenovel
be1ce69f47
Improve a partial’s and a partials folder's names
2017-12-15 15:55:24 +01:00
Simon Lehericey
9c354e18eb
[fix 363] Dossier: remove next_step!
2017-12-15 15:43:30 +01:00
Simon Lehericey
e78f5b3a2d
[fix 363] Dossier: remove next_step! role var
2017-12-15 15:43:30 +01:00
Simon Lehericey
201862d450
[fix 363] Dossier: remove next_step! action = initiate, role = user
2017-12-15 15:43:30 +01:00
Simon Lehericey
907db89371
[fix 363] Dossier: remove next_step! action = follow
2017-12-15 15:43:30 +01:00
Simon Lehericey
11c010859c
[fix 363] Dossier: remove next_step! action = update
2017-12-15 15:43:30 +01:00
Simon Lehericey
629cccbf27
[fix 363] Dossier: remove next_step! action = comment
2017-12-15 15:43:30 +01:00
gregoirenovel
fb392d87c9
Improve the style of the messagerie form
...
Reduce the space between the messages and the
new message textarea
2017-12-15 14:42:41 +01:00
Simon Lehericey
c83552f423
[ fix #504 ] Dossier: without_continuation -> sans_suite
2017-12-15 12:10:54 +01:00
Simon Lehericey
2be9b8d2ba
[ fix #504 ] Dossier: refused -> refuse
2017-12-15 12:10:54 +01:00
Simon Lehericey
a13256f73d
[ fix #504 ] Dossier: closed -> accepte
2017-12-15 12:10:54 +01:00
LeSim
3dda27b281
[ fix #504 ] Dossier: received -> en_instruction
2017-12-15 12:10:54 +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
Mathieu Magnin
5c46db3b3d
Improve messagerie readability
2017-12-15 11:01:48 +01:00
gregoirenovel
9766a48d64
Mutualize a duplicated render instruction
2017-12-15 10:50:58 +01:00
Mathieu Magnin
3927e5ebf9
If answer is missing on avis, notify on avis tab
2017-12-15 10:43:36 +01:00
gregoirenovel
2def3ecd20
Annotations privées look odd in a card
2017-12-14 18:32:48 +01:00
gregoirenovel
95ad67a9ad
Add more spacing below the accompagnateur-header
...
So that the design feels less cramped
2017-12-14 18:32:48 +01:00
gregoirenovel
64f9f087a0
Add some spacing to tab paragraphs and lists
...
Otherwise the personnes impliquées tab looks odd
2017-12-14 18:32:48 +01:00
gregoirenovel
9ec61a6a73
Remove the featured styling on the annotations privées tab content
2017-12-14 18:32:48 +01:00
gregoirenovel
6cc81db025
Remove a useless title
...
We do not repeat the tab title in the tab
2017-12-14 18:32:48 +01:00
Frederic Merizen
94f1a1fa0c
[ Fix #866 ] Allow use of non-breaking spaces in balise in attestation template
2017-12-14 17:22:21 +00:00
gregoirenovel
c16ca6adb1
[ Fix #1041 ] Use the tab-title style for tab titles
2017-12-14 16:39:41 +01:00
gregoirenovel
4f0e6ae467
Use the tab-title class instead of an unknown class
2017-12-14 16:39:41 +01:00
gregoirenovel
191a5a1dee
Mutualize some CSS into a class
2017-12-14 16:39:41 +01:00
gregoirenovel
b2c8a32fcd
Rename accompagneur-title to page-title
2017-12-14 16:39:41 +01:00
gregoirenovel
13d8d4bfd4
Add missing locals to partials called in the print template
2017-12-14 15:47:40 +01:00
Mathieu Magnin
7d668315db
[ Fix #1016 ] display notifications for annotations privées
2017-12-14 13:57:20 +01:00
Mathieu Magnin
c3e7e39947
[ Fix #1016 ] display notifications for avis
2017-12-14 13:57:20 +01:00
Mathieu Magnin
8e67e5c057
[ Fix #1016 ] display notifications for new messages
2017-12-14 13:57:19 +01:00
Mathieu Magnin
5474ff8bb4
[ Fix #1016 ] display notifications on PJ
2017-12-14 13:57:19 +01:00
Mathieu Magnin
c6be745067
[ Fix #1016 ] display notifications for champs publics
2017-12-14 13:57:15 +01:00
LeSim
c3b4e3f964
[ fix #1067 , fix #1030 ] AvisController inherit from GestionnaireController
...
Should not break anything as avis controller already supposed a gestionnaire is logged in.
2017-12-14 11:43:20 +01:00
Mathieu Magnin
d901852e09
Fix sentry issue #2139 when published_at is nil
2017-12-14 10:45:17 +01:00
Frederic Merizen
21bb04d74e
[ fix #1066 ] Fix links to related dossier for experts
...
- link to full dossier if gestionnaire is affected on procedure
- link to avis if avis expert requested on related dossier
2017-12-13 10:28:16 +00:00
gregoirenovel
1bd4ebbb3b
Improve the patron
2017-12-12 14:53:36 +01:00
gregoirenovel
de4d8b0297
[ Fix #1056 ] Use a span instead of a div for icons
2017-12-12 14:51:44 +01:00
gregoirenovel
060c607772
Add link to the FAQ website in the footer
2017-12-12 10:11:13 +01:00
gregoirenovel
04d17a2ed0
[ Fix #1078 ] Fix a crasher in HtmlToStringHelper
2017-12-12 10:06:50 +01:00
Simon Lehericey
271abc72fb
[ fix #1065 ] Change logout logo for plain text
2017-12-11 17:00:45 +01:00
Simon Lehericey
77907b66d7
[ fix #1053 ] An Administrateur can choose the final dossier states
...
! before going to production :
- stopping the current AutoReceiveJob
- relaunch the jobs with previous id and state = 'received'
2017-12-11 16:34:00 +01:00
Simon Lehericey
b02282c1d0
[ fix #1000 ] export name and first name in api
2017-12-11 15:29:56 +01:00
Simon Lehericey
a05217b364
[ fix #1014 ] strip html tags in annotations_privees
2017-12-11 12:40:12 +01:00
Simon Lehericey
6e97209b82
Form text_area: respect new line
2017-12-11 11:56:18 +01:00
Simon Lehericey
b551ae8097
[ fix #1015 ] New UI: add attachment history
2017-12-07 17:04:41 +01:00
Simon Lehericey
4014912ea4
[ fix #1042 ] keep footer only for the landing
2017-12-07 16:32:22 +01:00
gregoirenovel
e26911a47a
An Etablissement’s libelle is its Libellé NAF, not its name
2017-12-07 16:26:59 +01:00
gregoirenovel
3cbead5b48
Add link to the documentation in the footer
2017-12-07 16:15:44 +01:00
gregoirenovel
0d22ecfe5a
Delete the CGU-related files and mentions
2017-12-07 16:15:44 +01:00
gregoirenovel
1c413eeec4
[ Fix #1036 ] Change the links to the CGU: use the GitBook version
2017-12-07 16:15:37 +01:00
gregoirenovel
9a51940024
[ Fix #393 ] In the footer, mentions légales link -> API doc link
2017-12-07 16:15:37 +01:00
gregoirenovel
d6b093fd2c
Do not add filters with blank values
2017-12-06 17:26:45 +01:00
gregoirenovel
8e07ade8b2
Correctly filter date columns
2017-12-06 17:26:45 +01:00
Simon Lehericey
cf9303bd7e
[ fix #1047 ] Fix encoding problem in carto with IE
...
We could have also use encodeURIComponent(url)
2017-12-06 16:17:13 +01:00
gregoirenovel
d75a3872d1
[ Fix #963 ] Add a "personnes impliquées" tab
2017-12-05 17:04:17 +01:00
Simon Lehericey
e709b773b1
Logo: add a11y
2017-12-05 11:33:44 +01:00
Simon Lehericey
6c73766e0d
[ fix #1013 ] fix logo on ie11
2017-12-05 11:17:34 +01:00
gregoirenovel
407c578f68
Delete the SGMAP link from the footer
2017-12-04 16:47:05 +01:00
Mathieu Magnin
9bc5545bdd
Remove N+1 query on Dossier#show
2017-12-01 17:45:57 +01:00
gregoirenovel
cabfee44db
Rename a class to better reflect its contents
2017-12-01 14:28:07 +01:00
gregoirenovel
2d9313b10b
Rename the close icon to refuse
2017-12-01 14:28:07 +01:00
gregoirenovel
dd47f96424
Improve the names of some parameters in DossiersController
2017-12-01 14:28:07 +01:00
gregoirenovel
684dafb6d4
Remove now obsolete code
2017-12-01 14:28:07 +01:00
gregoirenovel
a04af24cbf
Add DossiersController#terminer
2017-12-01 14:28:07 +01:00
gregoirenovel
a5b4b20a7d
Add DossiersController#repasser_en_construction
2017-12-01 14:28:07 +01:00
gregoirenovel
eb55dfc0c8
Add and use DossiersController#passer_en_instruction
2017-12-01 14:28:07 +01:00
Simon Lehericey
e2bbd2a37a
[ fix #992 ] export: dossiers are order by initiated_at
2017-12-01 13:45:53 +01:00
Mathieu Magnin
a3b93229e9
[ Fix #1002 ] Use partial in print view, and style messagerie in print mode to display all messages
2017-12-01 12:30:16 +01:00
Mathieu Magnin
53bb7b07da
[ Fix #775 ] If champ type is a multiple drop down list then display it properly
2017-12-01 12:23:19 +01:00
gregoirenovel
d23c3c42a2
In new UI CSS and templates, backoffice -> accompagnateur
2017-12-01 11:53:48 +01:00
Simon Lehericey
fe9ac727de
[ fix #872 ] apientrepise: use v2 endpoints
2017-12-01 11:26:40 +01:00
Mathieu Magnin
19a951d103
[ Fix #1023 ] If old commentaire.PJ is present, then display it
2017-12-01 10:14:02 +01:00
gregoirenovel
6c785d71b4
Simplify code in NewGestionnaire::DossiersController
...
We already have procedure: it is given by
ProceduresController, which this controller
inherits form
2017-11-30 17:18:32 +01:00
Simon Lehericey
bbcf350d7d
[ fix #997 ] New Style: allow new line in messagerie
2017-11-30 16:07:48 +01:00
gregoirenovel
e42a0d55e7
Do not center data in tables
2017-11-29 14:12:15 +01:00
gregoirenovel
835567f129
Correctly display the notification column header in Chrome
2017-11-29 14:12:15 +01:00
gregoirenovel
98bd0f3553
[ Fix #994 ] Correctly display the archive button in Chrome
2017-11-29 14:12:15 +01:00
Simon Lehericey
68682fe78d
[ fix #873 ] add motivation in case of refused or without continuation dossier
2017-11-29 14:06:32 +01:00
gregoirenovel
2c901efbb1
Fix print page crasher
...
A partial was renamed in #937 but the renaming
was not reflected in this template
2017-11-29 11:38:14 +01:00
gregoirenovel
731e1b6787
[ Fix #164 ] Make the organisme field mandatory
2017-11-29 10:36:22 +01:00
gregoirenovel
db3e07820a
[ Fix #929 ] Add a current-tab only print feature
2017-11-28 15:22:50 +01:00
gregoirenovel
3c5361a96f
Correctly handle the print stylesheet
2017-11-28 15:22:50 +01:00
gregoirenovel
10f1859a2a
Properly style the button when there is a motivation or attestation
2017-11-28 15:21:34 +01:00
gregoirenovel
5c92989fc8
Properly style the label when there is no motivation nor attestation
2017-11-28 15:21:34 +01:00
gregoirenovel
e3ce5115a2
Rename two classes so that they are more meaningful
2017-11-28 15:21:34 +01:00
Mathieu Magnin
fa95c312ff
Old UI : Plug messagerie on new commentaire file system
2017-11-28 15:07:10 +01:00
Mathieu Magnin
eae16f7746
New UI : Regular messagerie and avis messagerie should use same partials
2017-11-28 15:07:10 +01:00
Mathieu Magnin
886d278d77
New UI : Move messagerie template in order to share them later
2017-11-28 15:07:10 +01:00
Mathieu Magnin
150ff5e7ca
New UI : Use RemoteDownloader class to hide ovh url
2017-11-28 15:07:10 +01:00
Mathieu Magnin
7ea7eea952
New UI : Style file uploader
2017-11-28 15:07:10 +01:00
Mathieu Magnin
7f4652fd1e
New UI : Accept only few extensions
2017-11-28 15:07:10 +01:00
Mathieu Magnin
4d12aa222c
Validate body is present
2017-11-28 15:07:10 +01:00
Mathieu Magnin
6c39aba978
Validates commentaire file size
2017-11-28 15:07:10 +01:00
Mathieu Magnin
76cb54988d
Validate virus free with Clamav
2017-11-28 15:07:10 +01:00
Mathieu Magnin
158adc2472
New UI : Check if commentaire is correctly saved
2017-11-28 15:07:10 +01:00
Mathieu Magnin
ae5e6653cb
[ Fix #888 ] New UI : Add upload on commentaire form
2017-11-28 15:07:09 +01:00
Mathieu Magnin
5775901868
Add commentaire file uploader
2017-11-28 15:07:09 +01:00
Simon Lehericey
28a047a64b
[ Fix #508 ]Api GeoJson: export dossier.json_latlngs to geojson
2017-11-28 14:41:08 +01:00
Simon Lehericey
f34546cf2a
[ Fix #508 ]Api GeoJson: export cadastre
2017-11-28 14:37:12 +01:00
Simon Lehericey
9f2338a70a
[ Fix #508 ]Api GeoJson: export quartier_prioritaire
2017-11-28 14:37:12 +01:00
Mathieu Magnin
d9e3efdf13
[ Fix #98 ] If there is no dossiers do not show export button
2017-11-28 10:24:36 +01:00
Mathieu Magnin
4e91ede69f
Move export button in partial
2017-11-28 10:23:42 +01:00
gregoirenovel
2415d628d1
[ Fix #160 ] Delete the remaining link to our staging environment
2017-11-24 17:08:56 +01:00
Mathieu Magnin
4a483e23bb
[ Fix #957 ] Use select2 for all menu deroulant
...
Displays options that are too long on mutilple lines
2017-11-24 15:36:39 +01:00
gregoirenovel
b6e0b40133
Do not crash if the user has no DOB
...
Related to #986
2017-11-23 15:24:34 +01:00
Mathieu Magnin
8edfdff0fc
[Fix#980] Engagement checkbox should be checked sometimes
2017-11-23 09:40:44 +01:00
Simon Lehericey
d9f44e013a
[ fix #878 ] change motivation text and display a label if not action is possible
2017-11-23 09:34:19 +01:00
Simon Lehericey
e28b18d978
Dossier: add statut method
2017-11-23 09:34:18 +01:00
Simon Lehericey
f9c2da7a5d
Style: change label class form closed to success
2017-11-23 09:34:14 +01:00
gregoirenovel
1d7e7fc654
[ Fix #432 ] Stop raising a useless exception in get_position
...
When an accompagnateur, in the old UI, wants to
see a map, this call crashes because he’s not
the owner or invitee on the dossier he’s looking
at, therefore current_user_dossier raises an
exception
2017-11-22 17:49:32 +01:00
gregoirenovel
5361e4e1e9
[ Fix #871 ] Add the date at the end of exported files
2017-11-22 17:27:57 +01:00
gregoirenovel
339d493602
Fix the display of the accompagnateur contact popover
2017-11-22 11:24:18 +01:00
gregoirenovel
c8e62ad095
recherches -> recherche
2017-11-22 10:48:38 +01:00
gregoirenovel
bf4873af0a
Add missing title to the recherche page
2017-11-21 18:21:59 +01:00
gregoirenovel
303e5285e9
[ Fix #962 ] In new UI, add link on “dossier_link” field values
2017-11-21 18:05:34 +01:00
Mathieu Magnin
b4b394bf18
If user_return_to procedure is invalid then remove it from session
2017-11-21 17:53:16 +01:00
Simon Lehericey
a71574b8dd
[ fix #445 ]: add title to pages
2017-11-21 17:47:27 +01:00
gregoirenovel
481c38dee2
[ Fix #896 ] Add a visible contact dialog for gestionnaires
2017-11-21 16:49:25 +01:00
gregoirenovel
a46aa83f00
Use a class instead of a tag as a tab link selector
2017-11-21 16:49:25 +01:00
gregoirenovel
496087ead9
Use CSS variables when possible
2017-11-21 16:48:13 +01:00
gregoirenovel
d5954c7423
Show links to uploaded pieces justificatives in drafts
2017-11-21 16:46:43 +01:00
Simon Lehericey
68ea1ca1bd
[ fix #879 ] Civilite: display inline
2017-11-21 10:48:08 +01:00
Simon Lehericey
3dd2b7fd1d
[ fix #879 ] Yes_No: use standard order and display inline
2017-11-21 10:48:08 +01:00
Mathieu Magnin
7bfafb6fc2
Fix export for yes_no champs
2017-11-21 10:36:24 +01:00
gregoirenovel
379e7b74d6
Enable all the rubicop perf cops
2017-11-21 10:31:16 +01:00
gregoirenovel
8997f57d21
Remove a now useless JS statement
...
This is now done in init.js
2017-11-21 10:30:50 +01:00
gregoirenovel
899e20ebcc
Fix multiple-selection values display when no value is given
2017-11-21 10:03:56 +01:00
Simon Lehericey
2b146a6d62
Notifications: show dossiers with notification in first place
2017-11-20 17:22:52 +01:00
gregoirenovel
f856077660
[ Fix #908 ] Display multi-selection values in a list
2017-11-20 17:05:08 +01:00
gregoirenovel
9b0415eed7
Use a case statement in _champs.html.haml
2017-11-20 17:05:07 +01:00
gregoirenovel
a3cc86a62e
[ Fix #683 ] Remove the white background from some icons
2017-11-20 15:59:39 +01:00
gregoirenovel
dbdd7098e3
Remove a now outdated message
2017-11-20 14:37:17 +01:00
gregoirenovel
5eb9d6854c
Remove now useless encoding statements
...
As utf-8 is the default encoding since Ruby 2,
this is no longer needed
2017-11-20 14:14:00 +01:00
Mathieu Magnin
b187e7163a
Remove demo accounts routes
2017-11-16 12:36:58 +01:00
Mathieu Magnin
36491230bb
Rename variable path_file => file_path
2017-11-16 12:28:07 +01:00
Mathieu Magnin
adaa1e0dec
[ Fix #939 ] Remove demo page in staging
2017-11-10 18:19:41 +01:00
Simon Lehericey
ed4e885e6f
Notification: new acknowledgment system
2017-11-10 16:29:45 +01:00
Simon Lehericey
f7d7cec5ae
Notification: use new notification system
2017-11-10 16:29:45 +01:00
Simon Lehericey
155a5f7826
Notification: add methods to retrieve notifications
2017-11-10 16:29:44 +01:00
Simon Lehericey
909ecf2142
Notification: add timestamp to champs, pieces jusitificatives and follows
2017-11-10 16:29:44 +01:00
Mathieu Magnin
da5dfdff40
Alert users after OVH outage
2017-11-09 12:09:45 +01:00
Simon Lehericey
9750af24d4
typo
2017-11-07 14:49:58 +01:00
Simon Lehericey
f7dc36364e
[ Fix #890 ] better display of rich text messagerie
2017-10-30 17:24:18 +01:00
Simon Lehericey
f4a8ff31b9
Champ: export multiple_drop_down_list as a [].join(', ')
2017-10-30 17:14:31 +01:00
Simon Lehericey
b658f8c8dc
Champ: export yes_no champ with oui non
2017-10-30 17:14:31 +01:00
Simon Lehericey
338911d1a8
[ fix #905 ] Champ: add for_export method which strips tag for textarea champ
2017-10-30 17:14:31 +01:00
Simon Lehericey
3f2419a2a3
Dossier: rename data_with_champs to to_sorted_values
2017-10-30 17:14:31 +01:00
Simon Lehericey
f0373f6bc2
Dossier: remove useless return
2017-10-30 17:14:31 +01:00
Simon Lehericey
d40c0d3b06
Select2: fr localization
2017-10-30 14:25:54 +01:00
Simon Lehericey
fc987a730d
[ Fix #925 ] strip avis email input
2017-10-30 14:19:20 +01:00
Simon Lehericey
92beb321a4
typo
2017-10-27 17:28:50 +02:00
Simon Lehericey
a4be8e709c
[ fix #872 ] Procedure Logo: fix overflow logo for ie11
...
Bug in ie11 linked to flex and image ratio
The only way to fix it so far and preserving image ratio is to use background image property
2017-10-25 16:04:18 +02:00
Mathieu Magnin
eabc24b432
Print champ description with simple format to display line breaks
2017-10-25 15:36:42 +02:00
Simon Lehericey
8dedf6fdca
[ fix #575 ] dossier updated_at is ... updated when children are updated
2017-10-24 18:12:25 +02:00
gregoirenovel
07ca2989bd
Align several mixed-types buttons properly
2017-10-23 15:21:34 +02:00
gregoirenovel
dc1615393b
Change the padding of icon-only buttons
...
So that they have the same height as buttons with
text
2017-10-23 15:21:34 +02:00
Mathieu Magnin
02c83766e5
[ Fix #839 ] Fix mail template modification by side effect
2017-10-23 14:36:52 +02:00
gregoirenovel
3e2f12a054
[ Fix #807 ] Increase the maximum number of columns to 5
2017-10-23 12:44:21 +02:00
gregoirenovel
8adca7e067
Increase the horizontal spacing in dossiers-table
2017-10-23 12:44:21 +02:00
gregoirenovel
f2b0a0d5bc
Decrease the vertical padding of dossiers-table th and .cell-link
2017-10-23 12:44:21 +02:00
gregoirenovel
23a6f5bae1
Properly align the dossier-table th
2017-10-23 12:44:21 +02:00
gregoirenovel
9c7ad9da91
Align the follow button to the right
2017-10-23 12:44:21 +02:00
gregoirenovel
40c4ef24a0
Change the width of the number, status and follow columns
2017-10-23 12:44:21 +02:00
gregoirenovel
1fc5264900
In SCSS files, use the class instead of the HTML tag when possible
2017-10-23 12:44:21 +02:00
gregoirenovel
b595ce9066
Reduce the font-size in the dossiers-table
2017-10-23 12:44:21 +02:00
gregoirenovel
b88490e559
Reduce the top margin of the dossiers table in the procedure page
2017-10-23 12:44:21 +02:00
gregoirenovel
1a4cef818d
Set the line-height of the labels
...
So that their heights are fixed
2017-10-23 12:44:21 +02:00
gregoirenovel
e2a8bdcbb3
Remove the phone number from the homepage
...
We only get calls from users wanting support,
not from administrations wanting a demo
2017-10-23 11:12:11 +02:00
Mathieu Magnin
a8ec374252
[ Fix #813 ] When a brouillon is created, send an email to user
2017-10-20 12:13:55 +02:00
Simon Lehericey
3dce5b9b5e
AttestationTemplate: store logo and signature with uuid
2017-10-19 15:32:04 +02:00
Simon Lehericey
ea2827134e
[ fix #850 ] Use UUID as a uniq identifier for the attestation
2017-10-19 15:02:01 +02:00
gregoirenovel
fe84ff9e6c
[ Fix #864 ] Warn the user when they click the delete draft button
2017-10-19 11:20:52 +02:00
gregoirenovel
7be86796c1
After deleting a brouillon, stay on the brouillon tab
...
Instead of redirecting on another tab
2017-10-19 11:20:52 +02:00
Mathieu Magnin
8c67339299
If date_publication is missing on rna_information, do not crash
2017-10-17 15:21:29 +02:00
gregoirenovel
9ea396cc8b
Avoid loading the association for the without_followers scope
...
As seen in https://stackoverflow.com/questions/5319400/want-to-find-records-with-no-associated-records-in-rails-3
2017-10-17 14:10:34 +02:00
Mathieu Magnin
08f76f336c
If not super admin do not display current month in cumul
2017-10-17 12:55:17 +02:00
gregoirenovel
df4bad9132
Fix the size and viewBox of several SVG icons
...
- So that they aren’t stretched by the
background-size attribute
- So that they are properly dimensioned compared
to other icons
- Note: the attachment icon is slightly different
2017-10-17 12:40:47 +02:00
gregoirenovel
e555c181e2
Fix the border for the selected header item
...
It now touches the bottom again
2017-10-17 12:04:26 +02:00
Mathieu Magnin
793a2aa4c4
Remove crisp because Benjamin left
2017-10-17 11:52:09 +02:00
gregoirenovel
29ff27eee9
[ Fix #848 ] Correctly format the dates in the Identité part
2017-10-17 11:32:26 +02:00
gregoirenovel
9e266ca0f4
Remove the .card div from the map partial
2017-10-17 11:31:59 +02:00
gregoirenovel
d42e438546
Extract the pieces jointes part into a partial
2017-10-17 11:31:59 +02:00
gregoirenovel
e053a40902
Don’t use the featured styling on Demande cards
2017-10-17 11:31:59 +02:00
gregoirenovel
2096f83a14
Extract the title from the card when showing the Pièce jointes
2017-10-17 11:31:59 +02:00
gregoirenovel
13ce8c28f0
Extract the title from the card when showing the Carte
2017-10-17 11:31:59 +02:00
gregoirenovel
bbb680e168
Extract the title from the card when showing the Identité
2017-10-17 11:31:59 +02:00
gregoirenovel
239324cdc4
Remove an extra blank line
2017-10-17 11:31:59 +02:00
Simon Lehericey
c9d4baa71b
Improve the styling of the Demande tab
2017-10-17 10:14:56 +02:00
Simon Lehericey
12223c21f1
[Ref #832 ] Improve the display of rich text in the Demande tab
2017-10-17 10:14:56 +02:00
Simon Lehericey
267591f27e
[ Fix #854 ] Give a length to libellé cells
2017-10-17 10:14:56 +02:00
gregoirenovel
fa2ee4797b
Don’t use an i
tag for icons
2017-10-17 10:02:28 +02:00
gregoirenovel
67f2d6599e
Add some more forgotten changes in #841
2017-10-17 10:01:26 +02:00
gregoirenovel
e3123ac320
[ Fix #849 ] Fix the display of icons in buttons
...
Some changes were forgotten in #841
2017-10-17 10:01:26 +02:00
gregoirenovel
e22014c0d5
Use underscores instead of dashes in filenames
2017-10-17 09:58:40 +02:00
Simon Lehericey
5257d20ba0
[fix #845 ] Attestation: affiche les dates au format français
2017-10-16 18:54:19 +02:00
gregoirenovel
8ec4ffde27
In vertical tables, invert the bold styling
...
the label is now in bold, and the value in a
normal weight:
- it is more usual
- it allows the value to contain bold styling
2017-10-16 10:59:09 +02:00
Simon Lehericey
741167abec
[ fix #832 ] sanitize user input
2017-10-16 10:49:54 +02:00
Simon Lehericey
4fab477b63
Style: scope icon style
2017-10-16 10:29:33 +02:00
gregoirenovel
316d8e09b5
Allow accompagnateurs to print a Dossier
2017-10-16 09:33:58 +02:00
Mathieu Magnin
0f945e2fea
Simplify mailer parameters to be serializable (even if mail_template.id is nil)
2017-10-13 21:27:17 +02:00
Mathieu Magnin
3ba5de88b6
[ Fix #839 ] Send notification email in async to avoid sending same email to different users
2017-10-13 17:41:02 +02:00
Simon Lehericey
965c9f9bf4
Header: better display
2017-10-12 09:10:22 +02:00
Simon Lehericey
6f4ddb9e3e
[ fix #728 ] Reduce flash error size to avoid cookies overflow
2017-10-12 09:02:54 +02:00
gregoirenovel
b2f63f7f38
Delete redis and actioncable
2017-10-12 07:21:02 +02:00
gregoirenovel
ab625093d7
[ Fix #802 ] Make the procedure’s stats clickable
...
They redirect directly to the right tabs
See http://kizu.ru/en/fun/nested-links/
for the dirty trick
2017-10-11 17:55:57 +02:00
Simon Lehericey
6a77dff916
[ fix #811 ]OpenStreetMap: use openstreetmap.org to provide the tiles
2017-10-11 15:13:02 +02:00
gregoirenovel
fd08bb8c57
Eager-load data for downloadable dossiers
...
So that the export is faster
2017-10-11 12:38:00 +02:00
gregoirenovel
8281a6474e
Force a single query for some includes
...
As explained in
https://blog.bigbinary.com/2013/07/01/preload-vs-eager-load-vs-joins-vs-includes.html
Otherwise the `where` fails because the `includes`
is done using another query
2017-10-10 18:33:20 +02:00
Mathieu Magnin
c5487657db
Create a Job that receive automatically each new dossier from a specific procedure
2017-10-06 17:49:31 +02:00
Mathieu Magnin
5eff915b9d
Add initiated_at to DossiersSerializer
2017-10-06 17:49:06 +02:00
Mathieu Magnin
17ce3885fd
Force commentaire order to avoid tests to fail randomly
2017-10-06 11:04:09 +02:00
gregoirenovel
c58a7abbd1
Capitalize the buttons’ labels
2017-10-06 10:49:38 +02:00
gregoirenovel
6daeac8a18
Invert the buttons order in the Dossier header
2017-10-06 10:33:36 +02:00
gregoirenovel
9466e6e0da
Make the hover style match the active style
2017-10-06 10:33:04 +02:00
gregoirenovel
fb769f4362
Improve the header navigation style
...
- The underline only underlines the text, not
the horizontal padding
- The underline does not overlap with the grey
border
2017-10-06 10:33:04 +02:00
Simon Lehericey
e20d403b20
DossierController: a archived dossier is not followed
2017-10-05 16:59:26 +02:00
Simon Lehericey
19b3416361
Gestionnaire: add unfollow method
2017-10-05 16:59:26 +02:00
Simon Lehericey
01da457ad0
DossierController: a dossier commented is followed
2017-10-05 16:59:26 +02:00
gregoirenovel
3bedb76701
[ Fix #791 ] Fix a typo preventing to download the Excel file
2017-10-05 16:53:57 +02:00
Simon Lehericey
c602efee18
Gestionnaire Legacy UI: fix nouveaux dossier list filter
2017-10-05 15:58:52 +02:00
gregoirenovel
044e0e69b8
Normalize the capitalisation of tab names in the Accompagnateur header
2017-10-05 15:48:18 +02:00
gregoirenovel
002ccf3552
In the Avis header, the Instruction tab is now Avis
2017-10-05 15:47:29 +02:00
gregoirenovel
0006d42874
Move the jobs logging handling in ApplicationJob
2017-10-05 15:42:48 +02:00
gregoirenovel
51f57d983e
Use ActiveJob
2017-10-05 15:42:48 +02:00
gregoirenovel
a611cace5f
Do not allow to filter by explication fields
2017-10-05 14:46:09 +02:00
gregoirenovel
c586474a45
Do not show explication fields to gestionnaires
2017-10-05 14:46:09 +02:00
Sylvain
8d7450da20
Fix special chars on homepage
...
Deux
LSEP apparaissent sur la home (Chrome, Windows, capture d'écran). Je les ai supprimé du fichier où ils apparaissent.
2017-10-05 13:45:05 +02:00
gregoirenovel
31b9f8950e
Increase the number of dossiers on the procedure page
...
Plus remove some trailing whitespace
2017-10-05 13:28:24 +02:00
gregoirenovel
0705efde30
Add filtering to the dossiers table
2017-10-02 17:45:22 +02:00
gregoirenovel
801318b053
Memoize statut
2017-10-02 17:45:22 +02:00
gregoirenovel
3df9356021
Add field sort to the dossiers table
2017-10-02 17:45:22 +02:00
gregoirenovel
88ad986143
Remove the ordering from the dossier scopes
2017-10-02 17:45:22 +02:00
gregoirenovel
b1cfd7e1bc
Extract the folders table header field into a partial
2017-10-02 17:45:22 +02:00
gregoirenovel
e1bdbec815
Allow the customization of the dossiers table
2017-10-02 17:45:22 +02:00
gregoirenovel
7036f9778b
Add ProcedurePresentation
2017-10-02 17:03:30 +02:00
Simon Lehericey
c049957bbe
Add disable_with on annotations_privees and avis
2017-09-29 17:16:32 +02:00
Simon Lehericey
69e5da1854
Avis Old UI: fix a path that have moved
2017-09-28 12:37:56 +02:00
Mathieu Magnin
e753c67ad6
Change WeeklyOverviewWorker for delayed_job
2017-09-27 16:47:32 +02:00
Mathieu Magnin
fbad15bc84
Change AutoArchiveProcedureWorker for delayed_job
2017-09-27 16:47:32 +02:00
Simon Lehericey
2b760c85c4
[ Fix #763 ] Add annotations_privees to buggy annotation system
2017-09-27 15:08:34 +02:00
Simon Lehericey
f2e1480c73
Notifications: add annotations_privees
2017-09-27 12:16:33 +02:00
Simon Lehericey
04d1e0f0e8
Notification: instruction -> avis
2017-09-27 12:16:33 +02:00
Simon Lehericey
f5a227fa92
[ Fix #762 ] move dossier instruction -> dossier annotations_privees
2017-09-27 12:16:33 +02:00
Simon Lehericey
a421f0257e
[ Fix #762 ] split annotations and avis
2017-09-27 12:08:55 +02:00
Simon Lehericey
fb5472d3f6
Dossier: remove a_instruire scope
...
As it s a duplication of en_instruction
2017-09-26 14:42:54 +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
Simon Lehericey
030a11d98c
[ Fix #503 ] Dossier: remove unused ouvert state
2017-09-26 14:42:54 +02:00
Simon Lehericey
2eca14a731
DossierListGestionnaire: change a_traiter filter from ouvert to nouveau
2017-09-26 14:42:54 +02:00
Simon Lehericey
73357c5144
[ Fix #503 ] Dossier: Remove waiting for gestionnaire scope
2017-09-26 14:42:54 +02:00
Simon Lehericey
460cd3e237
[ Fix #503 ] Dossier: Remove waiting for user scope
2017-09-26 14:42:54 +02:00
Simon Lehericey
53f0a16186
BackofficeAvisController: make new avis confidentiel by default
2017-09-22 17:58:16 +02:00
Mathieu Magnin
45cf26e855
If type de champ has no dropdownlist do not crash, (sentry issue: https://sentry.apientreprise.fr/apientreprise/tps_dev/issues/1833/ )
2017-09-22 14:16:00 +02:00
Mathieu Magnin
64f4bcf257
Fix if gestionnaire is nil (sentry issue : https://sentry.apientreprise.fr/apientreprise/tps_dev/issues/1865/ )
2017-09-22 11:19:19 +02:00
Mathieu Magnin
356c16b1bc
Hide crisp default button, to avoid usagers to spam us
2017-09-22 10:29:49 +02:00
Mathieu Magnin
6a58873ba7
Add pagination on avis
2017-09-22 10:19:26 +02:00
Mathieu Magnin
3b3f4efa18
Design kaminari pagination
2017-09-22 10:19:25 +02:00
Mathieu Magnin
2737a8d529
Add pagination on dossiers list
2017-09-22 10:19:25 +02:00
Mathieu Magnin
fdb187368d
When procedure libelle is too long, don't shrink logo or button
2017-09-21 17:11:57 +02:00
Mathieu Magnin
10b22b018e
Header menu should be above every dropdown content
2017-09-21 11:42:49 +02:00
Simon Lehericey
1962037728
New Design: add motivation and attestation
2017-09-21 10:50:05 +02:00
Mathieu Magnin
a927affae6
Display avis counter on header
2017-09-21 10:41:53 +02:00
Mathieu Magnin
8dace5217a
Share badges style in /patron
2017-09-21 10:23:22 +02:00
gregoirenovel
5b955677c2
[ Fix #719 ] Unformat date and yes/no values in the form
2017-09-20 17:40:43 +02:00
Simon Lehericey
11e8feacce
Style: extract class describing empty stuff
2017-09-20 17:17:05 +02:00
Simon Lehericey
bacff0a178
Avis: wording
2017-09-20 15:42:26 +02:00
Simon Lehericey
3c3e303a59
Dossier instruction: can ask for a confidentiel avis
2017-09-20 15:42:26 +02:00
Simon Lehericey
caaa3169e5
Avis instruction: can ask for a confidentiel avis
2017-09-20 15:42:26 +02:00
Simon Lehericey
4dd20c17d1
Avis: extract of avis list and add confidential icon
2017-09-20 15:42:26 +02:00
Simon Lehericey
f420cde531
Icons: add lock
2017-09-20 15:42:26 +02:00
Simon Lehericey
fdbf34f04b
Avis instruction: only authorized avis
2017-09-20 15:42:26 +02:00
Simon Lehericey
112e3a5793
Procedures: redirect to avis if suitable
2017-09-20 15:42:26 +02:00
Simon Lehericey
3dfd77e914
Avis: add messagerie
2017-09-20 15:42:26 +02:00
Simon Lehericey
d1540c4a68
Avis: add avis link in header
2017-09-20 15:42:26 +02:00
Simon Lehericey
88c27479ee
Avis: instruction
2017-09-20 15:42:26 +02:00
Simon Lehericey
a1f9f7aa75
Avis: show
2017-09-20 15:42:26 +02:00
Simon Lehericey
3cc09c98f9
Avis: index
2017-09-20 15:42:26 +02:00
Mathieu Magnin
bce3efc5d4
[ Fix #735 ] Change nouveau state to en construction
2017-09-20 10:38:22 +02:00
Mathieu Magnin
ca82fba170
[ Fix #738 ] TPS link on header should navigate on same UI
2017-09-19 17:53:38 +02:00
Mathieu Magnin
e33259a464
Add download dossiers button on procedure#show
2017-09-19 13:48:10 +02:00
Mathieu Magnin
35d7bac49e
Style success flash messages
2017-09-15 10:56:14 +02:00
Mathieu Magnin
b477adf586
Improve procedure logo on procedure#index
2017-09-14 11:41:19 +02:00
Mathieu Magnin
fe7f772f96
Improve procedure logo on procedure#show
2017-09-14 11:41:19 +02:00
Mathieu Magnin
66549f93bb
[ Fix #727 ] Engagement champ should behave like checkbox when displayed
2017-09-14 10:57:40 +02:00
Mathieu Magnin
9c8061d5a4
Show pieces justificatives in messagerie
2017-09-13 16:27:08 +02:00
Mathieu Magnin
581da1921e
Add a flash message after comment is created
2017-09-13 16:27:08 +02:00
Mathieu Magnin
bdf754c0d8
Automatically scroll to the last message
2017-09-13 16:27:08 +02:00
Mathieu Magnin
3cbfd2709f
Add disable_with on comment creation
2017-09-13 16:27:08 +02:00
Mathieu Magnin
3fa300d1b6
Date format on commentaire should be 13:30 le 31/01/2017
2017-09-13 16:27:07 +02:00
Mathieu Magnin
530998dad5
If gestionnaire is known on avis, use his email
2017-09-13 11:42:41 +02:00
Mathieu Magnin
31995c270c
[ Fix #721 ] If an avis is created with uppercase email, downcase it before save
2017-09-13 10:59:59 +02:00
Mathieu Magnin
a4ea5ddcee
When changing dossier state do not switch the UI
2017-09-13 09:24:51 +02:00
Mathieu Magnin
31dd45617a
PJ download button should be clear when PJ is available
2017-09-11 09:43:19 +02:00
Mathieu Magnin
dd2d666347
Limit long breadcrumbs, by truncating procedure name
2017-09-08 14:46:25 +02:00
Simon Lehericey
d9e532684f
Login: fix remember me checkbox and forget password link
2017-09-08 11:52:30 +02:00
Simon Lehericey
c2d042eb99
Dossier show: display cards champ if needed
2017-09-08 11:44:46 +02:00
Simon Lehericey
e5150da6c3
Breadcrumbs: fix margin bottom
2017-09-08 11:29:12 +02:00
Simon Lehericey
d943874144
Carto: display carto only when needed
2017-09-08 10:16:27 +02:00
Simon Lehericey
0b832a873c
Search: replace placeholder to 'Rechercher un dossier'
2017-09-07 16:50:02 +02:00
Mathieu Magnin
39c556f70e
Enable Rack mini profiler, on every environment
2017-09-07 15:12:19 +02:00
Mathieu Magnin
11386a04ee
Remove history link
2017-09-07 11:44:39 +02:00
Simon Lehericey
c9f69e9693
Avis Style: replace bubble image tag by the i tag
2017-09-07 10:37:40 +02:00
Simon Lehericey
c93feb27f0
Avis style: extract class to avis.scss file for reuse in patron and avis
2017-09-07 10:36:25 +02:00
Simon Lehericey
bbb1f77ada
Messagerie: extract css for reuse
2017-09-07 10:17:24 +02:00
Simon Lehericey
bd9536faac
Header: improve padding
2017-09-07 10:10:03 +02:00
Simon Lehericey
62c893d704
Procedure Index: increase link size to the whole line and apply same style as the dossier index
2017-09-06 11:14:00 +02:00
Mathieu Magnin
4e526c5fa9
Add action button for follow and archive
2017-09-06 11:14:00 +02:00
Mathieu Magnin
feda7213f9
Action button for instruction state
2017-09-06 11:13:59 +02:00
Mathieu Magnin
059a0b961b
Action button for construction state
2017-09-06 11:13:59 +02:00
Mathieu Magnin
c713518ac1
[ Fix #494 ] If super-admin is connected, add an link in the header menu
2017-09-06 11:13:58 +02:00
Mathieu Magnin
3f67d29a18
Mail => Email
2017-09-06 11:13:58 +02:00
Mathieu Magnin
d6e17493d5
[ Fix #694 ] Commentaire email should be displayed
2017-09-06 11:13:58 +02:00
Mathieu Magnin
485a1ceb00
[ Fix #663 ] Menu header should be above every element
2017-09-06 11:13:57 +02:00
Simon Lehericey
a298c48e8f
Dossier: add notification icon
2017-09-06 11:13:50 +02:00
Simon Lehericey
fbd16b8c75
Procedure show: add notification icon
2017-09-06 11:11:47 +02:00
Simon Lehericey
3e93d21bf5
Procedure Index: add notification icon
2017-09-06 11:11:47 +02:00
Mathieu Magnin
3e4ba4715d
Fix carte bug if user has not draw on map
2017-09-06 11:11:46 +02:00
Mathieu Magnin
7441410fff
Hide outline on buttons
2017-09-06 11:11:45 +02:00
Mathieu Magnin
4a94ce1e16
Fix line-height for buttons
2017-09-06 11:11:45 +02:00
Mathieu Magnin
4716d40574
Resize icon in button does not apply on dropdown
2017-09-06 11:11:45 +02:00
Mathieu Magnin
10ce7ad9eb
Merge pull request #679 from sgmap/new_icons_for_dossier_action_button
...
Add new icons for dossier action button
2017-09-06 11:11:44 +02:00
Mathieu Magnin
b531f85f97
Add new icons for dossier action button
2017-09-06 11:11:44 +02:00
Simon Lehericey
1a1bc461f7
ProfileSwitch: change link to stay in the old design part
2017-09-06 11:11:44 +02:00
Simon Lehericey
b8a75621e3
New_design: add design switch button
2017-09-06 11:11:43 +02:00
Mathieu Magnin
bf97a111f9
Old recherche with new design
2017-09-06 11:11:43 +02:00
Mathieu Magnin
c74bf5dd8f
Dossier index use .dossiers-table class
2017-09-06 11:11:42 +02:00
Mathieu Magnin
f5ca774e40
Add new style .dossiers-table
2017-09-06 11:11:42 +02:00
Mathieu Magnin
7e09bd71e4
Add hoverable tables
2017-09-06 11:11:42 +02:00
Mathieu Magnin
d268151e04
Improve default table style
2017-09-06 11:11:42 +02:00
Mathieu Magnin
9b95a4732f
Add a .vertical class to tables because this is not the default layout
2017-09-06 11:11:41 +02:00
Mathieu Magnin
1e61f1388b
Move layout configuration on gestionnaire controller
2017-09-06 11:11:41 +02:00
Simon Lehericey
faf2d2814b
Champ: fix indentation
2017-09-06 11:11:40 +02:00
gregoirenovel
0eb7ea23cc
Unify class conditionals in the gestionnaire dossier header
2017-09-06 11:11:40 +02:00
gregoirenovel
590c572106
Use .tabs instead of .dossier-categories in procedures#show
2017-09-06 11:11:39 +02:00
gregoirenovel
93cb2ec118
Add badge support to tabs
2017-09-06 11:11:39 +02:00
gregoirenovel
cc54fec629
Redesign the tabs so that they look more like tabs
2017-09-06 11:11:39 +02:00
gregoirenovel
7c1eed760a
Remove from patron a case that does not exist
...
We never use tabs somewhere else than in a
header
2017-09-06 11:11:39 +02:00
gregoirenovel
7af3f90197
Rename header-left-menu to header-tabs
2017-09-06 11:11:38 +02:00
gregoirenovel
08aa2ac524
Redesign the tabs so that they look more like tabs
2017-09-06 11:11:38 +02:00
Simon Lehericey
49a656db76
New_design: make the procedure list more awesome
2017-09-06 11:11:37 +02:00
Simon Lehericey
3e5d0dce6a
NewDesign: can add annotations
2017-09-06 11:11:37 +02:00
Simon Lehericey
b94fc7c132
NewDesign: list of avis
2017-09-06 11:11:37 +02:00
Simon Lehericey
2923d4448b
NewDesign: can ask a new avis
2017-09-06 11:11:36 +02:00
Simon Lehericey
f03d8ef909
NewDesign: add dossier instruction view
2017-09-06 11:11:36 +02:00
Simon Lehericey
9d7066d3c3
Form: display mandatory star in red
2017-09-06 11:11:35 +02:00
Simon Lehericey
46c144146c
Form: add description
2017-09-06 11:11:35 +02:00
Simon Lehericey
d4bbcdf682
Champ: add before save logic to serialize datetime and dropdownlist fields
2017-09-06 11:11:35 +02:00
Simon Lehericey
74c71a3776
Form: use rails form helper
2017-09-06 11:11:34 +02:00
Mathieu Magnin
c05c1ae72d
Fix sticky footer
2017-09-06 11:11:34 +02:00
Mathieu Magnin
42a8792071
Add icons to patron + new icon folder
2017-09-06 11:11:33 +02:00
Mathieu Magnin
32c83dd7a5
Add label variations to /patron
2017-09-06 11:11:33 +02:00
Mathieu Magnin
f3f2b6acc2
Avoid n+1 because of gestionnaire.follows?(dossier)
2017-09-06 11:11:32 +02:00
Mathieu Magnin
d780ab1c90
Avoid n+1 because of user.email
2017-09-06 11:11:32 +02:00
Simon Lehericey
9f890d1ea7
Form: import dossier_link js in new design
2017-09-06 11:11:31 +02:00
Simon Lehericey
1b42766836
Form: add address auto complete
2017-09-06 11:11:31 +02:00
Simon Lehericey
1a485f173e
Form: add required
2017-09-06 11:11:30 +02:00
Simon Lehericey
80023e4f7f
Form: remove form overflow to improve box shadow on input error
2017-09-06 11:11:30 +02:00
Simon Lehericey
2fd486c1a3
Form: add pseudo native form validation
2017-09-06 11:11:30 +02:00
Simon Lehericey
509b378567
Form: add select2 form multiple select
2017-09-06 11:11:30 +02:00
Simon Lehericey
e0bd42032a
Form: style select
2017-09-06 11:11:29 +02:00
Simon Lehericey
9c2e71afa3
Form: add various champs html and style
2017-09-06 11:11:29 +02:00
Mathieu Magnin
bc07082d17
Init js namespace one time
2017-09-06 11:11:28 +02:00
Mathieu Magnin
373d9999fc
Add map for gestionnaire
2017-09-06 11:11:28 +02:00
Mathieu Magnin
bdaa51c5cc
Move old js in a directory to avoid conflicts with require_tree
2017-09-06 11:11:27 +02:00
gregoirenovel
b4a1f4f248
Remove a useless scope call
...
A gestionnaire’s dossiers are already filtered so
that the brouillon ones do not appear
2017-09-06 11:11:27 +02:00
gregoirenovel
091fa1d099
Order a Gestionnaire’s procedures
...
First display the procédures publiées, sorted
by publication date, and then the procédures
archivées, sorted by archiving date
2017-09-06 11:11:27 +02:00
gregoirenovel
7ff7710803
A gestionnaire can only see procédures publiées
2017-09-06 11:11:26 +02:00
Simon Lehericey
2aa8c1d272
Messagerie: remove useless class
2017-09-06 11:11:26 +02:00
Simon Lehericey
3b7244675d
Css: add .width-100 utility class
2017-09-06 11:11:26 +02:00
Simon Lehericey
877f64599d
Form: add send button on the right
2017-09-06 11:11:25 +02:00
Simon Lehericey
0d27ca3bca
Commentaire: use scope to order commentaires association
2017-09-06 11:11:25 +02:00
Simon Lehericey
714b2a5f08
NewDesign: gestionnaire can add a new commentaire
2017-09-06 11:11:25 +02:00
Simon Lehericey
3ecc4f1327
NewDesign: add person icon to message
2017-09-06 11:11:24 +02:00
Simon Lehericey
3a8e84b128
NewDesign: add guest label to message
2017-09-06 11:11:24 +02:00
Simon Lehericey
983c17fdcf
NewDesign: Dossier add dossier and messagerie link in header
2017-09-06 11:11:24 +02:00
Simon Lehericey
497f898e1b
NewDesign: add dossier messagerie show
2017-09-06 11:11:24 +02:00
Simon Lehericey
86ea47bb0d
BackofficeDossierController: follow dossier when receive
2017-09-06 11:11:23 +02:00
Simon Lehericey
b80d6a6a59
Follow: add flash notice to dossier_controller
2017-09-06 11:11:23 +02:00
Simon Lehericey
95fbd1824a
Follow: remove old backoffice follow and toggle_follow
2017-09-06 11:11:22 +02:00
Simon Lehericey
a7f270bac4
Follow: user new dossier follow controller instead of backoffice
2017-09-06 11:11:22 +02:00
Simon Lehericey
f07b6eab53
Follow: use follow instead of toggle_follow_dossier
2017-09-06 11:11:22 +02:00
Simon Lehericey
6cff044a50
NewDossierController: add next_step follow
2017-09-06 11:11:22 +02:00
Simon Lehericey
8b2366cb98
GestionnaireDossierController: use gestionnaire follow
2017-09-06 11:11:21 +02:00
Simon Lehericey
e68f3332c1
Gestionnaire: add follow(dossier) method
2017-09-06 11:11:21 +02:00
Simon Lehericey
033f08524f
Gestionnaire: refactor follow?
2017-09-06 11:11:21 +02:00
Mathieu Magnin
8fdc16d89f
Remove old font-size
2017-09-06 11:11:20 +02:00
Mathieu Magnin
73e6053c19
Fix input search margin in header
2017-09-06 11:11:20 +02:00
Mathieu Magnin
cbd9df8f0c
[ Fix #552 ] Disable default style for buttons on iOS
2017-09-06 11:11:20 +02:00
Mathieu Magnin
9731683b43
Use default-spacer in forms
2017-09-06 11:11:20 +02:00
Simon Lehericey
dfe36ceef7
NewDesign Form: unify body and input font
2017-09-06 11:11:19 +02:00
Simon Lehericey
2a8b8d4a01
NewDesign Form: apply design to textarea
2017-09-06 11:11:19 +02:00
Simon Lehericey
9753da8fdd
NewDesign Form: move margin from label to input
...
provide beautiful layouts with or without label between inputs
2017-09-06 11:11:19 +02:00