* feat: cascade & compose media folders - initial commit
* refactor: code cleanup
* fix: pass field instead of folder to getAsset
* fix: only show field media files in library
* test: fix medial library selector test
* fix: fallback to original path when asset not found
* fix: only show field media files in media library
* fix: properly handle empty strings in field folders
* refactor: typescript backendHelper
* test: add string templating tests
* test: add createPreviewUrl invalid date test
* refactor: move all formatters to one file
* feat: support media folders templating
* feat: add filename and extension template variables
* feat: support paths in string templates
* docs: add media folder templating docs
* style(docs): remove line break
* fix: create open authoring branches from default origin branch
* refactor: pass repoURL to getBranch
* fix(backend-github): rebase open authoring branch,support multiple files
* fix(media_folder_relative): use collection name in unpublished entry
* refactor: pass arguments as object to AssetProxy ctor
* feat: support media folders per collection
* feat: resolve media files path based on entry path
* fix: asset public path resolving
* refactor: introduce typescript for AssetProxy
* refactor: code cleanup
* refactor(asset-proxy): add tests,switch to typescript,extract arguments
* refactor: typescript for editorialWorkflow
* refactor: add typescript for media library actions
* refactor: fix type error on map set
* refactor: move locale selector into reducer
* refactor: add typescript for entries actions
* refactor: remove duplication between asset store and media lib
* feat: load assets from backend using API
* refactor(github): add typescript, cache media files
* fix: don't load media URL if already loaded
* feat: add media folder config to collection
* fix: load assets from API when not in UI state
* feat: load entry media files when opening media library
* fix: editorial workflow draft media files bug fixes
* test(unit): fix unit tests
* fix: editor control losing focus
* style: add eslint object-shorthand rule
* test(cypress): re-record mock data
* fix: fix non github backends, large media
* test: uncomment only in tests
* fix(backend-test): add missing displayURL property
* test(e2e): add media library tests
* test(e2e): enable visual testing
* test(e2e): add github backend media library tests
* test(e2e): add git-gateway large media tests
* chore: post rebase fixes
* test: fix tests
* test: fix tests
* test(cypress): fix tests
* docs: add media_folder docs
* test(e2e): add media library delete test
* test(e2e): try and fix image comparison on CI
* ci: reduce test machines from 9 to 8
* test: add reducers and selectors unit tests
* test(e2e): disable visual regression testing for now
* test: add getAsset unit tests
* refactor: use Asset class component instead of hooks
* build: don't inline source maps
* test: add more media path tests
* fix(backend-github): prepend collection name
* chore: prefer migrating entries
* chore: cleanup
* chore: move migration to listUnpublishedBranches
* chore: prefer flowAsync
* chore: feedback updates
* refactor: extract current metadata version to a const
* refactor: don't send pulls request on open authoring
* test: update recorded data
* fix: hardcode migration key/branch logic
* test(backend-github): add unit tests for migration code
* fix(github-graphql): add ref property to result of createBranch
* test(cypress): update recorded data
* fix: load unpublished entries once
* fix: run migration for published draft entry
* fix: failing test
* chore: use hardcoded version number
* fix: use hardcoded version number
* test(cypress): update recorded data
* feat: commit media with post - initial commit
* feat: add draft media indication
* feat: sync UI media files with GitHub on entry load
* feat: bug fixes
* feat: delete media files from github when removed from library
* test: add GitHub backend tests
* test: add unit tests
* fix: meta data object files are not updated
* feat: used nested paths when update a tree instead of recursion
* feat(test-backend): update test backend to persist media file with entry
* test(e2e): re-record fixtures data
* chore: code cleanup
* chore: code cleanup
* fix: wait for library to load before adding entry media files
* chore: code cleanup
* fix: don't add media files on entry when not a draft
* fix: sync media library after draft entry was published
* feat: update media library card draft style, add tests
* test: add Editor unit tests
* chore: test code cleanup
* fix: publishing an entry from workflow tab throws an error
* fix: duplicate media files when using test backend
* refactor: fix lodash import
* chore: update translations and yarn file after rebase
* test(cypress): update recorded data
* fix(test-backend): fix mapping of media files on publish
* 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