gregoirenovel
cf573a1ec6
Use Procedure#archive instead of duplicating code
2017-07-03 10:18:48 +02:00
Simon Lehericey
fb50606680
Admin: remove useless data in admin creation mail
2017-06-30 17:21:41 +02:00
Simon Lehericey
149c1ba459
ProcedureOverview: change email title
2017-06-29 16:07:46 +02:00
Simon Lehericey
603e2dd020
ProcedureOverview: reboot model and layout
2017-06-29 16:07:46 +02:00
Simon Lehericey
689d0c2dd7
ProcedureOverview: add layout
2017-06-29 16:07:46 +02:00
Simon Lehericey
26afa24e49
[ Fix #512 ] Crisp: add crisp to homepage
2017-06-29 14:35:24 +02:00
Simon Lehericey
ee415c4aa6
[ FIX #509 ] add dossier id tag in attestation template
2017-06-28 10:59:14 +02:00
gregoirenovel
aeeb0dd22f
[ Fix #170 ] Keep drop down menu values for annot. privées when cloning
2017-06-27 14:31:33 +02:00
gregoirenovel
556359cd05
[ Fix #318 ] Add annotations privées to exported files
2017-06-27 14:27:02 +02:00
gregoirenovel
bb57002eff
[ Fix #352 ] Downcase admin emails when transferring a procedure
...
See config/initializers/devise.rb:L44
config.case_insensitive_keys = [ :email ]
We therefore need to downcase the email before
looking for an admin by its email address
2017-06-27 14:25:56 +02:00
gregoirenovel
cf5398fe99
Record published_at when publishing a procedure
2017-06-27 13:55:17 +02:00
Simon Lehericey
3d99407495
[ Fix #499 ] Attestation: add maxlength to footer
2017-06-27 13:35:01 +02:00
Simon Lehericey
81984d2883
Attestation: remove misleading footer placeholder
2017-06-27 13:34:49 +02:00
Simon Lehericey
c16c19f8e6
[ Fix #499 ] Attestation: footer is now an text_field instead of a text_area
2017-06-27 13:14:47 +02:00
Simon Lehericey
84e3d8fbe0
Attestation_template: use etablissement inline_adresse
2017-06-27 11:15:25 +02:00
Simon Lehericey
d69d0f8a78
Etablissement: add inline_adresse
2017-06-27 11:15:25 +02:00
gregoirenovel
0e3ebfd819
[ Fix #183 ] Display “oui” or “non” instead of “true” or “false”
2017-06-26 14:53:38 +02:00
gregoirenovel
96dd853dbb
[ Fix #396 ] Don’t submit the publish form after a transfer
2017-06-26 10:51:28 +02:00
gregoirenovel
ed51c77895
Correctly display the success message when transfer was successful
2017-06-26 10:51:28 +02:00
gregoirenovel
12f61b490a
Reformat transfer.js.erb
2017-06-26 10:51:28 +02:00
gregoirenovel
0ea29d131f
Refactor Admin::ProceduresController#transfer
2017-06-26 10:51:28 +02:00
gregoirenovel
a3e3284c5d
Fix a spelling mistake
2017-06-26 10:51:27 +02:00
gregoirenovel
8d9ca18406
Improve spacing in _model_transfer.html.haml
2017-06-26 10:51:27 +02:00
gregoirenovel
0e3f431d7d
Fix indentation in _modal_transfer.html.haml
2017-06-26 10:51:26 +02:00
gregoirenovel
bd2fcebf95
Change a silly title
2017-06-26 10:51:26 +02:00
gregoirenovel
469f0aed4b
[ Fix #440 ] Show the current month only if logged in as superadmin
2017-06-26 10:50:31 +02:00
gregoirenovel
ba5d816ce6
[ Fix #176 ] Delete useless new_assignement email
2017-06-26 10:49:42 +02:00
gregoirenovel
3d11a35da8
Remove some commented code
2017-06-26 10:49:02 +02:00
Mathieu Magnin
3f90e82d09
[ Fix #327 ] flashes messages can deal with Arrays
2017-06-21 18:08:05 +02:00
Mathieu Magnin
8d008a51d0
[ fix #474 ] display devise errors with flashes
2017-06-21 18:07:58 +02:00
Mathieu Magnin
ac5c00c26f
[ fix #452 ] redesign sign up form
2017-06-21 17:38:38 +02:00
Mathieu Magnin
6777b51331
rename login css to auth, since it will also be used by sign up
2017-06-21 17:38:34 +02:00
Mathieu Magnin
f1ab350897
fix turbolinks bug when switching between layouts
2017-06-20 17:34:48 +02:00
Mathieu Magnin
250b858128
json style for hashes
2017-06-20 17:31:58 +02:00
Mathieu Magnin
e51d8965a2
[ Fix #468 ] fix demo login
2017-06-20 17:05:05 +02:00
Mathieu Magnin
482002fe79
Avis sign up should use generic layout
2017-06-20 13:56:49 +02:00
Mathieu Magnin
3f20d6fb9d
login should use generic two columns layout
2017-06-20 11:42:54 +02:00
Mathieu Magnin
3388dc0e1f
Create generic two-columns layout
2017-06-20 11:13:24 +02:00
Mathieu Magnin
a69915d8b5
standardize form title
2017-06-20 10:24:53 +02:00
Mathieu Magnin
f74462d826
Use generic css for avis_sign_up
2017-06-20 10:03:49 +02:00
Mathieu Magnin
2e795fb2a5
single quote => double quotes
2017-06-20 09:51:18 +02:00
Mathieu Magnin
c944088076
Add procedure overview on login
2017-06-19 18:21:15 +02:00
Mathieu Magnin
8b9eda0f43
No login link on header on login page
2017-06-19 18:21:15 +02:00
Mathieu Magnin
fb5c7e7d23
Make login responsive
2017-06-19 18:21:15 +02:00
Mathieu Magnin
b68a8b37e8
Redesign the login form
2017-06-19 18:21:15 +02:00
Mathieu Magnin
a82994f00f
Add inputs & labels to patron
2017-06-19 18:21:15 +02:00
Mathieu Magnin
765be88d6d
Add expand button on patron
2017-06-19 18:21:15 +02:00
Mathieu Magnin
90a643d4fb
Add /patron page 🎨
2017-06-19 18:21:15 +02:00
Mathieu Magnin
624fb13964
Buttons style
2017-06-19 18:21:15 +02:00
Mathieu Magnin
0bed3ae956
Use new layout for login
2017-06-19 18:21:14 +02:00
gregoirenovel
d0b927857a
Add stats for encart motivation
2017-06-19 18:01:59 +02:00
gregoirenovel
19696da736
Add StatsController#percentage
2017-06-19 18:01:57 +02:00
gregoirenovel
14823560a1
Expose the motivation on exported files
2017-06-19 15:01:14 +02:00
gregoirenovel
ce2def9c40
Expose the motivation on the API
2017-06-19 15:01:14 +02:00
Simon Lehericey
dd441ff0c7
Attestation: fix mail attachment when the files are remotely stored
2017-06-19 13:47:32 +02:00
Simon Lehericey
523df76ecb
Attestation: fix attestation_template_admin_link
2017-06-16 15:44:40 +02:00
Simon Lehericey
5c70d38a23
Attestation: fix missing_attachment
2017-06-16 14:47:44 +02:00
Simon Lehericey
e60ce35ae8
[ Fix #196 ] Attestation: join the attestation to the closed mail
...
Add a upper limit to the attachment size as it could be a problem with Mailjet and receiver
(https://www.mailjet.com/support/what-is-the-size-limit-for-attachments-files-sent-via-mailjet,289.htm )
If the attestation cannot be sent, it is logged in sentry
2017-06-16 12:11:10 +02:00
Simon Lehericey
b664709c3d
[ Fix #196 ] Attestation: allow vizualisation after the procedure is published
2017-06-16 12:11:10 +02:00
Simon Lehericey
671a0575ce
[ Fix #196 ] Recapitulatif: user can download its attestation
2017-06-16 12:11:10 +02:00
Simon Lehericey
602527a09d
[ Fix #196 ] Attestation: building logic from template
2017-06-16 12:11:09 +02:00
Simon Lehericey
b443b5cefd
[ Fix #196 ] Dossier: add Attestation
2017-06-16 12:11:09 +02:00
Simon Lehericey
c0facbf679
[ Fix #196 ] AttestionTemplate: add preview
2017-06-16 12:11:09 +02:00
Simon Lehericey
fdb4d15bcf
[ Fix #196 ] AttestationTemplate: add edition
2017-06-16 12:11:09 +02:00
Simon Lehericey
d7ff3d6139
[ Fix #196 ] AttestationTemplate: add model
2017-06-16 11:35:13 +02:00
gregoirenovel
b64c6d8817
Add a separator before the “Reouvrir” button
2017-06-13 15:14:51 +02:00
gregoirenovel
12d74be668
Refactor Backoffice::DossiersController#process_dossier
2017-06-13 15:14:51 +02:00
gregoirenovel
0120995533
[ Fix #197 ] Add the TAG_MOTIVATION email tag
2017-06-13 15:14:50 +02:00
gregoirenovel
b58c02180c
[ Fix #197 ] Allow a gestionnaire to add a motivation
2017-06-13 15:14:50 +02:00
gregoirenovel
88267a990d
[ Fix #197 ] Show the motivation on a dossier’s details
2017-06-13 15:14:48 +02:00
gregoirenovel
33944e343a
Add Backoffice::DossiersController#process_dossier and use it
2017-06-13 15:05:09 +02:00
gregoirenovel
d248afc376
Enable the Layout/ExtraSpacing cop
2017-06-13 10:35:35 +02:00
gregoirenovel
f1d66e40c3
Enable the Layout/EmptyLinesAroundModuleBody cop
2017-06-13 10:35:34 +02:00
gregoirenovel
82eb66cfe8
Enable the Layout/EmptyLinesAroundMethodBody cop
2017-06-13 10:35:33 +02:00
gregoirenovel
24e7537c49
Enable the Layout/EmptyLinesAroundClassBody cop
2017-06-13 10:35:32 +02:00
gregoirenovel
f1907f4d0e
Enable the Layout/EmptyLinesAroundBlockBody cop
2017-06-13 10:35:23 +02:00
gregoirenovel
aac75106ef
Enable the Layout/EmptyLinesAroundAccessModifier cop
2017-06-13 10:35:21 +02:00
gregoirenovel
f496f1adab
Enable the Layout/EmptyLines cop
2017-06-13 10:35:20 +02:00
gregoirenovel
ff1f679c7b
Enable the Layout/EmptyLineBetweenDefs cop
2017-06-13 10:35:20 +02:00
gregoirenovel
f2cf32a15c
Enable the Layout/CommentIndentation cop
2017-06-13 10:35:19 +02:00
gregoirenovel
1b78a8e957
Enable the Layout/CaseIndentation cop
2017-06-13 10:35:19 +02:00
gregoirenovel
bc16027ccc
Enable the Layout/BlockEndNewline cop
2017-06-13 10:35:19 +02:00
gregoirenovel
9439e1abb1
Enable the Layout/AlignParameters cop
2017-06-13 10:35:16 +02:00
gregoirenovel
50fad54538
Enable the Layout/AlignArray cop
2017-06-13 10:35:15 +02:00
gregoirenovel
38e8908986
Fix the colors of the graphs on the Stats page
2017-06-13 10:13:20 +02:00
gregoirenovel
3f44b963c8
Fix the wording of the initiated email’s subject
2017-06-12 16:17:07 +02:00
Mathieu Magnin
b9522ce404
[ Fix #376 ] Before save format champ date to ISO
2017-06-12 14:05:31 +02:00
Mathieu Magnin
41a5ed59f3
[ Fix #376 ] Force every browser to use native input[type=date] on date champ
2017-06-12 14:05:31 +02:00
Mathieu Magnin
2653862fa7
Add a placeholder to help IE users to fill the date input with the right format
2017-06-12 14:05:31 +02:00
Mathieu Magnin
95481e7b85
Move date input in a partial
2017-06-12 14:05:31 +02:00
gregoirenovel
96532cea6d
[ Fix #388 ] In avis email, redirect a signed out gest. to the dossier
2017-06-12 11:03:02 +02:00
gregoirenovel
8968675cfb
[ Fix #388 ] In avis email, redirect a signed in gest. to the dossier
...
Instead to the sign in page
2017-06-12 10:54:01 +02:00
gregoirenovel
2a74207d15
you_are_invited_on_dossier -> avis_invitation
...
- shorter
- clearer
2017-06-12 10:53:59 +02:00
gregoirenovel
107c322062
[ Fix #323 ] Refactor received dossier notification: use a callback
2017-06-08 15:06:01 +02:00
gregoirenovel
67d0fb5ddc
Further refactor of AutoArchiveProcedureWorker
...
Call received! so that validation and save
callbacks are called.
Previously, we wouldn’t have update the
received_at date
2017-06-08 15:06:01 +02:00
gregoirenovel
cc95216672
Refactor AutoArchiveProcedureWorker#perform
...
If the loop failed, we wouldn’t update the
archived attribute for procedures for which
the folders were archived.
That would have caused to re-run the task for
procedures for which the task had already been
run.
2017-06-08 15:06:01 +02:00
gregoirenovel
68e734fbb5
Remove a blank line
2017-06-08 15:06:00 +02:00
gregoirenovel
f8673894e2
Stop erasing data when auto-archiving procedures
2017-06-08 15:06:00 +02:00
gregoirenovel
d3f4e0c210
Change the new admin account notification receiver
2017-06-08 15:03:55 +02:00
gregoirenovel
3c83cc3c52
In Avis sign up, fix the numero character and add a non-breaking space
2017-06-08 14:08:43 +02:00
gregoirenovel
220b71abfd
Fix invite guest email
...
- fix typo
- add a missing non-breaking space
2017-06-08 14:06:58 +02:00
gregoirenovel
0b6f5a9603
Remove bold weight on Avis sign up button
2017-06-08 12:24:07 +02:00
gregoirenovel
cb81610e60
Add brackets around arguments
2017-06-08 12:22:50 +02:00
gregoirenovel
23f5582907
Improve a variable name
2017-06-08 12:22:49 +02:00
gregoirenovel
585a5bcaba
Add TEMPLATE_NAME to Mail classes
2017-06-08 12:22:49 +02:00
gregoirenovel
ec69086ebc
Don’t use alias_method_chain, use a proxy method
2017-06-08 12:22:48 +02:00
gregoirenovel
d557906fe9
Remove unused variable in MailTemplatesController#edit
2017-06-08 12:22:47 +02:00
gregoirenovel
07ad7b4c84
mails -> mail_templates
2017-06-08 12:22:46 +02:00
gregoirenovel
07ea0ceea1
Make MailTemplateConcern.slug a constant
2017-06-08 12:22:44 +02:00
gregoirenovel
18d6204980
find_the_right_email -> find_mail_template_by_slug
2017-06-08 12:22:42 +02:00
gregoirenovel
41b3fa62ed
Refactor MailTemplatesController#mails
2017-06-08 12:22:42 +02:00
gregoirenovel
9988444459
Remove useless blank lines
2017-06-08 12:22:40 +02:00
gregoirenovel
e06ddeb168
Make all Mails classes inherit from ApplicationRecord
2017-06-08 12:22:38 +02:00
gregoirenovel
5a59115df4
Refactor the TAGS management in MailTemplateConcern
2017-06-08 12:22:36 +02:00
gregoirenovel
ba865215af
Use the Chartkick colors option
2017-06-07 14:53:10 +02:00
gregoirenovel
1794da5a30
[ Fix #234 ] Remove dynamic email templates handling code in Procedure
2017-06-07 10:10:15 +02:00
Mathieu Magnin
9d323fd387
Click on Demander une démo, opens a new tab
2017-06-02 15:38:24 +02:00
Mathieu Magnin
8b92b44ab0
Track ask demo click on home page
2017-06-02 10:05:00 +02:00
gregoirenovel
d5023a3d38
Use the same order for constants and scopes in Dossier
2017-06-01 11:08:26 +02:00
gregoirenovel
0971ede57e
Add a termine scope to Dossier
2017-06-01 11:08:00 +02:00
gregoirenovel
68da2ecbae
Use symbols instead of strings in for the order arg in scopes
2017-06-01 11:07:30 +02:00
gregoirenovel
8fb6a41386
Remove an unused argument in some Dossier scopes
2017-06-01 11:07:04 +02:00
gregoirenovel
e0a3a48f76
Improve the formatting of Dossier scopes
2017-06-01 11:05:51 +02:00
gregoirenovel
ddac4bbfdb
Change the order in the all_state scope for consistency
2017-06-01 10:58:09 +02:00
gregoirenovel
7055aec634
Add some more state scopes and use them
2017-06-01 10:58:09 +02:00
gregoirenovel
9c2c0346b6
[ Fix #125 ] Transform some Dossier class methods into scopes
2017-06-01 10:58:08 +02:00
gregoirenovel
ab1c19c09b
Rename some Dossier scopes
2017-06-01 10:58:08 +02:00
gregoirenovel
51dd6df1c0
Improve the formatting of the Dossier state enum
2017-06-01 10:58:08 +02:00
gregoirenovel
1816aef7d0
Group the Dossier scopes and move them at the top
2017-06-01 10:58:07 +02:00
gregoirenovel
6731f28e23
Move the state constants below the state enum
2017-06-01 10:58:07 +02:00
Mathieu Magnin
8e9144f565
[ Fix #378 ] Remove redirect based on referrer
2017-06-01 10:36:36 +02:00
Mathieu Magnin
d2d2c78461
Remove unused code
2017-06-01 10:36:36 +02:00
Mathieu Magnin
705a3f3e1b
Fix cache bug on stats page
2017-06-01 09:44:22 +02:00
Simon Lehericey
c185f60dd2
Avis: ugly workaround for #375
2017-05-31 16:44:06 +02:00
Simon Lehericey
9e6098dc09
Add the weekly avis answer percentage to Stats
2017-05-31 14:24:33 +02:00
Mathieu Magnin
068b635b7c
Add the weekly avis answer time average to Stats
2017-05-31 14:24:32 +02:00
Simon Lehericey
b5f1b898c7
Add the weekly avis usage to Stats
2017-05-31 13:31:19 +02:00
gregoirenovel
9268da8236
Refactor Procedure#switch_list_order
2017-05-30 15:54:49 +02:00
gregoirenovel
d54fe12a9c
Remove inconsistent and useless blank lines in controllers
2017-05-30 15:54:49 +02:00
gregoirenovel
04845efdfc
Remove inconsistent and useless blank lines in models
2017-05-30 15:53:19 +02:00
gregoirenovel
d47e8b3702
Reformat Notification correctly
2017-05-30 15:53:19 +02:00
gregoirenovel
9f6edc5d1e
Format the TypeDeChamp type_champs enum correctly
2017-05-30 15:52:29 +02:00
gregoirenovel
843bb9fd2c
Format the User loged_in_with_france_connect enum correctly
2017-05-30 15:52:28 +02:00
gregoirenovel
258a80b0d7
Use the Procedure not_archived scope
2017-05-30 15:52:28 +02:00
gregoirenovel
9d478609d0
Move the Procedure scopes at the top
2017-05-30 15:52:28 +02:00
gregoirenovel
4655707eb5
[ Fix #319 ] Include archived dossiers in the export
2017-05-30 15:41:35 +02:00
gregoirenovel
5253f07b69
Use the order_by_updated_at scope in Dossier
2017-05-30 15:41:35 +02:00
gregoirenovel
7eed44d430
Use the not_archived scope in Dossier
2017-05-30 15:41:35 +02:00
gregoirenovel
f2fe06e86f
Add the not_brouillon scope on Dossier
2017-05-30 15:41:35 +02:00
Mathieu Magnin
69a5857322
[ Fix #264 ] Add pie chart to count administrations
2017-05-30 15:36:21 +02:00
Simon Lehericey
ae8b126594
ProcedureOverview: use procedure_url to link with absolute path in email
2017-05-30 15:03:51 +02:00
gregoirenovel
9585142468
Group the cumulative and monthly charts
2017-05-30 12:05:28 +02:00
gregoirenovel
3215411547
Delete the 30 days flows graphs
2017-05-30 12:05:28 +02:00
gregoirenovel
58aa94359c
On the Stats page, move the total numbers at the top of the page
2017-05-30 12:05:27 +02:00
gregoirenovel
e19fb43f01
Only show the mean charts to logged in users
2017-05-30 12:05:27 +02:00
gregoirenovel
e242c5d742
Add caching to the Stats page
2017-05-30 12:05:27 +02:00
gregoirenovel
711f21c458
[ Fix #264 ] Add the mean filling time graph to Stats
2017-05-30 12:05:27 +02:00
gregoirenovel
faa547e891
[ Fix #264 ] Add the mean instruction time graph to Stats
2017-05-30 12:05:27 +02:00
gregoirenovel
ed7ba60cf0
[ Fix #264 ] Add the last 4 months evolution graphs to Stats
2017-05-30 12:05:26 +02:00
gregoirenovel
f82533be19
Use the new_application layout for the Stats page
2017-05-29 15:46:54 +02:00
gregoirenovel
627ce150a7
Capture the Chartkick JS and yield it in the layout
...
So that we can include all the JS at the bottom of
the page without error
2017-05-29 15:46:54 +02:00
Simon Lehericey
7ac6c81154
AdminProceduresInfoHaml: remove localtime to date
2017-05-29 13:53:14 +02:00
Simon Lehericey
64f7cab3cf
Avis: add claimant gestionnaire to track who asks for an avis
2017-05-29 11:44:28 +02:00
Simon Lehericey
23e57f5cc4
Navbar: add deprecation warning for invitations
2017-05-29 11:44:28 +02:00
Simon Lehericey
cdcd5b951f
AvisController: add a notification when a avis has been received
2017-05-29 11:44:28 +02:00
Simon Lehericey
34a7905828
DossierController: giving an advice does not remove the notifications
2017-05-29 11:44:28 +02:00
Simon Lehericey
3483ec075b
DossierController: extract dossier_id from params[:id]
2017-05-29 11:44:28 +02:00
Mathieu Magnin
612a8c4b91
Confirm with flash after avis is sent
2017-05-29 11:44:28 +02:00
Simon Lehericey
f9aee06040
AvisController: add redirection logic for various login cases
2017-05-29 11:44:28 +02:00
Simon Lehericey
516a8c28c5
Avis: change invitation mail when the recipient is not tps
2017-05-29 11:44:28 +02:00
Simon Lehericey
842999d229
Avis: add create_gestionnaire logic
2017-05-29 11:44:28 +02:00
Simon Lehericey
aaf155df72
Avis: add sign_up logic for new tps gestionnaire
2017-05-29 11:44:28 +02:00
Mathieu Magnin
4e064dbaed
Add a method to link multiple avis to a gestionnaire by his email
2017-05-29 11:44:28 +02:00
Mathieu Magnin
efdac753c6
When an Avis is created an email is sent to the Gestionnaire
2017-05-29 11:44:28 +02:00
Simon Lehericey
f6359cb7aa
gestionnaire invited on dossier for avis, can update Avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
f24e4a77d3
Gestionnaire can view dossier if he is invited on dossier
2017-05-29 11:44:28 +02:00
Mathieu Magnin
d07943a55d
Add by_latest scope in Avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
7c662aa7b2
Gestionnaire invited on dossier for avis, cannot see private form / change dossier state / follow dossier / see invited people / see others avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
43f481b7ff
Gestionnaire can list dossiers where he is invited for avis
2017-05-29 11:44:28 +02:00
Mathieu Magnin
e831442cbd
Associate gestionnaire to avis if gestionnaire is known
2017-05-29 11:44:28 +02:00
Mathieu Magnin
c3bf15d49f
Create and list Avis on Dossier detail page
2017-05-29 11:44:28 +02:00
Mathieu Magnin
72494de76f
Create new model Avis
2017-05-29 11:44:28 +02:00
Simon Lehericey
5cc4862983
[ Fix #349 ] NewHeader: the logo is a link to root_path
2017-05-29 11:35:29 +02:00
Simon Lehericey
b48549d765
WeeklyOverviewWorker: add feature flip on worker
...
The main objective is to avoid batch mail sent in staging
2017-05-23 17:12:18 +02:00
Simon Lehericey
5a794a8b9a
GestionnaireMailer: add mailjet campaign tag
2017-05-23 17:12:18 +02:00
Simon Lehericey
c4c2dc78a2
WeeklyOverviewWorker: add worker to send the week overview
2017-05-23 17:12:18 +02:00
Simon Lehericey
8dabdcc6c4
GestionnaireMailer: add a last week report
2017-05-23 17:12:18 +02:00
Simon Lehericey
e630548110
Gestionnaire: add last_week_overview method
2017-05-23 17:12:18 +02:00
Simon Lehericey
e7d39ca650
ProcedureOverview: add object to contain overview logic
2017-05-23 17:12:18 +02:00
Simon Lehericey
f1b923e30f
ApiControllers: remove useless meta data
2017-05-23 10:46:37 +02:00
Simon Lehericey
b30cb34fa2
LeftPanelBackofficeDossier: fix a typo
2017-05-22 17:58:12 +02:00
gregoirenovel
ca1a61cd7f
Remove an extra character in welcome_email.text.erb
2017-05-22 17:24:44 +02:00
Mathieu Magnin
8af72f7b9a
Isolate new design stylesheets
2017-05-17 18:06:53 +02:00
Mathieu Magnin
14bfda2e26
[ Fix #251 ] Fix landing page design on mobile (and add responsive)
2017-05-17 18:06:46 +02:00
Simon Lehericey
a213032f28
Refactor: use select block to select stuff
2017-05-17 11:18:01 +02:00
gregoirenovel
cd19c17df5
mail -> email
2017-05-16 15:10:44 +02:00
gregoirenovel
e6f866d99e
Do not use the email address in emails
2017-05-16 15:10:44 +02:00
gregoirenovel
536591078e
In emails, add a comma after the salutation phrase
2017-05-16 15:10:44 +02:00
gregoirenovel
ae7cea369d
Move the “please do not reply” message below the signature
2017-05-16 15:10:44 +02:00
gregoirenovel
b77c63605a
Add a signature to the emails which don’t have one
2017-05-16 15:10:44 +02:00
gregoirenovel
2796eea39a
Improve the formatting of reset_password_instructions.html.erb
2017-05-16 15:10:44 +02:00
gregoirenovel
2984c495e6
Add a parting phrase to emails which don’t have one
2017-05-16 15:10:44 +02:00
gregoirenovel
d8c5db4ac5
End the email parting phrase with a comma
2017-05-16 15:10:44 +02:00
gregoirenovel
d5fce6f7b6
Remove the 3 dashes from the emails signature
2017-05-16 15:10:44 +02:00
Simon Lehericey
df731cb895
Fix localtime on date object
2017-05-16 14:40:44 +02:00
Simon Lehericey
8d6838e8ed
Mailjet: fix https errors
2017-05-16 13:44:07 +02:00
Simon Lehericey
f2d9953e59
Fix #295 : mailjet script should be in https
2017-05-16 10:27:10 +02:00
Mathieu Magnin
9bec2e9536
Fix #281 Remove unreadable tooltip on procedure libelle
2017-05-15 16:55:24 +02:00
gregoirenovel
a58a8684d9
[ Fix #285 ] Gestionnaire.dossiers_follow -> followed_dossiers
2017-05-15 15:51:51 +02:00
gregoirenovel
f67aa63766
[ Fix #285 ] Use a has_many through for Gestionnaire#dossiers_follow
2017-05-15 15:51:51 +02:00
Mathieu Magnin
ac1782256a
Fix #282 use disable_with to avoid sending same message twice
2017-05-12 17:34:20 +02:00
gregoirenovel
8ba55a0d5d
Mutualize the email address in a localised string
2017-05-12 16:53:03 +02:00
gregoirenovel
8a5420301c
Add Commentaire#notify to dispatch notifications
2017-05-12 16:31:03 +02:00
gregoirenovel
1235fce34a
Refactor Commentaire#notify_user
2017-05-12 16:31:02 +02:00
gregoirenovel
c07b83b266
Commentaire#notify_user_with_mail -> #notify_user
2017-05-12 16:31:02 +02:00
gregoirenovel
9c3cde2b2e
Move CommentairesController#notify_user_user_with_mail to Commentaire
2017-05-12 16:31:02 +02:00
gregoirenovel
cae3e1f420
Commentaire#internal_notification => #notify_gestionnaires
2017-05-12 16:31:02 +02:00
Mathieu Magnin
58abd9eaf1
Fix #276 Rewrite #dossiers_with_notifications_count_for_procedure and add tests
2017-05-12 15:42:33 +02:00
Mathieu Magnin
8f5fdfa81f
Rename dossier_with_notification_for
2017-05-12 15:42:33 +02:00
gregoirenovel
70f637f088
[ Fix #198 ] Add a Commentaire when we send a Notification email to a user
2017-05-12 14:03:48 +02:00
gregoirenovel
09ba66dc41
[ Fix #274 ] Change the email signatures
...
- Equide -> Equipe
- TPS -> Téléprocédures simplifiées
- Remove the email address
2017-05-12 13:51:01 +02:00
gregoirenovel
84ae1a0c0b
Change the email address we send emails with
...
Also add a display name, so that we don't show
just a dumb email address
2017-05-12 13:50:42 +02:00
gregoirenovel
e14d1a6c15
Remove useless from parameter in mailers
...
We already defined a default one in
ApplicationMailer
2017-05-12 13:50:41 +02:00
Mathieu Magnin
e5ac555a41
fix #245 it should only count dossiers with notifications on followed dossiers
2017-05-12 10:13:51 +02:00
Simon Lehericey
cebb197994
Fix #171 : add localtime to a bunch of date
2017-05-11 15:10:49 +02:00
Simon Lehericey
07dfec9236
Clean: remove dead code
2017-05-11 12:45:01 +02:00
Simon Lehericey
a312628383
Newsletter: add mailjet widget
2017-05-11 10:11:40 +02:00
Simon Lehericey
c6fd3045e4
Fix #261 : add link to return to dossier list.
2017-05-10 16:24:21 +02:00
Mathieu Magnin
054afb40a4
[ Fix #50 , fix #239 ] Install chartkick the right way
2017-05-10 09:28:13 +02:00
gregoirenovel
c6d0ea76bb
[ Fix #174 ] Make .default-data-block header titles take the full width
2017-05-09 14:36:33 +02:00
gregoirenovel
1a5f9fd067
[ Fix #105 ] Show the pieces justificative’ descriptions
2017-05-09 12:47:21 +02:00
Simon Lehericey
5d915ada88
Css: add border on header and footer
...
Remove headers border on homepage
2017-05-09 12:38:57 +02:00
Simon Lehericey
9f1217c843
FlashMessage: center flash message
...
otherwise the #flash_message.center is useless
2017-05-09 12:28:27 +02:00
Simon Lehericey
029186fdf7
Css: fix color import
2017-05-09 12:18:52 +02:00
Simon Lehericey
bf68814f7a
Css: add alert css to new style
2017-05-09 11:59:21 +02:00
Simon Lehericey
2668b036b4
Css: add center class in new style
2017-05-05 14:59:00 +02:00
Simon Lehericey
a26965f41b
Cable: remove useless js logic
2017-05-05 14:37:59 +02:00
Simon Lehericey
9d16c0365a
Notification: remove useless notification system
2017-05-05 14:08:36 +02:00
gregoirenovel
02a8cf3fe1
Use the initialisation date for the cumulative dossiers
...
We want to show when dossiers were published, not
created
2017-05-05 12:03:54 +02:00
gregoirenovel
06714b5fc3
Add a date_attribute argument to StatsController#cumulative_hash
2017-05-05 12:03:53 +02:00
gregoirenovel
dbf891b333
Use the initialisation date for the dossiers 30 days flow
...
We want to show when dossiers were published, not
created
2017-05-05 12:03:53 +02:00
gregoirenovel
c7999b9691
Add a date_attribute argument to StatsController#thirty_days_flow
2017-05-05 12:03:53 +02:00
Simon Lehericey
dc371b83b8
CSS: add new application layout + CSS
...
Without bootstrap!
2017-05-04 18:24:57 +02:00
Simon Lehericey
aee17c5b19
CSS: CSS filenames should not contain dashes
2017-05-04 18:24:39 +02:00
Simon Lehericey
e7383c7c85
CSS: add Meyer's reset.scss
2017-05-04 18:24:14 +02:00
Simon Lehericey
38dcf5c74d
Application.scss: replace require_tree by explicit import
...
Change needed for futur new_application.scss and corresponding style
2017-05-04 18:23:55 +02:00
gregoirenovel
6b25d25a9a
The correct app name is “Téléprocédures Simplifiées”
2017-05-04 18:19:13 +02:00
gregoirenovel
9a0df71887
Change the link to a linked dossier depending on the user profile
2017-05-04 17:20:18 +02:00
gregoirenovel
849ab5191a
[ Fix #204 ] Add the date_de_decision tag in relevant email templates
2017-05-04 16:17:59 +02:00
gregoirenovel
2582b44f07
[ Fix #204 ] Add the date_de_decision tag
2017-05-04 16:17:53 +02:00
gregoirenovel
3bd5e32dff
Add a system to restrain the email templates tags to specific templates
2017-05-04 16:17:39 +02:00
gregoirenovel
30cf475485
Add missing brackets in mail_template_concern.rb
2017-05-04 16:17:39 +02:00
gregoirenovel
43ae28de87
Make the email templates tags table occupy the whole width available
...
It improves the content formatting (no more ugly
line breaks splitting a tag on several lines)
2017-05-04 16:17:38 +02:00
gregoirenovel
f389bbeb53
Fix indentation in mail_template_concern.rb
2017-05-04 16:17:38 +02:00
gregoirenovel
f3343f593f
Fix some spelling mistakes
2017-05-04 16:15:51 +02:00
gregoirenovel
53e5416627
Remove an unused file
2017-05-04 16:01:41 +02:00
gregoirenovel
402f44c5fd
Champs privés -> Annotations privées
2017-05-04 11:35:23 +02:00
gregoirenovel
77dae0462b
Utilisateur -> Usager
2017-05-04 11:35:23 +02:00
gregoirenovel
4303dcef2c
Organisation -> Organisme
2017-05-04 11:35:22 +02:00
gregoirenovel
d3a84eb20a
Démarche -> Procédure
2017-05-04 11:33:26 +02:00
gregoirenovel
988947696e
[ Fix #161 ] Remove incorrect commas from Dossier#text_summary
2017-05-04 11:25:33 +02:00
Mathieu Magnin
b6e1526f89
Fix #239 , (refresh is needed to load charts)
2017-05-03 18:48:27 +02:00
gregoirenovel
eff9e556e9
[ Fix #162 ] Deny dossier access for an unauthorized accompagnateur
2017-05-03 10:28:29 +02:00
gregoirenovel
f310f672b6
Extract class attributes from HAML tag attributes
2017-04-26 17:22:31 +02:00
gregoirenovel
7ddcb9aedc
Extract id attributes from HAML tag attributes
2017-04-26 17:22:30 +02:00
gregoirenovel
51daa2f498
Use implicit div tags instead of explicit
2017-04-26 17:01:45 +02:00
Mathieu Magnin
6ef6a66c3f
Remove @facade_data_view from left_panel view
2017-04-26 16:55:22 +02:00
gregoirenovel
f58a626648
[ Fix #99 ] Improve the info message in _dossier_link.html.haml
2017-04-26 16:47:38 +02:00
gregoirenovel
a6d3ea8536
[ Fix #133 ] Improve the linked dossier informations displayed
2017-04-26 15:59:18 +02:00
gregoirenovel
f5c5ad532d
Add Dossier#text_summary
2017-04-26 15:59:17 +02:00
gregoirenovel
7173d359d4
[ Fix #132 ] Show the dossier link in the dossier detail for Users
...
There’s no reason why they couldn’t easily
navigate to it
Also improve the typography of a placeholder
message
2017-04-26 11:57:36 +02:00
gregoirenovel
8deef8e8e3
[ Fix #137 ] Change the dossier link placeholder
...
Otherwise we don’t know what to enter (words,
numbers…)
2017-04-26 11:46:39 +02:00
gregoirenovel
14b7badfed
Eager-load the dossier’s procedure when possible
2017-04-26 09:53:10 +02:00
gregoirenovel
6bb67d639c
Use lowercase letters and dashes for CSS classes
...
As enforced by scss-lint
2017-04-25 15:59:03 +02:00
gregoirenovel
8bea7cb610
Fix a typographic mistake in _dossier_link.html.haml
...
Sentences should start with an uppercase letter
2017-04-25 15:59:03 +02:00
gregoirenovel
f8cb34a393
Add some spacing in _dossier_link.html.haml
2017-04-25 15:59:03 +02:00
Mathieu Magnin
887512c26c
Procedure path can contain dashes and can be longer
2017-04-21 16:32:48 +02:00
gregoirenovel
595ea9bb37
Add a “Call Us” CTA on the landing page
2017-04-21 14:57:54 +02:00
gregoirenovel
03761c1136
Change the testimonials’ order
2017-04-21 14:57:54 +02:00
Mathieu Magnin
757af12d42
Add invites to API
2017-04-21 14:51:35 +02:00
Mathieu Magnin
40d897f538
Add accompagnateurs emails in API
2017-04-21 14:51:35 +02:00
Mathieu Magnin
bf67b3f7ad
Add dossier workflow dates to the API
2017-04-21 14:51:35 +02:00
Mathieu Magnin
822c7cdd96
Add human version translation for state
2017-04-21 14:51:35 +02:00
Mathieu Magnin
d87989622c
Remove useless code
2017-04-21 14:51:34 +02:00
Mathieu Magnin
762a11fc6f
Define .termine as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
320ff4839f
Define .en_instruction as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
7a9fd77af0
Remove archived=false filter from en_construction scope (Fix : archived dossier is not shown to user)
2017-04-21 14:36:50 +02:00
Mathieu Magnin
688a3d8f31
Define .brouillon as a scope and remove archived=false filter
2017-04-21 14:36:50 +02:00
Mathieu Magnin
21a2a5402b
Remove unused service
2017-04-21 14:36:50 +02:00
Mathieu Magnin
1a628dc42c
Remove DossierListFacade dependency
2017-04-21 14:36:50 +02:00
gregoirenovel
0ddd7ae639
Add the “CTA” part of the landing page
2017-04-20 12:38:00 +02:00
gregoirenovel
663b556766
Add the “Users” part of the landing page
2017-04-20 12:38:00 +02:00
gregoirenovel
f604ccb7d6
Add the “Numbers” part of the landing page
2017-04-20 12:37:59 +02:00
gregoirenovel
4b2baa25b7
Add the “Testimonials” part of the landing page
2017-04-20 12:37:58 +02:00
gregoirenovel
58a7f399c0
Add the “Features” part of the landing page
2017-04-20 12:18:18 +02:00
gregoirenovel
663cd18364
Change the landing page, add the “Hero” part
2017-04-20 12:18:17 +02:00
gregoirenovel
e504531ca0
Use the new_application layout for the landing page
2017-04-20 12:18:16 +02:00
gregoirenovel
f9b4469660
Add the new footer
2017-04-20 12:18:16 +02:00
gregoirenovel
336e6120a6
Add the new header
2017-04-20 12:18:16 +02:00
gregoirenovel
e605be9246
Add the new_application layout
2017-04-20 12:18:15 +02:00