138 Commits

Author SHA1 Message Date
Brendan Heywood
1fc0c4bd4e MDL-58439 admin: Ignore guest logins for all admin pages 2019-06-11 13:44:58 +10:00
Charles YVANES
458453cee0 MDL-29895 core: removed require_login() when not needed 2018-09-10 11:22:50 +02:00
Marina Glancy
2c1080ef77 MDL-60091 webservice: enhancements to WS test client 2017-10-16 14:59:51 +08:00
John Okely
ad2ae6e3db MDL-28574 webservices: Add new capability for managing all tokens 2017-07-31 09:55:04 +08:00
Jan Dageförde
0c62ca2563 MDL-28574 webservice: Allow admins to manage tokens created by others.
Until now, admins could only modify (or even see) tokens they have
created themselves. Tokens created by other users or even other admins
were invisible unless you were looking into the database. In case there
are former admins, their successors can be unable to inspect or delete
existing tokens.
2017-07-31 09:54:33 +08:00
Cameron Ball
f23e9b6ba4 MDL-49414 webservices: Remove deprecated functions 2016-04-27 15:54:38 +08:00
Simey Lameze
ac9768fc1b MDL-52781 core_user: replace direct PARAM_ usages.
This commit replace as much as possible of clean_param and PARAM_ usages related to user object.
Also few unit tests has been changed to match the new validation
2016-04-21 15:24:36 +08:00
Damyon Wiese
11c16f5fc8 MDL-53772 externallib: Deprecate external_function_info() 2016-04-14 15:07:41 +08:00
Cameron Ball
13ae7db2bb MDL-52210 webservices: Remove AMF webservice 2016-01-05 10:36:26 +08:00
Mark Nelson
05536ad165 MDL-49379 core_webservice: fixed ability to edit services 2015-03-04 01:36:45 -08:00
Botond Hegedus
f804524605 MDL-49198 core_webservice: Fix error when using existing service name 2015-02-17 23:13:36 -08:00
David Monllao
3c1aa6fdfb MDL-43535 webservices: Marking functions as deprecated
Also:
- We don't allow users to add deprecated functions to WS
- We show a debugging message when deprecated functions
  are already being used in web services.
2015-02-09 05:42:22 +08:00
Juan Leyva
eb625bcf64 MDL-29807 Fixed invalid add_record_snapshot references and also inexistent check of empty short names 2014-03-17 12:35:20 +01:00
Juan Leyva
0a8ab74728 MDL-29807 Control to avoid duplicate shortnames 2014-03-17 09:53:45 +01:00
Juan Leyva
b129859207 MDL-29807 Service add admin page: should be able to enter the unique shortname of a service 2014-03-17 09:53:45 +01:00
apsdehal
23f9ff903f MDL-41647 WebServices: Changed notification CSS class 2014-02-02 15:20:21 +05:30
Mark Nelson
626aec1e74 MDL-43215 core_webservice: retrieve all user name fields when adding a token 2013-12-04 20:56:25 -08:00
Frederic Massart
ee2df1a8b2 MDL-40050 webservice: Remove token from events 2013-10-02 13:00:28 +08:00
Frederic Massart
d733a8ccc3 MDL-40050 webservice: Replace add_to_log() with new events 2013-09-24 15:20:18 +08:00
Damyon Wiese
106c55fb9c MDL-22236 Webservice file upload - Allow webservice file uploads direct to a draft filearea.
Via post to /webservice/upload.php
2013-08-08 09:57:57 +08:00
Petr Škoda
bd3b3bba9f MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
Frederic Massart
a439b2f9b4 MDL-40465 libraries: Deprecate fetch_context_capabilities() 2013-07-11 14:33:25 +08:00
Sam Hemelryk
aae402010b Merge branch 'MDL-35666-master' of git://github.com/mouneyrac/moodle 2013-06-12 10:14:14 +12:00
Rajesh Taneja
ac31413e95 MDL-38851 Admin: Fixed setType notice for webservice 2013-04-24 11:18:30 +08:00
Jerome Mouneyrac
3f308ae916 MDL-35666 remove uninstall protocol option 2013-04-22 12:02:39 +08:00
Rajesh Taneja
9a51c3d95c MDL-36395: Converted hard-coded MAX_USER_PER_PAGE to config setting
course, cohort, enrol, role, groups and forum used to use hard-coded
MAX_USERS_PER_PAGE=100 for rendering user list. This has been converted
to $CFG->maxusersperpage.
2013-03-12 17:14:53 +08:00
Mark Nelson
26741e3e2f MDL-37275 webservices: ensure a webservice function is chosen before attempting to add to service 2013-01-18 15:34:33 +08:00
Sam Hemelryk
8422094d91 Merge branch 'MDL-35198' of git://github.com/mouneyrac/moodle 2012-10-16 11:23:24 +08:00
Tim Hunt
a957e97f2f MDL-34657 user sorting: minor niggles found while testing. 2012-09-27 17:44:38 +01:00
Tim Hunt
9695ff811b MDL-34657 user sorting: consistent sorting everywhere.
This commit coverts everything in the codebase to use the new
users_order_by_sql function when sorting lists of users. More details in
the bug.

Note that this does not change places where users are displayed in a
sortable table, and the sort order comes from the table.
2012-09-27 12:41:42 +01:00
Jerome Mouneyrac
12fc8acf5b MDL-35198 replace key_exists by array_key_exists 2012-09-26 15:20:18 +08:00
Dan Poltawski
0cbeea2b96 Merge branch 'MDL-34455-master-integration' of git://github.com/FMCorz/moodle 2012-07-24 16:01:00 +08:00
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