moodle.git
10 years agoMDL-33307 format_weeks - sort out week date display
Dan Poltawski [Thu, 24 May 2012 14:51:53 +0000 (22:51 +0800)]
MDL-33307 format_weeks - sort out week date display

* Introduce function format_weeks_get_section_dates which is used
  as the consistent place to calculate the current section start and
  end date

* Rework callback_weeks_get_section_name to not use the above function
  rather than do crazy needless looping through all sections to work
  out the current week title.

* Change the just introduced is_current renderer function to share
  the format_weeks_get_section_dates function to ensure both the title
  and 'current week' are using the same dates to do their job

10 years agoMDL-33307 format_weeks - highlight current week
Dan Poltawski [Thu, 24 May 2012 14:24:30 +0000 (22:24 +0800)]
MDL-33307 format_weeks - highlight current week

10 years agoRevert "MDL-33063 course: Reuse get_all_sections()"
Dan Poltawski [Thu, 24 May 2012 12:42:58 +0000 (20:42 +0800)]
Revert "MDL-33063 course: Reuse get_all_sections()"

This reverts commit 66b494771ffc731472a374bef1b5cd12befd53b2.

10 years agoMerge branch 'MDL-33063' of git://github.com/srynot4sale/moodle
Dan Poltawski [Thu, 24 May 2012 12:32:31 +0000 (20:32 +0800)]
Merge branch 'MDL-33063' of git://github.com/srynot4sale/moodle

10 years agoMerge branch 'MDL-33315_blog_rss' of git://github.com/andyjdavis/moodle
Dan Poltawski [Thu, 24 May 2012 08:49:28 +0000 (16:49 +0800)]
Merge branch 'MDL-33315_blog_rss' of git://github.com/andyjdavis/moodle

10 years agoMerge branch 'dev_MDL-33127_draft_storing' of git://github.com/dongsheng/moodle
Dan Poltawski [Thu, 24 May 2012 08:34:32 +0000 (16:34 +0800)]
Merge branch 'dev_MDL-33127_draft_storing' of git://github.com/dongsheng/moodle

10 years agoMerge branch 'wip-MDL-33144-master' of git://github.com/marinaglancy/moodle
Dan Poltawski [Thu, 24 May 2012 08:32:32 +0000 (16:32 +0800)]
Merge branch 'wip-MDL-33144-master' of git://github.com/marinaglancy/moodle

10 years agoMDL-33162 filepicker: fix trailingw hitespace
Dan Poltawski [Thu, 24 May 2012 08:12:15 +0000 (16:12 +0800)]
MDL-33162 filepicker: fix trailingw hitespace

10 years agoMerge branch 'wip-MDL-33162-master' of git://github.com/barbararamiro/moodle
Dan Poltawski [Thu, 24 May 2012 08:10:06 +0000 (16:10 +0800)]
Merge branch 'wip-MDL-33162-master' of git://github.com/barbararamiro/moodle

10 years agoMerge branch 'wip-MDL-33146-master' of git://github.com/abgreeve/moodle
Dan Poltawski [Thu, 24 May 2012 08:05:25 +0000 (16:05 +0800)]
Merge branch 'wip-MDL-33146-master' of git://github.com/abgreeve/moodle

10 years agoMerge branch 'MDL-33186-master-1' of git://git.luns.net.uk/moodle
Dan Poltawski [Thu, 24 May 2012 07:53:39 +0000 (15:53 +0800)]
Merge branch 'MDL-33186-master-1' of git://git.luns.net.uk/moodle

10 years agoMDL-33318 lib : code style fix
Aparup Banerjee [Thu, 24 May 2012 07:40:06 +0000 (15:40 +0800)]
MDL-33318 lib : code style fix

10 years agoMDL-33162, MDL-33183, MDL-33150 Adjusted styles filemanager, file picker and file...
Barbara Ramiro [Thu, 24 May 2012 07:02:52 +0000 (15:02 +0800)]
MDL-33162, MDL-33183, MDL-33150 Adjusted styles filemanager, file picker and file picker form element

- MDL-33162 Vertical align text to the middle of 24px icon for table view and tree view both on filemanager and filepicker
- MDL-33183 Layout file picker on form element on edit profile for drag and drop with dashed border and animated arrow consistent with filemanager (outputrenderers.php)
- MDL-33150 Added more space in between tool buttons both for file manager and filepicker

10 years agoMerge branch 'master_MDL-33318' of git://github.com/danmarsden/moodle
Aparup Banerjee [Thu, 24 May 2012 06:46:38 +0000 (14:46 +0800)]
Merge branch 'master_MDL-33318' of git://github.com/danmarsden/moodle

