52 Commits

Author SHA1 Message Date
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
Dongsheng Cai
873f2e0faa "MDL-18520, fixed filesystem problem and improve words" 2010-04-27 08:12:56 +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
1dce6261b7 "MDL-21146, adding file license support to repository api, first commit" 2010-03-29 03:39:08 +00:00
Dongsheng Cai
14469892ac MDL-13766, improve repository code to store source information 2010-03-25 07:54:19 +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
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
dongsheng
07ce9b6434 "MDL-18520, use select instead radio button in admin page" 2009-07-29 02:39:33 +00:00
dongsheng
b2f8adf4e5 "MDL-19733, directory name need to be cleaned before saving into database" 2009-07-08 07:45:51 +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
tjhunt
f2a1963c43 MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url 2009-07-02 11:09:15 +00:00
dongsheng
93e9aa2792 "MDL-18520, file system, supported choose a subdirectory" 2009-06-30 09:10:42 +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
fdcf5320a8 "MDL-18520, for security, we use a fixed repository path for filesystem plugin" 2009-06-25 05:18:22 +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
a3d8df257b "MDL-13766, repository api, fixed typeid value" 2009-06-04 06:40:35 +00:00
dongsheng
4a9aff7987 "MDL-18520, remove empty path element from file listing" 2009-05-04 09:12:55 +00:00
fmarier
316914bf6e MDL-17037 ran all GIF images through gifsicle and PNG through optipng 2009-04-05 23:33:00 +00:00
dongsheng
e91f9c3965 "MDL-18520, fix warning in file system plugin" 2009-04-03 07:32:51 +00:00
dongsheng
03a46b90d9 "MDL-18520, change block_list into a static member of class" 2009-04-02 06:21:05 +00:00
dongsheng
e437618bdd "REPOSITORY/MDL-18520, fix undefined warning" 2009-03-23 07:53:32 +00:00