38731 Commits

Author SHA1 Message Date
Eloy Lafuente
54c72f84a0 MDL-20749 annihilating last ocurrences of PAGE/OUTPUT from xmldb actions. 2009-11-05 15:43:32 +00:00
Eloy Lafuente
fb9514e361 MDL-20749 correct error output - sentences/tables checkers fixed. 2009-11-05 15:40:26 +00:00
Eloy Lafuente
bc1148bcc7 MDL-20749 correct error output - some more strings added 2009-11-05 13:58:48 +00:00
Eloy Lafuente
d3859b1340 MDL-20749 correct error output - key/index checkers fixed. 2009-11-05 13:58:22 +00:00
Eloy Lafuente
60a3e22b62 MDL-20749 fixed the class edit_field_save to output errors properly. Will
be beutifying the output a bit later
2009-11-05 13:38:02 +00:00
Sam Hemelryk
8958174c48 navigation MDL-20651 Changed setting from hide to show 2009-11-05 09:31:55 +00:00
jerome mouneyrac
cf9235d3a3 webservice MDL-17135 add notification when the current required capability doesn't exist anymore + remove TODO comment about checking that the service names are unique because we should end up to find a way to i18n service names => The uniqueness should be checked during service discovery 2009-11-05 07:50:36 +00:00
jerome mouneyrac
09179b789b webservice MDL-17135 create searchable select form element + use it in service form for selecting a capability 2009-11-05 07:06:09 +00:00
Moodle Robot
5c64cdabda Updated the HEAD build version to 20091105 2009-11-05 00:32:54 +00:00
Inaki
c757ef825b enrol/ldap: MDL-13952 Don't auto create courses if auto creation not enabled.
Merged from MOODLE_18_STABLE
2009-11-04 21:00:58 +00:00
Petr Skoda
d804f9e29f MDL-20743 imported latest jabber library 0.1rc2-r77 2009-11-04 20:23:33 +00:00
Petr Skoda
1b57ec6ce4 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup; please note we are not using stock bennu lib from SF 2009-11-04 20:06:40 +00:00
Petr Skoda
943733b35b MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup; please note we are not using stock bennu lib from SF 2009-11-04 20:05:42 +00:00
Petr Skoda
32e1170907 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup; please note we are not using stock bennu lib from SF 2009-11-04 20:05:41 +00:00
Petr Skoda
14a960ac7b MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 19:53:01 +00:00
Petr Skoda
77d72dbdea MDL-20742 removed unused install.php files in en and es lang install directory 2009-11-04 19:46:56 +00:00
Petr Skoda
0ac940b3bf MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported 2009-11-04 19:24:12 +00:00
Eloy Lafuente
e3acc8af7a MDL-20734 normalise_value() - moving from private to protected everywhere and abstracting 2009-11-04 13:19:11 +00:00
Jenny Gray
79c995bc3d MDL-20665 fixed error from postgres on validating duplicate category name when entering new category 2009-11-04 12:16:19 +00:00
Petr Skoda
8319260833 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 11:58:30 +00:00
Petr Skoda
3fac41f8dd MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 11:57:54 +00:00
Petr Skoda
aeb15530b8 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 11:57:52 +00:00
Petr Skoda
cb8a83bbbd MDL-20601 fixed fatal SQL upgrade error, missing {} around table names 2009-11-04 08:54:07 +00:00
Petr Skoda
e7f59efc0f MDL-20601 bumping up redirect version after major changes 2009-11-04 08:49:22 +00:00
Petr Skoda
aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
Sam Hemelryk
da3ab9c4be navigation MDL-20651 Added config setting to hide course categories on the navigation
As requested and voted on admin can now choose not to include course categories within the navbar and global navigation block.
At the same time I also introduced a second setting, showallcourses, which ensures all of the courses a user is registered in are shown on the navigation at all times.
2009-11-04 07:23:19 +00:00
Sam Hemelryk
8bdc9cacad files MDL-20601 Conversion of many of the uses of print_textarea, and the mforms htmleditor to the new editor
Please forgive me if I have missed converting any output statements. If you do find an output statement that is not formatting correctly please refere to the table I added to this bug in regards to how it should be formatted.
2009-11-04 06:14:06 +00:00
Sam Hemelryk
8432f5e6c5 files MDL-20635 Added support for cleaning up files associated with a context when it is deleted
Note: This is a temporary solution until we have a patch to clean them up in a cron run
2009-11-04 06:11:32 +00:00
Sam Hemelryk
405a526f70 gradebook MDL-19797 Fixed missing global 2009-11-04 03:29:04 +00:00
Sam Hemelryk
93b026ee4f forum MDL-20739 Fixed bad conversion of html_select component 2009-11-04 03:22:26 +00:00
Sam Hemelryk
6fe060569b forum MDL-20739 Fixed bad conversion of html_select component 2009-11-04 03:15:09 +00:00
Sam Hemelryk
ecf922b8bb forum MDL-20737 Fixed bug causing exception in forum move to drop down 2009-11-04 02:46:18 +00:00
Sam Hemelryk
7eef78def5 navigation MDL-20735 Fixed bug that caused exception when modules were added to the front page 2009-11-04 01:45:55 +00:00
Moodle Robot
cb5667b414 Updated the HEAD build version to 20091104 2009-11-04 00:32:28 +00:00
Moodle Robot
3d21ffd4e9 Automatic installer.php lang files by installer_builder (20091104) 2009-11-04 00:21:29 +00:00
Eloy Lafuente
8fb501e96c MDL-20734 empties and zeros - implemented the normalise_value() function in
mysql and postgres to perform central normalisation of values for insert/
update/set_field. Now all DB drivers cast empty strings to 0 when working
with numeric columns (integer and decimal)
2009-11-03 23:34:43 +00:00
Dan Poltawski
8843e0bb3c lib/phpmailer MDL-20701 - Convert to moodle_phpmailer class
Stage 2 - We now extend phpmailer and do our customisations in our subclass
rather than directly in the original file.

