Commit graph

29824 commits

Author SHA1 Message Date
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
toyomoyo
ba9b44f976 adding support for customized cron 2007-11-30 02:00:04 +00:00
toyomoyo
69882467d4 fixing duplicate header 2007-11-30 01:16:26 +00:00
moodler
207ddacd41 New installer files added - stronk7 2007-11-29 16:59:26 +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
1bdacf2706 MDL-12093 : new strings to get locale-aware popup windows. 2007-11-29 06:00:33 +00:00
scyrma
fc5e9c4095 MDL-12093 : cleanup & simplify code to get popup windows. 2007-11-29 05:54:35 +00:00
moodler
3814666c0e Automatic installer.php lang files by installer_builder (20071129) 2007-11-29 05:47:38 +00:00
toyomoyo
3ea69b8d43 MDL-12346, lesson module GIFT import fails 2007-11-29 04:31:57 +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
tjhunt
e049dee30a MDL-12330 - moving a question that uses an image in a subfolder of course files, where the same subfolder does not exist at the destination, fails. Merged from MOODLE_19_STABLE. 2007-11-28 16:43:20 +00:00