55 Commits

Author SHA1 Message Date
Matt Porritt
6abfde47dc
MDL-77355 Web services: add function class not found
Fixes a regression caused by MDL-76583 That prevents functions
being added to new or existing external services.
2023-04-06 11:46:35 +01:00
David Mudrák
db723ad066 MDL-67748 admin: Move the web service token form to its own file 2021-03-15 21:21:43 +01:00
sam marshall
558cc1b85e MDL-45242 Lib: Replace calls to deprecated functions
In all cases changes have been kept to a minimum while not making
the code completely horrible. For example, there are many instances
where it would probably be better to rewrite a query entirely, but
I have not done that (in order to reduce the risk of changes).
2021-03-10 10:57:10 +00:00
Damyon Wiese
11c16f5fc8 MDL-53772 externallib: Deprecate external_function_info() 2016-04-14 15:07:41 +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
Mark Nelson
626aec1e74 MDL-43215 core_webservice: retrieve all user name fields when adding a token 2013-12-04 20:56:25 -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
Frederic Massart
a439b2f9b4 MDL-40465 libraries: Deprecate fetch_context_capabilities() 2013-07-11 14:33:25 +08:00
Rajesh Taneja
ac31413e95 MDL-38851 Admin: Fixed setType notice for webservice 2013-04-24 11:18:30 +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
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
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
Eloy Lafuente (stronk7)
75c386d4b2 MDL-32786 E_STRICT: fix warning when creating a new service. 2012-05-04 12:44:10 +02: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
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
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
eab8ed9fb7 fixed a few spelling errors in /admin/ 2010-09-17 10:27:26 +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
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
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
jerome mouneyrac
64e2ed74e2 webservice MDL-21351 Create service page: required capability is now in a show advanced section 2010-02-12 08:10:23 +00:00
jerome mouneyrac
a7e2d6fef9 webservice MDL-21351 add a help icon to required capability option (when create/edit a service) 2010-01-22 03:39:30 +00:00
jerome mouneyrac
8399c714d7 webservice MDL-21351 remove Save Changes button from token/service/protocol page, relabel some Save Changes button into more explicit label, add help text to service page 2010-01-20 10:01:03 +00:00
jerome mouneyrac
3a17a7a352 webservice MDL-21351 add function page: use multiple searchable selector 2010-01-20 02:44:19 +00:00
jerome mouneyrac
1768ae5b8e webservice MDL-20805 fix sql column naming 2010-01-14 08:43:08 +00:00
jerome mouneyrac
d69f5012c9 webservice MDL-20805 fix sql column naming 2010-01-14 08:40:32 +00:00
jerome mouneyrac
42f5012075 webservice MDL-20805 change NOT IN for NOT EXISTS 2010-01-13 11:17:21 +00:00
jerome mouneyrac
81c2a98750 webservice MDL-20805 change NOT IN for NOT EXISTS 2010-01-13 11:15:31 +00:00
jerome mouneyrac
7614f4f327 webservice MDL-20805 readd the ORDER BY varchar (cross-db) 2010-01-13 11:09:31 +00:00
jerome mouneyrac
49af1c558b webservice MDL-20805 remove the ORDER BY text (not cross-db) 2010-01-13 11:01:06 +00:00
jerome mouneyrac
f692098303 webservice MDL-20805 fix sql request so return only unique ID 2010-01-13 10:51:15 +00:00
jerome mouneyrac
5eacbd4be4 webservice MDL-20805 added token creation page in user profil (with service required capability check and moodle/webservice:createtoken capibility check) 2010-01-12 10:34:52 +00:00
jerome mouneyrac
15e417fe1f webservice MDL-20805 added token creation page 2010-01-11 08:23:39 +00:00
Petr Skoda
a591d38765 MDL-20700 coding style - new sloppy trailing whitespace fixed 2009-11-09 10:11:48 +00:00