Dan Poltawski
73ec069e3b
Merge branch 'wip-MDL-33832-master' of git://github.com/marinaglancy/moodle
2012-06-20 16:55:29 +08:00
Marina Glancy
83d2700ec9
MDL-33832 Fixed filling of files.source field
...
- also supress the error on unserialise (because people already may have broken files.source field)
- also display details about unparseable JSON error
- make source field look the same across repositories
2012-06-20 16:09:37 +08:00
Jason Fowler
9e9382530f
MDL-32990 - Repositories - Updating Box.net API calls to use HTTPS
2012-06-19 14:46:44 +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
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
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
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
68a7c9a696
MDL-32095 some more E_STRICT fixes
2012-03-26 11:47:15 +02:00
Petr Skoda
e67bc2a410
MDL-30964 fix phpdocs in access.php files in all plugins
2012-02-27 07:23:10 +01:00
Petr Skoda
0790df351f
MDL-30007 standardise repository version files
2011-11-29 22:06:27 +01:00
Dongsheng Cai
3deff6c9d2
MDL-27289, upgrade box.net repository plugin to use new box.net authentication process
2011-08-17 11:42:23 +08:00
Petr Skoda
431ac39634
MDL-26623 fix file permissions
...
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Helen Foster
72d484ddb6
MDL-21250 capital letters removal
2011-02-07 15:55:18 +01:00
Petr Skoda
d078f6d38e
standardized PHPDocs package info
2010-09-06 11:29:21 +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
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
Martin Dougiamas
05301ee5c8
MDL-15350 Fixed box.net address
2010-06-28 03:12:41 +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
30f53712d7
MDL-13766, allow logged in user to use repository plugins
2010-05-07 03:42:35 +00:00
David Mudrak
30c8dd34f7
MDL-15252 Re-committing all English strings exported from AMOS
...
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.
The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.
Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667
MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs
2010-04-10 07:24:56 +00:00
Petr Skoda
4f0c2d0009
MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too
2010-03-31 07:41:31 +00:00
David Mudrak
b4340cb296
MDL-21694 Moving repositories strings into plugin space
2010-03-29 20:44:00 +00:00
Dongsheng Cai
447c7a192c
"MDL-13766, fixed context default value"
2010-03-16 03:21:59 +00:00
Dongsheng Cai
aea5595c4e
"MDL-13766, php5 passing by reference by default, so remove the & in function definition"
2010-03-09 06:25:20 +00:00
Dongsheng Cai
99eaca9d3d
"MDL-21170, major update to filepicker, complete rewrote filepicker javascript code to use YUI3, need furthur polish"
2010-01-15 07:48:38 +00:00
Dongsheng Cai
10d53fd349
"MDL-19235, add boilerplates to repository module files"
2009-12-17 03:40:38 +00:00
Petr Skoda
b5d0cafc6f
MDL-20787 final switch to new $OUTPUT->pix_url() - yay!
2009-12-16 21:50:45 +00:00
Petr Skoda
0ac940b3bf
MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported
2009-11-04 19:24:12 +00:00
Dongsheng Cai
41076c587f
"MDL-20602, add support for FILE_INTERNAL and FILE_EXTERNAL"
2009-11-02 06:45:12 +00:00
Petr Skoda
4317f92f3f
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 12:51:40 +00:00
dongsheng
c86dde2ec5
"MDL-19181, display plugin instances based on capabilities"
2009-08-07 10:02:47 +00:00
samhemelryk
19c9f09430
filelib MDL-19707 Converted existing ...str_replace('png','gif')... to use file_extension_icon and file_mimetype_icon
2009-07-07 06:16:01 +00:00
tjhunt
c8873c496b
MDL-19690 - eliminate the $OUTPUT->initialise_deprecated_cfg_pixpath horrible hack.
...
Replace $CFG->pixpath with $OUPTUT->old_icon_url(...) instead.
2009-07-02 11:23:47 +00:00
dongsheng
390baf4664
"MDL-13766, update image path, see http://moodle.org/mod/forum/discuss.php?d=126887 "
2009-06-30 02:12:16 +00:00
dongsheng
a4103e65fa
"MDL-13766, fixed image path"
2009-06-29 03:41:02 +00:00
dongsheng
527c4acd27
"MDL-15350, fixed boxnet plugin authkey"
2009-06-25 04:14:45 +00:00
dongsheng
362a728f81
"MDL-13766, added more language strings for repository api"
2009-06-22 03:45:24 +00:00
dongsheng
009a97ce00
"MDL-17316, improve non-js filepicker"
2009-06-19 07:22:37 +00:00
dongsheng
1c05907d07
"MDL-13766, ->pixpath doesn't work in web service, use ->httpswwwroot instead"
2009-06-04 09:33:25 +00:00
dongsheng
a36670da44
"MDL-15350, boxnet plugin, assign session name before calling parent construct function"
2009-05-29 09:17:51 +00:00
dongsheng
fc08d3c8d7
"Boxnet plugin/MDL-15350, use lower letters to search"
2009-04-22 04:53:26 +00:00
dongsheng
26c9ecb05f
"Boxnet plugin/MDL-15350, update comments"
2009-04-22 02:19:24 +00:00