Commit graph

29707 commits

Author SHA1 Message Date
skodak
3f6ba95bc6 MDL-12570 option to disable lang autodetect from browser; merged from MOODLE_19_STABLE 2007-12-15 13:28:01 +00:00
skodak
15fb52fbcb MDL-8992 eoas hack added only when really needed, removed slow fullclone; merged from MOODLE_19_STABLE 2007-12-15 13:21:12 +00:00
skodak
f26cfa228d MDL-11800 improving previous commit; merged from MOODLE-19_STABLE 2007-12-15 12:05:54 +00:00
skodak
5da9e750cf MDL-12570 option to disable lang autodetect from browser; merged from MOODLE_19_STABLE 2007-12-15 11:49:59 +00:00
stronk7
6449e4a244 HEAD version bump by delta. Modify some timezone fields to accept new olson files. MDL-12024 2007-12-15 00:49:53 +00:00
stronk7
e7a89237de Modify some timezone fields to accept new olson files. MDL-12024
Merged from MOODLE_19_STABLE
2007-12-15 00:49:05 +00:00
skodak
d795bfdbf9 MDL-12221 reworked container autoclosing - error() and notice() do not work everywhere though; notice print header if needed now; new print_footer('empty') for empty footer - removes some hacky </body></html> - merged from MOODLE_19_STABLE 2007-12-14 21:22:38 +00:00
toyomoyo
fd3b240bd0 MDL-9290, restore performance improvements on reading xml 2007-12-14 06:16:08 +00:00
diml
9daffe5f29 Fixes MDL-12578 for HEAD branch
adding SEARCH_TYPE_LESSON and related keys to searchlib.
2007-12-13 21:45:28 +00:00
urs_hunkler
67a6e17071 merged from 1.9 :: MDL-12221 :: Some enhancements to handle the changed boxes - work in progress. 2007-12-13 20:25:24 +00:00
urs_hunkler
f287947552 merged from 1.9 :: MDL-11438 :: added screenshot.jpg to prevent IEs crashing on the them selection page. 2007-12-13 20:21:56 +00:00
tjhunt
27cabbe626 MDL-12575 - Backup and restore problems with the new question bank. Merged from MOODLE_19_STABLE. 2007-12-13 18:48:30 +00:00
stronk7
e5e7b2a8fe Added the sql_cast_char2int() funtion to provide cross-db
casting from char/text to integer. MDL-12574

Merged from MOODLE_19_STABLE
2007-12-13 18:02:31 +00:00
tjhunt
df06c4bb88 Improve error messages. 2007-12-13 17:24:54 +00:00
tjhunt
0cfabab671 MDL-12517 - Further refinement. Move the processing to after print_header, so any notices do not break XHTML strict. Merged from MOODLE_19_STABLE. 2007-12-13 14:26:14 +00:00
tjhunt
0a2c84851c MDL-12517 - Move checking code into the user interface layer where it belongs. Merged from MOODLE_19_STABLE. 2007-12-13 14:19:24 +00:00
toyomoyo
56af043f38 MDL-12517, notify when grades entered into gradebook is out of bounds 2007-12-13 07:09:27 +00:00
toyomoyo
a4a15d26d4 MDL-12470, fixing broken span tag 2007-12-13 02:33:02 +00:00
tjhunt
129b80c592 MDL-11267 - follow-up - don't show the checkboxes in the overview report if you cannot do anything with them. Merged from MOODLE_19_STABLE. 2007-12-12 19:13:09 +00:00
tjhunt
901e25d481 Improve PHP doc comments. 2007-12-12 19:01:59 +00:00
tjhunt
d3879eafec Fix Javascript error from essay questions on the review page. 2007-12-12 18:10:48 +00:00
tjhunt
5a128471cc Fix notice. 2007-12-12 17:47:35 +00:00
tjhunt
2a13e454f9 MDL-9459 - Provide information relating to groups in the summary message "Attemts: 123". Now, depending on the situation, you see one of three messages: "Attempts: 123", "Attemtps 123 (45 from your groups)" or "Attemtps 123 (45 from this group)".
I also took the opportunity to improve the layout of this message slightly, and clarify the message that tells you that you cannot add or remove questions from the quiz if there are attemts.

Merged from MOODLE_19_STABLE.
2007-12-12 17:23:55 +00:00
tjhunt
3d96cba76a Improve PHP doc comments. 2007-12-12 17:10:48 +00:00
toyomoyo
6967ba2846 MDL-12544, hide hidden roles in profile when user has no capability 2007-12-12 07:13:09 +00:00
toyomoyo
a249879a86 MDL-12550, wrong user count in role assignment 2007-12-12 03:31:26 +00:00
stronk7
8884b320b4 Reintroducing the possibility to declare a second row of tabs
via extratabs. MDL-12551

