Commit graph

98 commits

Author SHA1 Message Date
Andrew Nicols
e06f0c44ea MDL-62948 tool_policy: Increase window size
In the default window size the floating footer detaling the privacy
policies covers the "Login as guest" button.
2018-07-20 11:10:49 +08:00
Jake Dallimore
523662f141 Merge branch 'MDL-62670-master' of git://github.com/sarjona/moodle 2018-07-05 09:25:41 +08:00
Sara Arjona
8502f02ae0 MDL-62670 policy: viewall.php must display always all active policies
The viewall.php page is called from the mobile app to display the policies
to the users before agree them. That's why it must display all the active
policies (even for guests), to guarantee the users agree all current
policies from the app.
2018-07-04 12:04:41 +02:00
Sara Arjona
0138ad60b0 MDL-62670 policy: Remove footer link when there are not active policies 2018-07-04 07:52:47 +02:00
David Mudrák
dd808ec6b9 MDL-62796 tool_policy: Fix a regression in Behat test
We now correctly show the popup with links to policies that apply to
anonymous visitors of the site. So the name of the guests only policy
became visible in this popup in more cases and it caused false failures.

The point of the lines affected by this patch is to make sure that the
policy does / does not appear in the list of policies to be accepted. So
I am making it more specific of where the text is / is not supposed to
be seen.
2018-07-03 10:58:29 +02:00
Eloy Lafuente (stronk7)
d34b408d98 Merge branch 'MDL-62763-master-enfix' of git://github.com/mudrd8mz/moodle 2018-07-02 20:09:07 +02:00
Helen Foster
9722f6a25e MDL-62763 lang: Merge English strings from the en_fix language pack
Significant string changes:

* various strings in tool_dataprivacy and tool_policy - 'Data Protection
  Officer' changed to 'privacy officer'
* idnumbermod_help,core - mentioning resource and custom reporting
2018-07-02 11:15:26 +02:00
Marina Glancy
e2029b8387 MDL-62796 tool_policy: show popup for users who are not logged in 2018-06-26 13:24:44 +08:00
Marina Glancy
7115c32949 MDL-62493 tool_policy: correct redirection
do not override session->wantsurl
do not redirect guests to user.php, they get an error there
2018-05-25 14:29:40 +08:00
Marina Glancy
deaf67147d MDL-62493 tool_policy: allow guests to sign up 2018-05-25 14:29:40 +08:00
Sara Arjona
68ed91b7af MDL-62433 tool_policy: Review language strings for consistency
All credit goes to Helen Foster. Thanks! :-*
2018-05-15 14:21:03 +02:00
Sara Arjona
5e84f521fa MDL-62433 tool_policy: Some minor fixes to Privacy API implementation
- Export files for agreements too.
- Add versionid to the export path to avoid collision if version revision
is not defined.
2018-05-15 14:07:31 +02:00
Andrew Nicols
f63745eabd MDL-62433 tool_policy: Adjustments to the data export 2018-05-15 14:07:31 +02:00
Sara Arjona
827c8e98ac MDL-62433 tool_policy: Review privacy provider for adding versions 2018-05-15 14:07:31 +02:00
Mihail Geshoski
0bffcfccdd MDL-62418 tool_policy: Display blocks in user policies and agreements 2018-05-14 14:18:10 +08:00
Sara Arjona
5bf7f59a19 MDL-62418 tool_policy: Redirect always to home when agreed all policies 2018-05-13 21:26:47 +02:00
Sara Arjona
15ed7d938e MDL-62418 tool_policy: Display blocks in Consent page when using clean 2018-05-13 20:42:04 +02:00
Eloy Lafuente (stronk7)
8e8ae80550 Merge branch 'MDL-62354-master-enfix' of git://github.com/mudrd8mz/moodle 2018-05-10 11:37:55 +02:00
David Monllao
337673949b Merge branch 'MDL-62056-master' of git://github.com/sarjona/moodle 2018-05-10 09:17:28 +08:00
David Mudrák
14e0ab3536 MDL-62354 tool_policy: Reflect the strings improvements in Behat tests 2018-05-09 22:39:22 +02:00
Helen Foster
a5591614d5 MDL-62354 lang: Merge English strings from the en_fix language pack
Significant string changes:

* publishstate_help, core_notes - including GDPR guidance
* contactdataprotectionofficer_desc, tool_dataprivacy - removing mention
  of link on privacy policy page as it is not yet implemented
