Commit graph

67317 commits

Author SHA1 Message Date
Dan Poltawski
7f42ee92eb Merge branch 'MDL-44440_master' of git://github.com/dmonllao/moodle 2014-03-10 13:45:26 +08:00
David Monllao
1f631c7c63 MDL-44440 behat: Changing , for > as a navigation tree nodes separator
Using greater than as seems a more natural separator
than the comma when separating nodes which have a
hierarchy relation.
2014-03-10 13:35:40 +08:00
Dan Poltawski
c13c64b0e1 Merge branch 'MDL-43236_master' of git://github.com/dmonllao/moodle 2014-03-10 12:04:14 +08:00
Niclas Tollstorff
7f9759c25c MDL-37733 SCORM: Correct check for force new attempt 2014-03-08 21:22:38 +13:00
Dan Marsden
538864dffd MDL-44066 Restore: Restore source field.
Causes problems when restoring a SCORM pacakge that uses an alias.
2014-03-08 21:09:30 +13:00
Dan Marsden
6573b07780 MDL-43247 SCORM: improve pop-up handling and redirect to homepage on close. 2014-03-08 21:04:31 +13:00
Mark Nelson
7cd6abf28a MDL-40913 core_message: removed 'view' add_to_log call 2014-03-07 15:15:44 -08:00
Mark Nelson
5b09190975 MDL-40913 core_message: created 'message_read' event 2014-03-07 15:15:43 -08:00
Mark Nelson
ab1bc5d222 MDL-40913 core_message: replaced 'write' add_to_log call with an event 2014-03-07 15:15:43 -08:00
Mark Nelson
cd60936523 MDL-40913 core_message: replaced 'unblock contact' add_to_log call with an event 2014-03-07 15:15:43 -08:00
Mark Nelson
3f3d9521de MDL-40913 core_message: replaced 'block contact' add_to_log call with an event 2014-03-07 15:15:42 -08:00
Mark Nelson
5edf9f3bd3 MDL-40913 core_message: replaced 'remove contact' add_to_log call with an event 2014-03-07 15:15:42 -08:00
Mark Nelson
0d9bdf6185 MDL-40913 core_message: replaced 'add contact' add_to_log call with an event 2014-03-07 15:15:42 -08:00
Tim Hunt
8011be189e MDL-33653 fix preview links on calc qtype edit forms.
Also, refactor how we render preview icons, to eliminate duplication.
2014-03-07 19:46:56 +00:00
M Kassaei
7756e2bc85 MDL-33653 questions, a way to save changes and continue editing 2014-03-07 12:42:51 +00:00
James Pratt
185aae5dbe MDL-44497 quiz responses report : error when no attempts 2014-03-07 17:24:13 +07:00
Brian King
c484af5aa6 MDL-43497 Language: Allow course language to be overridden 2014-03-07 09:11:18 +01:00
David Monllao
75ddb69563 MDL-43236 behat: Step arguments normalization
Updating step definitions arguments according to the
documentation page.
2014-03-07 16:05:21 +08:00
David Monllao
759b323e0e MDL-43236 behat: Updating references to deprecated methods 2014-03-07 16:05:21 +08:00
David Monllao
c51c3b5575 MDL-43236 behat: Deprecate old steps
Correcting grammar errors and deprecating
the previous steps definitions:
- behat_data_generators::the_following_exists()
- behat_general::should_exists()
- behat_general::should_not_exists()
2014-03-07 16:05:21 +08:00
Rajesh Taneja
2cd29dd6f1 MDL-44017 Events: Added unit test for report_viewed events 2014-03-07 15:16:10 +08:00
Rajesh Taneja
e1b16f9773 MDL-44017 Events: Deprecated content_viewed event
Replaced content_viewed event with appropriate events and deprecated
content_viewed event
2014-03-07 15:16:10 +08:00
Andrew Nicols
b959e5085a MDL-44334 Javascript: Prevent scroll locking for small screen heights 2014-03-07 15:04:56 +08:00
David Monllao
a542553d42 MDL-44440 behat: Refactoring features to use I navigate to
Replacing multiple "I expand node" steps by the
new "I navigate to". Also fixing few I navigate to
when dealing with non-JS.
2014-03-07 14:46:54 +08:00
David Monllao
370e88d4fe MDL-44440 behat: Other fixes to make clean work properly
- Update the step to follow links inside a treeview
  to work also when JS is disabled.
- Make regions accept header and footer.
- Change some locators refering to non-clean compatible
  regions.
- Restricting click to the table row in forum tracking
  because seems to conflict with the navigation bar when
  using narrow window sizes.
