Aparup Banerjee
aed560a197
MDL-19391 Database : fixed icon size
2012-04-24 16:00:38 +01:00
David Mudrak
fe68aac7d9
MDL-32471 using === for string comparison
...
Thanks to Petr Skoda for spotting this during the peer-review.
2012-04-24 16:10:46 +02:00
David Mudrak
9120a46257
MDL-32471 remove orphaned preview files via cron
2012-04-24 15:14:09 +02:00
David Mudrak
7a00d4385d
MDL-32471 preview thumbnails support for other component types
...
This commit affects mostly qtypes. Other standard components either do
not have pluginfile handler or have been already updated to the new API.
2012-04-24 14:29:44 +02:00
David Mudrak
957fc845b6
MDL-32471 preview thumbnails support for blocks
...
block_xxx_pluginfile() now accepts the $options parameter that is to be passed
to the send_stored_file() function.
2012-04-24 14:01:53 +02:00
Eloy Lafuente (stronk7)
2ea2549e13
MDL-31914 db fix - cannot use table aliases on DELETE statements. Credit goes to Andrew Nicols (LUNS).
2012-04-24 13:07:11 +02:00
Eloy Lafuente (stronk7)
c833026b24
Merge branch 'MDL-32249' of github.com:srynot4sale/moodle
2012-04-24 12:56:30 +02:00
Andrew Robert Nicols
ede323e2b3
MDL-31914 Ensure that completion criteria are deleted when removing a course module
...
Conflicts:
lib/db/upgrade.php
version.php
2012-04-24 12:25:53 +02:00
David Mudrak
261cbbacc1
MDL-32471 preview thumbnails support for activity modules
...
Activity module's xxx_pluginfile() now accepts the $options parameter
that is to be passed to the send_stored_file() function.
2012-04-24 12:09:45 +02:00
David Mudrak
82c224ee7a
MDL-32471 send_stored_file() now supports the preview option
...
If for any reason the preview image can't be generated for the given
file (eg we do not support its mimetype yet), the function will send
404 Not Found HTTP header. This will be useful for the lazy loading of
the file thumbnails as the JavaScript will simply ignore such response
and will not replace the default icon for the file.
In the future, a fallback thumbnail generator can be implemented that
would generate some sort of default preview for all files (eg using
the mimetype icon like some desktop OS do).
2012-04-24 12:09:45 +02:00
David Mudrak
c4d19c5a07
MDL-32471 introducing file_storage::get_file_preview() method
2012-04-24 12:09:45 +02:00
David Mudrak
f0a23f5322
MDL-32471 introducing generate_image_thumbnail() function
...
This helper function uses GD library to generate a thumbnail of the
given image file.
2012-04-24 12:09:45 +02:00
David Mudrak
f0f4fff900
MDL-32471 fixing the coding style in lib/gdlib.php
...
The GD functions are listed in lowercase in the PHP manual. So they
should be using this case in our code, too (otherwise, doc autolinking
tools may not work). I did not remove the underscore from the parameters
names intentionally to have the function interface compatible with the
one documented in the PHP manual.
See http://www.php.net/manual/en/ref.image.php
<
2012-04-24 12:09:44 +02:00
David Mudrak
796495fed2
MDL-32471 changing the interface of the send_stored_file()
2012-04-24 12:09:44 +02:00
David Mudrak
b071498f1b
MDL-32471 pluginfile.php accepts optional parameter 'preview'
2012-04-24 12:09:44 +02:00
Andrew Robert Nicols
b1a8aa73b5
MDL-29044: Move course category creation to a separate function
2012-04-24 10:57:12 +01:00
Eloy Lafuente (stronk7)
14ffb91959
Merge branch 'w17_MDL-32574_m23_adodb' of git://github.com/skodak/moodle
2012-04-24 10:37:13 +02:00
Petr Skoda
3932d474e3
MDL-32574 fi sqlsrv adodb test
2012-04-24 09:22:26 +02:00
Dan Poltawski
e5055d3e5e
Merge branch 'master_MDL-32102' of git://github.com/danmarsden/moodle
2012-04-24 15:17:43 +08:00
Jerome Mouneyrac
45b4464c76
MDL-31762 username should be lowercase and check against PARAM_USERNAME when creating/updating user by web service
2012-04-24 15:09:37 +08:00
Ruslan Kabalin
ff92b71140
MDL-31720 Refactor course/rest.php
...
This removes duplicates and block actions remains. It also makes it
possible to include course/rest.php in such a way that it could be extended
by non-core modules wishing to overide parts of its functionality (e.g.
mod_subpage)
2012-04-24 13:25:49 +08:00
Andrew Robert Nicols
6a14c4ffdd
MDL-31215 Add the ability to change activity titles using AJAX calls
2012-04-24 13:25:49 +08:00
Ruslan Kabalin
5683815612
MDL-31263 Rewrite block drag/drop using YUI3
2012-04-24 13:25:43 +08:00
Dan Poltawski
06f29d7d76
Merge branch 'wip-MDL-31928-master' of git://github.com/marinaglancy/moodle
2012-04-24 10:32:18 +08:00
Dan Poltawski
8e8f247f2c
Merge branch 'w17_MDL-32427_m23_protocols' of git://github.com/skodak/moodle
2012-04-24 10:27:15 +08:00
Dan Poltawski
1e77ca296d
Merge branch 'w17_MDL-25407_m23_innodb' of git://github.com/skodak/moodle
2012-04-24 10:23:14 +08:00
Ankit Agarwal
7ca52615d1
MDL-32238 course: Timemodifed should be updated when a course's visible status is toggled from the category page
2012-04-24 10:08:23 +08:00
Eloy Lafuente (stronk7)
434fc13dbe
Merge branch 'MDL-32454-master-1' of git://git.luns.net.uk/moodle
2012-04-24 01:47:14 +02:00
Eloy Lafuente (stronk7)
55a0c2d787
Merge branch 'MDL-32514-master-1' of git://git.luns.net.uk/moodle
2012-04-24 01:42:28 +02:00
Dan Marsden
b5a64b112c
MDL-32597 typo in path to version.php file for local plugins
2012-04-24 11:12:01 +12:00
Eloy Lafuente (stronk7)
5989454498
Merge branch 'MDL-19549' of git://github.com/danpoltawski/moodle
2012-04-24 01:00:16 +02:00
Eloy Lafuente (stronk7)
9614e54bfc
Merge branch 'MDL-28176' of git://github.com/danpoltawski/moodle
2012-04-24 00:30:50 +02:00
Eloy Lafuente (stronk7)
f24628a290
Merge branch 'MDL-32134' of git://github.com/danpoltawski/moodle
2012-04-24 00:07:23 +02:00
Eloy Lafuente (stronk7)
3e0b0ae59b
Merge branch 'wip-MDL-26500' of git://github.com/danpoltawski/moodle
2012-04-24 00:03:36 +02:00
Ruslan Kabalin
15e2552f00
MDL-31216 Create dragdrop course module
2012-04-23 21:28:39 +01:00
Ruslan Kabalin
ae2afddcd6
MDL-31222 Create a core YUI3 Module for drag-drop
2012-04-23 21:28:39 +01:00
Andrew Robert Nicols
ebaa29d107
MDL-31096 Convert course resource/section javascript to YUI3 Module
...
AMOS BEGIN
MOV [hideweekfromothers,moodle],[hidefromothers,format_week]
MOV [showweekfromothers,moodle],[showfromothers,format_week]
MOV [hidetopicfromothers,moodle],[hidefromothers,format_topics]
MOV [showtopicfromothers,moodle],[showfromothers,format_topics]
AMOS END
2012-04-23 21:28:39 +01:00
Andrew Robert Nicols
cd6081f558
MDL-31096 Create generic coursemodule javascript library
...
This library handles registration and invocation of calls for other
libraries. It allows us to register javascript modules containing functions
which may called dynamically later on, for example when adding a resource
or section dynamically
2012-04-23 21:18:17 +01:00
Ruslan Kabalin
d8feba6ce7
MDL-31052 Add generic lightbox spinner to indicate progress to user
2012-04-23 21:17:50 +01:00
Petr Skoda
e498621a95
MDL-25407 ignore errors in CLI mysql engine conversion script
2012-04-23 19:19:19 +02:00
kordan
011c24fbe9
MDL-32566 theme_formal_white: restyling of login block
2012-04-23 15:13:13 +02:00
Eloy Lafuente (stronk7)
93f9755c74
MDL-29262 phpunit: fix forgotten mock objects to avoid strict notices
2012-04-23 15:01:14 +02:00
Dan Poltawski
a0a87e85f0
Merge branch 'w17_MDL-32477_m23_cloneperm' of git://github.com/skodak/moodle
2012-04-23 16:35:26 +08:00
Petr Skoda
d72bb48662
MDL-32427 add HTML Purifier allowed scheme tests
2012-04-23 10:30:00 +02:00
Petr Skoda
590abcf801
MDL-32427 fix suport for extra schemes in links in HTML Purifier
2012-04-23 10:29:43 +02:00
Dan Poltawski
3bbfe7d636
Merge branch 'w17_MDL-32449_m23_tinymce' of git://github.com/skodak/moodle
2012-04-23 15:37:34 +08:00
Dan Poltawski
98fc9c8363
Merge branch 'w17_MDL-31553_m23_clitimeout' of git://github.com/skodak/moodle
2012-04-23 15:25:42 +08:00
kordan
25d4221200
MDL-32578 theme_formal_white: modified two lang strings
2012-04-23 15:20:34 +08:00
Ankit Agarwal
05f9d136a8
MDL-28735 calendar: Fixing issues with course selection dropdown
2012-04-23 15:10:35 +08:00
Dan Poltawski
be7358bc18
Merge branch 'wip-MDL-32497-master' of git://github.com/marinaglancy/moodle
2012-04-23 14:25:59 +08:00