52 Commits

Author SHA1 Message Date
Dongsheng Cai
563d04175a MDL-23065, fix non js filepicker 2010-08-04 03:57:10 +00:00
Dongsheng Cai
be85f7ab94 "MDL-23307, server file plugin display current course files by default" 2010-07-19 17:44:23 +00:00
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
Dongsheng Cai
7e0746709f "MDL-13766, added missing js init call" 2010-05-31 09:41:46 +00:00
Dongsheng Cai
ce47962ed5 MDL-13766, added hidden elements to make label 'for' attribute happly 2010-05-31 05:57:35 +00:00
Dongsheng Cai
bb496de7c2 MDL-13766, move file picker element to core renderer 2010-05-24 07:55:57 +00:00
Petr Skoda
842f291493 MDL-21400 fixed filepicker regression 2010-02-06 19:43:35 +00:00
Petr Skoda
4c508047eb MDL-21400 converting forms stuff to new M namespace and using standardised JS module coding style, fixed some regressions - for now works in FF only 2010-02-03 14:36:53 +00:00
Petr Skoda
5668690321 MDL-21403 hardcoded JS legacy code should not use new $PAGE->requires-> api, switching to html_writer instead 2010-01-26 10:22:58 +00:00
Petr Skoda
7b42e81a76 MDL-21170 migrated filepicker to new YUI3 loading, tested in editor only, the filemanager and picker elements still have some problems, sorry for that 2010-01-21 22:04:31 +00:00
Petr Skoda
9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
Dongsheng Cai
0c4edaa243 "MDL-21170, complete upload function, fixed missing itemid" 2010-01-18 05:28:42 +00:00
Dongsheng Cai
99eaca9d3d "MDL-21170, major update to filepicker, complete rewrote filepicker javascript code to use YUI3, need furthur polish" 2010-01-15 07:48:38 +00:00
Petr Skoda
4bcc51185c MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions 2009-12-30 15:19:55 +00:00
Dongsheng Cai
c2e2d8e3aa "MDL-20602, support FILE_INTERNAL and FILE_EXTERNAL in moodle form elements" 2009-11-02 07:18:38 +00:00
dongsheng
2289c0e43d "MDL-16697, fixed itemid in filepicker" 2009-09-11 03:24:51 +00:00
dongsheng
4ba3169d21 "MDL-16697, add savepath parameter to filepicker, fixed title click event in filepicker" 2009-09-09 04:59:58 +00:00
nicolasconnault
12f11f232a MDL-19799 Switched $_helpbutton to public members 2009-08-21 00:15:19 +00:00
dongsheng
7a0c240306 "MDL-16697, fixed parameters" 2009-08-16 03:46:15 +00:00
dongsheng
dd07016297 "MDL-16697, rename callback functions" 2009-08-14 08:22:06 +00:00
dongsheng
2b20173965 "MDL-16697, update javascript parameters list" 2009-08-14 07:37:56 +00:00
skodak
ae4a98a108 MDL-13766 fixed some obvious problems with missing global $CFG and undefined variables 2009-08-11 09:40:59 +00:00
samhemelryk
e4e7044acd lib-form MDL-16706 Changed inline JS to use PAGE methods 2009-07-07 08:49:00 +00:00
skodak
ff5fe31160 MDL-19580 cleanup of require css and js filepicker code 2009-06-24 22:34:29 +00:00
dongsheng
ab9cdbb976 "MDL-17316, fix upload form in non-js file picker" 2009-06-18 06:31:51 +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
dongsheng
1fd5298216 "MDL-16597, passing maxbytes and maxfiles to file picker" 2009-05-18 04:06:55 +00:00
skodak
b7335412ca MDL-19002 fixed string concatenation with "+" typos, added file size restrictions, unfortunately filepicker does not work for some reason 2009-05-11 19:35:37 +00:00
skodak
9d54b8cd95 MDL-19002 file size limits in filepicker + improved options 2009-05-11 18:49:04 +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
b423b4af24 REPOSITORY, FILEMANGER FORM ELEMENT/MDL-16597
new ajax filemanager.
2008-12-02 07:05:15 +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
skodak
b8d9c71915 MDL-15906 file picker improvements - it now keeps current file after failed server side validation or submission (input element used instead of button element) 2008-09-11 23:11:24 +00:00
dongsheng
911e0eb050 MDL-13766
1. change css className
2. add comments
2008-09-10 07:11:47 +00:00
moodler
757f30a20c MDL-15348 Add changes for filepicker to support the display of existing files 2008-09-08 05:41:45 +00:00
skodak
4287fc0df5 MDL-15906 filepicker support in all file functions in formslib 2008-09-07 13:30:46 +00:00
moodler
21599d8cfc MDL-15348 Make the filepicker component return the itemid of the new file (in user_draft area) 2008-09-02 02:59:01 +00:00
moodler
41ebc6d31c MDL-15348 Make sure the filepicker element shows a label 2008-09-01 06:17:23 +00:00
dongsheng
a846af6fae "MDL-13766, display file name after file downloaded" 2008-09-01 02:00:15 +00:00
jerome
49a1ce1957 MDL-13766: refactor all libary functions, they now all start with repository_ 2008-08-28 05:13:13 +00:00
scyrma
ec21543a9f MDL-15405: Add missing quote in javascript code 2008-08-27 08:36:01 +00:00
scyrma
4302300219 MDL-15405: A first form (partly) converted to the new filepicker element. 2008-08-27 07:57:54 +00:00
dongsheng
d373f63f9b MDL-13766
1. Use treeview display files in repository
2. Dymanicly loading file support
3. Upload file in local repository plugin
4. Move file picker to the top level of DOM
5. get original photo format from flickr web service
2008-08-20 02:52:29 +00:00
dongsheng
64be2d6ce1 MDL-13766, some small changes for repository api. 2008-08-11 03:30:09 +00:00
dongsheng
b6558c3b0c MDL-13766
1. Pass context information to repository
TODO
Not sure about the way to get context, hard to find where we are, because print_textarea and moodle may be used in any place in moodle.
2. Change parameter type in ws.php
2008-08-07 03:33:47 +00:00
dongsheng
f3a6f85b94 MDL-13766, use a better value for itemid. 2008-08-06 08:09:01 +00:00
dongsheng
e1f2936860 MDL-13766, fix bugs in formlib 2008-08-06 03:26:57 +00:00
dongsheng
77a2e1461b MDL-13766, fix for filepicker in moodleform 2008-08-05 05:58:06 +00:00
dongsheng
c2762f06b7 MDL-13766
1. Make mulit-filepicker in one page possible
2. fix lang strings
3. use itemid specify a draft file
TODO
itemid should use a better value.
2008-08-05 05:12:30 +00:00
dongsheng
d8eb6e180c "MDL-13766, use file api to move files" 2008-08-04 05:53:53 +00:00