Commit graph

1659 commits

Author SHA1 Message Date
Dongsheng Cai
f6e315fee6 "MDL-15405, fixed filearea parameter in filemanager" 2010-03-19 05:00:11 +00:00
Dongsheng Cai
08a22be6af "MDL-19118, fixed comments api in format_text function" 2010-03-19 04:53:54 +00:00
Dongsheng Cai
36051c9e91 "MDL-21786, moving comments library files to consistency" 2010-03-15 07:59:28 +00:00
Dongsheng Cai
ad13710756 "MDL-15405, fixed non-js filepicker url, need more work on nonjs version" 2010-03-15 06:29:47 +00:00
Petr Skoda
c676fe6717 MDL-21789 fixed buggy handling of 0.00 in s() 2010-03-10 08:47:15 +00:00
Dongsheng Cai
e30d75ccdd "MDL-15405, perform filemanager init tasks in one function" 2010-03-08 03:28:22 +00:00
Andrew Davis
fa801e8c5a user profiles MDL-20619 Email obfuscation wasnt working in some versions of IE 2010-02-16 02:54:53 +00:00
Petr Skoda
9a9012dc8f MDL-21590 fixed icons in navigation lib + clean up of modinfo (planned removeal of legacy use of urlencode since 1.8 - we use serialize and utf8 is ok now) 2010-02-14 20:18:10 +00:00
Petr Skoda
9bf163146b MDL-20204 more html_link converstions 2010-02-11 18:50:55 +00:00
Petr Skoda
57cd3739a4 MDL-20204 converting link to html_writer or action_link 2010-02-11 16:56:00 +00:00
Petr Skoda
4aea3cc7cd MDL-20204 the ultimate fix for our frames (theyare not accessbile, but anyway); instead of adding the target to each element when creating html we use yui to set the target from page footer via JS - this fixes the links and forms in all elements in pages with frametop layout 2010-02-11 13:27:02 +00:00
Petr Skoda
f8dab96615 MDL-20204 a lot more steps away from html_select 2010-02-10 09:37:50 +00:00
Petr Skoda
0139ec3fe6 MDL-21400 finally, gzip for JS files and proper caching - without admin UI for now (off by default) 2010-02-07 12:50:53 +00:00
Petr Skoda
593f9b8703 MDL-21400 finalising JS api - removing ->on_dom_ready (now bool param in js() and js_init_call()) and after_delay() (again int parameter) - the reason is it was adding unnecessary complexity and it is used in just a few places that will be eventually converted to the new js_init_call() anyway 2010-02-06 14:45:17 +00:00
Petr Skoda
10eaeca808 MDL-21403 hardcoded JS legacy code should not use new $PAGE->requires-> api, switching to html_writer instead + improved ufo embedding 2010-01-26 10:35:13 +00:00
Petr Skoda
a62d5845ef MDL-21403 removing ->asap() from $PAGE->requires, legacy stuff has no place in new api, sorry 2010-01-26 09:01:57 +00:00
Petr Skoda
38224dcb60 MDL-21400 collapsible_region moved to M, using CamelCase for JS classes because it is otehrwise extremely hard to actually know what is instance and what is class + switched to js_init_call() 2010-01-24 10:34:02 +00:00
Petr Skoda
fc367afb6c MDL-21400 collapsible region fixed and converted to YUI3 2010-01-24 00:05:37 +00:00
Petr Skoda
4e40406d0b MDL-21362 finally finished full support for our slasharguments in moodle_url 2010-01-18 12:39:44 +00:00
Petr Skoda
acdb91770a MDL-21362 working on file_encode_url replacements 2010-01-18 08:50:46 +00:00
Andrew Davis
b245afc07a weblib MDL-21296 added a todo 2010-01-18 01:51:15 +00:00
Petr Skoda
ed77a56f63 MDL-21362 migrating old url processing stuff from filelib into moodle_url class continued 2010-01-17 22:12:31 +00:00
Petr Skoda
7dff555f03 MDL-21362 migrating old url processing stuff from filelib into moodle_url class 2010-01-17 21:53:11 +00:00
Petr Skoda
5509254c25 MDL-21233 prepare_url obsoleted by new html_writer and changes in moodle_url 2010-01-17 10:59:07 +00:00
Petr Skoda
8afba50b84 MDL-21233 get_query_string() is definitely not recommended in new code, instead use moodle_url constructors with proper parameters; removed some more legacy url concatenation operations; realized out_action is not needed often, because we shoudl pass arounf moodle_url instances instead of old url strings 2010-01-17 10:54:13 +00:00
Petr Skoda
b9bc201962 MDL-21233 escaped parameter is far more importatnt than the overrideparams in out() method - especially all JS urls should be converted to out(false); also it is possible to create new url with overrided parameters in constructor which might be actually work around the double encoding problems in the url (we should never use the out() in moodle_url constructor itself!) 2010-01-17 09:50:55 +00:00
Petr Skoda
eb7880654f MDL-21233 finally removed the omitquerystring parameters from the out method because: 1/ the least used parameter should nto be first, 2/ it is colliding with the other two paramters, now we have separate funtion for that instead 2010-01-17 09:37:30 +00:00
Petr Skoda
340d461269 MDL-21233 simplifying moodle_url->out() api 2010-01-17 09:18:11 +00:00
Petr Skoda
a4a04ada39 MDL-21233 removing sloppy out_returnurl() from public api, it is considered a bad practise to pass around urls through page parameters, sorry 2010-01-17 09:13:36 +00:00
Petr Skoda
6ea66ff36c MDL-21233 obviously input tag writing does not belong into the moodle_url class, moving to html_writer instead + simplifying api 2010-01-17 09:06:55 +00:00
Petr Skoda
d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda
4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
David Mudrak
3bf11ca479 MDL-21346 fixed various print_password_policy() issues, merged from 1.9 2010-01-14 20:53:06 +00:00
Andrew Davis
ef29cb5a15 weblib MDL-21296 added a comment about convert_urls_into_links() causing timeouts 2010-01-13 02:19:21 +00:00
Eloy Lafuente
2b2acf7563 MDL-21168 - Support encoded chars in query part of URL. Done in review day, but it's tested, grrr. Merged from 19_STABLE 2010-01-12 13:40:56 +00:00
Eloy Lafuente
4275973318 MDL-21168 avoid http://www.whatever to be linked twice ; merged from 19_STABLE 2010-01-08 22:18:42 +00:00
Eloy Lafuente
bd9255c528 MDL-21168 convert_urls_into_links() - changed solution to avoid linking
inside <img> tags by negative look-behind assertion of =" string ; merged from 19_STABLE
2010-01-08 17:20:56 +00:00
Rossiani Wijaya
851481dcef MDL-20949 printing out password policy requirements on signup, change password and edit user profile. 2010-01-06 06:49:16 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
Petr Skoda
8ae8bf8a14 MDL-21198 OUTPUT->action_icon improvements, refactoring and fixing conversion regressions 2010-01-02 13:17:54 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Petr Skoda
244a32c617 MDL-21119 lang menu and login info now handled by themes 2009-12-29 17:26:29 +00:00
Andrew Davis
c013b31695 weblib MDL-21168 improved convert_urls_into_links 2009-12-24 06:44:51 +00:00
Petr Skoda
f6794ace8b MDL-21125 obsoleting global $THEME 2009-12-23 18:05:58 +00:00
Petr Skoda
92e01ab771 MDL-21125 obsoleting global $THEME 2009-12-23 17:44:17 +00:00
David Mudrak
0ea95ddcb7 MDL-21178 formslib element modgrade does not use deprecated link_to_popup_window() for help icon 2009-12-23 16:54:39 +00:00
Sam Hemelryk
d8ae33a95c question MDL-21169 removed update_module_button calls from question these are now added by the module extending the navigation if there is a module specified for question pages.
Also fixed bug in moodle_url object coding_error to coding_exception
2009-12-23 02:45:22 +00:00
Petr Skoda
e14f806088 MDL-20204 fixed silly bug in my previous commit 2009-12-20 21:50:15 +00:00
Andrew Davis
53ad47f22b weblib MDL-20826 made convert_urls_into_links() produce xhtml compliant links 2009-12-18 04:13:35 +00:00