Dan Poltawski
5df1b73748
MDL-33501 - oauth2lib: enforce sesskey in oauth2callback.php
...
The sesskey needs to be embeded in the local url returned as this is the
only parameter we have control of.
2012-06-04 11:11:38 +08:00
Dan Poltawski
db7602af7c
MDL-33501 - oauth2lib: improve redirect url handling
...
Only accept PARAM_LOCALURL for state params and enforce
use of moodle_url param in oauthlib to facilitate that.
2012-06-04 10:57:39 +08:00
Dan Poltawski
ce30ff5df0
MDL-29857 google apis: OAuth 2.0 repository plugins upgrade
...
We are disabling the plugins on upgrade and emailing admins
about this if they have a plugin configured.
This is required because OAuth 2 credentials are now required
in the plugin configuration.
NOTE: These strings are temporary and need to be improved.
2012-05-31 00:19:30 +08:00
Dan Poltawski
4560fd1b66
MDL-29857 - google apis: Convert to OAuth 2.0
...
Updated the various plugins to use OAuth 2.0 for authentication
against google apis. Google are phasing out AuthSub and pushing OAuth as
the replacement.
This changes repository_googledocs, repository_picasa,
portfolio_googledocs and portfolio_picasa
The token for requests is now stored in session rather than a user
prefence and it persists less but doesn't bother the user more than
necessary.
The google docs portfolio plugin is converted to use resumable upload
API as this appears to be what Google have replaced this with.
Unfortunately unlike authsub OAuth will require some setup by admins,
this is linked as a docs page.
2012-05-31 00:00:25 +08:00
Dongsheng Cai
61506a0af9
MDL-33032 Fixed issues for file integration
...
1. Added tracker issue number in comment
2. Fixed stored_file::delete_reference()
3. repository::send_file() will throw exception if not implemented by subclass
4. Fixed renaming unit test, added one unit test for deleting original file
5. Fixed copyright statement for googledoc and picasa repository plugin
6. Implemented stored_file::set_filesize()
2012-05-21 11:57:56 +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
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
0b75ea780e
MDL-22985, repository plugins use new callback url.
2010-07-12 04:53:31 +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
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
10d53fd349
"MDL-19235, add boilerplates to repository module files"
2009-12-17 03:40:38 +00:00
Dan Poltawski
644e3ad464
repository: MDL-20893 return urls hadn't been updated from ws.php to repository_ajax.php
...
Breaking googledocs/picasa/mahara plugins :(
2009-11-18 14:21:53 +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
94742bca31
"MDL-16383, add check_login to construct function"
2009-06-25 07:44:27 +00:00
dongsheng
48d54a97c8
"MDL-17474, repository plugin, add check_login to construct function"
2009-05-27 03:35:58 +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
a86b44b1ca
"REPOSITORY, GDOCS/MDL-16383, tell filepicker gdocs support documents only"
2009-03-11 05:43:54 +00:00
poltawski
6667f9e439
repository/googledocs New repository plugin MDL-16383
...
Google have now allowed documents to be downloaded via their API
(http://googledataapis.blogspot.com/2009/02/start-downloads.html) so
the google docs repo plugin could be finished.
At the moment i've set the export format hardcoded, hopefully we can allow the
repo api let the user choose later...
2009-03-08 15:53:11 +00:00