Ourchive Release Notes, v0.5

Ourchive Release Notes, v0.5
Photo courtesy of Unsplash

Welcome back. We're wrapping up testing for 0.5 and expect to cut the tag sometime tomorrow (Feb 25). At that point, a release will be available on GitHub, and the below notes will be included.

Changelog

New

  • Work metadata copying to bookmarks - bookmarks now retain the work's title and tags; you can disable this behavior under your profile settings.
  • Private bookmarks
  • Work subscriptions
  • Basic exports for chive data
  • Chapter-level video hosting (in addition to work text video embedding)
  • Multi-creator works & collections

Updated

  • Fixed issues with chive backdating, improved functionality
  • Removed importer_requirements.txt from the project (h/t jdm@GitHub for opening an issue on this)
  • Link directly to comments on notification page
  • Improve admin configuration of image/video/upload permissions
  • Improved search, including dynamic range filtering
  • Documented Amazon SES email support
  • Collections rework
    • Collections have been updated to hold works, rather than bookmarks, and the UI has been updated. This change is intended to support bookmarks' expanded usage as a bookmark-first feature; v0.6 will include the ability to add external URLs as bookmarks, and the ability to add commentary to works you've added to a collection. 'Collections' are intended to allow users to create recommendation lists for works, so a parent-child relationship with bookmarks didn't really make sense. As part of this, the "bookmark detail" view has been removed. Bookmarks are a more private feature; collections are where content curators and reccers can display their analysis.
  • OAuth integration beginnings
    • Is OAuth fully functional? No! Functionality is stubbed out and will be live in v0.6.

Fixed

  • Preferred download failing on PDF & EPUB
  • Videos can't be embedded
  • Comments lose functionality on pagination
  • Comments don't load correctly when viewing full work on multi-chapter works
  • Attributes aren't linked or filterable
  • Search behaves unpredictably when filtering on attributes or tags
  • Tie token expiration to approval rather than account request date
  • Pagination on tag search results defaults to work tab
  • Non-rich-text posting broken
  • Broken links in documentation (h/t jdm @ GitHub for this fix)

How to upgrade

  1. Log onto your server, cd to the site directory, and run: git fetch && git checkout v0.5.0
  2. Activate your virtual environment and cd to the project directory (where requirements.txt lives)
  3. Update dependencies: pip install -r requirements.txt
  4. Double-check your .env file against env.sample
  5. Apply migrations: python manage.py migrate
  6. Collect static: python manage.py collectstatic
  7. Restart your server: systemctl gunicorn restart
  8. Restart your scheduler: systemctl apscheduler restart