34514 Commits

Author SHA1 Message Date
stronk7
9d510a2ea0 MDL-13746 course shortname up to 100cc (applied to mnet_enrol_course) 2008-12-08 08:21:19 +00:00
dongsheng
20efad8b18 "MDL-17391, update repository instances when hide/show filepicker" 2008-12-08 07:34:46 +00:00
tjhunt
8a1b1c328d course categories: MDL-17502 when deleting a category and its contents, check moodle/course:delete capability.
* Note: this would never lead to problems with default role definions.
* Also ended up mostly rewriting delete_category_form to simplify the messages that are displayed.
* New helper function require_all_capabilities, a bit like require_any_capability.
2008-12-08 07:28:19 +00:00
dongsheng
fc11edbfa0 "MDL-17391, enable repository filter in html editor" 2008-12-08 06:53:58 +00:00
dongsheng
f956739ced "MDL-17391, use repository filter in forum module" 2008-12-08 05:23:31 +00:00
dongsheng
014c1ca037 "MDL-17391, filter repository intances by file types" 2008-12-08 05:19:09 +00:00
tjhunt
9136a60c46 course settings: MDL-17501 check for moodle/course:visibility in the course settings form.
1. If a user does not have that capability, don't let them change whether the course is visible.
2. Give teachers that capability by default.
3. To avoid regressions, on upgrade, give moodle/course:visibility to any role that has moodle/course:update.
2008-12-08 02:31:05 +00:00
moodlerobot
ca63c5fb14 Updated the HEAD build version to 20081208 2008-12-07 23:52:41 +00:00
moodlerobot
67ec2fa887 Automatic installer.php lang files by installer_builder (20081208) 2008-12-07 23:25:50 +00:00
skodak
fe197e66dc MDL-17519 - restore: preventing group member duplicates; merged from MOODLE_19_STABLE 2008-12-07 22:24:43 +00:00
piers
309ee0895b MDL-17115 - SCORM onload API checking. Hunt for the API. Matching part of the patch that fixes scorm version detection. 2008-12-07 22:22:51 +00:00
skodak
745c0ee508 MDL-17537 course request: shortname in course_request is now the same length as in course table - 100 chars 2008-12-07 22:13:39 +00:00
danmarsden
7325b01691 skip content structure page:MDL-11908: skip content structure page with multiple scos - if a teacher has set to skip, it should skip! - even with multiple scos. 2008-12-07 21:54:49 +00:00
skodak
fd01125fc2 MDL-17547 added missing param type; merged from MOODLE_19_STABLE 2008-12-07 21:32:01 +00:00
stronk7
d533ff3abe MDL-17545 activity names filter: Improve handling when name contains htmlentities() chars. Merged from 19_STABLE 2008-12-07 18:57:38 +00:00
stronk7
e6b3d18342 MDL-17518 resource names filter: Improve handling when name contains htmlentities() chars. Merged from 19_STABLE 2008-12-07 17:34:37 +00:00
moodlerobot
a4f2b684d6 Updated the HEAD build version to 20081207 2008-12-06 23:52:18 +00:00
skodak
826725329a MDL-15785 new options for enforcing of enrolment key commplexity and requirements 2008-12-06 21:20:42 +00:00
skodak
36641dd264 MDL-17372 fixed regression in 3rd party admin reports; merged from MOODLE_19_STABLE 2008-12-06 20:43:45 +00:00
skodak
cea67da005 MDL-11265 added shorter log retention periods and a warning that it might have some side effects 2008-12-06 17:44:57 +00:00
moodlerobot
ba3fb02e85 Updated the HEAD build version to 20081206 2008-12-05 23:52:18 +00:00
moodlerobot
62f8f6abf7 Automatic installer.php lang files by installer_builder (20081206) 2008-12-05 23:25:37 +00:00
tjhunt
77eddcd527 course request: MDL-9854 major cleanup to the course request code.
* Rewrite all the forms to use formslib and improve usability.
* Put the place where admins need to go to process approvals in the admin menu.
* Show the request course/pending requests button on the page for the category that requested courses get added to.
2008-12-05 08:56:54 +00:00
dongsheng
9442670781 TINYMCE, YOUTUBE/MDL-16650 2008-12-05 05:21:24 +00:00
tjhunt
4e6f553d43 quiz editing: MDL-15903 fix the code that updates $quiz->sumgrades,
so we only update the database when something changes, not on every page view.
2008-12-05 05:08:37 +00:00
tjhunt
ab652c35ee quiz settings: MDL-16781 Avoid concatenating and calling strtolower on language strings. 2008-12-05 04:20:26 +00:00
piers
f2c86f9445 MDL-17115 - SCORM onload API checking. Hunt for the API. 2008-12-05 03:19:56 +00:00
danmarsden
43f4e520be rename api.php file:MDL-17515: Moodle API will treat files called api.php in a special way.... 2008-12-05 02:50:17 +00:00
skodak
66e75f8d51 MDL-17491 experimental native oracle driver - still bugy and incomplete, this will require more core changes, grrrrrr 2008-12-05 00:10:27 +00:00
moodlerobot
eb966355ce Updated the HEAD build version to 20081205 2008-12-04 23:52:23 +00:00
moodlerobot
d650776391 Automatic installer.php lang files by installer_builder (20081205) 2008-12-04 23:25:39 +00:00
skodak
995821591d MDL-17534 simpletest: temporary fix for exception problems 2008-12-04 23:19:37 +00:00
skodak
9d833e931c MDL-17522 improved dml tests, fixed use of reserved word "number" 2008-12-04 23:16:35 +00:00
exe-cutor
2db6ec1946 Merged Shibboleth logout support from 1.9 stable 2008-12-04 16:28:42 +00:00
pichetp
636bbc8728 MDL-17524 Deleting a calculated question delete datasetdefinitions shared by other question
} missing...
2008-12-04 16:04:48 +00:00
pichetp
57db70affb MDL-17524 Deleting a calculated question delete datasetdefinitions shared by other question 2008-12-04 15:56:01 +00:00
pilpi
74c640b3a7 quiz editing: MDL-17409 converted string to use $a
created new string
2008-12-04 15:53:30 +00:00
pilpi
5af1b21ab2 quiz editing: MDL-17409 converted strings to use $a
converted concatenation to use $a instead for new (committed with the rest of Quiz UI redesign project) strings, created new strings for old strings that did not yet use $a
2008-12-04 15:13:22 +00:00
skodak
0055221839 MDL-17522 no db specific tests - they all must work the same! 2008-12-04 15:06:28 +00:00
pilpi
923602a056 quiz editing: MDL-17409 added some rtl CSS for the new quiz editing UI 2008-12-04 13:28:55 +00:00
pilpi
3e6ad1d7a4 quiz editing: MDL-17409 removed ":" from source
removed ":" from source where they occured with new (committed with the rest of Quiz UI redesign project) strings and changed the strings accordingly
2008-12-04 13:28:20 +00:00
samulik
7e2d412d0a course import: MDL-17497 PHP was running out of memory if a category had a lot of courses. Now get_courses only fetches course id and fullname (merge from 19_STABLE) 2008-12-04 12:23:12 +00:00
skodak
3ff8bf266b MDL-17522 improved dml tests, fixed sql LIMIT support in native drivers 2008-12-04 11:52:53 +00:00
tjhunt
8ed5dd63ee course categories: Fix many bugs with category editing and permissions. Clean up code.
Bugs: MDL-17479, MDL-16426, MDL-16063, MDL-16013, MDL-15658, MDL-15556, MDL-15161, MDL-14925, MDL-13742, MDL-11557.

