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
skodak
826725329a
MDL-15785 new options for enforcing of enrolment key commplexity and requirements
2008-12-06 21:20:42 +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
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
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
skodak
7dfd669a03
MDL-11261 setting hidden user lastaccess now works on outline report
2008-12-01 20:02:12 +00:00
skodak
3c7da16d2d
MDL-17485 roles: fixed use and definition of review use of moodle/user:viewuseractivitiesreport
2008-12-01 19:19:29 +00:00
skodak
96cdaa4044
MDL-11259 stats report: do not show links to logs if not having required capability
2008-11-30 21:33:58 +00:00
skodak
358e2a0bd2
MDL-17464 profile reports are now respecting course report caps
2008-11-30 12:04:27 +00:00
skodak
0d13085755
MDL-17463 chnging progress report cap to new standard
2008-11-29 16:41:20 +00:00
skodak
e0f81e94a6
MDL-17465 - separate live log capability adn admin tree link
2008-11-29 16:15:40 +00:00
skodak
a2e4bf7f23
MDL-17463 - reparate capabilities for course and admin reports
2008-11-29 14:22:10 +00:00
skodak
95f0446147
MDL-17372 course reports: Added full plugin support for course reports
2008-11-27 20:30:14 +00:00
skodak
828a673d9d
MDL-15262 fixing previous incorrect merging
2008-11-26 09:05:04 +00:00
sam_marshall
9a5a069450
MDL-17275: Completion system - needs reload if you use Back button to return to page after changing ticks
2008-11-18 14:45:13 +00:00
tjhunt
692103a2a5
Let any table have rotated text in its headers. Stolen from sam's activity completion report.
2008-11-18 10:17:27 +00:00
tjhunt
d8133c0564
Fix require_js call.
2008-11-18 08:18:24 +00:00
tjhunt
633918543a
Trim trailing whitespace.
2008-11-18 08:13:26 +00:00
tjhunt
9101efd312
cleanup: MDL-17083 Remove the old teacher, teachers, student and students columns from the course table.
...
For something that has been deprecated for over two years, they were still used in a lot of places!
2008-11-13 08:40:57 +00:00
tjhunt
bef12c997a
course settings: MDL-16327 when creating a course, the role renames were not saved.
2008-11-13 08:11:10 +00:00
jerome
c8271c87dc
activities search: MDL-13987 remove AS from SQL, merged from 19
2008-11-11 07:56:55 +00:00
jerome
e48580bdcc
MDL-13987: fix navigation links for Activities Administration page: check that the course list is not empty, merged from 19
2008-11-07 05:40:20 +00:00
jerome
d0b7da6966
MDL-13987: fix navigation links for Activities Administration page, merged from 19
2008-11-07 05:34:42 +00:00
sam_marshall
dbb8902e51
MDL-17153: Completion system - minor text change for accessibility
2008-11-06 17:29:07 +00:00
skodak
c765b6b73f
fixed my silly typo from db conversion
2008-11-02 21:37:41 +00:00
tjhunt
7b553c8b58
course editing: MDL-17066 Assign roles icon next to activities when editing is on does not have a tool-tip
2008-10-30 03:00:20 +00:00
skodak
9b0e2d6652
fixed syntax error ;-)
2008-10-24 17:54:58 +00:00
sam_marshall
35da0e8768
MDL-17003: Completion progress report needs paging system as large reports can kill browser
2008-10-24 16:20:37 +00:00
sam_marshall
fe94025d69
MDL-15498 Minor display bug with completion progress report
2008-10-24 10:12:33 +00:00
skodak
0143840c10
MDL-14972 groupings and groupmembers only help icons; merged from MOODLE_19_STABLE
2008-10-13 22:43:26 +00:00
skodak
cc44433620
MDL-16839 forms: workaround for problematic hard frozen values; merged from MOODLE_19_STABLE
2008-10-13 19:39:27 +00:00
nicolasconnault
7a90f48c38
MDL-15262 Merging from MOODLE_19_STABLE
2008-10-13 12:47:57 +00:00
poltawski
38dc85bf1f
MDL-16434 fix typo in class name "generalbox"
...
thanks to Joseph Rézeau
2008-10-09 10:51:57 +00:00
skodak
01bc9ff156
MDL-15262 using hardFreeze instead of static, because we need this info to b returned from form; the new change* caps are not in effect when adding new courses - merged from MOODLE_19_STABLE + fixed regression in coursename/shortname automatic numbering
2008-10-08 20:56:38 +00:00
nicolasconnault
6e2eaae0e6
MDL-15262 Instead of removing these form fields entirely, rendering them as static form elements. Merging from MOODLE_19_STABLE
2008-10-08 13:40:42 +00:00
nicolasconnault
f7c0d84b87
MDL-15262 Added 3 new capabilities without changing defaults, as suggested by Matt. Merged from MOODLE_19_STABLE
2008-10-08 13:23:35 +00:00
nicolasconnault
ca255392e2
MDL-12198 Fixed ordering of sections, Merging from MOODLE_19_STABLE
2008-10-08 12:22:04 +00:00
skodak
d7531392f7
MDL-15431 User icon and Guest icon mixed up on compressed Course list; merged from MOODLE_19_STABLE
2008-10-06 22:29:36 +00:00
tjhunt
16851b22ad
MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html
2008-09-25 10:04:01 +00:00
jerome
cfec045442
MDL-12846: move course default settings into config_plugin table
2008-09-25 07:33:22 +00:00
tjhunt
80f69dc0ee
MDL-16676 All references to the text.html and emoticons.html files need to be updated to point to text2.html and emoticons2.html
2008-09-25 07:12:46 +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
jerome
eb1b95976f
MDL-12846: add course default settings page
2008-09-25 02:31:26 +00:00
dongsheng
9b34dc6e75
"MDL-14129, fix hardcoded print_error"
2008-09-25 02:09:49 +00:00
tjhunt
7264519e3f
MDL-16583 - Clean up some fo the places we link to javascript files, to use require_js
2008-09-23 07:00:59 +00:00
stronk7
165d25cc35
Respect role names for logged students. MDL-16569 ; merged from 19_STABLE.
...
Credit goes to Otakar Šprdlík
2008-09-18 15:16:02 +00:00
tjhunt
c215d9d4f2
XHTML Strict!
2008-09-18 08:21:57 +00:00
nicolasconnault
b9c639d6c2
MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class.
2008-09-16 12:19:43 +00:00
stronk7
a682f0c2c3
XHTML-ize course categories list. MDL-16358 ; merged from 19_STABLE
2008-09-08 18:16:39 +00:00
skodak
878af9ade6
MDL-14679 DML conversion regression
2008-09-02 22:20:35 +00:00