Tom Hughes
28b8863627
Remove unused (and non-functioning) code
2014-02-26 18:53:25 +00:00
Tom Hughes
1c46fb5891
Remove unused session model
2014-02-26 00:13:47 +00:00
Tom Hughes
e36aa53f49
Update to paperclip 4.x and add content type validation
2014-02-10 00:34:23 +00:00
Tom Hughes
42b329ed82
Replace the country table with a static XML countries file
...
Storing the countries in the database is overkill, so just use a
copy of the geonames countryInfo data that is loaded into a hash
the first time it is used.
2014-01-17 19:25:58 +00:00
Tom Hughes
c866d28fd4
Test get_nodes_undelete methods of the OldWay model
2013-12-05 17:49:06 +00:00
Tom Hughes
8c029f8d79
Simplify a number of object model methods
2013-12-05 00:50:04 +00:00
Tom Hughes
1f52e5227f
Add tests for member methods on relation models
2013-12-05 00:38:25 +00:00
Tom Hughes
10e92b85a7
Fix OldRelation.tags
2013-12-04 17:41:21 +00:00
Tom Hughes
9544ab12b8
More refactoring of common code in object models
...
Tidy up code and extract generation of tag elements to the
common code in the ObjectMetadata module.
2013-12-04 00:29:48 +00:00
Simon Legner
413baecf6b
Refactor generation of object metadata in API calls
...
Factor out duplicate from the object models into common code.
2013-12-04 00:09:52 +00:00
Tom Hughes
e341ef5673
Remove never actually used code from five years ago
2013-10-11 20:03:06 +01:00
Tom Hughes
eaefb3ea73
Improve consistency of selections in the browser controller
2013-09-30 08:45:19 +01:00
Tom Hughes
554a7c9d47
Convert some deprecated methods to modern arel syntax
2013-09-29 22:50:01 +01:00
Tom Hughes
029547855f
Remove debugging code
2013-09-24 17:14:40 +01:00
Tom Hughes
ca30b879f6
Eliminate deprecated scope and association arguments
2013-09-21 11:35:46 +01:00
Tom Hughes
f0feca800d
Replace attr_accessible with strong parameters
2013-09-21 11:35:46 +01:00
Tom Hughes
3875882172
Remove multiline regular expression anchors from validations
2013-09-21 11:35:46 +01:00
Tom Hughes
7e896d758d
Return GPX traces as application/gpx+xml instead of text/xml
2013-09-09 16:23:38 +01:00
Tom Hughes
56fd5c4d90
Merge remote-tracking branch 'osmlab/welcome-2'
2013-08-18 14:50:36 +01:00
Tom Hughes
b9daf06684
Upgrade passwords to the latest hashing scheme on login
2013-08-14 00:24:33 +01:00
Tom Hughes
15d29c646b
Strengthen password hashing algorithm
2013-08-14 00:23:03 +01:00
John Firebaugh
091473602b
Handle expired confirmation tokens
2013-08-12 13:34:45 -07:00
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
ac1f210736
Replace the spam observer with simple after_save callbacks
2013-06-25 21:54:02 +01:00
Tom Hughes
2dc7c505fd
Remove remaining action cache usage and related infrastructure
2013-06-25 17:47:54 +01:00
Tom Hughes
f03c8637f7
Extract common code for parsing floats
2013-06-24 22:44:17 +01:00
Ian Dees
9d2fed811f
Guard against non-numeric lat and lons in nodes and notes
2013-06-24 22:34:09 +01:00
Tom Hughes
d74d4f8d19
Add a reopen API call for notes
2013-06-10 18:52:50 +01: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
b3e540a6b6
Improve tests for trace RSS feeds
2013-05-10 22:48:26 +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
e932418998
Remove the flatten_comment methd from the Note model
2013-04-26 19:35:20 +01:00
Tom Hughes
97e0d5ad1f
Add a new write_notes permission needed for OAuth access to notes
2013-03-28 18:50:18 +00:00
Tom Hughes
898cc828dd
Merge branch 'master' into notes
...
Conflicts:
Gemfile.lock
2013-03-28 00:36:07 +00:00
Tom Hughes
78e8828741
Use changeset and user caches in Changeset#download
2013-03-24 09:52:03 +00:00
Tom Hughes
abd29001a3
Reimplement User#is_friends_with? in a non-insane way
2013-03-24 09:52:03 +00:00
Tom Hughes
3a06235b02
Preload sender/recipient details for messages
2013-03-24 09:52:03 +00:00
Tom Hughes
ae27f7adbe
Make the API reject changes to closed notes
2013-02-05 18:08:42 +00:00
Tom Hughes
c12fe5f6e8
Remove redundant return
2013-02-05 17:42:08 +00:00
Tom Hughes
43f39c50a3
Touch notes when new comments are added
2013-02-03 11:06:34 +00: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
Tom Hughes
ec6f14df0c
Use counter caches to improve spam scoring
...
Now that we have the counter caches we can take all edits and traces
into account without incurring the cost of having to scan the database
to count them all.
2012-11-12 09:39:44 +00:00
Tom Hughes
6211895f6e
Allow mass assignment of user preference keys and values
2012-11-04 14:41:08 +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
John Firebaugh
31dae1bac1
Avoid unnecessary array allocations
2012-10-22 08:45:31 +01:00
Paweł Paprota
ad43499205
Implemented Gravatar support
2012-10-18 18:59:38 +01:00