Commit graph

8 commits

Author SHA1 Message Date
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