All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Updated CHANGELOG to reflect 0.13.0 release
- Util function that handles popover dismissal when clicking off of popover
- file-browser properties to:
- disable multiple select
- disable unselect
- enable open on select
- ability to specify a pre-selected file in file-browser
- Stylesheet for the footer to match OSF styles
- Analytics to
file-browser
andfile-browser-item
for Quick Files:- Share
- Download
- Download as zip
- Upload
- Original Publication Date is added to preprint.
- New
originalPublicationDate
property forpreprint
model. - Add unit tests for
preprint
model. validated-input
component is moved from ember-osf-preprints to ember-osf repo and modified.- Change
yarn.lock
to addember-bootstrap-datepicker
andember-cp-validations
as dependencies.
- Change
- New
- Support button to the HOME navbar
- Class for small-display on
file-browser
- Conditional to check between
files
anditems
in array for file upload between chrome and safari - alias in provider model to check if has highlighted subjects
preprintDoiCreated
attribute to thepreprint
modelember-cli-clipboard
to allow copying to clipboard on more browsers
- getContents() function for files to use
redirect = true
andmode = 'render'
- Styling for the file-browser, file-browser-item, and file-version widgets used by Quick Files
- Removed
Browse
from the navbar when user is logged out - Moved
Support
to be betweenSearch
andDonate
on the navbar when user is logged out - Remove print margin on ember-ace editor on file-detail page
- Moved share button in
file-browser-item
to thefile-browser
toolbar - Rename button to have class
primary
instead ofsuccess
on thefile-browser
component - What screen sizes columns are displayed in
file-browser
table - Rename
action
model toreview-action
- Also rename related adapter, serializer and tests
- Added model tests for
review-action
- Customize model adapter
meta.total
tometa.total_pages
in osf-serializer
- Margins for scrollbar on
file-browser
- Clickability on dropzone widget
- Handle Dropzone enable/disable properly
- Final banner images and dates
- Week 3 banner images and text
- Giving Tuesday donate banner end date and mobile image class
- Styling and order of buttons on the file-browser to match OSF
- Growl message to show actual error message on file uploads
?kind=file
from end of file path if there is a conflicting file when uploading
- Giving Tuesday donate banner
- Ability to pass query parameters with adapterOptions.query
- methods to the file model:
- rename()
- getGuid()
- getContents()
- updateContents()
- file-widget, a file browser widget for quick files
- humanFileSize, converting size number to a readable version like 5kB
- toastr as an npm dependency
action
model/adapter/serializer- New model in OSF API corresponding to a user-triggered state transition of an object
- fields on
preprint-provider
model:permissions
reviewsWorkflow
reviewsCommentsPrivate
reviewsCommentsAnonymous
- properties on
preprint-provider
model:reviewableStatusCounts
- fields on
preprint
modelreviewsState
dateLastTransitioned
actions
contributors
- properties on
preprint
modeluniqueSubjects
articleDoiUrl
preprintDoiUrl
licenseText
- fields on
user
model:canViewReviews
actions
user
property oncurrentUser
service- Returns a promise proxy object that resolves to the logged-in user or to
null
if no user is logged in
- Returns a promise proxy object that resolves to the logged-in user or to
loadRelation
function inutils/load-relationship
- Like
loadAll
, but returns a promise proxy that resolves to the full array once the relationship is completely fetched
- Like
- old-file-browser component that replicates the legacy file-browser component
- mime-types, checking to see if a file is editable
- file-editor widget to directly edit certain files
- Use delete link for delete url, if present
- file-browser-item now formatted to fit in with file-widget
- file-browser-item now supports icons for different file extensions
- dropzone-widget now has custom dropzone class that extends dropzone functionality to conditionally disallow folders and multiple files from being dropped
- 'Search' button in navbar to link to search page
- Moved ember-metrics and ember-toastr to dependencies
- Upgraded ember-toastr to 1.7.0
- Consolidate logic for serializing dirty relationships into
osf-serializer
- Override
relationshipTypes
in a serializer to includefieldName: 'apiType'
pairs of all relationships which may be included when saving updates
- Override
- toastr from bower dependencies
- Make sure results always match latest (and initial) filters selected in discover-page component
- Attempt authentication before redirecting to CAS in cas-authenticated-route mixin
- Skip locked sources filter if themeProvider is not set on discover page component
- Allow non-term level locked filter by using bool in dicover page component
- In the discover page component, filter by
shareSource
instead ofname
ifshareSource
is set for a provider - Change navbar links from buttons to anchors
- Point Bower to new Bower registry (https://registry.bower.io)