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
Marina Glancy
a5159b864d
MDL-32037: MDL-32037: After displaying error message filepicker could not send proper request to server
...
We need to make sure that code executed on error does not create more requests and
especially does not create the same request that resulted with error. So now by default
filepicker will clear the right side of the window if repository_ajax.php returned an
error.
Also fixed an 'invalidsesskey' error string.
2012-03-16 09:38:33 +08:00
Sam Hemelryk
5e255d5ad8
Merge branch 'MDL-27919' of git://github.com/jamiepratt/moodle
2011-10-31 17:18:13 +13:00
Ankit Kumar Agarwal
c0d60b3a3f
MDL-26890 Forums check on filesize if the file is added to the forum from private area
2011-09-20 10:01:42 +05:30
Jamie Pratt
794cc7e1cf
MDL-27919 Fixes 'undefined' message and similar problems when selecting a
...
recent file, server file or when renaming a file being uploaded with the same
name as a previous one.
2011-09-18 13:22:35 +07:00
Eloy Lafuente (stronk7)
0a4ca115b2
Merge branch 'w33_MDL-26796_m22_arrayparams' of git://github.com/skodak/moodle
2011-08-24 14:06:22 +02:00
Petr Skoda
18bd7573d6
MDL-26796 convert array parameter cleaning to new functions
2011-08-18 08:40:33 +02:00
Petr Skoda
23bfe0a448
MDL-19380 reimplement antivir scanning in repositories
2011-08-18 08:37:40 +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
Dongsheng Cai
a7db0a260e
MDL-25895, prevent repository_ajax.php being downloaded by IE when php file is associated with other programs
2011-01-17 13:56:57 +08:00
Petr Skoda
8a7703ce53
MDL-25973 add missing charset
2011-01-14 09:32:17 +01:00
Dongsheng Cai
cd4559654d
"MDL-25634 Filepicker upload should handle files which exceed max_post_size directive in php.ini"
2010-12-10 04:13:09 +00:00
Dongsheng Cai
1b6a86bf73
MDL-24781, repository, force context-type to text/html
2010-11-08 02:42:28 +00:00
Dongsheng Cai
29199e56f8
"MDL-24534, fixed filepicker pagnation, credits to Gerwood Stewart"
2010-10-14 08:51:08 +00:00
Dongsheng Cai
b8a6131b94
MDL-24441, enforce course max file size
2010-09-29 10:13:35 +00:00
Dongsheng Cai
0bd269b7a2
MDL-24410, repository upload plugin allows rename file
2010-09-29 07:05:51 +00:00
Petr Skoda
6bdfef5da9
MDL-24321 switching to standard stdClass()
2010-09-21 08:54:01 +00:00
Petr Skoda
5d354ded1a
standardized PHPDocs package info
2010-09-06 11:17:43 +00:00
Petr Skoda
fab3c8d6e6
adding a TODO highlighting bad api design
2010-09-03 18:58:04 +00:00
Dongsheng Cai
93beda0490
MDL-23308, coursefiles plugin could return the file link instead of copying it
2010-09-03 04:14:29 +00:00
Dongsheng Cai
d3959c2695
MDL-23308, coursefiles repository plugin added
2010-08-31 03:39:33 +00:00
Petr Skoda
bce08d9a37
MDL-23739 improved ajax headers - now using application/json with the exception of YUI upload
2010-08-10 08:50:08 +00:00
Dongsheng Cai
44388c41f5
"MDL-23650, removed user quota check in user draft"
2010-08-04 07:32:17 +00:00
Petr Skoda
dcd79f46e3
MDL-23613 improved coding style
2010-08-02 12:31:33 +00:00
Petr Skoda
196c0451ee
MDL-23613 fixed wrong access control
2010-08-02 12:30:36 +00:00
Petr Skoda
3b61c7e6ea
MDL-22991 improved copy_to_area api
2010-07-26 19:17:51 +00:00
Petr Skoda
4277133ee3
fixed comment typos
2010-07-26 18:58:11 +00:00
Dongsheng Cai
ac1870e330
"MDL-23407, fixed the problem that firefox trying to download json response"
2010-07-20 03:21:11 +00:00
Dongsheng Cai
be85f7ab94
"MDL-23307, server file plugin display current course files by default"
2010-07-19 17:44:23 +00:00
Petr Skoda
f728d49b00
MDL-19380 uploadlib cleanup before readding of antivirus integration
2010-07-14 08:40:48 +00:00
Dongsheng Cai
033aad78c0
MDL-23163, added mp3 to editor
2010-07-09 05:07:48 +00:00
Dongsheng Cai
dd0566ebaf
MDL-23111, added isloggedin() to check if the user logged out
2010-07-08 04:14:40 +00:00
Dongsheng Cai
2385e6de5b
MDL-13766, fixed mimetype validation.
2010-07-06 07:28:03 +00:00
Dongsheng Cai
16f61c701e
MDL-22991, fixed file api calls
2010-07-06 07:15:08 +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
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
6127179bbd
"MDL-13766, remove debug line and added confirm_sesskey to repository_ajax"
2010-06-28 02:13:58 +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
Dongsheng Cai
3e1233680a
MDL-19168, dropbox repository plugin for moodle, and oauth support for filepicker. dropbox plugin has a known bug: cannot access folders or files with space, using urlencode to encode filepath is not helping, needs to contact dropbox team to find workaround
2010-05-14 08:29:33 +00:00
Dongsheng Cai
ea1780adf3
MDL-13766, implemented user quota
2010-05-11 06:49:51 +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
7e4944c8cd
"MDL-13766, fixed parameter name"
2010-05-04 06:07:54 +00:00
Dongsheng Cai
b8cea715b8
"MDL-13766, maxbytes should not be 0"
2010-04-30 07:57:49 +00:00
Dongsheng Cai
dd64051e9e
"MDL-13766, use exception to skip files larger than maximium size"
2010-04-29 09:55:57 +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
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
Dan Poltawski
f8df83f357
repository_ajax.php MDL-21882 - dont default to a repo id which may exist
...
This seems like a dangerous thing to do as it may cause actions on repoid 1
inadvertantly
2010-03-21 14:01:30 +00:00