Marina Glancy
392367c4f7
MDL-56586 behat: fix behat tests to work with new add block
2016-11-25 14:04:10 +08:00
Dan Poltawski
304e8a8d0c
Merge branch 'wip-MDL-56586-master-2' of git://github.com/marinaglancy/moodle
2016-11-24 09:30:29 +00:00
David Monllao
4de871f4ca
Merge branch 'MDL-57001-master' of git://github.com/damyon/moodle
2016-11-24 15:29:04 +08:00
Damyon Wiese
8c224317ee
MDL-57001 switchroles: Add a cancel link to the page.
2016-11-24 15:11:19 +08:00
Damyon Wiese
70b03eff02
MDL-57001 switchroles: Move to user menu
...
Take this out of the navigation and force it in the user menu.
2016-11-24 15:11:19 +08:00
Marina Glancy
b1e5624ad9
MDL-56586 blocks: Fix mess with links to permissions
...
problem 1: links to blocks permissions changes were missing in boost
problem 2: when modifying link from dashboard user is returned to profile ('returnurl' passed but not respected)
problem 3: link to check permissions missing from category management page
fix: instead of respecting both 'return' and 'returnurl' parameter use only 'returnurl'
fix: use 'popup' layout when modifying permissions for a block
2016-11-24 14:24:59 +08:00
Dan Poltawski
203f51d627
MDL-57064 tests: update externallib test
2016-11-23 13:00:29 +00:00
Dan Poltawski
9f82774a8b
Merge branch 'MDL-57064-master' of git://github.com/FMCorz/moodle
2016-11-23 12:46:18 +00:00
Cameron Ball
1b367ac6e8
MDL-57112 blocks: Add back social_activities block for social courses.
...
Courses in the social format are difficult to use. This patch
simply adds back the social activities block to the social
course format.
2016-11-23 16:06:37 +08:00
Frederic Massart
84979ab793
MDL-57064 course: Return all properties when getting navigation options
2016-11-22 12:58:52 +08:00
Dan Poltawski
f7d76254fd
Merge branch 'MDL-56994-master-2' of git://github.com/junpataleta/moodle
2016-11-21 07:30:58 +00:00
Jun Pataleta
e47d61e198
MDL-56994 course: Show News field only if course format supports news
2016-11-21 10:05:01 +08:00
Jun Pataleta
87799e9fba
MDL-56994 course: New method to check if format supports news forum
2016-11-21 09:50:55 +08:00
David Monllao
30cfed3731
Merge branch 'MDL-57052-master' of git://github.com/jleyva/moodle
2016-11-21 09:47:51 +08:00
David Monllao
406f1eb76d
Merge branch 'MDL-57051-master' of git://github.com/jleyva/moodle
2016-11-21 09:45:44 +08:00
Andrew Nicols
5084343b3f
Merge branch 'MDL-42977-master' of git://github.com/lameze/moodle
2016-11-21 08:52:42 +08:00
Juan Leyva
0840b3e687
MDL-57052 course: Missing required file in check_module_updates_since
2016-11-19 17:27:01 +00:00
Juan Leyva
6706c1cb12
MDL-57051 course: Do not return directories in check_module_updates
2016-11-19 16:54:31 +00:00
EizEddin AlKatrib
af28ceb945
MDL-42977 course: Fixed the default behaviour of the Collapse/Expand all link
2016-11-18 14:24:42 +08:00
David Monllao
e3cb80f10c
Merge branch 'wip-MDL-56847-master' of git://github.com/marinaglancy/moodle
2016-11-16 19:38:08 +08:00
Andrew Nicols
6aefea74a4
Merge branch 'MDL-55209' of https://github.com/NeillM/moodle
2016-11-16 08:24:39 +08:00
Marina Glancy
5e5ce443fd
MDL-56847 tags: exclude modules that are being deleted
...
we don't check any access for admins for performance reasons, course modules
that are in the process of deletion should be filtered out on the early stage
2016-11-15 14:34:18 +08:00
David Monllao
3ecf492a75
Merge branch 'MDL-56811-master' of git://github.com/damyon/moodle
2016-11-11 12:13:30 +08:00
Damyon Wiese
16076f1e3d
MDL-56811 forum: Auto create the latest news forum
...
When a course is created or updated, create a news forum if the
newsitems setting is > 0.
2016-11-10 13:51:02 +08:00
Andrew Nicols
a6f85967e0
Merge branch 'MDL-56754-master' of git://github.com/jleyva/moodle
2016-11-10 08:29:04 +08:00
Juan Leyva
82f5802a94
MDL-56754 course: Stealth sections should be handled
...
Right now this WS is returning all the sections without advising if is
a stealth section or not, this have some implications (in the mobile
app right now the stealth sections are displayed)
2016-11-09 09:38:46 +00:00
David Monllao
d72c9774ae
Merge branch 'wip-mdl-56630' of git://github.com/rajeshtaneja/moodle
2016-11-08 14:47:25 +08:00
Rajesh Taneja
dc90838aaa
MDL-56630 behat: Click on link in specificed block/region
2016-11-08 14:45:43 +08:00
Jake Dallimore
89e20c74d5
MDL-54751 core_course: Fixed event type checks in adhoc deletion tests
2016-11-08 13:53:00 +08:00
David Monllao
44eb1490c4
MDL-54751 course: Set adhoc task user
...
We should complete the deletion process using the same
user that started it.
Added a new param to loginas() to prevent the event to be generated as
there is no need to generate an new event for that as the user didn't
explicitly loginas again.
2016-11-08 09:45:07 +08:00
Jake Dallimore
3704ff8cde
MDL-54751 phpunit: Support adhoc module and section deletion in phpunit
...
Created a new phpunit util function run_all_adhoc_tasks which runs any
pending tasks, for use in unit tests. Added new recyclebin and course
unit tests covering the new functionality.
2016-11-07 07:41:59 +08:00
Jake Dallimore
3869d77411
MDL-54751 core_course: Edit course libs to support deletion flag
...
Changed the course libs such that module and section deletion is now
handed off to relevant functions in the util class and exempted
modules scheduled for deletion from the course backups.
2016-11-07 07:41:59 +08:00
Jake Dallimore
37da62f360
MDL-54751 core_course: Create adhoc task for course module deletion
2016-11-07 07:41:59 +08:00
Neill Magill
c10bfee49f
MDL-55209 coursecat: Should be able to remove category idnumber test
...
A user should be able to remove an idnumber from a category, also 0
should not be allowed multiple times.
2016-11-02 09:50:30 +00:00
Eric Merrill
880fc15bf0
MDL-47162 core_message: Updating all uses of messaging to add courseid
2016-10-31 14:13:13 -04:00
Amanda Doughty
cc350fd9c8
MDL-47162 core_message: Add course id to message eventdata
2016-10-27 18:11:27 +02:00
David Monllao
26aa08b2f8
Merge branch 'MDL-56307-master' of git://github.com/jleyva/moodle
2016-10-25 17:33:08 +08:00
Juan Leyva
25adfbaa4a
MDL-56307 course: Support new returned data in WS
2016-10-25 10:10:55 +01:00
Juan Leyva
65b2669d98
MDL-56307 course: Return time updated and times updated
2016-10-25 10:10:55 +01:00
Russell Smith
cebce76f61
MDL-56307 course: Refactor file_storage
2016-10-25 10:10:53 +01:00
Juan Leyva
26659f626a
MDL-56307 course: New Web Service core_course_check_module_updates
2016-10-25 10:10:53 +01:00
Juan Leyva
02a73d767c
MDL-56307 course: New course_check_module_updates_since method
2016-10-25 10:10:52 +01:00
Rajesh Taneja
c99dffb69c
MDL-55074 behat: Fixed new theme related changes
2016-10-25 13:48:51 +08:00
Dan Poltawski
2eb61a66dc
Merge branch 'wip-MDL-56439-master' of git://github.com/marinaglancy/moodle
2016-10-24 14:33:53 +01:00
David Monllao
48f43096e0
Merge branch 'MDL-55074-master' of git://github.com/damyon/moodle
2016-10-24 12:33:51 +08:00
Damyon Wiese
4b937932a2
MDL-55074 theme_behat: Behat fixes for user_grade_navigation
2016-10-24 12:00:23 +08:00
Pau Ferrer Ocaña
28ff87bec1
MDL-56533 course: Add outcome scale information on get_course_module WS
2016-10-21 10:37:44 +02:00
Damyon Wiese
ba5c5083c5
MDL-55074 theme_boost: Behat fixes for latest theme changes
...
Fix I edit profile steps
Apply fixed header in css
Remove transitions from menus for behat
Be more specific about some "I follow" steps
Navigation path changes
"Current course" node removed from nav tree
Adapt tests because there are no default blocks
Force some space between action menu items
2016-10-21 16:06:54 +08:00
Damyon Wiese
245d354c6c
MDL-55074 theme_boost: Unit test fixes for all these changes
2016-10-21 12:40:06 +08:00
Damyon Wiese
d430a7c336
MDL-55074 navigation: Menu and nav changes
...
"Grades" belongs in the navigation block, not the settings block.
Course / Activity menus should not include a link to the full settings page list, if it is the same as the menu.
Competencies belongs in the navigation block not the settings block.
2016-10-21 12:40:05 +08:00