Commit graph

8488 commits

Author SHA1 Message Date
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
nicolasconnault
1f1aa44525 MDL-19756 Corrected an incorrect default text for the "cancel" button of a confirm dialog 2009-08-28 08:00:15 +00:00
jerome
ebcc6bd3b5 webservices MDL-12886 "params" parameter has been changed into an object (conform with the web description structure) + clean_params() function filters parameters and throws an exception for any unexpected parameters/malformed parameters 2009-08-28 07:03:03 +00:00
nicolasconnault
319770d747 MDL-19797 Upgraded most output code in grader report 2009-08-28 05:29:05 +00:00
stronk7
c402af03a8 To alter columns back and forth between numeric types and text,
we need upto 3 intermediate alters.
Corolary: MSSQL implicit conversions aren't transitive at all! :-)
2009-08-28 01:19:49 +00:00
stronk7
eb8f775d97 Fix one wrong test. To get defaults applied, new column must be not null. 2009-08-28 01:14:32 +00:00
skodak
d4b5bd4393 MDL-20169 fixed coding style, parameter type required 2009-08-27 19:20:03 +00:00
skodak
92ebcabeb3 MDL-20169 fixed coding style, parameter type required 2009-08-27 19:14:45 +00:00
skodak
622365d2e1 MDL-20169 fixed coding style, parameter type required 2009-08-27 18:37:53 +00:00
stronk7
76b6daf2b2 NOBUG. Add 2 missing fix_sql_params() calls in insert/update_record_raw()
causing named and qm parameters to be mixed in the same query. Curiously,
due to the ordered nature of the qms it wasn't breaking, but was incorrect.
2009-08-27 14:01:28 +00:00
nicolasconnault
5529f787bd MDL-19797 Added callback support to the confirm_dialog function, and to the add_confirm_action() method 2009-08-27 10:12:44 +00:00
poltawski
7e13a2654a lib/setuplib MDL-20166 - Don't abort install on nginx webserver
Thanks to Jordan for the patch. Jordan has done testing and found nginx
seems to work and is planning to do more extensive testing to alert us of
other problems along the way.
2009-08-27 07:52:11 +00:00
nicolasconnault
9c48f05caf MDL-19799 Silencing annoying debugging error for popup_form use 2009-08-27 06:38:17 +00:00
stronk7
e871fb87bb workarround MSSQL (RDBMS) bug with float types. Not important as far as
we don't use floats within Moodle, but XMLDB layer supports them.
2009-08-25 21:06:14 +00:00
stronk7
0e4a719b15 fix sql_substr() behaviour 2009-08-25 20:39:00 +00:00
tjhunt
2c5ec833bc outputlib MDL-20103 neater version of Jerome's fix. 2009-08-25 19:09:04 +00:00
stronk7
d60a7bc20f Buggy ADOdb was returning PKs in the list of indexes. Look for it in information schema and extract from results. 2009-08-25 18:52:36 +00:00
stronk7
2ef655beac Fix get_columns() for mssql adodb driver by custom-implementing it.
This implementation should be the used one in native drivers.
2009-08-25 17:41:10 +00:00
nicolasconnault
54a007e8f6 MDL-19797 Optimising output code for the Edit grades categories and items interface 2009-08-25 07:31:13 +00:00
jerome
fbe52a393f webservice MDL-12886 refactor web service description + implement clean_function_params() function 2009-08-25 05:35:59 +00:00
nicolasconnault
1c1f64a2a6 MDL-19797 Optimising output code and JS/CSS requires. Also improved CSS for grader report 2009-08-24 15:10:36 +00:00
poltawski
d836aa4b4f lib/blocklib: MDL-20146 - Don't mask errors as a way to ignore missing code files
Instead of simply ignoring all errors from blocks, allow the errors to be
exposed and test if the file exists. The previous solution makes it very
hard to debug problems with blocks and gives the 'white screen of death' even
with debugging set as high as it can go.

