Releases: performant-software/dm-2
DM2 v0.5.0
This release includes a new feature (email confirmations) as well as various bug fixes. It includes breaking changes.
Breaking changes
This release includes breaking changes for document links and users.
Details
- A DB migration, and a helper function
DocumentLinkMigrationHelper.migrate_document_links!
, are required due to bug fixes allowing link lists to be reordered from the icon in the top-left corner of documents - A second helper,
UserConfirmationMigrationHelper.confirm_approved_users!
must be run to confirm all existing users' emails as part of the new email confirmation feature
These require the following to be run:
rails db:migrate
rails console
DocumentLinkMigrationHelper.migrate_document_links!
UserConfirmationMigrationHelper.confirm_approved_users!
This release also requires some new environment variables to be set:
Details
- In order to not encounter SendGrid errors, it is required that system emails come from a valid email address. Thus, rather than determine this programmatically from the hostname (which can break as in the case of
localhost
-like hostnames), it has been set as an environment variableEMAIL_FROM
. That environment variable must be set for emails to send, so it is considered a breaking change. - In addition, in https environments, the
PROTOCOL
environment variable must be set tohttps
. Otherwise it may be left unset.
Thus, the list of environment variables ("config variables" in Heroku) has been updated to include:
EMAIL_FROM=[email protected]
PROTOCOL=https
Also, instructions for setting the SENDGRID_USERNAME
and SENDGRID_PASSWORD
variables have been updated in README.md
.
New features
- Email confirmations: users must confirm their emails on registration (#384)
Other changes
- New user admin alert email fix (#384, #397)
- Zoom max decreased and slider fix (#385, #397)
- Highlight popup closing bugfix (#388)
- Reordering list of links attached directly to document in corner icon fix (#389)
- Other email fixes (#392, #397)
For more detail, see linked pull requests.
DM2 v0.4.4
This release includes a new set of text editor tools as well as various bug fixes.
New features
All new features pertain to the text editor:
- Dropdown for overflowing toolbar tools (#366)
- Font size dropdown now uses
pt
units (#366) - Font family dropdown (#366)
- Blockquote tool (#366)
- Horizontal rule tool (#366)
- Color picker tool (#369)
- Indent tool (#373)
- Line spacing tool (#374)
- Table tool (#376)
- Margin tool (#380)
- Column tool (#380)
Other changes
- Targeted document location bug fix (#367)
- Image layers: Thumbnail update on reordering layers bug fix (#370)
- Text editor: Table column insertion bug fix (#379)
- Table of Contents tooltips (#383)
- Loading/saved indicator in document status bar (#383)
- Highlight title editing bug fix (#383)
For more detail, see linked pull requests.
DM2 v0.4.3
This release includes a new text editor tool (strikethroughs) as well as various bug fixes.
New features
- Text editor: strikethrough tool (#345)
Other changes
- Text editor: Cmd-U/Ctrl-U to underline (#345, #355)
- Text editor: Retain selection on toolbar click (#345)
- Image layers: Wrap navigation at beginning and end (#348)
- Image layers: Various bug fixes (#352, #357)
- Wrap long folder names (#351)
- Document linking bug fix (#350)
For more detail, see linked pull requests.
DM2 v0.4.2
This release includes a new feature, image layers, as well as various bug fixes.
New features
- Image layers (#328)
Other changes
- Only allow highlight rename on checked out and writable docs (#335)
- Image layer bug fixes (#333, #344)
- Highlight copy and paste bug fixes (#339, #341, #342)
For more detail, see linked pull requests.
DM2 v0.4.1
This is a patch release that adds two nil
checks to the data migration function LinkMigrationHelper.migrate_link_position!
. It has been successfully used to migrate UW and SIMS instances.
Please see the release notes for v0.4.0 for migration instructions.
DM2 v0.4.0
This release includes new features such as highlight targeting, link reordering, and improved line drawing. It also includes a breaking change in service of the link reordering feature.
Breaking changes
This release includes a breaking change that introduces data incompatibility. To make data from previous versions compatible with this update, it is necessary to run the following:
rails db:migrate
Then, run the data compatibility helper from the Rails console:
rails console
LinkMigrationHelper.migrate_link_position!
New features
- Two new highlight colors (#300)
- Text highlights toggle (#303)
- Improved line drawing (#307)
- Highlight targeting (#312)
- Link reordering (#313)
Other changes
- Bump Rails from 5.2.2.1 to 5.2.6 (#295)
- Bump aws-sdk-s3 from 1.35.0 to 1.48.0 (#299)
- Move "back" button (#305, #327)
- Change labels (#306)
- Use uploaded image filename for title of document (#308)
- Restrict folder delete to site/project admins (#309)
- Other bug fixes (#314, #320, #327)
For more detail, see linked pull requests.
DM2 v0.3.2
This release fixes an issue where documents could be checked out by a user, and then stuck in a state where they could no longer be checked back in, leaving them uneditable. See pull request notes here.
DM2 v0.3.1
New in this release:
- Enable text highlight selection, deletion, and color change #226
- delete text highlight button works inconsistently #219
- Color of image highlight #83
- Set all ported image highlights to “BLUE” color, not yellow. #220
- For SIMS DM 10 port, set the default for all image highlight titles to "----" #225
- Selection for text highlights #222
- Added Check in all feature
DM1 Import Scripts
This release includes scripts and functionality to import DM1 TTL files and images into a DM2 instance. It has been successfully used to port the UW and SIMS DM1 server data.
v0.2 Closed Beta Release
- fix subtle popover issue
- add name of link tatget
- add text rollovers
- fix thumbnail generation problem
- disable hide logic while rendering in write mode
- improve error handling for image info uris
- allow documents to be parents of documents
- force ssl
- force image links to https
- support n sequences
- retry on CORS
- increase max canvases