29865 Commits

Author SHA1 Message Date
poltawski
fc4b2decc0 MDL-13179 - avoid calling get_admin() when unecessary.
It uses a relatively complex query and its not needed except
for a minority of users so we may as well avoid it..
merged from MOODLE_19_STABLE
2008-01-26 17:00:03 +00:00
poltawski
29ee92888b MDL-13180 - stop returning duplicate rows
merged from MOODLE_19_STABLE
2008-01-26 16:04:22 +00:00
pichetp
b119a40f16 MDL-3274 further trimming 2008-01-26 15:21:44 +00:00
pichetp
eba53585bd adjusting input display to answer length MDL-3274 2008-01-26 14:30:29 +00:00
nicolasconnault
b01e5bb3aa MDL-13103 merging from 1.9 2008-01-26 10:00:08 +00:00
moodler
303f164cd1 Automatic installer.php lang files by installer_builder (20080126) 2008-01-26 03:18:16 +00:00
poltawski
efae27bb45 MDL-13068 - fix typo causing course delete to fail
merged from MOODLE_19_STABLE
2008-01-25 21:09:36 +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
nicolasconnault
82d6066568 MDL-13103 merging from 1.9 2008-01-25 16:31:50 +00:00
nicolasconnault
1bf7621ca4 MDL-13103 merging from 1.9 2008-01-25 13:00:45 +00:00
nicolasconnault
4c546b8149 MDL-13103 merging from 1.9 2008-01-25 12:56:22 +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
scyrma
1d6608d8db Start on MDL-12730 .. fixes some E_STRICT messages for 2.0. 2008-01-25 08:39:14 +00:00
jamiesensei
b667e698fd MDL-13156 "insert_category_and_question_ids() function name can cause name conflicts" Fixed : 2008-01-25 07:01:18 +00:00
moodler
2760f205c9 Merged $current notice from 1.9 2008-01-25 06:31:15 +00:00
scyrma
67e21b0e2b MDL-12565 : use the right table 2008-01-25 02:43:52 +00:00
scyrma
dbf8c19cc5 MDL-12565 - add AS to prevent problem with pgsql 2008-01-25 02:32:04 +00:00
scyrma
753078619a Fixes MDL-13124 and chooses more relevant tags to display 2008-01-25 01:33:09 +00:00
martinlanghoff
c2d88da708 accesslib: Fix get_context_users_bycap() when no roles grant the cap
When no roles mention the capability, get_context_users_bycap() breaks
badly. This trivial patch does a sanity check before jumping into the
SQL shark-pool...

MDL-13160
2008-01-25 00:53:01 +00:00
stronk7
c648a2259c General cleanup of backup users. Part of MDL-10721 ; merged from 19_STABLE 2008-01-25 00:50:08 +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
d20737e8bf MDL-12627 - when visiting the gradebook for the first time, we don't sort
by anything sensible. Default to surname
merged from MOODLE_19_STABLE
2008-01-24 20:12:35 +00:00
stronk7
2462e5eb20 Prevent grade_grades and grade_grades_history to be exported for non-target users. MDL-13115 ; merged from 19_STABLE 2008-01-24 20:04:15 +00:00
nicolasconnault
ab923b629f MDL-13103 merging from 1.9 2008-01-24 19:56:09 +00:00
nicolasconnault
a7bea6c875 Merging from 1.9 2008-01-24 19:46:27 +00:00
poltawski
70c003a241 MDL-13088 - database presets weren't escaping bad chars, causing presets
to break with a rogue <
merged from MOODLE_19_STABLE
2008-01-24 19:41:17 +00:00
stronk7
a03320fcf9 Reworked a bit to prevent non-target user role assignments to be exported. MDL-13115 ; merged from 19_STABLE 2008-01-24 19:09:04 +00:00
skodak
0bf0e3219e MDL-13050 Reverting, it's not working out as well as planned; merged from MOODLE_19_STABLE 2008-01-24 19:02:27 +00:00
tjhunt
7956944f7c MDL-12933 - Bug in mod/quiz/lib.php break MyMoodle - Fix thanks to Eric Merrill. 2008-01-24 17:13:30 +00:00
sam_marshall
8275580db3 MDL-13154 Make it possible to unit test code that calls error() (2.0 only, PHP5 req) 2008-01-24 16:58:32 +00:00
tjhunt
9d6c4e80f9 MDL-13102 - quiz_results block links to the old URL of the groups editing interface, and it links there for everyone, even if they don't have the capability to go there. Make it link to the participants page instead, if possible. 2008-01-24 16:33:39 +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
nicolasconnault
5c225af114 Correcting unicode characters 2008-01-24 15:34:35 +00:00
tjhunt
abd616eac4 MDL-13150 - Remove extra <br /> tag for XHTML strict validation - Thanks to Joseph Rézeau 2008-01-24 15:06:51 +00:00
nicolasconnault
6a581514b4 Fixing $Id: tag 2008-01-24 14:46:01 +00:00
nicolasconnault
55c9ebf068 Merging from 1.9 2008-01-24 14:08:34 +00:00
poltawski
f92d7ac9b7 MDL-13146 - prevent debug message about missing helpbutton title
merged from MOODLE_19_STABLE
2008-01-24 11:00:14 +00:00
nicolasconnault
51b57ef6a8 MDL-13101
1. Showing full path
2. Showing plugins to be installed
3. Lang strings properly used
4. Table headers
2008-01-24 08:40:36 +00:00
scyrma
c0491d4aca MDL-13124 : simplify and fix the tag correlation logic. 2008-01-24 08:39:38 +00:00
moodler
fdece1bf70 Automatic installer.php lang files by installer_builder (20080124) 2008-01-24 03:50:15 +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
stronk7
81243b7be4 Now the backup->users = none setting is properly populated to all
modules / instances, saving a lot of info to be always written. MDL-13115

Merged from 19_STABLE
2008-01-24 00:51:09 +00:00
nicolasconnault
1e92bb9112 MDL-13101 New section of the upgrade process: plugins check 2008-01-23 22:48:54 +00:00
skodak
883187d0b7 MDL-13026 rewritten sql for calculation of averages on grader report, I hope it will be a bit faster now; merged from MOODLE_19_STABLE 2008-01-23 19:05:22 +00:00
skodak
d48ebf9769 MDL-11920 prevent db traffic caused by user images; merged from MOODLE_19_STABLE 2008-01-23 17:41:30 +00:00
poltawski
6255645f47 MDL-13112 - order my courses block alphabetically when only displaying a users
individual courses.
merged from MOODLE_19_STABLE
2008-01-23 15:40:56 +00:00
poltawski
ab496ca8e5 MDL-13107 - clean up data cvs import capability checks
Removed bad check 'mod/data:uploadentries' (which doesn't exist),
replaced it with mod/data:manageentries which is what is used to display
the form for this page.

Also removed the empty database redirect and editing entries checks
as there no way to get to this point in the UI and capability check
is covered by the manageentries requirecap (+ later sesskey check).

merged from MOODLE_19_STABLE
2008-01-23 13:27:47 +00:00
nicolasconnault
6b4671097b MDL-6826 New button added! 2008-01-23 12:56:13 +00:00
scyrma
cde5e2be6d MDL-8123 and MDL-11594 : make admin icons themeable. 2008-01-23 05:53:33 +00:00