Commit graph

87 commits

Author SHA1 Message Date
Pierre de La Morinerie
ac9a87f27b config: fix email assets not having the full URL domain prepended
When sending emails, the mailer doesn't have access to the request
host. It needs to infer it by itself.

For this we need two settings:

- action_mailer.default_url_options, to generate urls to routes
- action_mailer.asset_host, to generate full urls to assets

Only the first one of these settings was set in production.

Fix #2518
2018-11-21 12:30:00 +01:00
Pierre de La Morinerie
b94bc654c9 config: remove duplicated line
The line is duplicated above in the same file.
2018-11-06 17:11:09 +01:00
Paul Chavard
ff9e87b88e Use letter opener 2018-10-04 18:21:43 +02:00
Paul Chavard
c66bb056f5 Remove uglifier 2018-09-25 18:26:19 +02:00
Paul Chavard
198547778d Use uglifier with no mungle option in order to fix leaflet in production 2018-09-25 17:47:32 +02:00
Paul Chavard
5dcc74fcbe Stop using staging environement 2018-08-29 11:22:56 +02:00
Paul Chavard
f0b12d0911 [ENV] Add staging environement file 2018-08-23 15:55:32 +02:00
Paul Chavard
3e23ba5a4f [ENV] Add lograge config 2018-08-23 15:55:32 +02:00
Paul Chavard
d2094fbbd1 [ENV] Disable inmemory cache in production 2018-08-23 15:55:32 +02:00
Paul Chavard
c79827d551 [ENV] Configure default_url_options 2018-08-23 15:55:32 +02:00
Paul Chavard
bd574b21f6 [ENV] Mailjet delivery method 2018-08-23 15:55:32 +02:00
Paul Chavard
bf7c023380 Add webpacker and use it for new_design 2018-07-25 15:14:06 +02:00
Pierre de La Morinerie
fa46f7f0d7 config: make assets compilation faster in development 2018-06-19 16:49:14 +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
simon lehericey
46ba728d8a [fix #1913] force ssl and secure cookies 2018-05-09 16:36:01 +02:00
Frederic Merizen
5b9f25271f [Fix #1865] Expose attachment field over API 2018-04-24 20:29:25 +02:00
Paul Chavard
27592ae072 Add simple web hooks to procedures 2018-04-09 11:02:24 +02:00
gregoirenovel
5c25b86c46 Add the ActiveStorage configuration 2018-02-15 11:14:03 +01:00
gregoirenovel
b2f63f7f38 Delete redis and actioncable 2017-10-12 07:21:02 +02:00
Simon Lehericey
a7b00ee847 Rubocop: enable Layout/SpaceAroundOperators 2017-08-28 13:39:13 +02:00
Simon Lehericey
45209619a4 Config: add action_mailer.asset_host var to send image in email 2017-05-23 17:12:18 +02:00
gregoirenovel
f604ccb7d6 Add the “Numbers” part of the landing page 2017-04-20 12:37:59 +02:00
Mathieu Magnin
62152e0b6e After environment.rb updated this should work 2017-02-20 14:11:12 +01:00
Xavier Julien
3c6ae2d005 Merge pull request #14 from sgmap/customizable-emails
Customizable emails
2017-02-13 15:20:04 +01:00
Mathieu Magnin
aea1816da1 add mailcatcher config in dev 2017-01-31 17:22:03 +01:00
Mathieu Magnin
b40193e7b5 New customizable mail : mail_validated, new balise --lien_dossier-- 2017-01-26 12:12:52 +01:00
Mathieu Magnin
29de9b0b55 Simplify mailers development with mailcatcher and previews 2017-01-23 15:41:09 +01:00
Xavier J
f98bb90f08 Bootstrap Action Cable and Unicorn 2016-12-22 21:49:31 +01:00
Xavier J
d7fdf22abb First fixed 2016-11-14 17:33:45 +01:00
Xavier J
a48299353e Fix html interpretation in ReceivedMail 2016-09-01 11:00:06 +02:00
Xavier J
7d0bcfc35f Delete utilisation of "nom_projet" attribut (no delete in database) 2016-07-19 16:10:50 +02:00
Xavier J
4aedf72631 Send email when user create new account 2015-12-15 15:17:12 +01:00
Xavier J
25937b2635 NotificationMailer : new answer 2015-12-15 11:02:07 +01:00
Xavier J
a65f271a60 Add mailer Welcome 2015-12-14 16:09:20 +01:00
Tanguy PATTE
327412fba3 fix datepicker and test it 2015-08-24 11:42:06 +02:00
Tanguy PATTE
3c57643f76 add database cleaner
add factory girl
fix tests
rename dossier_pdf into piece_jointe
rename ref_piece_jointe into content
2015-08-13 15:56:58 +02:00
Xavier J
b5b83e939a First Commit 2015-08-10 11:05:06 +02:00