Merged from MOODLE_19_STABLE
2007-12-12 00:58:09 +00:00
stronk7
6030279805 Adding the ability to perform custom uninstall tasks in modules. MDL-12520
Merged from MOODLE_19_STABLE
2007-12-11 23:39:32 +00:00
tjhunt
89d7d96279 MDL-12546 - The choice module was calling get_users_by_capability, which hammers the database and returns lots of data, inside a loop over users - and it was calling it with identical parameters each time. Ouch!
Actually, since the fix for MDL-12331, which changed the get_users_by_capability call at the top of this function, the check it was doing is entirely redundant anyway, so I removed it.

Merged from MOODLE_19_STABLE.
2007-12-11 18:49:56 +00:00
tjhunt
02e48901b4 MDL-12543 - Quiz overview report displays a grade of 0 the same way as a missing grade for an incomplete attempt. Merged from MOODLE_19_STABLE. 2007-12-11 16:55:54 +00:00
tjhunt
4adab2a4a1 MDL-8682 - followup. When disabling the enter key, don't disable it on links. That is bad for accessibility. Merged from MOODLE_19_STABLE. 2007-12-11 16:23:54 +00:00
tjhunt
7b51c4e134 MDL-12542 - backup_todb not called on restore on date before it is inserted into mdl_user. This would cause a backup from a pre 1.7 site (or a pre 1.7 that has been upgraded to 1.9) to a 1.9 fresh install, to fail sometimes. Merged from MOODLE_19_STABLE. 2007-12-11 15:55:25 +00:00
nfreear
0154653b9b Fixes MDL-12541 "Weeks course format - dates for each section should be marked up as heading". Merged. 2007-12-11 15:25:07 +00:00
tjhunt
d8d9497719 MDL-12540 - Quiz sometimes outputs content before <head> when previewing - breaks HTML strict. Merged from MOODLE_19_STABLE. 2007-12-11 15:04:31 +00:00
nfreear
93beeb7254 Fixes MDL-12539 "Help link text for all admin/user filters are broken". 2007-12-11 13:58:39 +00:00
nfreear
3b726c87a3 Fixes MDL-12539 "Help link text for all admin/user filters are broken". 2007-12-11 12:58:37 +00:00
tjhunt
b04ad8649b Take out debugging output in role_assign. It only tells you that something has worked, and everywhere else we use debugging output to warn people they have called an API wrongly. Therefore, this is just confusing now that we trust this bit of roles code. 2007-12-11 10:37:53 +00:00
pichetp
4efa376ffb MDL-12421 rounding 2007-12-11 09:13:17 +00:00
pichetp
87cd4f5469 MDL-12503 Loguniform and MDL-12421 rounding 2007-12-11 08:56:24 +00:00
toyomoyo
f7b3e5a50b MDL-12504, gradebook export does not respect course item position 2007-12-11 05:44:11 +00:00
scyrma
8d7924ba0b prevent some notices, cleaner code. 2007-12-11 05:10:10 +00:00
scyrma
d0b869a00c MDL-12528 - getElementById was misspelled. 2007-12-11 05:00:14 +00:00
jamiesensei
2c44a3d393 MDL-12410 - a way to select which questions to export, includes debug messages 2007-12-11 03:24:35 +00:00
toyomoyo
dfbe1fa473 MDL-12463, do not backup mod gradeitems if not selected 2007-12-11 03:16:15 +00:00
toyomoyo
c9607072c1 MDL-12519. grader report row colors override highlighting 2007-12-11 02:04:36 +00:00
martinlanghoff
70dd126e0b MDL-12523 accesslib:cleanup_contexts() - Fix invalid SQL syntax and reserved keywords
cleanup_contexts() was not working on Oracle - mostly due to 2 SQL
syntax problems. So probably marginally working elsewhere.

 - We should not use AS when naming table/subselect aliases - only
   when referring to column aliases in the resultset

 - level is a reserved word - oops! - so back to contextlevel
2007-12-10 21:35:58 +00:00
tjhunt
aaa6ac6f2a MDL-12512 - Gradebook calculations are broken. This was caused by == FALSE that should have been === FALSE deep in the 3rd pary maths lib. Merged from MOODLE_19_STABLE. 2007-12-10 17:37:14 +00:00
tjhunt
0b94215637 Do not suppress errors from developers! it makes debugging a nightmare! 2007-12-10 16:53:17 +00:00
tjhunt
c85aea03d3 Fix notice in numerical question. 2007-12-10 11:57:24 +00:00
nfreear
b0dc3e563d Fixes bug MDL-2674, "backup always backsup/restores groups regardless of user settings" - restore group/grouping option. 2007-12-10 10:26:47 +00:00