Commit graph

811 commits

Author SHA1 Message Date
tjhunt
e63f88c9a6 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
and $CFG->modpixpath to $OUTPUT->mod_icon_url
2009-07-02 12:07:58 +00:00
tjhunt
6b608f8f50 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 10:53:31 +00:00
sam_marshall
e3568fde9c MDL-19692: Improvement to help icon for completion tickboxes, based on user testing 2009-07-02 09:18:26 +00:00
skodak
fc29e51b2d MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 18:34:43 +00:00
skodak
bb4b6010f3 MDL-18293 removed obsoleted checking of return values from insert and update_record + unused strings cleanup 2009-06-13 17:17:10 +00:00
tjhunt
c679c3582a Fix some fallout from the pagelib changes. 2009-06-12 11:56:30 +00:00
skodak
73efeff61b MDL-19119 moving get_fast_modinfo() to moodlelib.php - the recent changes related to inclusion of course/lib.php were causing regressions 2009-05-17 18:45:00 +00:00
fmarier
dc247e5232 MDL-19179 cache superfluous queries when listing categories on front page 2009-05-14 06:04:35 +00:00
mjollnir_
00f270bc6c fix for MDL-19110
Author: Adrian Schlegel <adrian@liip.ch>
2009-05-08 14:24:56 +00:00
tjhunt
1d00ec6a6a blocklib: MDL-19010 finally fix the regressions that mean that you could not create a new course. 2009-05-08 03:11:24 +00:00
tjhunt
830dd6e9cd moodle_page: MDL-12212 reimplement user_is_editing, deprecate isediting 2009-05-06 08:59:29 +00:00
skodak
8b449a3958 MDL-18124 course creators can not delete any courses in their category any more, only those they created at most one day ago; merged from MOODLE_19_STABLE 2009-05-04 19:56:32 +00:00
sam_marshall
e8e509865e MDL-17816: Changes to the way availability conditions are displayed when viewing course 2009-04-17 11:07:59 +00:00
sam_marshall
3982f0f87d MDL-17816: Minor whitespace fixes before I work on the actual bug 2009-04-17 10:22:56 +00:00
sam_marshall
52dbbcf665 MDL-17816: Minor whitespace fixes before I work on the actual bug 2009-04-17 10:20:44 +00:00
tjhunt
d91a4be06d Coding stype cleanup 2009-04-16 08:59:23 +00:00
jerome
a3a1708f63 category MDL-18876 replace error notice by exception, move success notice into index.php 2009-04-16 07:48:34 +00:00
sam_marshall
4d10247fdb 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:48:39 +00:00
fmarier
c93dae38f0 mod/resource: MDL-18641 ability for resource type plugins to specify their own icon 2009-04-03 01:13:42 +00:00
jerome
a0c30e1b00 web service MDL-12886 merged Pigui's Team work on course external file + some refactoring 2009-04-02 06:59:14 +00:00
jerome
71b77297a9 web service MDL-12886 add standard Course web service functions 2009-03-20 06:53:03 +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
skodak
90ee78e21c MDL-18293 removing unused error strings (now replaced by exceptions) 2009-02-17 16:33:32 +00:00
sam_marshall
a343b13f59 MDL-17915: Conditional activities do not update when you change manual activity completion using an AJAX tickbox- 2009-01-15 17:09:02 +00:00
dongsheng
beeee4d21d "MDL-17747, add max category depth setting, merged from 1.9" 2009-01-14 04:48:22 +00:00
tjhunt
06b3a6b297 accesslib: MDL-17626 delete_course_module should call delete_context. 2009-01-09 05:32:08 +00:00
skodak
11003188a9 MDL-17799 proper log url sanitisation - big thanks to Full Name hacker ;-) 2009-01-07 23:00:59 +00:00
skodak
d4a1fcaf11 MDL-16613 sesskey cleanup 2009-01-02 10:36:25 +00:00
skodak
d1aa1e4855 MDL-17758 fixed hardcoded /admin/ links 2009-01-01 14:25:29 +00:00
sam_marshall
4a087123c6 MDL-17695 Added accessible text to dimmed activities. (Also bugfix for MDL-15499) 2008-12-19 10:59:36 +00:00
sam_marshall
85f55ba239 MDL-17695 Added accessible text to dimmed activities. (Also bugfix for MDL-15499) 2008-12-19 10:51:33 +00:00
sam_marshall
00653161b5 MDL-17556: Improve performance of get_fast_modinfo when courses have many activities 2008-12-18 17:52:29 +00:00
sam_marshall
82bd6a5ea9 MDL-15499: Conditional availability of activities 2008-12-17 16:37:35 +00:00
tjhunt
04c5310674 course search: MDL-10801 Search terms were not being highlighted consistently in the results. 2008-12-11 10:47:48 +00:00
tjhunt
e452210a18 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:41 +00:00
skodak
fa11779376 MDL-17502 oops, I have overlooked Tim already fixed this - sorry; merged from MOODLE_19_STABLE 2008-12-09 16:35:28 +00:00
skodak
3ce50127b9 MDL-17502 accesslib: added warning if incorrect parameters supplied to has_all_capabilities() and fixed parameters in course lib code 2008-12-09 16:25:38 +00:00
tjhunt
18af228bf2 course categories: MDL-17502 followup. Fix notices. I'm sure I remember writing this code yesterday! 2008-12-09 09:27:25 +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
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
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
a2e4bf7f23 MDL-17463 - reparate capabilities for course and admin reports 2008-11-29 14:22:10 +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
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
poltawski
38dc85bf1f MDL-16434 fix typo in class name "generalbox"
thanks to Joseph Rézeau
2008-10-09 10:51:57 +00:00
nicolasconnault
ca255392e2 MDL-12198 Fixed ordering of sections, Merging from MOODLE_19_STABLE 2008-10-08 12:22:04 +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
stronk7
a682f0c2c3 XHTML-ize course categories list. MDL-16358 ; merged from 19_STABLE 2008-09-08 18:16:39 +00:00
skodak
d857e8b627 MDL-16223, MDL-16222 - module context now available in xxx_add_instance() module method and $mform is passed as second parameter; $cm is updated/inserted before the activity insert/update hook; other related refactoring and cleanup; error string improvements 2008-08-27 16:33:50 +00:00
sam_marshall
5c168a031e MDL-15498: Completion system, help buttons aren't supposed to show when editing 2008-08-22 15:46:30 +00:00