Commit graph

22 commits

Author SHA1 Message Date
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
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
Moodle HQ git importer
8926f8449f Fixing drift between CVS and git 2009-11-02 00:32:03 +00:00
nicolasconnault
827b2f7a66 MDL-9644 Added a compare() method to moodle_url 2009-08-10 03:04:01 +00:00
nicolasconnault
f8065dd287 MDL-19756 Migrated the following functions from weblib to outputlib:
1. button_to_popup_window
2. link_to_popup_window
3. print_single_button
4. print_spacer
5. print_file_picture (deprecated)
6. print_user_picture
7. print_png (deprecated)
8. helpbutton
9. doclink
10. print_paging_bar
11. notice_yesno
2009-07-27 10:33:00 +00:00
stronk7
081a63a9eb MDL-19579 code coverage - add more initial $includecoverage attributes 2009-06-26 17:49:15 +00:00
nicolasconnault
31c2087d1e MDL-19566 Refactored some of the more complex regular expressions in their own function and added unit tests for them. 2009-06-22 06:07:56 +00:00
nicolasconnault
6dbcaceef1 MDL-19418 Replaced ereg* by preg* 2009-06-22 01:22:37 +00:00
fmarier
3e83641fdc MDL-2794 testweblib: adapt the unit tests to the output of new html2text library 2009-06-15 06:08:42 +00:00
tjhunt
4e42a90c53 weblib: Fix test_format_text_email and unit tests. 2009-03-23 03:41:34 +00:00
skodak
cc4245a3cd MDL-16483 - stopped using MoodleUnitTestCase in tests where $DB not needed 2009-01-10 13:23:37 +00:00
tjhunt
9289e4c90e weblib: MDL-17606 Make the highlight function better, with unit tests. 2008-12-11 10:33:57 +00:00
nicolasconnault
b9c639d6c2 MDL-16483 Refactored install/upgrade code into lib/adminlib. Created an intermediate MoodleUnitTestCase class that overrides simpletest's constructor, destructor and setup/teardown methods. All moodle unit tests must extend this class. 2008-09-16 12:19:43 +00:00
sam_marshall
977b3d3145 MDL-15263 Fixed numeric entities remaining after html_to_text 2008-06-16 14:07:47 +00:00
skodak
cdbbd26f80 MDL-10064 global $CFG in unit test files is non standard, it is recommended to use MOODLE_INTERNAL test in all library files 2007-06-09 16:32:36 +00:00
skodak
52f81103d3 MDL-10063 simpletestlib.php included from majority of unit tests - let's include it once from the test runner itself 2007-06-09 16:17:33 +00:00
nicolasconnault
a205dcdc09 Upgraded weblib::format_string() so it accepts unicode htmlentities. Also added more unit tests, including a stub for an integration web-based test. 2007-03-06 05:05:45 +00:00
nicolasconnault
dacb47c0ca MDL-8691 - Finally found the source of the error and fixed it. Add to apply s(format_string($week_summary)) on the optgroup's label. 2007-03-06 02:59:25 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +00:00