Commit graph

59 commits

Author SHA1 Message Date
John Firebaugh
2690342b08 Reduce welcome email to minimal text
Instead, redirect newly-confirmed users to the welcome
page. If confirmation is not required, redirect immediately
and don't send an email.
2013-08-12 13:34:40 -07:00
Tom Hughes
bd3a7e5f57 Pass the correct locale to Nominatim.describe_location 2013-05-27 18:06:12 +01:00
Tom Hughes
f78c703708 Simplify locale handing in notification emails 2013-05-27 10:53:14 +01:00
Tom Hughes
ea5a19eb4e Use correct locale for note comment notification emails 2013-05-27 10:35:05 +01:00
Tom Hughes
9f5787fd20 Make the notification mails for notes show when a note is resolved 2013-04-29 19:26:03 +01:00
Tom Hughes
ba5107ebb5 Remove the author_name field from notes 2012-12-03 14:50:54 +00:00
Tom Hughes
5fe5777a58 Move caching of reverse geocodes to describe_location 2012-12-01 18:18:10 +00:00
Tom Hughes
7599f98957 Merge branch 'master' into notes
Conflicts:
	Gemfile
	Gemfile.lock
	app/assets/stylesheets/common.css.scss
	app/helpers/application_helper.rb
2012-11-20 19:08:30 +00:00
Kai Krueger
104727f889 Trust Google and Yahoo to return valid email addresses
Both Google and Yahoo guarantee that the email address they return
during the OpenID authentication are emails that they have already
verified:

  http://stackoverflow.com/q/5639419

Therefore special case these OpenID providers and automatically
activate the new users account without requiring a separate email
verification step.

This therefore reduces the signup procedure by one step and makes
it easier for new users of these OpenID providers, which cover the
majority of users.
2012-10-30 19:14:45 +00:00
Tom Hughes
654d22ed2e Return the body of a note comment as a rich text object 2012-10-15 22:34:55 +01:00
Tom Hughes
92ce228cbe Get note comment notification working again 2012-10-14 16:01:34 +01:00
Tom Hughes
52e5fa6ad7 Merge branch 'master' into openstreetbugs
Conflicts:
	app/views/browse/_map.html.erb
	app/views/site/index.html.erb
	config/initializers/mime_types.rb
	config/routes.rb
	lib/map_boundary.rb
	lib/migrate.rb
	lib/osm.rb
	vendor/assets/openlayers/OpenLayers.js
2012-01-05 20:15:53 +00:00
Tom Hughes
f093b9a600 Replace @body with @text again... 2011-12-18 17:46:21 +00:00
Tom Hughes
ce4a6eefa7 Add an HTML version of the message notification email 2011-12-01 19:17:16 +00:00
Tom Hughes
d4853bdc29 Looks like @body is special somehow so use @text instead 2011-11-15 14:49:38 +00:00
Tom Hughes
f8ace8f9e0 Cope with MESSAGES_DOMAIN not being defined 2011-11-14 09:42:48 +00:00
Tom Hughes
56df4f3813 Update notifiers to use new ActionMailer API 2011-11-14 09:42:41 +00:00
Tom Hughes
e3b8b89330 Mass rename of "bugs" as "notes" for increased user friendliness 2011-05-21 17:22:31 +01:00
Tom Hughes
f77a3c75be Add methods to get a bug's author details from the first comment 2011-05-18 00:36:01 +01:00
Tom Hughes
882700c5c8 Rename some columns and indexes in the bug tables 2011-05-18 00:36:00 +01:00
Tom Hughes
8852454795 Rename association between map_bugs and map_bug_comment to comments 2011-05-08 00:22:32 +01:00
Kai Krueger
b3d62bb85a Send notification emails when someone comments on a map bug report 2011-04-27 12:01:52 -06:00
Tom Hughes
bddf524c88 Allow users to send themselves a new confirmation email
Add a method which generates a new confirmation email, and provide
links to it from appropriate places.
2010-10-04 21:52:58 +01:00
Tom Hughes
f07819d81a Rework application configuration
Use a preinitializer to load the settings from application.yml so
that they are available as early as possible. All settings can also
be overridden using environment variables.

