Commit graph

316 commits

Author SHA1 Message Date
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
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
af79a6f5d4 "MDL-13766, fixed filter function" 2010-05-24 03:28:59 +00:00
Dongsheng Cai
308d948b84 MDL-13766, tweak upload form 2010-05-19 02:50:45 +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
5b5d08ec22 "MDL-13766, print notification not box container for repository setup" 2010-05-04 06:41:32 +00:00
Martin Dougiamas
7969834463 admin/repository MDL-15402 Checking in code from Mark Nelson @ Pukunui.com.au. Thanks, Mark and Shane! This patch updates the repository admin interface to look more like Filters management 2010-04-30 08:03:32 +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
6fbf3c4868 MDL-22156, added recent files repository plugin 2010-04-28 05:49:20 +00:00
Dongsheng Cai
7f288e5002 "MDL-15351, move 'move_to_draft' function to parent class" 2010-04-28 05:00:55 +00:00
Petr Skoda
fe9d7318b5 MDL-22054 fixed missing strings and some really annoying redirects 2010-04-11 09:41:25 +00:00
Dongsheng Cai
489d8a755c "MDL-13766, check if plugin file existed before displayed in admin page" 2010-04-01 06:09:53 +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
Dongsheng Cai
d1d4813ff2 "MDL-21146, improve file license code" 2010-03-31 03:08:05 +00:00
Petr Skoda
50dea1b791 fixed incorect docs that were breaking install of mnet stuff 2010-03-30 20:02:56 +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
David Mudrak
16be897441 MDL-21652 html_table rendering refactored
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Dongsheng Cai
8e0946bf01 "MDL-21443, improve phpdoc" 2010-03-16 03:29:45 +00:00
Dongsheng Cai
d5774763d1 "MDL-13766, removed debug code" 2010-03-15 06:42:55 +00:00
Dongsheng Cai
133fd70ba5 "MDL-13766, improve filemanager to browse user_private area files" 2010-03-15 06:12:39 +00:00
Dongsheng Cai
8c4a468791 "MDL-13766, fixed call-time pass-by-reference warning" 2010-03-09 08:19:41 +00:00
Dongsheng Cai
81bdfdb9af "MDL-13766, fixed Call-time pass-by-reference warning" 2010-03-04 09:28:17 +00:00
Dongsheng Cai
a642bf6f37 "MDL-21507, enable repository type by default" 2010-03-04 06:47:21 +00:00
Petr Skoda
87ad1edcd6 MDL-21400 JS modules now include needed strings in module description + fixed some string and icon issues in file picker 2010-02-07 09:34:19 +00:00
Dongsheng Cai
1a6195b428 "MDL-21443, update phpdocs" 2010-01-29 05:50:40 +00:00
Penny Leach
635f1a8b01 NOTABUG fixed some phpdocs in repository baseclass 2010-01-28 20:35:02 +00:00
Dongsheng Cai
1e0b0415e1 "MDL-21458, fixed undefined index in repository module" 2010-01-28 06:59:34 +00:00
Penny Leach
de260e0f7b mnet MDL-21261 large overhaul. This commit changes:
- The way that mnet rpc functions are registered.  Plugins must now
  create db/mnet.php which is an array, similar to services.php.  This
  *replaces* the old mnet_publishes() functions.  version.php must be
  bumped to trigger this.

- More information about each rpc-available function is stored in the
  database, including the class it belongs to, the file it is found in,
  and whether or not it is static.  Methods that are not static must be
  in a class with a constructor that takes no arguments (this can easily
  be achieved with a small wrapper if necessary)

- The xmlrpc dispatcher has been rewritten to remove all the
  dependencies on hardcoded information about auth,mnet,portfolio and
  repository, and just use the information in the database.

- The old hardcoded hidden mnet/testclient.php has been moved to the
  Admin menu under "Development" and rewritten.

- The xmlrpc introspection method profiling is now using php and zend
  reflection - which is a lot nicer than the old way, which was using a
  php-based php parser.  This fixes some inconsistent handling of
  methods without arguments that were advertising their return value as
  the only method parameter.  While this is a *fix*, it breaks BC
  slightly - the old 1.9 broken mnet/testclient.php will now not work
  properly with 2.0

- Dangerous mode is still supported, but old mod/*/rpclib.php is
  now unsupported, due to the fact that any plugin can export mnet
  functions with db/mnet.php.  This is a slight BC break.

Still TODO:

- TEST TEST TEST
- Document the two small BC breaks in release notes
- Document the contract for db/mnet.php
2010-01-28 05:25:50 +00:00
Penny Leach
92a89068c9 repo MDL-21443 fix phpdocs to match method signatures 2010-01-28 05:12:35 +00:00