331 Commits

Author SHA1 Message Date
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
mudrd8mz
0a39261b8e MDL-19877 adding a script producing a test PDF 2009-07-20 17:32:44 +00:00
tjhunt
1c5648f169 todochecker: don't match variables called $todo or fields called ->todo. 2009-07-17 07:40:54 +00:00
tjhunt
6180cdc97a todochecker: Match todo case-insensitively :-( that finds a lot more. 2009-07-17 07:26:12 +00:00
tjhunt
05280d5f97 todochecker: bug summary in tool tip. 2009-07-17 07:19:43 +00:00
tjhunt
a89d8e0709 todochecker script: skip third party code. 2009-07-17 05:56:49 +00:00
tjhunt
1d13c75c15 blocks editing ui: MDL-19398 Can how precisely control block positioning using the edit icon
This mostly works now, but ...
* The UI needs further work. In particular we need a non-advanced mode.
* This only works for blocks that use a new edit_form.php to replace config_instance.html.
* .. and so far I have only implemented edit_form.php for the HTML block so far.
* Needs to be enabled (with no block-specific config) for blocks without instance config, so you can control their positioning.
2009-07-16 10:50:19 +00:00
nicolasconnault
5daf5d3589 MDL-19840 Fixed a bug in regex delimiter quoting 2009-07-16 03:21:19 +00:00
tjhunt
4bea5e8582 moodlellib: MDL-19828 PARAM_LOCALURL should accept URLs like course/view.php?id=2 2009-07-15 06:17:39 +00:00
tjhunt
485e46611a Fix block manager unit tests. 2009-07-14 04:18:58 +00:00
tjhunt
aa2e96e9ce developer tools MDL-19772: Script to list all todos in code
And make sure they link to an open tracker issue as per
http://docs.moodle.org/en/Development:Coding_style#TODO_comments_must_link_to_a_tracker_issue
2009-07-13 04:27:05 +00:00
mudrd8mz
897b5c820b MDL-19731 get_renderer() accepts optional subtype
The initial patch has been reviewed at the issue page. This commit also
fixes template_renderer_factory::get_renderer() and sets up folders for
subtypes there.
2009-07-08 09:37:06 +00:00
tjhunt
ebebf55cad output: MDL-19690 icon_finder classes and $OUTPUT->mod/old_icon_url
This is ready to replace $CFG->pixpath and $CFG->modpixpath soon.
2009-07-02 08:49:25 +00:00
tjhunt
db8d89d822 MDL-19077 I just found a way to reduce the coupling between the classes. 2009-07-02 07:06:25 +00:00
tjhunt
b2104e9799 Fix typo 2009-06-30 12:29:14 +00:00
tjhunt
c84a2dbea2 MDL-19077 - change how $OUTPUT is initialised.
Please read the comment at the top of bootstrap_renderer in setuplib.php
2009-06-29 05:00:45 +00:00
stronk7
081a63a9eb MDL-19579 code coverage - add more initial $includecoverage attributes 2009-06-26 17:49:15 +00:00