moodle.git
13 years agoMDL-33293 init JS and theme revisions to timestamps in install to match new reset...
Petr Skoda [Wed, 23 May 2012 09:28:10 +0000 (11:28 +0200)]
MDL-33293 init JS and theme revisions to timestamps in install to match new reset code

13 years agoMDL-33293 use time() instead of counter for theme and JS revisions
Petr Skoda [Wed, 23 May 2012 09:11:13 +0000 (11:11 +0200)]
MDL-33293 use time() instead of counter for theme and JS revisions

This should help on sites that reset database, reinstall or switch databases.

13 years agoMDL-31414: Add sendlatenotifications support to the mod_assign upgrade tool
Damyon Wiese [Wed, 23 May 2012 06:05:35 +0000 (14:05 +0800)]
MDL-31414: Add sendlatenotifications support to the mod_assign upgrade tool

Prevents an SQL error on upgrade from mod_assignment to mod_assign

13 years agoMerge branch 'wip-mdl-32155' of git://github.com/rajeshtaneja/moodle
Dan Poltawski [Wed, 23 May 2012 05:28:01 +0000 (13:28 +0800)]
Merge branch 'wip-mdl-32155' of git://github.com/rajeshtaneja/moodle

13 years agoMDL-32155 blocks: User can't access file, if block is hidden or doesn't have block...
Rajesh Taneja [Fri, 18 May 2012 06:55:32 +0000 (14:55 +0800)]
MDL-32155 blocks: User can't access file, if block is hidden or doesn't have block:view capability

13 years agoMDL-31414 mod_assign: Fixed issue with assign cron when there was nothing to process
Sam Hemelryk [Wed, 23 May 2012 04:23:53 +0000 (16:23 +1200)]
MDL-31414 mod_assign: Fixed issue with assign cron when there was nothing to process

13 years agoMerge branch 'MDL-32338' of git://github.com/nebgor/moodle
Dan Poltawski [Wed, 23 May 2012 03:27:54 +0000 (11:27 +0800)]
Merge branch 'MDL-32338' of git://github.com/nebgor/moodle

13 years agoMDL-32895 tool_assignmentupgrade: fix trailing whitespace
Dan Poltawski [Wed, 23 May 2012 03:13:37 +0000 (11:13 +0800)]
MDL-32895 tool_assignmentupgrade: fix trailing whitespace

13 years agoMerge branch 'MDL-32895' of git://github.com/netspotau/moodle-mod_assign
Dan Poltawski [Wed, 23 May 2012 03:13:03 +0000 (11:13 +0800)]
Merge branch 'MDL-32895' of git://github.com/netspotau/moodle-mod_assign

13 years agoMerge branch 'wip-MDL-31414-m23' of git://github.com/samhemelryk/moodle
Dan Poltawski [Wed, 23 May 2012 02:39:16 +0000 (10:39 +0800)]
Merge branch 'wip-MDL-31414-m23' of git://github.com/samhemelryk/moodle

13 years agoMerge branch 'MDL-33074_groupmode_button' of git://github.com/davosmith/moodle
Dan Poltawski [Wed, 23 May 2012 02:26:40 +0000 (10:26 +0800)]
Merge branch 'MDL-33074_groupmode_button' of git://github.com/davosmith/moodle

13 years agoMDL-31414 mod_assign: Code cleanup for notification improvements
Sam Hemelryk [Tue, 22 May 2012 21:34:23 +0000 (09:34 +1200)]
MDL-31414 mod_assign: Code cleanup for notification improvements

* No need to manually call update of providers that happens automatically.
* Added upgrade code for the new sendlatenotifications field.
* Added AMOS syntax for the two renamed strings
* Refactored assign::cron to use half as many DB queries
* Cleaned up unused vars and globals, coding style and phpdocs.
* Removed string notifications added previously but never used.

AMOS BEGIN
   MOV [emailgradermail,mod_assign],[gradersubmissionupdatedtext,mod_assign]
   MOV [emailgradermailhtml,mod_assign],[gradersubmissionupdatedhtml,mod_assign]
AMOS END

13 years agoMDL-31414: Separate settings to control notifications for submissions, late submissio...
Damyon Wiese [Mon, 7 May 2012 05:01:50 +0000 (13:01 +0800)]
MDL-31414: Separate settings to control notifications for submissions, late submissions and submission receipts