The ad-hoc settins in environment.rb are then moved to this new
system so we have one consistent location for settings.
2010-08-04 22:06:05 +01:00
Tom Hughes
6740cab85b Use the correct name for the interpolation variable 2010-06-29 15:19:54 +01:00
Tom Hughes
2038cd52c6 Include an [OpenStreetMap] prefix on the subject of message notifications
Put back the [OpenStreetMap] prefix to the subject line of email
notifications of messages, but strip it again from any incoming
email replies.
2010-06-29 09:43:30 +01:00
Tom Hughes
eefb42334f Use the message title as the subject of notification mails
Make message notification mails use the message title as the subject
so that it is properly perserved when replying by email. Closes #3051.
2010-06-26 16:03:47 +01:00
Andy Allan
cd89a3c662 Move email configuration out of the model and into the config file 2010-05-01 12:36:22 +01:00
Tom Hughes
5e9ae68fb2 Make friend notification messages include a link to add a reciprocal
friendship if it doesn't already exist. Closes #2754.
2010-03-01 12:08:11 +00:00
Tom Hughes
aa27228dea The new message route want the display name now, not the id. Closes #2642. 2010-01-17 09:12:40 +00:00
Tom Hughes
19e6486870 Quote the from address explicitly as rails seems to be failing to do
it, though it looks like it should from a quick glance at the source.
2009-11-06 16:03:19 +00:00
Tom Hughes
23b8672bc9 Add support for processing incoming mail messages in reply to message
notifications and diary comment notifications, turning the maill messages
into reply messages through the site messaging system.
2009-11-05 23:16:20 +00:00
Tom Hughes
e890528aac Rework password reset system to do away with the second email and instead
just allow the user (providing they possess a valid token from the first
email) to enter a new password on the site.
2009-08-03 23:42:29 +00:00
Thomas Wood
554818b5b4 Contrary to what the previous commit message said, we do actually have more cases of user A triggering mail to user B.
(references #1968)
2009-06-20 20:42:22 +00:00
Thomas Wood
0ed4cdbd49 Force locale on subject translation for diary comment notifications, since the sending user's locale is not that of recipient.
It is assumed that sender locale is that of recipient for the rest of the emails, which is fine, since the sender is the recipient.
The bodies are accounted for correctly by common_headers and the monkeypatching of ActionMailer.
(references #1968)
2009-06-20 20:36:52 +00:00
Ævar Arnfjörð Bjarmason
938cdd8503 Made GPX notification E-Mails translatable
The multiline 'notifier.gpx_notification.success.loaded_successfully'
message is how one should properly do multiline messages to be
embedded into E-Mail. It wraps at 80 columns (if translated correctly)
and isn't as inhererently limited as splitting the E-Mail into one
message per-line like the other notification messages do it.
2009-06-07 15:50:30 +00:00
Tom Hughes
d9dbd3edf1 Make the rest of the email translatable. 2009-06-05 23:53:47 +00:00
Tom Hughes
35eeff0081 Fix up translation issues in diary comment notifier. 2009-06-02 08:25:00 +00:00
Tom Hughes
5294e4d989 Send notification messages in the target user's language. 2009-05-31 16:10:53 +00:00
Tom Hughes
d6e605414d Set a custom return path so that we can ignore bounces. 2009-05-09 12:17:10 +00:00
Tom Hughes
64ecd02f0b Allow users to change their email address. Closes #546. 2008-08-13 11:39:33 +00:00
Tom Hughes
f8367c3ee1 Allow a user's email address to be marked invalid, and suppress most
notification mails for such users.
2008-08-13 10:45:49 +00:00
Tom Hughes
7d0a281d5b Include tags in GPX success and failure mails. Closes #480. 2008-04-27 12:18:19 +00:00
Steve Coast
e13337354d preference stuff 2008-02-23 11:12:42 +00:00
Tom Hughes
5fbc8ad3f4 Send email notifications when people comment on diary entries. Closes #655. 2008-02-04 00:15:28 +00:00
Tom Hughes
b416597507 Make the message reply link prefill the title with "Re: original title".
Closes #634.
2008-01-15 19:05:17 +00:00
Tom Hughes
425b3654d7 Mark mails as auto submitted. Closes #627. 2008-01-06 13:21:50 +00:00
Tom Hughes
3aa8ffbcb8 Tidy up mail notifiers and make them more rails style rather then
relying on ActionMailer implementation details.
2007-10-30 00:48:45 +00:00
Dan Karran
d320673cc7 Improving friend capabilities so you can now add and remove friends as you wish. Friends will be notified when you add them. You can view a list of friends on your profile page (which has been reorganised a little). 2007-10-08 22:21:15 +00:00
Tom Hughes
27d8f2ef63 Include a reply link in email notifications of messages. 2007-09-19 10:37:32 +00:00