53 Commits

Author SHA1 Message Date
Vladislav Shkodin
dbf2920254
chore: introduce imports ordering (#5463) 2021-05-31 17:46:41 +03:00
Vladislav Shkodin
3a826b43a2
refactor: convert absolute imports to relative ones (#5438) 2021-05-30 19:49:33 +03:00
renovate[bot]
f470fdf32d
fix(deps): update dependency ajv to v8 (#5178) 2021-03-29 16:29:29 +03:00
Vladislav Shkodin
6623740a8c
refactor: remove immutable from 'config' state slice (#4960) 2021-03-11 12:08:46 +02:00
Vladislav Shkodin
10cb14f8d5
fix(typings): incorrect import in index.d.ts (#4962) 2021-02-16 18:57:12 +02:00
Vladislav Shkodin
141a2eba56
refactor: convert function expressions to declarations (#4926) 2021-02-08 20:01:21 +02:00
Erez Rokah
10fb7677c1
fix: remove redundant ajv option (#4840) 2021-01-14 12:33:31 +02:00
renovate[bot]
a3f95b0d24
fix(deps): update dependency ajv to v7 (#4748) 2020-12-23 15:39:26 +02:00
Kancer (Nilay) Gökırmak
e52e29034e
feat: Add group by to collection view (Issue 3614) (#4486) 2020-11-08 18:33:09 +02:00
stefanprobst
9e0b8ac4b8
feat: allow per-file preview_path in file collection (#4413) 2020-10-15 17:21:36 +03:00
Giacomo Lombardi
16399719a0
feat(editor-preview): allow to disable editor preview for all collections (#4423) 2020-10-12 12:59:03 +03:00
Erez Rokah
cb2ad687ee
Feat: multi content authoring (#4139) 2020-09-20 20:30:46 +03:00
Kancer (Nilay) Gökırmak
6b8fa3fc45
feat: allow setting editorial workflow PR label prefix (#4181) 2020-09-06 21:13:46 +03:00
andreascm
88a5a8098e
fix: deprecate inconsistent config param case (#4172) 2020-08-31 14:25:48 +03:00
Erez Rokah
652045c9de
fix(config-schema): allow field pattern to be a regex (#3971) 2020-07-01 13:30:26 +03:00
Erez Rokah
0dc62eabec
fix(schema): enforce files and collections names uniqueness (#3913) 2020-06-18 14:35:02 +03:00
Erez Rokah
af7bbbd9a9
Feat: nested collections (#3716) 2020-06-18 10:11:37 +03:00
Bartholomew
2b46608f86
feat: add widgets schema validation (#3841) 2020-06-03 16:43:34 +03:00
Erez Rokah
624b7ff14b
feat: add allowed_hosts support in local_backend (#3805) 2020-05-26 11:50:09 +03:00
Erez Rokah
8047d06afd
fix(config): validate unique fields names under the same level (#3804) 2020-05-25 15:35:01 +03:00
Shashank Bairy R
c28cc0c9e7
feat: add filter to collection view (#3741) 2020-05-24 20:37:08 +03:00
Shashank Bairy R
88b6c633af
feat: add hide property to collections (#3618) (#3643) 2020-04-22 15:32:13 +03:00
Erez Rokah
174d86f0a0
Feat: entry sorting (#3494)
* refactor: typescript search actions, add tests avoid duplicate search

* refactor: switch from promise chain to async/await in loadEntries

* feat: add sorting, initial commit

* fix: set isFetching to true on entries request

* fix: ui improvments and bug fixes

* test: fix tests

* feat(backend-gitlab): cache local tree)

* fix: fix prop type warning

* refactor: code cleanup

* feat(backend-bitbucket): add local tree caching support

* feat: swtich to orderBy and support multiple sort keys

* fix: backoff function

* fix: improve backoff

* feat: infer sortable fields

* feat: fetch file commit metadata - initial commit

* feat: extract file author and date, finalize GitLab & Bitbucket

* refactor: code cleanup

* feat: handle github rate limit errors

* refactor: code cleanup

* fix(github): add missing author and date when traversing cursor

* fix: add missing author and date when traversing cursor

* refactor: code cleanup

* refactor: code cleanup

* refactor: code cleanup

* test: fix tests

* fix: rebuild local tree when head doesn't exist in remote branch

* fix: allow sortable fields to be an empty array

* fix: allow translation of built in sort fields

* build: fix proxy server build

* fix: hide commit author and date fields by default on non git backends

* fix(algolia): add listAllEntries method for alogolia integration

* fix: handle sort fields overflow

* test(bitbucket): re-record some bitbucket e2e tests

* test(bitbucket): fix media library test

* refactor(gitgateway-gitlab): share request code and handle 404 errors

* fix: always show commit date by default

* docs: add sortableFields

* refactor: code cleanup

* improvement: drop multi-sort, rework sort UI

* chore: force main package bumps

Co-authored-by: Shawn Erquhart <shawn@erquh.art>
2020-03-31 23:13:27 -04:00
Erez Rokah
3afe2b16de
Feat: add logo to inference for thumbnails (#3481)
Co-authored-by: Max Metral <max@pyralis.com>
2020-03-26 19:23:31 +02:00
Erez Rokah
df33bc64a9
feat: add publish configuration option to collections (#3467) 2020-03-23 12:01:37 +02:00
Ben Harris
971926c369
feat: Add 'hero' as inferable image field (#3294) 2020-02-20 17:44:00 +01:00
Erez Rokah
614f1aea63
feat(core): auto detect proxy server on load (#3195)
* feat: auto detect proxy server on load

* fix: opt-in for auto proxy server detection
2020-02-05 10:56:11 -05:00
Erez Rokah
2b41d8a838 feat: bundle assets with content (#2958)
* 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
2019-12-18 11:16:02 -05:00
Erez Rokah
afcfe5b6d5 feat: content in sub folders (#2897) 2019-11-27 22:39:33 -05:00
Erez Rokah
096b067d45
feat: add translation support (#2870)
* feat: add translation support

* test(cypress): fix locale import

* docs: add locale documentation

* feat: add german translation (#2877)

* fix: locales package version, register all locales in netlify-cms
2019-11-14 11:25:04 +02:00
Ananthakumar
542a7acfe6 fix(workflow): label file collection entries in Workflow (#2566) 2019-11-08 18:28:17 -05:00
Erez Rokah
002cdd77a8 fix: change default open authoring scope, make it configurable (#2821) 2019-11-07 12:39:47 -05:00
polemius
04b371825e chore: fix the typos in comments (#2679) 2019-09-24 16:16:09 -04:00
Sam Lanning
a47a29fb8b Allow for relative paths of media files (#2394)
* 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)
2019-08-24 16:03:09 -04:00
Austin Devine
573ad8816d feat(core): allow custom summary on entry cards (#2140) 2019-03-29 14:30:38 -04:00
Shawn Erquhart
ccef446d72
feat: upgrade to Emotion 10 (#2166) 2019-03-15 10:19:57 -04:00
Shawn Erquhart
3d98b72775
fix(core): allow updates through error boundary (#2136) 2019-03-02 15:26:08 -05:00
Shawn Erquhart
686504adee
feat(core): recover entry after unexpected quit (#2129) 2019-02-28 13:30:23 -05:00
Luis Correia
dc44caca20 feat(widget-number): add range validation (#2049) 2019-02-08 15:01:08 -05:00
Shawn Erquhart
15d221d4a4
feat(workflow): add deploy preview links (#2028) 2019-02-08 12:26:59 -05:00
Leonardo Dino
ef50a93efc enhancement(netlify-cms-core): translate workflow card last modified text (#2025) 2019-02-02 20:02:51 -05:00
Daniel Eden
ebba686430 fix(netlify-cms-core): allow arrays for frontmatter_delimiter in config (#1997) 2019-02-02 20:01:32 -05:00
sysoce
0f1ebd1060 fix(netlify-cms-core): support translation in error message (#1935) 2018-12-11 10:50:23 -05:00
Shawn Erquhart
fe6af1986f
fix(config): remove identifier field validation (#1882) 2018-11-21 22:32:50 -05:00
Bartholomew
c6ae1e8fc0 feat: allow custom logo on auth page (#1818) 2018-11-02 13:25:36 -04:00
Nahuel Dealbera
c2e21ff9db improvement(i18n): extract core UI texts to external file (#1708) 2018-11-02 13:19:49 -04:00
Matt Kane
12418dd7f0 feat(config): add support for setting custom identifier field (#1543) 2018-11-01 14:02:11 -04:00
Benaiah Mischenko
288359da3b fix(config): allow setting publish_mode to 'simple' (#1827) 2018-10-31 21:50:41 -04:00
Shawn Erquhart
0596904e0b
feat(media): add external media library support, Uploadcare integration (#1602) 2018-08-30 16:24:28 -04:00
Caleb
f801b19221 chore: add code formatting and linting (#952) 2018-08-07 16:46:54 -04:00