77 Commits

Author SHA1 Message Date
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
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
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
stronk7
0c31ba2813 Adding test for create index and drop index. 2006-09-26 23:08:44 +00:00
stronk7
ceac2552ef Added support for PHP generation on create/drop/rename indexes and keys 2006-09-26 19:05:55 +00:00
stronk7
313b5a3550 Minor changes to improve behaviour of selections. 2006-09-25 22:53:39 +00:00
stronk7
aa134ecf17 Now the tests are performed with real data (2 records). Added 4
more tests to check compatibility of set/drop defaults...
2006-09-25 18:20:08 +00:00
stronk7
c02a561f97 Minor change to test to exclusively test the change of nullability 2006-09-24 15:28:32 +00:00
stronk7
dcf9c14c2b Typo 2006-09-24 00:13:22 +00:00
stronk7
3fb145e061 Change slighty the tests... 2006-09-24 00:11:53 +00:00
stronk7
27bb1be29d Inserted two more test 2006-09-24 00:01:02 +00:00
stronk7
05002031d5 adding some more tests 2006-09-23 21:30:36 +00:00
stronk7
1934b52236 adding support for some more options 2006-09-23 21:29:31 +00:00
stronk7
8e895ae5c7 mark rename table as not implemented 2006-09-23 21:28:16 +00:00
skodak
eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
stronk7
12bda5832f Two more tests added: add_field() and drop_field() 2006-09-12 22:21:51 +00:00