7374 Commits

Author SHA1 Message Date
Jun Pataleta
4e0d2064bb MDL-62554 tool_dataprivacy: Behat tests for managing registry defaults
* Also new step definitions and generator for:
  - Creating categories and purposes
  - Assigning category and purpose to context instances.
2018-09-10 12:16:20 +08:00
Jun Pataleta
08248c30a7 MDL-62554 tool_dataprivacy: Unit tests for new WS/API functions 2018-09-10 12:16:20 +08:00
Jun Pataleta
a1af857354 MDL-62554 tool_dataprivacy: Fix fetching of default contexts
* We also need to handle default contexts for activities. If defaults
  for an activity is set, fetch that. If not, fetch the defaults for
  the context level.
2018-09-10 12:16:20 +08:00
Jun Pataleta
f7bcdf61c5 MDL-62554 tool_dataprivacy: Allow setting of activity defaults
* Allow the setting of data registry defaults for activity modules.
* Rewrite the defaults page so that it uses templates.
* Use a tabbed layout for the defaults page that shows the default
  category and purpose per context level.
* New API and web service functions that enables the setting of the
  defaults.
2018-09-10 12:16:12 +08:00
Eloy Lafuente (stronk7)
f6cafe495e Merge branch 'MDL-63249-master-enfix' of git://github.com/mudrd8mz/moodle 2018-09-04 22:34:51 +02:00
David Monllao
acfdb84f3c Merge branch 'MDL-62342-master' of git://github.com/mihailges/moodle 2018-09-04 14:33:50 +02:00
Helen Foster
24a29d720c MDL-63249 lang: Merge English strings from the en_fix language pack
Significant string changes:

* completionpass_help, gradetopassnotset in mod_quiz - grade to pass set
  in quiz settings not gradebook
* namecolumnmissing,core_cohort - fixing incorrect message about adding
  users to a cohort
2018-09-04 08:40:48 +02:00
Eloy Lafuente (stronk7)
9b92642cf1 MDL-60901 environment: 3.6 requirements
Changes include:
- MySQL 5.6 is required.
- PostgreSQL 8.4 is required.
- Oracle 11.2 is required.
- 64bits architecture is recommended.
2018-09-03 10:15:26 +02:00
Mihail Geshoski
2e72392bbf MDL-62342 privacy: Fix strings used in the consent on behalf modal 2018-09-03 12:53:19 +08:00
Mihail Geshoski
c106d489c5 MDL-62342 privacy: Use singular/plural form in labels 2018-09-03 12:53:19 +08:00
Eloy Lafuente (stronk7)
cf76059eda Merge branch 'MDL-62535-master' of git://github.com/abgreeve/moodle 2018-08-30 01:19:57 +02:00
Andrew Nicols
e36019c2f3 Merge branch 'wip-MDL-62742-master' of git://github.com/marinaglancy/moodle 2018-08-29 08:31:08 +08:00
Eloy Lafuente (stronk7)
1766184e97 Merge branch 'MDL-63094-master' of git://github.com/andrewnicols/moodle 2018-08-28 23:53:58 +02:00
Marina Glancy
442f12f81a MDL-62742 core: rename coursecat->core_course_category
Also rename course_in_list -> core_course_list_element
Deprecate class coursecat_sortable_records
2018-08-28 11:36:23 +02:00
Eloy Lafuente (stronk7)
ed0d19e7b9 Merge branch 'MDL-62989-master' of git://github.com/mihailges/moodle 2018-08-27 17:51:20 +02:00
Jun Pataleta
1b070cfe41 MDL-63187 tool_dataprivacy: Behat fixes for confirmation lang strings 2018-08-27 22:34:33 +08:00
David Monllao
0d9ddf210c MDL-63187 tool_dataprivacy: Update delete purpose and category lang strings 2018-08-27 12:11:53 +02:00
David Monllao
b8122ba333 Merge branch 'MDL-63187-master' of git://github.com/junpataleta/moodle 2018-08-27 11:54:24 +02:00
Mihail Geshoski
d6e8841313 MDL-62989 privacy: Improve data request order for users 2018-08-24 15:32:34 +08:00
Jun Pataleta
e477bed27b MDL-63187 tool_dataprivacy: Improve confirm message lang strings
* Updated the delete confirmation messages so that the category/purpose
names are shown in italics. This makes it easier for the privacy officer
to see the category/purpose that is being deleted.
2018-08-23 16:53:03 +08:00
Andrew Nicols
5ab0e8aae3 MDL-63094 tool_policy: Fix the cookie banner to the bottom
Floating banners cause issues with clickability in Behat as it is unable
to understand that it cannot interact with the elements underneath the
floating banner, or that it needs to scroll the page so that the
required content is no longer beneath the floating banner.

Changing the banner to be fixed to the bottom of the page during Behat
runes is a reliable fix.
2018-08-22 11:00:08 +08:00
Andrew Nicols
4b6780417e MDL-63094 tool_policy: Fix race condition in modal display
The way in which the modal was displayed meant that there were no
pending JS items, whilst the modal was rendered, causing random behat
fails.

