Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

account data export #44

Closed
grarer opened this issue Feb 17, 2021 · 0 comments · Fixed by #106
Closed

account data export #44

grarer opened this issue Feb 17, 2021 · 0 comments · Fixed by #106
Assignees
Labels
feature New features or components

Comments

@grarer
Copy link
Owner

grarer commented Feb 17, 2021

for compliance with internet regulations, we need to make it possible to download a human-readable and machine-readable exported version of their user data. For us this means their account info, friends, status, and profile (although profiles are not yet implemented). This should probably be a human-readable json file like

{
    "username": "alice",
    "fullName": "Alice Exampleton",
    "friendlyName": "Alice",
    "gender": "Female",
    "email": "alice@example.com",
    "birthDate": "1995-03-05",
    "friends": [
        {
            "username": "bob",
            "fullName": "Robert Defacto",
            "friendlyName": "Bob"
        },
        {
            "username": "charlie",
            "fullName": "Charlie McExampleface",
            "friendlyName": "Charlie"
        }
    ],
    "statusMessage": null,
    "doNotDisturb": false
}

This should not include user UUIDs, since those are an internal representation specific to boop. Users' friends should be identified by their names and usernames, not their UUIDs.

The json-beautify package looks like a good choice for rendering the object into JSON that has whitespace for human-readability, rather than JSON.stringify() which puts everything on one line and is not very human readable.

@grarer grarer added the feature New features or components label Feb 17, 2021
@grarer grarer linked a pull request Mar 25, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New features or components
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants