Commit Graph

1642 Commits

Author SHA1 Message Date
sam marshall
b031caf858 lib MDL-26423 Added support for ->allowid option in format_text 2011-03-04 15:53:10 +00:00
Petr Skoda
2453531f03 Merge branch 'MDL-26337' of git://github.com/timhunt/moodle 2011-02-14 22:15:30 +01:00
Petr Skoda
ad9ab4dfe5 MDL-26131 fix several collapsible_region issues
1/ the $default was not passed from print_collapsible_region()
2/ incorrect php docs describing $userpref
3/ missing empty() check on $userpref
2011-02-13 11:52:09 +01:00
Tim Hunt
8711360225 MDL-26337 Improve close_window. Fix bug when $reloadopener is false, and better usability when it is true. 2011-02-09 19:02:31 +00:00
Petr Skoda
46df3c6059 Merge branch 'MDL-25981' 2011-01-31 22:44:17 +01:00
Petr Skoda
893fe4b6b2 MDL-26069 detect missing file postprocessing 2011-01-29 17:50:12 +01:00
sam marshall
0d8b6a69ce lib MDL-25981 Improved modinfo
This commit:
a) moves modinfo code into new library modinfolib.php
b) uses classes instead of stdClass objects, allowing a huge amount of documentation (and IDE completion)
c) adds hooks so that plugins other than forum can display messages like forum's 'unread', and plugins other than label can display html (apart from/as well as their view.php link) on the course view page
d) removes current hacks for forum and label (mainly in print_section but also across the code), replacing with new 'content' and similar variables [this is the reason for the changes in blocks, etc]
e) reduces size of modinfo in database (only when rebuilt) by excluding empty fields

The change is intended to be backward compatible and does not affect the format of modinfo in database.
2011-01-26 10:29:16 +00:00
sam marshall
27d6ab5712 lib MDL-26044 Optimise moodle_url based on profiler data 2011-01-18 12:39:51 +00:00
Petr Skoda
2df1126b2d MDL-25663 debugging does not print html any more in CLI mode 2010-12-13 20:53:19 +00:00
Sam Hemelryk
48561e1b94 weblib MDL-25390 Minor fix of incorrect use of moodle_url object 2010-11-24 02:08:30 +00:00
Tim Hunt
e4b54c79e0 question export MDL-25088 followup - remove no-longer-used function. 2010-11-12 12:07:22 +00:00
Petr Skoda
dfd9f745b1 MDL-21963 rewritten progress bar internals, hopefully working now properly 2010-11-11 07:56:49 +00:00
Petr Skoda
0ed26d1288 MDL-25150 new debugusers setting 2010-11-11 05:27:34 +00:00
Tim Hunt
2284c694ee weblib NOBUG Add a comment to clarify that moodle_url deals with $CFG->admin for you. 2010-11-08 13:33:08 +00:00
Sam Hemelryk
367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
Petr Skoda
8260ca36d5 MDL-24848 prevent undefined docs url problems in install 2010-10-26 08:01:22 +00:00
Sam Hemelryk
96321cf4d8 themes MDL-24493 Added redirect page layout and styles for all themes 2010-10-25 08:52:37 +00:00
Petr Skoda
e6906df277 MDL-24523 adding note that clean_text() is designed to work with htm ltext only, technically we can not clean other formats before the conversion, sorry 2010-10-24 11:48:45 +00:00
Petr Skoda
c281862ad0 MDL-24716 fix for broken path info on apache servers 2010-10-24 08:21:40 +00:00
David Mudrak
015ba71af0 MDL-24777 replace_smilies() replaced with the new standard filter 2010-10-23 18:43:31 +00:00
David Mudrak
84a8bedd6a MDL-24777 function replace_smilies() is not called from any other core code 2010-10-23 18:41:47 +00:00
David Mudrak
1809723881 MDL-24777 get_emoticons_list_for_help_file() is now deprecated 2010-10-23 18:41:21 +00:00
David Mudrak
e540629edf MDL-24777 core function replace_smilies now uses emoticon_manager API 2010-10-23 18:40:46 +00:00
Jenny Gray
64f1e408fa MDL-24565 control characters stripped so xml output functions correctly
now without unicode regular expression
2010-10-13 14:08:02 +00:00
Petr Skoda
f44cffeac6 MDL-14595 more CSS styles whitelisted in KSES 2010-10-12 09:19:08 +00:00
Petr Skoda
6663b9d1e3 MDL-24565 fix invalid XML unicode characters when uses KSES filtering - credit goes to Jenny Gray 2010-10-08 09:22:56 +00:00
David Mudrak
e0ebc88e9d MDL-24542 Removing convert_urls_into_links() from the core 2010-10-07 08:59:15 +00:00
David Mudrak
dcfffe3072 MDL-24531 Extend filter manager API so that options can be passed to the filters
The only option passed at the moment is the original format in which the
user inserted the text. Other options can be added later if/when needed.
2010-10-07 08:57:20 +00:00
Petr Skoda
b57ad50120 MDL-24523 markdown cleanup 2010-10-06 12:42:17 +00:00
Petr Skoda
54f5318492 MDL-23818, MDL-18900 fixed trusttext upgrade + coding style improvements and cleanup 2010-10-02 16:34:42 +00:00
Petr Skoda
9b540305df MDL-24445 fixed problem with uninitialised PAGE object 2010-09-29 21:09:19 +00:00
Petr Skoda
afa7cfa833 improved handling on errors on redirect page + preventing PAGE->context errors 2010-09-28 22:34:33 +00:00
Petr Skoda
e728447dfe MDL-24282 fixed double decode - I just meant to specify default value there, sorry; thanks Tim for discovering this regression 2010-09-22 15:03:39 +00:00
Petr Skoda
365a594107 MDL-24321 switching to stdClass in /lib/ 2010-09-21 08:07:44 +00:00
Petr Skoda
a0f97768dc MDL-24223 hopefully more embed BC 2010-09-21 07:51:09 +00:00
Petr Skoda
cbe44fb217 MDL-24223 same basic support for "safe" flash embedding 2010-09-21 07:20:40 +00:00
Petr Skoda
d630512b9c MDL-24282 improved s() to deal better with hex encoded entities 2010-09-19 15:27:00 +00:00
Petr Skoda
ebba16985c MDL-24277 fixed hidden error preventing proper redirects during install, yay! 2010-09-18 23:20:01 +00:00
Petr Skoda
7def9d4345 improved docs 2010-09-18 10:50:50 +00:00
Petr Skoda
a8ff9488fd phpdocs and var initialization 2010-09-17 20:05:40 +00:00
Petr Skoda
db82872e06 fixed phpdocs param type in require_login() 2010-09-17 09:34:05 +00:00
Petr Skoda
f71c7f00df MDL-24223 latest HTMLPurifier - finally removing most of our hacks 2010-09-16 20:02:54 +00:00
Petr Skoda
a1d6c4cd07 arrgh, fixing incorrect fix in my previous commit 2010-09-16 17:00:53 +00:00
Petr Skoda
34cf276871 fixed syntax errors in progress bar - is anybody using it? 2010-09-16 16:44:55 +00:00
Petr Skoda
4bc685df16 fixing undefined OUTPUT 2010-09-16 16:43:29 +00:00
Petr Skoda
5e26145d22 removing unused function with syntax error 2010-09-16 16:42:56 +00:00
Rossiani Wijaya
3a42ad126c MDL-23870: Replace flash and mp3 multimedia filter with flowplayer. 2010-09-09 11:30:06 +00:00
Eloy Lafuente
11d6233451 MDL-24041 format_module_intro() - observe the $filter parameter properly. 2010-09-06 08:42:43 +00:00
Tim Hunt
dc3e95c0d8 MDL-24060 Need a way to control whether html_to_text lists all links in the HTML 2010-09-02 13:06:17 +00:00
Petr Skoda
c426ef3aa5 MDL-23984 improvements of check_dir_exists() - replacing by make_upload_directory() in cases where we want to be sure that the dir is writable; removning now default create and recursive params to make code easier to read 2010-08-29 14:51:09 +00:00