* Allow for relative paths of media files
fixes#325
* Switch to calculating the relative path based on collection
The required relative path is now calculated depending on the
location of the collection of the current entry having the
media inserted into. And the configuration option has now been
changed to a boolean flag.
This allows collections to not neccesarily all be in the same
location relative to the media folder, and simplifies config.
* Clean up code and fix linting
* Add unit tests to resolveMediaFilename()
* Rework insertMedia action to fetch own config
This moves more of the media path resolution logic into the action
which makes it easier to unit test
* Add unit tests for the mediaLibrary.insertMedia action
* yarn run format
* add dependabot config (#2580)
* Fix handling of displayURLs which are strings
* Add fromFetchArguments to unsentRequest
* Add parseLinkHeader to backendUtil
* Handle paginated endpoints in GitHub API
* Rename fork workflow to Open Authoring across the whole repo
* Fixes for bugs in GitHub API introduced by Open Authoring changes
* Fix getDeployPreview
* Fix incorrect auth header formatting GitHub implementation
cf. https://github.com/netlify/netlify-cms/pull/2456#discussion_r309633387
* Remove unused and broken method from GitHub API
cf. https://github.com/netlify/netlify-cms/pull/2456#discussion_r308687145
* Fix editorialWorkflowGit method in GitHub API
* Request published entry content from origin repo
* Better error when deleting a published post in Open Authoring
* Rename to Open Authoring in fork request message
Also adds a note to the fork request message that an existing fork of
the same repo will be used automatically.
* fix linting
* Make filterPromises resolve entries before filtering
* Add filterPromisesWith & onlySuccessfulPromises to utility library
* Memoize user method in GitHub API
* Make storeMetadata safe to call concurrently in GitHub API
* Fork workflow: startup and authentication
* Fork workflow: backend support
* Fork workflow: disable unused UI elements
* Fork workflow: docs
* Fork workflow: fix deploy previews
* Suggested edits for fork workflow doc
* Change future tense to present
* Fork workflow: add beta status to docs
* remove debug statement
* rename fork workflow to Open Authoring
* fix thumbnail quality
* Revert "fix(git-gateway): fix previews for GitHub images not in Large Media (#2125)"
This reverts commit d17f896f479292db06d3a4b39f2e51b6c41101bd.
* wip
* Stop using thunks to load media display URLs
* Revert changes to dev-test
* Revert changes to large media docs
* fix lint error
* Update docs to point to the upcoming version with non-broken media