374 Commits

Author SHA1 Message Date
tjhunt
cf6155226c ajaxlib/require_js: MDL-16693 $PAGE->requires->... deprecates require_js etc.
There is a new implementation of require_js in lib/deprecatedlib.php,
based on $PAGE->requires.

There were a few other recently introduced functions in lib/weblib.php,
namely print_js_call, print_delayed_js_call, print_js_config and
standard_js_config. These have been removed, since they were never in
a stable branch, and all the places that used them have been changed
to use the newer $PAGE->requires->... methods.

get_require_js_code is also gone, and the evil places that were calling
it, even though it is an internal function, have been fixed.

Also, I made some minor improvements to the code I committed yesterday
for MDL-16695.

All that remains is to update all the places in core code that are
still using require_js.

(This commit also fixes the problem where the admin tree would not
start with the right categories expanded.)
2009-06-12 12:13:07 +00:00
sam_marshall
c5cf6bb2e2 MDL-17974: Calendar 'new entry' accessibility improvement 2009-01-28 12:11:32 +00:00
moodler
04f1715ee2 calendar/ical MDL-17964 Better hostname for UID, merged from 1.9 2009-01-20 06:22:51 +00:00
moodler
8805fa94b6 calendar/export MDL-17964 explicitly define a non-random UID for each event (merged from 1.9) 2009-01-20 03:09:10 +00:00
skodak
6132768ecb MDL-17767 loginas refactoring and simplification; full SESSION switching implemented 2009-01-02 15:15:26 +00:00
skodak
804656ff9b MDL-17203 prevent disclosing of sensitive information 2008-12-31 15:53:31 +00:00
skodak
b20c631896 MDL-17203 hash salt added to calendar export 2008-12-31 15:50:46 +00:00
skodak
dbf9d4cb37 MDL-17203 new option for disabling of calendar export 2008-12-31 14:10:44 +00:00
skodak
4a965824a0 MDL-16738 fixed + array operator overriding the same numeric keys - credit goes to Vince Gángó; merged from MOODLE_19_STABLE 2008-10-08 19:10:22 +00:00
tjhunt
ac324e05ea MDL-16675 change callers to require_js to take advantage of the fact that callers no longer have to add $CFG->wwwroot themselves. 2008-09-25 06:40:52 +00:00
skodak
db4a3d8ffe MDL-16666 removing all use_html_editor() instances 2008-09-24 21:03:36 +00:00
skodak
2fd0e9fe58 MDL-16644 removing striplsahses() and friends 2008-09-23 21:09:46 +00:00
tjhunt
7264519e3f MDL-16583 - Clean up some fo the places we link to javascript files, to use require_js 2008-09-23 07:00:59 +00:00
scyrma
2a68c5d9b9 MDL-16318: remove a few calls use_html_editor() (more to come) 2008-09-03 03:09:56 +00:00
sam_marshall
e2ce18a515 MDL-15519 sorry I'm an idiot, that should have been H3 not H2 2008-07-14 11:20:07 +00:00
sam_marshall
197c4f3b51 MDL-15519 Added H2 tag for month selector in calendar (accessibility) 2008-07-14 11:05:40 +00:00
sam_marshall
ed9f9947e8 MDL-15519: [Accessibility] Added heading tags around current month on monthly calendar view (and changed default styling so this doesn't affect appearance). 2008-07-03 14:16:22 +00:00
dongsheng
5233c06bb7 "MDL-15424, close table tags manually before calling redirect, merged from MOODLE_19_STABALE" 2008-07-02 07:09:38 +00:00
dongsheng
55924e7c18 "MDL-10633, fix dobule quote in calendar, merged from MOODLE_19_STABLE" 2008-06-27 03:12:56 +00:00
dongsheng
e30873753c "MDL-15424, fix html tag" 2008-06-26 08:59:20 +00:00
tjhunt
e36cd5d394 MDL-13229 - Cannot export group events - now make it export group events if 'all' is selected - Oops, allow for course without groups. 2008-06-23 14:34:56 +00:00
tjhunt
941939ef51 MDL-13229 - Cannot export group events - now make it export group events if 'all' is selected. 2008-06-19 17:57:57 +00:00
tjhunt
fa200431b1 MDL-15318 - url is a reserved word in JavaScript in IE, so the Gen Calendar URL button does not work there 2008-06-19 14:24:09 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
655b09ca8a MDL-15117 wiki converted and other regressions fixed 2008-06-04 21:34:14 +00:00
skodak
29c1951305 MDL-14679 fixed regression 2008-06-01 14:53:20 +00:00
skodak
62d11d771e MDL-14679 towards /calendar conversion 2008-06-01 14:25:05 +00:00
skodak
f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
scyrma
59fa45d0f1 MDL-11113: simplify the code - use only one function to check for html editor availability 2008-05-07 07:40:50 +00:00
dongsheng
f581f8d64b "MDL-14129, fix print_error" 2008-05-01 05:44:41 +00:00
dongsheng
d9d16e56a3 "MDL-14460,fix get_context_instance, merged from MOODLE_19_STABLE" 2008-04-30 04:46:46 +00:00
dongsheng
33aa5723ca "MDL-14129, fix print_error call" 2008-04-30 04:09:29 +00:00
sam_marshall
03beb65b3a MDL-14476: Made 'fake blocks' in calendar and elsewhere more consistent with real blocks (so styling themes is easier) 2008-04-22 14:14:47 +00:00
dongsheng
ef35441d27 MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE, see tracker. 2008-04-22 06:24:14 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
moodler
e17500c0fe Just ptecting the directory 2008-02-27 06:14:24 +00:00
moodler
2ac8da76b6 User must be logged in (avoids notices) 2008-02-21 06:10:17 +00:00
skodak
a71a3aefe0 MDL-11843 deleting of activities directly from calendar is dangerous/confusing; merged from MOODLE_19_STABLE 2008-02-19 10:46:10 +00:00
skodak
dd97c32868 MDL-12945 a slightly bigger patch for performance in recent activity and various group related issues + some other fixes - see list of subtasks in tracker; merged from MOODLE_19_STABLE 2008-01-24 20:33:50 +00:00
stronk7
79e8411dc2 Prevent race condition in event creation. MDL-5956.
Credit goes to Penny, Luke and Martin @ Catalyst.

Merged from MOODLE_19_STABLE
2007-12-28 19:14:01 +00:00
dwoolhead
8263f8024d MDL-12313 basically rationalising getting calendar events function calls 2007-11-26 14:43:28 +00:00
sam_marshall
9b50bd46ad MDL-12075 Display individually colour-coded events in calendar rather than random day colours 2007-11-19 10:53:23 +00:00
toyomoyo
dc6cb74efd MDL-11672, hide hidden assignment descriptions from calendar 2007-11-16 02:52:48 +00:00
toyomoyo
d12e3ff27f MDL-9059, when teacher creates group event on calendar, they can not see it 2007-11-12 06:27:42 +00:00
sam_marshall
8220806924 MDL-12072 Added heading tag for calendar 'blocks' 2007-11-08 17:01:35 +00:00
sam_marshall
fdbffa54f5 MDL-12069 Make calendar events key labels and link titles consistent (also tidy up one bit of duplicated code) 2007-11-08 15:16:16 +00:00
sam_marshall
f63d29223e MDL-11916 Added managegroupevents capability 2007-10-30 16:19:47 +00:00
nfreear
f79f249490 Follow up fix for MDL-11436 'Encapsulate "accesshide" HTML class in function', and use. 2007-10-15 10:04:41 +00:00
toyomoyo
9ba76792ca MDL-10353, adding couse variable to nav bar in calendar preferences 2007-10-15 04:46:31 +00:00
toyomoyo
b426fd8323 MDL-10353, calender redirection broken when editting and exporting 2007-10-11 05:24:12 +00:00