Releases: indentlabs/notebook
Releases · indentlabs/notebook
3.4.0 - End-of-2021 release
What's Changed
- Bump flipper-redis from 0.20.3 to 0.20.4 by @dependabot-preview in #907
- Bump bullet from 6.1.3 to 6.1.4 by @dependabot-preview in #908
- Bump bundler-audit from 0.7.0.1 to 0.8.0 by @dependabot-preview in #909
- Bump rails_admin from 2.0.2 to 2.1.1 by @dependabot-preview in #910
- Bump kramdown from 2.3.0 to 2.3.1 by @dependabot in #916
- Bump sidekiq from 6.1.3 to 6.2.1 by @dependabot-preview in #922
- Bump pry from 0.13.1 to 0.14.1 by @dependabot-preview in #924
- [Security] Bump rexml from 3.2.4 to 3.2.5 by @dependabot-preview in #928
- Bump lodash from 4.17.20 to 4.17.21 by @dependabot in #933
- [Security] Bump puma from 5.2.2 to 5.3.1 by @dependabot-preview in #937
- [Security] Bump nokogiri from 1.11.1 to 1.11.5 by @dependabot-preview in #938
- Bump stripe from 5.29.0 to 5.33.0 by @dependabot-preview in #939
- Bump aws-sdk-s3 from 1.91.0 to 1.95.1 by @dependabot-preview in #943
- Upgrade to GitHub-native Dependabot by @dependabot-preview in #929
- Bump rspec-rails from 5.0.0 to 5.0.1 by @dependabot-preview in #914
- Migrate from TravisCI to GitHub Actions & actually write tests by @drusepth in #940
- Bump postcss from 7.0.35 to 7.0.36 by @dependabot in #964
- Bump ws from 6.2.1 to 6.2.2 by @dependabot in #963
- Bump ibm_watson from 2.0.1 to 2.1.1 by @dependabot in #962
- Bump slack-notifier from 2.3.2 to 2.4.0 by @dependabot in #957
- Bump rack-mini-profiler from 2.3.1 to 2.3.2 by @dependabot in #956
- Bump acts_as_list from 1.0.3 to 1.0.4 by @dependabot in #952
- Bump mini_racer from 0.3.1 to 0.4.0 by @dependabot in #951
- Bump dns-packet from 1.3.1 to 1.3.4 by @dependabot in #946
- Bump browserslist from 4.16.4 to 4.16.6 by @dependabot in #945
- Export indexes by @drusepth in #972
- Bump aws-sdk-s3 from 1.95.1 to 1.96.1 by @dependabot in #971
- Bump redis from 4.2.5 to 4.3.1 by @dependabot in #970
- Bump csv from 3.1.9 to 3.2.0 by @dependabot in #968
- Bump active_storage_validations from 0.9.2 to 0.9.4 by @dependabot in #967
- Docs improvements by @drusepth in #965
- General maintenance/upkeep changes by @drusepth in #979
- Bump flipper from 0.20.4 to 0.22.0 by @dependabot in #983
- Bump chartkick from 3.4.2 to 4.0.5 by @dependabot in #982
- Bump newrelic_rpm from 6.15.0 to 7.2.0 by @dependabot in #981
- Bump active_storage_validations from 0.9.4 to 0.9.5 by @dependabot in #980
- Bump d3-rails from 5.9.2 to 7.0.0 by @dependabot in #977
- Bump stackprof from 0.2.16 to 0.2.17 by @dependabot in #976
- Bump puma from 5.3.1 to 5.3.2 by @dependabot in #973
- Bump devise from 4.7.3 to 4.8.0 by @dependabot in #958
- Bump sprockets from 3.7.2 to 4.0.2 by @dependabot in #948
- Bump stripe from 5.33.0 to 5.37.0 by @dependabot in #985
- Document table changes & other polish by @drusepth in #986
- WIP for fixing uploads by @drusepth in #1016
- Bump aws-sdk-s3 from 1.96.1 to 1.103.0 by @dependabot in #1017
- Bump tar from 6.1.0 to 6.1.11 by @dependabot in #1013
- Bump listen from 3.5.1 to 3.7.0 by @dependabot in #1009
- Bump bullet from 6.1.4 to 6.1.5 by @dependabot in #1007
- Bump stripe from 5.37.0 to 5.38.0 by @dependabot in #1006
- Bump rails_admin from 2.1.1 to 2.2.1 by @dependabot in #1005
- Bump puma from 5.3.2 to 5.4.0 by @dependabot in #998
- Bump redis from 4.3.1 to 4.4.0 by @dependabot in #995
- Bump meta-tags from 2.14.0 to 2.15.0 by @dependabot in #1002
- Bump rack-mini-profiler from 2.3.2 to 2.3.3 by @dependabot in #1026
- Bump aws-sdk from 3.0.2 to 3.1.0 by @dependabot in #1023
- Bump sidekiq from 6.2.1 to 6.2.2 by @dependabot in #1022
- Bump ibm_watson from 2.1.1 to 2.1.3 by @dependabot in #1021
- Bump nokogiri from 1.12.4 to 1.12.5 by @dependabot in #1033
- Bump meta-tags from 2.15.0 to 2.16.0 by @dependabot in #1030
- Bump newrelic_rpm from 7.2.0 to 8.0.0 by @dependabot in #1029
- Bump paypal-checkout-sdk from 1.0.3 to 1.0.4 by @dependabot in #1028
- Bump axios from 0.21.1 to 0.21.2 by @dependabot in #1018
- Bump url-parse from 1.5.1 to 1.5.3 by @dependabot in #1019
- Bump bundler-audit from 0.8.0 to 0.9.0.1 by @dependabot in #1020
- Bump puma from 5.4.0 to 5.5.0 by @dependabot in #1027
- Eco reports for paper usage/savings by @drusepth in #990
- Site-wide performance improvements by @drusepth in #1003
- Oct 2021 release by @drusepth in #1034
- Fix content scoping regressions by @drusepth in #1035
- Oct 4 fixes by @drusepth in #1036
- Page tag cleanup by @drusepth in #1039
- Add word count caches by @drusepth in #1040
- Upgrade to Rails 6.1 by @drusepth in #893
- Bump rmagick from 4.2.2 to 4.2.4 by @dependabot in #1065
- Bump csv from 3.2.0 to 3.2.2 by @dependabot in #1064
- Bump aws-sdk-s3 from 1.103.0 to 1.110.0 by @dependabot in #1063
- Bump stripe from 5.38.0 to 5.42.0 by @dependabot in #1061
- Bump selenium-webdriver from 3.142.7 to 4.1.0 by @dependabot in #1057
- Bump redis from 4.4.0 to 4.5.1 by @dependabot in #1047
- Bump puma from 5.5.0 to 5.5.2 by @dependabot in #1044
Full Changelog: v3.3.0...v3.4.0
3.3.0 - Autosaves & Customization
Added
- Added autosave to all worldbuilding pages
- Added PageReference system and automatic mentions/links
- Added an API for fetching worldbuilding page names post-page-load (
.autoload-name
) - Added styling for linking/mentioning documents and timelines
- Added the ability to link and view timelines in the document editor
- Added a "pick up where you left off" list to the dashboard
- PMs are now hidden by default from blocked users
- Added quick reference to serendipitous prompts
- Added image previews on page link dropdowns
- Added the ability to change what page types links link to
- Added the ability to add custom link fields
- Added the ability to link to multiple kinds of pages
- Enabled admin access by default in RAILS_ENV=development mode
- Added rel=nofollow on all document and stream comment links
- Lots of DB/query optimizations + new DB indexes
- Added
deleted_at
to thredded models to make data recovery easier - Added a
field_options
system to fields - Added more april fools word replacements
- Added a proper PageCollection authorizer
Changed
- Rewrote the entire page-linking system
- Reworked content#new flow to create-and-redirect to #edit
- Reworked content
.constantize
system around the site - Contributing universes/pages are now included in @-mention/link lists
- Upgraded Ruby from 2.6.3 to 2.7.2
- Upgraded production form
heroku-18
stack toheroku-20
- Upgraded mimemagic and many other gems
- Redesigned dashboard and universe picker
- Redesigned recent content page
- Redesigned content#show and content#edit pages
- Reworked NoticeDismissal view guards
- Improved data vault design
- Improved billing page design
- Improved data caching around the site
- Improved recent content data + UI
- Fixed several bugs in @-mentioning pages in documents
- Fixed print styling
- Links are now stripped out of plaintext document views
- Improved attribute editor design/features
- Fixed some javascript errors in the document editor
- Fixed several dark mode UI bugs
- General polish/improvements/bug fixes around the site
- Fixed a bug that would allow anyone to add pages to everyone's @-mention dropdowns
- Changed application name in New Relic
Removed
- Removed unused code, partials, and javascript
3.2.0 - 2019's changes (oops!)
Added
- Added a Data Vault for users to view information about their Notebook.ai content and usage
- Added webpacker and React
- Added prepaid Premium Codes with Paypal for users who don't want recurring subscriptions
- Added a feature flipper and promo service for managing feature rollouts
- Added Continent, School, Food, and Sport pages
- Added more fields to all existing content pages
- Added document sharing with privacy settings
- Added the ability to @mention any page from any other page or document
- Added a "smart sidebar" to documents that auto-links mentioned pages and shows their full details without leaving the document editor
- Added the ability to report posts on the forums
- Added tags to content pages
- Added opt-in document analysis to documents with a full report
- Added the ability to favorite pages
- Added the ability to filter pages by favorite, tag, name, and universe
- Added the ability for users to upload avatars directly instead of using Gravatar
- Added a recycle bin and archive manager for un-deleting and un-archiving pages
Changed
- Large redesign around the entire site
- Upgraded to Rails 6 and Ruby to 2.6.x
- Redesigned and rebuilt the referral program
- Massive code cleanup / tree shaking / refactoring push
- Categories and fields can now be reordered from the template editor
- Users can now turn keyboard shortcuts on or off
- Improved much of the site for mobile and tablet views
Fixed
- More bugs than you can shake a stick at
3.1.0 - Template editor sorting
Added
- Users can now reorder categories for their pages
- Users can now reorder fields within their categories
- Users can now delete entire categories (and their fields/answers) at once
- Users can now rename categories and fields
- Added a script for migrating content between users in
script/
Changed
- Darkened the system color for Races to make large amounts of the color easier on the eyes
- Upgraded several backend gems
Fixed
- Fixed a few minor errors resulting in some 500s for some users
- Added a reference to
billing_plans:initialize_defaults
to the README setup instructions - The recent content page now looks at recent attribute changes rather than page model changes
- Fixed a bug linking "General Worldbuilding" in the forums to Languages
- Restored checkbox visibility on the forums
Removed
- Removed Skylight monitoring
3.0.0 - A UI foundation for our future
Changed
- Redesigned almost the entire site with a focus on mobile/tablet accessibility and addressing common UX complaints
- Content pages are now entwined with their related discussion boards, making it easy to flip between e.g. characters and discussions about characters.
- Recolored Religions from yellow to indigo to make all religion-related things easier to read.
- Changelogs have been moved to a separate tab that doesn't expand when clicking the "expand all" button on content pages.
- Document editor has been redesigned.
- Toasts are now temporarily shown (instead of permanent on the page) and many actions have had toast messages improved/added.
- Rather than picking 5 random fields to show in the quick reference tab of prompts, all fields with a value are now shown in an accordion view.
Fixed
- The sidebar can now be toggled visible or not on mobile and tablet devices.
- Uploaded images are no longer weirdly squished when shown on the dashboard.
- Icons should no longer overlap in the navbar on mobile.
- Fixed and re-enabled the quick-reference tab on the serendipitous content prompts.
- The page to toggle content pages on/off has been redesigned and now works in Internet Explorer.
- The sidebar now properly scrolls in Internet Explorer on small screens.
- Focusing/scoping to a universe now properly automatically suggests all new content be added to that universe.
Added
- Added a half-dozen profile fields.
- Documents can now be viewed also (instead of always just edited).
- Added quick-access links to documents, discussions, prompts, and your profile from the dashboard.
- Pages can now dictate their own colors and actions, making each section of the site feel like its own product to be improved.
- Enabled the quick-create FAB on the forums (and moved the Currently Online list to accommodate).
Removed
- Cleaned up and removed a lot of now-redundant code/views.
- Optimized away a few more database calls.
2.10.0 - Documents, search, pages, and more
Changed
- Replaced the scratchpad with a new feature: Documents
- Redesigned and reimplemented the search feature.
- Replaced
delayed_job
withSidekiq
, which relies onredis
. - Cleaned up code around changing billing plans.
- Users must now be logged in to view session-specific pages like recently-edited content and the page template wizards.
- Added router-based authentication to the admin pages (using the
site_administrator
flag). - Upgraded a ton of gems for security and other updates.
- Tons and tons of database/query optimizations around the site.
- Re-enabled serendipitous prompts for all users.
- Changed puma concurrency limit to 1 worker.
- Account deletion is now done asynchronously.
- Updated copy on the "For Writers" page. Need to do "For Roleplayers" and "For Artists" still.
- Replaced all newline characters in existing scratchpad documents with
<br />
, since documents are now HTML. - Changelogs now also link to pages when using the [[type-id]] link bar format.
- The field migration service no longer runs for pages updated after Sept 1, 2018.
- Upgraded thredded and customized views.
- Replaced
therubyracer
withmini_racer
.
Added
- Added 5 page types: Vehicle, Tradition, Building, Condition, and Job.
- Added additional fields to existing page types for the new page types (e.g. "Job" on characters).
- Added a link to profiles to send private messages to other users. Users no longer need usernames to send messages.
- Added a new ContentSerializer PORO for caching attribute categories/fields/values once per page load.
- Added
skylight
for performance monitoring. - Added additional error reporting for users attempting to upgrade to nonexistent billing plans.
- Added documents to the undeletion flow. Users can now un-delete documents after deleting them.
- Added autosaving functionality to documents.
- Added
rails_admin
. - Added more database indices.
- Added a JSON endpoint for pages.
Removed
- Removed
rack-timeout
customizations. - Removed the "5 new" badge in the sidenav.
- Removed the "new" badge on universe contributor tabs.
- Removed various unused gems, assets, and code.
Fixed
- Fixed search.
- Fixed exporting to txt/outlines.
- Fixed a bug requiring two presses of "tab" to tab between page fields instead of one.
- Fixed some static images not loading around the site.
- Fixed several behind-the-scenes errors throwing when users navigate to nonexistent content. Users are now redirected back to their dashboard instead of seeing a 500.
- Fixed the recently-deleted page linking to deleted pages (which, obviously, would 404).
- Fixed several issues around old-style attributes/values in new views.
- Fixed a bug around storage space when downgrading from premium.
- Fixed a layout bug on some screen sizes on the home landing page.
2.9.3 - Optimizations pass
Changed
- Changed many of the queries around multi-table user content to optimize on number of requests to the database, reducing queries by 12x in many places
- Fixed an issue that could show incorrect names on content in rare cases on the Recent Activity page
- Improved code readability
Fixed
- Fixed an issue that would sometimes show an error page after successfully adding a card on file, without specifying a plan to change to
- Fixed a potential bug that showed a 500 when generating a writing prompt for a universe
- Fixed the styling and clickability of checkboxes on login and around the site (thanks @euank)
- Fixed a bug that could show a 500 on the dashboard after successfully deleting a page
Added
- Added
Barnes
for Ruby language metrics & reporting - Added a generic
ContentPage
model for polymorphically grouping content pages in a single AR relation
Removed
- Removed
Raygun
- Removed some dead/outdated code
2.9.2 - Inline page linking & page un-deleting
Added
- Added a page that lists recently-deleted pages and allows users to undelete them for a limited time
- Added inline linking to content pages to all text fields
- Added a per-page cache for frequently-used page data
Changed
- Upgraded to the
heroku-18
stack - Optimized a ton of queries around the site, bringing page load speeds significantly down
- Page text fields now are full-width and expand when focused
Fixed
- Fixed contributor invitations sometimes not sending
- Fixed a bug preventing some users from viewing a universe's dedicated content list pages
- Fixed a bug preventing some users from viewing their recently-edited content list
- Fixed a bug that resulted in user profiles throwing 404 errors after deleting a page
- Fixed field placeholder text
- Fixed a few 500 errors in niche situations
2.9.1 - Stability & optimization improvements
Fixed
- Fixed static images not loading around the site
- Fixed several 500 errors around route generation
- Fixed a bug in migrating existing users' fields
- Fixed a bug preventing some users from changing the name of their content pages
- Fixed a bug preventing some people who had downgraded from Premium from editing the universe on their Premium pages
- Improved logic around when to save attributes (e.g. when they don't have changes)
- Fixed a couple N+1 queries
- Fixed serendipitous prompts not always finding a field to ask about
Added
- Added
bullet
and similar optimization-finding gems to development - Added a link to the forums to the dashboard for mobile devices
- Added a masquerade admin endpoint for bug debugging
- Added an API key model for potential app / website / program usage
- Added an initial API controller for returning user content with a valid API key
Changed
- Viewing a deleted user's old content URL now redirects to the main page
- Tons of queries have been optimized to make fewer database calls and/or reuse data from prior results
- Changed serendipitous cards to look at AttributeField/Attribute values instead of model columns
- Whitelisted a few potential security vectors
- Moved more inline javascript to end-of-page to speed up page rendering
- Moved changelogs to attributes instead of content pages
Removed
- Cleaned up several instances of redundant or defunct code
2.9.0 - Template Editor
Added
- Added a separate page for customizing a page type's categories and attributes.
- Reworked pretty much everywhere in the code to read from AttributeCategory/AttributeField/Attribute models instead of raw database rows on pages.
- Added an extra call-to-action at the bottom of the dashboard for people who've activated premium but haven't activated any premium pages.
- Added an "Appearance" default category to Landmarks with "Size", "Materials", and "Colors" prompts.
- Added additional metadata for the code to consume for all AttributeFields.
- Added links from the content customization page to customize individual page types, as well as the content#index pages.
- Users can now preview premium pages without needing the permissions to create one.
- Any custom field starting with the word "Private" is now treated as a private field.
- Added
name
anduniverse_id
caches on content models that pull from field changes.
Changed
- Normalized the spacing between cards on the dashboard to make it look more even.
- Returned the navbar to its original blue color.
- Refactored the quick-add form to reuse field partials from the normal content forms.
- Pages are no longer required to have a name upon creation. If they are not named, their name will appear as "Untitled" around the site, but still be blank in the form.
- All existing text-based fields have transitioned into being custom attributes behind-the-scenes.
- Field autocomplete is now per-label (instead of per-name) and has been enabled for all page types that match specific labels.
- Instead of
redirect :back
, we now use Rails 5'sredirect_back
. - Tabbing through content fields no longer tabs to attribute dropdowns.
Fixed
- Fixed a bug that raised a 500 error after (successfully) creating a new custom attribute.
- Fixed a bug that sometimes showed sidelinks on content to tabs that were entirely empty.
- Fixed a bug keeping some edits from appearing in the changelog.
- Fixed a bug preventing some contributor emails from sending.
- Fixed broken header images around the site.
Removed
- Removed unnecessary code for old serendipitous card generation.
- Removed some duplicate
is_public
scopes. - Removed some deprecated code in tests.