1218 Commits

Author SHA1 Message Date
renovate[bot]
2565668130
chore(deps): update dependency cross-env to v7 (#4052)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-21 17:26:07 +03:00
renovate[bot]
c27abc2e37
chore(deps): lock file maintenance (#4053)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-21 17:18:38 +03:00
Erez Rokah
d3831b1ed4
fix(prop-types): check for react components via PropTypes.elementType (#4025) 2020-07-15 14:21:08 +03:00
Erez Rokah
9119011c8f
fix(entries-pagination): keep loading pages until entries are available (#4021) 2020-07-15 11:24:50 +03:00
renovate[bot]
e046a414f8
fix(deps): update dependency react-scroll-sync to ^0.8.0 (#4011)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-13 14:20:15 +03:00
renovate[bot]
d782bfba5f
chore(deps): lock file maintenance (#4015)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-13 12:37:19 +03:00
renovate[bot]
d1c68c487e
chore(deps): update dependency cypress to v4.10.0 (#4005)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-13 11:50:03 +03:00
renovate[bot]
345783b728
chore(deps): update commitlint monorepo to v9 (#4014)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-13 11:48:28 +03:00
Erez Rokah
07f47824e9
chore: replace react-router-redux with connected-react-router (#4001) 2020-07-09 19:08:18 +03:00
Erez Rokah
3e0d0886d9
feat(proxy-server): allow setting proxy log level (#3989) 2020-07-06 18:50:39 +03:00
renovate[bot]
126b86cdc4
chore(deps): lock file maintenance (#3988) 2020-07-06 13:22:17 +03:00
renovate[bot]
09b6668c5e
chore(deps): lock file maintenance (#3959)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-29 09:41:34 +03:00
renovate[bot]
3025e5e8ff
chore(deps): update dependency @types/lodash to v4.14.156 (#3936)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-22 11:07:04 +03:00
renovate[bot]
b153b97c38
chore(deps): lock file maintenance (#3941)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-22 10:10:20 +03:00
dependabot-preview[bot]
9040e7ea1a
build(deps): [security] bump websocket-extensions from 0.1.3 to 0.1.4 (#3914)
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. **This update includes a security fix.**
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-18 17:47:19 +03:00
Erez Rokah
af7bbbd9a9
Feat: nested collections (#3716) 2020-06-18 10:11:37 +03:00
renovate[bot]
6a8d389751
fix(deps): update dependency lerna to v3.22.1 (#3899)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-15 14:33:44 +03:00
renovate[bot]
9d44d705e0
chore(deps): update dependency eslint-plugin-prettier to v3.1.4 (#3897)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-15 11:39:15 +03:00
renovate[bot]
92bc4e8893
chore(deps): update dependency css-loader to v3.6.0 (#3895)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-15 11:39:02 +03:00
renovate[bot]
83e8a2348c
chore(deps): update dependency eslint-plugin-import to v2.21.2 (#3896)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-15 10:59:59 +03:00
renovate[bot]
374783509b
chore(deps): update dependency cypress to v4.8.0 (#3883) 2020-06-11 10:20:48 +03:00
Erez Rokah
d4a7d88175
chore(deps): remove monaco editor unused deps (#3877) 2020-06-09 10:43:15 +03:00
renovate[bot]
dc429f8ffa
fix(deps): update dependency react-monaco-editor to ^0.36.0 (#3871)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-08 15:15:42 +03:00
renovate[bot]
89f418135a
fix(deps): update dependency react-polyglot to ^0.7.0 (#3872)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-08 12:25:17 +03:00
renovate[bot]
98c5434a6d
fix(deps): update dependency react-is to v16.13.1 (#3870)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-08 12:24:02 +03:00
renovate[bot]
0693c8da1a
chore(deps): lock file maintenance (#3875)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-08 11:17:02 +03:00
Erez Rokah
53cba02244
fix: update rehype-remark (#3864) 2020-06-07 14:01:50 +03:00
renovate[bot]
995739a85c
chore(deps): lock file maintenance (#3851)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-03 15:46:26 +03:00
renovate[bot]
1db8a5574b
chore(deps): update dependency @types/lodash to v4.14.154 (#3837)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-01 11:09:45 +03:00
renovate[bot]
2768ee72f5
chore(deps): update babel monorepo (#3836)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-01 10:44:00 +03:00
renovate[bot]
9b3fd03af1
chore(deps): update dependency all-contributors-cli to v6.15.0 (#3800)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-25 14:40:25 +03:00
renovate[bot]
2aa2fbdf3d
chore(deps): update dependency @types/lodash to v4.14.152 (#3799)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-25 11:41:41 +03:00
Erez Rokah
8185eeed24
chore(deps): update cypress (#3801) 2020-05-25 11:12:21 +03:00
renovate[bot]
5f99a9132b
chore(deps): update dependency typescript to v3.9.2 (#3776) 2020-05-18 10:52:23 +03:00
renovate[bot]
72596bbbec
chore(deps): update dependency eslint-plugin-react to v7.20.0 (#3775)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-18 09:29:52 +03:00
renovate[bot]
fcb6afbd90
chore(deps): update dependency @types/lodash to v4.14.151 (#3774)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-18 08:54:22 +03:00
renovate[bot]
0fccb6fde5
chore(deps): update dependency webpack-dev-server to v3.11.0 (#3734)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-11 14:57:20 +03:00
renovate[bot]
6bead5c6b2
fix(deps): update dependency @iarna/toml to v2.2.5 (#3736)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-11 13:24:01 +03:00
renovate[bot]
06aa24d16c
chore(deps): update typescript-eslint monorepo to v2.31.0 (#3735)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-11 13:23:42 +03:00
renovate[bot]
1c7ef1c457
fix(deps): update dependency simple-git to v2 (#3730)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-11 12:16:30 +03:00
renovate[bot]
a33aebbc58
fix(deps): update dependency rehype-stringify to v7 (#3729)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-11 11:57:25 +03:00
renovate[bot]
628eee4d1c
chore(deps): lock file maintenance (#3695) 2020-05-04 14:47:55 +03:00
renovate[bot]
2fcf1a046a
chore(deps): lock file maintenance (#3665)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-27 10:07:02 +03:00
renovate[bot]
df1c27073b
chore(deps): lock file maintenance (#3636) 2020-04-20 10:15:49 +03:00
renovate[bot]
862a705ccc
chore(deps): update dependency eslint-plugin-prettier to v3.1.3 (#3592)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-13 09:45:00 +03:00
renovate[bot]
5efe4be542
chore(deps): update dependency css-loader to v3.5.2 (#3590)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-13 09:44:15 +03:00
renovate[bot]
2fd657db92
chore(deps): update babel monorepo to v7.9.5 (#3589)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-13 09:43:55 +03:00
Shawn Erquhart
68ae5b191f chore: update lockfile 2020-04-07 09:40:03 -04:00
Erez Rokah
4afbbdd8a9
feat(yaml): support comments (#3529) 2020-04-07 15:00:06 +03:00
renovate[bot]
7d1e1ec663
chore(deps): lock file maintenance (#3554)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-04-06 10:28:36 +03:00
renovate[bot]
682f483056
chore(deps): lock file maintenance (#3504)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-30 09:31:02 +03:00
renovate[bot]
2f86d6fc36
chore(deps): lock file maintenance (#3466)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-23 09:24:11 +02:00
Shawn Erquhart
57d5111b0b
chore: update lockfile (#3442) 2020-03-19 11:46:20 -04:00
renovate[bot]
d812eecc51
chore(deps): lock file maintenance (#3428)
* chore(deps): lock file maintenance

* fix: don't add undefined children property

* chore: add missing axios dependency

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: erezrokah <erezrokah@users.noreply.github.com>
2020-03-16 12:38:10 +01:00
dependabot-preview[bot]
69c2a7df9c
build(deps): [security] bump acorn from 5.7.3 to 5.7.4 (#3420)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4. **This update includes a security fix.**
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-14 08:54:09 +01:00
renovate[bot]
2578ad726b
chore(deps): update dependency eslint-plugin-react to v7.19.0 (#3392)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 11:14:27 +01:00
renovate[bot]
5184f85d38
chore(deps): update dependency babel-plugin-emotion to v10.0.29 (#3391)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 11:14:14 +01:00
renovate[bot]
9da0b8d940
chore(deps): update dependency @testing-library/react to v9.5.0 (#3389)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 10:12:52 +01:00
renovate[bot]
2c24aae75b
chore(deps): update babel monorepo to v7.8.7 (#3388)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-03-09 09:51:06 +01:00
Erez Rokah
92e76011e7
feat: add media lib virtualization (#3381) 2020-03-09 08:45:42 +01:00
renovate[bot]
773d83900d
chore(deps): update dependency @types/hapi__joi to v16.0.12 (#3355)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-03-02 11:31:27 +01:00
renovate[bot]
bc262b8b8d
chore(deps): lock file maintenance (#3360)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-03-02 09:03:06 +01:00
renovate[bot]
dcb0c9cfbe
chore(deps): update dependency @types/hapi__joi to v16.0.11 (#3308)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-24 10:41:04 +01:00
renovate[bot]
587456fe02
chore(deps): lock file maintenance (#3312)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-24 10:38:56 +01:00
renovate[bot]
70789a322d
chore(deps): update dependency @types/hapi__joi to v16.0.10 (#3272)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-17 12:25:24 +02:00
renovate[bot]
a81ca240f8
chore(deps): lock file maintenance (#3277)
* chore(deps): lock file maintenance

* chore: update octokit types imports

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com>
2020-02-17 12:10:56 +02:00
Erez Rokah
e1fa3b0ec0
chore: upgrade cypress (#3231) 2020-02-11 18:36:13 +02:00
Erez Rokah
97bc0c8dc4
feat: field based media/public folders (#3208) 2020-02-10 11:05:47 -05:00
Bartholomew
d22f7e680e fix: workflow file collection (#3207) 2020-02-09 11:53:38 +02:00
renovate[bot]
b71c496d97
chore(deps): update dependency @types/hapi__joi to v16.0.9 (#3185) 2020-02-03 01:32:34 -08:00
renovate[bot]
05c3e5cf31
chore(deps): update dependency @octokit/rest to v16.43.0 (#3183)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-02 22:40:29 -08:00
renovate[bot]
af004fa760
chore(deps): lock file maintenance (#3184)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-02-02 22:21:59 -08:00
renovate[bot]
a3646edf52 chore(deps): update dependency start-server-and-test to v1.10.8 (#3149)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-27 21:44:20 -08:00
renovate[bot]
a9af185c62 chore(deps): update dependency @octokit/rest to v16.39.0 (#3143)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-27 21:26:52 -08:00
renovate[bot]
dfa30d826f chore(deps): lock file maintenance (#3145)
* chore(deps): lock file maintenance

* chore: revert joi types update

Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Erez Rokah <erezrokah@users.noreply.github.com>
2020-01-27 17:15:29 -08:00
Erez Rokah
7cbb94b919
build(proxy_server): cleanup dependencies, add bin entry (#3137) 2020-01-25 18:13:32 +02:00
Erez Rokah
7e8084be87 chore: add proxy backend (#3126)
* feat(backends): add proxy backend

* feat: add proxy server initial commit

* fix: move from joi to @hapi/joi

* test: add joi validation tests

* feat: proxy server initial implementations

* test: add tests, fix build

* chore: update yarn.lock

* build: fix develop command

* fix(back-proxy): fix bugs

* test(backend-proxy): add cypress tests

* chore: cleanup

* chore: support node 10

* chore: code cleanup

* chore: run cypress on ubuntu 16.04

* test(e2e): fix proxy backend cypress tests

* chore: don't start proxy server on yarn develop
2020-01-22 16:47:34 -05:00
renovate[bot]
ba9a6119c5 chore(deps): lock file maintenance (#3115)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-20 08:43:25 +02:00
Erez Rokah
e142280f6e
chore: add storybook (#3104) 2020-01-19 17:53:11 +02:00
Erez Rokah
6f221ab3c1 Feat: editorial workflow bitbucket gitlab (#3014)
* refactor: typescript the backends

* feat: support multiple files upload for GitLab and BitBucket

* fix: load entry media files from media folder or UI state

* chore: cleanup log message

* chore: code cleanup

* refactor: typescript the test backend

* refactor: cleanup getEntry unsued variables

* refactor: moved shared backend code to lib util

* chore: rename files to preserve history

* fix: bind readFile method to API classes

* test(e2e): switch to chrome in cypress tests

* refactor: extract common api methods

* refactor: remove most of immutable js usage from backends

* feat(backend-gitlab): initial editorial workflow support

* feat(backend-gitlab): implement missing workflow methods

* chore: fix lint error

* feat(backend-gitlab): support files deletion

* test(e2e): add gitlab cypress tests

* feat(backend-bitbucket): implement missing editorial workflow methods

* test(e2e): add BitBucket backend e2e tests

* build: update node version to 12 on netlify builds

* fix(backend-bitbucket): extract BitBucket avatar url

* test: fix git-gateway AuthenticationPage test

* test(e2e): fix some backend tests

* test(e2e): fix tests

* test(e2e): add git-gateway editorial workflow test

* chore: code cleanup

* test(e2e): revert back to electron

* test(e2e): add non editorial workflow tests

* fix(git-gateway-gitlab): don't call unpublishedEntry in simple workflow

gitlab git-gateway doesn't support editorial workflow APIs yet. This change makes sure not to call them in simple workflow

* refactor(backend-bitbucket): switch to diffstat API instead of raw diff

* chore: fix test

* test(e2e): add more git-gateway tests

* fix: post rebase typescript fixes

* test(e2e): fix tests

* fix: fix parsing of content key and add tests

* refactor: rename test file

* test(unit): add getStatues unit tests

* chore: update cypress

* docs: update beta docs
2020-01-14 17:15:14 -05:00
renovate[bot]
93df614203 chore(deps): lock file maintenance (#3072)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
2020-01-13 08:16:12 +02:00
renovate[bot]
b54d42fcfe chore(deps): lock file maintenance (#3032)
Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2020-01-06 08:47:45 +02:00
Shawn Erquhart
74ecc21879 fix: move code widget and locales to netlify-cms-app (#3025) 2020-01-05 11:09:27 +02:00
renovate[bot]
18123ecd93 chore(deps): lock file maintenance (#3013) 2019-12-30 08:05:06 +02:00
renovate[bot]
95ba0f5cd0 chore(deps): update dependency cache-me-outside to ^0.0.10 (#2997) 2019-12-23 11:17:25 +02:00
Erez Rokah
510b712af5
ci: use latest yarn in GitHub actions (#3001)
* Lock file maintenance

* ci: use latest yarn in github actions

Co-authored-by: Renovate Bot <renovatebot@gmail.com>
2019-12-23 09:37:35 +02: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
Shawn Erquhart
84fc2184e6 chore: update dependencies 2019-12-16 12:36:20 -05:00
Shawn Erquhart
99de839271 chore: update dependencies 2019-12-16 12:27:03 -05:00
Shawn Erquhart
18c579d0e9 feat: Code Widget + Markdown Widget Internal Overhaul (#2828)
* wip - upgrade to slate 0.43

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* finish list handling logic

* add plugins directory

* tests wip

* setup testing

* wip

* add selection commands

* finish list testing

* stuff

* add codemirror

* abstract codemirror from slate

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* codemirror mostly working, some bugs

* upgrade to slate 46

* upgrade to slate 47

* wip

* wip

* progress

* wip

* mostly working links with surrounding marks

* wip

* tests passing

* add test

* fix formatting

* update snapshots

* close self closing tag in markdown html output

* wip - commonmark

* hold on commonmark work

* all tests passing

* fix e2e specs

* ignore tests in esm builds

* break/backspace plugins wip

* finish enter/backspace spec

* fix soft break handling

* wip - editor component deletion

* add insertion points

* make insertion points invisible

* fix empty mark nodes output to markdown

* fix pasting

* improve insertion points

* add static bottom insertion point

* improve click handling at insertion points

* restore current table functionality

* add paste support for Slate fragments

* support cut/copy markdown, paste between rich/raw editor

* fix copy paste

* wip - paste/select bug fixing

* fixed known slate issues

* split plugins

* fix editor toggles

* force text cursor in code widget

* wip - reorg plugins

* finish markdown control reorg

* configure plugin types

* quote block adjacent handling with tests

* wip

* finish quote logic and tests

* fix copy paste plugin migration regressions

* fix force insert before node

* fix trailing insertion point

* remove empty headers

* codemirror working properly in markdown widget

* return focus to codemirror on lang select enter

* fix state issues for widgets with local state

* wip - vim working, just need to work out distribution

* add settings pane

* wip - default modes

* fix deps

* add programming language data

* implement linguist langs in code widget

* everything built in

* remove old registration code, fix focus styling

* fix/update linting setup

* fix js lint errors

* remove stylelint from format script

* fix remaining linting errors

* fix reducer test failures

* chore: update commitlint for worktree support

* chore: fix remaining tests

* chore: drop unused monaco plugin

* chore: remove extraneous global styles rendering

* chore: fix failing tests

* fix: tests

* fix: quote/list nesting (tests still broken)

* fix: update quote tests

* chore: bring back code widget test config

* fix: autofocus

* fix: code blocks without the code widget

* fix: code editor component state issues

* fix: error

* fix: add code block test, few fixes

* chore: remove notes

* fix: [wip] update stateful shortcodes on undo/redo

* fix: support code styled links, handle unknown langs

* fix: few fixes

* fix: autofocus on insert, focus on all clicks

* fix: linting

* fix: autofocus

* fix: update code block fixture

* fix: remove unused cypress snapshot plugin

* fix: drop node 8 test, add node 12

* fix: use lodash.flatten instead of Array.flat

* fix: remove console logs
2019-12-16 19:17:37 +02:00
renovate[bot]
be46293f82 chore(deps): lock file maintenance (#2969) 2019-12-16 09:38:49 +02:00
Shawn Erquhart
9ee5d4f66f chore: update dependencies 2019-12-09 12:46:14 -05:00
renovate[bot]
c31efe190a chore(deps): update dependency http-server to ^0.12.0 (#2941) 2019-12-02 11:14:35 +02:00
renovate[bot]
e3ae2ea716 chore(deps): lock file maintenance (#2939) 2019-12-02 09:08:56 +02:00
renovate[bot]
695b0e0380 fix(deps): update dependency react-is to v16.12.0 (#2912) 2019-11-25 13:12:20 +02:00
renovate[bot]
b65e6571b4 chore(deps): lock file maintenance (#2910) 2019-11-25 12:05:50 +02:00
renovate[bot]
9f26e25253 chore(deps): lock file maintenance (#2887) 2019-11-18 17:20:00 -05:00
Erez Rokah
ead46af194
chore(deps): update dependency prettier to v1.19.1 (#2893)
* chore(deps): update dependency prettier to v1.19.1

* style: format files after prettier upgrade
2019-11-18 17:51:51 +02:00
renovate[bot]
e00aab2a8b chore(deps): update dependency all-contributors-cli to v6.11.0 (#2885) 2019-11-18 13:29:21 +02:00
renovate[bot]
60013a06f9 chore(deps): update dependency to-string-loader to v1.1.6 (#2891) 2019-11-18 12:45:08 +02:00
renovate[bot]
f0e206c8e4 chore(deps): update dependency husky to v3.1.0 (#2890) 2019-11-18 11:36:37 +02:00
renovate[bot]
59c72a4c5d chore(deps): update dependency mockserver-node to v5.7.2 (#2888) 2019-11-18 10:05:51 +02:00
renovate[bot]
b0d7f01940 chore(deps): update dependency mockserver-client to v5.7.2 (#2886) 2019-11-18 09:42:30 +02:00
Erez Rokah
6515dee871
feat: commit media with post (#2851)
* 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
2019-11-17 11:51:50 +02:00
renovate[bot]
69220b13a2 chore(deps): lock file maintenance (#2861) 2019-11-12 14:16:35 -05:00
renovate[bot]
d575cd7e81 chore(deps): update dependency all-contributors-cli to v6.10.0 (#2862) 2019-11-11 16:00:45 +02:00
renovate[bot]
6e2a5b976e chore(deps): update dependency copy-webpack-plugin to v5.0.5 (#2863) 2019-11-11 15:31:20 +02:00
renovate[bot]
bff0baa07d chore(deps): update dependency cypress to v3.6.1 (#2864) 2019-11-11 13:11:45 +02:00
renovate[bot]
01d6b1183f chore(deps): update dependency mockserver-client to v5.7.1 (#2865) 2019-11-11 12:09:27 +02:00
renovate[bot]
c94a2dd3ea chore(deps): update dependency @octokit/rest to v16.35.0 (#2860) 2019-11-11 11:26:37 +02:00
renovate[bot]
3ec21d0642 chore(deps): update babel monorepo (#2859) 2019-11-11 10:42:00 +02:00
renovate[bot]
c643266b53 chore(deps): update dependency react-is to v16.11.0 (#2750) 2019-11-07 15:43:08 -05:00
Erez Rokah
435d772384
fix: revert "chore(deps): lock file maintenance (#2836)" (#2843)
This reverts commit 4335ef0aa5fb0c18be3889f6d235b41aec0305ce.
2019-11-05 18:35:17 +02:00
renovate[bot]
4335ef0aa5 chore(deps): lock file maintenance (#2836) 2019-11-04 10:55:19 +02:00
renovate[bot]
42aafa7530 chore(deps): update dependency cypress to v3.6.0 (#2835) 2019-11-04 10:25:12 +02:00
renovate[bot]
689fcf0218 chore(deps): update dependency @octokit/rest to v16.34.1 (#2834) 2019-11-04 10:02:50 +02:00
renovate[bot]
ab5860f58e fix(deps): update dependency react-polyglot to ^0.6.0 (#2752) 2019-10-28 15:09:58 -04:00
renovate[bot]
5636f5f54c chore(deps): update dependency babel-plugin-transform-define to v1.3.2 (#2814) 2019-10-28 10:32:02 +02:00
renovate[bot]
55be4019ca chore(deps): lock file maintenance (#2815) 2019-10-28 10:03:47 +02:00
renovate[bot]
0d150e3175 chore(deps): update dependency cross-env to v6 (#2769) 2019-10-27 09:37:20 +02:00
Erez Rokah
38cbe6e9bb
chore: add commitlint (#2803) 2019-10-27 09:32:34 +02:00
renovate[bot]
2aae75cf52 chore(deps): update dependency nock to v11 (#2770) 2019-10-24 08:58:16 +03:00
Erez Rokah
b869ce05ae test(cypress-github-backend): optionally record tests and run using recorded data (#2776) 2019-10-22 12:59:13 -04:00
renovate[bot]
a98e6dee65 chore(deps): update dependency rimraf to v3 (#2771) 2019-10-22 10:54:18 -04:00
renovate[bot]
7904bde7db chore(deps): lock file maintenance (#2730) 2019-10-22 10:51:14 -04:00
renovate[bot]
58164cb75f chore(deps): lock file maintenance (#2709) 2019-09-30 16:15:35 -04:00
Shawn Erquhart
5dc7ee2a9c
fix: swap out svg plugin causing node 12 failures (#2710) 2019-09-30 11:52:26 -04:00
renovate[bot]
1a0e640f8a chore(deps): update dependency @octokit/rest to v16.28.9 (#2663) 2019-09-10 10:48:49 -04:00
Erez Rokah
ece136c92e feat(backend-github): GitHub GraphQL API support (#2456)
* add GitHub GraphQL api initial support

* support mutiple backends for e2e tests - initial commit

* add github backend e2e test (currently skipped), fix bugs per tests

* refactor e2e tests, add fork workflow tests, support fork workflow in GraphQL api

* remove log message that might contain authentication token

* return empty error when commit is not found when using GraphQL (align with base class)

* disable github backend tests

* fix bugs introduced after rebase of GraphQL and OpenAuthoring features

* test: update tests per openAuthoring changes, split tests into multiple files

* fix: pass in headers for pagination requests, avoid async iterator as it requires a polyfill on old browsers

* test(e2e): disable github backend tests
2019-09-03 14:56:20 -04:00
cetra3
9cb7cd7214 Update toml library from toml-j0.4 to @iarna/toml@2.2.3 (#2547) 2019-08-28 18:46:11 -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
renovate[bot]
5fd4a30f7b chore(deps): update dependency css-loader to v3 (#2410) 2019-06-26 14:56:15 -04:00
renovate[bot]
aded9d7c24 chore(deps): update dependency prettier to v1.18.2 (#2407) 2019-06-26 14:28:00 -04:00
Shawn Erquhart
321ca9b0ed
test(backend-gitlab): cover gitlab backend integration (#1968) 2019-06-26 11:51:35 -04:00
Shawn Erquhart
f331cbb0c2
chore: remove website unused eslint (sec alert) (#2404) 2019-06-24 19:32:25 -04:00
Shawn Erquhart
3bf25e3dfb chore: move off of temporary lerna fork 2019-06-14 12:03:51 -04:00
Tony Alves
575d142f46 fix: bump babel-plugin-inline-svg (#2359)
Closes #2345
2019-06-07 15:31:32 -04:00
renovate[bot]
91702c2ae7 chore(deps): update dependency prettier to v1.17.1 (#2353) 2019-06-04 14:05:45 -04:00
renovate[bot]
a1eaf3e48a chore(deps): update dependency react-testing-library to v7 (#2322) 2019-05-09 16:04:43 -04:00
renovate[bot]
9e624cfaa3 chore(deps): update dependency dom-testing-library to v4 (#2321) 2019-05-09 15:44:25 -04:00
renovate[bot]
c7390956d0 chore(deps): update dependency prettier to v1.17.0 (#2287) 2019-05-09 12:38:29 -04:00
Shawn Erquhart
fabe76a621 chore: add travis, refactor test scripts 2019-03-28 15:30:17 -04:00
Tony Alves
ff4ffd7a70 feat: add byo react package netlify-cms-app (#2252) 2019-03-28 14:37:23 -04:00
renovate[bot]
6e2d18f671 fix(deps): update dependency react-is to v16.8.5 (#2232) 2019-03-25 14:13:10 -04:00
Tony Alves
d142b32345 feat: add ES module builds (#2215) 2019-03-22 11:24:46 -04:00
Shawn Erquhart
35dc2474ad chore: temporarily switch to lerna fork 2019-03-21 16:42:25 -04:00
renovate[bot]
e906091c8f chore(deps): update dependency all-contributors-cli to v6 (#2179) 2019-03-18 15:46:00 -04:00
Tony Alves
82cc7941cc feat: provide usable UMD builds for all packages (#2141) 2019-03-16 18:44:29 -04:00
renovate[bot]
d5248c8066 fix(deps): update dependency react-polyglot to ^0.4.0 (#2170) 2019-03-15 18:39:10 -04:00
renovate[bot]
b5180e96c3 fix(deps): update dependency react-sortable-hoc to v1 (#2198) 2019-03-15 11:29:25 -04:00
renovate[bot]
12cc5a99d3 fix(deps): update dependency react-scroll-sync to ^0.7.0 (#2171) 2019-03-15 10:52:10 -04:00
renovate[bot]
e8d3db1ff9 fix(deps): update dependency react-aria-menubutton to v6 (#2195) 2019-03-15 10:50:27 -04:00
Shawn Erquhart
ccef446d72
feat: upgrade to Emotion 10 (#2166) 2019-03-15 10:19:57 -04:00
Shawn Erquhart
686504adee
feat(core): recover entry after unexpected quit (#2129) 2019-02-28 13:30:23 -05:00
Benaiah Mischenko
da2249c651 Netlify Large Media integration (#2124) 2019-02-26 13:11:15 -05:00
Alexander Nanberg
518f6fb1c0 feat(netlify-cms-widget-relation): use react-select and add support for multiple entries (#1936) 2019-02-19 14:11:38 -05:00
Aleksandr Grenishin
50dab7256d enhancement(uploadcare): load uploadcare as module (#2091) 2019-02-13 10:19:33 -05:00
Shawn Erquhart
888ca8b28b Revert "enhancement(media-library-uploadcare): update uploadcare plugin (#2029)"
This reverts commit ff7317524478cb051374dc10aa45d96478428122.
2019-02-08 22:50:39 -05:00
Shawn Erquhart
97c7d3efc2 chore: update react 2019-02-08 18:14:11 -05:00
Shawn Erquhart
ddbf80df49 Revert "perf(netlify-cms-core): add basic route code-splitting (#1889)"
This reverts commit 9aa56457e297a9e2592ca87a59b635508ef5702e.
2019-02-08 17:40:16 -05:00
Aleksandr Grenishin
ff73175244 enhancement(media-library-uploadcare): update uploadcare plugin (#2029) 2019-02-08 14:06:08 -05:00
friedjoff
18f34d2aca feat(netlify-cms-widget-map): add map widget (#2051) 2019-02-05 17:41:21 -05:00
Alexander Nanberg
9aa56457e2 perf(netlify-cms-core): add basic route code-splitting (#1889) 2019-02-05 16:49:27 -05:00
Shawn Erquhart
443f060ef9
fix(media-library-cloudinary): fix options, add tests (#1938) 2018-12-07 16:49:55 -05:00
Alexander Nanberg
e5ad6087af chore(netlify-cms-core): upgrade react-frame-component to 4.x (#1925) 2018-11-29 10:07:09 -05:00
Alexander Nanberg
e940f4eeb6 chore(netlify-cms-core): upgrade gray-matter to 4.x (#1924) 2018-11-29 10:05:14 -05:00
Alexander Nanberg
88bf287221 feat(netlify-cms-widget-select): add support for multiple selection (#1901) 2018-11-29 09:34:04 -05:00
Alexander Nanberg
12d17ec3f2 chore(netlify-cms-core): upgrade react-dnd to 7.x (#1922) 2018-11-28 19:37:55 -05:00
Alexander Nanberg
ec35dc94b6 chore(netlify-cms-widget-text): upgrade to react-textarea-autosize 7.x (#1921) 2018-11-28 19:36:39 -05:00
Alexander Nanberg
c932d05bdb chore(netlify-cms-core): upgrade to react-waypoint 8.x (#1920) 2018-11-28 19:35:51 -05:00
Alexander Nanberg
ae21317621 chore(netlify-cms-core): upgrade redux and related dependencies (#1914) 2018-11-27 11:42:36 -05:00
Alexander Nanberg
e1104d09bd chore(dependencies): bump npm-run-all (#1913) 2018-11-27 10:33:53 -05:00
Bartholomew
812290710f improvement(widget-select): use react-select (#1835) 2018-11-21 20:31:51 -05:00
Shawn Erquhart
e2544a6bf5
chore(build): improve versioning control (#1855) 2018-11-05 13:32:39 -05:00
Nahuel Dealbera
c2e21ff9db improvement(i18n): extract core UI texts to external file (#1708) 2018-11-02 13:19:49 -04:00
Shawn Erquhart
b60c94aa8f
improvement(auth): verbose error message when GitHub repo unavailable (#1831) 2018-11-02 10:29:11 -04:00
Loïc Mahieu
9856b7e03c chore: update babel dependencies (#1846) 2018-11-02 10:22:04 -04:00
Shawn Erquhart
b58d6fe651
chore: output blank css files to avoid broken builds (#1724) 2018-09-06 16:59:18 -04:00
Robert Karlsson
a1677b0e24 chore: update Slate dependencies (#1451) 2018-08-23 16:54:55 -04:00
Caleb
f801b19221 chore: add code formatting and linting (#952) 2018-08-07 16:46:54 -04:00
Caleb
8cc6dc78ec improvement(validation): use config schema definition for validation (#1363) 2018-08-07 12:31:17 -04:00
Caleb
b2debb05a1 refactor: use external version of react-scroll-sync (#1586) 2018-08-07 11:50:41 -04:00
Shawn Erquhart
b79c042e9e
chore(e2e): add cypress integration test of editorial workflow (#1573) 2018-08-03 19:23:43 -04:00
Shawn Erquhart
21e54de483
chore: update develop task to watch all packages (#1562) 2018-07-31 15:44:56 -04:00
Shawn Erquhart
1a9fe461ff migrate test framework 2018-07-25 21:17:57 -04:00
Shawn Erquhart
4a01d2289c fix dependencies 2018-07-25 21:17:57 -04:00
Shawn Erquhart
eb5ee68ea7 remove extra deps 2018-07-25 21:17:57 -04:00
Shawn Erquhart
f1a2eb33b4 migrate markdown widget 2018-07-25 21:17:57 -04:00
Shawn Erquhart
8a0ffa7b9b migrate git gateway backend 2018-07-25 21:17:57 -04:00
Shawn Erquhart
ef90fb9925 improve builds and local development 2018-07-25 21:17:57 -04:00
Shawn Erquhart
2f95d8c4fc use webpack for all builds 2018-07-25 21:17:57 -04:00
Shawn Erquhart
040dd6859c fix build, migrate test backend 2018-07-25 21:17:57 -04:00
Shawn Erquhart
2e7406862e fix various bugs 2018-07-25 21:17:57 -04:00
Shawn Erquhart
b7b90aaa65 migrate image editor component 2018-07-25 21:17:57 -04:00
Shawn Erquhart
4931711892 migrate core to emotion 2018-07-25 21:17:57 -04:00
Shawn Erquhart
768fcbaa1d begin scaffolding for lerna 2018-07-25 21:17:57 -04:00
Shawn Erquhart
55c8302dca update dependencies 2018-05-25 11:20:42 -04:00
Daniel Ruf
de64c227ae chore: add Node.js 8 and 10 (#1364)
* chore: add Node.js 8 and 10

* chore: update dependencies
2018-05-18 11:43:49 -04:00
Caleb
4d981d8e01 Upgrade to Webpack 4 (#1214) 2018-05-15 18:37:59 -04:00
Daniel Mahon
40494a4e43 Adds support for passing component type or element to PreviewContent, supports React.forwardRef (#1248) 2018-05-14 13:36:55 -04:00
Caleb
cd10a713d8 Add option to strip Unicode from entry filenames (#1135) 2018-03-27 18:56:10 -04:00
Shawn Erquhart
757ef0c99f fix cms deps 2018-03-06 18:02:19 -05:00
Shawn Erquhart
5e7d71c6e2 update lockfiles 2018-03-06 16:55:47 -05:00
Shawn Erquhart
a83c04cad0 allow manual initialization and config as an arg 2018-03-06 16:22:55 -05:00
Shawn Erquhart
9d1ae91bc7 add dev task that writes output to disk 2018-03-03 20:12:51 -05:00
Caleb
ab7c1b654a Clean up .babelrc. 2018-02-27 11:47:48 -07:00
Caleb
862eeb14ca Revert "Fix build for Gatsby (WebPack v1)."
This reverts commit f97e2d2853559e2bbc7d69341c6422262f3000e4.
2018-02-27 11:47:48 -07:00
Caleb
d2ede299a2 Revert "remove babel-preset-env"
This reverts commit cbbf93aad8a58d8b6dd3fb2b0ec99805294061cf.
2018-02-27 11:47:48 -07:00
xifengjin88
03a16dd603 added uniqueId for input field and its cooresponding label 2018-02-22 11:38:07 -05:00
Shawn Erquhart
cbbf93aad8 remove babel-preset-env 2018-02-21 17:38:05 -05:00
Caleb
f97e2d2853 Fix build for Gatsby (WebPack v1).
WebPack version 1, which Gatsby is using, has the Acorn parser set to
parse ES6 and lower. The latest version of WebPack supports parsing up
to ES2017 and lower (webpack/lib/Parser.js), but Gatsby isn't using it.
2018-02-21 16:31:21 -05:00
Caleb
8db37ff023 Remove Babel stage presets. 2018-01-17 15:15:15 -07:00
Caleb
12ff47d7ba remove unneeded package
originally removed in #640, accidently added as part of #638
2018-01-17 15:13:18 -07:00
Caleb
e2125c3555 Resolve module aliases in Babel.
If we only resolve them in WebPack the tests will not work.
2017-12-14 15:49:13 -08:00
Shawn Erquhart
0b6d0004ca remove extra changes 2017-12-07 13:06:54 -05:00
Shawn Erquhart
91307a06ce fix identity auth page styling 2017-12-07 13:03:18 -05:00
Shawn Erquhart
cfbf31b130
WIP - Global UI (#785)
* update top bar and collections sidebar UI

* update collection entries UI

* improve global layout

* merge search page into collection page

* enable new entry button

* search fixup

* wip -initial editor update

* update editor scrolling and markdown toolbar position

* wip

* editor toolbar progress

* editor toolbar wip

* finished basic editor toolbar

* add standalone toggle component

* improve markdown toolbar spacing

* add user avatar placeholder

* finish markdown toggle styling

* refactor icon setup, add new icons

* add new icons to markdown editor toolbar

* remove extra app container

* add markdown active mark style

* relation and text widget styling

* widget design updates, basic list/object design update

* widget style updates, image widget improvements

* refactor widget directory, fix file removal

* widget focus styles

* finish editor widget focus styles

* migrate media library modal to react-modal

* wip - migrate editor component form to modal

* wip - move editor component form to modal

* wip - embed plugin forms in the editor

* inline shortcode forms working

* disable react hot loading, its breaking things

* improve shortcode form styles

* make shortcode form collapsible, improve styling

* add close functionality to shortcode blocks

* improve base media library styling

* fix shortcode label

* migrate unstyled workflow to new UI

* wip - reorganizing everything

* more work moving everything

* finish more moving and eliminating stuff

* restructure, remove react-toolbox

* wip - removing old stuff, more restructure

* finish restructure

* wip - css arch

* switch back to test repo

* update react-datetime to ^2.11.0

* remove leftover react-toolbox button

* more restructuring clean-up

* fix UI component directory case

* wip -css editor control style

* wip - consolidate widget styles

* wip - use a single control renderer

* fixed object values breaking

* wip - editor control active styles

* pass control wrapper to widgets

* ensure branch name is trimmed

* wip - improve widget authoring support

* import Map to Widget component

* refactor toolbar buttons

* wip - more widget active styles

* break out editor toggle component

* add local scroll sync back

* update editor toggle icons

* limit editor control pane content width

* fix editor control spacing

* migrate markdown toolbar stickiness to css

* fix markdown toolbar border radius

* temporarily use test backend

* stop markdown toolbar from going to bottom

* restore disabled markdown toolbar buttons for raw

* test markdown widget without focus styles

* more widget updates

* remove card visuals from editor

* disable dragging editor split off screen

* use editorControl component for shortcode fields

* make header site link configurable

* add configurable collection descriptions

* temporarily add example assets

* add basic list view

* remove outdated css mixins

* add and implement search icon

* activate quick add menu

* visualize usable space in editor view

* fix entry close, other improvements

* wip - editorial workflow updates

* some dropshadow and other CSS tweaks

* workflow ui updates

* add worfklow card buttons

* fix workflow card button handlers

* some dropshadow and other CSS tweaks

* make workflow board wider

* center workflow and collection views

* add basic responsiveness

* a bunch of fun UI fixes! a BUNCH! (#875)

* give `.nc-entryEditor-toolbar-mainSection` left and right child divs

* a bunch of fun UI fixes! a BUNCH!

* remove obscure --buttonShadow

* revert to test repo

* fix not found page styling

* allow workflow publishing from any column

* disallow publishing from all columns, with feedback

* fix new entry button

* fix markdown state persisting across entries

* enable simple workflow save and new from editor

* update slug in address bar when saving new entry

* wip - workflow updates, deletion working

* add status change functionality to editor

* wip - improving status change from editor

* editor toolbar back button improvements, loading improvements, cleanup

* progress on the media library UI cleanup

* remove font smothing css

* a quick fix for these buttons

* tweaks

* progress on media library modal— broken FYI

* fix media library functionality, finish migrating footer

* remove media library footer files

* remove leftover css import

* fix media library

* editor publishing functionality complete (unstyled)

* remove leftover loader var from media library

* wip - editor publishing styles

* add status dropdown styling

* editor toolbar style updates

* editor toolbar state improvements

* progress on the media library UI cleanup, style improvements

* finish editorial workflow editor styling

* finish media library styling

* fix config

* add what-input to optimize focus styling

* fix button

* fix navigation blocking for simple workflow

* improve simple workflow publishing

* add avatar dropdown to editor top bar

* style github and test-repo auth pages

* add git gateway auth page styles

* improve editor error styling
2017-12-07 12:37:10 -05:00
Mathias Biilmann Christensen
44cc9cbd6f Update bundled version of gotrue-js to latest 2017-11-27 20:45:19 -05:00
Shawn Erquhart
8ef0769a07 move slate-react to 0.10.11 until scroll bug fixed 2017-11-27 12:08:40 -05:00
Shawn Erquhart
b25e7de15e Update Slate to 0.30.0 2017-11-27 12:08:40 -05:00
Shawn Erquhart
63d2b09b09 Update Slate to 0.29.0 2017-11-27 12:08:40 -05:00
Shawn Erquhart
c9e97b5c7e Update Slate to 0.28.0 2017-11-27 12:08:40 -05:00
Shawn Erquhart
ff0b8d4ca8 Update Slate to 0.27.0 2017-11-27 12:08:40 -05:00
Shawn Erquhart
b02d3dc47a Update to Slate 0.26.0 2017-11-27 12:08:40 -05:00
Caleb
bebea64e33 Fix requestAnimationFrame warnings in tests. 2017-11-11 21:42:42 -05:00
Caleb
6071ea746f Upgrade uglify-js-webpack-plugin, enable sourcemaps 2017-11-11 10:32:32 -05:00
Shawn Erquhart
383154f104 update yarn.lock 2017-11-08 15:41:03 -05:00
Shawn Erquhart
6b45a46a39 add media library
* rebase editorial workflow pull requests when behind

* fix async/await transpilation

* add media library pagination

* switch media library to grid layout

* ensure that only cms branches can be force updated
2017-11-08 15:00:28 -05:00
Caleb
2ef6556d4a Add support for TOML files. (#740)
* Move `sortKeys` into a helper function.

* Add support for TOML files.
2017-10-26 11:43:28 -07:00
Caleb
daa5395346 Fix tests for React 16. 2017-10-26 14:04:31 -04:00
Caleb
45ebc44c3b Upgrade React. 2017-10-26 14:04:31 -04:00
Caleb
d4b92c2af8 Upgrade react-router-redux. 2017-10-26 14:04:31 -04:00
Caleb
456fd781aa Upgrade react-topbar-progress-indicator. 2017-10-26 14:04:31 -04:00
Caleb
77ac1f9790 Upgrade react-frame-component. 2017-10-26 14:04:31 -04:00
Caleb
a7b18df987 Upgrade react-autosuggest. 2017-10-26 14:04:31 -04:00
Benaiah Mischenko
f649e8cad6 Migrate ListControl from react-sortable to react-sortable-hoc 2017-10-24 14:44:13 -04:00
Caleb
cd72e1d9dd Remove react-dnd wrapper lib.
`react-simple-dnd` is just a wrapper for `react-dnd`, and it doesn't
support React 16. This PR changes to using the underlying library
directly.
2017-10-23 11:19:58 -04:00
talves
ac0a7fc27c Remove IE11 Support 2017-10-19 14:12:15 -04:00
Caleb
c58e2eeb5c Use babel-preset-env instead of the yearly presets.
This allows only the transpilation needed for the supported browsers to
be done. It also allows us to use the upgrades from ES2016 and ES2017
without needing to add a seperate preset.
2017-10-19 13:54:31 -04:00
Caleb
024c43a8c8 Upgrade UUID module. (#682) 2017-10-18 13:02:16 -04:00
Benaiah Mischenko
7dd8ca13c4 Migrate to plain CSS (remove CSS modules) (#659)
* Migrate to plain CSS (remove CSS modules)

Change `prefixer` to a function instead of a proxy

* Switch prefix to `nc`

* Replace prefixer with literal class names

* Remove prefixer

* Fix migration errors

* fix compose migrations

* Remove unnecessary theme imports

* Remove old CSS import

* fix sticky toolbar positioning

* update to cssnano v4 so preset is used

* fix css pseudo selectors

* update lockfile
2017-10-18 12:29:38 -04:00
Caleb
5bdc8dd87f Upgrade PostCSS build deps (#681)
* Move supported browser list to package.json.

That way all build tools can use it.

* Specify supported browsers explicitly.

This is necessary for the latest version of browserslist/autoprefixer.

This also drops IE 10 support, as it was accidental anyway.

* Upgrade PostCSS build deps.
2017-10-13 16:47:50 -06:00
Caleb
dbe96d33f9 Upgrade to React Router v4 (#667)
* Upgrade to React Router v4

* Fix pages not change when the URL was changed.

This issue is due to the Redux `connect` wrapper around `<App/>`.
`connect` diffs changes in regular props to know when to update the
component, but doesn't check context props like `location`.
See
https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/guides/blocked-updates.md.

* Update to new `history` methods.
2017-10-12 21:10:43 -04:00
Caleb
8bf21cac14 Remove unused react-addons-test-utils. 2017-10-11 10:55:27 -07:00
Caleb
95da348212 Upgrade Enzyme testing libraries.
Versions for React were also updated to comply with Enzyme peer-deps
(the actual `yarn.lock` version didn't change).
2017-10-11 10:55:27 -07:00
Caleb
7a597e7e05 Upgrade Jest testing libraries. 2017-10-11 10:55:27 -07:00
Shawn Erquhart
7c3063077b Release 0.5.0 2017-10-06 10:32:10 -04:00
Shawn Erquhart
8bab738b32 Merge pull request #654 from netlify/update-gotrue
Update gotrue
2017-10-05 17:01:25 -04:00
Caleb
ec0bdbfd88 Rebase. 2017-10-04 18:53:31 -06:00
Mathias Biilmann Christensen
9ab25c0434 Update gotrue 2017-10-04 15:05:30 -07:00
Shawn Erquhart
6e012a982d update lockfile 2017-10-04 15:48:33 -04:00
Caleb
51b89cc84b Switch from slug to sanitize-filename. 2017-10-03 13:03:22 -06:00
Caleb
60b9aa3629 Remove old/unused peer-dependency and update lockfile. 2017-10-02 19:41:29 -06:00
Caleb
2ac54cb778 Merge pull request #643 from netlify/upgrade-ui-deps
Upgrade UI dependencies.
2017-10-02 18:55:34 -06:00
Caleb
9ef35c71f1 Merge pull request #642 from netlify/bundle-size
Make YAML and TOML parsers' bundle smaller
2017-10-02 16:55:19 -06:00
Caleb
41cc7ab589 Update Yarn lockfile. 2017-10-02 16:51:40 -06:00
Caleb
b80c417429 Switch to a smaller/faster TOML parser. 2017-10-01 17:21:23 -06:00
Caleb
912851a5a7 Upgrade WebPack to v3. 2017-10-01 16:08:08 -06:00
Caleb
ce53f8b084 Remove dependencies that are no longer used. 2017-09-29 13:44:38 -06:00
Caleb
cd35289dbc Upgrade depreciated transitions addon to react-transition-group.
v1 of `react-transition-group` is a drop-in replacement.
2017-09-28 13:27:05 -06:00
Caleb
86c4987d84 Upgrade gray-matter to v3.0.6.
This upgrade allow `gray-matter` to work in browsers as well.
2017-09-15 19:22:05 -06:00
Caleb
ebf91a9800 Switch back to gray-matter for front-matter parsing. 2017-09-15 19:22:04 -06:00
Caleb
e4ba4e0b10 Remove NPM lockfile from #599 and add Yarn one. 2017-09-15 18:38:41 -06:00
Caleb
ce2278b7e5 Upgrade js-yaml to 3.10.0. (#592)
* Upgrade `js-yaml` to 3.10.0.

The main fix we are wanting is outputting astral characters (emojis) as
a single escape instead of surrogate pairs: nodeca/js-yaml#368.

* Upgrade `preliminaries` front-matter parser (and dependencies).
2017-09-15 17:08:19 -07:00
Mathias Biilmann Christensen
890ee3d7e3 Update old netlify-auth-js to gotrue-js 2017-09-05 13:24:16 -07:00
Shawn Erquhart
e408dcc27e add markdown editor soft break support 2017-08-31 11:03:08 -04:00
Shawn Erquhart
0ea62e0f9d fix rte pasted links with leading/trailing spaces 2017-08-25 16:45:01 -04:00
Shawn Erquhart
317a876891 fix html paste for visual editor 2017-08-25 16:36:24 -04:00
Shawn Erquhart
b7379b019e re-implement shortcode parsing to/from mdast 2017-08-25 16:30:38 -04:00
Shawn Erquhart
cba631ba1a improve visual/raw editor consistency 2017-08-25 16:25:30 -04:00
Shawn Erquhart
364ef8790c Merge pull request #506 from tech4him1/crossEnv
Allow `npm build` commands to be used cross-platform (on Windows).
2017-08-17 11:59:38 -04:00
Benaiah Mischenko
7e8a588c15 Fix incorrect eslint import errors
Just adds the development package `eslint-import-resolver-webpack`,
which is [already configured][0], but not previously installed. This
removes a _lot_ of incorrect eslint errors.

[0]: 2d344ef4ca/.eslintrc (L6-L10)
2017-08-11 11:47:39 -07:00
Caleb
0d7f653adf Allow npm build commands to be used cross-platform (on Windows).
Windows command prompts set and use enviroment variables differently
than POSIX terminals. `cross-env` is a wrapper that allow the commands
to run with the same effect on Windows as well. It will not affect any
POSIX terminal (including Bash on Windows).
2017-08-01 15:15:03 -06:00
Benaiah Mischenko
613a7f6c66 [WIP] Make jest tests work again 2017-06-14 15:11:44 -07:00
Benaiah Mischenko
25225121ed [WIP] Upgrade to Webpack 2 2017-06-13 15:30:21 -07:00
Shawn Erquhart
3176fa1b3f fix entry editor bugs in kitchen sink entry 2017-06-07 23:23:09 -04:00
Shawn Erquhart
6d5ff45e66 fix in-publish for CI, just remove prepublish hook 2017-05-24 17:02:13 -07:00
Shawn Erquhart
2a1e9b40b9 Merge pull request #395 from netlify/visual-tweaks
Small update to the UI's look and feel
2017-05-18 11:26:19 -04:00
David Francoeur
aac5339ac0 boolean widget & some documentation (#396) 2017-05-18 07:37:41 -07:00
Rafael Conde
7fd8556ba5 Increased contrast on borders 2017-05-10 08:44:42 -07:00
Benaiah Mischenko
ab47c3c8b3 Use react-frame-component for preview pane
This fixes the preview pane not working in Firefox
2017-05-08 16:48:52 -07:00
Joseph Earl
bfe46a8e13 Fixes #324 Use branch name from config when creating PR 2017-05-01 08:17:46 -07:00
Shawn Erquhart
7a66dd4dcb remove superfluous rawMode editor prop 2017-04-24 22:39:37 -04:00
Shawn Erquhart
902134c4e8 add autosizing for markdown editor 2017-04-24 17:52:06 -04:00
Joseph Earl
0e3cd0e876 Fixes #356 Remove pre-commit hook 2017-04-14 17:39:21 +01:00
Shawn Erquhart
b5e839468e Merge pull request #348 from josephearl/multi-format-frontmatter
Add multi-format frontmatter parser
2017-04-11 10:34:07 -04:00
Shawn Erquhart
235481826b switch to markup-it upstream repo (#349) 2017-04-10 14:49:05 -07:00
Joseph Earl
5a5a4f5b12 Update to latest preliminaries 2017-04-09 20:05:00 +01:00
Joseph Earl
a2e8602fdd Add multi-format frontmatter parser 2017-04-08 23:32:39 +01:00
Brian 'bdougie' Douglas
d7b740f1c5 updates docs 2017-03-28 10:02:45 -07:00
Cássio Souza
ecbcbf06b5 Role authorization for Netlify-auth (#224) 2017-01-26 19:23:42 -02:00
Mathias Biilmann Christensen
acc0f9b83e Update netlify-auth 2017-01-21 16:56:49 -08:00
Mathias Biilmann Christensen
4f883f022c Update netlify-auth dependency 2017-01-20 23:02:53 -08:00
Cássio Souza
48d8077ff0 Editorial workflow Improvements (#212)
* Merge conflicts automatically. Closes #208
* removed unpublished entry route
All entries (either under editorial workflow or not) go through the same edit route.
2017-01-11 20:58:15 -02:00
Cássio Zen
a8cb548ac5 Updated dependencies 2016-12-30 17:08:37 -02:00
Mathias Biilmann Christensen
06218e55eb Update prosemirror 2016-12-27 23:13:31 -08:00
Mathias Biilmann Christensen
8b82a5b72e Add a script for auto configurating a collection 2016-12-26 17:44:50 -08:00
Cássio Souza
1efc59a9fb Netlify auth (#194) 2016-12-23 16:59:48 -02:00
Cássio Zen
9d02b54ce7 bumped js-yaml version 2016-12-15 16:19:37 -02:00
Cássio Souza
635049b8db Resizable split pane (#190)
* Integrating with react-split-pane

* block event while resizing panels

* bring scrollsync back

* fixed footer position
2016-12-12 19:23:52 -02:00
Cássio Souza
05337ff232 Relation search widget (#186)
* search action/reducer refactor

* Relation widget skeleton

* search clearing

* query action + reducer

* Autocomplete component for RelationControl
2016-12-07 15:44:07 -02:00
Mathias Biilmann
d81d0d416f Widget fixes (#162)
* Make string the default widget if none is specified

* Linting fixes for PreviewPane

* Linting fixes for ControlPane

* Add date widget

* Fix name of date control class

* Fix spaces in list control with no fields

* Fix linting error for List Control

* Fix linting errors in raw editor

* Add Select widget

* Fix linting error
2016-11-17 10:08:37 -02:00
Cássio Zen
0521757b8c prosemirror integration 2016-11-11 18:36:11 -02:00
Cássio Souza
2a2497072d UI updates (#151)
* infer card title

* Infer entry body & image

* infer image

* Better terminology: EntryListing accept a single Collection

* remove log

* Refactored Collections VO into selectors

* use selectors when showning card

* fixed size cards

* Added 'bio' and 'biography' to collection description inference synonyms

* Removed unused card file

* throw error instance

* bugfix for file based collections

* lint

* moved components with css to own folder

* Search Bugfix: More than one collection might be returned

* Changed sidebar implementation. Closes #104 & #152

* Show spinning loading for unpublished entries

* Refactored Sidebar into a separate container

* Make preview widgets more robust
2016-11-11 17:54:58 -02:00
Andrey Okonetchnikov
9a6c4691ce Removed expect from dependencies 2016-11-11 12:09:31 +01:00
Andrey Okonetchnikov
92e8e7233d Updated Jest to 17.0.0 2016-11-11 09:33:13 +01:00
Mathias Biilmann Christensen
038597573c Custom plugin support in rte 2016-11-01 23:31:20 -07:00
Mathias Biilmann Christensen
d0df70e4d3 Prosemirror working - with some toolbar options 2016-11-01 16:55:21 -07:00
Mathias Biilmann Christensen
6015692118 Update yarn deps 2016-10-31 17:02:18 -07:00
David Calavera
f1abda39fe
Fix Yarn dependencies.
Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-10-31 16:22:39 -07:00
Andrey Okonetchnikov
434f45c97c Webpack optimizations (#140)
* Less repetition in webpack configs. Minify CSS classnames in production.

* Ignore all optional deps of moment.js. Fixes #138

* Added target to webpack config

* Automatically extract all 3rd party modules into a separate 'vendor' chunk

* Inline only assets that are smaller than 10KB

* Added autoprefixer options

* Replaced sinfle babel transforms with the stage-1 preset. Cleaned up webpack configs.

* Do not include hot module replacement in production
2016-10-26 15:51:35 -02:00
Andrey Okonetchnikov
2e1d98ac7e Added fsevents as an optional dependency to fix high CPU usage by the node process on Macs 2016-10-25 10:44:09 +02:00
Andrey Okonetchnikov
40c06ed1e2 Updated yarn.lock 2016-10-24 12:17:00 +02:00
Cássio Souza
2c8cdfc15e Webpack for production build (#134)
* Webpack config for production build
2016-10-21 21:18:45 -02:00
Andrey Okonetchnikov
188fec4529 [feature] Better loading indicator
- Use react-topbar-progress-indicator as a global loading indicator.
- Added a global reducer that only holds `isFetching` for now.
- Display loading indicator on any `*_REQUEST` actions.
- Closes #103
2016-10-20 18:52:24 +02:00
Andrey Okonetchnikov
8c793f8966 Updated yarn.lock 2016-10-20 12:19:57 +02:00
Andrey Okonetchnikov
0d525bdad1 Run yarn instead of npm on Travis CI 2016-10-14 13:35:43 +02:00
Andrey Okonetchnikov
9565b1d68f Added yarn.lock file 2016-10-13 11:21:04 +02:00