Commit graph

573 commits

Author SHA1 Message Date
Andrew Davis
9c7a301b4d weblib MDL-20826 improved convert_urls_into_links() 2009-12-17 07:52:56 +00:00
Petr Skoda
4454447d56 MDL-20700 whitespace terror returns 2009-12-16 22:14:17 +00:00
Petr Skoda
c39e5ba20f MDL-20787 renaming image_url() to pix_url() to be more consistent with the actual image location ;-) 2009-12-16 20:33:37 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
Penny Leach
5fb2911515 portfolio MDL-21079 updated a few more portfolio_callers
fixed a few more that were pointing to lib.php rather than locallib.php
2009-12-15 12:37:06 +00:00
Sam Hemelryk
d54343ef28 portfolio MDL-21079 Fixed missing requirement in portfolio simpletests 2009-12-14 05:56:55 +00:00
Sam Hemelryk
477969b6b4 portfolio MDL-21079 Fixed missing requirement in portfolio simpletests 2009-12-14 02:23:36 +00:00
Sam Hemelryk
460232f302 navigation MDL-14632 Attempting to fix navigation simpletests 2009-12-11 02:40:57 +00:00
Penny Leach
59dd457e4b portfolio: MDL-21030 - leap2a portfolio format support.
This commit includes:

- leap2a portfolio format, and xml writer
- proof of concept implementation in forum and assignment modules
- a lot of refactoring of the portfolio formats in general:
    - addition of "abstract" formats - this is necessary for plugins to be able to support groups of formats
    - addition of the idea of portfolio formats conflicting with eachother - eg richhtml & plainhtml

it touches modules other than assignment and forum, because the format api
changed and now each place in moodle that exports portfolio content has to deal
with the formats it supports slightly differently.

At the moment the Mahara portfolio still doesn't support this format, because I
haven't done the Mahara side yet. The "file download" plugin supports it
though.

Still todo:

