Commit graph

5804 commits

Author SHA1 Message Date
stronk7
5383636fbb Changing wrong UNSIGNEDs to nulls in tests. MDL-11662
Merged from MOODLE_19_STABLE
2007-12-08 18:54:24 +00:00
stronk7
4a5d0a39b1 Changing XMLDB_UNSIGNED to nulls for non-numeric types. MDL-11662
Merged from MOODLE_19_STABLE
2007-12-08 18:44:12 +00:00
stronk7
051b9588d1 XMLDB_UNSIGNED only applicable to number types. MDL-11662
Merged from MOODLE_19_STABLE
2007-12-08 18:20:15 +00:00
sam_marshall
1be64f767b MDL-11845 Last checkin accidentally omitted a require_once (hopefully finally done now!!) 2007-12-07 11:11:44 +00:00
sam_marshall
ae8c48f726 MDL-11845 Updated the three file downloads from Snoopy to download_file_content (which I didn't know about before :) 2007-12-07 10:24:00 +00:00
nicolasconnault
0c87b5aac0 MDL-11835 Changing default aggregateonlygraded back to true, but set this value to false for upgraded course categories. Also set grade display type to percentage for upgraded items, since this is the default setting in 1.8. Site default is Real display type. 2007-12-07 09:14:51 +00:00
fmarier
2bba926db0 weblib: Fix typo in print_table() which was causing invalid <th> tag
MDL-11506
2007-12-07 05:00:22 +00:00
sam_marshall
3e93ea86c0 MDL-11845 Support for config proxy options when downloading language packs (& other components), timezone file 2007-12-06 18:12:42 +00:00
nicolasconnault
6e17e472ee MDL-11835 Changed upgradelib so that course category aggregation and grade category default aggregation are simple weighted mean 2007-12-06 14:20:37 +00:00
tjhunt
0d7c3b78cd MDL-12448 - Fix page_generic_activity->init_full() to use get_coursemodule_from_instance(). Merged from MOODLE_19_STABLE. 2007-12-06 11:38:53 +00:00
toyomoyo
176058849a MDL-12451, in get_users_by_capability(), defaultroleid bit fixes 2007-12-06 03:57:05 +00:00
tjhunt
36c6f4f59e MDL-12452 - not a fix I fear, just clarifying the comments about how this method is broken. 2007-12-05 17:25:25 +00:00
tjhunt
628f99616d MDL-12438 - followup - fix typos. Thanks to Dan Poltawski. 2007-12-05 16:50:23 +00:00
toyomoyo
086df9283f MDL-12437, sorting by names adds teacher to gradebook list 2007-12-05 01:13:29 +00:00
tjhunt
ade79a4768 MDL-12438 - Print a develoer debug message if you call get_records with a non-unique first column. Merged from MOODLE_19_STABLE. 2007-12-04 17:29:47 +00:00
sam_marshall
d5fe85d5cc MDL-12431 Added ability for filters to contain lang files 2007-12-04 11:47:28 +00:00
nicolasconnault
6073a598a7 MDL-12389 Removed the selectallornone element in favour of a more generic submitlink element. The checkbox controller is now added to a form using moodleform::add_checkbox_controller. 2007-12-04 10:35:25 +00:00
martinlanghoff
1d854cec5a datalib: get_logs_user*() - fix invalid SQL - MDL-12426
Oracle does not accept column labels in the GROUP BY section -
get_logs_usercourse() and get_logs_userday() were computing the
day/hours column and using it in the GROUP BY. The compatible fix
is to reproduce the same computation in the GROUP BY section.

Credit for the fix goes to Dennis Rochford <Dennis.Rochford@usq.edu.au>.
2007-12-04 06:26:10 +00:00
martinlanghoff
2ff0fb1205 accesslib: build_context_path() remove $temptable for Oracle too
The removal of $temptable was incomplete - and so build_context_path()
was broken on Oracle. MDL-11347
2007-12-04 06:25:25 +00:00
toyomoyo
0c07a1c458 MDL-12399, shorten_text() truncates all closing tags 2007-12-04 05:10:12 +00:00
fmarier
69885093bf ddllib: Mark table_column() as deprecated
Signed-off-by: Eloy Lafuente
2007-12-03 23:20:03 +00:00
stronk7
1e5352cb61 Adding some outer spaces to returned SQL to avoid wrong
sentences caused by concatenation.

Merged from MOODLE_19_STABLE
2007-12-03 20:44:03 +00:00
stronk7
51adead13f Adding two new functions: sql_isempty() and sql_isnotempty() to perform
SQL comparisons to empties in a cross-db way. General solution for
problems like MDL-12084

Merged from MOODLE_19_STABLE
2007-12-03 20:30:41 +00:00
nicolasconnault
8f9607dbc8 MDL-12389 Added a new getElementsByClassName function in lib/javascript.php, added the selectallornone formslib element, modified the advcheckbox element to support the group variable, and implemented the new element in grade_export_form 2007-12-03 20:13:01 +00:00
nfreear
166db28057 Fixes bug MDL-12416, Help links - img ALT text should contain phrase "new window" to match link TITLE. 2007-12-03 16:41:36 +00:00
toyomoyo
93c61c18cf MDL-10915, additional setting for emoticons 2007-12-03 06:27:21 +00:00
toyomoyo
8f2469611f wrap search/replace in a function so that it could be used in cron 2007-12-03 04:46:37 +00:00
iarenaza
060518592b Remove accidentally revived files as part of MDL-11099 fix 2007-12-02 16:14:13 +00:00
scyrma
2416a6f7c2 Code style corrections. 2007-11-30 03:09:59 +00:00
skodak
0b5a80a1a5 MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE 2007-11-29 14:43:04 +00:00
scyrma
80f29a5947 Possible fix to MDL-12093 : give window without heading and navigation special css classes. 2007-11-29 07:20:13 +00:00
scyrma
fc5e9c4095 MDL-12093 : cleanup & simplify code to get popup windows. 2007-11-29 05:54:35 +00:00
stronk7
ec28a9bf8b Adding new wraplevelXX class for easier containers identification. MDL-12339
Merged from MOODLE_19_STABLE
2007-11-28 18:14:38 +00:00
skodak
f0362b5db2 MDL-7028 gradebook related changes for course reset; merged from MOODLE_19_STABLE 2007-11-28 09:43:47 +00:00
nicolasconnault
66b61ac680 MDL-12356 CSS classes implemented 2007-11-28 05:16:09 +00:00
toyomoyo
b1ee7d3a02 MDL-12366, removing useless print_capabilities function 2007-11-28 01:20:59 +00:00
nicolasconnault
759094e488 MDL-9506 Added support for 'course' type in grade_get_grade_items() function, plus corrected a few typos 2007-11-27 07:11:11 +00:00
moodler
da46265a8f Merged docs fix about get_recordsets usage from 1.9 stable 2007-11-27 05:59:45 +00:00
jamiesensei
0f6475b396 fix for error message 2007-11-26 13:32:23 +00:00
skodak
e850ec4846 MDL-12130 fixed regression - disabledIf did not work in dateselectors; merged from MOODLE_19_STABLE 2007-11-24 13:37:07 +00:00
skodak
a78890d593 MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE 2007-11-23 22:15:07 +00:00
skodak
0ad439bb42 MDL-12221 custom themes revisited - fixed bug in previous commit, added more developer debug; merged from MOODLE_19_STABLE 2007-11-23 20:26:16 +00:00
skodak
9f7f1a74a0 MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE 2007-11-23 16:49:51 +00:00
nicolasconnault
8f81fab9df MDL-9506 Returning stdClass objects instead of grade_item objects: for security 2007-11-22 08:47:34 +00:00
scyrma
61b420ace2 Replaces 'GMT' by 'UTC' where it showed in user interface and fixes MDL-9164. 2007-11-22 06:28:58 +00:00
nicolasconnault
1a5159496b MDL-12182 Reverting to pre-upgrade in order to prepare a patch instead 2007-11-22 06:17:01 +00:00
nicolasconnault
f3ac8eb40c MDL-12182 Reverting to pre-upgrade in order to prepare a patch instead 2007-11-22 05:42:46 +00:00
nicolasconnault
93da7cf445 MDL-12182 More grade_item unit tests 2007-11-22 05:37:49 +00:00
toyomoyo
d2b8b98732 MDL-12309, gradebook can not sort by names while in group mode 2007-11-22 05:17:26 +00:00
nicolasconnault
77dbe70855 MDL-9506 Implemented and tested the new API functions 2007-11-21 10:04:21 +00:00