28764 Commits

Author SHA1 Message Date
tjhunt
38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
tjhunt
3f544a2481 MDL-11699 - Making one more common case a bit nicer for callers. Merged from MOODLE_19_STABLE. 2007-10-12 15:11:57 +00:00
nfreear
b20863a964 Follow up fix for MDL-11535 "Blog block sql error" - GROUP BY, added ", tg.flag" 2007-10-12 10:58:03 +00:00
tjhunt
c04f93b092 MDL-11699 - Further, backwards-compatible, improvement to the build navigation API to simplify a common case. Also, further improvements to the doc comment, so it is easy to use. Merged from MOODLE_19_STABLE. 2007-10-12 10:36:11 +00:00
stronk7
75f3028793 MDL-11729 :: Removed commenting out loading of the Chameleon files loading
Merged from MOODLE_19_STABLE
2007-10-12 09:57:58 +00:00
stronk7
56768525ac Merged from MOODLE_19_STABLE. Adding $Id tag 2007-10-12 09:45:33 +00:00
moodler
ccbde9e80c Fixing version number 2007-10-12 08:35:52 +00:00
toyomoyo
13c7c8183e adding missing context 2007-10-12 07:41:30 +00:00
toyomoyo
c1d0d07eff merged fix for MDL-11717, dimmed_text class for hidden grade items in grader report 2007-10-12 07:18:41 +00:00
toyomoyo
e7b8a32f80 MDL-11715, merged fix, export form should follow sort order 2007-10-12 03:15:22 +00:00
toyomoyo
558cb86b7a MDL-11714, removing debugging statement 2007-10-12 01:34:59 +00:00
tjhunt
dd9a2dcc75 MDL-11699 - Addendum - fix typo in fixup code. Sorry. 2007-10-11 16:45:43 +00:00
nfreear
12b9aee7d7 Fixes MDL-11695, Skip block links inaccessible for many keyboard-only users 2007-10-11 16:35:20 +00:00
tjhunt
7243c7c822 Small tidy-up in print_header_simple. Merged from MOODLE_19_STABLE. 2007-10-11 15:25:27 +00:00
nicolasconnault
fc278e842e MDL-8605 Preventing new user folder from being created when original folder is empty 2007-10-11 14:19:05 +00:00
tjhunt
67e56c0a3c MDL-11699 - Addendum - rewrite the other half of the function too, so I can understand what it is doing, and fix a couple of minor logic errors along the way. Merged from MOODLE_19_STABLE. 2007-10-11 11:52:34 +00:00
tjhunt
14e66f3beb MDL-9542 - Show final grades from new gradebook in Quiz UI - with help from Petr. Merged from MOODLE_19_STABLE. 2007-10-11 11:42:49 +00:00
skodak
842ec7fd2b groupings should work now; merged from MOODLE_19_STABLE 2007-10-11 09:16:15 +00:00
nicolasconnault
761447651e Minor changes related to unit testing 2007-10-11 09:15:57 +00:00
nicolasconnault
56a1a88228 MDL-8605 New user directories implemented 2007-10-11 09:01:29 +00:00
toyomoyo
0f106650ee merged fix for MDL-11709, print_header() warning for blogs 2007-10-11 08:14:13 +00:00
toyomoyo
b426fd8323 MDL-10353, calender redirection broken when editting and exporting 2007-10-11 05:24:12 +00:00
moodler
8b9f26db55 Automatic installer.php lang files by installer_builder (20071011) 2007-10-11 04:08:20 +00:00
moodler
1e80a6e175 Change version to identify head version (now 2.0 dev) 2007-10-10 17:35:42 +00:00
moodler
f5f2b7a30a Bump to Beta 2 level 2007-10-10 16:33:04 +00:00
skodak
f2e4a0818a preparation for 1.9 beta 2 - setting correct requires in mods and plugins 2007-10-10 16:09:17 +00:00
stronk7
13bf86a3ba Bump to beta 2 (real branch) 2007-10-10 16:06:12 +00:00
jmg324
38a1e55d8a MDL-10296 adding in the global for https 2007-10-10 16:02:45 +00:00
tjhunt
3270033ab8 MDL-11703 - escaped *'s in shortanswer answers were not matching properly. Merged from MOODLE_18_STABLE. 2007-10-10 15:26:45 +00:00
jamiesensei
6f9ce92696 fix for MDL-11692. There were notices about subquestions not being defined. This seems to indicate that there is a problem elsewhere that somehow matching questions without subquestions are in the site db. But suppressed the notice by testing to see if subquestions is set before looping through the questions. 2007-10-10 15:23:24 +00:00
moodler
ba4418ad4e Merged Urs fixes from 1.8 stable and reformatted a bit 2007-10-10 14:57:39 +00:00
moodler
355bf90704 Merged the flexible column patch from Urs (1.11.2.3) to HEAD 2007-10-10 14:31:27 +00:00
moodler
801070c4c5 new string merged from stable 2007-10-10 14:20:38 +00:00
tjhunt
1ba3ad7df5 MDL-11699 - Make build_navigation more helpful by having it optionally build the activity and activityinstance links too, if you pass a $cm object. Note that this only does extra DB queries if you do pass a $cm object, and it does not have all the required fields, but in this case it will winge at you in developer debug mode. If you get your $cm using get_coursemodule_from_instance or get_coursemodule_from_id, which is best practice these days, then you won't have a problem. 2007-10-10 14:00:41 +00:00
skodak
8ddcdd86cb MDL-8248 savepoints in main upgrade.php 2007-10-10 13:14:56 +00:00
skodak
03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
skodak
41aa843717 MDL-11694 adding error displaying into installer, it does not affect the debug and error displaying in final installation
MDL-11432 eliminated RecordCount
2007-10-10 11:03:00 +00:00
wildgirl
a77679e775 MDL-10713 additional description added to help file 2007-10-10 09:37:35 +00:00
skodak
a7709f02b6 MDL-11432 rs->EOF wrapper function 2007-10-10 09:21:13 +00:00
moodler
d45181e38d Implemented typo fixes described by ermanno bagnai in MDL-11689 2007-10-10 09:16:43 +00:00
toyomoyo
d142077ef1 changing CONTEXT_GROUP to CONTEXT_COURSE for calendar:manageentries capability 2007-10-10 09:03:01 +00:00
skodak
3f7d592598 add proper rs_close() into cleanup_contexts() - we have to close even when now records returned 2007-10-10 08:43:25 +00:00
wildgirl
77be46fdee MDL-6096 help file re-wording 2007-10-10 08:39:59 +00:00
skodak
8a4d32d8a3 MDL-11688 makes sure all course and user contexts exist during upgrade (all contexts when going from in 1.6) - this is needed for grade_letter upgrade; other minor tweaks - the USER->access is now loaded automatically, feedback parameters added 2007-10-10 08:33:06 +00:00
toyomoyo
9031e46f94 MDL-11510, adding missing backup/restore gradebook fields 2007-10-10 08:28:43 +00:00
wildgirl
f19204c83d MDL-7610 help file re-wording 2007-10-10 08:28:29 +00:00
moodler
f6ee5e041c Just a small fix that would make this SQL work ... no idea what bug it would fix. It's not MDL-9059 2007-10-10 08:18:59 +00:00
skodak
eeccaea183 MDL-11686 dropped obsoleted grade tables, removed context_rel related upgrade code 2007-10-10 07:53:35 +00:00
toyomoyo
1c03128e06 MDL-11510, missing gradebook fields in backup 2007-10-10 07:25:41 +00:00
toyomoyo
e66481e1eb MDL-11510, adding missing fields 2007-10-10 07:08:50 +00:00