Also ensure that blocks without code are not added to the list of instances,
as I assume was the intended behaviour.
2009-08-22 11:24:39 +00:00
nicolasconnault
12f11f232a MDL-19799 Switched $_helpbutton to public members 2009-08-21 00:15:19 +00:00
nicolasconnault
3bd6b994fc MDL-19799 Upgraded calls to link_to_popup_window() 2009-08-20 13:18:08 +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
stronk7
338c94e27c Adding support for T_ABSTRACT token in PHP code coverage parser 2009-08-19 21:44:24 +00:00
nicolasconnault
aa9a686740 MDL-19799 Upgraded calls to helpbutton, print_simple_box* and notify 2009-08-18 05:20:12 +00:00
nicolasconnault
54b1669246 MDL-19799 Upgraded calls to choose_from_menu 2009-08-18 00:18:19 +00:00
nicolasconnault
4f4eda4017 MDL-19756 Fixed a debugging message. Thanks Petr! 2009-08-17 09:54:49 +00:00
nicolasconnault
db49be139d MDL-19756 Added the component::has_action() method for quickly detecting if a component has an action of a given type, and unmuted debugging messages for old output functions that have been upgraded in HEAD 2009-08-17 07:00:16 +00:00
jerome
d0b7a11f43 outputlib MDL-20103 fix php NOTICE when content has no assigned icon 2009-08-17 03:38:19 +00:00
dongsheng
d5a772f5dc "MDL-16697, remove debug code" 2009-08-16 04:26:24 +00:00
dongsheng
da964d222b "MDL-19118, simplify json parsing in commenting module" 2009-08-16 04:21:30 +00:00
dongsheng
d25e2ca3f7 "MDL-13766, move common functions to javascript-static.js" 2009-08-16 04:14:46 +00:00
dongsheng
7a0c240306 "MDL-16697, fixed parameters" 2009-08-16 03:46:15 +00:00
dongsheng
63bfcc8f60 "MDL-16697, remove debug code" 2009-08-14 08:23:03 +00:00
dongsheng
dd07016297 "MDL-16697, rename callback functions" 2009-08-14 08:22:06 +00:00
dongsheng
2b20173965 "MDL-16697, update javascript parameters list" 2009-08-14 07:37:56 +00:00
nicolasconnault
3cc457db26 MDL-19756 Fixed a number of small API issues in components and renderers 2009-08-14 05:45:56 +00:00
nicolasconnault
b65bfc3e70 MDL-19756 Fixed a number of small API issues in components and renderers 2009-08-14 03:16:23 +00:00
skodak
aa54ed7b02 MDL-20065 new implementation of File module, modules sub-types are being migrated to separate modules; remaining issues to be listed as sub-tasks in tracker 2009-08-13 20:45:50 +00:00
nicolasconnault
e57c283df5 MDL-19756 Showing exceptions only in DEBUG_DEVELOPER mode 2009-08-13 03:38:30 +00:00
nicolasconnault
e4c5abdc56 MDL-19808 Fixed dropdown for moving forum discussions 2009-08-13 01:43:57 +00:00
nicolasconnault
7a5c78e049 MDL-19756
* Removed outputpixfinders.php and put that code back in outputlib.php
* Created labelled_html_component class and subclassed all appropriate components from it
* Added component::add_confirm_action($message) as a shortcut for adding a confirmation popup
* Fixed bug in close_window_button()
2009-08-13 01:15:58 +00:00
mudrd8mz
ad3625390f Fixes Fatal error: Call to undefined function repository_head_setup() 2009-08-12 14:32:46 +00:00
skodak
ae4a98a108 MDL-13766 fixed some obvious problems with missing global $CFG and undefined variables 2009-08-11 09:40:59 +00:00
nicolasconnault
1ae3767a0b MDL-19756 Centralised $label object into moodle_html_component, fixed proper display of radio buttons through select() method, and fixed other little bugs 2009-08-11 07:05:46 +00:00
jerome
8deb233dfa output MDL-19690 fix forgotten global $OUTPUT 2009-08-11 06:36:43 +00:00
skodak
d1f06fb5f1 MDL-20038 replacing strtolowe() used incorrectly to get module directory name from localised string - that could work only for some modules and in English only ;-) 2009-08-10 20:50:51 +00:00