skodak
7ee4f7c57b
MDL-19288 fixed one more incorrect use of array_shift() which breaks array keys - thanks Colin Campbell
2009-05-24 07:23:34 +00:00
fmarier
876a50f509
MDL-19179 cache superfluous queries when listing categories on front page
2009-05-14 04:03:32 +00:00
skodak
c5c5f5376c
MDL-18311 fixed magic quotes trouble when moving courses
2009-05-08 21:05:18 +00:00
mjollnir_
e0eb5d21f5
fix for MDL-19110
...
Author: Adrian Schlegel <adrian@liip.ch >
2009-05-08 14:26:17 +00:00
nicolasconnault
0d21fc03a3
MDL-10201 Wrapping label text in a span instead of div, and giving it a class so that it can be found by hide/show AJAX code
2009-05-07 09:44:07 +00:00
skodak
45c3dd8fce
MDL-18124 course creators can not delete any courses in their category any more, only those they created at most one day ago
2009-05-04 19:56:04 +00:00
sam_marshall
786eed65f9
MDL-18768: Limited size of context and modinfo caches to avoid memory problems with code that loops through many courses, also changed forum role_assign to use recordset for all-courses loops
2009-04-06 09:49:40 +00:00
skodak
d370403233
MDL-18785 configurable FRONTPAGECOURSELIMIT ; backported from HEAD
2009-04-05 19:21:12 +00:00
dongsheng
7bbe53f402
"MDL-17747, add max category depth setting"
2009-01-14 04:47:21 +00:00
tjhunt
83b238f9b8
accesslib: MDL-17626 delete_course_module should call delete_context.
2009-01-09 05:32:16 +00:00
skodak
93eceb28d2
MDL-17799 proper log url sanitisation - big thanks to Full Name hacker ;-) backported from HEAD
2009-01-07 23:01:30 +00:00
sam_marshall
7acc360f7c
MDL-17556: Improve performance of get_fast_modinfo when courses have many activities
2008-12-17 12:40:09 +00:00
tjhunt
9af88f530b
course search: MDL-10801 Search terms were not being highlighted consistently in the results.
2008-12-11 10:47:57 +00:00
tjhunt
5d922e47f7
course request: MDL-17575 and MDL-6160 further improvements:
...
1/ email notification when course requested
2/ course request capability so that we can limit who can request new course
3/ list of my pending course requests on the request form
Implemented in 1.9 by Petr Skoda, and reviewed and merged to HEAD by me.
2008-12-10 02:57:51 +00:00
skodak
ef232b4294
MDL-17502 oops, I have overlooked Tim already fixed this - sorry
2008-12-09 16:34:37 +00:00
skodak
16d3155e4e
MDL-17502 accesslib: added warning if incorrect parameters supplied to has_all_capabilities() and fixed parameters in course lib code; backported from HEAD
2008-12-09 16:26:16 +00:00
tjhunt
248be37230
course categories: MDL-17502 followup. Fix notices. I'm sure I remember writing this code yesterday!
2008-12-09 09:27:17 +00:00
tjhunt
02d92a5513
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:04 +00:00
tjhunt
7f2e6a23a9
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:57:06 +00:00
tjhunt
79518165b9
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.
2008-12-04 08:49:47 +00:00
skodak
22a987837c
MDL-17463 - reparate capabilities for course and admin reports; backported from HEAD
2008-11-29 14:30:55 +00:00
tjhunt
ac9c42de1f
course settings: MDL-16327 when creating a course, the role renames were not saved.
2008-11-13 08:21:47 +00:00
poltawski
8b21237fd4
MDL-16434 fix typo in class name "generalbox"
...
thanks to Joseph Rézeau
2008-10-09 10:51:06 +00:00
nicolasconnault
1b52625473
MDL-12198 Fixed ordering of sections
2008-10-08 12:13:39 +00:00
stronk7
f2e8a852b2
Respect role names for logged students. MDL-16569. Credit goes to Otakar Šprdlík
2008-09-18 15:13:34 +00:00
stronk7
e644988f14
XHTML-ize course categories list. MDL-16358
2008-09-08 18:13:57 +00:00
skodak
a6017978a2
MDL-13353 Course page does not validate when a lable containing <p> tags is hidden
2008-07-26 11:35:23 +00:00
nicolasconnault
5bab878c29
MDL-12198 Fixing the ajax reordering problem with a new method.
2008-07-18 14:00:56 +00:00
moodler
fa2b5a6add
MDL-15601 Basic checking to avoid some notices
2008-07-10 08:50:00 +00:00
skodak
2959f8b18e
MDL-9983, MDL-13998, MDL-15552 core events related cleanup and potential sql injection problem fixed; please note the changes are not backwards compatible, 3rd party code will need to be updated - sorry for the trouble
2008-07-06 17:55:54 +00:00
skodak
2b032990bf
MDL-15420 fixed commented out continue which was causing leaks of info about hidden activities ;-)
2008-07-05 13:19:32 +00:00
thepurpleblob
0c4c41bd80
MDL-14832
...
Don't show a user name more than once. Only show them in the
most 'senior' role.
2008-05-21 12:02:08 +00:00
skodak
c72350373c
MDL-14378 When deleting course category deal with everything that depends on its context
2008-05-13 22:03:40 +00:00
skodak
ade1ee0deb
MDL-14378 When deleting course category deal with everything that depends on its context
2008-05-13 21:51:46 +00:00
tjhunt
247fa07654
MDL-14797 - Error when moving a course to an empty category on Postgres
2008-05-12 10:44:38 +00:00
stronk7
a8293dd818
Reverting to previous revision. MDL-14668
2008-05-07 18:27:09 +00:00
dongsheng
f1bd861709
"MDL-14668, fix course full name in activity reports, see tracker"
2008-05-07 02:58:44 +00:00
skodak
967e19d6a0
MDL-14621 fix warning when module code missing and editing course; backported from HEAD
2008-04-30 12:40:25 +00:00
skodak
4a440d90b6
MDL-14621 modinfo ignores missing modules now properly; backported from HEAD
2008-04-30 12:34:33 +00:00
skodak
fcfd2e8a45
MDL-14621 fixed warning when module code missing; backported from HEAD
2008-04-30 12:25:52 +00:00
skodak
8e6f40259c
MDL-14475 initialised $hideshow
2008-04-25 14:01:23 +00:00
dongsheng
4d4dc7bf1d
MDL-14460, fix get_context_instance
2008-04-24 08:35:47 +00:00
scyrma
5159864bc6
MDL-3381 - Remove all remaining core calls to ctype_* functions in 1.9, and make ctype required for 2.0.
2008-04-24 03:01:30 +00:00
skodak
474ade7a7d
MDL-14113 patch for multiple issues - see tracker for subtasks
2008-04-13 19:10:35 +00:00
dongsheng
37fb4b6c7f
MDL-10735, fix worksheet name, thanks our patch Mitsuhiro Yoshida
2008-04-11 05:45:59 +00:00
moodler
3a23d626f3
MDL-14293 Fixed uninitialised $status variable
2008-04-10 03:33:47 +00:00
dongsheng
96eb0bd743
MDL-14079, improve UI consistency
2008-04-08 03:47:59 +00:00
dongsheng
8ccbb75512
MDL-14079, add "Hidden" string after the hidden teacher, thanks Mathieu
2008-04-04 06:40:34 +00:00
dongsheng
bc673426bd
MDL-10606 Corrected course search box id
2008-03-25 01:23:16 +00:00
skodak
567c3be0a2
MDL-13986 "User view" Activity report links are invalid - patch by Matthew Davidson
2008-03-19 22:46:48 +00:00