Commit Graph

181 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 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 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 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
dongsheng c875ad9a21 "MDL-13766, repository module, fixed a undefined variable" 2009-05-29 09:28:12 +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 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 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 2b8beee371 "MDL-13766, clean up repository code" 2009-04-21 10:02:59 +00:00
dongsheng b763c2d904 "MDL-18486, file picker searching form" 2009-04-21 05:53:35 +00:00
dongsheng e189ec00f0 "MDL-18486, remove php varible from file picker code, all javascript code goes into a static file" 2009-04-20 08:53:21 +00:00
dongsheng f882cf0497 "MDL-18886, remove firephp debugging code" 2009-04-17 08:05:49 +00:00
dongsheng b81ebefd70 "MDL-18886, use array index to get files tree children" 2009-04-17 08:00:59 +00:00
dongsheng 09bff8e8f1 "MDL-17475, fix bad sql when add repository instances" 2009-04-03 07:31:43 +00:00
dongsheng 8af334cd22 "MDL-17261, add language string, see details on tracker" 2009-04-03 02:26:43 +00:00
dongsheng a53d4f45c4 "REPOSITORY/MDL-13766, create prepare_file function, it will prepare temp file for repository api" 2009-03-16 02:16:50 +00:00
dongsheng 88b126a5e4 "REPOSITORY/MDL-13766, 1. don't remove file if repository_no_delete is set 2. remove a useless function" 2009-03-13 02:52:12 +00:00
dongsheng 8763ab760b "REPOSITORY, UPGRADE/MDL-18354, upgrade/install repository plugins using moodle hook" 2009-03-10 02:01:24 +00:00
dongsheng 60c366e8a6 "REPOSITORY/MDL-13766, improve create function" 2009-03-05 05:40:56 +00:00
dongsheng 2b0b362677 "REPOSITORY/MDL-17815, remove instance config when deleting instances" 2009-03-05 04:59:48 +00:00
dongsheng a75c78d318 "REPOSITORY/MDL-18354, enabled local and upload repository plugins when upgrading" 2009-03-05 04:40:51 +00:00
dongsheng 9d6aa28696 "REPOSITORY/MDL-13766, should not use abstract function in repository base class, inproperly use of parameters can break moodle page" 2009-02-27 06:25:56 +00:00
dongsheng 5fa358d1ce "REPOSITORY/MDL-13766, separate page and path in get_listing function" 2009-02-18 06:52:54 +00:00
dongsheng 0ef9884365 "MDL-13766, use bigger icons for file picker" 2009-01-14 03:26:47 +00:00
dongsheng 46ee50dcc3 "REPOSITORY/MDL-13766, provide accepted_types when sending request" 2009-01-13 05:04:15 +00:00
dongsheng 271bd2e0fa "MDL-13766/REPOSITORY,make sure parent construct function will be called by repository pluigns" 2009-01-08 06:10:29 +00:00
dongsheng 537d44e801 "MDL-13766/REPOSITORY, deal with filtering empty directory" 2009-01-08 05:12:49 +00:00
dongsheng 0c6e921292 "MDL-13766, fixed a bug concerning files filter" 2009-01-07 01:13:53 +00:00
skodak d1aa1e4855 MDL-17758 fixed hardcoded /admin/ links 2009-01-01 14:25:29 +00:00
dongsheng f1cfe56eb6 "MDL-17014, stop create repository type if plugin_init return false" 2008-12-11 03:19:46 +00:00
dongsheng c167aa26c1 "REPOSITORY, BOXNET/MDL-17391, create a helper function to filter files in listing" 2008-12-09 02:11:57 +00:00
dongsheng fc11edbfa0 "MDL-17391, enable repository filter in html editor" 2008-12-08 06:53:58 +00:00
dongsheng 014c1ca037 "MDL-17391, filter repository intances by file types" 2008-12-08 05:19:09 +00:00
dongsheng b423b4af24 REPOSITORY, FILEMANGER FORM ELEMENT/MDL-16597
new ajax filemanager.
2008-12-02 07:05:15 +00:00
nicolasconnault dbc0194458 MDL_13766 Refactoring of core repository code and added first unit tests 2008-11-26 07:03:10 +00:00
dongsheng b318bb6db2 REPOSITORY/MDL-13766
pass mimetype and return value type to file picker to filter repository instances
2008-11-26 03:26:33 +00:00
dongsheng 1e08b5cf79 "MDL-13766, support iframe repository" 2008-11-03 04:44:53 +00:00
jerome 3a01a46a3e MDL-15352: display only the folder containing at least one file 2008-10-31 00:30:36 +00:00
dongsheng e53a97d19e "MDL-13766, fixed options saving bug" 2008-10-30 07:12:54 +00:00
jerome e3ca0f3a04 MDL-15352: move local/remote common code into the repository library. 2008-10-30 02:30:26 +00:00
jerome ce5e846c72 MDL-15352: add phpdoc to mnet_publishes method 2008-10-29 06:42:48 +00:00
dongsheng efe018b492 "MDL-17014, check soap extension in alfresco plugin" 2008-10-28 03:13:31 +00:00
dongsheng 3e0794ed04 "MDL-17014, check soap extension before create alfresco plugin" 2008-10-27 02:57:29 +00:00
jerome 119a4ae142 MDL-15352: fix warning on admin.php (temporary fix) 2008-10-23 09:51:48 +00:00
jerome 8f943ebab4 MDL-15402: trivial stuff into the repository lib 2008-10-22 05:49:15 +00:00
jerome 9f7c761af9 MDL-15402: by default course/user repositories cannot be created/set 2008-10-09 06:01:10 +00:00