Marina Glancy
7a12a02dc7
MDL-56614 behat: add navigation block when required
...
Most of these hacks have links to corresponding MDL issues
2016-12-06 11:49:14 +08:00
Simey Lameze
face152176
MDL-51347 core_notes: check view notes capability by course context
2016-11-10 16:15:31 +08: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
Frederic Massart
525ef9c8b4
MDL-51948 core: Patch core areas for LTR forms
...
Part of MDL-55071
2016-09-23 10:55:14 +01:00
Rajesh Taneja
52f3e060e4
MDL-55091 phpunit: Following has been deprecated.
...
1. getMock()
2. setExpectedException()
3. checkForUnintentionallyCoveredCode renamed to beStrictAboutCoversAnnotation
4. beStrictAboutTestSize renamed to enforceTimeLimit
5. UnitTestCase class is now fully removed.
2016-07-26 10:11:30 +08:00
Cameron Ball
f23e9b6ba4
MDL-49414 webservices: Remove deprecated functions
2016-04-27 15:54:38 +08:00
Mark Nelson
be5e0110ff
MDL-49566 core: used reflection in unit tests
...
Also split the tests into multiple functions for each scenario.
2015-12-29 17:42:43 +08:00
Ankit Agarwal
bef0d6b052
MDL-49566 core: Write unittests for MDL-45898
2015-12-29 11:22:42 +08:00
Ankit Agarwal
59eef1a174
MDL-49566 notes: Notes link should not show up for guests
2015-12-29 11:22:42 +08:00
David Monllao
6bcff8abf5
Merge branch 'MDL-47065-master' of git://github.com/danpoltawski/moodle
2015-11-16 15:25:42 +08:00
Dan Poltawski
00d70d79a4
MDL-47065 notes: prevent empty spaces added as note
...
(And updated behat test for this test case)
2015-11-12 09:56:56 +00:00
Jun Pataleta
2a4c236704
MDL-47065 behat: improve verificaton of lack of note
2015-11-12 09:56:56 +00:00
Dan Poltawski
142099e2a6
MDL-47065 notes: don't add blank notes
...
Previously the logic was wrong and was proceeding to add a note
when content was missing.
Also add behat coverage for adding notes to participants (this test is
not perfect, but better than zero coverage we had before).
2015-11-12 09:56:14 +00:00
Dan Poltawski
4d9edf1b15
MDL-51536 webservices: fix invalid param definitions
2015-10-13 19:01:42 +01:00
Eloy Lafuente (stronk7)
c75b891ba7
Merge branch 'MDL-49821-master-master' of git://github.com/jleyva/moodle
2015-10-01 01:26:58 +02:00
Juan Leyva
4485f7c549
MDL-49821 webservice: Add active user checks in external functions
2015-09-25 11:33:13 +02:00
Juan Leyva
48a90a215b
MDL-51415 webservice: Check course access using can_access_course()
...
This function check both user enrolled and course:view capabilities
2015-09-22 15:29:49 +02:00
Juan Leyva
c7697399d1
MDL-51325 notes: Fix external get_course_notes to return site notes
2015-09-04 11:05:08 +02:00
Juan Leyva
6166a9fbe7
MDL-50816 notes: Delete never met condition code
2015-07-15 15:31:26 +02:00
David Mudrák
e9acc1d6c5
MDL-50289 notes: No navigation to notes if the feature is disabled
2015-05-25 12:35:26 +02:00
Dave Cooper
327e68e69d
MDL-49845 notes: Changed headers for notes index
2015-05-04 14:02:17 +08:00
Dave Cooper
298c9da5f1
MDL-49845 navigation: Fix breadcrumbs for links in my profile.
2015-05-04 14:02:16 +08:00
John Okely
4887d15228
MDL-49983 navigation: Remove 'my' from user context navigation
2015-05-04 12:38:50 +08:00
David Monllao
89a6290fb9
Merge branch 'MDL-45131-master' of git://github.com/jleyva/moodle
2015-04-16 17:04:34 +08:00
Juan Leyva
80cb20afe5
MDL-45131 notes: Add validation for returned parameters in WS tests
2015-04-16 10:25:52 +02:00
Adrian Greeve
e29866b57f
MDL-49819 navigation: User profile string improvement.
...
Part of MDL-45774.
2015-04-13 14:41:55 +08:00
Ankit Agarwal
b19cc4ef25
MDL-45898 myprofile: Redesign my profile page
...
Part of MDL-45774.
Contributions by John Okely, Jetha Chan and Damyon Wiese (squashed branch).
AMOS BEGIN
CPY [coursebadges,core_badges], [badges,core_badges]
AMOS END
2015-04-10 17:17:32 +08:00
Damyon Wiese
4e1f60478a
MDL-49635 Navigation: Site pages consistent headers + navigation for preferences
...
Preferences pages cancel and continue buttons should lead back to preferences page.
Site pages should have consistent headers and breadcrumbs.
Hide the "Preferences" node in the navigation.
Part of MDL-45774
2015-04-10 17:17:07 +08:00
Adrian Greeve
f495187da7
MDL-48935 navigation: Update the user nav breadcrumbs.
...
Part of MDL-45774.
2015-04-10 17:17:07 +08:00
Adrian Greeve
880c50731f
MDL-48930 navigation: Using user headers in user pages.
...
Pages that are percieved to be in a user context are now
using a user context for the header.
Part of MDL-45774
2015-04-10 17:17:07 +08:00
Dan Poltawski
8cf919bc1d
MDL-49504 notes: fix trailing whitespace
2015-04-07 11:17:44 +01:00
Juan Leyva
29ab635180
MDL-49504 notes: Unit tests for core_notes_view_notes
2015-04-02 16:47:23 +02:00
Juan Leyva
ec1a54ef03
MDL-49504 notes: New external function core_notes_view_notes
2015-04-02 16:45:20 +02:00
Juan Leyva
f0c5f8406c
MDL-49504 notes: Move note view triggering to API function
2015-04-02 16:42:07 +02:00
Ankit Agarwal
7ceee32454
MDL-49330 webservices: Fix get_course_notes api
2015-04-02 11:09:25 +02:00
Juan Leyva
d4fdd3a1b0
MDL-49330 core_notes: Fixed unit tests (broken in postgres)
2015-04-01 13:02:25 +02:00
Costantino Cito
12068d65cb
MDL-49330 core_notes: Unit tests for get_course_notes
2015-04-01 10:44:45 +02:00
Costantino Cito
9857381dc3
MDL-49330 core_notes: New external function core_notes_get_course_notes
2015-04-01 10:44:45 +02:00
David Monllao
3c1aa6fdfb
MDL-43535 webservices: Marking functions as deprecated
...
Also:
- We don't allow users to add deprecated functions to WS
- We show a debugging message when deprecated functions
are already being used in web services.
2015-02-09 05:42:22 +08:00
Andrew Nicols
60d807811f
MDL-41026 webservices: Correct unit tests
2015-01-28 13:50:57 +08:00
Jerome Mouneyrac
09ca18a47e
MDL-41026 webservices: use correct param format in external apis
2015-01-27 10:06:09 +05:30
Yuliya Bozhko
369484bf87
MDL-47033 general: Fix incorrect use of 'course' layout
...
It should use 'incourse' layout in most cases
Signed-off-by: Yuliya Bozhko <yuliya.bozhko@totaralms.com>
2014-09-05 09:25:43 +12:00
Dan Poltawski
992207f75e
MDL-46316 notes: coding style fixes
...
Line length issues Andrew missed off.
2014-07-21 12:41:22 +01:00
Andrew Davis
ed6fc2620c
MDL-46316 notes: coding style fixes
2014-07-18 13:43:17 +08:00
Andrew Davis
e9fb99b15c
MDL-46218 reshuffled access checks in blog and notes
2014-07-14 10:33:38 +08:00
Marina Glancy
9dbf62d230
MDL-45760 make sure to check permission before setting header
2014-07-07 15:06:08 +01: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
Rajesh Taneja
623a32e50d
MDL-43736 Events: Updated unit test to test context not used in event
2014-01-29 11:39:50 +08:00
Ankit Agarwal
9bb0353c89
MDL-42583 events: Fix snapshot issues with note events
2013-10-31 13:43:37 +08:00