771 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
478baf8334 Merge branch 'wip-MDL-32699-master' of git://github.com/marinaglancy/moodle 2014-03-13 18:33:20 +01:00
Sam Hemelryk
1aefc90960 Merge branch 'wip-MDL-40721-master' of git://github.com/marinaglancy/moodle 2014-03-11 14:22:33 +13:00
Sam Hemelryk
1fef3f6aac Merge branch 'wip-MDL-44471-master' of git://github.com/marinaglancy/moodle 2014-03-11 08:51:36 +13:00
David Monllao
759b323e0e MDL-43236 behat: Updating references to deprecated methods 2014-03-07 16:05:21 +08:00
Marina Glancy
c7a8cef65e MDL-44471 Revert "MDL-42238 mod_wiki: Alternate name sql update to wiki_print_recent_activity"
This reverts commit 6d3d9bd927d5386b1dc4fbbcb7db5559efa7a5cd.
2014-03-07 09:56:29 +08:00
Marina Glancy
2f8d26346f MDL-40721 wiki: missing page->set_url() when restoring wiki 2014-03-07 09:38:15 +08:00
Marina Glancy
846f6886f0 MDL-32699 wiki: only edit capability is required to restore wiki revision 2014-03-07 09:36:57 +08:00
Damyon Wiese
267c4b4292 Merge branch 'MDL-43738_master' of git://github.com/dmonllao/moodle 2014-03-04 13:29:03 +08:00
Marina Glancy
3a7b9b76c2 MDL-39990 wiki: more detailed validation of view/edit access rights 2014-03-03 14:45:03 +08:00
Marina Glancy
1e242b41af MDL-44321 events: cleaning up course_module_instance_list_viewed event 2014-02-28 16:36:09 +08:00
Marina Glancy
fbc4b77841 MDL-44321 events: cleaning up course_module_viewed event 2014-02-28 16:36:09 +08:00
David Monllao
f083d6145e MDL-43738 behat: Updating features files
The following used steps were replaced by the ones
added in this issue:
- I fill the moodle form with
- I fill in with
- I select from
- I select radio button
- I check
- I uncheck
- the field should match