Previously we modified SetLanguage(), but I have not carried that change over
because I could not see code paths where this gets executed.(See bug)

I tested the header/content of the old class vs this one and think the changes
are all carried over. (If anyone has clever thoughts for how to unit test this
mailing out it would be useful, especially for upgrading phpmailer).
2009-11-03 21:02:36 +00:00
Dan Poltawski
ed54683612 lib/phpmailer MDL-20701 - Import new phpmailer (php5 only)
Stage one of converting our existing customisations into an extended class.
This makes it easier for us to keep up to date, see our changes and remove
the bundled libraries for distros (e.g. debian).
2009-11-03 21:01:50 +00:00
Eloy Lafuente
2f9c1693a0 MDL-20734 Changed tests behaviour so insert/update/set_field will be expected to cast
empty strings (in numeric columns) to 0
2009-11-03 19:53:11 +00:00
Eloy Lafuente
fdc45ac360 NOBUG: Added some tests with empty strings in insert_record/update_record/set_field
that reveal inconsistencies between DBs
2009-11-03 18:11:18 +00:00
Petr Skoda
86449d2214 MDL-20168 we need a lot more memory in 64bit PHP 2009-11-03 14:55:30 +00:00
Eloy Lafuente
0f0801f499 Added missing global that was causing perfinfo and others not to be respected. 2009-11-03 11:02:07 +00:00
Eloy Lafuente
7c47635220 Added missing PK causing problems in MySQL. Will test that later in
proper DDL tests...
2009-11-03 10:20:56 +00:00
Moodle Robot
bcfc6dc5df Updated the HEAD build version to 20091103 2009-11-03 00:32:47 +00:00
Tim Hunt
3c2cfc8f3f blocks: MDL-20710 prevent XSRF.
Uses new require_sesskey function from MDL-20702.
2009-11-02 17:16:56 +00:00
Tim Hunt
c74eec3bee blocks: MDL-20711 prevent XSRF.
Uses new require_sesskey function from MDL-20702.
2009-11-02 17:16:28 +00:00
Tim Hunt
81d1f0914d question bank: MDL-20707 prevent XSRF.
Uses new require_sesskey function from MDL-20702.
2009-11-02 17:15:18 +00:00
Tim Hunt
82165a0cf0 quiz: MDL-20706 prevent XSRF.
Uses new require_sesskey function from MDL-20702.
2009-11-02 17:10:31 +00:00
Tim Hunt
dfc133c09b lesson: MDL-20705 Fix XSRF issues.
Uses new require_sesskey funciton from MDL-20702.
2009-11-02 17:01:02 +00:00
Tim Hunt
a79ef03fe9 moodlelib: MDL-20702 New require_sesskey function.
Also improve PHPdoc comments to fix my misconceptions.
2009-11-02 16:41:00 +00:00