This adds separate controls for the sending of notifications from the mod_assign.

The separate notifications are: student submission receipt (for students), feedback available (for students)
and submission updated (for graders). The grader notifications can be enabled for all submissions or just late ones.

Added code to reset the message providers on upgrade (only applies for a 2.3 dev version)

13 years agoon-demand release 2.3dev
Eloy Lafuente (stronk7) [Tue, 22 May 2012 16:07:42 +0000 (18:07 +0200)]
on-demand release 2.3dev

13 years agoFix permissions
Eloy Lafuente (stronk7) [Tue, 22 May 2012 16:06:52 +0000 (18:06 +0200)]
Fix permissions

13 years agoMerge branch 'dev_MDL-33177_restore_warning' of git://github.com/dongsheng/moodle
Dan Poltawski [Tue, 22 May 2012 09:14:43 +0000 (17:14 +0800)]
Merge branch 'dev_MDL-33177_restore_warning' of git://github.com/dongsheng/moodle

13 years agoMerge branch 'dev_MDL-33149_stored_file_access' of git://github.com/dongsheng/moodle
Dan Poltawski [Tue, 22 May 2012 08:51:33 +0000 (16:51 +0800)]
Merge branch 'dev_MDL-33149_stored_file_access' of git://github.com/dongsheng/moodle

13 years agoMDL-33149 stored_file::repository should be private
Dongsheng Cai [Tue, 22 May 2012 07:00:49 +0000 (15:00 +0800)]
MDL-33149 stored_file::repository should be private

13 years agoMDL-33177 Fixed restore warning when backup has external contents
Dongsheng Cai [Tue, 22 May 2012 06:43:06 +0000 (14:43 +0800)]
MDL-33177 Fixed restore warning when backup has external contents

13 years agoMerge branch 'wip-files23-fixes' of git://github.com/marinaglancy/moodle
Dan Poltawski [Tue, 22 May 2012 06:32:35 +0000 (14:32 +0800)]
Merge branch 'wip-files23-fixes' of git://github.com/marinaglancy/moodle

13 years agoMDL-33160 new filetype icons
Barbara Ramiro [Tue, 22 May 2012 06:25:23 +0000 (14:25 +0800)]
MDL-33160 new filetype icons

13 years agoMDL-33158 fixed bugs with restricting file typs in filepicker
Marina Glancy [Tue, 22 May 2012 06:24:11 +0000 (14:24 +0800)]
MDL-33158 fixed bugs with restricting file typs in filepicker

- extension was returned without leading dot which resulted in improper validation
- fixed human-readable mime type in error message
- fixed youtube repository to support video files and pass filetype validation

13 years agoMDL-33160 fixed some icons and groups for file types
Marina Glancy [Tue, 22 May 2012 06:18:06 +0000 (14:18 +0800)]
MDL-33160 fixed some icons and groups for file types

13 years agoMerge branch 'dev_MDL-33154_sesskey_error' of git://github.com/dongsheng/moodle
Dan Poltawski [Tue, 22 May 2012 05:57:51 +0000 (13:57 +0800)]
Merge branch 'dev_MDL-33154_sesskey_error' of git://github.com/dongsheng/moodle

13 years agoMerge branch 'w21_MDL-32564_m23_timezonecontext' of git://github.com/skodak/moodle
Dan Poltawski [Tue, 22 May 2012 05:34:18 +0000 (13:34 +0800)]
Merge branch 'w21_MDL-32564_m23_timezonecontext' of git://github.com/skodak/moodle

13 years agoMerge branch 'w21_MDL-32379_m23_forumcron' of git://github.com/skodak/moodle
Dan Poltawski [Tue, 22 May 2012 05:05:28 +0000 (13:05 +0800)]
Merge branch 'w21_MDL-32379_m23_forumcron' of git://github.com/skodak/moodle

13 years agoMerge branch 'MDL-33116-master' of git://github.com/sammarshallou/moodle
Dan Poltawski [Tue, 22 May 2012 04:51:45 +0000 (12:51 +0800)]
Merge branch 'MDL-33116-master' of git://github.com/sammarshallou/moodle

