9329 Commits

Author SHA1 Message Date
Petr Skoda
d194928e94 MDL-21402 fixed nasty regression :-D 2010-01-20 21:54:15 +00:00
Petr Skoda
3157cd3dbd MDL-21405 fixed missing ; 2010-01-20 21:10:49 +00:00
Petr Skoda
34f76e9a7b MDL-21405 adding global M instance, going to demonstrate how to use it soon, in theory could be reverted if too many ppl protest ;-) 2010-01-20 20:42:23 +00:00
Petr Skoda
227255b802 MDL-21402 new js_writer abstraction + otehr minor improvements 2010-01-20 20:01:24 +00:00
Petr Skoda
f5de8ee77b MDL-21401 killed top_of_body support because it does not encourage good coding style (agreed with Tim), skiplinks conversion to html_writer 2010-01-20 18:30:55 +00:00
Petr Skoda
543f54d3e5 MDL-21401 eliminating last uses of WHEN_TOP_OF_BODY 2010-01-20 18:07:49 +00:00
jerome mouneyrac
3f77607874 administration MDL-21351 revert changes 2010-01-20 10:16:41 +00:00
jerome mouneyrac
721312bd2c administration MDL-21392 add hidesavebutton() for admin_settingpage class 2010-01-20 09:58:17 +00:00
Martin Dougiamas
0aed347fd1 blocks config MDL-21375 Usability improvements for editing block stickiness, especially when dealing with frontpage and system blocks. 2010-01-20 09:08:04 +00:00
Petr Skoda
9fcb81adae MDL-21386 readding require_login() which I accidentally removed during one previous cleanup, sorry 2010-01-20 08:41:07 +00:00
jerome mouneyrac
3a17a7a352 webservice MDL-21351 add function page: use multiple searchable selector 2010-01-20 02:44:19 +00:00
Petr Skoda
08fac7341f MDL-21240 new $PAGE->requires->js_init_code('js code;') intended for simple initialisation of YUI stuff in page, this should help to reduce uncached HTTP requrests per page because we would not have to create tons of .js files each with one short init function; we have to make sure ppl do not abuse this; this coudl also allow theme designers to tweak module JS if we store the JS fragment in plugin renderer where it in fact belongs ;-) + fixed some docs 2010-01-19 23:08:06 +00:00
Petr Skoda
c845f827e5 MDL-21240 fixed event docs 2010-01-19 22:07:13 +00:00
Petr Skoda
d96d8f03b4 MDL-21240 adding new level to requirements manager, now the function calls and events have access to "Y." 2010-01-19 22:01:12 +00:00
Petr Skoda
8f29813160 MDL-21240 shortened urls now start with / everywhere 2010-01-19 12:59:34 +00:00
Martin Dougiamas
02ba576c27 blocks/sticky MDL-21375 This patch allows frontpage blocks to be easily turned into SYSTEM-wide sticky blocks. There is still an outstanding problem about how to deal with SYSTEM blocks that are not sticky. I think these should also be seen on the front page all the time but I'm not sure. See the bug for discussion about this. 2010-01-19 10:07:52 +00:00
jerome mouneyrac
115ea17e46 webservice MDL-21351 manage token page: remove additional title, manage service page: move left link at the left 2010-01-19 10:07:26 +00:00
jerome mouneyrac
b24b55eb24 webservice MDL-21351 trivial text changes on the admin Manage protocol page 2010-01-19 08:36:16 +00:00
jerome mouneyrac
94e90ab7b7 webservice MDL-21351 web service token profil page become security keys page, the tokens are now automatically generated. 2010-01-19 08:16:57 +00:00
Petr Skoda
9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Petr Skoda
f2ab0d0694 MDL-21240 more migration to html_writer 2010-01-18 20:39:47 +00:00
Petr Skoda
77774f6a83 MDL-21240 move script tag generation into html_writer + improving api a bit 2010-01-18 20:17:43 +00:00
Petr Skoda
c046747947 MDL-21240 simplified CSS handling in requirements manager 2010-01-18 20:02:13 +00:00
Petr Skoda
02fd1ad7a7 MDL-21240 converting shortened urls to start with '/' 2010-01-18 19:21:38 +00:00
Petr Skoda
c8870e6886 MDL-21240 support for loading of yui2 modules thourgh the yui3 JS loader; see example attached in tracker 2010-01-18 19:18:00 +00:00
Tim Hunt
085e842a35 graphlib MDL-21371: Legend layout issue when different legend texts had different heights. 2010-01-18 15:24:13 +00:00
Petr Skoda
2212eb7add MDL-21240 adding special handling of theme CSS, the reason is we ned to mark first theme CSS so that YUI adds own CSS before that, and second the custom plugin CSS must be always loaded after themes 2010-01-18 13:13:20 +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
24e4119a09 MDL-21369 fixed regression, thanks Mark Johnson 2010-01-18 12:12:38 +00:00
Petr Skoda
7fde1e4bc8 MDL-21362 fixed fatal error regression 2010-01-18 09:40:14 +00:00
Petr Skoda
acdb91770a MDL-21362 working on file_encode_url replacements 2010-01-18 08:50:46 +00:00
Sam Hemelryk
cedc5b828a navigation-javascript MDL-21329 Corrected dock issue when many blocks were docked and fixed misc sizing issues 2010-01-18 06:19:51 +00:00
Dongsheng Cai
8e71b1d6b1 "MDL-21170, adding missing itemid to editor element" 2010-01-18 06:16:00 +00:00
Dongsheng Cai
0c4edaa243 "MDL-21170, complete upload function, fixed missing itemid" 2010-01-18 05:28:42 +00:00
Martin Dougiamas
e15887b092 commentlib MDL-21345 Fixed a typo breaking new comment profile images 2010-01-18 03:01:44 +00:00
Sam Hemelryk
8aa92f9efb calendar MDL-21355 Fixed bug when using undock all button after undocking an individual block 2010-01-18 02:56:17 +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
5e991e3797 MDL-21362 fixed incorrect url constructors 2010-01-17 16:09:15 +00:00
Petr Skoda
bc0663abfb MDL-21233 fixed recent regression 2010-01-17 11:01:31 +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
bde156b3fa MDL-21233 obviously input tag writing does not belong into the moodle_url class, moving to html_writer instead + simplifying api / regression fixed 2010-01-17 09:08:34 +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
6770330d17 MDL-21235 support for optgroups in select 2010-01-16 19:48:01 +00:00