288 Commits

Author SHA1 Message Date
Ankit Agarwal
d197ea4300 MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id() 2012-08-24 11:30:10 +08:00
Petr Škoda
99a91bbad1 MDL-34741 remove unused legacy course files code 2012-08-11 20:40:10 +02:00
Eloy Lafuente (stronk7)
ecad7393e3 Revert "MDL-33303 Filepicker: resized to match HTML editor and made resizable"
This reverts commit c947ea3e3fee2e0ecf6b4cd386e04a768a18e662.
2012-07-05 23:21:34 +02:00
Barbara Ramiro
19ef00b916 MDL-33542, MDL-33542 Select dialogue details aligned
And loading gif smaller
2012-07-04 10:25:04 +08:00
Eloy Lafuente (stronk7)
20ef104713 Merge branch 'wip-MDL-33303-m24' of git://github.com/samhemelryk/moodle 2012-07-03 16:17:36 +02:00
Sam Hemelryk
103a53473f Merge branch 'MDL-33686_options' of git://github.com/andyjdavis/moodle 2012-07-02 14:53:31 +12:00
Frederic Massart
c947ea3e3f MDL-33303 Filepicker: resized to match HTML editor and made resizable 2012-07-02 11:34:34 +12:00
Dan Poltawski
3ab04302dd Merge branch 'MDL-33999' of git://github.com/nebgor/moodle 2012-06-25 16:35:09 +08:00
Aparup Banerjee
13429b9596 MDL-33999 filemanager : fixed up incorrect string used in dialog button during folder renaming 2012-06-25 16:18:21 +08:00
Aparup Banerjee
224d186ebb Merge branch 'wip-MDL-33419-master' of https://github.com/barbararamiro/moodle 2012-06-25 14:30:18 +08:00
Dan Poltawski
5b7621f78d Merge branch 'MDL-33717_admin_message2' of git://github.com/andyjdavis/moodle 2012-06-22 15:09:46 +08:00
Andrew Davis
7db6bb7f61 MDL-33717 files: improved display_size() so that it displays something nice for -1 2012-06-21 10:14:32 +07:00
Rajesh Taneja
99f374c457 MDL-33419 Filepicker: Reference/source icons are visible in filemanager list and table view 2012-06-20 15:07:58 +08:00
Dan Poltawski
6e471afe8b Merge branch 'wip-MDL-33417-master' of git://github.com/marinaglancy/moodle 2012-06-20 13:42:19 +08:00
Aparup Banerjee
4214bc63a8 MDL-31330 fixed whitespace 2012-06-19 16:13:29 +08:00
Aparup Banerjee
9e4d54e15d Merge branch 'wip-MDL-33130-master' of https://github.com/barbararamiro/moodle
Conflicts:
	theme/base/style/core.css
	theme/base/style/filemanager.css
2012-06-19 16:09:43 +08:00
Barbara Ramiro
af9c48cbe9 MDL-33130 Filemanager/Filepicker buttons, Activitity Chooser and Quiz revised to look consistent 2012-06-19 14:36:13 +08:00
Marina Glancy
1778f310f3 MDL-33417 Show reference icon for files in filepicker 2012-06-19 11:15:51 +08:00
Dan Poltawski
6855fec7fd Merge branch 'MDL-33136_dndfilemanager_replace_file' of git://github.com/davosmith/moodle 2012-06-18 17:36:03 +08:00
Davo Smith
b8a22d22fe MDL-33136 Dndupload filemanager - moved 'overwrite all' and 'rename all' buttons onto new line 2012-06-18 08:56:39 +01:00
Davo Smith
d0b2d44528 MDL-33136 Dndupload filemanager - user asked to rename/overwrite file when droping file with existing name 2012-06-18 08:55:41 +01:00
Andrew Davis
648aad913a MDL-33686 Repositories: we were accessing a non-existent variable and thus never displaying the maximum number of attachments 2012-06-13 11:49:13 +07:00
Aparup Banerjee
575776c1bd Merge branch 'MDL-31863' of git://github.com/mouneyrac/moodle 2012-06-12 11:09:51 +08:00
Jerome Mouneyrac
ecd1bdf420 MDL-31863 fix responseerror when no files are found 2012-06-11 14:12:00 +08:00
Aparup Banerjee
fef6b15ad9 MDL-31863 Web Service : get_files() optional $modified timestamp returns files changed after given time. 2012-06-11 14:06:56 +08:00
Yang Yang
8f3039576a MDL-31863 Web service : added modified to parameters and modifiedtime to description 2012-06-11 14:06:46 +08:00
Dan Poltawski
dcac0787b9 Revert "MDL-31863 Web service : added modified to parameters and modifiedtime to description"
This reverts commit 25ccaf54949cfafc1f61572dba203a3a76700089.
2012-06-08 15:25:40 +08:00
Dan Poltawski
c13dcf934e Revert "MDL-31863 Web Service : get_files() optional $modified timestamp returns files changed after given time."
This reverts commit 130d3fbf964f2efbcc6fee3855edb7bc0a2af744.
2012-06-08 15:25:34 +08:00
Aparup Banerjee
3872cae1eb Merge branch 'MDL-31863' of git://github.com/nebgor/moodle 2012-06-07 11:59:13 +08:00
Aparup Banerjee
130d3fbf96 MDL-31863 Web Service : get_files() optional $modified timestamp returns files changed after given time. 2012-06-07 11:57:19 +08:00
Yang Yang
25ccaf5494 MDL-31863 Web service : added modified to parameters and modifiedtime to description 2012-06-07 11:56:19 +08:00
Dan Poltawski
1cf840074b Merge branch 'wip-MDL-33218-master' of git://github.com/barbararamiro/moodle 2012-06-04 17:13:35 +08:00
Barbara Ramiro
7c3e665289 MDL-33218 Filepicker repository and toolbar aligned for IE 2012-05-30 13:56:34 +08:00
Frederic Massart
322945e9ca MDL-33184 Filepicker: rephrased drag and drop sentence 2012-05-30 10:05:10 +08:00
Marina Glancy
5e11746696 MDL-33218 fixing filemanager/filepicker look in IE
now all YUI dialogues are under the div with id #filesskin. This way we can avoid using !important in CSS and use #filesskin instead. It will have priority over YUI skin in all browswers including IE (!important does not work in IE).

