Commit Graph

296 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7) 8aac56c6be Merge branch 'MDL-31000-master-3' of git://git.luns.net.uk/moodle 2012-02-01 00:25:05 +01:00
Petr Skoda 1fbbf89349 MDL-30891 fix invalid hardcoded capability check when disable legacy files repo 2012-01-14 21:57:47 +01:00
Andrew Robert Nicols 36ef66430e MDL-31000 Respect sortorder of repositories when displaying the filepicker 2012-01-13 15:52:04 +00:00
Sam Hemelryk 6b37c2b093 MDL-31000 Added comment about the importance of repository array keys and hardened new dnd repository lookup 2012-01-10 12:21:24 +13:00
Sam Hemelryk b098581488 Revert "MDL-31000 Respect sortorder of repositories when displaying the filepicker"
This change was reverted because the array keys need to be the id, existing code relies on this.
This reverts commit ef72c7942e.
2012-01-10 12:18:34 +13:00
Andrew Robert Nicols ef72c7942e MDL-31000 Respect sortorder of repositories when displaying the filepicker 2012-01-03 15:58:58 +00:00
Andrew Robert Nicols 7633f4b55b MDL-30165: Make repository file extension check case insensitive 2011-11-07 11:14:19 +00: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
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
Sam Hemelryk 62b214d9a6 Merge branch 'w36_MDL-29014_m22_str' of git://github.com/skodak/moodle 2011-09-13 12:45:34 +12:00
Sam Hemelryk f8adfe6cc0 Merge branch 'w36_MDL-28701_m22_tempcachedir' of git://github.com/skodak/moodle 2011-09-12 18:26:09 +12:00
Petr Skoda cedc3d338c MDL-29257 use more entropy in repo upload 2011-09-10 12:05:29 +02:00
Tom Lanyon 7aa06e6ded MDL-28701 Change all uses of $CFG->dataroot/temp to $CFG->tempdir 2011-09-10 10:35:39 +02:00
Petr Skoda 138c76789b MDL-29014 fix a few incorrect uses of strlen and substr 2011-09-10 10:21:31 +02: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
Ruslan Kabalin 84ee73ee3b MDL-28520: repositories: validation method to repository_type_form class 2011-07-28 17:11:58 +01:00
Aparup Banerjee 728ebac7f2 MDL-28135 general Updating all hardcoded "docs.moodle.org/en/Development:" type doc links to "docs.moodle.org/dev/" 2011-07-05 14:27:31 +08:00
Dongsheng Cai 14b2d8d865 MDL-26677 flickr repo - fix undefined index usewatermarks 2011-06-23 17:13:46 +08: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 cf717dc26b MDL-27148 use new get_in_or_equal() param prefix instead of start 2011-04-14 15:15:01 +02:00
Dongsheng Cai 9e6aa5ec91 MDL-24805, fixed get_option function 2010-10-22 05:31:16 +00:00
Dongsheng Cai 29199e56f8 "MDL-24534, fixed filepicker pagnation, credits to Gerwood Stewart" 2010-10-14 08:51:08 +00:00
Petr Skoda 6bdfef5da9 MDL-24321 switching to standard stdClass() 2010-09-21 08:54:01 +00:00
Petr Skoda a27ab6fdfb MDL-24321 switching to stdClass in /repository/ 2010-09-21 08:22:04 +00:00
Dongsheng Cai bf413f6fe9 MDL-24210, added course context to get_instances method 2010-09-15 05:53:44 +00:00
Petr Skoda 5d354ded1a standardized PHPDocs package info 2010-09-06 11:17:43 +00:00
Petr Skoda f685e83030 MDL-14679 fixed remaining old style set_field()s 2010-09-03 18:14:55 +00:00
Dongsheng Cai d3959c2695 MDL-23308, coursefiles repository plugin added 2010-08-31 03:39:33 +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 8e5af6cfa1 "MDL-23530, filesystem plugin should be configured by admins only" 2010-08-02 06:33:34 +00:00
Dongsheng Cai a5adfa2658 MDL-23072, properly localised repository instance name 2010-07-27 09:03:54 +00:00
Dongsheng Cai 766514a095 MDL-23407, the advlink plugin of tinymce should use external repositories only 2010-07-27 04:06:09 +00:00
Dongsheng Cai 1311e4dd00 MDL-23268, throw error message instead of deleting existing file 2010-07-27 03:10:59 +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 50a8bd6c1d MDL-14589 file api cleanup 2010-07-11 13:30:33 +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 1c5f926de9 MDL-22992 cleaning repository upgrade path, please note core functions MUST NOT be called from the main upgrade script; the installation of plugins should be handled through each install.php 2010-07-04 12:36:46 +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 a090554aaa MDL-23067 fixed potential sql injection and improved SQL coding style 2010-07-03 14:33:48 +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 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 f00340e2ca MDL-22734, added text to prompt empty repositories list, and added shorttitle for long filename 2010-06-22 03:55:45 +00:00
Petr Skoda df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
Dongsheng Cai 3316796dbe "MDL-22754, fixed file permission" 2010-06-15 05:50:18 +00:00
Dongsheng Cai 9ff495eba9 MDL-13766, remvoe debug code 2010-05-31 06:58:49 +00:00
Dongsheng Cai 227dfa4332 MDL-13766, fixed the hard coded double code in sql, use get_in_or_equal to generate NOT IN subquery 2010-05-31 06:57:43 +00:00
Dongsheng Cai cebb75a808 MDL-13766, fixed typoes 2010-05-31 05:29:29 +00:00