Sam Hemelryk
911b271215
Merge branch 'MDL-27953_master' of https://github.com/markn86/moodle
2013-08-06 10:11:20 +12:00
Sam Hemelryk
b09abb05ab
Merge branch 'w32_MDL-40901_m26_phpunitcleanup2' of https://github.com/skodak/moodle
2013-08-06 08:53:24 +12:00
Sam Hemelryk
1eebbc2854
Merge branch 'w32_MDL-40943_m26_observers' of https://github.com/skodak/moodle
2013-08-06 08:49:28 +12:00
Kyle Temkin
f936128f5b
MDL-41034 fix TinyMCE managefiles plugin for textareas that do not support file uploads
...
The current managefiles plugin assumes that every file manager will be created
by either calling use_editor without filepicker options ($fpoptions) or with
filepicker options that include options for the moodleimage plugin.
2013-08-05 16:12:16 -04:00
Marina Glancy
50c6e3ebac
Merge branch 'MDL-41029-master' of git://github.com/FMCorz/moodle
2013-08-05 17:46:22 +10:00
Marina Glancy
698be6bbd0
Merge branch 'MDL-40997-master' of git://github.com/FMCorz/moodle
2013-08-05 17:42:09 +10:00
Frederic Massart
513d879381
MDL-41029 core: Fix wrong guessing of course id in event base
2013-08-05 15:41:16 +08:00
Marina Glancy
fd6d13bab1
Merge branch 'MDL-36011-master' of git://github.com/damyon/moodle
2013-08-05 17:15:38 +10:00
Shane Elliott
0604e03bf9
MDL-40684 Fix conditional field name for custom user fields
2013-08-05 15:51:37 +12:00
Sam Hemelryk
2b80bb33df
Merge branch 'w32_MDL-40995_m26_minifyreworked' of https://github.com/skodak/moodle
2013-08-05 14:15:27 +12:00
Damyon Wiese
ade4695de0
MDL-36002 dragdrop: Add simulated event for keyboard drag drop.
...
This is to prevent any accidental state change in Y.DD.DDM.
2013-08-05 09:39:11 +08:00
Sam Hemelryk
d89733f6c7
MDL-41025 moodlelib: addressed todo on truncate_userinfo
2013-08-05 09:34:55 +12:00
Sam Hemelryk
0142523d08
MDL-41024 lib: deprecate isediting
2013-08-05 09:24:06 +12:00
Petr Škoda
aed2b9ba9c
MDL-40901 use assertInternalType()
2013-08-04 22:16:03 +02:00
Petr Škoda
8252b7c291
MDL-40901 standardise core test case class and file names
...
This finally allows us to type only the class name when executing individual core test cases.
2013-08-04 22:10:31 +02:00
Petr Škoda
2e242f4c6b
MDL-40940 try to guess testcase location using info from /phpunit.xml
...
This will help with core tests in non-standard core subsystem locations.
2013-08-04 21:44:13 +02:00
Petr Škoda
2d1884d987
MDL-40943 use observer priority only inside group of observers
...
This makes the '*' observers to be executed always first. This change allows us to implement parent event class catching if we ever decide we need it without breaking BC. This change includes some more unit test fixes.
2013-08-04 13:48:03 +02:00
Petr Škoda
6b32d6bc93
MDL-40995 simplify minify integration and fix all known issues
2013-08-03 17:16:17 +02:00
Petr Škoda
528a7b447a
MDL-41017 improve purify caching
...
The improvements include:
* HTMLPurifier cache is stored in localcachedir
* allowobjectembed changes are not ignored any more
* the cache keys include revision and all options which makes
this suitable for local caches on cluster nodes
* unchanged test is replaced by "true" value which should
significantly improve performance
* removal of purge_all_caches() hack for directory recreation
* comments and coding style cleanup
2013-08-03 11:31:18 +02:00
Petr Škoda
f0f0e1fe73
MDL-40815 deprecate events_trigger()
2013-08-02 16:48:19 +02:00
Petr Škoda
7c3943ad0c
MDL-40889 prevent 304 when minimising JS
2013-08-02 16:27:34 +02:00
Frederic Massart
d6277b0ca0
MDL-40997 phpunit: Assertions for events legacy data
2013-08-02 18:30:02 +08:00
Ruslan Kabalin
b2b2c136b6
MDL-40947: Fix segmentation fault issue in get_fast_modinfo.
2013-08-02 09:53:28 +01:00
Damyon Wiese
313e58519c
MDL-36002 dragdrop: focus fix and exception catching
...
This sets the focus correctly after a cancel or drop event.
It also catches exceptions from the lock/unlock functions.
2013-08-02 16:34:24 +08:00
Rajesh Taneja
91665753df
MDL-41000 Events: Fixed return values for get_name() and get_description() in existing events
...
Changes done for following events:
- \core_auth\event\user_loggedin
- \core\event\role_assigned
- \core\event\role_unassigned
2013-08-02 14:45:52 +08:00
Rajesh Taneja
fc9fc9fb30
MDL-41000 Events: Fixed phpdoc for get_name and get_description in \core\event\base class
2013-08-02 13:48:11 +08:00
Damyon Wiese
fdf70473a5
MDL-36011 tablelib: Make column headers expand/collapse links accessible.
2013-08-02 11:24:53 +08:00
Sam Hemelryk
3d2128f6d4
NOBUG: fix file permissions
2013-08-02 08:17:40 +12:00
Damyon Wiese
a3e57854fc
MDL-36005 formslib: Move the help icons out of the form labels for accessibility.
2013-08-01 16:39:34 +08:00
Sam Hemelryk
6cd213567b
MDL-40842 behat: fixed a typo
2013-08-01 20:15:29 +12:00
Ankit Agarwal
1ccc126806
MDL-40963 events: get_name() should use get_called_class() instead of __CLASS__
2013-08-01 15:30:08 +08:00
Sam Hemelryk
81387cafd5
MDL-40842 behat: Reverting to backtrace catchall as xdebug warnings were being missed
2013-08-01 17:03:25 +12:00
Sam Hemelryk
4c2892c654
MDL-40842 output: fixed fatal error display bug - thanks Marina for spotting it!
2013-08-01 16:52:34 +12:00
Sam Hemelryk
f803ce267f
MDL-39814 actionmenu: tweaked the action menu post integration
...
The following changes have been made:
* course_section_cm_edit_actions now allows the caller more options for the
display of the action menu.
* The site menu block now disables the JS enhancement of the actionmenu so
that it displays as it did before. After more testing this seemed like the
only option that worked in the limited space of the block when it had
several modules.
* draganddrop of resources now triggers the action menu enhancement as well.
* Fixed display of title when the menu is not being enhanced by JS.
* Fixed the alignment of the completion icon in the bootstrapbase theme.
* Tweaked the CSS for the standard theme.
2013-08-01 13:05:04 +12:00
Sam Hemelryk
4a4d57ae1f
Merge branch 'MDL-35053' of git://github.com/timhunt/moodle
2013-08-01 09:47:57 +12:00
Tim Hunt
1cca4e4327
MDL-35053 question files outside attempts. Fix back-compatibility.
2013-07-31 18:00:52 +01:00
Damyon Wiese
7c271b918e
MDL-36002 core: Make drag and drop keyboard friendly
...
This change adds keyboard support to core drag and drop.
Selecting a grab handle and hitting enter (or space) will
open a menu of possible drop targets and allow you to choose one.
The only other UI change this implies is we need to show the grab
for blocks.
2013-07-31 16:43:25 +08:00
Ankit Agarwal
3049780a3a
MDL-40682 events: Add a event for when a blog entry is created
2013-07-31 10:09:17 +08:00
Sam Hemelryk
b05cfa0e67
MDL-39430 phpunit: skip unmet optional environment checks
2013-07-31 10:46:44 +12:00
Frederic Massart
d95db915ed
MDL-40934 core: Moving \core_auth\event\user_loggedin to \core
2013-07-30 16:41:20 +08:00
Dan Poltawski
6d2fc575a6
Merge branch 'w31_MDL-39915_m26_tests' of https://github.com/skodak/moodle
2013-07-30 14:09:24 +08:00
Petr Škoda
fba8cef3a3
MDL-39915 fix core_code_testcase regression
...
Thanks Dan!
2013-07-30 07:56:24 +02:00
Sam Hemelryk
ea5a01fbe5
MDL-39814 frontend: pre-integration fixes:
...
* Fixed IE8 display of icons.
* Fixed blocks using course renderer.
* Fixed behat tests.
* codecheckers fixes
* Removed alt from icons with descriptive text
* Tweaked actionmenu initialisation for performance
2013-07-30 16:15:58 +12:00
Sam Hemelryk
10fc156933
MDL-39814 frontend: added options to disable new action menus
...
Also:
* Tidied up patch as per peer-reviews
2013-07-30 16:15:52 +12:00
Sam Hemelryk
3665af78ca
MDL-39814 actionmenu: improved alignment, constraint handling, and accessibility
2013-07-30 16:15:26 +12:00
Sam Hemelryk
e5de4933b0
MDL-39814 frontend: redeveloped overlay to correct tab-flow
...
Also:
* fixed zindex issue + spinner placement
* added notes to course format and theme upgrade texts
* fixed behat tests after action menu changes
2013-07-30 16:15:19 +12:00
Sam Hemelryk
202fcfa130
MDL-39814 frontend: increased size of editing icons for activities
2013-07-30 16:15:12 +12:00
Sam Hemelryk
cf69a00a1c
MDL-39814 frontend: introduced an action_menu_action class
2013-07-30 16:15:05 +12:00
Sam Hemelryk
b59f2e3bef
MDL-39814 frontend: improved display of activities and the menu
2013-07-30 16:14:56 +12:00
Sam Hemelryk
e282c679e3
MDL-39814 frontend: improvements to course/block editing
2013-07-30 16:07:26 +12:00