Marina Glancy
5bdf63cce0
MDL-14636: Support table view in Filepicker, provide more info about files
...
- Added table view in Filepicker where for each file we show Name, Last modified, Size and Type. Sortable by column
- Preprocess list of files returned from repositories to include formatted size, dates, type and also add filetype icon
- Make sure that local repositories (coursefiles, filesystem, local, recent, user) return information about file size, datemodified, datecreated, author, license
2012-05-21 11:57:51 +08:00
Marina Glancy
b5e7b6385e
MDL-31901: Introducing renderers for filepicker:
...
- create repository renderer, implement functions for returning HTML templates used in filepicker
- let filepicker use HTML from templates
- move CSS for filemanager and filepicker to the separate css file in base theme
- use only YUI3 in filepicker (get rid of YUI2)
- add button for 'View details' in filepicker (though this view mode is still not ready)
2012-05-21 11:57:51 +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
Marina Glancy
061eeed5df
MDL-32381: Fixed Accessing non-static methods in repository class as static (causing php notices)
2012-04-12 15:05:20 +08:00
Petr Skoda
68a7c9a696
MDL-32095 some more E_STRICT fixes
2012-03-26 11:47:15 +02:00
Petr Skoda
58eb9b9f2a
MDL-32094 fix E_STRICT problems in repository API
2012-03-18 18:31:32 +01: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
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
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 ef72c7942e
.
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
7633f4b55b
MDL-30165: Make repository file extension check case insensitive
2011-11-07 11:14:19 +00: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
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
Sam Hemelryk
62b214d9a6
Merge branch 'w36_MDL-29014_m22_str' of git://github.com/skodak/moodle
2011-09-13 12:45:34 +12: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
cedc3d338c
MDL-29257 use more entropy in repo upload
2011-09-10 12:05:29 +02:00
Tom Lanyon
7aa06e6ded
MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir
2011-09-10 10:35:39 +02:00
Petr Skoda
138c76789b
MDL-29014 fix a few incorrect uses of strlen and substr
2011-09-10 10:21:31 +02:00
Eloy Lafuente (stronk7)
0a4ca115b2
Merge branch 'w33_MDL-26796_m22_arrayparams' of git://github.com/skodak/moodle
2011-08-24 14:06:22 +02:00
Petr Skoda
18bd7573d6
MDL-26796 convert array parameter cleaning to new functions
2011-08-18 08:40:33 +02:00
Petr Skoda
23bfe0a448
MDL-19380 reimplement antivir scanning in repositories
2011-08-18 08:37:40 +02:00
Ruslan Kabalin
84ee73ee3b
MDL-28520: repositories: validation method to repository_type_form class
2011-07-28 17:11:58 +01:00
Aparup Banerjee
728ebac7f2
MDL-28135 general Updating all hardcoded "docs.moodle.org/en/Development:" type doc links to "docs.moodle.org/dev/"
2011-07-05 14:27:31 +08:00
Dongsheng Cai
14b2d8d865
MDL-26677 flickr repo - fix undefined index usewatermarks
2011-06-23 17:13:46 +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
Petr Skoda
cf717dc26b
MDL-27148 use new get_in_or_equal() param prefix instead of start
2011-04-14 15:15:01 +02:00
Dongsheng Cai
9e6aa5ec91
MDL-24805, fixed get_option function
2010-10-22 05:31:16 +00:00
Dongsheng Cai
29199e56f8
"MDL-24534, fixed filepicker pagnation, credits to Gerwood Stewart"
2010-10-14 08:51:08 +00:00
Petr Skoda
6bdfef5da9
MDL-24321 switching to standard stdClass()
2010-09-21 08:54:01 +00:00
Petr Skoda
a27ab6fdfb
MDL-24321 switching to stdClass in /repository/
2010-09-21 08:22:04 +00:00
Dongsheng Cai
bf413f6fe9
MDL-24210, added course context to get_instances method
2010-09-15 05:53:44 +00:00
Petr Skoda
5d354ded1a
standardized PHPDocs package info
2010-09-06 11:17:43 +00:00
Petr Skoda
f685e83030
MDL-14679 fixed remaining old style set_field()s
2010-09-03 18:14:55 +00:00
Dongsheng Cai
d3959c2695
MDL-23308, coursefiles repository plugin added
2010-08-31 03:39:33 +00:00
Dongsheng Cai
6b172cdc7f
"MDL-23326, fixed undefined index in repository conf form, added validation function to repository plugin"
2010-08-09 09:03:07 +00:00
Dongsheng Cai
8e5af6cfa1
"MDL-23530, filesystem plugin should be configured by admins only"
2010-08-02 06:33:34 +00:00
Dongsheng Cai
a5adfa2658
MDL-23072, properly localised repository instance name
2010-07-27 09:03:54 +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
1311e4dd00
MDL-23268, throw error message instead of deleting existing file
2010-07-27 03:10:59 +00:00
Dongsheng Cai
be85f7ab94
"MDL-23307, server file plugin display current course files by default"
2010-07-19 17:44:23 +00:00
Petr Skoda
50a8bd6c1d
MDL-14589 file api cleanup
2010-07-11 13:30:33 +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
614d18d26c
MDL-22984 using standard plugin name string for repositories
...
AMOS BEGIN
MOV [repositoryname,repository_alfresco],[pluginname,repository_alfresco]
MOV [repositoryname,repository_boxnet],[pluginname,repository_boxnet]
MOV [repositoryname,repository_dropbox],[pluginname,repository_dropbox]
MOV [repositoryname,repository_filesystem],[pluginname,repository_filesystem]
MOV [repositoryname,repository_flickr],[pluginname,repository_flickr]
MOV [repositoryname,repository_flickr_public],[pluginname,repository_flickr_public]
MOV [repositoryname,repository_googledocs],[pluginname,repository_googledocs]
MOV [repositoryname,repository_local],[pluginname,repository_local]
MOV [repositoryname,repository_merlot],[pluginname,repository_merlot]
MOV [repositoryname,repository_picasa],[pluginname,repository_picasa]
MOV [repositoryname,repository_recent],[pluginname,repository_recent]
MOV [repositoryname,repository_s3],[pluginname,repository_s3]
MOV [repositoryname,repository_upload],[pluginname,repository_upload]
MOV [repositoryname,repository_url],[pluginname,repository_url]
MOV [repositoryname,repository_user],[pluginname,repository_user]
MOV [repositoryname,repository_webdav],[pluginname,repository_webdav]
MOV [repositoryname,repository_wikimedia],[pluginname,repository_wikimedia]
MOV [repositoryname,repository_youtube],[pluginname,repository_youtube]
AMOS END
2010-07-04 12:52:10 +00:00
Petr Skoda
1c5f926de9
MDL-22992 cleaning repository upgrade path, please note core functions MUST NOT be called from the main upgrade script; the installation of plugins should be handled through each install.php
2010-07-04 12:36:46 +00:00
Petr Skoda
c82d7320a7
MDL-22983 fixed incorrect repo icon locations - the /pix/ subfolder is the only way now
2010-07-03 14:40:33 +00:00
Petr Skoda
a090554aaa
MDL-23067 fixed potential sql injection and improved SQL coding style
2010-07-03 14:33:48 +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