1977 Commits

Author SHA1 Message Date
moodler
55da5e81b5 Cleaning up logic from MDL-6826 2008-02-05 03:16:07 +00:00
nicolasconnault
0b19ec1e95 MDL-6826 merging from 1.9 2008-02-04 13:02:07 +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
edc06a5399 MDL-13220 rebuild course cache after ajax edits - patch by Myles Carrick; merged from MOODLE_19_STABLE 2008-02-01 08:23:11 +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
moodler
2deffacca5 MDL-13260 Fixing misplaced variable (notice) 2008-01-31 07:04:23 +00:00
tjhunt
d343bd2114 MDL-13253 - Should use separate language strings for user and module idnumber. Merged from MOODLE_19_STABLE. 2008-01-30 16:34:04 +00:00
poltawski
ce76e69ab0 MDL-13117 - course info was unavailable to students. There was broken logic...
course_parent_visible() always returns true if $CFG->allowvisiblecoursesinhiddencategories
is true,
2008-01-25 20:46:36 +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
poltawski
cea55a1c7f MDL-13148 - adding help popup for course module idnumber
merged from MOODLE_19_STABLE
2008-01-24 16:11:14 +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
nicolasconnault
6b4671097b MDL-6826 New button added! 2008-01-23 12:56:13 +00:00
mchurch
2119c1514c Closing the middle column div tag. XHTML compliance. 2008-01-22 20:38:12 +00:00
skodak
57956368ed MDL-12144 new catgory on modedit available only when outcomes used in course; merged from MOODLE_19_STABLE 2008-01-22 12:12:30 +00:00
skodak
4b86bb0827 MDL-12773, MDL-12144 grade category selection on modedit page; merged from MOODLE_19_STABLE 2008-01-21 18:42:03 +00:00
skodak
204175c5ce MDL-12912 module idnumber course unique only; merged from MOODLE_19_STABLE 2008-01-14 22:46:03 +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
skodak
cb3883c297 MDL-12911 fixed permission checks; merged from MOODLE_18_STABLE 2008-01-10 15:09:58 +00:00
tjhunt
b26adbef4c MDL-12373 - More instances of links to the participants list being shown in the navigation bar to people without the necessary capability.
I have not copied and pasted the same code into lots of different places. That sucks. We really need to refactor this into a function that builds the navigation up to, and including the user's name. However, I don't have time now. A list of the places touched by this bug (MDL-12373) will at least give a complete list of places that such a refactoring would have to touch.
2008-01-10 10:58:16 +00:00
poltawski
e0bd367d01 MDL-12888 - remove require to form no longer used
merged from MOODLE_19_STABLE
2008-01-09 11:04:39 +00:00
poltawski
8bbcf67bce MDL-12888 - remove require to form no longer used
merged from MOODLE_19_STABLE
2008-01-09 10:57:45 +00:00
poltawski
f62cb19d89 MDL-10886 - Category edit: use 'save changes', enable cancel button to allow us
to get back from where we came from & refine where we are returned to when cancelled.
merged from MOODLE_19_STABLE
2008-01-09 10:49:59 +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
poltawski
8857a0b425 MDL-10813 - Course requests not respecting course request category.
Also made the course request category more robust, as breakage would
incur if $CFG->defaultrequestcategory didn't exist as a category.
merged from MOODLE_19_STABLE
2008-01-08 12:51:07 +00:00
poltawski
435f3044df MDL-12873 - show an add course button when editing at the top level (which
is the default view when you click 'Add/Edit Courses')

merged from MOODLE_19_STABLE
2008-01-08 12:00:11 +00:00
nicolasconnault
6ca117e27f Misplaced variable definition 2008-01-08 06:07:56 +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
poltawski
1c8ec30d95 MDL-6529 - strip slashes when displaying category added success messsage
merged from MOODLE_19_STABLE
2008-01-07 12:21:06 +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
poltawski
8cc2a92f04 MDL-3776 fix typo, merged from MOODLE_19_STABLE 2007-12-26 21:42:04 +00:00
skodak
6d77b23c55 MDL-12735 Make AJAX on by default, add option to disable AJAX course editing by default; merged from MOODLE_19_STABLE 2007-12-26 21:33:34 +00:00
poltawski
f4eb549fbd MDL-12697 - Category Themes do not appear when editing off
merged from MOODLE_19_STABLE
2007-12-25 01:00:31 +00:00
poltawski
6972c07a61 MDL-10241 - unenrolling self wasn't working properly from user profile
because unenrol.php was doing wrong capability check when $userid set.o
Also improves the lanaguage used when unenrolling self.
merged from MOODLE_18_STABLE
2007-12-23 16:18:25 +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
skodak
7f9c4fb97d MDL-12601 prevent fatal errors when module code missing + merging other stuff; merged from MOODLE_19_STABLE 2007-12-16 13:41:16 +00:00
skodak
1d21b2377e MDL-12581 fixed multiple xhtml strict; merged from MOODLE_19_STABLE 2007-12-15 16:06:09 +00:00
skodak
f26cfa228d MDL-11800 improving previous commit; merged from MOODLE-19_STABLE 2007-12-15 12:05:54 +00:00
nfreear
0154653b9b Fixes MDL-12541 "Weeks course format - dates for each section should be marked up as heading". Merged. 2007-12-11 15:25:07 +00:00
mattc-catalyst
2d5b1ac891 MDL-12433: course/info respect the $CFG->allowvisiblecoursesinhiddencategories setting
Credit goes to Petr Kalis
2007-12-07 00:30:21 +00:00
poltawski
b60fd03245 MDL-12409 - stop access to editing 'site course' with course edit form.
Merged from MOODLE_19_STABLE
2007-12-03 12:23:24 +00:00
skodak
0b5a80a1a5 MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE 2007-11-29 14:43:04 +00:00
toyomoyo
7aabbf3b58 MDL-11800, multilang support for category description 2007-11-28 02:56:51 +00:00
toyomoyo
b682cee93c MDL-11194, course role names not reflected in course description 2007-11-27 01:56:21 +00:00