Commit graph

2137 commits

Author SHA1 Message Date
gregoirenovel
cf125e9514 Add to the rubocop config a comprehensive list of cops 2017-06-13 10:35:15 +02:00
gregoirenovel
4e0d0100a2 rubocop.yml -> .rubocop.yml 2017-06-13 10:35:15 +02:00
gregoirenovel
4718d88f98 Bump rubocop 2017-06-13 10:35:15 +02:00
gregoirenovel
22f5b1a49b Merge pull request #423 from sgmap/stats-colors
Fix the colors of the graphs on the Stats page
2017-06-13 10:14:36 +02:00
gregoirenovel
38e8908986 Fix the colors of the graphs on the Stats page 2017-06-13 10:13:20 +02:00
gregoirenovel
944464e7f5 Merge pull request #424 from sgmap/email-wording
Fix the wording of the initiated email’s subject
2017-06-13 10:05:41 +02:00
gregoirenovel
3f44b963c8 Fix the wording of the initiated email’s subject 2017-06-12 16:17:07 +02:00
Mathieu Magnin
b0c0824341 Merge pull request #412 from sgmap/normalize_api_date_format
[Fix #376] Normalize api date format
2017-06-12 14:10:08 +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
689a7257f2 Merge pull request #417 from sgmap/fix-388
Improve the avis email links
2017-06-12 11:32:45 +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
8411a4d6bf Merge pull request #362 from sgmap/fix-323
[Fix #323] Send notification emails when a dossier is automatically received
2017-06-12 10:53:19 +02:00
gregoirenovel
9eb897f721 Fix spacing in auto_archive_procedure_worker_spec.rb 2017-06-08 15:06:01 +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
aaf590362f Merge pull request #405 from sgmap/tech-email
Change the new admin account notification receiver
2017-06-08 15:04:51 +02:00
gregoirenovel
d3f4e0c210 Change the new admin account notification receiver 2017-06-08 15:03:55 +02:00
gregoirenovel
ddaf66eb22 Merge pull request #409 from sgmap/avis-space
In Avis sign up, fix the numero character and add a non-breaking space
2017-06-08 15:03:06 +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
15fb867e4f Merge pull request #406 from sgmap/fix-invite-email
Fix invite guest email
2017-06-08 14:07:34 +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
0abbc1c9e5 Merge pull request #408 from sgmap/fix-button
Remove bold weight on Avis sign up button
2017-06-08 12:25:36 +02:00
gregoirenovel
0b6f5a9603 Remove bold weight on Avis sign up button 2017-06-08 12:24:07 +02:00
gregoirenovel
0be32def5c Merge pull request #370 from sgmap/clean-emails
Clean emails
2017-06-08 12:23:08 +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
bc7fc2634e Fix test indentation, name and remove a blank line 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
0a842480c1 Merge pull request #407 from sgmap/chartkick-colors
Use the Chartkick colors option
2017-06-07 16:45:13 +02:00
gregoirenovel
ba865215af Use the Chartkick colors option 2017-06-07 14:53:10 +02:00
gregoirenovel
d21e63d490 Merge pull request #366 from sgmap/fix-234
[Fix #234] Remove dynamic email templates handling code in Procedure
2017-06-07 10:11:17 +02:00
gregoirenovel
1794da5a30 [Fix #234] Remove dynamic email templates handling code in Procedure 2017-06-07 10:10:15 +02:00
Mathieu Magnin
fe31d66665 Merge pull request #387 from sgmap/track_ask_demo_button
Track ask demo click on home page
2017-06-02 15:45:47 +02:00