* Simplify category editing permissions to just moodle/category:manage and moodle/category:seehiddencategories.
* Enforce those correctly. (Note MDL 17502 is still outstanding.)
* Don't screw up category sort order when you just edit name or description.
* Niceties like where redirects go when you cancel or submit forms.
* Make sure a global course creator can see the site admin block.
* Don't allow a category to be made the child of one of its children!
* General code cleanup to bring key files more in line with best pracitice.

Apologies for the fact it is one big patch, rather than a series of smaller patches. However, categoryedit.php, category.php and index.php where in pretty bad shape and needed significant cleaning up. categoryedit.php, in particular, was almost completely rewritten.

Merged from MOODLE_19_STABLE.
2008-12-04 08:53:10 +00:00
dongsheng
4faace3781 "MDL-17448, fix assignment due time, merged from 1.9" 2008-12-04 08:17:24 +00:00
piers
b86aa44854 MDL-17310 - Fixup an issue with relative directory paths. Thanks Jonathan. 2008-12-04 03:25:43 +00:00
moodlerobot
543f7283a7 Updated the HEAD build version to 20081204 2008-12-03 18:30:13 +00:00
moodlerobot
9a421fe3b3 Automatic installer.php lang files by installer_builder (20081204) 2008-12-03 18:00:36 +00:00
ericmerrill
62097c91ed weblib: MDL-16293: background-color attribute stripped from html. Adding 'background-color' attribute to $ALLOWED_PROTOCOLS array so kses doesn't drop it. 2008-12-03 16:31:49 +00:00
tjhunt
2aa3baedc7 capability report: MDL-17410 did not work if a capability was not set anywhere.
Change it so that the system context is always shown.
2008-12-03 02:40:17 +00:00