jamiesensei
a4758a8632
require_login is in 'question_edit_setup' we don't need to call it again here.
2007-05-07 05:12:09 +00:00
toyomoyo
db76f84627
merged fix for MLD-9727, capability typo
2007-05-07 05:00:22 +00:00
jamiesensei
7bc26c8f6d
changes to pass category id from page to page in question bank editing.
2007-05-07 04:55:55 +00:00
pichetp
eeea21878d
adding calculated question import MDL-5650
2007-05-07 04:01:20 +00:00
toyomoyo
6ceebc1f32
merged fix for MDL-9656, blocks parents can be system context
2007-05-07 03:24:22 +00:00
moodler
6eaa3f09ce
Merged changes for better performance in cases where there are lots of enrolment plugins MDL-9726
2007-05-07 03:10:22 +00:00
gbateson
f503b2e6b4
modified "hpNewFunction" to allow Rottmeier quizze (Find-It, Dropdown) s to run on Safari (Mac)
2007-05-07 02:49:56 +00:00
nicolasconnault
712d500777
MDL-9506 Removed implicit loading of associated objects from constructors (grade_item and grade_grades_raw) to avoid very large numbers of sql queries when only little data is required. The load_scale() method, for example, needs to be called explicitly.
2007-05-07 02:04:06 +00:00
mattc-catalyst
5416a9aa44
MDL-9617: Fixed bug in previous commits.
...
- warnings being displayed in developer mode.
- caused by patch from patch series not being applied.
2007-05-06 23:19:32 +00:00
poltawski
ddecb2c498
MDL-8917 - slasharguemtns description slightly incorrect
2007-05-06 10:28:29 +00:00
poltawski
253051dcdc
MDL-8356 - fixed typo
2007-05-06 09:57:33 +00:00
poltawski
407380df45
MDL-8971 - fixed typo
2007-05-06 09:45:21 +00:00
martinlanghoff
0f7caaf84f
get_my_courses() - ensure we have groupmode, groupmodeforce in $d_fields - calendar/lib.php counts on it
2007-05-06 05:37:28 +00:00
martinlanghoff
0a66585b3d
get_my_courses() callers update - check of the $fields param - pass null instead
...
The default way to call get_my_courses() is now to pass null in the $fields
param to get the (cached copy) of the useful fields. Cuts down enormously
on DB traffic, memory footprint, and session size.
2007-05-06 05:32:40 +00:00
martinlanghoff
4dbca99edf
get_my_courses() - added optimisation for guest login
...
- was causing very slow page generation
2007-05-06 05:28:39 +00:00
martinlanghoff
e4271d740c
get_my_courses() - tighten default fields - faster, risky
...
This makes get_my_courses() faster/lighter in 2 ways
- We fetch a ton less data from the DB
- We store a tone less data in the Session
In a test environment, with a student enrolled in 3 _empty_ courses
(just created, empty modinfo, etc), this shaves 50% off the session
size on-disk.
The problem is callers that may be expecting a given field to appear by
default. Next step: walk all callers...
2007-05-06 05:27:31 +00:00
martinlanghoff
601edb900e
get_my_courses() - skip checks if we know the user has moodle/site:doanything and we are observing $doanything
...
Author: Martin Langhoff <martin@catalyst.net.nz>
2007-05-06 05:26:59 +00:00
martinlanghoff
5970ccfbaf
get_my_courses(): tighten cache scheme - part 2
...
the tighter cache was fragile as we always edit $field
2007-05-06 05:26:04 +00:00
martinlanghoff
c6325ef155
get_my_courses(): tighten cache scheme
...
This tightens the rather lax caching mechanism that
cached regardless of parameters.
Thanks to Matt Clarkson for the heads-up...
2007-05-06 05:22:03 +00:00
moodler
79a89e9bf2
Automatic installer.php lang files by installer_builder (20070506)
2007-05-06 04:50:49 +00:00
martinlanghoff
b8227b8827
calendar: fixed group event display when only one course being viewed
...
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-05-06 04:38:24 +00:00
martinlanghoff
6b4aeb314b
calendar: bug fixed to previous commit (MDL-7416 MDL-9617)
...
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-05-06 04:37:38 +00:00
martinlanghoff
37d87d11f9
calendar: performance optimisations + behaviour fix (MDL-7416 MDL-9617)
...
With 2500 courses the calendar was causing around 15000 queries at login and 5000 on the home page.
- Replaced queries inside loops with single unlooped queries.
- Fixed calendar so that course events will show when the users role is assigned at a category level.
- Moved calendar_session_vars() function call out of calendar/lib.php (including a lib should not have side effects)
Author: Matt Clarkson - with some conflict resolution from MartinL
2007-05-06 04:28:11 +00:00
poltawski
f261e052f2
Fixed MDL-9639 and syntax error, merged from 18_STABLE
2007-05-05 15:16:39 +00:00
thepurpleblob
5931ea94a1
MDL-9675:
...
Default value added for 'answernumbering'. Default is 'abc'
2007-05-05 14:44:12 +00:00
ikawhero
2230cb9178
Call theme_setup() after change so new theme displays correctly
2007-05-05 07:43:08 +00:00
thepurpleblob
cdeabc0638
Fixed hard coded string
2007-05-04 14:31:56 +00:00
thepurpleblob
b0c1b3ad03
Fix a hard coded string
2007-05-04 14:10:56 +00:00
csantossaenz
a59b393433
Made some changes on scorm_seq_overall
2007-05-04 12:27:49 +00:00
csantossaenz
980c089bfa
Fixed some problems with the variables stored in scorm_scoes_track and the last two functions have been commented and we are going to use scorm_seq_is() instead of them.
2007-05-04 11:17:15 +00:00
jamiesensei
36e298bc58
removed more session stuff from question list and category form in question bank display code
2007-05-04 10:46:33 +00:00
tjhunt
2c89cfb533
Matching qestion type was failing to correctly determine wheterh the student had changed their answer - further improvements. Merged from MOODLE_18_STABLE.
2007-05-04 10:04:20 +00:00
nicolasconnault
2b4f19a9ce
MDL-9506 Fixed some small issues.
2007-05-04 09:04:40 +00:00
jamiesensei
9ab3847595
tightening up reg expressions used for submitted data a bit
2007-05-04 08:33:28 +00:00
jgutierr25
0c121d998a
patch for bug when you connect from authentication block on main page
2007-05-04 08:06:40 +00:00
csantossaenz
d7309cf572
Changed some data from scorm_scoes_track to scorm_scoes_data
2007-05-04 07:46:15 +00:00
nicolasconnault
46566dd8c6
MDL-9506 Moved unit tests in a simpletest subfolder so they can be automatically grouped. Added grade_history and grade_text object and another heap of small implementations.
2007-05-04 07:40:51 +00:00
toyomoyo
6ec4869ecb
adding a missing feedbackformat field
2007-05-04 07:35:54 +00:00
jamiesensei
1d88985787
removing TODO comment as the question.php script no longer treats quiz as special.
2007-05-04 06:09:37 +00:00
jamiesensei
c65b63deb6
removed global var declaration for var that wasn't used in function
2007-05-04 05:51:59 +00:00
jamiesensei
9ab75b2bcc
passing cmid to question.php and removed use of session modform var. Question.php now independent of quiz module. Small improvement to displayed breadcrumbs.
2007-05-04 05:47:59 +00:00
jamiesensei
e744ebba7b
added a param to moodle_url constructor to provide params as an array just as a convenience to quickly construct a url with an array of params.
2007-05-04 05:45:33 +00:00
jamiesensei
e22618dd73
deleted redundant method which was just calling the parent method.
2007-05-04 05:30:03 +00:00
toyomoyo
daaf61f40c
merged fix for MDL-9617, performance issues in calendar
2007-05-04 05:25:49 +00:00
gbateson
111a18ebf3
remove duplicate id attribute from body tag; microincrement version to 2007040200 (release 2.4.2)
2007-05-04 02:53:52 +00:00
nicolasconnault
52b72d77c5
MDL-9506 Reorganised the gradebook unit tests into more manageable classes.
2007-05-04 02:31:16 +00:00
toyomoyo
967f222f55
MDL-9510, cron job support of legacy grade functions in modules. Implementation is not finished as the gradebook grade_added event is not complete
2007-05-04 02:15:46 +00:00
csantossaenz
6d41befdd0
Added some functions for the Sequencing and Navigation task for SCOMR 2004 compliance. This is a work-in-progress file
2007-05-03 12:55:22 +00:00
csantossaenz
60a3aaf932
Added auxiliar functions for sequencinglib.php
2007-05-03 12:52:11 +00:00
jamiesensei
b07b4bd246
removed use of session for reordertool and show page breaks. Reordertool and show page breaks params are now passed from page request to page request only for page requests for quiz/edit.php
2007-05-03 10:38:35 +00:00