13 years agoMerge branch 'MDL-32744-master-3' of git://git.luns.net.uk/moodle
Dan Poltawski [Tue, 22 May 2012 04:28:37 +0000 (12:28 +0800)]
Merge branch 'MDL-32744-master-3' of git://git.luns.net.uk/moodle

13 years agoMDL-33154 added missing sesskey to navgation nodes
Dongsheng Cai [Tue, 22 May 2012 04:14:59 +0000 (12:14 +0800)]
MDL-33154 added missing sesskey to navgation nodes

13 years agoMerge branch 'wip-mdl-33027' of git://github.com/rajeshtaneja/moodle
Dan Poltawski [Tue, 22 May 2012 03:54:30 +0000 (11:54 +0800)]
Merge branch 'wip-mdl-33027' of git://github.com/rajeshtaneja/moodle

13 years agoMerge branch 'MDL-33153-master-integration' of github.com:FMCorz/moodle
Dan Poltawski [Tue, 22 May 2012 03:44:23 +0000 (11:44 +0800)]
Merge branch 'MDL-33153-master-integration' of github.com:FMCorz/moodle

13 years agoMDL-33027 theme: Hidden section link will be displayed dimmed in section navigation
Rajesh Taneja [Thu, 17 May 2012 07:10:56 +0000 (15:10 +0800)]
MDL-33027 theme: Hidden section link will be displayed dimmed in section navigation

13 years agoMDL-33027 themes: Modified heading to be displayed for section in all themes
Rajesh Taneja [Wed, 16 May 2012 06:22:22 +0000 (14:22 +0800)]
MDL-33027 themes: Modified heading to be displayed for section in all themes

13 years agoMerge branch 'MDL-32981-master' of github.com:FMCorz/moodle
Dan Poltawski [Tue, 22 May 2012 03:14:12 +0000 (11:14 +0800)]
Merge branch 'MDL-32981-master' of github.com:FMCorz/moodle

13 years agoMDL-32981 Filepicker: my private files uses edit page instead of view
Frederic Massart [Mon, 21 May 2012 05:00:31 +0000 (13:00 +0800)]
MDL-32981 Filepicker: my private files uses edit page instead of view

13 years agoMerge branch 'MDL-32204-mnet-auth' of git://github.com/mudrd8mz/moodle
Sam Hemelryk [Tue, 22 May 2012 02:49:35 +0000 (14:49 +1200)]
Merge branch 'MDL-32204-mnet-auth' of git://github.com/mudrd8mz/moodle

13 years agoMerge branch 'MDL-33051' of git://github.com/danpoltawski/moodle
Sam Hemelryk [Tue, 22 May 2012 02:40:31 +0000 (14:40 +1200)]
Merge branch 'MDL-33051' of git://github.com/danpoltawski/moodle

13 years agoMerge branch 'MDL-33055_master' of git://github.com/kordan/moodle
Sam Hemelryk [Tue, 22 May 2012 02:31:59 +0000 (14:31 +1200)]
Merge branch 'MDL-33055_master' of git://github.com/kordan/moodle

13 years agoMerge branch 'wip-MDL-33066-m23' of git://github.com/samhemelryk/moodle
Dan Poltawski [Tue, 22 May 2012 02:30:36 +0000 (10:30 +0800)]
Merge branch 'wip-MDL-33066-m23' of git://github.com/samhemelryk/moodle

13 years agoMDL-32932 mod_assign: Coding style clean up and security improvement
Sam Hemelryk [Tue, 22 May 2012 01:42:39 +0000 (13:42 +1200)]
MDL-32932 mod_assign: Coding style clean up and security improvement

13 years agoMerge branch 'MDL-32932' of git://github.com/netspotau/moodle-mod_assign
Sam Hemelryk [Tue, 22 May 2012 02:21:41 +0000 (14:21 +1200)]
Merge branch 'MDL-32932' of git://github.com/netspotau/moodle-mod_assign

Conflicts:
mod/assign/gradingtable.php

13 years agoMerge branch 'MDL-33167' of git://github.com/lazydaisy/moodle
Dan Poltawski [Tue, 22 May 2012 02:18:45 +0000 (10:18 +0800)]
Merge branch 'MDL-33167' of git://github.com/lazydaisy/moodle

