Juan Leyva
55a081bd87
MDL-64705 notes: Make notes WS return permissions information
...
We need to know some capabilities in order to enable users to manage notes.
2019-03-25 19:01:20 +01:00
Mihail Geshoski
fd45ae4566
MDL-63530 core_notes: Add support for removal of context users
...
This issue is part of the MDL-62560 Epic.
2018-10-30 16:18:24 +08:00
Marina Glancy
3960ad53a7
MDL-62430 privacy: validate context when deleting all user data
2018-05-14 18:13:27 +08:00
Zig Tan
7d5667ee57
MDL-61863 core_notes: Implemented privacy providers
2018-04-24 12:06:46 +08:00
Damyon Wiese
a6943ebb59
MDL-59758 core_user: Pluralise bulk actions
...
Don't say 1 people.
2017-11-07 14:39:04 +08:00
Damyon Wiese
b5b81de3d6
MDL-59758 core_user: Replace old bulk actions
...
The participants page has some clunky multi page forms for bulk actions. Replaces it with an ajax alternative.
2017-11-07 14:18:49 +08:00
Juan Leyva
e71687baf9
MDL-60198 webservice: Add missing MOODLE_INTERNAL checks
2017-09-21 13:01:28 +02:00
Mark Nelson
93b47710ac
MDL-59977 core: do not directly check 'viewparticipant' capability
2017-09-11 12:44:27 +08:00
Simey Lameze
fdeeaff954
MDL-58265 core_test: replace I turn editing on steps
...
Also remove few more unnecessary steps that redirects behat to
site home page to actually get to the course.
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
Simey Lameze
c987d1b2ef
MDL-58265 core_test: replace all uses of I follow course steps
...
Part of MDL-55611 epic.
2017-04-03 11:37:07 +08:00
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