Commit Graph

8 Commits

Author SHA1 Message Date
Bharat Mediratta
9f11d8ad83 Log the JSON response on errors so that we can figure out what's going
wrong.  This will help diagnose #1364 which appears to be an
ORM_Validation_Exception, except the actual output is getting eaten by
the Organize SWF so we can't see it without snooping network traffic.
2010-09-11 22:38:47 -07:00
Bharat Mediratta
0014745d4a Add a button to the user profile page to let you reset your REST API
key.  This is useful if you think it's been compromised in some way.
Fixes ticket #1226.
2010-08-08 21:49:30 -07:00
Bharat Mediratta
6ed638244a Fix internationalization of REST key. 2010-07-20 10:31:45 -07:00
Bharat Mediratta
ab9049d531 Remove trailing ?> 2010-06-20 09:05:25 -07:00
Bharat Mediratta
f6025026eb Rename error_rest.php to error_rest.json.php so that we specify the
result type in the filename as is our convention for views.
2010-06-20 08:50:19 -07:00
Bharat Mediratta
456d54ea2d Throw exceptions as appropriate, but allow the Kohana exception
handling framework to handle the exception and delegate to our
template, which will JSON encode the response.
2010-06-19 14:07:37 -07:00
Tim Almdal
cedbc82dcc Do all the html::clean|purify calls in the views and not the controller. Also clean the subject line and email message body of the contact user email. 2010-01-28 07:44:58 -08:00
Tim Almdal
865995305c Add the active notifications and rest api key to user profile page. 2010-01-24 20:14:01 -08:00