Tom Hughes
071c3581e9
Disable CSRF token verification for API methods
2011-11-14 09:42:55 +00:00
Matt Amos
b8f6dbd403
Adding initial version of the OAuth token authentication method. This adds basic OAuth support for registering apps, getting and revoking keys, etc... The tokens come with 6 separate permissions bits; read/write user preferences, write diaries, write API and read/write GPS traces. Needs more tests.
2009-06-22 16:54:37 +00:00
Thomas Wood
464c490cae
Use the right keyword this time...
2009-04-09 23:18:21 +00:00
Thomas Wood
6442208841
Add exceptions for remaing cases where XML::Parser.string is used, to catch for empty strings.
...
See also r14241
2009-04-09 22:37:43 +00:00
Tom Hughes
c8ee135104
Merge 12304:14009 from trunk.
2009-03-08 13:02:37 +00:00
Tom Hughes
fa3c97d6a6
Fix for libxml 1.0.0 changes.
2009-03-08 12:44:45 +00:00
Shaun McDonald
c76e60f052
Improving the not found handling of preferences. adding a user preference test. adding some utility methods to the test helper
2008-12-12 18:54:03 +00:00
Tom Hughes
02efd7ba4a
Go back to using user_id+k as the primary key for user preferences but
...
actually using the composite primary key extension this time so that it
really works.
Also stop update_one tring to render a non-existent view, and add a
delete_one method to allow preferences to be deleted.
2008-05-04 11:18:38 +00:00
Steve Coast
4b3c207a81
add individual user preference read/write, and default all new users to having public data
2008-05-03 12:57:48 +00:00
Tom Hughes
5a6f4c5690
Use named constants for HTTP response codes.
2008-02-23 15:35:49 +00:00
Steve Coast
2e44f9ccf3
User prference system basically done
2008-02-23 13:37:36 +00:00
Steve Coast
e13337354d
preference stuff
2008-02-23 11:12:42 +00:00