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
Dan Poltawski
727dac2f34
Merge branch 'wip-MDL-27236-master' of git://github.com/marinaglancy/moodle
2012-03-21 14:51:40 +08:00
Marina Glancy
e2652f1a31
MDL-27236: Server files, improve tree view
...
- Removed 'Private files' from 'Server files' repository;
- Show only non-empty directories (taking into account filetype filter);
- If there is only one non-empty filearea within a module, do not show it and skip the extra subdirectory level;
- If the user is not admin (does not have 'moodle/course:update' capability in system context), do not show course categories, just list available courses;
- Also when retrieving the course files capability to managefiles is checked before retrieving the modules list for performance tuning on sites with a lot of courses
2012-03-21 13:55:22 +08:00
Petr Skoda
58eb9b9f2a
MDL-32094 fix E_STRICT problems in repository API
2012-03-18 18:31:32 +01: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
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
Dan Poltawski
22fb538603
MDL-28605 repsitory/local - Prevent server running out of memory
...
Removing useless code..
2011-08-15 19:57:46 +02: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
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
Petr Skoda
16741cac51
MDL-24144 hiding of empty folders in repository/local
2010-09-12 12:29:32 +00:00
Dongsheng Cai
cc674674a5
MDL-13766, improve repository plugins' icons
2010-09-10 07:10:30 +00:00
Dongsheng Cai
f892da72a5
MDL-13766, stop using shorttitle in repository plugin
2010-09-09 07:36:20 +00: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
Petr Skoda
3136dc16fd
MDL-23619 fixed wrong param cleaning + other fixing
2010-08-02 15:47:42 +00:00
Petr Skoda
cba9ed29b2
MDL-23591 adding missing $fs
2010-07-30 14:49:50 +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
1311e4dd00
MDL-23268, throw error message instead of deleting existing file
2010-07-27 03:10:59 +00:00
Petr Skoda
3b61c7e6ea
MDL-22991 improved copy_to_area api
2010-07-26 19:17:51 +00:00
Dongsheng Cai
eed6f2e784
"MDL-23295, added navigation"
2010-07-20 04:54:57 +00:00
Dongsheng Cai
be85f7ab94
"MDL-23307, server file plugin display current course files by default"
2010-07-19 17:44:23 +00:00
Dongsheng Cai
16f61c701e
MDL-22991, fixed file api calls
2010-07-06 07:15:08 +00:00
Dongsheng Cai
955b6e09b8
MDL-22991, validate data that was encoded in base64
2010-07-06 05:33:43 +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
Dongsheng Cai
f00340e2ca
MDL-22734, added text to prompt empty repositories list, and added shorttitle for long filename
2010-06-22 03:55:45 +00:00
Dongsheng Cai
7d5739363c
"MDL-22583, ignore empty directory"
2010-06-14 03:32:17 +00:00
Dongsheng Cai
87628a672e
MDL-13766, memtype check for local, recent and user plugins
2010-05-31 03:45:41 +00:00
Dongsheng Cai
6bf197b34c
MDL-22591, user_private plugin, disable it from private file block, hide user_private area from local plugin
2010-05-31 03:03:21 +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
03896eb7d5
MDL-13766, added listing parameters
2010-05-19 02:49:18 +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
c7e4621eb4
"MDL-13766, fixed user_draft area files for user_private block, not display draft files in recent plugin, it has problems"
2010-05-05 05:57:15 +00:00
Dongsheng Cai
acb70a9b48
"MDL-13766, use file_storage to bypass capability check for recent plugin"
2010-04-28 16:49:51 +00:00
Dongsheng Cai
7f288e5002
"MDL-15351, move 'move_to_draft' function to parent class"
2010-04-28 05:00:55 +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
10d53fd349
"MDL-19235, add boilerplates to repository module files"
2009-12-17 03:40:38 +00:00
Petr Skoda
2f67a9b3a5
MDL-20700 whitespace terror returns yet again
2009-12-16 22:22:37 +00:00
Petr Skoda
b5d0cafc6f
MDL-20787 final switch to new $OUTPUT->pix_url() - yay!
2009-12-16 21:50:45 +00:00