Commit graph

207 commits

Author SHA1 Message Date
jerome mouneyrac
4b2023df41 webservice MDL-21510 added three defines for the description of ws optional value:
VALUE_REQUIRED - if the parameter is not supplied, there is an error
VALUE_OPTIONAL - if the parameter is not supplied, then the param has no value
VALUE_DEFAULT - if the parameter is not supplied, then the default value is used
(quick fix on default null value)
2010-02-05 03:04:02 +00:00
jerome mouneyrac
382b9ceab3 webservice MDL-21510 added three defines for the description of ws optional value:
VALUE_REQUIRED - if the parameter is not supplied, there is an error
VALUE_OPTIONAL - if the parameter is not supplied, then the param has no value
VALUE_DEFAULT - if the parameter is not supplied, then the default value is used
2010-02-05 02:58:24 +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
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
jerome mouneyrac
52dd27bfbc webservice MDL-17135 remove old webserviceuse capability. It is now controlled by protocol capabilities. Add warning to protocol capabilities. 2010-02-01 03:23:35 +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
75537cbfee webservice MDL-21463 add our web service test client into the admin tree development section 2010-01-29 02:40:42 +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
7e0eac79da webservice MDL-21127 add IP address for every web service logs. 2010-01-25 02:53:03 +00:00
jerome mouneyrac
1e29fe3f35 webservice MDL-21127 add log for Zend server and when authentication (token or simple) failed and when the IP checking failed too. 2010-01-25 02:45:56 +00:00
jerome mouneyrac
c3517f05ed webservice MDL-21127 add logging for REST server 2010-01-22 08:21:08 +00:00
Petr Skoda
9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
jerome mouneyrac
3785c9e221 webservice MDL-21351 token error message more explicit 2010-01-18 07:41:53 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
jerome mouneyrac
deb7a013ae webservice MDL-20805 add soap code for token 2010-01-15 06:33:09 +00:00
jerome mouneyrac
b8c5309e7d webservice MDL-20805 fix token authentication 2010-01-14 08:17:00 +00:00
Petr Skoda
5d0c95a5ac MDL-21235 towards the final outputlib api - implementing separate html writer and implementing new render() method 2010-01-13 17:13:52 +00:00
jerome mouneyrac
bff11d2953 webservice MDL-20805 add token authentication method to test client (+ use token constant) 2010-01-13 10:10:27 +00:00
jerome mouneyrac
4ba8df5c1c webservice MDL-20805 fix validuntil checking (token invalid when xxx < time ()) 2010-01-13 09:11:23 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
jerome mouneyrac
f03bff3e2f webservice MDL-20803 fix printed documentation (collapsible javascript broke the printed pages) 2009-12-22 07:26:20 +00:00
jerome mouneyrac
cdb0bd6afc webservice MDL-20803 add "Print All" button 2009-12-22 03:52:28 +00:00
jerome mouneyrac
334f9dbb7a webservice MDL-20803 add some comments to the code 2009-12-21 08:08:22 +00:00
jerome mouneyrac
4597fd4d61 webservice MDL-20803 replace all html tag display by output tag functions 2009-12-21 07:37:54 +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
c927e35c48 MDL-21148 geenral support for rendering targets, this should give us more flexibility; please propose improvements in the tracker if necessary, thanks 2009-12-17 22:43:27 +00:00
Petr Skoda
755909352c MDL-21148 preparation for new target parameter in get_renderer() 2009-12-17 14:51:36 +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
50397e43ff MDL-20792 fixing forgotten moodle_ prefixes in renderers 2009-12-16 22:33:49 +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
7ef7363276 webservice MDL-20803 fix REST POST parameters documentation 2009-12-14 07:12:47 +00:00
jerome mouneyrac
886e3bfbd5 webservice MDL-20803 added REST POST parameters documentation 2009-12-14 06:01:13 +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
jerome mouneyrac
64906d348c webservice MDL-17135 Add some Zend library needed for Amf + add one line in order to set amf server in development mode 2009-11-11 15:15:24 +00:00
Petr Skoda
fd8ad93868 MDL-12886 fixed TODOs 2009-11-10 09:34:40 +00:00
Petr Skoda
4a355d1834 MDL-12886 added missing token restriction 2009-11-10 09:31:52 +00:00
Petr Skoda
3f5995886a improved docs 2009-11-10 09:06:42 +00:00
Petr Skoda
443364ab39 MDL-12886 more external groups api 2009-11-05 22:13:25 +00:00
Petr Skoda
4efa248399 MDL-12886 more external groups api 2009-11-05 22:06:49 +00:00
Petr Skoda
c863dc389c MDL-12886 more external groups api 2009-11-05 20:04:27 +00:00
Petr Skoda
0ac940b3bf MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported 2009-11-04 19:24:12 +00:00
Petr Skoda
6f5e085205 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 16:48:45 +00:00
Petr Skoda
ad3abe2052 MDL-20693 fixed debug output problems of WS protocol servers 2009-11-01 10:13:38 +00:00
Petr Skoda
3086dd5964 MDL-20699 fixed ws protocol servers to use new abort transactiosn function 2009-11-01 10:07:58 +00:00