115 Commits

Author SHA1 Message Date
Marina Glancy
1908ae06fb MDL-31901: filemanger: fixed bug with switching to treeview in empty folder 2012-05-21 11:57:52 +08:00
Marina Glancy
e0ff0867bd MDL-31901: filemanager: fixed 'Original' label, and small bug in treeview navigation 2012-05-21 11:57:52 +08:00
Marina Glancy
4325db53ab MDL-31901: Filemanager and Filepicker, cleaned up requirements and strings 2012-05-21 11:57:52 +08:00
Marina Glancy
6c2367ccf1 MDL-31901: Highlighting main file in FileManager 2012-05-21 11:57:52 +08:00
Marina Glancy
c092681b4b MDL-31901: Updating/moving files in FileManager
- added new functions to the backend (repository/draftfiles_ajax.php) to allow changing of file name, location, license and author in one request
- enabled changing file properties using JS UI (lib/form/filemanager.js)
2012-05-21 11:57:52 +08:00
Marina Glancy
694beb548c MDL-31901: FileManager uses more YUI3 windows and more renderers
- Add folder dialog in FileManager now uses YUI3 and renderer;
- Fixed bug with remembering current folder in Tree view;
- Display error messages in FileManager using YUI3 and not using 'alert'
2012-05-21 11:57:52 +08:00
Marina Glancy
23b830091a MDL-31901: FileManager, added image for accessing right-click action 2012-05-21 11:57:52 +08:00
Marina Glancy
e709ddd29c MDL-31901: Allow FileManager to re-use FilePicker JS code for view modes:
- when loading core_filepicker we extend the Node element with functions necessary to display files list in different view modes;
- repository/filepicker.js is changed to use those functions;
- FileManager now has three different view modes (icon view, tree view and table view), JS code is re-used from FilePicker;
- files in FileManager no longer have context menu, they have one popup Widget with different actions instead;
- Added more templates for JS code to FileManager, use similar CSS class names as FilePicker;
- lib/filelib.php : fixed double slashes in path, return more data about files;
- lib/form/filemanager.php : pass information to FileManager about available licenses and default author;
- repository/draftfiles_ajax.php : return information about directory tree for file moving UI in FileManager, return formatted information;
- repository/lib.php : function repository::prepare_listing() now can work also with draftarea files listing;
2012-05-21 11:57:52 +08:00
Marina Glancy
906e7d89a5 MDL-31901: user renderer for filemanager, decrease html generation in filemanager.js and dndupload.js 2012-05-21 11:57:52 +08:00
Sam Hemelryk
36d1d23179 Merge branch 'MDL-31642_dndupload_filemanager_notification_text' of git://github.com/davosmith/moodle 2012-03-05 13:31:08 +13:00
Sam Hemelryk
8498e630af Merge branch 'MDL-31656-master-3' of git://git.luns.net.uk/moodle 2012-03-05 11:09:29 +13:00
Sam Hemelryk
a5dd1f4fb7 MDL-31660 forms: Added checks for form change detection 2012-03-05 11:00:14 +13:00
Davo Smith
adce023069 MDL-31642 added 'max attachments' to filemanager and 'drag and drop' message inside the box 2012-03-01 11:57:32 +00:00
Andrew Robert Nicols
88939271a1 MDL-31660 Rename form change detection javascript file 2012-02-29 14:50:52 +00:00
Andrew Robert Nicols
f0a163ed6d MDL-31656 Open files in a new window when downloading with the filemanager
We need to open files in a new window rather than the existing window  to
prevent warning messages when files are uploaded and then downloaded
without the form being saved first.
2012-02-20 10:50:16 +00:00
Davo Smith
7d44996c2a MDL-31114 Filemanager drag and drop upload - displays 'drop here' message when dragging over page / highlights when over element 2012-02-14 10:12:58 +00:00
Andrew Robert Nicols
00e8d08dba MDL-31315 Ask before moving away from a modified form 2012-02-09 14:55:18 +00:00
Davo Smith
910e1ecdaa MDL-31113 filemanager element - refresh file list from server on load and prevent revertion to browser drag and drop behaviour when max files reached 2012-01-19 19:28:16 +00:00
Davo Smith
f08fac7c89 MDL-29766 Add drag and drop upload to filemanager / filepicker elements 2012-01-09 17:27:32 +00:00
Eloy Lafuente (stronk7)
f0e2317087 MDL-29512 Revert "MDL-25937 Forms Library: Added Javascript validation for filepicker and filemanager. Also fixed disbledif rule check for both"
This reverts commit 7dfe3c517b8cf88356b1d1e208480b1a15452273.
2011-09-25 17:10:27 +02:00
Rajesh Taneja
7dfe3c517b MDL-25937 Forms Library: Added Javascript validation for filepicker and filemanager. Also fixed disbledif rule check for both 2011-09-16 09:17:20 +08:00
Dongsheng Cai
f392caba15 MDL-26388, pop up a dialog when attaching a file already being used in draft area. 2011-05-02 10:11:19 +08:00
Dongsheng Cai
6d30723e41 MDL-27098
1. Fixed add file language string
2. Fixed hard-coded 'moving' string
3. Fixed hard-coded 'Files' string
2011-04-11 17:09:15 +08:00
Dongsheng Cai
1a79133b20 MDL-24375, fixed mulilt main files in filemanager 2010-10-06 04:17:21 +00:00
Petr Skoda
d306751695 fixed unterminated JS statements 2010-09-18 10:37:19 +00:00
Dongsheng Cai
be85f7ab94 "MDL-23307, server file plugin display current course files by default" 2010-07-19 17:44:23 +00:00
Dongsheng Cai
1249f770da MDL-23171 filemanager usability context menu improvements 2010-07-12 08:24:59 +00:00
Petr Skoda
54da2ec7a9 MDL-23066 directory renaming and moving in file manager 2010-07-10 10:03:01 +00:00
Dongsheng Cai
1230b9c96e MDL-23116, added file type icon to private file block, stop using the short file name from filemanager 2010-07-08 04:38:13 +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
f79321f1b8 MDL-22548, added sortorder field to files table, drop mainfile field from resource table, use sortorder to decide main file 2010-05-28 07:29:11 +00:00
Dongsheng Cai
ac9c14dd29 MDL-22548, hide main file element completely 2010-05-26 07:09:02 +00:00
Dongsheng Cai
713e08cf97 MDL-16597, moved menu button, credits to martin's menu icon 2010-05-25 06:28:42 +00:00
Dongsheng Cai
d8f3170367 MDL-16597, added some style to make filemanger prettier 2010-05-20 06:15:44 +00:00
Dongsheng Cai
403eabd4e5 MDL-16597, added loadding indicator 2010-05-19 03:44:57 +00:00
Dongsheng Cai
1345cc539c MDL-16597, tweak filemanager UI 2010-05-19 03:00:10 +00:00
Dongsheng Cai
9a6606b8ac "MDL-13766,fixed argument" 2010-05-04 10:17:48 +00:00
Dongsheng Cai
59eeb81b33 "MDL-13766, fixed problems of filemanager" 2010-05-04 06:34:40 +00:00
Dongsheng Cai
1cea3c80b6 "MDL-22281, when no files in filemanager, hide download dir button" 2010-05-04 04:38:10 +00:00
Dongsheng Cai
f45dfeeb76 MDL-22281 file resource module, select main file 2010-05-04 03:48:00 +00:00
Dongsheng Cai
7210e88714 MDL-13766, filemanager, don't download empty draft area 2010-05-03 06:36:23 +00:00
Dongsheng Cai
133fd70ba5 "MDL-13766, improve filemanager to browse user_private area files" 2010-03-15 06:12:39 +00:00
Dongsheng Cai
26032c2d20 "MDL-15405, data module to use filemanager" 2010-03-05 05:37:09 +00:00
Petr Skoda
2b728cb5e1 MDL-21420 finally moving old global mstr to new M.str. 2010-02-07 09:43:07 +00:00
Petr Skoda
20fb563e97 MDL-21400 JS confirm dialog converted to YUI3/2 2010-02-06 17:35:11 +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
384ab39a62 MDL-21503 eliminating global Y 2010-02-03 09:32:02 +00:00
Dongsheng Cai
6c7c9d3976 "MDL-21170, fixed missing Y.Base module" 2010-01-28 08:08:47 +00:00
Dongsheng Cai
554cd8fc83 "MDL-21170, apply maxfiles limit to filemanager" 2010-01-25 06:12:01 +00:00
Dongsheng Cai
90aa722bee "MDL-21170, change namespacing of filepicker, use anonymous function initialize yui3 module" 2010-01-22 03:48:07 +00:00