288 Commits

Author SHA1 Message Date
tjhunt
cf6155226c ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.

There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.

get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.

Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.

All that remains is to update all the places in core code that are
still using require_js.

(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
samhemelryk
558fce9c88 Groups MDL-19425 Added require_once that was missing 2009-06-08 05:54:18 +00:00
jerome
d0977acf53 web service MDL-12886 remove tmp prefix 2009-03-16 07:58:30 +00:00
jerome
8a948bfc9a web service MDL-12886 restrict return type for get_groupmembers 2009-03-16 05:54:28 +00:00
jerome
0d4723ee62 web service MDL-12886 check that a user is a course participant before to add it to a group 2009-03-13 06:51:30 +00:00
jerome
499dc41e9f web service MDL-12886 remove single operation group functions (=> our REST clients/server won't work till our REST implementation supports array) 2009-03-09 05:27:37 +00:00
jerome
9c000a991f web service MDL-12886 if the groupid doesn't exist, groups_remove_member and groups_add_member return now exception (not a boolean as before) 2009-03-09 04:49:50 +00:00
jerome
2061e59c45 web service MDL-12886 Add unit tests for Group web service functions. 2009-03-09 02:19:38 +00:00
skodak
6edfb4c848 MDL-18407 fixed dml regression 2009-03-01 21:03:38 +00:00
jerome
6fcd56724c web service MDL-12886 documentation: check if "Display debug messages" is set Off 2009-02-27 01:01:34 +00:00
jerome
839bd5a204 web service MDL-12886 documentation: better display, test if web services are enable, display return type 2009-02-26 08:18:28 +00:00
jerome
437d9ff54c web service MDL-12886 modify phpdoc for group_external class 2009-02-24 08:26:25 +00:00
jerome
40f024c9f3 web service MDL-12886
* Remove description array => all these information are now into the phpdoc. Remove all call/reference to moodleexternal.php
* Adapt our own REST server to these changes
* Remove Zend REST server as it's going to be deprecated in Zend Framework 1.8
* Remove our own SOAP server as we use the Zend SOAP server
2009-02-24 05:11:04 +00:00
skodak
5e2f308b91 MDL-18293 exception and DML cleanup 2009-02-17 16:50:36 +00:00
skodak
b25263ffa1 MDL-18293 exception cleanup 2009-02-17 16:44:48 +00:00
pigui
39b99c6af5 commiting delete groupmember function
MDL-12886
2009-02-03 15:48:17 +00:00
pigui
bec1878021 commiting delete group function
MDL-12886
2009-02-03 12:50:00 +00:00
pigui
8011f73f90 uploading get_group (by id) function
MDL-12886
2009-02-03 12:40:44 +00:00
pigui
8805a4f74d Adding create_group and add_groupmember functions
MDL-13142
MDL-13139
2009-01-30 11:46:11 +00:00
skodak
9e1bb31035 MDL-17724 fixed group/grouping renaming now allows case change 2008-12-29 21:32:20 +00:00
dongsheng
60e40dda6c "MDL-14129, remove the rest error() in moodle2" 2008-12-12 04:53:32 +00:00
skodak
826725329a MDL-15785 new options for enforcing of enrolment key commplexity and requirements 2008-12-06 21:20:42 +00:00
tjhunt
6cab02ac52 user selection: MDL-16993 Convert the assign roles page to use the new components.
At the same time, I took the opportunity to try to work on some of the usability issues on this page. Note that I have not quite finished! So don't comment until tomorrow.

In the course of doing this, I also did: half of

MDL-11529 Show the number of assignees of each role in the change role dropdown on this page.
MDL-17067 Make it clear in the UI that admins are not allowed to unassign themselves.
2008-10-30 10:49:15 +00:00
tjhunt
aa9671c990 user selection: MDL-16966 Improve some of the wording. 2008-10-29 09:10:41 +00:00
tjhunt
9787301687 user selection: MDL-16994 Improve the user selector used on the assign roles and group memebers pages - Convert the group memebership page. 2008-10-29 08:18:24 +00:00
tjhunt
f1303e9262 Fix whitespace. 2008-10-29 05:50:03 +00:00
sam_marshall
f6eece19f7 MDL-16756: Groups bugfixes and multiple select support for deletion 2008-10-24 13:31:49 +00:00
nicolasconnault
75816bbb91 MDL-16784 removing require_once 2008-10-24 06:40:27 +00:00
nicolasconnault
0addb36648 MDL-16898 Extending include_path Merging from MOODLE_19_STABLE 2008-10-16 11:18:02 +00:00
nicolasconnault
1e074660da MDL-16780 Merging from MOODLE_19_STABLE 2008-10-03 07:13:16 +00:00
poltawski
0c0e87f8cf Group overview displays incorrect user count
When there are no users in a group, the count displays
as 1 - MDL-16705
2008-10-02 15:40:23 +00:00
tjhunt
ac324e05ea MDL-16675 change callers to require_js to take advantage of the fact that callers no longer have to add $CFG->wwwroot themselves. 2008-09-25 06:40:52 +00:00
skodak
172dd12c63 MDL-14589 initial file storage implementation, temporary file manager, migration of course files; blog conversion MDL-15905; assignment conversion MDL-15904; fromslib related file improvements MDL-15906 2008-07-31 22:15:30 +00:00
skodak
09803dfcb0 MDL-15809 fixed js errors on group members page; merged from MOODLE_19_STABLE 2008-07-24 11:41:06 +00:00
dongsheng
d3789c64dd MDL-14932, improve accessibility in group assigning and role assigning pages. 2008-07-11 03:48:49 +00:00
skodak
ffc670d931 MDL-9983 role_unassign should not touch group members table directly - we need events; merged from MOODLE_19_STABLE 2008-07-06 22:54:46 +00:00
skodak
2942a5cd34 MDL-9983, MDL-13998 core events related cleanup; merged from MOODLE_19_STABLE 2008-07-06 17:57:06 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
3264868249 MDL-14679 removed magic quotes from forms validation() method, fixed some minor problems 2008-06-01 17:53:25 +00:00
skodak
dfdaabd6a8 MDL-14679 towards /group conversion 2008-06-01 13:09:04 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
dongsheng
b121a4eed9 "MDL-14129, fix print_error" 2008-05-14 06:15:56 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
aceb739d2c MDL-13811 p() can not be used to print html text, it does plaintext only or form values & button names; merged from MOODLE_19_STABLE 2008-03-19 10:47:16 +00:00
moodler
87486420a5 Merged MDL-13676: last-minute field change to fix an Oracle problem 2008-02-29 08:44:23 +00:00
moodler
739f202752 Merged MDL-12294 FIxed some wrong string 2008-02-26 08:07:39 +00:00
sam_marshall
3540f2b35c MDL-13045: Made groups UI use role name aliases 2008-01-18 11:03:00 +00:00
skodak
325c194a6f MDL-11072 sort groupings alphabetically; merged from MOODLE_19_STABLE 2008-01-18 10:49:59 +00:00
skodak
3980c306b1 MDL-11759 group edit cleanup; merged from MOODLE_18_STABLE 2008-01-18 10:16:39 +00:00
sam_marshall
e254aa344c MDL-12991 Updated groups UI so that it categorises members and potential members into roles (Teacher, Student, etc) 2008-01-17 11:28:54 +00:00