13 years agoMDL-33167 theme_afterburner: added z-index to fix issue with yui3-widget when adding...
Mary Evans [Tue, 22 May 2012 02:05:42 +0000 (03:05 +0100)]
MDL-33167 theme_afterburner: added z-index to fix issue with yui3-widget when adding activity or resourse using new feature dialogue box

13 years agoMDL-33153 Resource: rename submit button to 'save changes' in folder resource
Frederic Massart [Tue, 22 May 2012 01:36:29 +0000 (09:36 +0800)]
MDL-33153 Resource: rename submit button to 'save changes' in folder resource

13 years agoMerge branch 'MDL-33118' of git://github.com/lazydaisy/moodle
Sam Hemelryk [Mon, 21 May 2012 23:38:03 +0000 (11:38 +1200)]
Merge branch 'MDL-33118' of git://github.com/lazydaisy/moodle

13 years agoMDL-33122 Coding style cleanup during integration
Sam Hemelryk [Mon, 21 May 2012 23:33:52 +0000 (11:33 +1200)]
MDL-33122 Coding style cleanup during integration

13 years agoMerge branch 'MDL-33122-master' of git://github.com/ankitagarwal/moodle
Sam Hemelryk [Mon, 21 May 2012 22:54:48 +0000 (10:54 +1200)]
Merge branch 'MDL-33122-master' of git://github.com/ankitagarwal/moodle

13 years agoMerge branch 'MDL-33137-master-2' of git://git.luns.net.uk/moodle
Sam Hemelryk [Mon, 21 May 2012 22:49:59 +0000 (10:49 +1200)]
Merge branch 'MDL-33137-master-2' of git://git.luns.net.uk/moodle

13 years agoMDL-33074 Course drag and drop upload - fixed incorrect group mode button
Davo Smith [Mon, 21 May 2012 21:11:38 +0000 (22:11 +0100)]
MDL-33074 Course drag and drop upload - fixed incorrect group mode button

13 years agoMDL-33137 Add styling to activity chooser buttons
Andrew Robert Nicols [Mon, 21 May 2012 11:25:34 +0000 (12:25 +0100)]
MDL-33137 Add styling to activity chooser buttons

13 years agoMDL-33116 Media filter broken with slasharguments off
sam marshall [Mon, 21 May 2012 11:55:32 +0000 (12:55 +0100)]
MDL-33116 Media filter broken with slasharguments off

13 years agoMDL-32744: Maintain format specific CSS selectors in the format configuration.
Ruslan Kabalin [Tue, 8 May 2012 10:10:22 +0000 (11:10 +0100)]
MDL-32744: Maintain format specific CSS selectors in the format configuration.

This updates existing core formats and introduce a configuration function.

13 years agoMerge branch 'MDL-33126-master' of git://github.com/sammarshallou/moodle
Dan Poltawski [Mon, 21 May 2012 12:17:12 +0000 (20:17 +0800)]
Merge branch 'MDL-33126-master' of git://github.com/sammarshallou/moodle

13 years agoMDL-33032 - dont require repository/lib.php until necessary
Dan Poltawski [Mon, 21 May 2012 12:04:42 +0000 (20:04 +0800)]
MDL-33032 - dont require repository/lib.php until necessary

This is an ugly fix to a broken installer only.

13 years agoMDL-31901: Fix trailing whitespace
Dan Poltawski [Mon, 21 May 2012 10:54:02 +0000 (18:54 +0800)]
MDL-31901: Fix trailing whitespace

13 years agoMDL-33126 Fix error on first view of new course page
sam marshall [Mon, 21 May 2012 11:05:30 +0000 (12:05 +0100)]
MDL-33126 Fix error on first view of new course page

13 years agoMDL-31901: filemanager/picker.js - match coding style
Dan Poltawski [Wed, 16 May 2012 06:13:17 +0000 (14:13 +0800)]
MDL-31901: filemanager/picker.js - match coding style

* No inline ifs
* Spacing between ternary operators
* Missing ;'s

13 years agoMDL-28666: filelib - remove unusused globals
Dan Poltawski [Wed, 16 May 2012 04:52:03 +0000 (12:52 +0800)]
MDL-28666: filelib - remove unusused globals

13 years agoMDL-28666 repository - Switch usefilereference to PARAM_BOOL
Dan Poltawski [Wed, 16 May 2012 07:39:56 +0000 (15:39 +0800)]
MDL-28666 repository - Switch usefilereference to PARAM_BOOL

