443 Commits

Author SHA1 Message Date
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
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
Barbara Ramiro
e88d564186 MDL-31901: Change the UI in filepicker CSS rendered and images 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
d1d186917c MDL-31901: moved filepicker html to files/renderer.php, pass templates once per page 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
Dongsheng Cai
6723372514 MDL-28666 Extends repository to support references
1. Allow repository to create references to external contents
2. Extends files API to handle file references
3. Generic file caching
4. Backup/restore file references
5. Download external contents if repository uninstalled
6. Allow filepicker to display iframe
7. PHPUnit test suits
2012-05-21 11:57:51 +08:00
Jerome Mouneyrac
4615817d1c MDL-30986 external API, check and update DocBlock
Conflicts:

	group/externallib.php
2012-04-30 15:11:56 +08:00
Jerome Mouneyrac
5d1017e11d MDL-29106 new web service naming convention 2011-10-24 11:06:00 +08:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
Aparup Banerjee
d1e362405e Merge branch MDL-29186-master of git://github.com/samhemelryk/moodle
- resolved conflicts, minor whitespace and fixed quote.
- note: textlib_get_instance() is already deprecated
2011-09-13 16:06:21 +08:00
Sam Hemelryk
f8adfe6cc0 Merge branch 'w36_MDL-28701_m22_tempcachedir' of git://github.com/skodak/moodle 2011-09-12 18:26:09 +12:00
Petr Skoda
af08a48b2d MDL-29257 use more entropy in ws upload 2011-09-10 12:06:59 +02:00
Tom Lanyon
af9b14446d MDL-28701 Change uses of make_upload_directory(temp) to make_temp_directory(). 2011-09-10 10:43:49 +02:00
Sam Hemelryk
91d284c145 MDL-29186 multilang Reviewed the uses of course fullname and ensured things were being formatted consistently 2011-09-08 09:38:46 +12:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Sam Hemelryk
affb8fd6f3 files MDL-19799 Fixed up call to deprecated function notice 2010-09-22 08:39:28 +00:00
Petr Skoda
6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Petr Skoda
8be3250285 MDL-24321 switching to stdClass in /files/ 2010-09-21 08:15:38 +00:00
Dongsheng Cai
276943d4c1 MDL-24295, fixed display of course files 2010-09-21 07:01:01 +00:00
Dongsheng Cai
0b259d91a9 MDL-24295, Course files display should show more information, like Moodle 1.x 2010-09-20 11:59:11 +00:00
Petr Skoda
89877fdf5f adding missing $dir 2010-09-17 18:36:14 +00:00
Petr Skoda
cb9f4e2773 fixed unterminated JS statement 2010-09-17 18:33:49 +00:00
Dongsheng Cai
3ac06cc25a MDL-23308, fixed course files tree file download link 2010-09-13 10:18:01 +00:00
Dongsheng Cai
12fcd26de2 MDL-23308, added mimetype icons to course files tree 2010-09-13 07:01:55 +00:00
Dongsheng Cai
e0873f138f MDL-23308, course files page heading should have the same help text with course setting 2010-09-10 03:43:17 +00:00
Dongsheng Cai
98ccfaa6cc MDL-23308, hide form element label in course files management page 2010-09-10 03:39:07 +00:00
Dongsheng Cai
2251110619 MDL-23308, added navigation node to course files management page 2010-09-10 03:38:18 +00:00
Dongsheng Cai
29750492a2 MDL-23308, added help text to course files page 2010-09-09 02:50:53 +00:00
Dongsheng Cai
e921afa874 "MDL-23308, bring course files back" 2010-08-30 08:22:14 +00:00
Petr Skoda
c426ef3aa5 MDL-23984 improvements of check_dir_exists() - replacing by make_upload_directory() in cases where we want to be sure that the dir is writable; removning now default create and recursive params to make code easier to read 2010-08-29 14:51:09 +00:00
Petr Skoda
882efc3c8a MDL-23984 using standard check_dir_exists() in extlib 2010-08-29 10:12:20 +00:00
Dongsheng Cai
9765051209 "MDL-23797, added set_context" 2010-08-17 03:43:12 +00:00
Petr Skoda
bce08d9a37 MDL-23739 improved ajax headers - now using application/json with the exception of YUI upload 2010-08-10 08:50:08 +00:00
Dongsheng Cai
93ad2d4d8c "MDL-14589 added set_context to files/index.php script" 2010-07-26 03:49:44 +00:00
Sam Hemelryk
0e79a0d577 navigation MDL-22194 Fixed up navigation a little in legacy course files browser 2010-07-23 03:33:45 +00:00
Dongsheng Cai
218a7c5f9b MDL-20904, upload function now upload to user private only, remove file_stroage code, using file_browser, added validate_parameters to validate ws parameters 2010-07-09 08:57:03 +00:00
Dongsheng Cai
11c17d83ff MDL-23155, file tree error in ie 2010-07-09 06:03:09 +00:00
Dongsheng Cai
4e0969f0d3 MDL-22982, fixed file browser renderer component 2010-07-07 08:18:41 +00:00
Petr Skoda
d811bd84b4 fixed incorrect comments, thanks Dongsheng 2010-07-07 07:43:28 +00:00
Petr Skoda
9b3f1d6c0c fixed incorrect get context call 2010-07-07 07:28:57 +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
6eabadd90d MDL-22805, display section_backup course_backup course_content only, hide empty directory, lock user in course level 2010-06-22 09:04:46 +00:00
Sam Hemelryk
61ebef8f6e backup MDL-22140 Added conf settings to control the default general backup settings 2010-06-17 08:57:00 +00:00
Dongsheng Cai
3a80531595 MDL-22805, remove debug code 2010-06-17 04:04:45 +00:00
Dongsheng Cai
fb2fb46e5b MDL-22805, new renderer component moodle_file_tree_viewer, remove file_tree_viewer to area_file_tree_viewer, the legecy files/index.php has be replaced with the moodle_file_tree_viewer, it is readonly 2010-06-16 08:07:42 +00:00
Rossiani Wijaya
a8206cc493 MDL-20447 - bulk upload: add page heading 2010-06-02 06:25:10 +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