Commit graph

8543 commits

Author SHA1 Message Date
nicolasconnault
647df7e372 MDL-19077 Added the required_event_handler class and event_handler method 2009-07-22 03:54:13 +00:00
tjhunt
9e43d2b395 ajaxlib: fix variable name typo. 2009-07-22 03:44:14 +00:00
tjhunt
c05e49c71a themes: MDL-19077 make sure that errors displayed by blocks are displayed properly.
Note: blocks should not be calling print_error anyway, but some did!
2009-07-22 02:34:24 +00:00
tjhunt
a8c310c253 Fix new install with developer debug on. Can't print context name in the page footer before DB tables exist! Also, show page generaltype in the footer. 2009-07-21 13:58:47 +00:00
tjhunt
4565dcff25 html_table: MDL-19755 deprecate the attributes of html_table that lead to in-line styling in the HTML. 2009-07-21 07:04:19 +00:00
tjhunt
95d28870a2 pagelib: MDL-12212 require_login should set $PAGE->cm, if appicable. 2009-07-21 07:02:06 +00:00
tjhunt
41e87d30bc accesslib: MDL-19882 require_capability no longer does an automatic require_login. 2009-07-21 06:24:44 +00:00
mudrd8mz
65b6adb150 MDL-19877 fix: diplay used font family of the test page 2009-07-20 18:28:24 +00:00
mudrd8mz
f3eeee288c MDL-18664 removing lib/fpdf from the core
This obsoleted library has been replaced by lib/tcpdf - see
lib/pdflib.php
2009-07-20 17:34:33 +00:00
mudrd8mz
0a39261b8e MDL-19877 adding a script producing a test PDF 2009-07-20 17:32:44 +00:00
mudrd8mz
e9618248c3 MDL-19876 upgrade to tcpdf-4.6.020 (php5 version)
See lib/tcpdf/README-MOODLE.TXT for the detailed description about how
the upgrade was done.

MDL-18663 removing all fonts but the selected ones.
2009-07-20 17:31:48 +00:00
tjhunt
2c0901cb5a MDL-19010: In developer debug mode, print information about this page in the footer. 2009-07-20 06:18:16 +00:00
tjhunt
4578a5eb7a block MDL-19398 Initialise all blocks on this page before output is started. 2009-07-20 03:04:08 +00:00
skodak
48fb4cd689 MDL-19874 updated geoip to 1.80 and fixed iplookup regressions 2009-07-19 13:54:11 +00:00
skodak
d5645d89dd evalmath is BSD, not GPL! 2009-07-19 13:18:50 +00:00
skodak
ec00bfc5cd MDL-19873 imported new SimplePie 1.2 2009-07-19 13:14:44 +00:00
skodak
f68ab42ba3 MDL-19872 imported new TinyMCE 3.2.5 2009-07-19 13:05:21 +00:00
skodak
6ec450fb16 MDL-19871 new parameter syntax from htmlpurifier 4.0.0 2009-07-19 12:17:48 +00:00
skodak
97f973f922 MDL-19871 imported htmlpurifier 4.0.0 2009-07-19 11:56:56 +00:00
skodak
4c5e3bbe14 MDL-19725 forgotten to update version in lib desc 2009-07-19 11:54:35 +00:00
skodak
e38d0e3d9f MDL-19725 forgotten to update version in readme 2009-07-19 10:43:21 +00:00
tjhunt
c45cb4bbd7 Improve comment. Thanks David Mudrak. 2009-07-18 11:59:17 +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
61f879d293 themes: MDL-19077 better handling of top of body code for legacy themes. 2009-07-17 06:51:25 +00:00
tjhunt
a89d8e0709 todochecker script: skip third party code. 2009-07-17 05:56:49 +00:00
tjhunt
73e2e5c03d blocks editing ui: MDL-19398 Can now edit the position of any block.
I think this is probaby insecure at the moment. I am still working on it.
2009-07-16 11:05:26 +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
tjhunt
afd63fe509 formslib: use abstract, rather than a print_error, now we have PHP5. 2009-07-16 10:38:15 +00:00
nicolasconnault
5daf5d3589 MDL-19840 Fixed a bug in regex delimiter quoting 2009-07-16 03:21:19 +00:00
tjhunt
ae42ff6fee blocks editing ui: MDL-19398 showing and hiding blocks now works. 2009-07-15 07:41:25 +00:00
tjhunt
4a3b462021 blocks editing ui: MDL-19398 give users a path back after assigning block roles 2009-07-15 06:33:13 +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
jerome
a475c67308 moodle_page: MDL-12212 misspelling 2009-07-15 06:11:55 +00:00
tjhunt
704ac34407 outputlib tables: MDL-19755 fix all cases of deprecated $table->rowclass
Also fix wrong title on Manage filters admin page.
2009-07-15 05:37:31 +00:00
tjhunt
366c74994c weblib: Let redirect() take a moodle_url object. 2009-07-15 04:05:05 +00:00
sam_marshall
905b1de634 MDL-19692: Completion tracking help icon enhancements 2009-07-14 14:00:34 +00:00
tjhunt
02b126af8a blocks editing ui: MDL-19398 permissions checks when deleting a block. 2009-07-14 11:16:21 +00:00
tjhunt
1936f20b8b blocks editing ui: MDL-19398 move generating the block edit icons to blocklib.php
Since that is where the resulting actions are processed.
2009-07-14 10:57:06 +00:00
tjhunt
727ae4362e blocks editing ui: MDL-19398 fix adding a block to a page that forgets to call $PAGE->set_url. 2009-07-14 10:41:59 +00:00
tjhunt
2a3b076368 blocks editing ui: MDL-19398 fix some bugs with adding a block. 2009-07-14 09:28:10 +00:00
tjhunt
a2789e3426 blocks editing ui: MDL-19398 add block now secure. Delete block works insecurely.
Will add security checks in a moment.
2009-07-14 08:37:28 +00:00
tjhunt
c72465aa15 setuplib: early errors were not showing debuginfo. 2009-07-14 08:31:30 +00:00
skodak
7f0fedc0b5 MDL-14589 fixed incorrect condition testing if files allowed when postprocessing editor element data, thanks Nicolas for reporting this 2009-07-14 08:25:51 +00:00
tjhunt
21d33bdf62 blocks editing ui: MDL-19398 you can now add new blocks! 2009-07-14 07:18:57 +00:00
tjhunt
144390b4d9 themes: MDL-19077 Don't need both output_starting_hook and starting_output method on page. 2009-07-14 05:14:45 +00:00
tjhunt
485e46611a Fix block manager unit tests. 2009-07-14 04:18:58 +00:00
skodak
75904dfa13 MDL-19755 fixed regression - no class test must be done before adding allign classes ;-) 2009-07-13 20:33:56 +00:00
mudrd8mz
480b0720ae MDL-19755 print_table replaced with $OUTPUT->table
rowclass property has been deprecated, rowclasses should be used.
Direct assigning of the class has been deprecated,
moodle_html_elements::set_classes() should be used instead. In both
cases, debugging message is displayed.
2009-07-13 11:10:30 +00:00