Commit Graph

590 Commits

Author SHA1 Message Date
skodak 59a7889975 MDL-14378 When deleting course category deal with everything that depends on its context; merged from MOODLE_19_STABLE 2008-05-13 22:04:06 +00:00
skodak e2b347e933 MDL-14378 When deleting course category deal with everything that depends on its context; merged from MOODLE_19_STABLE 2008-05-13 21:52:38 +00:00
tjhunt d4e5675c00 MDL-14797 - Error when moving a course to an empty category on Postgres 2008-05-12 10:44:44 +00:00
stronk7 bf221acaef Reverting to previous revision. MDL-14668 ; merged from 19_STABLE 2008-05-07 18:28:59 +00:00
dongsheng ba6018a902 "MDL-14129, fix print_error call under course/, see tracker" 2008-05-07 06:02:51 +00:00
dongsheng c1ec736afd "MDL-14668, fix course full name in activity reports, see tracker" 2008-05-07 02:59:36 +00:00
skodak 0f56c9da08 MDL-14621 fix warning when module code missing and editing course 2008-04-30 12:39:31 +00:00
skodak 7c3b032ec0 MDL-14621 modinfo ignores missing modules now properly 2008-04-30 12:33:18 +00:00
skodak 3a37b3f8d5 MDL-14621 fixed warning when module code missing 2008-04-30 12:24:54 +00:00
skodak 8634e00163 MDL-14475 initialised $assign 2008-04-25 14:03:44 +00:00
skodak 530db4cd17 MDL-14475 initialised $hideshow; backported from MOODLE_19_STABLE 2008-04-25 14:03:17 +00:00
dongsheng 8e48039682 MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE 2008-04-24 08:39:47 +00:00
scyrma c659559fd6 MDL-3381 - Prevent the un-necessary calls to ctype_alpha. 2008-04-24 06:40:26 +00:00
scyrma e12e0ee717 MDL-3381 - Reverse broken commit 2008-04-24 03:24:42 +00:00
scyrma bbbfc0579f MDL-3381 - Remove all remaining core calls to ctype_* functions in 1.9, and make ctype required for 2.0. (merge from 1.9) 2008-04-24 03:07:59 +00:00
dongsheng 9534a8cb39 MDL-9934, add assign roles icon to list of activity icon, see tracker 2008-04-17 06:41:00 +00:00
skodak 666744d71d MDL-14295 - reverting commit, fixed by MDL14293 2008-04-15 07:23:39 +00:00
skodak 90f4745c22 MDL-14113 patch for multiple issues - see tracker for subtasks; merged from MOODLE_19_STABLE 2008-04-13 19:15:02 +00:00
dongsheng 0a013367cb MDL-10735, fix worksheet name, thanks our patch Mitsuhiro Yoshida 2008-04-11 05:47:20 +00:00
moodler e6924a01bb MDL-14293 Merged from 1.9, fix for undefined $status variable 2008-04-10 03:35:17 +00:00
arborrow 5f1cdfbc2a MDL-14295 - initiate $status to avoid PHP notice 2008-04-09 23:46:12 +00:00
dongsheng b9837ddfba MDL-14079, improve UI consistency, merged from MOODLE_19_STABLE 2008-04-08 03:49:58 +00:00
dongsheng 1780d87b53 MDL-14079, add "Hidden" string after the hidden teacher, thanks Mathieu 2008-04-04 06:41:54 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
dongsheng b1f97418bf MDL-10606 Corrected course search box id 2008-03-25 01:25:54 +00:00
skodak 01d5d39952 MDL-13986 "User view" Activity report links are invalid - patch by Matthew Davidson; merged from MOODLE_19_STABLE 2008-03-19 22:48:13 +00:00
dongsheng d6cc234114 MDL-13481, Distinguish between course fullname and user fullname 2008-03-19 08:49:23 +00:00
sam_marshall 6c5a2108b5 MDL-13915: Fixed add_to_log when very long url is specified (now doesn't try to insert more than 100 chars into database) 2008-03-13 15:32:08 +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 1470825e1b Merged MDL-13659, show groupings in (para) 2008-02-28 03:40:06 +00:00
skodak c4d989a1f7 MDL-13274 label grouping identification; merged from MOODLE_19_STABLE 2008-02-24 10:32:59 +00:00
moodler ddb0a19fd7 MDL-13567 Merged from 1.9 2008-02-21 15:17:41 +00:00
skodak ffd58dd626 fixed warning when module code missing; merged from MOODLE_19_STABLE 2008-02-15 10:39:47 +00:00
skodak 65bcf17b95 MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures; merged from MOODLE_19_STABLE 2008-02-13 17:03:25 +00:00
skodak 76cbde4138 MDL-12945 changing get_fast_modinfo() section property to sectionnum to prevent conflicts with real cm->section; full recent activity speedup when printing user pictures in forum; merged from MOODLE_19_STABLE 2008-02-01 14:10:49 +00:00
skodak 1ea543df62 MDL-7547 yet more speed improvements in rebuild_course_cache() ; merged from MOODLE_19_STABLE 2008-02-01 08:15:38 +00:00
skodak f36cbf1d6e MDL-13214 rebuild_course_cache fixes and speed improvements; merged from MOODLE_19_STABLE 2008-02-01 07:48:26 +00:00
skodak af88aeb007 MDL-12945 minor modinfo improvement- fixed typos (thanks Nicolas); merged from MOODLE_19_STABLE 2008-01-25 12:07:36 +00:00
skodak 65a00c975e MDL-12945 minor modinfo improvement; merged from MOODLE_19_STABLE 2008-01-25 09:39:32 +00:00
skodak dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
scyrma f461e8ec0e MDL-8810: changing require_once to include_once when looking for mod/.../lib.php 2008-01-24 02:20:25 +00:00
jmg324 7ffcbfe152 MDL-6216 print_category_info no longer counts invisible courses if the user does't have permission to see them. 2008-01-10 15:43:24 +00:00
poltawski 4597d5335b MDL-12461 - wrong urls for message related log entries
merged from MOODLE_19_STABLE
2008-01-09 10:12:31 +00:00
tjhunt 003bbcc817 MDL-12875 - Hidden courses not in category list not visible to teachers on those courses in the list of courses in a category. 2008-01-08 15:17:02 +00:00
tjhunt dba21d4a19 Use the locale to sort the list of activites everywhere. This matches a change a made in one place before christmas. If you don't do this, the PHP sorts by ASCII order, so mixed case names, or special characters, get sorted wrongly. Merged from MOODLE_19_STABLE. 2008-01-07 16:46:35 +00:00
skodak 7c09710cbf MDL-12796 iplookup rewrite 2008-01-02 16:47:57 +00:00
mchurch 296c6ac232 MDL-12704 - Added error handling to print_recent_activity() to prevent fatal errors in the case of missing files. 2007-12-28 16:04:30 +00:00
tjhunt 91374f3e5b Sort the add activites dropdown using the locale. 2007-12-21 15:37:47 +00:00
skodak 220a90c5a1 MDL-11561 admin tree improvements and bugfixing 2007-12-19 17:35:20 +00:00
fmarier 9bb19e5827 course/lib: Cache get_categories() using a static variable (MDL-11938)
Some recursive functions call get_categories() repeatedly to get all of the
child categories of the current one.

This commit create a lazily-initialized cache of all of the categories so
that the database is only queried once to retrieve all of the categories.

It speeds up the both the homepage and the course edit page (where the
categories are displayed in combo boxes).
2007-12-17 04:49:27 +00:00