Marina Glancy
5e5923ea28
MDL-42016 repository: Implement new sync method in repositories
2013-10-06 18:05:13 +11:00
Dan Marsden
361a47d409
MDL-41580 SCORM: allow imsmanifest.xml to be used in file system repos
2013-09-24 12:08:38 +12:00
Marina Glancy
a7e505e659
MDL-23044 Use Files API functions in filesystem cron
2013-09-03 17:00:29 +10:00
Marina Glancy
2ef39ca4c5
MDL-23044 Support for storing thumbnails in repository filesystem
2013-08-30 14:22:48 +10:00
Petr Škoda
2f1e464a88
MDL-40438 migrate all collatorlib:: and textlib:: uses
2013-08-06 21:04:35 +02:00
Frederic Massart
c122f484c5
MDL-38366 repository_filesystem: Prevent use of empty subdir
2013-07-10 14:03:46 +08:00
Ankit Agarwal
0601e0eef6
MDL-40402 libraries: Replace get_system_context() with context_system::instance() in core
2013-07-04 15:41:06 +08:00
Helen Foster
77fc81f3ee
MDL-40439 Merge English strings from the en_fix language pack
2013-07-02 11:42:10 +02:00
Frederic Massart
9b5e61ac1e
MDL-39477 repository: Introducing data generators for repositories
2013-05-28 10:44:43 +08:00
Eloy Lafuente (stronk7)
cedb0aab5a
MDL-39434 Bump all versions near 2.5 release
2013-05-01 18:03:29 +02:00
Dan Poltawski
8fb59b10fc
MDL-38852 repository_filesystem: missing setType calls
2013-04-03 11:13:58 +08:00
Frederic Massart
31581ae65d
MDL-36426 repository: Prevent login_as() users to access private repositories
2013-03-04 02:38:35 +01:00
Eloy Lafuente (stronk7)
663dbbc2e6
MDL-36933 Bump everything to 2012112900
...
(versions, requires and dependencies)
2012-11-30 03:30:09 +01:00
Marina Glancy
63d8ccef81
MDL-34290 repository_filesystem: do not store files in moodle filepool unless images
2012-08-29 11:56:19 +08:00
Marina Glancy
96221c605a
MDL-34290 repository_filesystem add original info function and reduce ref lifetime
2012-08-29 11:56:15 +08:00
Marina Glancy
7355640aed
MDL-34748 repository_filesystem: Sort files by title by default
2012-08-13 11:58:58 +08:00
Eloy Lafuente (stronk7)
c5e783e512
MDL-33794 version.php: Bump all versions, requires and dependencies to 2012061700
2012-06-18 02:37:00 +02:00
Dongsheng Cai
d6453211b6
MDL-33513: Make files->source field consistent
2012-06-15 14:51:07 +08:00
Dan Poltawski
4585e6ac98
Merge branch 'wip-MDL-33550-master' of git://github.com/marinaglancy/moodle
2012-06-14 16:23:08 +08:00
Dan Poltawski
414ce30812
Revert MDL-33513
...
This reverts commit b2cf2b807f7a7c8d1a02ebb52038c61cc63a1494.
This reverts commit 24b96f01702571989fa77a05c5cd11b9fedc2745.
This reverts commit 39c60294a6a027ae56f4b9eda159bb589b60c0c0.
This reverts commit 8a288971e25eaaa4c8cbd67e450cee0e12435d4e.
2012-06-14 13:57:45 +08:00
Dan Poltawski
cd925ac79b
Merge branch 'dev_MDL-33513_files_source' of git://github.com/danpoltawski/moodle
2012-06-14 11:12:21 +08:00
Marina Glancy
0b2bfbd1c6
MDL-33550 Correctly process situation when file reference source is missing
...
- do not die with fatal error if source file in moodle internal repository is missing;
- moved code duplication for moodle repositories into class repository (functions send_file, get_reference_details, get_file_by_reference, get_file_reference);
- update file status after repository::sync_external_file so we know that it is missing (or not missing anymore). Do not run this function more than once for file within one request;
- display readable name for Private Files and Server files with the new format;
- display broken icon in filemanager if we know that source is missing, display information (for admin) where it was located before: see repository::get_reference_details() and extending classes;
- removed unnecessary queries in stored_file::sync_external_file();
- syncronize files before displaying it's size in mod_resource, do not query directly
2012-06-13 12:11:06 +08:00
Dan Poltawski
4a126f1725
MDL-32573 - repository: make instance_config_form static
2012-06-12 22:17:29 +08:00
Dongsheng Cai
8a288971e2
MDL-33513: Make files->source field consistent
2012-06-10 17:47:00 +10: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
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
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
Petr Skoda
e67bc2a410
MDL-30964 fix phpdocs in access.php files in all plugins
2012-02-27 07:23:10 +01:00
Rajesh Taneja
246c2cb8e5
MDL-30452 Repositories: Changed default capability on repos - Thanks Michael
2012-01-10 11:10:43 +01:00
Petr Skoda
0790df351f
MDL-30007 standardise repository version files
2011-11-29 22:06:27 +01:00
Petr Skoda
d078f6d38e
standardized PHPDocs package info
2010-09-06 11:29:21 +00:00
Petr Skoda
8512eebe07
MDL-23984 fixed filesystem repository to use our default permissions
2010-08-29 16:35:22 +00:00
Petr Skoda
ede7252234
MDL-23784 finally getting rid of all legacy .gif and .png extensions, yay! fixing issues with incorrect & in JS code
2010-08-12 20:37:24 +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
5513379ae6
"MDL-23326, fixed undefined index"
2010-08-09 06:26:14 +00:00
Dongsheng Cai
85b5ed5de2
"MDL-13766, filesystem plugin should return empty url attribute"
2010-08-03 09:03:56 +00:00
Dongsheng Cai
8e5af6cfa1
"MDL-23530, filesystem plugin should be configured by admins only"
2010-08-02 06:33:34 +00:00
dongsheng
e3b9156c46
REPOSITORY MDL-23533, fixed incorrect archetype
2010-07-28 08:56:49 +00:00
Dongsheng Cai
a5adfa2658
MDL-23072, properly localised repository instance name
2010-07-27 09:03:54 +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
14770efc70
MDL-22984 using standard plugin description string for repositories
...
AMOS BEGIN
MOV [repositorydesc,repository_alfresco],[pluginname_help,repository_alfresco]
MOV [repositorydesc,repository_boxnet],[pluginname_help,repository_boxnet]
MOV [repositorydesc,repository_dropbox],[pluginname_help,repository_dropbox]
MOV [repositorydesc,repository_filesystem],[pluginname_help,repository_filesystem]
MOV [repositorydesc,repository_flickr],[pluginname_help,repository_flickr]
MOV [repositorydesc,repository_flickr_public],[pluginname_help,repository_flickr_public]
MOV [repositorydesc,repository_googledocs],[pluginname_help,repository_googledocs]
MOV [repositorydesc,repository_local],[pluginname_help,repository_local]
MOV [repositorydesc,repository_merlot],[pluginname_help,repository_merlot]
MOV [repositorydesc,repository_picasa],[pluginname_help,repository_picasa]
MOV [repositorydesc,repository_recent],[pluginname_help,repository_recent]
MOV [repositorydesc,repository_s3],[pluginname_help,repository_s3]
MOV [repositorydesc,repository_upload],[pluginname_help,repository_upload]
MOV [repositorydesc,repository_url],[pluginname_help,repository_url]
MOV [repositorydesc,repository_user],[pluginname_help,repository_user]
MOV [repositorydesc,repository_webdav],[pluginname_help,repository_webdav]
MOV [repositorydesc,repository_wikimedia],[pluginname_help,repository_wikimedia]
MOV [repositorydesc,repository_youtube],[pluginname_help,repository_youtube]
AMOS END
2010-07-04 12:56:19 +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
a4cdd6d2c8
MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing
2010-07-04 10:27:56 +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
Dongsheng Cai
49d20def30
MDL-22755, create filesystem plugin needs moodle/site:config capability, and a few coding style fixing
2010-06-22 07:40:30 +00:00
Dongsheng Cai
3316796dbe
"MDL-22754, fixed file permission"
2010-06-15 05:50:18 +00:00
Sam Marshall
31c9330392
accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php
2010-05-21 11:51:23 +00:00
Dongsheng Cai
951d2d5529
"MDL-22523, fixed file system plugin bug"
2010-05-20 07:10:00 +00:00
Dongsheng Cai
fb4ee704aa
MDL-18520, filesystem plugin should respect mimetypes
2010-05-10 08:42:19 +00:00
Dongsheng Cai
30f53712d7
MDL-13766, allow logged in user to use repository plugins
2010-05-07 03:42:35 +00:00