1
0
forked from 0ad/0ad

Mod.io Disclaimer.

Have the user accept explicitly that he is subject to the Terms and
Conditions and Privacy Policy by the DBolical Pty Ltd company when using
their service with our client.

Rely on luck that this is sufficient to count as educating the users
about the personal data processed, the purposes and legal grounds of
personal data processing and the GDPR user right to access, rectify,
erase, restrict and complain, refs #5257, GDPR 13.
The Mod.IO DMCA report possibility should be added eventually.
Remove FileExists hack from da49aa1541 / D1602.
Refs D1601, https://github.com/elexis1/0ad/tree/terms

This was SVN commit r21896.
This commit is contained in:
elexis 2018-10-02 15:52:48 +00:00
parent a098f59a6b
commit 82740d9278
4 changed files with 16 additions and 6 deletions

View File

@ -41,7 +41,7 @@ function getTermsHash(page)
{
return Engine.CalculateMD5(
(g_Terms[page].salt ? g_Terms[page].salt() : "") +
(Engine.FileExists(g_Terms[page].file) ? Engine.ReadFile(g_Terms[page].file) : g_Terms[page].file));
Engine.ReadFile(g_Terms[page].file));
}
function loadTermsAcceptance()

View File

@ -0,0 +1,10 @@
0 A.D. Empires Ascendant mod.io Disclaimer
Document Date: 2018-08-09
You are about to connect to the mod.io online service.
This service provides an easy way to download and install community-made mods and is provided by DBolical Pty Ltd, the company behind IndieDB and ModDB.
Wildfire Games has taken care to make this connection secure and reviewed the mods for security flaws, but cannot guarantee that this does not pose any risks.
By using the service, you understand that mod.io's Terms of Use and Privacy Policy apply and that Wildfire Games is not liable for any damages resulting from this service.

View File

@ -2,8 +2,8 @@ function downloadModsButton()
{
initTerms({
"Disclaimer": {
"title": translate("Download Mods"),
"file": translate("You are about to connect to the mod.io online service. This provides easy access to community-made mods, but is not under the control of Wildfire Games.\n\nWhile we have taken care to make this secure, we cannot guarantee with absolute certainty that this is not a security risk.\n\nDo you really want to connect?"),
"title": translate("Disclaimer"),
"file": "gui/modio/Disclaimer.txt",
"config": "modio.disclaimer",
"accepted": false,
"callback": openModIo,

View File

@ -53,9 +53,9 @@ function initLanguageSelection()
languageDropdown.onSelectionChange = () => {
Engine.GetGUIObjectByName("mainText").caption =
Engine.FileExists(g_TermsFile) ?
(languageDropdown.selected == 1 ? Engine.TranslateLines(Engine.ReadFile(g_TermsFile)) : Engine.ReadFile(g_TermsFile)) :
g_TermsFile;
languageDropdown.selected == 1 ?
Engine.TranslateLines(Engine.ReadFile(g_TermsFile)) :
Engine.ReadFile(g_TermsFile);
};
languageDropdown.selected = languageDropdown.list.length - 1;