753 Commits

Author SHA1 Message Date
Dan Marsden
ba0c097216 Increase length of City field MDL-19629 - longest place name in NZ is Taumata­whakatangihanga­koauau­o­tamatea­turi­pukakapiki­maunga­horo­nuku­pokai­whenua­kitanatahu which doesn't fit in 20 chars, I figure 100 chars should be enough 2010-07-08 07:55:20 +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
bd2db41a92 MDL-13766, remove ajax header setting, which broke mahara plugin. 2010-07-06 08:28:26 +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
955b6e09b8 MDL-22991, validate data that was encoded in base64 2010-07-06 05:33:43 +00:00
Dongsheng Cai
203bbcbe79 MDL-13766, fixed treeview 2010-07-06 05:26:25 +00:00
Martin Dougiamas
49147814fc MDL-23065 Re-enable, but print big error for developers 2010-07-05 08:57:47 +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
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
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
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
Martin Dougiamas
05301ee5c8 MDL-15350 Fixed box.net address 2010-06-28 03:12:41 +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
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
Martin Dougiamas
db24996c17 MDL-19168 Added missing capability string 2010-06-15 08:24:37 +00:00
Dongsheng Cai
3316796dbe "MDL-22754, fixed file permission" 2010-06-15 05:50:18 +00:00
Dongsheng Cai
7d5739363c "MDL-22583, ignore empty directory" 2010-06-14 03:32:17 +00:00
Dongsheng Cai
110d8ff226 MDL-16909, remove mahara plugin from HEAD 2010-06-11 08:38:19 +00:00
Dongsheng Cai
bb3c7a057c MDL-15352, remove remotemoodle plugin from head 2010-06-11 08:37:33 +00:00
Dongsheng Cai
b2c8e7a733 "MDL-13766, don't use hard-coded filename" 2010-06-09 06:44:31 +00:00
Dongsheng Cai
7215f6a11a "MDL-13766, improved non javascript file picker for user private area browsing" 2010-06-09 03:14:55 +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
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
Dongsheng Cai
3273731181 "MDL-13766, highlight active repository plugin" 2010-05-28 06:57:15 +00:00
Dongsheng Cai
a756cb3769 MDL-13766, file picker now remember user's recent used repository plugin and license 2010-05-26 09:43:46 +00:00
Dongsheng Cai
bb496de7c2 MDL-13766, move file picker element to core renderer 2010-05-24 07:55:57 +00:00
Dongsheng Cai
af79a6f5d4 "MDL-13766, fixed filter function" 2010-05-24 03:28:59 +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
879b4f9ae1 MDL-13766, improve file picker UI 2010-05-21 08:13:08 +00:00
Dongsheng Cai
951d2d5529 "MDL-22523, fixed file system plugin bug" 2010-05-20 07:10:00 +00:00
Dongsheng Cai
5ba5e3783b "MDL-13766, scrollbars are added to popup window" 2010-05-20 06:50:47 +00:00
Dongsheng Cai
308d948b84 MDL-13766, tweak upload form 2010-05-19 02:50:45 +00:00
Dongsheng Cai
03896eb7d5 MDL-13766, added listing parameters 2010-05-19 02:49:18 +00:00
Martin Dougiamas
99cca8470e MDL-19124 Continued misc user profile cleanups
- fixed user styles in base theme
    - added new divs for better control on user profile and user index pages
    - reduced data on course user profiles down to minimum
    - removed user/tabs.php completely and all uses of it
    - changed default user icon pix to something very bland (bye bye smiley cake)
2010-05-16 08:21:12 +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
2e93bc3819 "MDL-13766, fixed a problem of icon view" 2010-05-14 03:29:09 +00:00
Dongsheng Cai
ea1780adf3 MDL-13766, implemented user quota 2010-05-11 06:49:51 +00:00
Dongsheng Cai
97b151ea3b "MDL-13766, fixed popup login in filepicker" 2010-05-11 05:40:14 +00:00
Dongsheng Cai
fb4ee704aa MDL-18520, filesystem plugin should respect mimetypes 2010-05-10 08:42:19 +00:00
Dongsheng Cai
c4c3b90734 MDL-13766, fix alfresco version number 2010-05-07 06:36:08 +00:00