29335 Commits

Author SHA1 Message Date
nicolasconnault
9776dba81b MDL-11835 Changing default aggregateonlygraded to false 2007-12-06 14:24:48 +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
nicolasconnault
f9124bd22f MDL-11835 Merging from 1.9 2007-12-06 09:45:58 +00:00
skodak
ee022cb7b8 fixing unmerged files 2007-12-06 09:21:55 +00:00
nicolasconnault
9ecd438653 MDL-11835 Implemented all the default settings suggested in the pdf report, and turned down the size of the report table fonts. 2007-12-06 09:17:28 +00:00
skodak
3f4e29b4ac fixing unmerged files 2007-12-06 08:44:07 +00:00
toyomoyo
4affe9486b MDL-12352, block/search fails to install on postgres 2007-12-06 07:10:29 +00:00
moodler
6806fff30f Automatic installer.php lang files by installer_builder (20071206) 2007-12-06 05:02:23 +00:00
toyomoyo
176058849a MDL-12451, in get_users_by_capability(), defaultroleid bit fixes 2007-12-06 03:57:05 +00:00
toyomoyo
cecac3b37c MDL-8270, fixing a warning 2007-12-06 01:08:25 +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
tjhunt
349d41f0c5 MDL-12450 - Matching up roles on the restore settings form is broken - this is basically a complete rewrite of these two functions. Merged from MOODLE_19_STABLE. 2007-12-05 16:14:29 +00:00
diml
26fc4193f5 fixing security hole. reference : http://moodle.org/mod/forum/discuss.php?d=85748#p379857
Inaki Arenzana
2007-12-05 15:54:39 +00:00
poltawski
bbebbc0c57 MDL-12446 - profile signup page not respect custom user profile field
sortorder

Merged from MOODLE_19_STABLE
2007-12-05 14:33:10 +00:00
nicolasconnault
40e2ccee27 MDL-11835 Implemented changes discussed in http://moodle.org/mod/forum/discuss.php?d=85908. Also added item name and module name and category name (for category totals) in alt tags of icons 2007-12-05 09:35:19 +00:00
toyomoyo
bb9f1b4a85 MDL-12430, if new and regrade are chosen, then preview hides 'old' students 2007-12-05 07:49:56 +00:00
toyomoyo
db0f2a4496 MDL-12439 database preset fixes 2007-12-05 06:13:17 +00:00
toyomoyo
26c355f874 MDL-12435, cancel in preferences form doesn't work 2007-12-05 02:59:44 +00:00
toyomoyo
086df9283f MDL-12437, sorting by names adds teacher to gradebook list 2007-12-05 01:13:29 +00:00
skodak
c8969c22da MDL-12133 fixed regression in user advanced edit, sorry; merged from MOODLE_19_STABLE 2007-12-04 23:53:39 +00:00
mudrd8mz
1dfc37b8fe Merged from MOODLE_19_STABLE. Do not produce PHP warnings in case string file does not define array $string[] 2007-12-04 21:52:16 +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
poltawski
ac17355524 MDL-12415 - When we have more than one category/lots of courses the course
block shows two links next to search other (Search Courses/All courses)
which point to the same place....

The all courses link is able to be switched off and the search courses is not,
for this reason i've gone for removing the search courses link.

Merged from MOODLE_19_STABLE
2007-12-04 12:57:02 +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
e88370a6a3 blocks/online_users: Remove SQL "id,id" which causes errors on Oracle - MDL-12425
Credit for the fix goes to Dennis Rochford <Dennis.Rochford@usq.edu.au>
2007-12-04 06:25:56 +00:00
martinlanghoff
2c3d575587 mod/assignment: Remove SQL "id,id" which causes errors on Oracle - MDL-12425
This loop also needs some rewriting - it is _very_ inefficient on
large courses.
2007-12-04 06:25:42 +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
moodler
97f0e78381 Automatic installer.php lang files by installer_builder (20071204) 2007-12-04 05:09:30 +00:00
toyomoyo
47769861ae MDL-12419, do not present course start date if start date is invalid 2007-12-04 01:08:48 +00:00
toyomoyo
8f5a640165 MDL-12419, do not present course start date if start date is invalid 2007-12-04 01:04:03 +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
nicolasconnault
2a58d3c22c 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 15:42:11 +00:00
poltawski
b60fd03245 MDL-12409 - stop access to editing 'site course' with course edit form.
Merged from MOODLE_19_STABLE
2007-12-03 12:23:24 +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
toyomoyo
a80112f0b2 MDL-12397, gradebook sort by names should start with ASC 2007-12-03 02:03:38 +00:00
iarenaza
249ab0fd7a Fix MDL-12407: missing whitespace produces invalid XHTML syntax 2007-12-02 22:19:53 +00:00
iarenaza
060518592b Remove accidentally revived files as part of MDL-11099 fix 2007-12-02 16:14:13 +00:00
tjhunt
2990e11355 MDL-12373 - If you can see your user profile, but don't have moodle/course:viewparticipants, you get a link in the nav bar that takes you to an error message. Merged from MOODLE_19_STABLE. 2007-11-30 12:08:01 +00:00
tjhunt
6e4ca69ad7 MDL-12393 - Layout tweaks on question category editing page. Merged from MOODLE_19_STABLE. 2007-11-30 11:00:48 +00:00
scyrma
2416a6f7c2 Code style corrections. 2007-11-30 03:09:59 +00:00