tjhunt
82611d8d33
moodle_page: MDL-12212 ->docspath
2009-05-06 08:48:13 +00:00
tjhunt
ad5d5997ed
moodle_page: MDL-12212 more ->pagepaths to kill
2009-05-06 08:43:51 +00:00
tjhunt
6b037e0420
filters: MDL 7336 Remove remaining references to ->filters
2009-04-13 07:04:32 +00:00
poltawski
ffeadcd485
course overview report: MDL-18286 - verson number bump wasn't merged properly
...
Grrrrrrrrrrrrrrrrr Petr! ;-)
2009-03-26 10:57:18 +00:00
tjhunt
f68cb08bbe
unit tests: MDL-18607 new way to do unit tests involving the database.
...
This is not as ambitious as the abortive FakeDBUnitTests scheme, but this one works for simple cases.
There is a new test case class UnitTestCaseUsingDatabase to inherit from. I hope it is sufficiently well documented in its PHPdocs.
* It users $CFG->unittestprefix.
* You can access that database using $this->testdb.
* That database is empty by default, you have to call create_test_table to create the ones you want, and drop_test_table to clean them up in the end. The table definitions are read from the XMLDB file.
* When you are ready to call real Moodle code that users $DB, call switch_to_test_db and then revert_to_real_db when you are done.
* If you forget to call drop_test_table or switch_to_test_db, the class will attempt to clean up after you, but will also print rude developer debug messages telling you not to be stupid.
* There is also a load_test_data method for populating a table from an array.
The is an example of its use in lib/simpletest/testunittestusingdb.php.
2009-03-23 04:12:37 +00:00
tjhunt
cc3209769e
Unit tests: Override xmlstrictheaders for unit tests, it causes unnecessary grief here.
2009-03-10 07:54:15 +00:00
danmarsden
bc7ec91a0d
MDL-12037 Backup Log - add new field to backup_log table to allow other backup related functions to save log data
2009-03-03 00:06:08 +00:00
skodak
b421371ed3
MDL-18039 fixed footer docs link
2009-02-19 07:32:23 +00:00
skodak
f2ceeea5a4
MDL-18041 improved hints - thanks helen; merged from MOODLE_19_STABLE
2009-02-18 20:32:54 +00:00
skodak
1e12b91217
MDL-18223 removed repeated format_text() - should be applied only once
2009-02-17 23:01:30 +00:00
skodak
6acb6a3dde
MDL-18223 XHTML strrrict
2009-02-17 22:56:47 +00:00
skodak
209c122b65
MDL-18223 fixed theoretical XSS
2009-02-17 22:44:38 +00:00
skodak
2e3f66d728
MDL-18223 merged spam cleaner into head + removed legacy code + fixed report title
2009-02-17 22:37:48 +00:00
skodak
f2cbf2dc1e
MDL-18258 fixed legacy type and improved risky default course role hints
2009-02-15 18:45:15 +00:00
skodak
69f34b9659
MDL-18039 xhtml strict fixes
2009-02-15 17:40:31 +00:00
skodak
e36005bef6
MDL-18041 improved admin risk info
2009-02-15 11:30:45 +00:00
skodak
e7dd3aac30
MDL-18155 no warning if allowed email domains set; merged from MOODLE_19_STABLE
2009-02-15 09:55:48 +00:00
skodak
be22a5c16c
MDL-18078 adding docs links from detailed security overview report; merged from MOODLE_19_STABLE
2009-02-15 09:45:34 +00:00
skodak
2b900b0eeb
MDL-18040 fixed adminrisk query too - now much faster
2009-02-02 13:15:25 +00:00
skodak
0cb93a7e45
MDL-17427 another round of refactoring of upgrade related functions - this should be final now I hope ;-)
2009-01-29 19:58:47 +00:00
skodak
43995076c6
MDL-18040 rewritten XSS query, I hope this will be much faster
2009-01-28 22:45:07 +00:00
skodak
da5e6f3a29
MDL-18057 fixed XSS test; merged from MOODLE_19_STABLE
2009-01-27 17:39:32 +00:00
skodak
828b6d1067
MDL-18040 adding warning that the security report processing may take a long time
2009-01-27 16:21:56 +00:00
skodak
244714c28a
MDL-18055 adding timeout protection to security report; merged from MOODLE_19_STABLE
2009-01-27 15:06:40 +00:00
skodak
9b0b537b69
MDL-17222 imrpoved configuration links
2009-01-15 18:30:26 +00:00
skodak
d6bc965bb8
MDL-17878 basic UI for looking at config log
2009-01-13 21:13:16 +00:00
skodak
1045a0074c
MDL-17849 sql queries not printed by default during upgrade anymore, there is a new config.php only setting $CFG->upgradeshowsql instead
2009-01-12 16:52:53 +00:00
skodak
db5af9346a
MDL-16483 reverting changes done to admin/index.php, adding new /admin/report/unittest/test_tables script.php (not finished yet!)
2009-01-11 11:19:52 +00:00
skodak
84ebf08dcc
MDL-16483 $CFG->unittestprefix not required anymore to run unit tests that do not need fake db; it should be saer to let admins modify the prefix in config.php instead of modifying it from php
2009-01-10 16:06:53 +00:00
skodak
efd8c7fc6b
MDL-17843 - db unit tests are now always included again; lang string not needed anymore
2009-01-10 14:13:34 +00:00
skodak
dbff568ed6
MDL-17842 removed slowtest support from unittest report - never used, not needed
2009-01-10 14:02:31 +00:00
skodak
c643c2f513
MDL-17806 fixed sql_bit_and use which returns number and that is why it is not suitable for SQL conditions; thanks penny!
...
Fixed DML docs too.
2009-01-07 18:55:32 +00:00
tjhunt
6fe51abe59
unit tests: Simple hack to avoid XHTML well-formedness errors during test DB upgrade.
2009-01-07 07:41:03 +00:00
skodak
d1aa1e4855
MDL-17758 fixed hardcoded /admin/ links
2009-01-01 14:25:29 +00:00
skodak
d942a35a26
MDL-17222 Security overview report - not finished yet, work in progress
2008-12-29 19:13:56 +00:00
dongsheng
60e40dda6c
"MDL-14129, remove the rest error() in moodle2"
2008-12-12 04:53:32 +00:00
tjhunt
92f008465c
admin tree: MDL-10047 and MDL-13104 weird things happen when you turn editing on and off.
...
That was becuase not enough information was being passed in for the blocks editing controls to construct the right URL to reload the page.
It is also now possible for admin external pages to add some UI next to the turn blocks editing on/off button. For example, when you are editing the list of course catgories, the turn editing off button is now in the right place.
2008-12-11 09:21:41 +00:00
skodak
0055221839
MDL-17522 no db specific tests - they all must work the same!
2008-12-04 15:06:28 +00:00
tjhunt
2aa3baedc7
capability report: MDL-17410 did not work if a capability was not set anywhere.
...
Change it so that the system context is always shown.
2008-12-03 02:40:17 +00:00
sam_marshall
832e1528ad
MDL-17425: Unit test system - improved reporting of moodle_exception
2008-12-01 16:46:01 +00:00
skodak
e0f81e94a6
MDL-17465 - separate live log capability adn admin tree link
2008-11-29 16:15:40 +00:00
skodak
a2e4bf7f23
MDL-17463 - reparate capabilities for course and admin reports
2008-11-29 14:22:10 +00:00
sam_marshall
c34845e2e2
MDL-17425: Unit test system - improved reporting of moodle_exception
2008-11-27 13:41:08 +00:00
skodak
d994ced22b
MDL-17372 admin reports: Added full plugin support for admin reports; added specail capability for unittest execution, minor refactoring
2008-11-26 19:27:39 +00:00
tjhunt
759adfffa9
user's role / capabiltiy report: sort the context tree.
2008-11-25 07:29:14 +00:00
tjhunt
840b4f0b67
capability report: Remove unnecssary, probably wrong, line of code.
2008-11-24 04:46:29 +00:00
skodak
54e79bc3ff
MDL-15461 fixed DML conversion typos
2008-11-22 19:42:20 +00:00
skodak
beaa43db85
MDL-17036 dml: dbpersist moved into dboptions
2008-10-27 22:21:34 +00:00
jamiesensei
ef09fadc44
MDL-17001 "Moving admin/report/simpletest to directory unittest" changing some references to old simpletest directory name.
2008-10-24 15:13:08 +00:00
jamiesensei
368f375370
renamed admin/report/simpletest to unittest
2008-10-24 15:10:41 +00:00