116 Commits

Author SHA1 Message Date
dongsheng
957f6fc9d2 "MDL-14460, fix all the other get_context_instance, merged from MOODLE_19_STABLE" 2008-05-02 04:37:02 +00:00
dongsheng
6967cb2d42 MDL-14129, fix print_error() call 2008-04-11 07:49:07 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
skodak
8293c75198 MDL-6786 Improved dropping of block and module tables during uninstall; merged from MOODLE_19_STABLE 2008-01-03 15:03:32 +00:00
tjhunt
7588679f7a Teach XMLDB about the local/db folder, but only include it if the local folders exists. 2007-12-19 15:06:51 +00:00
stronk7
dcbef1994e Now PHP code generated by the XMLDB editor automatically
adds calls to upgrade_main_savepoint(). MDL-11698

Merged from MOODLE_19_STABLE
2007-11-01 23:24:36 +00:00
stronk7
df7cb97973 Adding support to course/formats from within the editor. MDL-11842
Merged from MOODLE_19_STABLE
2007-10-19 16:52:34 +00:00
nicolasconnault
b7064779f5 Updated copyright notice in header 2007-10-10 05:25:14 +00:00
stronk7
e4a2d75456 group/db isn't a source of xml files anymore. MDL-11431 2007-09-24 22:32:31 +00:00
stronk7
964170c69c One more default and useless comment deleted. MDL-11385 2007-09-24 19:36:24 +00:00
stronk7
4a78d22fc3 Deleting some default comments that the XMLDB editor was
generating here and there. Only the table one remains. MDL-11385
2007-09-24 18:40:49 +00:00
stronk7
c2f8bff82c Now assignment submodules are handled by the XMLDB editor. Pending commit. 2007-09-19 08:04:11 +00:00
stronk7
3e38ceb837 Added some new test to check double creation
and deletion of enums (check constrainsts). MDL-9356
2007-09-11 18:35:23 +00:00
stronk7
367b80f5ee Added one new test to change precission of a numeric field
to a smaller one. It breaks Oracle in its current status.

Merged from MOODLE_18_STABLE
2007-09-04 22:13:30 +00:00
stronk7
dfd535fac9 Now, under MySQL, a check of wrongly signed ints is also performed. MDL-11038 2007-08-31 23:44:37 +00:00
stronk7
498a550d01 Adding one utility to detect and propose DB changes in
order to have all the int(10) fields properly defined. MDL-11038

Test, test, test!!!
2007-08-28 23:03:40 +00:00
stronk7
ec2e146dc5 New tables must have the id unsigned.
Merged from MOODLE_18_STABLE
2007-08-27 14:43:30 +00:00
nicolasconnault
e295df447f MDL-10870 All files updated to new build_navigation() method. 2007-08-17 11:18:58 +00:00
stronk7
b4c0ce9fcb Wrong default specified (and detected!). Fixed. 2007-08-11 22:06:46 +00:00
stronk7
365a18e4b8 Reverting deleted addslashes(). They are needed for proper testing after all.
Merged from MOODLE_18_STABLE
2007-08-09 18:11:48 +00:00
stronk7
0e60e586cf Merging latest test changes from MOODLE_18_STABLE 2007-08-09 18:03:26 +00:00
stronk7
40f5b3011a Ensuring we always retrofit lowercase tables. Part of MDL-10413.
Merged from MOODLE_18_STABLE
2007-07-17 18:49:22 +00:00
stronk7
72e42141cf Now SQL sentences are all together and with proper terminators.
Tested against MySQL, PostgreSQL and MSSQL. MDL-7357
2007-07-09 18:03:47 +00:00
stronk7
67dc1f78c6 Reverting to previous version to respect cross-db. Final
tested solution arriving in hours. MDL-7357

