156 Commits

Author SHA1 Message Date
Frederic Massart
bf006d2c15 MDL-34455 Libraries: Replaced deprecated get_context_instance() 2012-07-23 14:33:02 +08:00
Rajesh Taneja
405aca3532 MDL-32942 libraries: Replaced deprecated PARAM_ACTION and PARAM_FORMAT with PARAM_ALPHANUMEXT 2012-07-19 15:46:10 +08:00
Jerome Mouneyrac
d6ebe011b6 Fix codecheck/moodlechecker errors 2012-05-17 10:35:05 +08:00
Fábio Souto
f2229c6895 MDL-32941 Implement core_course_update_categories, add webform and unittests
Conflicts:

	admin/webservice/testclient_forms.php
	course/externallib.php
	lib/db/services.php
2012-05-17 10:34:59 +08:00
Fábio Souto
2f951d866a MDL-32941 Added service definition and implementation for core_course_delete_categories()
Included is a bug correction to categories_delete_move() which does not
respect showfeedback parameter, printing feedback even when not wanted
(this breaks the webservice output)

Conflicts:

	admin/webservice/testclient_forms.php
	lib/db/services.php
2012-05-17 10:34:03 +08:00
Fábio Souto
be05180890 MDL-32941 complete unit tests and webform 2012-05-17 10:33:56 +08:00
Dan Poltawski
9af52f493a Merge branch 'MDL-32786' of git://github.com/stronk7/moodle 2012-05-07 12:44:19 +08:00
Eloy Lafuente (stronk7)
75c386d4b2 MDL-32786 E_STRICT: fix warning when creating a new service. 2012-05-04 12:44:10 +02:00
Dan Poltawski
1cba46c793 MDL-32693 webservice: fix typo in URL 2012-05-01 12:27:43 +08:00
Jerome Mouneyrac
803ed74166 MDL-31694 Fix XSS security issue with service name accepting javascript 2012-04-12 14:44:16 +08:00
Petr Skoda
54352ac979 MDL-32251 more E_STRICT fixes 2012-03-30 19:02:58 +02:00
Iurii Kucherov
f38792ef05 MDL-31513 rename 'Edit service' to 'Save changes' 2012-03-26 12:11:53 +13:00
Aparup Banerjee
cfb35d826c Merge branch 'MDL-29471' of git://github.com/mouneyrac/moodle 2012-02-14 11:36:53 +08:00
Eloy Lafuente
6b7f1717e9 MDL-31604 Fix capabilities displayed without spaces causing text going out of the screen 2012-02-13 10:43:30 +08:00
Jerome Mouneyrac
e1cf6b4be2 MDL-29471 php warning when adding function to a new web service 2012-01-27 16:10:05 +08:00
Sam Hemelryk
bbcde38b33 Merged MDL-28126 with cleanup 2011-12-21 17:03:25 +13:00
Aparup Banerjee
3f14cf7f4e MDL-28126 webservice : resolved integration conflicts 2011-12-21 11:20:50 +08:00
Jerome Mouneyrac
94b9dad79d MDL-28126 webservices : should not able to create token if user is deleted,unconfirmed,suspended or guest. 2011-12-15 00:46:21 +08:00
Jerome Mouneyrac
f1f31c1d06 MDL-30140 alternative way to select user when adding a token. When more than 500 users we display a text box instead of a select box 2011-12-09 11:57:28 +08:00
Jerome Mouneyrac
af03513f93 MDL-30268 add 'Can download files' field to service 2011-11-16 11:51:03 +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
Eloy Lafuente (stronk7)
6e9cd6698e MDL-27723 whitespace cleanup of admin directory 2011-06-05 19:35:42 +02:00
jerome mouneyrac
9d1b6ea35c webservice MDL-25195 fix web service admin pages navigation bar/navigation 2010-11-16 07:45:31 +00:00
David Mudrak
136e69c40f MDL-24767 webservices logs use hard coded site id 1 instead of SITEID 2010-10-19 15:26:24 +00: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
jerome mouneyrac
fc0c3d6fbe webservice MDL-24372 manage token doesn't appear twice in the admin menu when create a new token 2010-10-06 02:25:32 +00:00
jerome mouneyrac
a089b8d131 webservice MDL-23438 do not create a token for a user if the service doesn't allow him 2010-09-24 07:06:47 +00:00
jerome mouneyrac
a44460b5ef webservice MDL-23438 do not create a token for a user if the service doesn't allow him 2010-09-24 07:05:39 +00:00
jerome mouneyrac
de55d4695e webservice MDL-24230 fix /admin/ into $CFG->admin + /lib/ into $CFG->libdir 2010-09-24 02:45:39 +00:00
Petr Skoda
a226a972f7 MDL-24321 switching to stdClass in /admin/ and / 2010-09-21 08:44:02 +00:00
jerome mouneyrac
ac73a3813a webservice MDL-23519 test client error message is not truncated anymore 2010-09-20 03:22:34 +00:00
Petr Skoda
eab8ed9fb7 fixed a few spelling errors in /admin/ 2010-09-17 10:27:26 +00:00
Petr Skoda
904fa9716d initialised object 2010-09-17 09:56:32 +00:00
jerome mouneyrac
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
jerome mouneyrac
206dd86100 webservice MDL-23471 fix XHTML strict issues + two XHTML strict issues related to the user selector form element and the admin_settings_heading class 2010-07-30 07:43:14 +00:00
jerome mouneyrac
6ce2b0d94b webservice MDL-23536 fix missing test when no missing capability 2010-07-28 02:27:07 +00:00
jerome mouneyrac
9c954e883b webservice MDL-21908 admin: use renderer into token pages + a bit of code cleaning 2010-07-27 03:53:55 +00:00
jerome mouneyrac
1d2a1936c5 webservice MDL-23341 function list page: display "no functions" message, a better title, and fix a css typo 2010-07-23 06:54:59 +00:00
jerome mouneyrac
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
jerome mouneyrac
c9d7390cc9 webservice MDL-23337 administration: once a new service is created go straigh to add functions page. 2010-07-20 06:20:00 +00:00
jerome mouneyrac
47ee1c356c webservice MDL-20808 added a link to the AMF test client 2010-07-16 02:39:25 +00:00
jerome mouneyrac
24a9a618d1 webservice MDL-23052 fix lang string on add service form 2010-07-02 08:38:49 +00:00
jerome mouneyrac
86dcc6f0a2 webservice MDL-21792 refactor webservice authorised users pages 2010-07-02 06:40:36 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
jerome mouneyrac
30a4fb1b97 webservice MDL-22562 add missing user profile custom fields to external create_users function + update test client 2010-05-25 03:44:29 +00:00
jerome mouneyrac
cddd252723 web service MDL-21351 list of selectabl users should not include deleted user 2010-04-21 06:30:50 +00:00
Petr Skoda
61ef8f9f88 MDL-20204 removing deprecated admin headers 2010-03-31 08:05:53 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
Jamie Pratt
2822f40ae2 MDL-21894 "move functionality to create a token into function in externallib.php so it can be used when creating tokens for embedded applications" also fixed MDL-21893 "Errors in code for checking capability when creating token for service with requiredcapability" which I came across while re 2010-03-22 14:20:18 +00:00
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00