Before I get into the release notes, I would like to thank everyone who has subscribed to the Manager: it has not even been a full 24 hours since the feature went live and...honestly you guys caught me off guard!
When I woke up this morning and checked my inbox, I saw the subscription orders and realized that I'm going to have to step up my plans to implement subscriber-only content.
Therefore, release 2.48.916 delivers a single new feature that paves the way for the introduction of subscriber-only content: API-based preference management on the dashboard.
(Which...in terms of features, is honestly not a huge deal, but is still one more element of the legacy webapp to be migrated to the API and thus should improve overall performance of the Manager, etc.)
As of release 2.48.916, Survival +5 subscribers to the Manager will notice a new preference called 'Beta' under the 'System' tab on the Dashboard.
Enabling this preference is basically an opt-in flag that will cause new/experimental features and functionality to be accessible to you when you use the Manager.
A few things about the Beta opt-in preference:
- Beta features will always be clearly identified as such in the webapp. For example, if there is a new feature in the side nav called "Hunt Phase" it will say "Hunt Phase (Beta)" or similar.
- Beta features are always going have bugs, problems, issues. If you are opting in on the beat stuff, expect it to be a little wonky.
- Many beta features will ultimately become subscriber-only features, but some will (eventually) become regular features of the webapp.
- Ideally, if you're opting in to see beta features, you'll report back (using GitHub or the in-app controls) to me about your experience.
At any rate, now that all of that new preference management code is in production, I am going to take a little break from daily releases and start working on some of what I've got planned for subscriber-only features!
Thanks for using the Manager!
Corrections and Fixes
- Fixed a bug where performing certain Settlement-level operations could cause a traceback. -SF
- Addressed a wide-screen presentation issue affecting storage where the button to close the storage controls could sometimes be blocked by a scroll bar.
- Fixed a typo that caused behavior where you had to click the 'About' panel twice on the Dashboard to get it to un-hide.
- Settlement storage controls are zebra-striped and spaced out a little bit more (for better readability).
- Replaced legacy webapp preference management with API-based AngularJS controls:
- removed support for updating preferences from session.py
- removed support for changing password from session.py
- removed user preferences object/class and assets from the legacy app's models.py
- removed the call to assets.Users.html_motd() from setssion.py. The dashboard is all HTML (i.e. an AngularJS app) now.
- The session.Session.render_dashboard() method is a one-shot now: it calls html.dashboard.angular_app as a template, renders it and...that's it.
- Deprecated assets.Users.html_motd() finally. Always hated that thing.
- Removed the vestigial preferences option for confirming on remove from storage.
- Wrote a nice little AngularJS password updater to replace the old, crappy HTML one.
- Added the "Sign Out" button back to the dashboard prefs controls
- Removed preference defaults from the legacy webapp settings.cfg file
- Removed User class methods for updating preferences and password
- Update the get_preference() method for the User class to just return False if the user hasn't specified a preference.
- Redesigned the presentation of preference boxes and re-skinned it for all three breakpoints.
- Added a generic method to dashboard.js main controller for flipping dashboard arrows.
- The kdmManager.js method postJSONtoAPI() now supports POSTing to user routes.
- Replaced dashboard images with HTML entities; hooked them up to a simple JS flipper for better UI/UX.
- Added Logan's logo to the API's static/media content; created a route in api.py that redirects requests for /favicon.ico to the file (as a png). Just got tired of seeing the tab with no icon, you know?
- Updated admin.py to accept an email address (or an OID) as the value for the -U flag (i.e. work with user info).
- Prettied up the output of the admin.py user update script (to use the other method in the admin file that dumps a dict in a pretty way).
- Moved user preference management to the API:
- added assets.user_preferences.py and models.user_preferences.py
- Added /user/update_password/<oid> route support.
- User preference assets now have a patron level.
- Created set_preferences() method and matching route for the User object.
- Documented the new route.