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.
- Remove preprint discover pages for search improvments
- Custom citation for preprints;
- Remove bower in favor of yarn
- Add title element to mfr iframe in file renderer
- Remove redundant aria-label on discover page sort-by button
- Send parent window url in startHypothesis message
- Added more helpscout links
- Added helpscout links
- Added
apiMeta
property to preprint model
- Label the license picker fields
- Added aria labels to sharing icons
- Added a span with an aria label around the search text input box.
- Fixed color contrast on search results
- Fixed color contrast on footer links
- broken hypothes.is integration; explicitly set MFR iframe referrer policy to
no-referrer-when-downgrade
- broken user gravatar on the auth dropdown
- Keen analytics logging
- donate link
hasCoi
to allownull
as value
new-navbar-auth-dropdown
fixed for unauthenticated users
hasDataLinks
andhasPreregLinks
preprint fields tostring
- preprint-provider model field:
inSloanStudy
- preprint model fields:
hasCoi
;conflictOfInterestStatement
hasDataLinks
;dataLinks
;whyNoData
hasPreregLinks
;preregLinks
;whyNoPrereg
;preregLinkInfo
- pin node@8.17.0 and yarn@1.21.1 with volta
- add name field to file-version model
- use fixstring transform for preprint-request-action comment
chronos-submission
adapter- override urlForUpdateRecord() to construct the correct url
- override updateRecord() to send PUT/PATCH to endpoint when there's no dirty attrs
- pass html attributes to Textarea component
- Update support links
- use arrow function for hypothesis post message callback
- set hypothesis post message target domain based on render link
chronos-journal
model/adapter/serializerchronos-submission
model/adapter/serializerpreprint-request
model/adapter/serializerpreprint-request-action
model/adapter/serializerlazy-options-load-more
component
preprint
model - addedrequests
relationshiplazy-options
component - moved load more button to its own component
jquery-extensions
instance intializerjquery-checkinview
util
X-CSRFToken
header to AJAX requestsember-cookies
to allow gettingapi-csrf
token from cookies.
Ember.merge
usage in favor ofEmber.assign
no change, re-publishing to NPM
- Contributor mixin to share contributor-related methods between nodes and preprints
- New fields added to
preprint
model for node-preprint divorce - Default message in
old-file-browser
if no files found
- Node-preprint divorce changes
contributor
model now shared between nodes and preprints.preprint
relationship added tocontributor
model- Modify
contributor
adapter to talk to both node/preprint contributor endpoints Preprint
adapter has an option to unset a supplemental project from a preprint- Fix for building mfrURLs
- Added
dateWithdrawn
andwithdrawalJustification
topreprint
model - 'My Preprints' link to the Preprint navbar
users
model to use urlForQuery to allow searching via/search/users/
- Normalize "Add a Preprint" language across screen sizes
cookie-banner
component- Sharing popover button to the discover search page
- Whitelist functionality for preprint discover page
- itemsPerSlide to discover page carousel
- Discover page components to include parent lineage if available
- FAQ link in
license-picker
component to point to update help guide article.
- institution navbar waffle flag
- discover page load delay
- IP anonymization to Keen
- spinners to match style guide
- scrolling issue
- obsolete
initialWidth
parameter from mfrUrl
- Waffled Institution menu item
metaschema
model intoregistration-metaschema
scheduled-banner
component to display the banner image centered and adapt to different image heights.
anonymizeIp: true
in GA config to anonymize sender IP.
scheduled-banner
component that pulls banners (created in the OSF Admin app) from the API
- Format last edited date in search result like "MMM DDD, YYYY UTC" instead of "YYYY-MM-DD (UTC)"
navbar-auth-dropdown
to match current changes to the navbar
- Missing banner translation error
- temporary inline style to sign-up button
activeFilters.types
reset when registration provider changes
documentType
property topreprint-service
model.secondary-nav-dropdown
class tonew-navbar-auth-dropdown
componentember-component-css
to bundle all component styles in onepod-styles.scss
and prevent styling conflicts across components.works
to preprint word translations
- static strings to be in translation files
bare-strings
option in eslint totrue
- OSF API version from 2.4 to 2.6
- ember-cli-moment-shim version to
^3.5.3
due to security issues found inmoment
versions before2.19.3
- classes and element tags to match styles needed for long name truncation on navbar
- Add moderator model, serializer, and adapter
- Added "choose your custom citation" section to citation-widget
facebookAppId
field topreprint-provider
model- Add ElasticSearch preference (ES) key to preprints ES search requests for reproducible results ordering.
- Computed field
name
touser
model - Add
description
andtags
to the preprint model. lazy-options
component to enable lazy loading forember-power-select
- Ability to create new components when moving files.
osf-model.queryHasMany
, for reliable querying of hasMany relations- Modal to
file-browser
for moving quick files to projects - Actions for moving quick files to project/node in
file-browser
get-ancestor-descriptor
helper to create project/node listproject-selector
component which helps user choose where to move file- Translations for
project-selector
component - Move function for
file
model ember-collapsable-panel
andember-power-select
packages- Styling on
project-selector
buttons that are selected
- Node
addChild
model function to create public child elements - Import compiled css for ember-power-select even when consumin app uses SASS
- This can be overriden by setting ember-power-select.useSass to true in the app's options
- Node
addChild
model method will only use defaults for undefined parameters (instead of falsey parameters)
- ember-data-has-many-query
- Code that uses
model.query()
should update tomodel.queryHasMany()
- Code that uses
- 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-serializerhasHighlightedSubjects
path in preprint-providers model
- Margins for scrollbar on
file-browser
- Clickability on dropzone widget
- Handle Dropzone enable/disable properly
- Prevent users from selecting multiple files by clicking 'Upload' button in Quickfiles
- 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)