Sam Hemelryk
de3a460e17
MDL-33468 css_optimiser: Fixed aggressive optimisation so that it only combines siblings and doesn't reorder
2012-06-14 17:25:19 +12:00
Petr Skoda
bc53b4e9d7
MDL-33635 improve collatorlib::ksort() coding style and perf
...
Thanks Eloy Lafuente for spotting my sloppy coding style!
2012-06-13 16:37:56 +02:00
Petr Skoda
b71d0b43fc
MDL-33635 add collatorlib::ksort() support
2012-06-12 10:57:24 +02:00
Petr Skoda
212826853b
MDL-33635 improve collatorlib
...
1/ the sort flag can not use Intl extension constants because they may not be available
2/ add sort flag to all methods
3/ use private constructor instead of abstract - more Java like API to match the textlib
4/ add natural sorting support
5/ consistent bool return type
6/ better non-intl fallback
7/ more tests
2012-06-12 10:57:24 +02:00
Sam Hemelryk
d2830cdd93
MDL-33468 css_optimiser: pre-integration clean up
2012-06-12 14:22:56 +12:00
Sam Hemelryk
ecad5058a0
MDL-33504 css_optimiser: Added support for common media-queiries
2012-06-12 14:22:56 +12:00
Sam Hemelryk
3daafb9295
MDL-33468 css_optimiser: Fixed handling of !important in shorthand notations
2012-06-12 14:22:56 +12:00
Sam Hemelryk
e3036985b2
MDL-33468 css_optimiser: Added support for multiple values for a single attribute
2012-06-12 14:22:55 +12:00
Sam Hemelryk
6a519fdcf1
MDL-33468 css_optimiser: Improved consolidation of background styles and fixed ordering issue
2012-06-12 14:22:55 +12:00
Sam Hemelryk
0663b5353c
MDL-33468 css_optimiser: Added support for prioritising reset rules
2012-06-12 14:22:55 +12:00
Sam Hemelryk
1121f79b91
MDL-33468 css_optimiser: Added support for @keyframes to the CSS optimiser
2012-06-12 14:22:55 +12:00
Sam Hemelryk
f2e8d3798c
MDL-33468 css_optimiser: Numerous fixes to the CSS optimiser and its tests
2012-06-12 14:22:55 +12:00
Eloy Lafuente (stronk7)
a301675101
Merge branch 'w23_MDL-33007_m23_buggyiconv' of git://github.com/skodak/moodle
2012-06-04 11:33:47 +02:00
Petr Skoda
03f0cd1039
MDL-33007 fix incorrect min_fix_utf8() tests
...
Credit goest to Eloy Lafuente.
2012-06-04 10:45:44 +02:00
Dan Poltawski
1cbaf803d0
MDL-29173 - fix whitespace error
2012-06-04 16:32:25 +08:00
Dan Poltawski
6f337ea935
Merge branch 'MDL-29173_calc' of git://github.com/andyjdavis/moodle
2012-06-04 15:55:54 +08:00
Petr Skoda
0aff15c2c9
MDL-33007 add workaround for broken iconv //IGNORE
...
This patch adds mbstring utf-8 cleanup fallback and admin warning if no utf-8 cleanup possible in user submitted data.
2012-06-01 12:23:09 +02:00
Petr Skoda
3681e78429
MDL-33007 add buggy iconv workaround to configonlylib, add tests and fix minor issues
2012-06-01 12:23:09 +02:00
Andrew Davis
eb9f06f9c1
MDL-29173 grade: altered the definiton of round() in /lib/evalmath/evalmath.class.php
2012-05-29 16:38:42 +07:00
sam marshall
540f89d7d4
MDL-33212 Course page: Eye icon should override other conditions
2012-05-28 16:17:39 +01:00
Dan Poltawski
10a9d27d74
Merge branch 'w21_MDL-33034_m23_roletests' of git://github.com/skodak/moodle
2012-05-25 10:37:48 +08:00
Dan Poltawski
ac29403e39
MDL-33172 - filestorage: Add unit test for breaking oracle functions
2012-05-25 11:17:56 +12:00
Dan Poltawski
37eba7d5d6
Merge branch 'dev_MDL-33149_stored_file_access' of git://github.com/dongsheng/moodle
2012-05-22 16:51:33 +08:00
Dongsheng Cai
291a3d1fb6
MDL-33149 stored_file::repository should be private
2012-05-22 15:00:49 +08:00
Dan Poltawski
49f6790323
Merge branch 'MDL-33116-master' of git://github.com/sammarshallou/moodle
2012-05-22 12:51:45 +08:00
sam marshall
a3c17aed9f
MDL-33116 Media filter broken with slasharguments off
2012-05-21 14:24:42 +01:00
Dongsheng Cai
61506a0af9
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()
2012-05-21 11:57:56 +08:00
Dongsheng Cai
7051415cca
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
2012-05-21 11:57:54 +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
Petr Skoda
dfa6a34638
MDL-33034 some more accesslib tests
...
It is not complete yet, but it should be enough to verify patch in MDL-8249 works properly.
2012-05-19 18:40:32 +02:00
Dan Poltawski
b5378c1113
Merge branch 'w20_MDL-32961_m23_phpunitperf' of git://github.com/skodak/moodle
2012-05-17 12:35:45 +08:00
Eloy Lafuente (stronk7)
94dc3c7d1e
MDL-24419 (5): Coding style cleanup
2012-05-17 00:51:50 +02:00
Eloy Lafuente (stronk7)
dd420abadf
Merge branch 'MDL-24419-master' of git://github.com/sammarshallou/moodle
...
Conflicts:
lib/db/upgrade.php
lib/phpunit/lib.php
version.php
Fixed:
lib/db/upgrade.php - duplicate course->sectioncache add code
lib/db/install.xml - cleanup needed because xmldb editor was not used
lib/phpunit/classes/util.php - cleanup $GROUPLIB_CACHE on test reset
2012-05-16 23:53:47 +02:00
Aparup Banerjee
e7ebfb8058
Merge branch 'MDL-32005-master-10' of git://git.luns.net.uk/moodle
...
- fixed up comments (was phpdoc blocks)
2012-05-16 10:39:48 +08:00
Andrew Robert Nicols
74b714df7e
MDL-32005 Add idnumber field to groups and groupings
2012-05-15 09:38:51 +01:00
sam marshall
ce4dfd2703
MDL-24419 (4): Add conditional availability support to sections; section cache
...
Credit: original version done by Kirill Astashov of NetSpot (netspot.com.au),
finished and tweaked by sam.
This change adds conditional availability support for sections analagous to
that already available for activities. (Backend, UI, backup/restore.)
In order that this feature does not reduce performance, section cacheing has
also been added using a new course 'sectioncache' field analagous to modinfo.
The new feature integrates with activity availability so that activities
inside sections which are not available are automatically not available
themselves (meaning it works to restrict access).
2012-05-14 11:19:25 +01:00
sam marshall
637da99edb
MDL-24419 (3): Add new parameter to format_float for shorter display
2012-05-14 11:15:16 +01:00
Petr Skoda
b136a25b16
MDL-32961 try to use native grep when searching for DONOT...COMMIT tags
2012-05-12 23:05:42 +02:00
Petr Skoda
d59ef9c5ab
MDL-32926 exorcise setUser(2) evil from phpunit
2012-05-12 21:42:07 +02:00
Petr Skoda
08ad325702
MDL-32960 put phpunit integration tests to one test suite and execute them first
2012-05-12 21:33:23 +02:00
Aparup Banerjee
83c9d449e0
MDL-29624 Media embedding system : phpdoc tweaks.
2012-05-10 10:52:41 +08:00
Aparup Banerjee
e1e3fa217f
Merge branch 'MDL-29624-master' of git://github.com/sammarshallou/moodle
2012-05-10 10:52:32 +08:00
sam marshall
daefd6eb97
MDL-29624 Media embedding system, part 1: new API and filter changes
...
Includes new API in medialib.php and core_media_renderer in outputrenderers.php.
Enable/disable settings moved from filter to systemwide appearance page.
Filter changed to use new API.
AMOS BEGIN
MOV [flashanimation,filter_mediaplugin],[flashanimation,core_media]
MOV [flashanimation_help,filter_mediaplugin],[flashanimation_desc,core_media]
MOV [flashvideo,filter_mediaplugin],[flashvideo,core_media]
MOV [flashvideo_help,filter_mediaplugin],[flashvideo_desc,core_media]
MOV [html5audio,filter_mediaplugin],[html5audio,core_media]
MOV [html5audio_help,filter_mediaplugin],[html5audio_desc,core_media]
MOV [html5video,filter_mediaplugin],[html5video,core_media]
MOV [html5video_help,filter_mediaplugin],[html5video_desc,core_media]
MOV [mp3audio,filter_mediaplugin],[mp3audio,core_media]
MOV [mp3audio_help,filter_mediaplugin],[mp3audio_desc,core_media]
MOV [legacyquicktime,filter_mediaplugin],[legacyquicktime,core_media]
MOV [legacyquicktime_help,filter_mediaplugin],[legacyquicktime_desc,core_media]
MOV [legacyreal,filter_mediaplugin],[legacyreal,core_media]
MOV [legacyreal_help,filter_mediaplugin],[legacyreal_desc,core_media]
MOV [legacywmp,filter_mediaplugin],[legacywmp,core_media]
MOV [legacywmp_help,filter_mediaplugin],[legacywmp_desc,core_media]
MOV [legacyheading,filter_mediaplugin],[legacyheading,core_media]
MOV [legacyheading_help,filter_mediaplugin],[legacyheading_desc,core_media]
MOV [sitevimeo,filter_mediaplugin],[sitevimeo,core_media]
MOV [sitevimeo_help,filter_mediaplugin],[sitevimeo_desc,core_media]
MOV [siteyoutube,filter_mediaplugin],[siteyoutube,core_media]
MOV [siteyoutube_help,filter_mediaplugin],[siteyoutube_desc,core_media]
AMOS END
2012-05-09 18:29:29 +01:00
sam marshall
ffe4de973b
MDL-29624 Media embedding system, part 0: Add get_path() to moodle_url
...
(It may not seem directly related, but this function is needed for the
media embedding system.
2012-05-09 18:22:12 +01:00
Dan Poltawski
2c3d986894
MDL-32505 lib/tests: fix unit test using removed table
2012-05-04 10:53:04 +08:00
Dan Poltawski
b9bcdb54da
MDL-32505 course: drop course_display table and settings
2012-05-04 10:52:56 +08:00
Dan Poltawski
0dda790c05
Merge branch 'w18_MDL-32628_m23_avatarperf2' of git://github.com/skodak/moodle
...
Conflicts:
lib/db/upgrade.php
version.php
2012-05-04 09:28:41 +08:00
Petr Skoda
3db67789a1
MDL-32683 assert $CFG->slasharguments is enabled in new installs
...
Thanks Dan Poltawski for spotting it.
2012-05-07 13:05:42 +02:00
Petr Skoda
fcc4f23d0d
MDL-32683 fix outdated tests
2012-05-07 12:49:26 +02:00
Eloy Lafuente (stronk7)
03764014af
MDL-32234 Library: usergetdate tests moved to assertSame()
...
(to check both type and value)
2012-05-03 00:52:25 +02:00