347 Commits

Author SHA1 Message Date
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
samhemelryk
de6d81e667 admin MDL-19799 Upgraded print_header and build_navigation calls to use PAGE and OUTPUT equivilants 2009-09-03 06:59:25 +00:00
samhemelryk
b3b3eaced7 navigation MDL-14632 Fixed simpletests after the different tweaking that has gone on 2009-08-31 04:07:51 +00:00
samhemelryk
7d2a049292 navigation MDL-14632 Very significant navigation commit
This patch introduces two new blocks global_navigation_tree and settings_navigation_tree
both of which have been designed to make full use of the new navigation objects available through
the $PAGE object.
Bulk of this code is within lib/navigationlib.php
2009-08-28 08:47:31 +00:00
skodak
622365d2e1 MDL-20169 fixed coding style, parameter type required 2009-08-27 18:37:53 +00:00
nicolasconnault
642816a60c MDL-19799 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:50:50 +00:00
nicolasconnault
7755599dfe MDL-19756 Added new output files to code coverage arrays 2009-08-20 03:03:51 +00:00
nicolasconnault
aa9a686740 MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:20:12 +00:00
nicolasconnault
7b1f2c829f MDL-19756 Renamed moodle_select to html_select for better API consistency 2009-08-10 08:38:45 +00:00
nicolasconnault
beb56299ec MDL-19786 Renamed user_picture and action_icon component classes to moodle_user_picture and moodle_action_icon. Also moved around the classes in a more logical order in outputcomponents.php 2009-08-10 06:37:29 +00:00
nicolasconnault
94056d9dbe MDL-19756 Renamed help_icon class to moodle_help_icon 2009-08-10 06:26:50 +00:00
nicolasconnault
827b2f7a66 MDL-9644 Added a compare() method to moodle_url 2009-08-10 03:04:01 +00:00
nicolasconnault
7e0d66753e MDL-19799 Converted all print_footer() calls 2009-08-06 14:21:34 +00:00
nicolasconnault
3c15938527 MDL-19799 Migrated calls to print_heading 2009-08-06 08:19:21 +00:00
nicolasconnault
e1cc88403a MDL-19756 Migrated print_heading_with_help 2009-08-04 15:15:11 +00:00
nicolasconnault
49c8c8d27e MDL-19976 Refactored select_menu() into select(), now supporting menu, radio and checkbox rendering. Added radio() and checkbox() functions. 2009-08-04 02:05:32 +00:00
nicolasconnault
2c78f462ed MDL-19756 MDL-19973 Fixed support of url by user_picture, and improved API for adding a popup action (set $userpic->popup = true) 2009-07-31 02:39:38 +00:00
nicolasconnault
496908435e MDL-19756 Migrated popup_form 2009-07-30 03:47:12 +00:00
mudrd8mz
7dc928b5ff MDL-19956 $PAGE->set_url(...) accepts already prepared instance of moodle_url 2009-07-29 16:05:36 +00:00
nicolasconnault
4c53f626bd MDL-19840 Fixed detection of empty attributes 2009-07-29 01:23:47 +00:00
nicolasconnault
55536d8453 MDL-19756 Updated unit tests 2009-07-29 01:13:04 +00:00
nicolasconnault
051bf8c7f3 MDL-19756 Changed html_button->label to html_button->text 2009-07-29 01:10:30 +00:00
nicolasconnault
8e127eb38e MDL-19756 Migrating choose_from_menu to outputlib 2009-07-28 02:45:13 +00:00
poltawski
926987ab5e lib/simplepie: Improve Integration MDL-7946, MDL-13932
Added more unit tests, improved style and fixed:
- Failed behaviour of redirects
- Incorrect behaviour on feed retrival failure
- Ensured rss cache clear for unit test setup
2009-07-27 14:18: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
nicolasconnault
6a92312848 MDL-19840 Upgraded code of HTML-parsing assertions 2009-07-22 04:21:13 +00:00
mudrd8mz
65b6adb150 MDL-19877 fix: diplay used font family of the test page 2009-07-20 18:28:24 +00:00