34 Commits

Author SHA1 Message Date
Paul Holden
9990a740bf
MDL-78352 webservice: use default user context page heading. 2023-05-26 12:25:38 +01:00
Paul Holden
373c163f74
MDL-78339 webservice: correctly namespace external API. 2023-05-24 09:36:23 +01:00
Eloy Lafuente (stronk7)
e7d3e042fc MDL-76052 webservice_xmlrpc: Annotate some wrong plugin uses
It has been detected that there are various uses of the plugins
breaking the inter-communication principles, with core_webservice
implementing functionality plugin-dependent that should belong
to the plugins.

Because of that, https://tracker.moodle.org/browse/MDL-76078 has
been created and we have added some TODO/@todo comments in core
pointing to that issue, for further analysis and fixes there.
2022-11-04 16:49:57 +01:00
Marina Glancy
6f6586b164 MDL-73564 webservice: make sure to require webservice lib once 2022-01-12 13:19:58 +01:00
Paul Holden
d4bd398ad7 MDL-73295 webservice: only pass around sesskey for tokens as needed. 2021-12-29 09:54:23 +00:00
Eloy Lafuente (stronk7)
fdc2dcf264 MDL-72871 cleanup: Remove incorrect whitespace from codebase
Differences can be checked with git diff --ignore-all-space and
that will show that the only non-whitespace change is in a test
in the git lib/tests/html2text_test.php file. In that case the
whitespace has been replaced by a quoted string (of whitespaces)
keeping the test 100% equivalent and workarrounding the whitespace.
2021-10-26 17:19:11 +02:00
Luca Bösch
c3fe18506b MDL-66847 webservice: Correct breadcrumb + title for ws documentation. 2020-02-11 12:17:39 +01:00
Damyon Wiese
11c16f5fc8 MDL-53772 externallib: Deprecate external_function_info() 2016-04-14 15:07:41 +08:00
Frederic Massart
4373103084 MDL-34460 Librairies: Replaced deprecated get_context_instance() 2012-07-26 13:23:28 +08:00
Jerome Mouneyrac
a0a07014c2 MDL-30994 webservice API, check and update DocBlock 2012-03-02 09:49:41 +08:00
Jerome Mouneyrac
cde291ed73 MDL-28650 add a page in the administration to the full web service API (API documentation). 2011-08-18 11:51:02 +08:00
jerome mouneyrac
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
Petr Skoda
8725605d7a MDL-22001 fixed hidden bug triggerred by recent fixes in format_string() - credit goes to Myles Carrick , thanks! + fixing sloppy trailing whitespace :-( 2010-08-01 10:24:52 +00:00
jerome mouneyrac
0991947b0c 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. (ws generated documentation) 2010-02-01 03:43:53 +00:00
jerome mouneyrac
85b4c44745 webservice MDL-20803 add token authentication to web service documentation generator 2010-01-29 06:34:07 +00:00
jerome mouneyrac
d40fdeba8c webservice MDL-20803 updated the css, kudo to Sam H. Javascript been fixed by other fix. 2010-01-29 05:42:18 +00:00
jerome mouneyrac
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
jerome mouneyrac
cdb0bd6afc webservice MDL-20803 add "Print All" button 2009-12-22 03:52:28 +00:00
jerome mouneyrac
7886efc41e webservice MDL-20803 add switch to disable documentation, fix renderer call on login page, fix xhtml strict, add css file. TODO: use output render function to display tag, move all css style into the css file 2009-12-21 04:01:02 +00:00
jerome mouneyrac
abf7dc44a2 webservice MDL-20803 auto-doc: added protocol checking, removed IP checking, removed all $USER reference, remove DEBUG call. TODO: split the code between login and documentation display, add switch to disable documentation, remove all html from the renderer using output function (create empty tag, create box, ... + css), fix xhtml strict 2009-12-18 03:19:22 +00:00
Petr Skoda
649cf95d0b MDL-21147 renamed find_renderer back to get_renderer() - there are no more collisions with those magic getters 2009-12-17 14:06:22 +00:00
Petr Skoda
56cbc53b76 MDL-21143 theme renderers related refactoring, it should detect more problems now, there is also a list of core renderer subtypes, hopefully the api changes are improvements 2009-12-17 13:45:54 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
jerome mouneyrac
360e9415b4 webservice MDL-20803 fix xml-rpc documentation, now show the real sent PHP structure + response. REST POST parameters coming soon... 2009-12-14 05:30:12 +00:00
jerome mouneyrac
b5e4c8d4c1 webservice MDL-20803 little hack in order to not trigger environment.php in the header when $USER is set but the user is not logged 2009-12-13 14:06:09 +00:00
jerome mouneyrac
d4c6ef705c webservice MDL-20803 add web service documentation generator 2009-12-13 10:48:22 +00:00
Petr Skoda
01482a4a14 MDL-17135 external token access support 2009-10-26 21:44:53 +00:00
jerome
472f56d926 webservice MDL-17135 add disable javascript to the valid until fields 2009-10-20 14:33:01 +00:00
skodak
cc93c7da15 MDL-12886 minor web service code refactoring which includes new base server class, slightly changed admin UI, sample REST test client, cleaned up lang packs; more changes ahead and lots of TODOs to elliminate; expect more commints in the next few days 2009-10-12 21:46:16 +00:00
jerome
2e1f3939ef webservice MDL-12886 fix doc 2009-09-14 03:43:38 +00:00
jerome
b3d58bceb9 web services MDL-12886 ws params: objects into an object were not cleaned, neither documented 2009-09-02 03:58:09 +00:00
jerome
b7510c3aa8 web services MDL-12886 fix documentation: support of a unique description object into two diffferent function descriptions 2009-09-01 02:39:39 +00:00
jerome
fbe52a393f webservice MDL-12886 refactor web service description + implement clean_function_params() function 2009-08-25 05:35:59 +00:00