95 Commits

Author SHA1 Message Date
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
stronk7
ef856b2d52 Enablig rename_table() PHP generator
Merged from MOODLE_17_STABLE
2006-11-02 22:44:29 +00:00
stronk7
e0251aea34 Added two more tests:
- To check adding numerial fields not null + default = 0
- To test set_field() with TEXT data

Merged from MOODLE_17_STABLE
2006-10-21 17:25:44 +00:00
stronk7
b2b33a1fef Added 4 more tests to check CLOB/BLOB handling across all DBs. MDL-7062
Merged from MOODLE_17_STABLE
2006-10-17 23:31:49 +00:00
stronk7
ba4aa5ec72 Added one more XMLDB test for find_sequence_name()
Merged from MOODLE_17_STABLE
2006-10-16 17:58:01 +00:00
stronk7
f8ca405052 re-enabling the rename_field() test 2006-10-02 17:42:31 +00:00
stronk7
3033991184 Set debug off on tests 2006-10-02 16:26:34 +00:00
stronk7
cba6b7049a Enabling rename_field() test 2006-10-01 23:06:35 +00:00
stronk7
3832682229 Fixed two bugs in the tests... 2006-10-01 16:08:25 +00:00
stronk7
f086dd7da1 Drop one more table if present 2006-09-30 23:09:41 +00:00
stronk7
a59f3a34f3 Initial commit of rename_table(). Not ended! 2006-09-30 22:40:15 +00:00
stronk7
142d7fb842 Added one more test to check the EXPERIMENTAL rename_key() function 2006-09-30 19:45:51 +00:00
stronk7
1c86ef5b1c Adding support for index renaming. Note that MySQL doesn't support this
but this shouldn't be important at all, mainly because, under xmldb,
accesses to index-names are always done with find_index_name() and
never explicity.
Anyway, this function could be useful in the future to normalize index
names in some Health center or another similar place.
2006-09-30 18:23:00 +00:00
stronk7
aa8503fdd0 Added 3 more tests to check change_field_enum() 2006-09-30 17:06:59 +00:00
stronk7
3650ba6f58 Using the new table_exists() to initialize tests properly. 2006-09-30 15:51:41 +00:00
stronk7
4fae686bc2 Enablig PHP generation of code for change_field_type() 2006-09-29 23:12:40 +00:00
stronk7
cec4b7c621 Added to more tests to check float <---> char conversion 2006-09-29 23:10:31 +00:00
stronk7
b0cd86786b Change one test a bit... 2006-09-29 17:29:08 +00:00
stronk7
72fa544947 Moving some tests up and down and introducing some more
tests about changing column types. Not working yet unded mssql
2006-09-28 23:16:29 +00:00
stronk7
531bf26489 Adding two more tests (create and drop foreign keys) 2006-09-28 22:11:06 +00:00
stronk7
a8b7de48fe Adding some more tests about adding and dropping keys 2006-09-28 17:35:52 +00:00
stronk7
97bd35b284 Fixed bug in PHP generation of indexes. 2006-09-27 18:47:24 +00:00