Tom Hughes
857f0f460b
More work on test coverage
2015-02-28 00:45:56 +00:00
Tom Hughes
cd3db7df4d
Fix validation failures for trace tags
...
Fixes #914
2015-02-27 10:04:40 +00:00
Tom Hughes
f04211b172
Improve test coverage
2015-02-27 00:40:37 +00:00
Tom Hughes
dbe165bbb3
Fix some rubocop rails style issues
2015-02-26 00:12:54 +00:00
Tom Hughes
e434cb154c
Convert OpenID authentication to generic third party authentication
2015-02-25 01:07:23 +00:00
Tom Hughes
a6b84a0294
Fix more rubocop style issues
2015-02-24 23:12:02 +00:00
Tom Hughes
8e404f3a46
Fix some more rubocop style issues
2015-02-20 20:39:52 +00:00
Tom Hughes
dc2a2c8ebd
Standardise on double quoted strings
2015-02-20 19:47:26 +00:00
Tom Hughes
5cbd4038ed
Fix rubocop style issues
2015-02-20 08:56:16 +00:00
Tom Hughes
baf10cd392
Fix rubocop lint issues
2015-02-20 08:56:16 +00:00
Tom Hughes
ef7f3d800c
Fix most auto-correctable rubocop issues
2015-02-20 08:56:16 +00:00
Tom Hughes
34e3e51456
Cleanup trailing whitespace
2015-02-20 08:56:16 +00:00
Tom Hughes
6e56580278
Remove some (hopefully) redundant code
2015-01-11 12:54:17 +00:00
Tom Hughes
8fa9763281
Set default formats in the database now that rails handles enums
...
Because rails now reads the defaults from the database correctly it
no longer works to set them conditionally in after_initialise as they
have already been set.
2015-01-11 12:54:16 +00:00
Tom Hughes
4d44f188e1
Include number of recent diary entries in spam scoring
2014-11-20 21:18:00 +00:00
Tom Hughes
8598db3233
Tidy up changeset comment code
2014-10-23 21:24:51 +01:00
Łukasz Gurdek
14ac1babc2
Changeset discussions
...
Add support for commenting on changesets with RSS feeds and email
notification of comments to other commenters and people that have
chosen to subscribe to a changeset.
2014-10-23 21:24:51 +01:00
Tom Hughes
8983fb3600
Validate note comments for control characters
2014-10-16 00:59:34 +01:00
Tom Hughes
c83778df8c
Ban usernames which match special URLs
...
Trac #5236
2014-10-02 13:37:26 +01:00
Tom Hughes
c72940684e
Fix error resolving relation parents
...
It's not entirely clear why specifying the foreign key explicitly
fixes this - the value given is what it should default to - but
without this it finds the child relation instead when looking at
the parents of a relation.
Fixes #789
2014-07-24 00:23:45 +01:00
Tom Hughes
28bfb9999f
Rename Trace#public to Trace#visible_to_all
2014-07-04 19:24:25 +01:00
Tom Hughes
56d39b06f2
Rename User#public to User#identifiable
2014-07-04 19:24:25 +01:00
Tom Hughes
0cc579b287
Improve blocking of characters not allowed in XML
2014-06-19 00:25:18 +01:00
Tom Hughes
32c385e8d7
Probit control characters in user names
2014-06-15 16:33:26 +01:00
Tom Hughes
098c2675ba
Add support for ACL blocks on note commenting
2014-06-03 20:59:25 +01:00
Tom Hughes
191af4a8b4
Remove bogus sort that is implied by the intermate association
2014-05-21 22:44:04 +01:00
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