- Add support for the other places in Moodle (glossary, data, etc)
- Write tests, once the rest of the portfolio tests have been updated to use the new DB mocking stuff
- Fix a bunch of TODOs
2009-12-03 14:26:37 +00:00
Eloy Lafuente
8eb321419f MDL-21015 migrate testsimpletestlib to UnitTestCaseUsingDatabase 2009-12-01 23:00:45 +00:00
Eloy Lafuente
2d786d9bfb MDL-21015 migrating conditionlib test from FakeDBUnitTestCase to UnitTestCaseUsingDatabase 2009-12-01 22:31:22 +00:00
Eloy Lafuente
320bb66ea1 NOBUG switch to new header comments + delete some usused Mockup objects 2009-12-01 18:58:07 +00:00
Eloy Lafuente
3d90fbc498 MDL-21015 grade tests migrated to UnitTestCaseUsingDatabase 2009-12-01 18:42:49 +00:00
Sam Marshall
3d99b4ac2e MDL-21015 Completion lib unit test fix for FakeDBUnitTestCase (didn't need it) 2009-12-01 16:29:36 +00:00
Eloy Lafuente
08061aa277 MDL-21007 exclude log files from tests as far as some drivers/extensions
are prone to save own log files into working dirs
2009-11-30 16:24:44 +00:00
Eloy Lafuente
d021256774 MDL-21007 testpagelib_moodlepage - change -1 contexts (breaks SQL) to 13 2009-11-30 15:45:36 +00:00
Eloy Lafuente
b9ad17beb6 MDL-20826 convert_urls_into_links() - target="_blank" is out in 2.0 (XHTML I guess).
Adjusting tests for that.
2009-11-30 15:21:29 +00:00
Eloy Lafuente
db4f638aa9 MDL-20826 convert_urls_into_links() - add some test to reveal (side?) problems
and allow comparing of alternatives. Merged from 19_STABLE
2009-11-30 02:06:43 +00:00
David Mudrak
4efff581eb get_string() performance tester: small formal fixes 2009-11-24 15:09:48 +00:00
Andrew Davis
1fca8fa5fc lib MDL-20537 Added another unit test for shorten_text 2009-11-24 08:07:41 +00:00
Penny Leach
edf1fc350a portfolio: MDL-20892 moved portfolio/type/* plugins to portfolio/* 2009-11-18 13:27:38 +00:00
Penny Leach
5d0dbf130d portfolio MDL-20872 elegant handling of cleanup/display race condition
lots of work to elegantly resolve the issue between interactive browser
sessions and "pull" portfolio plugins that cause a race condition where we lose
the ability to display information to the user if the pull cleans up the export
first.  this also improves the portfolio transfer log display for later
2009-11-18 12:27:15 +00:00
Petr Skoda
d5a8d9aa71 MDL-20625 new delegated transaction support in DML 2009-11-07 08:52:56 +00:00
Moodle HQ git importer
8926f8449f Fixing drift between CVS and git 2009-11-02 00:32:03 +00:00
Sam Hemelryk
3d97797bdb navigation MDL-20543 Fixed remove_child and simpletests 2009-10-26 06:08:47 +00:00
sam_marshall
9467db390c MDL-20537: shorten-text fix 2009-10-19 17:13:50 +00:00
skodak
cc93c7da15 MDL-12886 minor web service code refactoring which includes new base server class, slightly changed admin UI, sample REST test client, cleaned up lang packs; more changes ahead and lots of TODOs to elliminate; expect more commints in the next few days 2009-10-12 21:46:16 +00:00
skodak
04d212ce4d MDL-12886 refacoring: the external_param is in fact value because we use it also in return structures 2009-10-07 21:49:03 +00:00
skodak
1d7db36f28 MDL-12886 more unit tests 2009-10-06 19:49:07 +00:00
skodak
c9c5cc81e9 MDL-12886 external lib parameter validation routine + some unit tests 2009-10-02 12:13:56 +00:00
tjhunt
7409013e79 moodlelib: MDL-19764 change get_list_of_countries so admins can more easily control the list.
* New admin setting $CFG->allcountrycodes - on Location page.
* Same rules used to translate country names as any other string.
* With unit tests.
2009-10-02 11:30:11 +00:00
samhemelryk
2ffd5c3591 navigation MDL-20395 Fixed notificiation regarding missing context during simpletest 2009-10-01 05:02:08 +00:00
samhemelryk
c705a24eb2 simpletest-navigation MDL-20395 Fixed up regressions in the simpletest caused by recent changes to upgrades to navigation lib.
Also fixed issue whereby PAGE->set_url was being called by testdeprecatedlib but not being reset to the original value causing several flow on errors through simpletests
2009-10-01 02:31:42 +00:00
tjhunt
46aa52bf85 unittests: NOBUG fix outputlib unit tests 2009-09-30 16:55:35 +00:00
tjhunt
91b652ac58 unittests: NOBUG further fix to HTML expectations. 2009-09-30 16:54:49 +00:00
tjhunt
f69bdd006d unittests: NOBUG further pagelib unit test fixes 2009-09-30 16:34:41 +00:00
tjhunt
7d87587449 unittests: NOBUG fix pagelib unit tests 2009-09-30 16:24:05 +00:00
tjhunt
ec26b38806 unittests: NOBUG improve testrss.php failure message to make it easier for people to know to set their proxy. 2009-09-30 14:57:31 +00:00
tjhunt
5de46612bb unit tests: MDL-20393 temporary work-around for this breakage, so other tests can be run. 2009-09-30 14:16:12 +00:00
tjhunt
f2fcb08c86 unit tests: MDL-20391 temporary work-around for this breakage, so other tests can be run. 2009-09-30 14:15:46 +00:00
tjhunt
89d865a676 unit tests: MDL-20391 temporary work-around for this breakage, so other tests can be run. 2009-09-30 14:03:00 +00:00
samhemelryk
1a198dde7d core MDL-19791 Replaced deprecated functions, added set_url calls 2009-09-25 06:17:38 +00:00
skodak
a3f7cbf64e MDL-20293 strict param validation support 2009-09-15 20:08:47 +00:00
mudrd8mz
f43cdceb75 MDL-20278 moodle_paging_bar - no link for the current page number 2009-09-14 07:26:54 +00:00
samhemelryk
ab5bd34d18 mod-feedback MDL-20254 Upgrade feedback module to make use of new navigation blocks
At the same time I also took the oppertunity to fix up the bugs within the feedback module that were making it un-usable
2009-09-11 02:04:38 +00:00
samhemelryk
95b97515d5 navigation MDL-14632 Improve simpletest for navigationlib 2009-09-10 02:19:12 +00:00
samhemelryk
3b7a763c18 navigation MDL-20227 Fixed simpletest regression 2009-09-09 08:50:49 +00:00
samhemelryk
d972bad1b0 navigationMDL-20216 Moved type argument to third argument 2009-09-04 08:43:49 +00:00
samhemelryk
bdb0a369b3 navigation MDL-20216 Refactored add arguments
Moved $action argument from arg5 to arg2
2009-09-04 03:18:02 +00:00
samhemelryk
91152a3518 navigation MDL-20216 Refactored add arguments
Moved $action argument from arg5 to arg2
2009-09-04 03:12:01 +00:00