13 years agoMDL-28666 admin/repository: use PARAM_BOOL for booleans.
Dan Poltawski [Wed, 16 May 2012 03:11:33 +0000 (11:11 +0800)]
MDL-28666 admin/repository: use PARAM_BOOL for booleans.

13 years agoMerge branch 'wip-files23' of git://github.com/marinaglancy/moodle
Dan Poltawski [Mon, 21 May 2012 10:19:32 +0000 (18:19 +0800)]
Merge branch 'wip-files23' of git://github.com/marinaglancy/moodle

13 years agoMerge pull request #4 from mudrd8mz/wip-files23-fixes
Marina Glancy [Mon, 21 May 2012 10:17:25 +0000 (03:17 -0700)]
Merge pull request #4 from mudrd8mz/wip-files23-fixes

Changing the tinyicon size to 24x24

13 years agoMDL-32471 redefining the tinyicon thumbnail size to 24x24
David Mudrak [Mon, 21 May 2012 09:29:47 +0000 (11:29 +0200)]
MDL-32471 redefining the tinyicon thumbnail size to 24x24

As requested by the Files 2.3 UI team.

13 years agoMerge branch 'MDL-22504_drag_and_drop_upload_integration' of git://github.com/davosmi...
Dan Poltawski [Mon, 21 May 2012 09:22:13 +0000 (17:22 +0800)]
Merge branch 'MDL-22504_drag_and_drop_upload_integration' of git://github.com/davosmith/moodle

13 years agoMDL-32247 fixed bug with displaying icon for unknown filetype, fixed merge mistakes
Marina Glancy [Mon, 21 May 2012 09:12:55 +0000 (17:12 +0800)]
MDL-32247 fixed bug with displaying icon for unknown filetype, fixed merge mistakes

13 years agoMDL-22504 Course drag and drop upload - experimental setting is now a checkbox
Davo Smith [Mon, 21 May 2012 09:03:55 +0000 (10:03 +0100)]
MDL-22504 Course drag and drop upload - experimental setting is now a checkbox

13 years agoMDL-33127 stored_file::update should use get_content_file_location because it tried...
Dongsheng Cai [Mon, 21 May 2012 08:27:49 +0000 (16:27 +0800)]
MDL-33127 stored_file::update should use get_content_file_location because it tried to update file_record

13 years agoMDL-32900 Change Icons to FileTypesIcons
Barbara Ramiro [Mon, 14 May 2012 05:51:00 +0000 (13:51 +0800)]
MDL-32900 Change Icons to FileTypesIcons

13 years agoMDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons
Marina Glancy [Mon, 21 May 2012 07:17:53 +0000 (15:17 +0800)]
MDL-32247,MDL-32831,MDL-32900 Use correct url building of file type icons

- function get_mimetypes_array() now contains also information about filetype groups and language strings
- use 'smart' human-readable mimetype description
- never determine filetype group based on filetype icon image! remove function mimeinfo_from_icon()
- get rid of class filetype_parser and file lib/filestorage/file_types.mm, replaced with functions file_get_typegroup(), file_extension_in_typegroup() and file_mimetype_in_typegroup()
- support multiple icon sizes, not only 16 and 32
- retrieve filetype icon only using proper functions file_..._icon() from lib/filelib.php throughout the code
- increase size of repository thumbnails to 90 and icons to 24 (will take effect when new icons exist)

13 years agoMDL-22504 Course drag and drop upload - removed browser specific content hacks, made...
Davo Smith [Mon, 21 May 2012 07:34:50 +0000 (08:34 +0100)]
MDL-22504 Course drag and drop upload - removed browser specific content hacks, made 'text and link' dragging an experimental feature

13 years agoMDL-33055 theme_formal_white: changed "general" to "standard" in $theme->layouts...
Kordan [Mon, 21 May 2012 07:26:52 +0000 (09:26 +0200)]
MDL-33055 theme_formal_white: changed "general" to "standard" in $theme->layouts array index

13 years agoMDL-33082 Detecting mimetype based on content bytes
Dongsheng Cai [Mon, 21 May 2012 05:30:41 +0000 (13:30 +0800)]
MDL-33082 Detecting mimetype based on content bytes

