442 Commits

Author SHA1 Message Date
dongsheng
aa8ce6e3fd "MDL-13766, use new API to load javascript files, fix xhtml strict issues in javascript, but YUI cannot work in xml strict mode, so do not true on xml strict option in moodle if you want to use file picker" 2009-06-16 02:42:32 +00:00
tjhunt
c28bf5c9f8 javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
Also, some related JavaScript cleanup.

More to follow.
2009-06-15 05:37:57 +00:00
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
dongsheng
6b0fae574d "MDL-19002, implement attachment files limit in file picker" 2009-06-12 05:57:25 +00:00
dongsheng
b6fd5aee62 "MDL-17316, improve non-js file manager interface" 2009-06-11 08:08:33 +00:00
dongsheng
5e98ab966f "MDL-17316, non-js file manager, support externel authentication" 2009-06-11 02:54:33 +00:00
dongsheng
9deb3d000a "MDL-13766, shouldn't check login in repository base class, because developer may define a session name later" 2009-06-10 08:46:31 +00:00
dongsheng
14f3c8827a "MDL-17316, display attached files in non-js file manager" 2009-06-09 06:43:38 +00:00
dongsheng
2b70aa5152 "MDL-16384, add text to descripe what is alfresco API url is" 2009-06-08 06:36:38 +00:00
dongsheng
761265adab "MDL-17316, non-js file picker added" 2009-06-08 06:25:53 +00:00
dongsheng
81f4ff7241 "MDL-16384, alfresco plugin, deal with session expired issue" 2009-06-05 08:14:57 +00:00
dongsheng
fb8103e6a0 "MDL-16384, upgrade alfresco php library, fixed bugs in offical php sdk" 2009-06-05 06:55:07 +00:00
dongsheng
1c05907d07 "MDL-13766, ->pixpath doesn't work in web service, use ->httpswwwroot instead" 2009-06-04 09:33:25 +00:00
dongsheng
a3d8df257b "MDL-13766, repository api, fixed typeid value" 2009-06-04 06:40:35 +00:00
stronk7
6aa104ed96 MDL-19350 upgrade blocks - tiding up minor bits in repo plugins 2009-06-03 17:31:09 +00:00
dongsheng
78f7e0c6d8 "MDL-15351, fixed undefined path variable" 2009-06-03 08:38:52 +00:00
dongsheng
c875ad9a21 "MDL-13766, repository module, fixed a undefined variable" 2009-05-29 09:28:12 +00:00
dongsheng
d80444efe7 "MDL-19180, repository url plugin, fixed undefined index" 2009-05-29 09:18:55 +00:00
dongsheng
a36670da44 "MDL-15350, boxnet plugin, assign session name before calling parent construct function" 2009-05-29 09:17:51 +00:00
dongsheng
7d554b649a "MDL-13766, remove magic functions, improve maintainability" 2009-05-29 09:14:32 +00:00
dongsheng
48d54a97c8 "MDL-17474, repository plugin, add check_login to construct function" 2009-05-27 03:35:58 +00:00
dongsheng
8c7ddb3519 "MDL-16548, remove the horrific alert dialog when upload successfully" 2009-05-22 09:55:10 +00:00
dongsheng
a6058fed1f "MDL-15351, use new file api handle draft files and final files in local plugin" 2009-05-22 09:19:58 +00:00
dongsheng
8559ea1080 "MDL-15351, use base64 encode php seriablized data" 2009-05-20 06:08:12 +00:00
dongsheng
cd3122334d "MDL-15351, rewrote repository local repository" 2009-05-20 05:24:53 +00:00
dongsheng
da2946c984 "MDL-19180, repository url plugin, download file into moodle by inputing url directly" 2009-05-18 03:51:09 +00:00
skodak
e7c2f2ba37 MDL-13766 fixed xhtml strict 2009-05-17 18:51:24 +00:00
dongsheng
c19f8e7dcb "MDL-13766, add extra yui images for yui treeview, this will display folder-style treeview in file picker" 2009-05-07 06:47:20 +00:00
dongsheng
c1cfadedd5 "MDL-13766, disable toolbar is logging needed" 2009-05-07 06:10:38 +00:00
dongsheng
a06878d3c1 "MDL-13766, if moodle is working on HTTPS, then we are not allowed to access parent window, we need to warn users what is going on, and tell them to refresh repository manually" 2009-05-04 09:25:14 +00:00
dongsheng
4a9aff7987 "MDL-18520, remove empty path element from file listing" 2009-05-04 09:12:55 +00:00
dongsheng
5183f7586f "MDL-13766, improve file picker pagination" 2009-05-04 08:59:01 +00:00
dongsheng
fc3ec2ca24 "MDL-18486, 1. hide toolbar, pagination when doing global searching, 2. display empty directory in local pluign" 2009-04-30 09:42:24 +00:00
dongsheng
ef42c03fd7 "MDL-18486, compressed file picker js code" 2009-04-30 06:30:05 +00:00
dongsheng
3f14aeaee4 "MDL-18486, enable federated search for new file picker" 2009-04-30 06:11:45 +00:00
dongsheng
97977aa841 "MDL-16911, separate listing and search in youtube plugin" 2009-04-30 03:40:17 +00:00
dongsheng
6b4a218929 "MDL-18486, add key lisener to file picker" 2009-04-30 03:39:25 +00:00
dongsheng
ea7898979c "MDL-16911, 1. allow double/single quotes to be showed in title 2. allow change youtube video name" 2009-04-29 06:02:26 +00:00
jerome
5ee85cf7bd repository MDL-16909 add manage functionality to Mahara repository plugin + display folders first + sort by name 2009-04-29 05:55:00 +00:00
dongsheng
90dc80b3e6 "MDL-16911, display video name for youtube link" 2009-04-29 05:02:57 +00:00
jerome
cce656a6ff repository MDL-16909 add search functionality to Mahara repository plugin 2009-04-29 02:19:08 +00:00
jerome
c4510c279c repository MDL-16909 Mahara plugin: display preview thumbnail for images 2009-04-28 03:46:25 +00:00
dongsheng
ac538bcd20 "MDL-18486, fixed popup window callabck function bug" 2009-04-28 02:17:34 +00:00
jerome
b37d75d2ab repository MDL-16909 Mahara plugin: temporary unworking version for DS debug 2009-04-24 08:41:52 +00:00
dongsheng
9f50fb5f69 "Flickr_public plugin/MDL-18830, support license search for flickr_public" 2009-04-24 04:54:47 +00:00
dongsheng
870f4b56fb "MDL-13766, output repository id when logging out" 2009-04-24 04:53:24 +00:00
dongsheng
24f86cbcd8 "MDL-13766, display progress bar when callback function is executing" 2009-04-24 03:24:10 +00:00
dongsheng
3a1f7a96bf "MDL-13766, improve file picker login interface" 2009-04-24 03:19:22 +00:00
dongsheng
7b58fb4179 "webdav plugin/MDL-16908, fix header check code, reformat code" 2009-04-23 09:50:30 +00:00
jerome
842feb0612 repository MDL-16909 working beta mahara plugin, miss search function 2009-04-22 09:04:38 +00:00