Age | Commit 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-01-31 | Drop the requirement to have the install() function set the module | Bharat Mediratta | |
version. It's redundant. Fixes #1985. | |||
2013-01-23 | Enable the profiler and debug output if var/PROFILE exists. This | Bharat Mediratta | |
provides a quick/easy way for server admins to provide profile output. Fixes #1959. | |||
2013-01-21 | Update copyright to 2013. Fixes #1953. | Bharat Mediratta | |
2012-04-01 | Beef up the random number generator by using Joomla's new implementation. | Bharat Mediratta | |
2012-02-27 | Update copyright to 2012. #1822 | Bharat Mediratta | |
2011-01-21 | Update copyright to 2011. | Bharat Mediratta | |
2010-12-16 | Enable profiling output in the HTML output for REST. Fixes #1535. | Bharat Mediratta | |
2010-12-15 | Consolidate 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-15 | Use mt_rand() instead of rand() since it provides better portability. | Bharat Mediratta | |
Fixes #1527. | |||
2010-11-22 | Take into account the core.url_suffix configuration setting when | Bharat Mediratta | |
parsing REST urls. This fixes the problem that setting the url suffix breaks REST. Fixes #1500. | |||
2010-09-01 | Make RENAME TABLE operations idempotent so that in case there's a | Bharat Mediratta | |
failure of some kind we can restart the upgrade and it'll continue. Fixes ticket #1325. | |||
2010-08-15 | We use UTF-8 everywhere. Fixes ticket #1285. | Bharat Mediratta | |
2010-08-09 | Force 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-08 | Add a button to the user profile page to let you reset your REST API | Bharat Mediratta | |
key. This is useful if you think it's been compromised in some way. Fixes ticket #1226. | |||
2010-08-08 | Add JSONP support. You must specify &output=jsonp?callback=<js_function> | Bharat Mediratta | |
Fixes ticket #1205. | |||
2010-08-08 | Create a registry of REST resources and call it "registry".. Pretty | Bharat Mediratta | |
simple, actually. Fixes ticket #1173. | |||
2010-07-23 | More patches as part of #1225. Change the 'core' modules to use the json::reply | Tim Almdal | |
method to set the content type header and encode the response as a json object | |||
2010-06-19 | Oops. Fix up a bad instance of $user in rest::access_key() introduced | Bharat Mediratta | |
in my last change. | |||
2010-06-18 | Simplify rest::get_access_key($user) to rest::access_key() that | Bharat Mediratta | |
returns just the access key string for the active user. That's how we use the API, so keep it simple. | |||
2010-06-15 | Guard against relationships() not returning an array. | Bharat Mediratta | |
2010-06-11 | Send 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-07 | If 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-05 | Add an advanced setting to allow developers to allow guest access to | Bharat Mediratta | |
REST entities. | |||
2010-03-30 | Rest -> REST | Bharat Mediratta | |
2010-03-30 | Rename "access_token" to "access_key" in the code for consistency. | Bharat Mediratta | |
2010-03-30 | Rename "user_access_tokens" table to "user_access_keys" as step 1 of a | Bharat Mediratta | |
multi step process to refer to REST access keys as "access_key" everywhere. Bump the rest module to version 2. | |||
2010-03-03 | Guests don't get access to the REST API. | Bharat Mediratta | |
2010-03-03 | Update the copyright to 2010. It's only 3 months into the year :-) | Bharat Mediratta | |
2010-02-20 | When using rest::reply(), don't call var_export() if the response is empty. | Bharat Mediratta | |
2010-02-19 | Refactor away the "display_all" construct in User_Profile_Controller. | Bharat Mediratta | |
"display_all" is too coarse, and we should be letting event handlers make the appropriate decision on what to display and when. This duplicates some code, but it's now very clear in the event handlers what's getting shown. Throw a 404 if we try to view the user profile for a missing user. The only feature change in this should be that we now display the name, full name and website for a user to any other registered user, which makes sense since these are typically public fields. Don't show any of the edit buttons unless identity::is_writable() | |||
2010-02-14 | If the return object is empty still return the empty object in the json ↵ | Tim Almdal | |
response. | |||
2010-01-31 | Fix lots of warnings that pop up when we're in E_STRICT mode. They're | Bharat Mediratta | |
mostly issues around uninitialized variables, calling non-static functions in a static context, calling Session functions directly instead of on its singleton, passing non-variables by reference, and subclasses not using the same interface as the parent class. | |||
2010-01-30 | Protect REST login controller from brute force attacks too. | Andy Staudacher | |
And make the REST auth token less predictable by using a better source for randomness. | |||
2010-01-29 | Use ? or & as appropriate when appending output=html. | Bharat Mediratta | |
2010-01-29 | Use var_export instead of print_r for better clarity. | Bharat Mediratta | |
2010-01-25 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |
Conflicts: modules/gallery/libraries/MY_ORM.php | |||
2010-01-24 | Add the active notifications and rest api key to user profile page. | Tim Almdal | |
2010-01-22 | output_type --> output | Bharat Mediratta | |
2010-01-22 | Reshape the rest code to be more consistent with regards to | Bharat Mediratta | |
relationships. Now when you view a resource, it has 4 top level elements: url: the url of this resource resource: array of key value pairs describing the resource members: array of urls to members of this collection relationships: array of array of members. Relationships are a special type of collection that links two different resources together. To remove a relationship, just DELETE its url. To create a relationship, POST to its collection. Individual modules can add their own relationships to any resource via a callback mechanism. Example: Array( [url] => http://g3.com/rest/item/1 [resource] => Array ( [id] => 1 [album_cover_item_id] => 4 [captured] => [created] => 1264056417 [description] => [height] => ... ) [members] => Array( [0] => http://g3.com/rest/item/2 [1] => http://g3.com/rest/item/3 [2] => http://g3.com/rest/item/4 [3] => http://g3.com/rest/item/5 ... ) [relationships] => Array( [tags] => Array ( [0] => http://g3.com/rest/tag_item/2,1 [1] => http://g3.com/rest/tag_item/23,1 ) ) ) | |||
2010-01-21 | whitespace. | Bharat Mediratta | |
2010-01-20 | Improve robustness in resolve() against bad urls.. | Bharat Mediratta | |
2010-01-20 | Move access key creation into a helper function. | Bharat Mediratta | |
2010-01-19 | Move rest::send_headers back into Rest_Exception. | Bharat Mediratta | |
2010-01-19 | Don't send headers if they're already sent. | Bharat Mediratta | |
2010-01-19 | Use an appropriate json content type | Bharat Mediratta | |
2010-01-19 | Change rest::url() to take a module name and a resource. The module | Bharat Mediratta | |
does the rest. This function is symmetrical to rest::resolve. | |||
2010-01-19 | Add rest::url() for convenience. | Bharat Mediratta | |
2010-01-10 | Merge branch 'master' of git@github.com:gallery/gallery3 into bharat_dev | Bharat Mediratta | |