105 Commits

Author SHA1 Message Date
Petr Skoda
6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Petr Skoda
d078f6d38e standardized PHPDocs package info 2010-09-06 11:29:21 +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
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
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
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
b38b61320d "MDL-15488, fixed flickr plugin" 2010-03-10 03:37:31 +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
Dongsheng Cai
99d5265525 "MDL-20602, added link external option in file picker" 2009-11-08 13:20:37 +00:00
Dongsheng Cai
d742249d7e "MDL-15488, fixed callback url for flickr repository plugin" 2009-11-06 09:21:47 +00:00
Dongsheng Cai
6f2cd52aa5 "MDL-19181, 1. fixed repository listing when using non-admin role 2. added boilerplate" 2009-11-06 09:07:46 +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
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
5e98ab966f "MDL-17316, non-js file manager, support externel authentication" 2009-06-11 02:54:33 +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
a53d4f45c4 "REPOSITORY/MDL-13766, create prepare_file function, it will prepare temp file for repository api" 2009-03-16 02:16:50 +00:00
dongsheng
c438f190a1 "REPOSITORY/MDL-18357, make search respect mimetype restrictions" 2009-02-25 03:46:49 +00:00
dongsheng
0e51661b24 "REPOSITORY/MDL-18356, append extenstions to file names smartly" 2009-02-25 02:06:06 +00:00
dongsheng
5fa358d1ce "REPOSITORY/MDL-13766, separate page and path in get_listing function" 2009-02-18 06:52:54 +00:00
Jonathan Newman
4d933beb8a cvsimport fixups 2009-01-20 23:53:34 +00:00
dongsheng
894687e8a3 "MDL-15488, fix current page value" 2009-01-14 06:45:45 +00:00
dongsheng
014c1ca037 "MDL-17391, filter repository intances by file types" 2008-12-08 05:19:09 +00:00
nicolasconnault
dbc0194458 MDL_13766 Refactoring of core repository code and added first unit tests 2008-11-26 07:03:10 +00:00
dongsheng
8a77c9494d REPOSITORY/MDL-15488
change default value (how many photos per page)
2008-11-24 05:20:29 +00:00
jerome
792ad3aaa7 MDL-15402: comment adminitration part of the repository plugins 2008-09-18 05:43:38 +00:00
jerome
96297ca2dd MDL-15402: add skeleton comments to all repository plugins 2008-09-18 05:33:44 +00:00
jerome
edb50637d7 MDL-15402: remove has_multiple_instance(), API will know there is multiple instance if the function get_instance_option_names() return a not empty object. 2008-09-18 05:21:51 +00:00
jerome
1b79955a70 MDL-15402: refactor get_admin_option_names() into get_type_option_names() 2008-09-18 03:19:52 +00:00
jerome
daff8f506b MDL-15402: refactor admin_config_form() into type_config_form() 2008-09-18 03:06:10 +00:00
jerome
73bee8ad20 MDL-15402: remove version.php file from flickr plugin 2008-09-18 03:02:28 +00:00
jerome
06e65e1e67 MDL-15402: remove has_admin_config() and has_instance_config() from repository lib and all repository plugins 2008-09-18 02:36:17 +00:00
jerome
e49eaacbc9 MDL-15402: add some help texts to filckr/boxnet plugins 2008-09-17 06:09:10 +00:00