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
jamiesensei
b72ff47685
moved question sort order and paging params to be passed from page to page as get params instead of being saved in session var.
2007-05-03 10:10:01 +00:00
jamiesensei
fcdb06c470
change to print_paging_bar function to optionally support the use of a moodle_url object as a parameter instead of a string.
...
small changes to moodle_url class
2007-05-03 10:03:59 +00:00
nicolasconnault
5501446df5
MDL-9506 Added grade_outcome.php. Also added unit test for creation of log in history table when grade_raw is updated.
2007-05-03 08:51:48 +00:00
nicolasconnault
4d0263c6e2
MDL-9506 See previous revision. This adds same functionality but in relation to the hidden field.
2007-05-03 08:08:38 +00:00
nicolasconnault
fae51e127b
MDL-9506 Added grade_item::toggle_locking and unit tests. Affects all final grades if reqested.
2007-05-03 08:02:51 +00:00
ikawhero
6f93e96c19
Config setting for the theme order priorities.
2007-05-03 07:39:27 +00:00
ikawhero
08297dcb3c
New mimetype for Inspiration application.
...
Icon and code patch from Julian Ridden.
2007-05-03 07:15:30 +00:00
nicolasconnault
27f95e9b47
MDL-9506 Upgraded grade_item::adjust_grade with Darlene's more elegant formula. Completed grade_category::get_children($depth, $arraytype). Added 4 constants to help that method. Added and passed all unit tests (111 now).
2007-05-03 07:10:22 +00:00
ikawhero
a907c54043
GUI for category themes.
...
New language strings.
2007-05-03 07:00:55 +00:00
nicolasconnault
cb63031c37
MDL-9506 Removed childrentype after discussion with Martin D.
2007-05-03 05:44:33 +00:00
jamiesensei
86909ce047
small fix to get question code to return to correct place after creating a new question.
2007-05-03 05:17:07 +00:00