2018-05-09 22:39:21 +02:00
Sara Arjona
fd7174d03f MDL-62056 policy: Adapt code to avoid travis errors on Github 2018-05-09 08:31:32 +02:00
Eloy Lafuente (stronk7)
57ea6753d3 MDL-62361 versions: bump all versions and requires near release
version = 2018051400 release version
requires= 2018050800 current beta+ (week4roll1) version
2018-05-09 02:46:30 +02:00
Andrew Nicols
44d8324247 Merge branch 'MDL-62281-master' of git://github.com/sarjona/moodle 2018-05-08 11:34:46 +08:00
Sara Arjona
a22f7bbb3a MDL-62281 tool_policy: Remove empty row in Policies and agreements page 2018-05-07 12:53:40 +02:00
Jun Pataleta
ea083b0a5e Merge branch 'MDL-62062-master' of git://github.com/sarjona/moodle 2018-05-07 17:21:49 +08:00
Sara Arjona
461b1931c0 MDL-62062 tool_policy: Let manager/dpo withdraw consent to policies
The policies can be revoked by clicking the "Agreed [on behalf]" ticks.
A message has been added also to explain users they must contact to
the DPO if they want to withdraw their consent to policies.
2018-05-07 10:11:13 +02:00
Jun Pataleta
23fbd252db Merge branch 'MDL-62286-master' of git://github.com/sarjona/moodle 2018-05-07 10:05:24 +08:00
Eloy Lafuente (stronk7)
6a23fb2171 MDL-62202 privacy: fix behat tests to point to new location under users 2018-05-03 22:48:29 +02:00
Sara Arjona
3d34aa5c29 MDL-62062 tool_policy: Avoid access to consent page after agreeding
Once the policies have been accepted, only users with permission to
revoke them will be able to access again to the user consent page.
2018-05-03 13:59:21 +02:00
Sara Arjona
54659fd14d MDL-62286 tool_policy: Add Policies link to the site footer 2018-05-02 14:20:49 +02:00
Helen Foster
970c1a4bf1 MDL-62181 lang: Merge English strings from the en_fix language pack
Significant string changes:

* sitepolicies, core_admin - 'Site policies' changed to 'Site security
  settings'
* processexpirationstask, enrol_paypal - more explanatory name
* sitepolicy_help and sitepolicyguest_help, core_admin - setting will
  only have an effect if the site policy handler is set to default
* sitepolicyhandler_desc,core_admin - improved wording
* pathtodot_help, core_admin - Windows and Mac paths
* debugstringids_desc, core_admin - improved explanation
2018-04-24 22:05:30 +02:00
Jun Pataleta
d11786cee3 Merge branch 'MDL-62162-master' of git://github.com/sarjona/moodle 2018-04-24 10:25:33 +08:00
Sara Arjona
077ebb2a0b MDL-62162 policy: Define context when accessing to viewall.php 2018-04-23 18:29:27 +02:00
Marina Glancy
e8cf2ffd61 MDL-61939 tool_policy: usermodified should be realuser
When logged in as another user and accept the policies on somebody else's behalf make sure that
usermodified is recorded as real user
2018-04-23 09:45:26 +08:00
Eloy Lafuente (stronk7)
fe0ce39b8f NOBUG: Fixed SVG browser compatibility 2018-04-20 23:53:52 +02:00
Andrew Nicols
7d0fcb5c86 MDL-61864 tool_policy: Fix whitespace issues 2018-04-18 12:16:53 +08:00
Marina Glancy
d5cfbc918f MDL-61864 tool_policy: cancel button when agreeing to policies
Show cancel button during signup only and do not show when user is logged
in and has to accept changed policies

When cancel button is clicked redirect to the site homepage
2018-04-17 14:19:19 +08:00
Marina Glancy
432a90f1ed MDL-61868 tool_policy: export agreements in privacy api
Part of MDL-61864
2018-04-17 14:19:16 +08:00
Sara Arjona
24966a26c7 MDL-61868 tool_policy: Implement privacy API
Part of MDL-61864
2018-04-16 11:30:14 +08:00
Sara Arjona
4e9e2b0a0a MDL-61844 policy: Avoid to accept new policies during current session
Avoid redirection for accepting new policies during the manager user session
when $user->policyagreed=0 and he/she activates the first policy for logged in users.

Part of MDL-61864
2018-04-16 11:30:14 +08:00
Sara Arjona
3f9b276b97 MDL-61866 tool_policy: Add readme_moodle.txt file and reorganise styles.css
- Review changes made in jquery-eu-cookie-law-popup.js, for minimising them
(add eslint-disable to disable checking)
- Reorganise styles.css to separate CSS code from jquery-eu-cookie-law-popup
to policy one.
- Create readme_moodle.txt file, with instructions for updating the
jquery-eu-cookie-law-popup lib.

Part of MDL-61864
2018-04-16 11:30:14 +08:00
Marina Glancy
cc3790d0ea MDL-61864 tool_policy: function can_delete_version
review TODOs in code, make sure they are either removed or tracker issues are created
2018-04-16 11:30:13 +08:00
Marina Glancy
673b598109 MDL-61864 tool_policy: coding style fixes 2018-04-16 11:30:13 +08:00
Mihail Geshoski
92a03f69d2 MDL-61864 tool_policy: accept policies on signup 2018-04-16 11:30:13 +08:00
Sara Arjona
6109f2348b MDL-61864 tool_policy: display policies to guests and users 2018-04-16 11:30:13 +08:00
Marina Glancy
cf398020d5 MDL-61864 tool_policy: user agreement reports 2018-04-16 11:30:13 +08:00
David Mudrák
3d9571d5f0 MDL-61864 tool_policy: management of the site policies 2018-04-16 11:30:10 +08:00