Commit Graph

200 Commits

Author SHA1 Message Date
dongsheng a560785fae "MDL-13766, improve repository module to support file manager and disable draft plugin in filemanager" 2009-09-03 03:37:55 +00:00
dongsheng e5fa0e8d7d "MDL-13766, improve filepicker to use path option" 2009-08-22 18:16:20 +00:00
nicolasconnault 55400db0b4 MDL-19821 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno 2009-08-20 08:49:23 +00:00
dongsheng 76bff7813a "MDL-19181, doanything should be true" 2009-08-14 09:55:01 +00:00
dongsheng dfac37cc37 "MDL-13766, fixed incorrect parameter of get_context_instance_by_id" 2009-08-14 08:47:47 +00:00
nicolasconnault 50a5cf09a3 MDL-19821 Converted print_box* to $OUTPUT->box* 2009-08-10 05:49:18 +00:00
dongsheng c86dde2ec5 "MDL-19181, display plugin instances based on capabilities" 2009-08-07 10:02:47 +00:00
jerome 75003899ae filemanager MDL-16597 fix YUI repository requires and remove style='display:none' from filemanager form - credit: Dongsheng 2009-07-23 07:48:30 +00:00
dongsheng 7d6ca931f3 "MDL-13766, allow null value saved in options" 2009-07-20 07:08:02 +00:00
tjhunt 704ac34407 outputlib tables: MDL-19755 fix all cases of deprecated $table->rowclass
Also fix wrong title on Manage filters admin page.
2009-07-15 05:37:31 +00:00
samhemelryk 19c9f09430 filelib MDL-19707 Converted existing ...str_replace('png','gif')... to use file_extension_icon and file_mimetype_icon 2009-07-07 06:16:01 +00:00
tjhunt a28c92539e MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-03 06:38:41 +00:00
tjhunt ddedf979b4 MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-03 06:19:25 +00:00
tjhunt c8873c496b MDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack.
Replace $CFG->pixpath with $OUPTUT->old_icon_url(...) instead.
2009-07-02 11:23:47 +00:00
tjhunt f2a1963c43 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 11:09:15 +00:00
dongsheng 390baf4664 "MDL-13766, update image path, see http://moodle.org/mod/forum/discuss.php?d=126887" 2009-06-30 02:12:16 +00:00
dongsheng a4103e65fa "MDL-13766, fixed image path" 2009-06-29 03:41:02 +00:00
dongsheng d1bfc05ed7 "MDL-13766, improve search form in file picker, improve error handing" 2009-06-25 04:12:43 +00:00
skodak ff5fe31160 MDL-19580 cleanup of require css and js filepicker code 2009-06-24 22:34:29 +00:00
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