Also removing test for deprecated steps:
- the ASD checkbox should be checked
- the ASD checkbox should not be checked
2014-02-27 18:22:05 +08:00
Sam Hemelryk
593b838546 MDL-44159 mod_wiki: unify @package use 2014-02-21 08:32:58 +13:00
Damyon Wiese
62f641efd3 Merge branch 'MDL-41646' of git://github.com/apsdehal/moodle 2014-02-18 12:40:56 +08:00
Sam Hemelryk
7db38cd53f MDL-44103 mod_wiki: fixed copyright typo 2014-02-16 12:14:25 +13:00
Marina Glancy
7f34b8e135 Merge branch 'MDL-42339' of git://github.com/rwijaya/moodle 2014-02-05 15:56:30 +08:00
Rossiani Wijaya
8c6ca6961a MDL-42339 - removed double formatting for set_title() and set_heading() 2014-02-05 14:47:23 +08:00
Marina Glancy
1b066c06c6 Merge branch 'MDL-43440-master' of git://github.com/mr-russ/moodle 2014-02-03 13:42:23 +08:00
apsdehal
f159bd75ad MDL-41646 Wiki: Removed unnecessary wiki_info class 2014-02-02 15:50:10 +05:30
Rajesh Taneja
623a32e50d MDL-43736 Events: Updated unit test to test context not used in event 2014-01-29 11:39:50 +08:00
Rajesh Taneja
fdc729ea57 MDL-43736 Events: event->contextinstanceid should be used where possible
While restoring event context might not be present (deleted)
So before using context api's check context or use event properties
2014-01-29 11:39:44 +08:00
Tomasz Muras
672ce966c6 MDL-43040 Replace $module with $plugin in all mod/*/version.php
Conflicts:
	mod/quiz/version.php
2014-01-29 00:36:12 +01:00
Russell Smith
74b63eae76 MDL-43440 unit testing: Use cmid in unit tests when it should be used.
instance is has been used instead of cmid.  This works as all id's are 1
in most cases, but not always.

accesslib_clear_all_caches_for_unit_testing was updated to clear the
$USER->access cache which would fail test when the wrong user's data was used.
2014-01-25 08:57:32 +11:00
Petr Škoda
32f906b677 MDL-43661 use new edulevel in all existing events 2014-01-21 16:12:35 +08:00
Eloy Lafuente (stronk7)
295f7a6137 Merge branch 'MDL-43109' of https://github.com/mdikih/moodle 2014-01-13 21:51:27 +01:00
Damyon Wiese
de47c9c81b Merge branch 'wip-mdl-43293' of https://github.com/rajeshtaneja/moodle 2014-01-07 12:22:49 +08:00
Rajesh Taneja
184afb6b73 MDL-43238 events: Added event other information in event php doc block 2014-01-03 15:03:48 +08:00
Rajesh Taneja
a55eaf0351 MDL-43293 Events: Added comments event in modules supporting comments 2013-12-23 09:22:14 +08:00
Rajesh Taneja
fc832a4882 MDL-43437 wiki: Fixed unit test for page_version_deleted event 2013-12-18 13:56:44 +08:00
Rajesh Taneja
2270661e51 MDL-40058 mod_wiki: trigger event on page map view 2013-12-12 13:08:18 +11:00
Rajesh Taneja
0e72987517 MDL-40058 mod_wiki: modified wiki_restore_page api to accept version and context 2013-12-11 13:53:04 +11:00
Rajesh Taneja
e94f6c6572 MDL-40058 Events: added unit test 2013-12-11 13:53:04 +11:00
Rajesh Taneja
86b0e3b308 MDL-40058 Events: Replaced add_to_log for page comments to event 2013-12-11 13:53:00 +11:00
Rajesh Taneja
8b43cf225f MDL-40058 mod_wiki: Replaced add_to_log for page version viewed to event 2013-12-11 13:53:00 +11:00
Rajesh Taneja
a8481a66fe MDL-40058 mod_wiki: Replaced add_to_log for page created to event 2013-12-11 13:53:00 +11:00
Rajesh Taneja
ff79f49f44 MDL-40058 mod_wiki: Replaced add_to_log for page map viewed to event 2013-12-11 13:52:59 +11:00
Rajesh Taneja
d6a54be3a6 MDL-40058 mod_wiki: Replaced add_to_log for admin to event 2013-12-11 13:52:59 +11:00
Rajesh Taneja
b3dd79d101 MDL-40058 mod_wiki: Replaced add_to_log for override locks with event 2013-12-11 13:52:59 +11:00
Rajesh Taneja
3e5e78a2c9 MDL-40058 mod_wiki: Replaced add_to_log for page diff view with event 2013-12-11 13:52:59 +11:00
Rajesh Taneja
fb92417b5e MDL-40058 mod_wiki: Replaced add_to_log for page edit with event 2013-12-11 13:52:59 +11:00
Rajesh Taneja
31383bcdad MDL-40058 mod_wiki: Replaced add_to_log for version restored with event 2013-12-11 13:52:58 +11:00
Rajesh Taneja
d1d555c955 MDL-40058 mod_wiki: Replaced add_to_log for history viewed with event 2013-12-11 13:52:58 +11:00
Rajesh Taneja
9307bed8c5 MDL-40058 mod_wiki: Replaced add_to_log on index.php with event 2013-12-11 13:52:58 +11:00
Rajesh Taneja
48f871e09b MDL-40058 mod_wiki: Replaced add_to_log for course_module_viewed with event 2013-12-11 13:52:58 +11:00
Rajesh Taneja
8ac1d22436 MDL-40058 mod_wiki: Replaced add_to_log for page_viewed with event 2013-12-11 13:52:54 +11:00
Michael Dikih
1d2c29ca0d MDL-43109: mod/wiki - When editing pages populate the default value for the tags input. 2013-12-10 14:15:35 +10:30
David Monllao
d1e55a47be MDL-42625 behat: Step definitions + related changes in features
In general aiming for compatibility with multiple browsers,
firefox, chrome and phantomjs to be more specific.

* Removing hardcoded waits
* Adding @_alert, @_switch_window and @_switch_frame tags,
  to label actions that different drivers have problems with.
* Adding missing @_files_upload and @_only_local tags to features that
  uploads files.
* Fixing a few wait for page ready what specified miliseconds.
* New methods to ensure elements (usual selectors), sections and editors
  are ready to interact with
* Changing the select an option implementation to deal with the different
  drivers implementations when listening to JS events.
2013-12-06 13:10:24 +08:00
Andrew Nicols
a42791cb90 MDL-41030 JavaScript: Convert remaining YUI2 IO calls to YUI3 2013-12-06 12:13:39 +08:00
David Monllao
e7c71c448b MDL-42627 behat: Moving the deprecated method to behat_deprecate and updating scenarios 2013-12-02 14:13:17 +08:00
Dan Poltawski
2bc34d6528 Merge branch 'MDL-40741_master' of git://github.com/dmonllao/moodle 2013-11-26 14:52:21 +08:00