This JS has been restructured to create the Modal and pass it a set of
Promises for both the title, and body.
2018-08-22 10:23:30 +08:00
Eloy Lafuente (stronk7)
726c0ab9a3 MDL-62660 xmldb: fix tool_dataprivacy_request_>status to int(2)
So the new defined statuses fit in the column for all databases.
2018-08-21 23:57:35 +02:00
Jun Pataleta
9193226522 MDL-63187 tool_dataprivacy: Behat tests for purposes/categories CRUD 2018-08-21 16:34:29 +08:00
Jun Pataleta
bcff8dfb3f MDL-63187 tool_dataprivacy: Fix delete button text
* No need to add the purpose/category name for the delete button itself
* Fix delete confirmation lang strings.
* Add button titles to Add purpose/category buttons so they can be
  clicked on when running Behat tests.
2018-08-21 16:18:55 +08:00
Andrew Nicols
440dad627f Merge branch 'MDL-62660-master' of git://github.com/junpataleta/moodle 2018-08-21 11:09:33 +08:00
Jun Pataleta
4ecb1c6221 MDL-62660 tool_dataprivacy: Behat fix for data deletion 2018-08-21 10:27:21 +08:00
Jun Pataleta
237c85d303 MDL-62660 tool_dataprivacy: CI fixes 2018-08-21 09:28:48 +08:00
Víctor Déniz Falcón
02fda279ed MDL-57281 behat: deprecated step definition I navigate to node in
Definition step deprecated and affected tests modified.
2018-08-20 12:53:26 +01:00
Michael Hawkins
a1e1cf63fd MDL-62660 tool_dataprivacy: Behat additions for deletion and data expiry 2018-08-20 15:31:20 +08:00
Michael Hawkins
95a844ebdc MDL-62660 tool_dataprivacy: Add and update PHPUnit tests
Updated tests with latest statuses.
Added testing for request download expiry functionality and method.
Added assign_site_dpo within a parent class for unit tests.
2018-08-20 15:31:20 +08:00
Michael Hawkins
5f9a31ee79 MDL-62660 tool_dataprivacy: Add scheduled task to expire data requests 2018-08-20 15:31:20 +08:00
Michael Hawkins
693f690c18 MDL-62660 tool_dataprivacy: Add ability to expire data requests
Also replaced Completed status with situation specific statuses.
Also improved UX on request pages in line with expiries and the aadditional statuses.
2018-08-20 15:31:20 +08:00
Adrian Greeve
4905daf497 MDL-62535 tool_dataprivacy: Registry shows deprecated interfaces. 2018-08-20 11:32:01 +08:00
Jake Dallimore
215ecb017a Merge branch 'MDL-62884-master' of git://github.com/damyon/moodle 2018-08-17 16:02:05 +08:00
Andrew Nicols
6cf24801a9 Merge branch 'MDL-62600-master' of git://github.com/mickhawkins/moodle 2018-08-15 08:53:30 +08:00
Eloy Lafuente (stronk7)
92af6a3998 Merge branch 'MDL-62341-master' of git://github.com/mihailges/moodle 2018-08-15 00:03:18 +02:00
Michael Hawkins
161a5c8ab9 MDL-62600 tool_dataprivacy: Corrected availability of PO pages to admins 2018-08-14 11:28:31 +08:00
Karen Holland
179a9f24db MDL-62896 Privacy: External plugin Additional label update. 2018-08-13 08:32:21 +00:00
Mihail Geshoski
be38df119d MDL-62341 privacy: Add behat test 2018-08-13 07:52:09 +08:00
Mihail Geshoski
e55e9df388 MDL-62341 privacy: Add link to previous page in viewall policies page 2018-08-13 07:52:09 +08:00
Eloy Lafuente (stronk7)
43ae41a100 Merge branch 'MDL-50325_inconsistent_check_missing_module' of http://github.com/enovation/moodle 2018-08-08 00:06:09 +02:00
Eloy Lafuente (stronk7)
925d1dc60e Merge branch 'MDL-62065-master' of git://github.com/cescobedo/moodle 2018-08-07 15:51:34 +02:00
Andrew Nicols
2a8830379f Merge branch 'wip-MDL-61424-master' of git://github.com/marinaglancy/moodle 2018-08-07 08:18:58 +08:00
Andrew Nicols
e980f89a4f Merge branch 'MDL-62996-master' of git://github.com/junpataleta/moodle 2018-08-06 12:10:51 +08:00
Eloy Lafuente (stronk7)
1ffa22bbc7 Merge branch 'MDL-61041-master' of git://github.com/damyon/moodle 2018-08-01 16:36:12 +02:00
Marina Glancy
9991670ff9 MDL-61424 admin: reset registration if token is rejected 2018-07-30 16:12:05 +02:00
cescobedo
df536ab17d MDL-62065 core_access: First deprecation of get roles on exact context 2018-07-29 22:43:06 +02:00
Jun Pataleta
1d4eecffc6 Merge branch 'MDL-62950-master' of git://github.com/andrewnicols/moodle 2018-07-27 16:19:22 +08:00
Jun Pataleta
b1cc8171c0 MDL-62996 tool_dataprivacy: Add 3.4/3.3 upgrade steps to 3.5+
This is to ensure that sites that have the early dev version of the tool
can upgrade smoothly to 3.5 and up.
2018-07-27 15:56:37 +08:00