41 Commits

Author SHA1 Message Date
Marina Glancy
b5e7b6385e MDL-31901: Introducing renderers for filepicker:
- create repository renderer, implement functions for returning HTML templates used in filepicker
- let filepicker use HTML from templates
- move CSS for filemanager and filepicker to the separate css file in base theme
- use only YUI3 in filepicker (get rid of YUI2)
- add button for 'View details' in filepicker (though this view mode is still not ready)
2012-05-21 11:57:51 +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
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
f4c7c735f5 Merge branch 's10_MDL-27330_dropbox_authorization_url_master' of github.com:dongsheng/moodle 2011-05-04 13:53:47 +08:00
Dongsheng Cai
810aea11df MDL-27330 repository dropbox plugin
Dropbox changed authorization URL, and added a few error check code
2011-05-03 17:41:03 +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
Dongsheng Cai
6d30723e41 MDL-27098
1. Fixed add file language string
2. Fixed hard-coded 'moving' string
3. Fixed hard-coded 'Files' string
2011-04-11 17:09:15 +08:00
David Mudrak
91dedc324f MDL-26784 Strings for the new plugin manager
The new strings file core_plugin defines names of all plugin types
supported by Moodle. Some strings have already been defined elsewhere
and we use AMOS script here to copy their translation, if it is
available.

AMOS BEGIN
 CPY [settings,core],[settings,core_plugin]
 CPY [status,core],[status,core_plugin]
 CPY [missingfromdisk,core],[status_missing,core_plugin]
 CPY [nodatabase,core_admin],[status_nodb,core_plugin]
 CPY [authenticationplugins,core],[type_auth_plural,core_plugin]
 CPY [block,core],[type_block,core_plugin]
 CPY [blocks,core],[type_block_plural,core_plugin]
 CPY [coursereport,core],[type_coursereport,core_plugin]
 CPY [coursereports,core],[type_coursereport_plural,core_plugin]
 CPY [filter,core],[type_filter,core_plugin]
 CPY [courseformats,core],[type_format_plural,core_plugin]
 CPY [activitymodule,core],[type_mod,core_plugin]
 CPY [activitymodules,core],[type_mod_plural,core_plugin]
 CPY [plagiarism,core_plagiarism],[type_plagiarism,core_plugin]
 CPY [portfolio,core_portfolio],[type_portfolio,core_plugin]
 CPY [portfolios,core_portfolio],[type_portfolio_plural,core_plugin]
 CPY [questiontype,core_admin],[type_qtype,core_plugin]
 CPY [questiontypes,core_admin],[type_qtype_plural,core_plugin]
 CPY [repository,core_repository],[type_repository,core_plugin]
 CPY [theme,core],[type_theme,core_plugin]
 CPY [themes,core],[type_theme_plural,core_plugin]
 CPY [uninstallplugin,core_admin],[uninstall,core_plugin]
 CPY [version,core],[version,core_plugin]
 CPY [assignmenttype,mod_assignment],[subplugintype_assignment,mod_assignment]
 CPY [presets,mod_data],[subplugintype_datapreset_plural,mod_data]
 CPY [evaluationmethod,mod_workshop],[subplugintype_workshopeval,mod_workshop]
 CPY [strategy,mod_workshop],[subplugintype_workshopform,mod_workshop]
AMOS END
2011-03-31 13:59:05 +02: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
Sam Hemelryk
bac233d326 backup MDL-22184 Scheduled backups are now possible again through cron.
AMOS BEGIN
 MOV [move scheduledsetup,core_backup],[automatedsetup,core_backup]
 MOV [scheduledsettings,core_backup],[automatedsettings,core_backup]
 MOV [scheduledstorage,core_backup],[automatedstorage,core_backup]
 MOV [scheduledstoragehelp,core_backup],[automatedstoragehelp,core_backup]
 MOV [scheduledbackupsinactive,core],[automatedbackupsinactive,core_backup]
 MOV [scheduledbackupstatus,core],[automatedbackupstatus,core_backup]
 CPY [schedule,core],[automatedbackupschedule,core_backup]
 MOV [backupschedulehelp,core],[automatedbackupschedulehelp,core_backup]
AMOS END
2010-11-10 06:07:43 +00:00
Sam Marshall
9d81733d4c Admin MDL-23244 Portfolio/repo admin pages use nested forms, which are illegal HTML and cause first dropdown on page to break 2010-11-08 17:12:03 +00:00
Dongsheng Cai
0bd269b7a2 MDL-24410, repository upload plugin allows rename file 2010-09-29 07:05:51 +00:00
Dongsheng Cai
47fffd8d60 MDL-24210, make site/course/private repositories more clear 2010-09-21 10:09:14 +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
563d04175a MDL-23065, fix non js filepicker 2010-08-04 03:57:10 +00:00
Martin Dougiamas
1c88c777be Fixing English 2010-08-03 07:20:10 +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
1c309299a2 "REPOSITORY MDL-23581, filepicker name should be localisable" 2010-07-30 08:02:10 +00:00
Dongsheng Cai
a5adfa2658 MDL-23072, properly localised repository instance name 2010-07-27 09:03:54 +00:00
Martin Dougiamas
1703f3db53 NOBUG fixed a typo 2010-07-18 07:26:43 +00:00
Dongsheng Cai
aebe4af806 MDL-22991, repository recent plugin, verify file ownership before copy to draft area 2010-07-09 06:13:47 +00:00
Moodle HQ git importer
4a97fa7c60 Fixing drift between CVS and git 2010-07-07 05:49:24 +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
Dongsheng Cai
aeaf98ee05 MDL-22734, fixed language 2010-06-22 07:46:35 +00:00
Dongsheng Cai
7588604202 MDL-22734, fixed language typos 2010-06-22 07:44:02 +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
Dongsheng Cai
fb2fb46e5b MDL-22805, new renderer component moodle_file_tree_viewer, remove file_tree_viewer to area_file_tree_viewer, the legecy files/index.php has be replaced with the moodle_file_tree_viewer, it is readonly 2010-06-16 08:07:42 +00:00
Petr Skoda
caf2bec906 MDL-16089 major mod/resource lang pack cleanup 2010-05-22 14:37:54 +00:00
Petr Skoda
b8578f2593 fixed some repository typos 2010-05-21 19:19:47 +00:00
Dongsheng Cai
d8f3170367 MDL-16597, added some style to make filemanger prettier 2010-05-20 06:15:44 +00:00
Martin Dougiamas
03b12ea156 The private files block should have the same name as the file area 2010-05-20 05:11:46 +00:00
Dongsheng Cai
4d2ee4c2c0 MDL-16597, move print_filemanager to $OUTPUT->file_manager, now theme designers are able to costomize file manager. 2010-05-19 08:05:36 +00:00
Dongsheng Cai
1345cc539c MDL-16597, tweak filemanager UI 2010-05-19 03:00:10 +00:00
Dongsheng Cai
f45dfeeb76 MDL-22281 file resource module, select main file 2010-05-04 03:48:00 +00:00
Dongsheng Cai
7210e88714 MDL-13766, filemanager, don't download empty draft area 2010-05-03 06:36:23 +00:00
Dongsheng Cai
91b890abb9 MDL-22217, added section_backup and activity_backup areas 2010-05-03 05:19:38 +00:00
Dongsheng Cai
97e9c8d68d "MDL-15351, display user private files" 2010-05-03 02:31:26 +00:00
Dongsheng Cai
3d65f92d1d "MDL-22217, browse/download user_backup area" 2010-05-02 09:50:02 +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
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