13 years agoMDL-31901 filemanager and filepicker styling
Barbara Ramiro [Mon, 21 May 2012 06:47:14 +0000 (14:47 +0800)]
MDL-31901 filemanager and filepicker styling

- Swaped tool buttons and view buttons sequence for keyboard access both on filemanager and filepicker
- Added "new folder name" label and "cancel" button on create a folder dialogue
- Added href="#" and resized fonts on confirmation  and message dialogue

13 years agoMDL-33122 repositories: Enable youtube,url and wikimedia repositories by default
Ankit Agarwal [Mon, 21 May 2012 05:32:02 +0000 (13:32 +0800)]
MDL-33122 repositories: Enable youtube,url and wikimedia repositories by default

13 years agoMerge branch 'MDL-33079' of git://github.com/stronk7/moodle
Dan Poltawski [Mon, 21 May 2012 05:26:36 +0000 (13:26 +0800)]
Merge branch 'MDL-33079' of git://github.com/stronk7/moodle

13 years agoMDL-33051 - topics format: remove section number from section column
Dan Poltawski [Mon, 21 May 2012 04:12:44 +0000 (12:12 +0800)]
MDL-33051 - topics format: remove section number from section column

We don't think its necessary anymore

13 years agoMDL-33096 update the file's timemodified if it was changed in the draft area
David Mudrak [Fri, 18 May 2012 20:58:50 +0000 (22:58 +0200)]
MDL-33096 update the file's timemodified if it was changed in the draft area

Previously up to 2.2, new file records were created for all files that
were modified in the draft area - see file_save_draft_area_files().
The commit aba1e17dd7ffa5e42d309fb2efe7945aeb3b3d39 introduced a new way
of re-using the previous file's record. We need to transfer the
timemodified of the file in the draft area into the file in the real
area when saving the draft area to achieve the same behaviour now in 2.3.

Note this may eventually lead to kinda weird situation when the file was
created say on a certain timecreated but then was replaced with another file
that has timemodified set to a lower value (in other words, the file
will look as if it was firstly modified and then created). This case
should be handled by the filepicker if it is seen as the issue.

13 years agoMDL-33093 invalidate the thumbnail in the local browser's cache on update
David Mudrak [Fri, 18 May 2012 20:17:41 +0000 (22:17 +0200)]
MDL-33093 invalidate the thumbnail in the local browser's cache on update

This adds &oid= parameter to the URL of file preview images. The
parameter is supposed to be ignored by draftfile.php and pluginfile.php.
It just holds some unique identification of the original file's
revision. Currently, we use the timestamp of the most recent
modification of the original file.

13 years agoMDL-33098 filemanager now stores the new author field correctly
David Mudrak [Fri, 18 May 2012 13:42:30 +0000 (15:42 +0200)]
MDL-33098 filemanager now stores the new author field correctly

13 years agoMDL-33032 Fixed issues for file integration
Dongsheng Cai [Thu, 17 May 2012 05:55:03 +0000 (13:55 +0800)]
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()

13 years agoMDL-28666, Fixed source field when download a file using filepicker
Dongsheng Cai [Thu, 17 May 2012 06:18:13 +0000 (14:18 +0800)]
MDL-28666, Fixed source field when download a file using filepicker

13 years agoMDL-31901 filemanager and filepicker styling
Barbara Ramiro [Thu, 17 May 2012 05:56:21 +0000 (13:56 +0800)]
MDL-31901 filemanager and filepicker styling

- Thumbnail for Private files, Server file and Recent file restyled
- Thumbnail for Context menu made flexible
- Filenames on hover made all text visible
- Drag and drop arrow hidden for unsupported browsers
- Drag and drop styled applied on edit profile
- Yui3 panel focused removed

13 years agoMDL-31901 fixed forgotten overwrite dialogue in filepicker
Marina Glancy [Wed, 16 May 2012 07:05:14 +0000 (15:05 +0800)]
MDL-31901 fixed forgotten overwrite dialogue in filepicker

13 years agoMDL-32867 filemanager and repository
Dongsheng Cai [Wed, 16 May 2012 06:08:37 +0000 (14:08 +0800)]
MDL-32867 filemanager and repository

1. Allowing "." as filename, so filemanager can rename folder
2. Fixed import_external_file method
3. Disallow recent repository to list file references

