a0a07014c2
MDL-30994 webservice API, check and update DocBlock
2012-03-02 09:49:41 +08:00
dcd902a0f6
MDL-30495 HTML5 apps cannot call Webservices functions if a HTTP resource is retrieved from the Moodle installation
2012-02-15 11:33:11 +08:00
07cc3d11e2
MDL-28646 add missing authentication web service checks. Merge download/upload script checks in the same lib functions. Make the download scrit return json error message. Add missing webservice lang. Minor unit test doc improvement.
2011-11-29 11:18:36 +08:00
b28de4b412
Merge branch 'MDL-28629' of git://github.com/mouneyrac/moodle
2011-11-22 18:26:35 +13:00
07a90ec313
MDL-28629 more checks during web service authentication
2011-11-11 15:07:18 +08:00
e88c193fb0
MDL-28670 webservice : added dimming of service name in security keys page if webservice is disabled or not on authorised list to access webservice.
2011-11-07 14:21:40 +08:00
729ca37388
MDL-29825 better debug info when a ws client user misses a protocol capability
2011-10-21 15:11:38 +08:00
e922fe23b6
MDL-29602 accesslib improvements
...
Refactoring and improvements of the accesslib.php library including prevention of access for not-logged-in users when forcelogin enabled, improved context caching, OOP refactoring of contexts, fixed context loading, deduplication of role definitions in user sessions, installation improvements, decoupling of enrolment checking from capability loading, added detection of deleted and non-existent users in has_capability(), new function accesslib test, auth and enrol upgrade notes.
More details are available in tracker subtasks.
2011-10-16 14:05:18 +02:00
ccda013458
MDL-26635 Return a more explicit debuginfo message when the user can not access the web service function
2011-09-21 13:03:18 +08:00
936cabd6f0
MDL-28481: Send headers before any possible output
2011-08-22 09:11:42 +09:30
cc7fb382d7
MDL-20804 Improve the automatically generated WSDL.
...
Note that this is currently very much a proof-of-concept implementation. It should receive a lot of careful testing and review before we think about integrating it.
2011-07-06 18:53:57 +01:00
8819c47b64
MDL-28121, fixed deprecated split() function
2011-06-30 17:34:36 +08:00
00a33dcbac
Merged branch 'MDL-26777-wip' of git://github.com/mouneyrac/moodle.git
2011-06-08 17:52:59 +08:00
c1b658832d
MDL-27551 add enable mobile feature (enable web services + mobile service - add mobile builtin service - add unique shortname for service)
2011-06-08 15:10:26 +08:00
0bf486a619
MDL-26777 moodle_webservice_mobile_get_siteinfo TODO: add this service name into the service of MDL-27551
2011-06-07 15:19:53 +08:00
820b42c57b
webservice MDL-25323 clean get_ws_authorised_usersget_ws_authorised_users from obsolete code
2010-11-23 09:16:34 +00:00
136e69c40f
MDL-24767 webservices logs use hard coded site id 1 instead of SITEID
2010-10-19 15:26:24 +00:00
346c5887b1
MDL-24751 using new memory constants
2010-10-19 10:13:15 +00:00
9ef728d660
webservice MDL-24541 change wsdoc.php external authentication into a normal moodle page with require_login(), no form, documentation directly related to the token and display from the user security keys page (see MDL for more information)
2010-10-08 03:03:10 +00:00
7a424cc4f2
MDL-24321 switching to stdClass in /webservice/
2010-09-21 08:28:15 +00:00
fc0fcb27e2
fixed created timestamp
2010-09-17 20:07:49 +00:00
c25662b0e4
web service MDL-23338 clean up Service editing page + delete token related to a service when delete service (display warning on confirmation page) + fix glitch on the navigation with 'Register your site' and 'Edit service' pages (they are now hidden and the parent page link is displayed)
2010-09-16 04:21:52 +00:00
c924a469a6
MDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any other username with accents and different case
2010-08-25 08:30:52 +00:00
b2cde2cb78
webservice MDL-23539 fix missing capabilities information
2010-07-27 07:29:02 +00:00
9c954e883b
webservice MDL-21908 admin: use renderer into token pages + a bit of code cleaning
2010-07-27 03:53:55 +00:00
72f68b51e6
webservice MDL-23341 add required capabilities to the service function declaration (lib/services.php), display missing capaibilities for users linked to a token and for authorised users, display function capabilities, refactor service add function page
2010-07-23 06:17:06 +00:00
7785dc2e9f
lib, auth, webservice: MDL-20876 fix deprecated split() calls.
2010-07-20 01:38:54 +00:00
fde884c342
webservice MDL-23083 change $param => $paramanddefault (for multiple/single structure VALUE_DEFAULT)
2010-07-14 05:42:21 +00:00
b437f681f9
MDL-20808 Fixing default param handling.
2010-07-12 13:01:56 +00:00
d6cae0311a
webservice MDL-20808 removing managing default from service_class_method_body()
2010-07-12 10:51:26 +00:00
02998b3f63
webservice MDL-23083 web service function generated code included default value assignement everytime a parameter was printed, causing error all over. Fixed.
2010-07-12 07:06:08 +00:00
c06503b83a
webservice MDL-23083 Zend now cast object into array before calling the external function.
2010-07-09 04:07:37 +00:00
d9ad010327
webservice MDL-22589 support user preferences for creation and update
2010-07-08 08:40:21 +00:00
774b1b0ff0
webservice MDL-23144 support VALUE_DEFAULT empty array for single and multiple structure
2010-07-07 08:15:26 +00:00
e93b82d746
webservice MDL-23083 Zend SOAP does not support struct in the phpdoc
2010-07-05 08:51:57 +00:00
2d5a051e14
webservice MDL-23077 fix execute ws function when the return value is null
2010-07-05 06:04:47 +00:00
86dcc6f0a2
webservice MDL-21792 refactor webservice authorised users pages
2010-07-02 06:40:36 +00:00
bb98a5b25e
webservice MDL-12886 add function to retrieve token row by token (must be unique)
2010-06-03 09:16:00 +00:00
ad8b5ba212
webservice MDL-21579 $this->simple is now a DEFINE. Fix the forgotten ones.
2010-05-25 03:41:24 +00:00
229a70996a
security keysMDL-12886 cleanup a bit the security keys page (move html into renderer and DB query into library)
2010-05-12 07:53:07 +00:00
0f1e391487
webservice MDL-21579 fix wrong define usage: EXTERNAL_TOKEN_EMBEDDED => WEBSERVICE_AUTHMETHOD_SESSION_TOKEN
2010-04-30 06:37:43 +00:00
2d0acbd5f9
MDL-21579 "Implement session token for embedded application" implemented a second type of session token linked to a session for use in applications embedded in web pages.
2010-04-28 13:16:58 +00:00
a8dd0325b9
web service MDL-21999 web service support optional parameter now (not only optional array/object key)
2010-04-01 03:17:34 +00:00
99152d09e3
web service MDL-21964 return null when the return description is null.
2010-03-29 06:48:17 +00:00
d07ff72d15
webservice MDL-21580 remove reponse hook, add response cleaning to the method body for all Zend servers.
2010-02-22 07:07:44 +00:00
eae18ab60c
webservice MDL-21580 remove hard coded string from validate_parameters function, clean XML-RPC response from additional values, XML-RPC return an exception if a return value is wrong
2010-02-19 02:40:10 +00:00
c77e75a3cd
MDL-20808 Fixes for amf web services and test client - a web service browser.
...
Fixed the bugs that Jerome mentions in the comments for this issue :
* No exception thrown when there is no return value now.
* No exception thrown when there are extra keys in the return value that are not in the description. Now the extra keys are ignored and not returned which is what the other web services do.
* Improved information about exceptions in the test client.
2010-02-11 03:39:02 +00:00
94a9b9e770
MDL-20808 Fixes for amf web services and test client - a web service browser.
...
Includes :
MDL-21552 amf web services need to accept params and return values of proper type
MDL-21553 amf web service : In Flash an array has normally a numeri
2010-02-10 08:44:46 +00:00
1839e2f094
webservice MDL-17135 do not check if ws authentication plugin is enabled for the ws token method, it is only useful for username/password method.
2010-02-01 03:38:28 +00:00
b0a9a0cd35
mnet MDL-21466 change "WS auth not enable" for "Web Service Authentication plugin is disabled" message + add hard coded ws error message string into lang file.
2010-01-29 02:15:22 +00:00