Commit graph

598 commits

Author SHA1 Message Date
Petr Skoda
3ea5951efb MDL-20204 converting some more html_links 2010-02-16 15:27:16 +00:00
jerome mouneyrac
5a18a8fa74 file API MDL-20616 remove bad php doc comment 2010-02-16 09:17:39 +00:00
jerome mouneyrac
5db608f435 file API MDL-20616 added support for multiple array POST parameters in the function download_file_content(). Also added unit tests. 2010-02-16 09:04:55 +00:00
Petr Skoda
75015e5fc1 MDL-20204 converting link to html_writer or action_link 2010-02-11 16:27:53 +00:00
Petr Skoda
4ed857901a MDL-20204 fianl cleanup - removing obsolete renderer stuff 2010-02-11 10:32:39 +00:00
Petr Skoda
2849ddc667 MDL-21577 removing tests for removed features 2010-02-10 16:27:49 +00:00
Petr Skoda
78bdac6449 MDL-20204 converting yes_no selects 2010-02-10 14:05:07 +00:00
Petr Skoda
5509254c25 MDL-21233 prepare_url obsoleted by new html_writer and changes in moodle_url 2010-01-17 10:59:07 +00:00
Petr Skoda
eb7880654f MDL-21233 finally removed the omitquerystring parameters from the out method because: 1/ the least used parameter should nto be first, 2/ it is colliding with the other two paramters, now we have separate funtion for that instead 2010-01-17 09:37:30 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
Rossiani Wijaya
34d2b19a15 MDL-16919 - Convert uppercase to lowercase for param_username and updating test result in testmoodlelib. 2010-01-14 07:18:06 +00:00
Andrew Davis
0ae98120ae weblib MDL-21183 Commented out some unreasonable unit tests 2010-01-14 02:17:24 +00:00
Rossiani Wijaya
07ed083e4e MDL-16919 - Allow username to contain alphanumeric lowercase characters, underscore (_), hyphen (-), period (.) or at symbol (@) 2010-01-13 06:23:54 +00:00
Petr Skoda
5f0baa43a5 MDL-21149 preparation for renaming of old standard to standardold 2010-01-12 17:21:52 +00:00
Eloy Lafuente
ecbeab1a95 MDL-21296 - Adding timing info to test in order to compare results ; merged from 19_STABLE 2010-01-12 14:08:50 +00:00
Eloy Lafuente
9dd05f1db7 MDL-21168 - Added test for URLs with encoded paths and queries and fixed some onew. Merged from 19_STABLE 2010-01-12 13:33:25 +00:00
Andrew Davis
330cc667b0 weblib MDL-21168 Added some more unit tests 2010-01-11 06:26:59 +00:00
Eloy Lafuente
fd81d5bd37 MDL-21168 avoid http://www.whatever to be linked twice ; merged from 19_STABLE 2010-01-08 22:25:13 +00:00
Eloy Lafuente
0559076a3c MDL-21168 convert_urls_into_links() - minor changes to tests (code formatting,
utf_decode() out and properly escape % chars. Merged from 19_STABLE
2010-01-08 16:44:11 +00:00
Andrew Davis
24d38a6e6d moodlelib MDL-20918 usergetdate was returning an array in a different order depending on whether or not timezone was set 2010-01-08 06:56:29 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
812dbaf7d5 MDL-21198 improved/simplified $OUTPUT->user_picture() + regression fixes, performance fixes and detected performance problems when printing user avatars 2009-12-27 19:47:21 +00:00
Andrew Davis
c013b31695 weblib MDL-21168 improved convert_urls_into_links 2009-12-24 06:44:51 +00:00
Andrew Davis
53ad47f22b weblib MDL-20826 made convert_urls_into_links() produce xhtml compliant links 2009-12-18 04:13:35 +00:00
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