aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/api.php
AgeCommit message (Collapse)Author
2010-09-06Refs #2220: Pulled most classes / interfaces out of lib files (except ↵ewinslow
query.php and exception.php) into "classes" folder. Replaced inline classes with "require_once" statements for now. Ran unit tests to verify functionality before committing. git-svn-id: http://code.elgg.org/elgg/trunk@6908 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6757:6810 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6614:6617 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6845 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-14Merged 5928-6908 from 1.7 branch to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6059 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-14merge -r5832:5898 from 1.7 to trunk.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@6055 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-21Apache's MultiViews was matching the rest page handler incorrectlycash
git-svn-id: http://code.elgg.org/elgg/trunk@3958 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-12Fixes #1512: Using a helper function for mb_parse_str() instead of wrapping ↵brettp
it exactly. git-svn-id: http://code.elgg.org/elgg/trunk@3934 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-12updated documentation on the REST API user authenticationcash
git-svn-id: http://code.elgg.org/elgg/trunk@3933 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-11Fixes #1501: Setting ini for mbstring.internal_encoding to utf8 to work ↵brettp
around a PHP bug. Replaced calls to parse_str() with elgg_parse_str(). git-svn-id: http://code.elgg.org/elgg/trunk@3932 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-02-07tweaked some documentation on the REST APIcash
git-svn-id: http://code.elgg.org/elgg/trunk@3918 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-04fixes #1397 and updates unit tests - comma was missingcash
git-svn-id: http://code.elgg.org/elgg/trunk@3724 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-12-03fixes #1396 - thanks for reporting thiscash
git-svn-id: http://code.elgg.org/elgg/trunk@3723 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-14updated documentation of API functions - perhaps ready for developer previewcash
git-svn-id: http://code.elgg.org/elgg/trunk@3682 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-13should fix #1364 and added relevant unit test cases for this bug (yeah for ↵cash
unit tests) git-svn-id: http://code.elgg.org/elgg/trunk@3676 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-12fixed typo with handling web services request parameters cash
git-svn-id: http://code.elgg.org/elgg/trunk@3675 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-12rest api parameters can now have default valuescash
git-svn-id: http://code.elgg.org/elgg/trunk@3674 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-12added a nonce to hmac signature and header so same call in same second does ↵cash
not get caught by replay check git-svn-id: http://code.elgg.org/elgg/trunk@3672 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-10introducing a new web services handlercash
git-svn-id: http://code.elgg.org/elgg/trunk@3651 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-09REST api hmac signature encoding now compatible with Amazon S3 and OAuthcash
git-svn-id: http://code.elgg.org/elgg/trunk@3640 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-11-07combined the two different pams into one and fixed an issue with hmac ↵cash
authentication git-svn-id: http://code.elgg.org/elgg/trunk@3635 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-25cleaned up the web services unit testscash
git-svn-id: http://code.elgg.org/elgg/trunk@3581 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-22more unit tests for REST apicash
git-svn-id: http://code.elgg.org/elgg/trunk@3569 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-20more unit tests for REST apicash
git-svn-id: http://code.elgg.org/elgg/trunk@3566 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-19first version of new REST apicash
git-svn-id: http://code.elgg.org/elgg/trunk@3562 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-16Rewriting core debug messages to be more informative.nickw
Introducing the concept of levels for Elgg debugging: notices, warnings and errors are displayed when the appropriate debugging level is enabled. An additional level of "debug" exists to differentiate from errors. git-svn-id: http://code.elgg.org/elgg/trunk@3560 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-14Standardized engine/lib/api.phpbrettp
git-svn-id: http://code.elgg.org/elgg/trunk@3546 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-10-14test commitcash
git-svn-id: http://code.elgg.org/elgg/trunk@3536 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-31All line endings are now Unix-style.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3451 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-20Whoa nelly this is a big one: Removed license and copyright for files.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3427 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-13Closes #1119: If post data not initially found then input stream is used.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3403 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-18Closes #844: API parameter test logic improvedmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3166 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-09Minor api tweakmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3147 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-23Refs #706marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2611 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-09Closes #668: Banning now works through a flag in the users_entity table. ↵marcus
Database upgrade required. * Added ElggUser::isBanned(); * Added 'banned' column to users_entity * Modified ban() and unban() * Modified pam functions to check $user->isBanned() * Modified login() to check $user->isBanned() * Modified sessions_init() to check isBanned() and destroy session accordingly * Modified profile views to highlight banned users and prevent menus for non-admin users. git-svn-id: https://code.elgg.org/elgg/trunk@2554 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-03* ElggCache interface improvedmarcus
* ElggStaticVariableCache introduced as a placeholder for more advanced caching. git-svn-id: https://code.elgg.org/elgg/trunk@2384 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-25git-svn-id: https://code.elgg.org/elgg/trunk@2140 ↵marcus
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-25Debugmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2139 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-25Committing what I have at the end of the day, api still not 100%marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2138 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-25Fixing auth_token codemarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2136 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-25view now set by endpointmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2130 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-24Minor improvements to failure mode.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2122 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-24auth_token api call now functionalmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2121 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-24git-svn-id: https://code.elgg.org/elgg/trunk@2119 ↵marcus
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-24git-svn-id: https://code.elgg.org/elgg/trunk@2116 ↵marcus
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-24Added endpoint page handler.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2115 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-24Create keypair code addedmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2113 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-24Added create_api_usermarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2112 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-24Added remove_api_user functionmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@2111 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-24Will now handle banned users marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2110 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-09-23The cache library is now loaded before the main library boot.ben
git-svn-id: https://code.elgg.org/elgg/trunk@2106 36083f99-b078-4883-b0ff-0f9b5a30f544