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

Export all survey tables to CSV #426

Merged
merged 7 commits into from
Jan 24, 2019
Merged

Export all survey tables to CSV #426

merged 7 commits into from
Jan 24, 2019

Commits on Jan 22, 2019

  1. Export all survey tables to CSV

    Saves separate CSVs to the 'exports' folder
    
    Refs #384
    fungjj92 committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    0e6a00a View commit details
    Browse the repository at this point in the history
  2. Return zip of CSVs to user

    The CSVs are created in-memory and returned to the user so there are no artifacts left on the server. We don't expect the database to get large enough to warrant memory issues.
    
    Refs #384
    fungjj92 committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    527f50d View commit details
    Browse the repository at this point in the history
  3. Download survey zip at /beekeepers/export

    The task suggested adding this functionality to Django's admin interface. The admin view is however not easily customizable. Downloading the zip file from an endpoint was more possible and straightforward and is pretty flexible.
    
    Refs #385
    fungjj92 committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    bc000dc View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2019

  1. Clean up

    fungjj92 committed Jan 23, 2019
    Configuration menu
    Copy the full SHA
    0fa7c4c View commit details
    Browse the repository at this point in the history
  2. Allow admin user to export CSV from frontend user dropdown

    It is better UX to have CSV download access via the front-end than to log into the django admin or remember a URL.
    
    Refs #385
    fungjj92 committed Jan 23, 2019
    Configuration menu
    Copy the full SHA
    dd41f79 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e1eb141 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2019

  1. Configuration menu
    Copy the full SHA
    e371fce View commit details
    Browse the repository at this point in the history