tjhunt
3b53ec29f8
MDL-11081 and MDL-11211 - Implement quiz_question_list_instances. The lach of this function was causing a horrible dataloss bug: MDL-11211. Fix thanks to Janne Mikkonen, refined by me. Merged from MOODLE_16_STABLE.
2007-09-13 17:29:13 +00:00
tjhunt
0498a4d517
MDL-11213 - Quiz preview attempts show up in item analysis. Fix thanks to Jean-Michel Vedrine.
2007-09-13 16:24:50 +00:00
tjhunt
7d0ffb0fe6
MDL-11231 - Missing "correct" tick in Close question with answer '0'.
2007-09-13 10:46:39 +00:00
bobopinna
d3564a90ad
Fixed a problem importing imsmanifest.xml file from course file system
2007-09-13 10:26:58 +00:00
nfreear
d3ad764373
Fixes MDL-8627, "HTML QuickForm displays (some?) disabled elements in a non-accessible way", overrides parent::getFrozenHtml. Merged.
2007-09-12 11:25:11 +00:00
skodak
8a9febcdb0
MDL-10635 adding caching workaround for performance problems with update_course_icon() function - 1.9 will have a different solution
2007-09-12 10:45:32 +00:00
arborrow
0a78a5c67d
MDL-10410 - for consistency using UNCATEGORISED constant rather than hardcoded string
2007-09-12 03:38:53 +00:00
martinlanghoff
16ce3928cc
admin/cron: if $PERF->dbqueries is set, profile modules...
...
The cron() function of some modules can be a huge drag on the
server. Capture profiling data...
2007-09-12 03:33:38 +00:00
martinlanghoff
08c28a96f7
PERF logging - move handling to moodle_request_shutdown()
...
By moving the performance profile logging to the very
end of PHP processing, we cover more pages, notably those
that don't end up with a footer or a redirect, like file
serving.
This should improve quality of our performance logs, and
help catch some piggies...
2007-09-12 03:33:16 +00:00
martinlanghoff
1ba840fdbb
redirect() - log performance profiling info
...
Many heavy pages end in a redirect. Log their profiling data!
Thanks to Matt Clarkson for spotting the problem.
2007-09-12 03:33:00 +00:00
martinlanghoff
cfca081765
admin/modules: Avoid calling rebuild_course_cache()
...
rebuild_course_cache() over all courses is extremely expensive,
not suitable for interactive calling. Better to clear modinfo
and let course/view.php repopulate it as needed.
With this patch we clear out modinfo _only_ for courses affected
by the module we show/hide/delete.
2007-09-12 03:32:42 +00:00
martinlanghoff
f6297ede8e
course/index: move orphan fixups to an optimised fix_coursecategory_orphans()
...
Move the fixups for orphan courses to the newly minted
fix_coursecategory_orphans() -- and optimise it to take only 1 dbquery for
the common case.
If we do find lots of orphans, we issue 2 updates per orphan.
This cuts down dbqueries drastically - we used to have 2x the number of
courses in the site.
2007-09-12 03:32:21 +00:00
martinlanghoff
50a79cfecc
fix_course_sortorder(): fix breakage with large categories, saner error
...
Two improvements for fix_course_sortorder()
- If the category has more courses than the shift range
use a larger shift range to avoid overlapping with itself
- If things do go wrong during the per-course sortorder updates,
rollback and try and call ourselves with a 'safe' flag.
Still - far from perfect. Probably the global sortorder approach
is broken. The sanest way is to rework things to always join against
course_categories and order by the combined sortorders.
2007-09-12 03:31:32 +00:00
arborrow
133f457cdc
MDL-10407 fixed missing double quote
2007-09-12 03:23:26 +00:00
thepurpleblob
8f56f9d9a3
Missing a stripslashes() so TeX functions didn't work
2007-09-11 14:52:51 +00:00
thepurpleblob
1c632b934d
MDL-10092:
...
Decode HTML entities before processing.
2007-09-11 13:53:24 +00:00
jgutierr25
12b7c16ffc
pb with autologinguest
2007-09-11 07:55:51 +00:00
tjhunt
3580ad8ee1
Take out duplicate $Id$ CVS tags.
2007-09-10 11:06:01 +00:00
toyomoyo
5c6a0bad7b
MDL-11062, 1.7=>1.8 groups upgrade problems
2007-09-10 01:54:33 +00:00
gbateson
697463d868
added "Enable" label to open/close time checkboxes
2007-09-08 23:30:37 +00:00
stronk7
8d20f40cb9
Fix excess of slashing in course names when restoring. MDL-11151
2007-09-08 22:56:29 +00:00
stronk7
347f90e704
Fix link in email to new admin report. MDL-7850
2007-09-08 22:48:23 +00:00
stronk7
b533156097
Adding some strings for the new backups report. MDL-7850
2007-09-08 22:44:42 +00:00
stronk7
22bf0fd32c
Redirecting old backup log to the new one. MDL-7850
2007-09-08 22:39:23 +00:00
stronk7
2c4f2d4004
Adding new report to display scheduled backup logs. MDL-7850
2007-09-08 22:32:51 +00:00
moodler
a2ed173893
Automatic installer.php lang files by installer_builder (20070908)
2007-09-08 04:05:55 +00:00
thepurpleblob
ec6b89399a
MDL-11147:
...
Debugging now has support for LaTeX/Ghostscrip renderer.
2007-09-07 14:21:09 +00:00
moodler
e2d52b4b88
Automatic installer.php lang files by installer_builder (20070907)
2007-09-07 04:49:28 +00:00
toyomoyo
c8733890c3
MDL-11111 number of search results is not always correct in the role assignment view
2007-09-07 03:13:53 +00:00
pichetp
5d72dbbe9d
Correcting a little error: datesetitem = array(); instead of datasetitem = array();
...
line +-550 $question->dataset[$datasetname]->datasetitem = array();
2007-09-07 02:42:37 +00:00
moodler
b214c00f01
Automatic installer.php lang files by installer_builder (20070907)
2007-09-07 02:12:53 +00:00
moodler
c223acda18
Merged fixes for RTL support in 1.8 from Sharar Dolev and the Hebrew translation team
...
see MDL-10768
2007-09-06 07:30:51 +00:00
toyomoyo
41fe0508eb
MDL-11064, users can't see teacher's profile
2007-09-06 07:07:58 +00:00
toyomoyo
6673f18b1c
MDL-9613, spliting the queries into 2 for site/course block respectively
2007-09-06 06:24:40 +00:00
stronk7
97bc9f4934
Now restoring groups is cross-db (the detection of existing groups)
...
Merged from MOODLE_17_STABLE
2007-09-05 18:40:25 +00:00
stronk7
07893c5239
Repeated fields aren't necessary at all since Moodle 1.7
...
and, in fact, they throw error if using limits! MDL-9592
Merged from MOODLE_17_STABLE
2007-09-05 15:27:53 +00:00
nfreear
4bedc06d42
MDL-11134, Accessibility: move help link into <label>, so it won't be ignored in JAWS forms mode. Merged.
2007-09-05 14:38:08 +00:00
stronk7
93d8244508
Now the Oracle XMLDB generator detects changes of precision
...
in NUMBERs without decimals (virtually INTs) and is able to perform the
change of precision properly
2007-09-04 23:16:14 +00:00
stronk7
77b7083885
Added one new test to change precission of a numeric field
...
to a smaller one. It breaks Oracle in its current status.
2007-09-04 22:10:11 +00:00
moodler
a9fce7695e
Merged fixes for MDL-10833 from HEAD
2007-09-04 08:18:27 +00:00
moodler
bf4c59aa42
Fixes merged from HEAD for MDL-10833
2007-09-04 08:14:33 +00:00
moodler
6255297f0b
Merged fixes for MDL-10833 from HEAD
2007-09-04 08:08:58 +00:00
poltawski
6164fc9080
MDL-9851 - RSS block links previously used to open in new window. Restoring this
...
behaviour. Had to tweak the cleaning to ensure the JS hack for XHTML complaint new
window gets through.
2007-09-03 10:18:59 +00:00
stronk7
a0d692e925
Now, the repository is able to set the resource->name if
...
it haven't been manuall defined. Part of MDL-10878.
2007-09-02 10:50:22 +00:00
urs_hunkler
1bc5e06312
corrected right column - had id "left-column"
2007-08-31 18:58:08 +00:00
jgutierr25
eb6591ca8b
problem with autologinguest
2007-08-31 09:42:22 +00:00
toyomoyo
f005a30c52
fixing a typo
2007-08-31 08:20:57 +00:00
moodler
73083f1705
Robustness - avoid possible divide by zero problem MDL-7425
2007-08-30 05:59:31 +00:00
skodak
2712b7f2dc
MDL-10921 LDAP Auth to Active Directory requires LDAP_OPT_REFERRALS option set; backported from HEAD
2007-08-29 20:43:54 +00:00
skodak
b9e6a03e3e
MDL-11023 silence warnings in PHP 4.x - the last param was added in PHP 5.0.2
2007-08-29 20:19:14 +00:00