2014-03-07 14:27:52 +08:00
Rajesh Taneja
26fb3f5b71 MDL-44440 navigation: Added behat step to navigate from navigation/Admin block
This step will help navigate to different parts of moodle
using navigation or adminstration block.
2014-03-07 11:55:31 +08:00
David Monllao
a1e81b8d3d MDL-44440 behat: Log out compatible with clean
.navbar needs to be clicked before following
log in or log out links.
2014-03-07 11:55:31 +08:00
Tim Lock
9619ff9ba3 MDL-44499: Fix PHP warning in upload_manager class 2014-03-07 14:19:26 +10:30
Krister
d20593ff05 MDL-42368 Themes: Anomaly breadcrumb fix
Previously the editing button could become unreachable with small window
sizes.
2014-03-07 11:35:37 +08:00
Petr Škoda
875f191963 MDL-44496 fix minor trait docs issue
The store trait is not necessary any more in bufferef_writer
because we define the required methods as abstract.
2014-03-07 11:06:17 +08:00
Petr Škoda
e23bd11010 MDL-44496 fix event buffering in log stores 2014-03-07 10:58:19 +08:00
Marina Glancy
30a32f147a MDL-42870 completion: performance and readability code refactoring 2014-03-07 10:21:49 +08:00
Marina Glancy
f0d6479623 MDL-42870 completion: show failed activities as incompleted 2014-03-07 10:21:46 +08:00
Marina Glancy
c7a8cef65e MDL-44471 Revert "MDL-42238 mod_wiki: Alternate name sql update to wiki_print_recent_activity"
This reverts commit 6d3d9bd927.
2014-03-07 09:56:29 +08:00
Marina Glancy
99fe2357e6 MDL-44337 glossary: behat test for glossary categories 2014-03-07 09:56:06 +08:00
Marina Glancy
1480f6ea68 MDL-43966 events: link to migration wiki in lib/upgrade.txt 2014-03-07 09:55:17 +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
Petr Škoda
c6b44cb4f2 MDL-44359 fix explode(', ', regressions from MDL-44255 2014-03-07 08:51:04 +08:00
Eloy Lafuente (stronk7)
0a489777fc weekly release 2.7dev 2014-03-06 22:16:58 +01:00
Eloy Lafuente (stronk7)
5d04aed148 Merge branch 'install_master' of git://git.moodle.org/moodle-install 2014-03-06 22:16:48 +01:00
Andrew Nicols
d10e611876 MDL-44480 Javascript: Correct dialogue ID generation 2014-03-06 17:02:22 +08:00
Damyon Wiese
c46db93c28 MDL-43721 Assign + groups: Improve performance of assign grading table
Add a function to the groups lib to filter a list of users down
to the ones who can see the module. Required because calling
groups_course_module_visible() for a list of users is too slow
and we shouldn't spread group logic outside of grouplib.php.

Using it in the assign grading table reduces DB queries from 6198/1 to 256/3.

This is 12secs down to 2.5secs.
2014-03-06 15:50:13 +08:00
Andrew Nicols
502d580970 MDL-44478 Javascript: Remove duplications in simpleyui rollup 2014-03-06 15:25:29 +08:00
Damyon Wiese
a9e634afa6 MDL-43721 Assign: Static cache for plugin is_enabled and is_visible because they get used alot 2014-03-06 15:15:57 +08:00
Yuliya Bozhko
100ec86182 MDL-44140 badges: Prevent non-owners to change visibility of issued badges
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2014-03-06 14:33:51 +08:00
Damyon Wiese
052b8c81c6 Revert "MDL-32917 YUI2 to YUI3 Calendar port: only display the date from the matching selector and display the month/year matching the selector value"
There are numerous bugs with this new module to do with showing the currently selected date,
random changes in the selected dates, showing multiple selected dates and css errors.

This reverts commit 1d128663f6.
This reverts commit 4a521e6596.
2014-03-06 13:38:17 +08:00
Damyon Wiese
81b4ec4fc3 Merge branch 'MDL-32917-master-nomerge3' of git://github.com/mouneyrac/moodle 2014-03-06 11:41:09 +08:00
Jerome Mouneyrac
1d128663f6 MDL-32917 YUI2 to YUI3 Calendar port: only display the date from the matching selector and display the month/year matching the selector value 2014-03-06 11:35:00 +08:00
Damyon Wiese
d09cfab660 Merge branch 'wip-MDL-44403-master' of git://github.com/marinaglancy/moodle 2014-03-06 09:21:24 +08:00