10 years agoMerge branch 'wip-MDL-33152-master' of git://github.com/abgreeve/moodle
Dan Poltawski [Thu, 24 May 2012 06:39:58 +0000 (14:39 +0800)]
Merge branch 'wip-MDL-33152-master' of git://github.com/abgreeve/moodle

10 years agoMerge branch 'w22_MDL-33293_m23_revisions' of git://github.com/skodak/moodle
Dan Poltawski [Thu, 24 May 2012 03:26:35 +0000 (11:26 +0800)]
Merge branch 'w22_MDL-33293_m23_revisions' of git://github.com/skodak/moodle

10 years agoMDL-33315 blog: fixed up the navigation for when youre viewing another users blog
Andrew Davis [Thu, 24 May 2012 02:40:59 +0000 (09:40 +0700)]
MDL-33315 blog: fixed up the navigation for when youre viewing another users blog

10 years agoMDL-33318 use $CFG->admin in path correctly - thanks to Clarence Prudhoe for report/fix
Dan Marsden [Thu, 24 May 2012 02:08:01 +0000 (14:08 +1200)]
MDL-33318 use $CFG->admin in path correctly - thanks to Clarence Prudhoe for report/fix

10 years agoMerge branch 'MDL-32203c' of git://github.com/srynot4sale/moodle
Sam Hemelryk [Wed, 23 May 2012 23:42:39 +0000 (11:42 +1200)]
Merge branch 'MDL-32203c' of git://github.com/srynot4sale/moodle

10 years agoMerge branch 'MDL-33189-master-1' of git://git.luns.net.uk/moodle
Sam Hemelryk [Wed, 23 May 2012 23:11:13 +0000 (11:11 +1200)]
Merge branch 'MDL-33189-master-1' of git://git.luns.net.uk/moodle

10 years agoMerge branch 'MDL-26562-23' of git://github.com/vadimonus/moodle
Sam Hemelryk [Wed, 23 May 2012 23:00:09 +0000 (11:00 +1200)]
Merge branch 'MDL-26562-23' of git://github.com/vadimonus/moodle

10 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

10 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.

10 years agoMerge branch 'wip-mdl-33143' of git://github.com/rajeshtaneja/moodle
Aparup Banerjee [Wed, 23 May 2012 08:44:00 +0000 (16:44 +0800)]
Merge branch 'wip-mdl-33143' of git://github.com/rajeshtaneja/moodle

10 years agoMDL-33146 - course - Changed weekdates to sectionname to fix a JavaScript error
Adrian Greeve [Wed, 23 May 2012 08:13:32 +0000 (16:13 +0800)]
MDL-33146 - course - Changed weekdates to sectionname to fix a JavaScript error

10 years agoMDL-33144 display filetype icon and mimetype based on extension
Marina Glancy [Wed, 23 May 2012 06:51:55 +0000 (14:51 +0800)]
MDL-33144 display filetype icon and mimetype based on extension

- use finfo to determine mimetype of a file only when it is unknown from file extension
- display filetype icon and mimetype in filemanager based on file extension
- fixed a small issue with specifying extension instead of group in file_get_typegroup()
- allow only web-compartible image types when embedding into editor or using in database field
- created new groups web_video and web_audio to use in resource module

10 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

10 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

10 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

10 years agoMDL-33143 wiki-2.0 : wiki edit form will have mform1 as id for JS to work
Rajesh Taneja [Tue, 22 May 2012 05:11:23 +0000 (13:11 +0800)]
MDL-33143 wiki-2.0 : wiki edit form will have mform1 as id for JS to work

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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)

10 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

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

10 years agoMDL-33189: Make checkboxcontroller functionable
Ruslan Kabalin [Tue, 22 May 2012 13:26:09 +0000 (14:26 +0100)]
MDL-33189: Make checkboxcontroller functionable

10 years agoMDL-33186 Ensure that the comment textarea exists before toggling it
Andrew Robert Nicols [Tue, 22 May 2012 10:24:24 +0000 (11:24 +0100)]
MDL-33186 Ensure that the comment textarea exists before toggling it

10 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

10 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

10 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

10 years agoMDL-33127 Fixed the problem when storing draft files
Dongsheng Cai [Tue, 22 May 2012 06:50:47 +0000 (14:50 +0800)]
MDL-33127 Fixed the problem when storing draft files

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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

10 years agoMDL-33152 - themes - Moved the action buttons more to the right, inline with the...
Adrian Greeve [Tue, 22 May 2012 04:51:48 +0000 (12:51 +0800)]
MDL-33152 - themes - Moved the action buttons more to the right, inline with the rest of the form.

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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.

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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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)

10 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

10 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