72 Commits

Author SHA1 Message Date
Marina Glancy
400d228e51 MDL-32106: fixed JS bug - when html element did not exist the script stopped 2012-03-26 09:52:01 +08:00
Marina Glancy
a5159b864d MDL-32037: MDL-32037: After displaying error message filepicker could not send proper request to server
We need to make sure that code executed on error does not create more requests and
especially does not create the same request that resulted with error. So now by default
filepicker will clear the right side of the window if repository_ajax.php returned an
error.
Also fixed an 'invalidsesskey' error string.
2012-03-16 09:38:33 +08:00
Eloy Lafuente (stronk7)
8ebbe295ab MDL-31929 minor fixup (the file is plenty, but avoid introducing new ones) 2012-03-13 23:01:59 +01:00
Eloy Lafuente (stronk7)
4c31dfd14a Merge branch 'wip-MDL-31929-master' of git://github.com/marinaglancy/moodle 2012-03-13 23:01:11 +01:00
Marina Glancy
20ee508499 MDL-31929: Repositories wikimedia and youtube lack paging
repositories wikimedia and youtube:
- save last search in
- process parameter 'page'
- remove buttons 'Refresh', 'Search' and 'Logout' since they don't have meaning
filepicker:
- allow unknown number of pages (['pages'] = -1), show one 'Next' page after the current (both JS and non-JS modes)
repository wikimedia:
- add non-AJAX search form to make it work with JS disabled
2012-03-12 11:35:50 +08:00
Marina Glancy
7f9358fcc0 MDL-31838: Allow caching static responses from repositories in file picker 2012-03-12 11:35:35 +08:00
Andrew Robert Nicols
1628fd3bb5 MDL-31590 Correct title of error dialogue on filepicker
Thanks to Gilles-Philippe Leblanc for this patch
2012-02-14 15:42:02 +00:00
Andrew Robert Nicols
36ef66430e MDL-31000 Respect sortorder of repositories when displaying the filepicker 2012-01-13 15:52:04 +00:00
Andrew Robert Nicols
37461af103 MDL-30641 Stop italicising and underlining folder names in the filepicker 2011-12-07 17:14:25 +00:00
Jamie Pratt
1ae299f5f3 MDL-27919 Fixed a regression where I was seeing that after choosing "Overwrite"
in a filemanager form component when subsequently trying to add another file the
file picker would then immediately close upon opening.
2011-09-21 13:15:23 +07:00
Jamie Pratt
913b3cb30c MDL-27919 also adding a callback to the filepicker when a file is overwritten
but a file with the same name. This is not necessary in most cases but is
instant and some code may expect a call to the function whether the url and / or
file name has changed or not so it can update itself when the file changes.
2011-09-18 13:57:09 +07:00
Jamie Pratt
794cc7e1cf MDL-27919 Fixes 'undefined' message and similar problems when selecting a
recent file, server file or when renaming a file being uploaded with the same
name as a previous one.
2011-09-18 13:22:35 +07:00
Petr Skoda
9d753c38d7 MDL-28554 fix problematic loading of io-upload-frame
This is a bit of a mystery, somehow 'io' module dependency is not enough to load everything, this might be caused by a regression in yui.
2011-08-24 15:00:10 +02:00
Eloy Lafuente (stronk7)
a8f3f4ccf1 MDL-27169 filepicker - add explicit enctype to the js upload form. Credit goes to J Ross Nicoll, thanks! 2011-06-22 19:30:57 +02:00
Sam Hemelryk
74704aab26 Merge branch 's9_MDL-27381_overwrite_dialog_safari_master' of github.com:dongsheng/moodle 2011-05-05 13:22:15 +08:00
Dongsheng Cai
1448c5952f MDL-27381 fixed 'overwrite files' dialog zindex in safari 2011-05-05 10:41:02 +08:00
Sam Hemelryk
c8ad2c12ba Merged MDL-26388 Fixed whitespace 2011-05-03 16:27:31 +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
60a4bf98eb MDL-26916, MDL-26917
1. Fix filepicker paging issue MDL-26916
2. Highlight view as icon button by default MDL-26917
2011-03-24 13:55:33 +08:00
Dongsheng Cai
e4e9e853d2 Fix three minor filepicker bugs: 1. use language string in search dialog instead of hard code filepicker MDL-26915 2. search dialog now response to enter key MDL-26919 3. search dialog should be modal mode MDL-26918 2011-03-21 20:56:36 +08:00
Dongsheng Cai
a6b53a7cbe FILEPICKER MDL-26583 filepicker should use core language string not string from modules 2011-03-09 17:00:01 +08:00
Sam Marshall
b09b6ed8dd MDL-25301 'Upload this file' button should not have ... 2010-11-19 16:27:30 +00:00
Dongsheng Cai
b4b0e5ed2b "MDL-24533, fixed two page 1 boxes in filepicker, credits to Gerwood Stewart" 2010-10-06 03:29:19 +00:00
Dongsheng Cai
0bd269b7a2 MDL-24410, repository upload plugin allows rename file 2010-09-29 07:05:51 +00:00
Petr Skoda
8cbef19e9a fixed unterminated JS statements 2010-09-17 19:46:57 +00:00
Dongsheng Cai
ea44dd2e2a MDL-23619, fixed file path in filepicker 2010-09-10 07:05:58 +00:00
Dongsheng Cai
f312e8783a MDL-13766, improve filepicker ui 2010-09-06 06:07:47 +00:00
Dongsheng Cai
fdfb9cbe1a MDL-23477, flickr_public repository plugin, click search button go back to search screen 2010-08-06 08:49:01 +00:00
Dongsheng Cai
1c309299a2 "REPOSITORY MDL-23581, filepicker name should be localisable" 2010-07-30 08:02:10 +00:00
Dongsheng Cai
766514a095 MDL-23407, the advlink plugin of tinymce should use external repositories only 2010-07-27 04:06:09 +00:00
Dongsheng Cai
64654e78b6 "MDL-23268, remove file_browser, urldecode, clean filename, fixed fie overriding issue" 2010-07-26 08:37:48 +00:00
Dongsheng Cai
ce6297d22a "MDL-23506, added error message" 2010-07-24 15:05:08 +00:00
Dongsheng Cai
2a03b97bda "MDL-23506, avoid upload without file attached" 2010-07-24 14:49:01 +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
bd2db41a92 MDL-13766, remove ajax header setting, which broke mahara plugin. 2010-07-06 08:28:26 +00:00
Dongsheng Cai
203bbcbe79 MDL-13766, fixed treeview 2010-07-06 05:26:25 +00:00
Dongsheng Cai
e35194bec4 MDL-22982
1. rename repository.class to lib.php
2. fixed repository_callback.php
3. repository_ajax use moodle default exception handler
4. improve file_get_user_used_space performance
2010-07-05 07:27:49 +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
6127179bbd "MDL-13766, remove debug line and added confirm_sesskey to repository_ajax" 2010-06-28 02:13:58 +00:00
Dongsheng Cai
f00340e2ca MDL-22734, added text to prompt empty repositories list, and added shorttitle for long filename 2010-06-22 03:55:45 +00:00
Dongsheng Cai
3273731181 "MDL-13766, highlight active repository plugin" 2010-05-28 06:57:15 +00:00
Dongsheng Cai
a756cb3769 MDL-13766, file picker now remember user's recent used repository plugin and license 2010-05-26 09:43:46 +00:00
Dongsheng Cai
bb496de7c2 MDL-13766, move file picker element to core renderer 2010-05-24 07:55:57 +00:00
Dongsheng Cai
879b4f9ae1 MDL-13766, improve file picker UI 2010-05-21 08:13:08 +00:00
Dongsheng Cai
5ba5e3783b "MDL-13766, scrollbars are added to popup window" 2010-05-20 06:50:47 +00:00
Dongsheng Cai
308d948b84 MDL-13766, tweak upload form 2010-05-19 02:50:45 +00:00
Dongsheng Cai
2e93bc3819 "MDL-13766, fixed a problem of icon view" 2010-05-14 03:29:09 +00:00
Dongsheng Cai
97b151ea3b "MDL-13766, fixed popup login in filepicker" 2010-05-11 05:40:14 +00:00
Dongsheng Cai
46325d3e86 "MDL-13766, use normal button in upload form" 2010-05-06 07:03:39 +00:00
Dongsheng Cai
934291d6e6 "MDL-13766, removed debug code" 2010-05-03 16:01:45 +00:00