Tom Hughes
6789fc3081
Drop support for ruby 3.0
...
Also add Ubuntu 24.04 and drop 20.04 as 24.04 is needed for
ruby 3.1 without rvm so we should test it.
2024-09-17 20:39:22 +01:00
Anton Khorev
3a5f0c4845
Move changeset subscribe/unsubscribe to resourceful routes
2024-03-16 06:11:07 +03:00
Andy Allan
a1a6c577e8
Merge pull request #4534 from tomhughes/list-headers
...
Add standard List-XXX headers to some notification mails
2024-02-25 11:36:05 +01:00
Tom Hughes
8f3838fada
Add standard List-XXX headers to some notification messages
2024-02-25 09:48:12 +00:00
Tom Hughes
f0764d3eca
Add unsubscribe link to changeset notification mails
2024-02-25 09:48:11 +00:00
Tom Hughes
4dff06a629
Use rails tokens for signup confirmations
2024-02-24 13:53:05 +00:00
Tom Hughes
ad2739347b
Use rails tokens for email changes
2024-02-24 13:52:35 +00:00
Tom Hughes
b8fad531e4
Use rails tokens for password resets
2024-02-24 13:23:19 +00:00
Anton Khorev
a07df4c67b
Add unsubscribe link to diary comment notification email
2024-02-17 06:16:42 +03:00
Anton Khorev
6931c49825
Link to all user's traces from successful import emails
2024-01-11 17:48:40 +03:00
Anton Khorev
02aa14ffea
Link to trace pages from successful import emails
2024-01-11 17:11:41 +03:00
Andy Allan
1d0f588d62
Use path and url helpers for password links
2023-12-06 18:39:25 +00:00
Tom Hughes
675b89ddb7
Strengthen the tokens used in email reply addresses
2023-11-07 17:52:31 +00:00
Tom Hughes
473d7cd179
Use correct extension and type for avatar images attached to mails
...
Fixes #4147
2023-08-09 11:41:55 +01:00
Andy Allan
9748ce301c
Move browse#note to notes#show
...
This allows a more resourceful routing approach.
2023-02-01 17:13:41 +00:00
Tom Hughes
9cd96bd452
Fix new rubocop warnings
2022-09-09 22:45:58 +01:00
Tom Hughes
e2af9941a8
Fix downloading of image variants
2021-05-19 18:44:41 +01:00
Tom Hughes
cd5d54ce4e
Use image_processing macros to resize images
2021-05-12 18:49:21 +01:00
Andy Allan
094d6c8bb9
Move confirmation methods into ConfirmationsController
2021-04-07 16:05:32 +01:00
Andy Allan
7a66c6d4eb
Split password reset functionality into PasswordsController
2021-04-07 16:05:28 +01:00
Andy Allan
8f157ab2b1
Rename subject translation key, for consistency
2020-11-25 18:28:35 +00:00
Andy Allan
030591e318
Use rails t helper to allow relative translation keys in email subjects
...
This makes it easier to rename methods and translation keys.
2020-11-25 18:28:35 +00:00
Andy Allan
f635b98b8c
Refactor trace notifications to reduce lego translations
...
Fixes #2268 .
Unfortunately there's still a lego translation when both halves of the sentence are joined together, but this at least reduces the number of combinations to translate.
2020-11-18 18:14:55 +00:00
Andy Allan
2c1033f62d
Rename Notifier to UserMailer
...
It's a convention in rails to name your mailers with a Mailer suffix, and is also common to name the class after the recipient (e.g. User, Admin). So UserMailer seems a reasonable choice.
2020-10-14 15:04:58 +02:00
Tom Hughes
75e135869e
Fix Style/ExplicitBlockArgument warnings
2020-08-09 19:06:04 +01:00
Andy Allan
3786366fdc
Rename friend to friendship in notifier
...
Followup to #2269
2020-06-03 18:29:08 +02:00
Andy Allan
8ebfdbc1ff
Move make_friend and remove_friend to friendships controller
2020-06-03 18:23:07 +02:00
Tom Hughes
0f9e28711c
Don't try and resize images that aren't resizable
2020-05-13 11:30:26 +01:00
Tom Hughes
5432cb6db5
Attach resized images to notification emails
...
Fixes #2625
2020-05-13 11:29:02 +01:00
Tom Hughes
6c22bf4b9a
Set X-Entity-Ref-ID header on notification emails
...
This disables threading in gmail completely - without it all
notifications of a given type are grouped together.
2020-01-02 21:45:41 +00:00
mmd-osm
480eaa1b36
Added helper function set_references for mail header
2019-12-30 23:04:15 +01:00
mmd
ffe636e6bd
Add In-Reply-To, References headers to email
...
Closes https://github.com/openstreetmap/openstreetmap-website/issues/2430
2019-12-12 18:25:29 +01:00
Tom Hughes
57f5b7840e
Fix rubocop warnings
2019-12-04 19:31:53 +00:00
Tom Hughes
1f4d48eaf3
Fix some deprecation warnings
2019-11-24 11:05:02 +00:00
Tom Hughes
91a37235ac
Remove support for old style user images
2019-07-16 22:33:26 +01:00
Tom Hughes
6c202448ad
Move user images to Active Storage with paperclip as a fallback
2019-07-09 19:17:30 +01:00
Andy Allan
d102c9aaf4
Move all settings to settings.yml
...
We leave the STATUS setting alone, since it's required before rails
boots. The test-specific settings now live in config/settings/test.yml
2019-03-13 18:06:23 +01:00
Andy Allan
4395b79bf7
Move notifier.rb into app/mailers
...
This is the expected location for mailers
2018-10-31 17:19:18 +01:00