Merged from MOODLE_18_STABLE
2007-07-09 17:17:13 +00:00
moodler
95b31d202b Merged formatting fix for MDL-7357 2007-07-09 03:56:58 +00:00
stronk7
80c85b0c5d Now tested against Oracle too. Adding option to XMLDB Editor interface. MDL-7357
Merged from MOODLE_18_STABLE
2007-07-08 23:58:05 +00:00
stronk7
d63375cde5 First cut of the utility embeded in the XMLDB Editor used to
check any Moodle server looking for missing indexes. Tested
under MySQL, PostgreSQL and MSSQL. No frontend available
until tested for Oracle. MDL-7357

Merged from MOODLE_18_STABLE
2007-07-08 23:24:49 +00:00
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
stronk7
0746aeca03 Fixed one wrong urlencode after error.
Merged from MOODLE_18_STABLE
2007-04-02 22:03:03 +00:00
stronk7
208f08e2d1 Disable the "save" button if the file isn't writable.
Merged from MOODLE_18_STABLE
2007-04-02 21:51:16 +00:00
stronk7
ef0d378cb7 Centering buttons in some actions...
Merged from MOODLE_18_STABLE
2007-04-02 21:37:28 +00:00
stronk7
95f4b90172 XHTML fix. Credit goes to Jeff Graham. MDL-9103
Merged from MOODLE_18_STABLE
2007-03-30 07:46:15 +00:00
stronk7
bdb794843a Testing comments and default clauses containing chars to be escaped.
Merged from MOODLE_18_STABLE
2007-03-15 19:16:27 +00:00
tjhunt
c349b05181 XHTML Strrrrrrict! 2007-02-28 15:34:56 +00:00
stronk7
0b39275b57 Delete one condition used while debugging. 2007-02-25 20:36:13 +00:00
stronk7
5f6435d4c0 Now the editor detects if the xml file has been locally modified
since loading it. Second part of MDL-8264

Merged from MOODLE_18_STABLE
2007-02-25 20:20:35 +00:00
stronk7
776dee9c56 Now XMLDB Editor performs check/validation of XML files
before loading them using the best parser available.
MDL-7726 and first part of MDL-8264

Merged from MOODLE_18_STABLE
2007-02-23 20:59:28 +00:00
toyomoyo
007456de61 MDL-8425, fixing xhtml strict issues 2007-02-08 07:12:53 +00:00
stronk7
b26f94ce15 Adding missing tags in code. Credit goes to Greg Lyon. MDL-8383.
Merged from MOODLE_17_STABLE
2007-02-01 22:36:35 +00:00
stronk7
704b9031ac Add full specs for current field in rename_field() PHP
generation from the editor. Part of MDL-8296
2007-01-24 16:54:49 +00:00
stronk7
e267037b86 Fix XMLDBEditor for groups. Wasn't being intanciated properly. 2007-01-22 17:27:04 +00:00
stronk7
b5346d51a7 Generators can use ddllib.php stuff 2007-01-20 18:08:55 +00:00
stronk7
60b562c49e Adding some $CFG->dbfamily-s here and there. MDL-7061 2007-01-12 00:06:08 +00:00
skodak
b7dc225654 MDL-8062 1.3 Remove name attribute from <form> and fix focus everywhere - more changes ahead 2007-01-04 21:32:36 +00:00
Martin Langhoff
f3f7610c90 cvsimport fixups -- cvshead had strayed from upstream 2007-01-04 13:15:04 +13:00
moodler
f4ba7e1a54 Bend over for XHTML 1.0 Strict ... MDL-8049
Removed Javascript language attribute tags and added CDATA
2007-01-03 14:44:17 +00:00
stronk7
db9940b605 PHP generated code must use $result instead of $status. MDL-7533
Merged from MOODLE_17_STABLE
2006-11-18 19:08:10 +00:00
stronk7
0b02aefb93 while working, it's better to compare with original data (un-slashed)
Merged from MOODLE_17_STABLE
2006-11-14 16:31:33 +00:00
skodak
810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
stronk7
49173d25a7 Ending fied/key/index PHP generators
Merged from MOODLE_17_STABLE
2006-11-02 23:09:39 +00:00