13 years agoMDL-32867: changed renaming of folders to the new API (function 'rename'), removed...
Marina Glancy [Wed, 16 May 2012 02:07:01 +0000 (10:07 +0800)]
MDL-32867: changed renaming of folders to the new API (function 'rename'), removed unused code

13 years agoMDL-33015 fix invalid PAGE->url in repo instance config pages
Petr Skoda [Wed, 16 May 2012 00:46:43 +0000 (08:46 +0800)]
MDL-33015 fix invalid PAGE->url in repo instance config pages

Conflicts:

admin/repositoryinstance.php

13 years agoMDL-33015 revert form actions to default back to FULLME
Petr Skoda [Tue, 15 May 2012 13:22:31 +0000 (15:22 +0200)]
MDL-33015 revert form actions to default back to FULLME

This is a temporary workaround until we fix all admin pages to set up actual url properly in admin_externalpage_setup().

13 years agoMDL-31901 Implemented lazy loading of thumbnails in filemanager
Marina Glancy [Tue, 15 May 2012 06:20:31 +0000 (14:20 +0800)]
MDL-31901 Implemented lazy loading of thumbnails in filemanager

13 years agoMDL-28666 phpdoc improvements
Dongsheng Cai [Tue, 15 May 2012 03:10:04 +0000 (11:10 +0800)]
MDL-28666 phpdoc improvements

13 years agoMDL-32867 Display a list of references pointing to the file in filemanager
Marina Glancy [Tue, 15 May 2012 02:51:00 +0000 (10:51 +0800)]
MDL-32867 Display a list of references pointing to the file in filemanager

13 years agoMDL-31901 Styled File Manager Icon view, Table view and Tree view
Barbara Ramiro [Mon, 14 May 2012 05:41:07 +0000 (13:41 +0800)]
MDL-31901 Styled File Manager Icon view, Table view and Tree view

13 years agoMDL-28666 file_storage::get_directory_files() supports references
Dongsheng Cai [Mon, 14 May 2012 07:22:26 +0000 (15:22 +0800)]
MDL-28666 file_storage::get_directory_files() supports references

13 years agoMDL-28666 Files API and db changes
Dongsheng Cai [Mon, 14 May 2012 06:17:30 +0000 (14:17 +0800)]
MDL-28666 Files API and db changes

1. Fix db regression
2. Unit tests for is_external_file() and rename exception
3. Searching reference method exclude draft files

13 years agoMDL-31901, MDL-28666 merged files API changes
Marina Glancy [Mon, 14 May 2012 03:53:18 +0000 (11:53 +0800)]
MDL-31901, MDL-28666 merged files API changes

13 years agoMDL-31901 draft files manager supports realthumbnail, realicon and dimensions for...
David Mudrak [Sat, 12 May 2012 14:24:11 +0000 (16:24 +0200)]
MDL-31901 draft files manager supports realthumbnail, realicon and dimensions for images

13 years agoMDL-31901 draftfile.php supports the preview parameter
David Mudrak [Sat, 12 May 2012 14:20:40 +0000 (16:20 +0200)]
MDL-31901 draftfile.php supports the preview parameter

13 years agoMDL-31901 fixed the name of user draft file serving handler
David Mudrak [Thu, 10 May 2012 07:46:44 +0000 (09:46 +0200)]
MDL-31901 fixed the name of user draft file serving handler

Files stored in user context, draft are must be served by draftfile.php,
not the pluginfile.php.

13 years agoMDL-31901 repositories serving images from the filepool now provide preview details
David Mudrak [Thu, 10 May 2012 04:12:24 +0000 (06:12 +0200)]
MDL-31901 repositories serving images from the filepool now provide preview details

13 years agoMDL-31901 file_info_stored now provides access to the wrapped stored_file's get_image...
David Mudrak [Thu, 10 May 2012 02:09:25 +0000 (04:09 +0200)]
MDL-31901 file_info_stored now provides access to the wrapped stored_file's get_imageinfo() method

13 years agoMDL-32914 fixed function get_imageinfo() to get rid of notice messages
Marina Glancy [Fri, 11 May 2012 01:30:23 +0000 (09:30 +0800)]
MDL-32914 fixed function get_imageinfo() to get rid of notice messages