Tom Hughes
5bc3054d61
Store the username in a cookie and use it to validate the session
2011-11-14 09:42:59 +00:00
Tom Hughes
88bf67b092
Make /user/new handle already logged in users better
2011-11-14 09:42:58 +00:00
Tom Hughes
c485ae3249
Fix object_id warning
2011-11-14 09:42:58 +00:00
Tom Hughes
9c28a626cb
Stop the API changeset query accepting min_lon etc
2011-11-14 09:42:57 +00:00
Peter Gray
95d899786a
Refactor bounding box code
...
Moved duplicated code into the BoundingBox class, and pass around
BoundingBox objects instead of lists of bounds.
2011-11-14 09:42:57 +00:00
Tom Hughes
07b834785f
Force openid callbacks to use GET to avoid CSRF validation issues
2011-11-14 09:42:57 +00:00
Tom Hughes
546db82281
Preserve field values if the signup form fails validation
2011-11-14 09:42:56 +00:00
Tom Hughes
2c837d896d
Make database offline mode work
2011-11-14 09:42:56 +00:00
Tom Hughes
96c22b169a
Get OAuth working, including a hack for Potlatch
2011-11-14 09:42:55 +00:00
Tom Hughes
071c3581e9
Disable CSRF token verification for API methods
2011-11-14 09:42:55 +00:00
Tom Hughes
d6c3fe5759
Refactor AMF respone streaming
...
Using a Proc object for the response body is deprecated, so switch
to using an object with an each method that yields each response.
2011-11-14 09:42:53 +00:00
Tom Hughes
97b1290f1a
Use SecureRandom instead of the deprecated ActiveSupport::SecureRandom
2011-11-14 09:42:52 +00:00
Tom Hughes
fc25c3d412
Rename all ID columns that aren't unique
...
Having a table with a column called ID that is only part of the
primary key really doesn't work as rails likes to treat ID as a
special name so it becomes impossible to assign to it or read it.
2011-11-14 09:42:52 +00:00
Tom Hughes
3227f40193
Make more use of named scopes
2011-11-14 09:42:51 +00:00
Tom Hughes
8ae5d94b2f
Update some more queries to use AREL in place of deprecated methods
2011-11-14 09:42:51 +00:00
Tom Hughes
f0d7c4a8d6
Rework expansion of HTTP status code to work with rails 3
2011-11-14 09:42:48 +00:00
Tom Hughes
7f556f94f1
Temporary fix for postgres enums pending rails 3.0.4
2011-11-14 09:42:46 +00:00
Tom Hughes
b89486eab0
Rework AMF controller's streaming output for rails 3
2011-11-14 09:42:46 +00:00
Tom Hughes
1e13e6ae2d
Update oauth support for rails 3 version of oauth plugin
2011-11-14 09:42:45 +00:00
Tom Hughes
986f1c61fa
Use last_modified method instead of setting the header manually
2011-11-14 09:42:44 +00:00
Tom Hughes
226c41be69
Update ActiveRecord queries to use arel
2011-11-14 09:42:44 +00:00
Tom Hughes
423f5ffbc2
Use config.filter_parameters instead of filter_parameter_logging
2011-11-14 09:42:43 +00:00
Tom Hughes
7d45c2fd3c
Replace request.request_uri with request.fullpath
2011-11-14 09:42:42 +00:00
Tom Hughes
2e2c95133b
Use new ActionMail API to send emails
2011-11-14 09:42:41 +00:00
Tom Hughes
e1213a4651
Use Rails.xxx instead of RAILS_XXX
2011-11-14 09:42:40 +00:00
Tom Hughes
c9fa49c994
Update to rails 3
2011-11-14 09:42:40 +00:00
Tom Hughes
dc4cc8d219
Add support for manual tracking of a Piwik goal on signup
2011-09-20 21:40:53 +01:00
Tom Hughes
0030c77537
Rework notes interface using OpenLayers and rails
2011-09-19 20:16:20 +01:00
Tom Hughes
d5295fb485
Return GeoJSON for notes when JSON format is requested
2011-09-18 18:54:39 +01:00
Tom Hughes
3a654c8919
Merge branch 'master' into openstreetbugs
2011-09-18 14:26:59 +01:00
Tom Hughes
9793e4fb7f
Use parent.tile.openstreetmap.org for the export URL
2011-09-08 11:47:00 +01:00
Tom Hughes
72e33046c8
Merge branch 'master' into openstreetbugs
...
Conflicts:
app/views/browse/_map.html.erb
app/views/site/index.html.erb
2011-08-13 11:48:04 +01:00
Tom Hughes
f242c9de94
Add edit links to data browser pages
2011-07-19 22:48:29 +01:00
Tom Hughes
e5c80c80ad
Use num_changes to detect empty changesets instead of the bbox
2011-07-12 15:55:17 +01:00
Tom Hughes
59a49a6ef5
Fix problems with database offline mode
2011-06-23 08:30:44 +01:00
Tom Hughes
7c98b41cc8
Merge branch 'master' into openstreetbugs
2011-06-22 22:36:43 +01:00
Tom Hughes
0a81411e68
Make the AMF API check that the CTs have been agreed
2011-06-20 09:20:30 +01:00
Tom Hughes
da572b90c7
Don't error if we fail to get SReg and/or AX data from OpenID
2011-06-15 00:07:32 +01:00
Tom Hughes
c940313823
Fix some broken tests
2011-06-14 22:57:10 +01:00
Tom Hughes
540e56a9cc
Add an option to require the CTs to be agreed to edit
2011-06-14 22:57:05 +01:00
Tom Hughes
83ecb516a4
Make password signups work
2011-06-10 21:48:17 +01:00
Tom Hughes
ce7b651eb2
Merge branch 'master' into openid
2011-06-10 19:11:08 +01:00
Tom Hughes
c4f7a8346a
Use session.delete to remove entries instead of assigning nil
2011-06-01 10:17:54 +01:00
Tom Hughes
d681d7e07f
Force a session to be created when doing a cookie test
2011-06-01 10:16:11 +01:00
Tom Hughes
8382181635
Tidy up the note controller
...
Go through most of the note controller, tidying things up, fixing
a few bugs, and making sure we have tests for everything.
2011-05-22 17:02:48 +01:00
Tom Hughes
33c0f15990
Tidy up the note model a bit
2011-05-22 11:33:49 +01:00
Tom Hughes
e3b8b89330
Mass rename of "bugs" as "notes" for increased user friendliness
2011-05-21 17:22:31 +01:00
Tom Hughes
2a635ab28f
Start ROTS for user login tests as well as creation tests
2011-05-21 13:35:15 +01:00
Tom Hughes
832b96b75a
Merge branch 'master' into openid
...
Conflicts:
app/controllers/user_controller.rb
app/views/user/terms.html.erb
test/fixtures/users.yml
2011-05-21 12:14:56 +01:00
Tom Hughes
f4928d0e95
Rename a number of methods in the map_bugs controller
2011-05-18 00:36:02 +01:00