summaryrefslogtreecommitdiff
path: root/modules/rest
AgeCommit message (Collapse)Author
2013-03-02#2031 - Add class_exists() before method_exists() if class existence is unknown.shadlaws
- fixed all instances of this in core code - deleted previous Zend Guard Loader workaround in MY_Kohana.php - updated Bootstrap.php to reflect deleted MY_Kohana.php
2013-02-17#2006 - Add system::mark_file_for_delete API to delete files at shutdown.shadlaws
- added system::mark_file_for_delete to be called to mark a file - added system::delete_marked_files to be called at shutdown to delete the list - amended system::temp_filename to, by default, add the temp name to the list - updated a few other places in code where this should be used
2013-01-31Drop the requirement to have the install() function set the moduleBharat Mediratta
version. It's redundant. Fixes #1985.
2013-01-23Enable the profiler and debug output if var/PROFILE exists. ThisBharat Mediratta
provides a quick/easy way for server admins to provide profile output. Fixes #1959.
2013-01-22gallery.menalto.com -> galleryproject.orgBharat Mediratta
codex.gallery2.org -> codex.galleryproject.org Fixes #1957.
2013-01-21Update copyright to 2013. Fixes #1953.Bharat Mediratta
2012-04-01Beef up the random number generator by using Joomla's new implementation.Bharat Mediratta
2012-02-27Update copyright to 2012. #1822Bharat Mediratta
2011-10-03Fix the standard and REST uploaders to use a callback function toBharat Mediratta
delete temporary files during shutdown. Fixes #1788.
2011-04-23Oops, fix broken codex urls. For #1698.Bharat Mediratta
2011-04-23Oops, this is the rest of the modules and themes for #1696 and #1698.Bharat Mediratta
2011-01-21Update copyright to 2011.Bharat Mediratta
2010-12-23Create a way for controllers to exempty themselves from maintenanceBharat Mediratta
mode and private gallery mode by setting the following constants in the controller to true. ALLOW_MAINTENANCE_MODE ALLOW_PRIVATE_GALLERY Fixes #1411 and the subsequent refactoring fixes #1551 as well.
2010-12-16Enable profiling output in the HTML output for REST. Fixes #1535.Bharat Mediratta
2010-12-15Consolidate all the random code into a random helper that offers:Bharat Mediratta
random::hash() random::string() random::percent() random::int() So that we don't have lots of different ways to get random values all over the code. Follow-on to #1527.
2010-12-15Use mt_rand() instead of rand() since it provides better portability.Bharat Mediratta
Fixes #1527.
2010-11-22Take into account the core.url_suffix configuration setting whenBharat Mediratta
parsing REST urls. This fixes the problem that setting the url suffix breaks REST. Fixes #1500.
2010-10-25All modules should be named Xxx_Core for extensibility. Fixes #1458.Bharat Mediratta
2010-09-11Log the JSON response on errors so that we can figure out what's goingBharat Mediratta
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-01Make RENAME TABLE operations idempotent so that in case there's aBharat Mediratta
failure of some kind we can restart the upgrade and it'll continue. Fixes ticket #1325.
2010-08-15We use UTF-8 everywhere. Fixes ticket #1285.Bharat Mediratta
2010-08-09Force the charset to UTF-8 when viewing the HTML form of REST output.Bharat Mediratta
2010-08-08"REST api" --> "REST API".Bharat Mediratta
2010-08-08Add a button to the user profile page to let you reset your REST APIBharat Mediratta
key. This is useful if you think it's been compromised in some way. Fixes ticket #1226.
2010-08-08Add JSONP support. You must specify &output=jsonp?callback=<js_function>Bharat Mediratta
Fixes ticket #1205.
2010-08-08Create a registry of REST resources and call it "registry".. PrettyBharat Mediratta
simple, actually. Fixes ticket #1173.
2010-07-27Merge branch 'master' into dialogTim Almdal
2010-07-27Update the mock so that all responses return arrays, not stdClass().Bharat Mediratta
2010-07-23More patches as part of #1225. Change the 'core' modules to use the json::replyTim Almdal
method to set the content type header and encode the response as a json object
2010-07-20Fix internationalization of REST key.Bharat Mediratta
2010-07-16POST requests create a new entity and should result in a 201 CreatedBharat Mediratta
reply with a Location field that matches the URL of the newly created resource. Fixes ticket #1178.
2010-07-16Trap 404s and return Rest_Exception instead. Fixes ticket #1213.Bharat Mediratta
2010-06-20Remove trailing ?>Bharat Mediratta
2010-06-20Rename error_rest.php to error_rest.json.php so that we specify theBharat Mediratta
result type in the filename as is our convention for views.
2010-06-19$response is optional in the Rest_Exception constructor.Bharat Mediratta
2010-06-19Throw exceptions as appropriate, but allow the Kohana exceptionBharat Mediratta
handling framework to handle the exception and delegate to our template, which will JSON encode the response.
2010-06-19Oops. Fix up a bad instance of $user in rest::access_key() introducedBharat Mediratta
in my last change.
2010-06-18Simplify rest::get_access_key($user) to rest::access_key() thatBharat Mediratta
returns just the access key string for the active user. That's how we use the API, so keep it simple.
2010-06-18change single to double quotes.Bharat Mediratta
2010-06-15Guard against relationships() not returning an array.Bharat Mediratta
2010-06-15Update the description.Bharat Mediratta
2010-06-13Merge branch 'master' into talmdal_devTim Almdal
2010-06-11Send back the REST API version as a header. It's on every request,Bharat Mediratta
which sucks, but it's totally unobtrusive because it's a header so that's ok. Decided that the current version is "3.0" although it will surely change before the final 3.0 release. Fixes ticket #1148
2010-06-10Tweak the error response for rest requests to make it easier for the client ↵Tim Almdal
to extract error information.
2010-06-08Don't use the standard error formatting for exceptions that have occurred as ↵Tim Almdal
part of a REST request. Format the exception as a json encoded text string so the client can extract the fault information if they so choose.
2010-06-08The status message for an HTTP 400 status should always be 'Bad Request', if ↵Tim Almdal
I'm reading the specification right.
2010-06-07Merge branch 'master' into talmdal_devTim Almdal
2010-06-07If the identity provider changes then delete all the rest user_access_keys, ↵Tim Almdal
as they are no longer valid. (i.e. all the related users have been deleted.)
2010-06-06Merge branch 'master' into talmdal_devTim Almdal
2010-06-05Add an advanced setting to allow developers to allow guest access toBharat Mediratta
REST entities.