Conflicts:

	files/renderer.php
	theme/base/style/filemanager.css
2012-05-28 11:54:33 +08:00
Barbara Ramiro
6077e3813c MDL-33218 Filemanager and Filepicker IE issue 2012-05-28 11:44:51 +08:00
Barbara Ramiro
a9352f1f3c MDL-33162, MDL-33183, MDL-33150 Adjusted styles filemanager, file picker and file picker form element
- MDL-33162 Vertical align text to the middle of 24px icon for table view and tree view both on filemanager and filepicker
- MDL-33183 Layout file picker on form element on edit profile for drag and drop with dashed border and animated arrow consistent with filemanager (outputrenderers.php)
- MDL-33150 Added more space in between tool buttons both for file manager and filepicker
2012-05-24 15:02:52 +08:00
Marina Glancy
559276b153 MDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons
- function get_mimetypes_array() now contains also information about filetype groups and language strings
- use 'smart' human-readable mimetype description
- never determine filetype group based on filetype icon image! remove function mimeinfo_from_icon()
- get rid of class filetype_parser and file lib/filestorage/file_types.mm, replaced with functions file_get_typegroup(), file_extension_in_typegroup() and file_mimetype_in_typegroup()
- support multiple icon sizes, not only 16 and 32
- retrieve filetype icon only using proper functions file_..._icon() from lib/filelib.php throughout the code
- increase size of repository thumbnails to 90 and icons to 24 (will take effect when new icons exist)
2012-05-21 16:01:04 +08:00
Barbara Ramiro
b456271028 MDL-31901 filemanager and filepicker styling
- Swaped tool buttons and view buttons sequence for keyboard access both on filemanager and filepicker
- Added "new folder name" label and "cancel" button on create a folder dialogue
- Added href="#" and resized fonts on confirmation  and message dialogue
2012-05-21 15:25:20 +08:00
Barbara Ramiro
0f0d10c5be MDL-31901 filemanager and filepicker styling
- Thumbnail for Private files, Server file and Recent file restyled
- Thumbnail for Context menu made flexible
- Filenames on hover made all text visible
- Drag and drop arrow hidden for unsupported browsers
- Drag and drop styled applied on edit profile
- Yui3 panel focused removed
2012-05-21 11:57:55 +08:00
Marina Glancy
9dbdf31f8c MDL-32867 Display a list of references pointing to the file in filemanager 2012-05-21 11:57:54 +08:00
Barbara Ramiro
420e7bb27b MDL-31901 Styled File Manager Icon view, Table view and Tree view 2012-05-21 11:57:54 +08:00
Marina Glancy
9a62f7799b MDL-32867 Working with external references in filemanager
- Files that are references to external resources have special shortcut icon in filemanager
- When user selects a REF file in filemanager, he can see the 'Original' of the file in the way that original repository wants to show it, it is loaded dynamically via AJAX request
- Files that are themselves the source of references of other files in the system have 'link' icon in filemanager. When user tries to remove/rename/overwrite SRC file he is warned that all ## existing references will be updated/converted to copies.
- Changed confirmation messages for deleting, moving/renaming of the folders
- confirmation dialog in filemanager is using YUI3 now
2012-05-21 11:57:53 +08:00
Marina Glancy
55089a9d01 MDL-31901: moved select-file panel outside of filepicker/filemanager for better UI 2012-05-21 11:57:53 +08:00
Marina Glancy
5cf44c1f1f MDL-31901,MDL-28666: add support for external references in new filepicker design 2012-05-21 11:57:53 +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
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