909 Commits

Author SHA1 Message Date
Sam Hemelryk
3211569a6a Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
This reverts commit f9f281b8fee75c2416d71bae7583fd026b9ccabb.
2012-04-11 17:18:58 +12:00
Sam Hemelryk
5bfeb5ffd3 Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle 2012-04-10 12:34:37 +12:00
Aparup Banerjee
bc706271c8 Merge branch 'wip-MDL-32171-master' of git://github.com/marinaglancy/moodle 2012-04-03 11:42:58 +08:00
Rossiani Wijaya
f9f281b8fe MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag 2012-03-30 16:26:58 +08:00
Marina Glancy
bde16d799a MDL-32269: undoing changes from MDL-32095 causing fatal error when using wikimedia 2012-03-30 09:11:57 +08:00
Marina Glancy
a45e65206a MDL-32171: add 'Manage' link to Picasa repository 2012-03-30 08:33:28 +08:00
Eloy Lafuente (stronk7)
3f0cb423b2 Merge branch 'w13_MDL-32095_m23_strict2' of git://github.com/skodak/moodle 2012-03-28 22:49:38 +02:00
Petr Skoda
68a7c9a696 MDL-32095 some more E_STRICT fixes 2012-03-26 11:47:15 +02:00
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
Dan Poltawski
727dac2f34 Merge branch 'wip-MDL-27236-master' of git://github.com/marinaglancy/moodle 2012-03-21 14:51:40 +08:00
Marina Glancy
e2652f1a31 MDL-27236: Server files, improve tree view
- Removed 'Private files' from 'Server files' repository;
- Show only non-empty directories (taking into account filetype filter);
- If there is only one non-empty filearea within a module, do not show it and skip the extra subdirectory level;
- If the user is not admin (does not have 'moodle/course:update' capability in system context), do not show course categories, just list available courses;
- Also when retrieving the course files capability to managefiles is checked before retrieving the modules list for performance tuning on sites with a lot of courses
2012-03-21 13:55:22 +08:00
Sam Hemelryk
ef844d0a15 Merge branch 'w12_MDL-32094_m23_phpstrict' of git://github.com/skodak/moodle 2012-03-20 16:47:17 +13:00
Petr Skoda
f20edd5208 MDL-32094 fix various E_STRICT compatibility problems 2012-03-18 18:37:24 +01:00
Petr Skoda
58eb9b9f2a MDL-32094 fix E_STRICT problems in repository API 2012-03-18 18:31:32 +01: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
Petr Skoda
e67bc2a410 MDL-30964 fix phpdocs in access.php files in all plugins 2012-02-27 07:23:10 +01:00
Sam Hemelryk
1498035f37 Merge branch 'MDL-31590-master-1' of git://git.luns.net.uk/moodle 2012-02-20 15:01:19 +13:00
Sam Hemelryk
1ddb08084b MDL-31112 repository: Fixed phpdocs on new function 2012-02-15 12:44:32 +13:00
Sam Hemelryk
f820701286 Merge branch 'MDL-31112_dndupload_folder_detection' of git://github.com/davosmith/moodle 2012-02-15 12:41:47 +13: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
Davo Smith
87ed3a5c39 MDL-31112 Repository upload - check for completely null files (likely to be folders uploaded by mistake via drag and drop) 2012-02-14 08:25:04 +00:00
Aparup Banerjee
9e31e848da Merge branch 'MDL-31541_multiple_repository_instances' of git://github.com/davosmith/moodle 2012-02-14 13:30:11 +08:00
Marina Glancy
7d3ebf4c19 MDL-30709: Fixed bug with inserting files from Recent files repository
Two parts of changes: in assignment module function assignment_get_file_info was missing
and when populating the list of recent files the function get_file_info was not called, which caused populating the list of recent files with the files that could not later be inserted
2012-02-09 13:55:41 +08:00
Davo Smith
fdb0322d72 MDL-31541 Repositories - make sure all repository instances have unique 'sortorder' values when retrieved 2012-02-08 09:35:39 +00:00
Eloy Lafuente (stronk7)
8aac56c6be Merge branch 'MDL-31000-master-3' of git://git.luns.net.uk/moodle 2012-02-01 00:25:05 +01: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
Petr Skoda
1fbbf89349 MDL-30891 fix invalid hardcoded capability check when disable legacy files repo 2012-01-14 21:57:47 +01:00
Andrew Robert Nicols
36ef66430e MDL-31000 Respect sortorder of repositories when displaying the filepicker 2012-01-13 15:52:04 +00:00
Rajesh Taneja
246c2cb8e5 MDL-30452 Repositories: Changed default capability on repos - Thanks Michael 2012-01-10 11:10:43 +01:00
Sam Hemelryk
6b37c2b093 MDL-31000 Added comment about the importance of repository array keys and hardened new dnd repository lookup 2012-01-10 12:21:24 +13:00
Sam Hemelryk
b098581488 Revert "MDL-31000 Respect sortorder of repositories when displaying the filepicker"
This change was reverted because the array keys need to be the id, existing code relies on this.
This reverts commit ef72c7942e69b41296989bbbd51a0d84ee4f636b.
2012-01-10 12:18:34 +13:00
Andrew Robert Nicols
ef72c7942e MDL-31000 Respect sortorder of repositories when displaying the filepicker 2012-01-03 15:58:58 +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
Petr Skoda
0790df351f MDL-30007 standardise repository version files 2011-11-29 22:06:27 +01:00
Eloy Lafuente (stronk7)
1ff31a54a2 Merge branch 'dropbox-api-bump-for-master' of git://git.luns.net.uk/moodle 2011-11-28 00:08:31 +01:00
Dan Poltawski
4b05a49bcb MDL-29960 repository/dropbox - Fix obvious incorrect url 2011-11-25 10:13:29 +00:00
Dan Poltawski
6381177b9f MDL-29960 repository/dropbox - remove unsused code
This function calls an API request which may be changed from the
version 0 of the API
2011-11-25 09:59:01 +00:00
Dan Poltawski
c745d1e80e MDL-29960 repository/dropbox - update to use 1.0 API version 2011-11-25 09:59:01 +00:00
Eloy Lafuente (stronk7)
5535390c55 Merge branch 'MDL-30165-master-1' of git://git.luns.net.uk/moodle 2011-11-23 11:22:50 +01:00
Andrew Robert Nicols
7633f4b55b MDL-30165: Make repository file extension check case insensitive 2011-11-07 11:14:19 +00:00
Andreas Grabs
6543f3cd5b MDL-30154 - WebDAV-Repository fails on some WebDAV-Server 2011-11-06 22:09:11 +01:00
Sam Hemelryk
5e255d5ad8 Merge branch 'MDL-27919' of git://github.com/jamiepratt/moodle 2011-10-31 17:18:13 +13: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
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
Aparup Banerjee
c9f7b5e20b Merge branch 'MDL-26890-master' of git://github.com/ankitagarwal/moodle 2011-09-20 13:15:52 +08:00
Ankit Kumar Agarwal
c0d60b3a3f MDL-26890 Forums check on filesize if the file is added to the forum from private area 2011-09-20 10:01:42 +05:30