Commit graph

63937 commits

Author SHA1 Message Date
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
324b489bdb Merge branch 'wip-MDL-34785-master' of git://github.com/marinaglancy/moodle 2013-08-05 13:36:56 +12:00
Marina Glancy
98260b31a5 Merge branch 'wip-mdl-40933' of git://github.com/rajeshtaneja/moodle 2013-08-05 10:48:36 +10:00
Marina Glancy
a9881c1750 MDL-34785 performance improvement with big list of courses 2013-08-05 10:13:19 +10: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
529342bb9f MDL-41002 fix typo causing fatal error on other users page
Credit goes to Bernhard Brandstetter, thanks!
2013-08-04 15:00:53 +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
7f0ffc544a MDL-41020 fix installer notices 2013-08-04 10:18:10 +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
Ruslan Kabalin
f8e28244cb MDL-31226: quiz: Fix message for attempts built on previous.
At the moment, when attempt is built on the last one, "not yet answered"
message is shown, which confuses many people. This patch modifies the state to
"complete" for attempt based on previous and modifies the output string.

Many thanks to Tim Hunt for guiding me through quiz infrastructure and some code
suggestions.
2013-08-02 16:19:18 +01: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
Damyon Wiese
e1e9ade581 MDL-30852 grade: Coding style fix for user report. 2013-08-02 14:40:23 +08:00
Steve Bader
f19dd840ff MDL-30852 grade report: Add aria attributes
Converted to git branch by Damyon
2013-08-02 13:57:27 +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
fe1c01e751 MDL-35981 comments: Add comment about keycodes for space and enter. 2013-08-02 11:42:45 +08:00
Damyon Wiese
afc9ebd3e8 MDL-35981 comments: Remove confirm step from behat delete comments. 2013-08-02 11:42:45 +08:00
Damyon Wiese
ba29e212cd MDL-35981 comments: Make delete comment keyboard accessible. 2013-08-02 11:42:44 +08:00
Damyon Wiese
fdf70473a5 MDL-36011 tablelib: Make column headers expand/collapse links accessible. 2013-08-02 11:24:53 +08:00
AMOS bot
2fcd9b0b49 Automatically generated installer lang files 2013-08-02 00:38:30 +00:00
Sam Hemelryk
a31e811563 weekly release 2.6dev 2013-08-02 08:21:15 +12:00
Sam Hemelryk
3d2128f6d4 NOBUG: fix file permissions 2013-08-02 08:17:40 +12:00
Sam Hemelryk
b3db9ddaf8 Merge branch 'install_master' of git://git.moodle.org/moodle-install 2013-08-02 08:11:35 +12:00
sam marshall
be108c7ab0 MDL-40320 Course page: Text greyed when conditional activity available 2013-08-01 14:14:43 +01:00
Damyon Wiese
323f3753a3 MDL-36005 formslib: Version bump for css changes 2013-08-01 16:46:46 +08: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
Rossiani Wijaya
f26cc2bea7 MDL-35927 filepicker: add aria attribute to display modal error 2013-08-01 15:38:07 +08: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
Mark Nelson
33d8af6668 MDL-40662 block_course_overview: added addinstance capability to remove debugging message due to system context being used on the 'Default My home page' 2013-08-01 12:54:51 +08: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
Rajesh Taneja
c597ff32ef MDL-40469 Gradebook: Fixed setType warning while exporting gradebook with publishing set 2013-08-01 10:31:25 +08:00
Damyon Wiese
1444b2ee5a MDL-39814 actionmenu: Version bump for css changes. 2013-08-01 09:42:42 +08: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
Andrew Nicols
9ce4fa2fd4 MDL-40955 Course: Add a new renderer to give a complete course module 2013-07-31 11:14:05 +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
Jason Fowler
1641bee253 MDL-35922 - Adding aria attributes to create-folder modal 2013-07-31 16:40:43 +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