590 Commits

Author SHA1 Message Date
renovate[bot]
721d251eeb
chore(deps): update commitlint monorepo to ^9.1.2 (#4219)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-31 14:39:34 +03:00
renovate[bot]
4b487870c6
chore(deps): update babel monorepo (#4186)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 16:08:20 +03:00
renovate[bot]
8c14b3f474
chore(deps): update dependency style-loader to v1 (#4198) 2020-08-26 16:07:37 +03:00
renovate[bot]
b5d9a297e3
chore(deps): update dependency axios to ^0.20.0 (#4190)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 16:07:07 +03:00
renovate[bot]
f4952050f0
chore(deps): update dependency stylelint to v13 (#4199)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 15:05:12 +03:00
renovate[bot]
3ce07c482c
fix(deps): update emotion monorepo (#4192)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 13:16:26 +03:00
renovate[bot]
bb3b8bd8be
chore(deps): update dependency stylelint-config-recommended to v3 (#4200)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 13:12:32 +03:00
renovate[bot]
7bc5ce92bc
chore(deps): update dependency dom-testing-library to v5 (#4165) 2020-08-17 15:11:19 +03:00
renovate[bot]
277a7117a8
chore(deps): update dependency nock to v13 (#4169)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-17 14:18:52 +03:00
renovate[bot]
1f0d96fafb
chore(deps): update dependency fs-extra to v9 (#4167)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-17 14:18:32 +03:00
renovate[bot]
43612192a6
chore(deps): update dependency cypress-file-upload to v4 (#4164)
* chore(deps): update dependency cypress-file-upload to v4

* test(e2e-media-lib): update upload file command usage

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: erezrokah <erezrokah@users.noreply.github.com>
2020-08-17 14:18:01 +03:00
renovate[bot]
160ff1b9fa
chore(deps): update dependency babel-jest to v26 (#4162)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-17 14:00:32 +03:00
renovate[bot]
9f219d3958
chore(deps): update dependency eslint to v7 (#4166)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-17 13:23:29 +03:00
renovate[bot]
bad8771f39
chore(deps): update dependency husky to v4 (#4168)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-17 13:13:36 +03:00
Erez Rokah
460d1e6835
ci: pass token to checkout action to be set in git config (#4065) 2020-07-23 19:33:40 +03:00
renovate[bot]
25c436e91f
chore(deps): update dependency copy-webpack-plugin to v6 (#4051) 2020-07-22 15:24:41 +03:00
renovate[bot]
3640e2692e
chore(deps): update dependency @testing-library/react to v10 (#4046) 2020-07-22 14:21:13 +03:00
renovate[bot]
f6302ed845
chore(deps): update dependency babel-plugin-transform-define to v2 (#4050)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-21 23:44:51 +03:00
renovate[bot]
4258521667
chore(deps): update dependency babel-plugin-module-resolver to v4 (#4049)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-21 23:30:13 +03:00
renovate[bot]
56a57fee74
chore(deps): update dependency @testing-library/jest-dom to v5 (#4045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-21 23:25:48 +03:00
renovate[bot]
3c34e8d6a0
chore(deps): update dependency @types/jest to v26 (#4048)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-21 17:39:22 +03:00
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
Erez Rokah
6a44e0b449
ci: fix publish script (#4030) 2020-07-16 17:03:50 +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
8185eeed24
chore(deps): update cypress (#3801) 2020-05-25 11:12:21 +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
Erez Rokah
cae9a570ab
test(backend-test): enable all tests (#3608) 2020-04-15 19:32:52 +03:00
Erez Rokah
1bca0884f2
ci: rename github secret (#3525) 2020-04-02 10:17:19 +03: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
Erez Rokah
1090afd31c
ci: add missing types check (#3384) 2020-03-06 18:10:44 +01:00
Erez Rokah
e1fa3b0ec0
chore: upgrade cypress (#3231) 2020-02-11 18:36:13 +02:00
Erez Rokah
eff1fe3131
ci: add publish action (#3210) 2020-02-09 17:01:43 +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
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]
95ba0f5cd0 chore(deps): update dependency cache-me-outside to ^0.0.10 (#2997) 2019-12-23 11:17:25 +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
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]
c31efe190a chore(deps): update dependency http-server to ^0.12.0 (#2941) 2019-12-02 11:14:35 +02: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
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]
5636f5f54c chore(deps): update dependency babel-plugin-transform-define to v1.3.2 (#2814) 2019-10-28 10:32:02 +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
Shawn Erquhart
5dc7ee2a9c
fix: swap out svg plugin causing node 12 failures (#2710) 2019-09-30 11:52:26 -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
Erez Rokah
8fe72d0686 chore(scripts): espace commands arguments that use a glob matching pattern (#2435) 2019-07-18 16:59:31 -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
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
351db33b22 chore: fix copy task 2019-03-28 17:05:51 -04:00
Shawn Erquhart
166141102b chore: split ci test scripts 2019-03-28 16:09:28 -04:00
Shawn Erquhart
0e36109157 chore: fix test ci script 2019-03-28 15:35:43 -04:00
Shawn Erquhart
fabe76a621 chore: add travis, refactor test scripts 2019-03-28 15:30:17 -04:00
Shawn Erquhart
96843a1230 chore: add clean task to test scripts 2019-03-25 14:33:17 -04:00
Tony Alves
0b5d6d9c20 chore: fix develop watch (#2237) 2019-03-25 13:57:17 -04:00
Shawn Erquhart
00a176b34a chore: fix local development 2019-03-22 18:18:30 -04:00
Shawn Erquhart
7378e18b29 chore: fix ci scripts 2019-03-22 12:04:35 -04:00
Tony Alves
d142b32345 feat: add ES module builds (#2215) 2019-03-22 11:24:46 -04:00
Shawn Erquhart
7672f2ae27 chore: add ci publish scripts 2019-03-22 10:46:12 -04:00
Shawn Erquhart
246ac52312 chore: fix dry-run scripts 2019-03-21 17:16:57 -04:00
Shawn Erquhart
c8d55b2475 chore: set fixed prerelease identifier 2019-03-21 16:49:02 -04:00
Shawn Erquhart
35dc2474ad chore: temporarily switch to lerna fork 2019-03-21 16:42:25 -04:00
Shawn Erquhart
3dc45d6d6d chore: update prerelease scripts 2019-03-21 12:12:16 -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
Shawn Erquhart
8e020fd3b0 chore: switch to beta dist-tag 2019-03-15 11:50:21 -04:00
Shawn Erquhart
20f4ed2921 chore: fix prerelease scripts 2019-03-15 11:47:43 -04:00
Shawn Erquhart
ccef446d72
feat: upgrade to Emotion 10 (#2166) 2019-03-15 10:19:57 -04:00
Shawn Erquhart
cf396e0bf1 chore: add dist-tag to beta releases 2019-03-14 16:17:36 -04:00
Shawn Erquhart
00d40d9bb2
chore: add beta publishing tasks (#2159) 2019-03-14 15:53:22 -04:00
Shawn Erquhart
a419f05ff2 chore: codify manual versioning scripts 2019-03-07 21:31:35 -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
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
Shawn Erquhart
944fe1b370 chore: improve publish scripts 2018-11-28 19:57:47 -05:00
Shawn Erquhart
ab33f918c9 chore: test before publishing 2018-11-28 19:44:14 -05:00
Alexander Nanberg
e1104d09bd chore(dependencies): bump npm-run-all (#1913) 2018-11-27 10:33:53 -05:00
Shawn Erquhart
c55402b322 chore: lint first 2018-11-16 16:06:23 -05:00
Shawn Erquhart
cb469e5d37 chore(release): add git push to publish script 2018-11-12 12:19:38 -05:00
Shawn Erquhart
563211cfe9 fix(release): fix publish scripts 2018-11-12 11:56:01 -05:00
Shawn Erquhart
e2544a6bf5
chore(build): improve versioning control (#1855) 2018-11-05 13:32:39 -05:00
Loïc Mahieu
9856b7e03c chore: update babel dependencies (#1846) 2018-11-02 10:22:04 -04:00
Shawn Erquhart
0596904e0b
feat(media): add external media library support, Uploadcare integration (#1602) 2018-08-30 16:24:28 -04:00
Caleb
ebc2471c6b
docs(fix): revert prettier formatting on markdown files (#1612)
Prettier formatting our markdown files is causing bugs because of the
differences between Gatsby's parser and Prettier's. Also, Prettier
formats the inline code-blocks containing example CMS configs, but the
formatting it uses doesn't really make much sense or match the suggested
CMS config style.

It doesn't actually make much sense to format the docs anyway, since we
use the CMS itself to edit/generate them.
2018-08-14 11:33:13 -06:00
Tony Alves
583377bc92 docs(fix): widget example code layout on Site (#1606)
* Fix widget example layout

* Stop running MarkDown through Prettier.
2018-08-14 08:37:07 -06:00
Caleb
f801b19221 chore: add code formatting and linting (#952) 2018-08-07 16:46:54 -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
0692ad0e98
chore: only run netlify-cms for development (#1557) 2018-07-30 18:59:12 -04:00
Shawn Erquhart
5cde1d0c10 fix: console log accurate version 2018-07-28 18:47:35 -04:00
Shawn Erquhart
75a32f528b
chore: add build-preview task for local build testing (#1539) 2018-07-28 17:26:47 -04:00
Tyler Ipson
e1c8b7641d docs: update contributor docs to reflect lerna (#1523) 2018-07-27 11:05:51 -04:00
Shawn Erquhart
6eb86957d0 set up publishing 2018-07-25 21:17:57 -04:00
Shawn Erquhart
1a9fe461ff migrate test framework 2018-07-25 21:17:57 -04:00
Shawn Erquhart
eb5ee68ea7 remove extra deps 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
bfd8d526cf update changelog and version 2018-06-14 12:20:10 -04:00
Shawn Erquhart
bc53dc1789 Release 1.9.0 2018-06-12 10:22:41 -04:00
Shawn Erquhart
fd93f5e17f Release 1.8.0 2018-05-16 09:20:40 -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
Shawn Erquhart
e9a657349a Release 1.7.0 2018-04-24 21:50:24 -04:00
Shawn Erquhart
3b24c42327 Release 1.6.0 2018-04-19 14:37:11 -04:00
Shawn Erquhart
b16074e377 Release 1.5.0 2018-04-11 10:03:22 -04:00
Shawn Erquhart
eeb8e71f49 Release 1.4.0 2018-03-29 17:32:07 -04:00
Caleb
7df903c714 Ship source code to NPM (#1095)
* Ship sources in NPM package.

* Use external source files for sourcemaps.

* Remove broken sourcemap rule.
2018-03-28 11:13:16 -04:00
Caleb
cd10a713d8 Add option to strip Unicode from entry filenames (#1135) 2018-03-27 18:56:10 -04:00
Shawn Erquhart
d3129168ae Release 1.3.5 2018-03-06 18:06:34 -05:00
Shawn Erquhart
6b6dbbeadd Release 1.3.4 2018-03-06 17:56:28 -05:00
Shawn Erquhart
030b5a564c Release 1.3.3 2018-03-06 17:27:57 -05:00
Shawn Erquhart
ba552f3d46 Release 1.3.2 2018-03-06 16:47:01 -05:00
Shawn Erquhart
a83c04cad0 allow manual initialization and config as an arg 2018-03-06 16:22:55 -05:00
Shawn Erquhart
2949e01b37 Release 1.3.1 2018-03-03 22:40:02 -05:00
Shawn Erquhart
9d1ae91bc7 add dev task that writes output to disk 2018-03-03 20:12:51 -05:00
Shawn Erquhart
5b5e035014 Release 1.3.0 2018-02-27 21:20:46 -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
Shawn Erquhart
78e5748d25 Release 1.2.2 2018-02-21 17:38:49 -05:00
Shawn Erquhart
cbbf93aad8 remove babel-preset-env 2018-02-21 17:38:05 -05:00
Shawn Erquhart
0a3a3c98e4 Release 1.2.1 2018-02-21 17:06:35 -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
Shawn Erquhart
5759bd68c3 Release 1.2.0 2018-02-13 15:52:49 -05:00
Shawn Erquhart
19e76479f6 Release 1.1.0 2018-01-25 13:18:26 -05:00
Shawn Erquhart
5be7d3c7e4 Release 1.0.4 2018-01-23 10:37:49 -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
Shawn Erquhart
59fc159de0 Release 1.0.3 2017-12-19 12:28:12 -05: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
Damien Duhamel
9e5f42e772 Update slate plugin to drop data 2017-12-14 14:59:59 -08:00
Shawn Erquhart
123c54ba87 Release 1.0.2 2017-12-07 15:48:46 -05:00
Shawn Erquhart
f95f0be551 Release 1.0.1 2017-12-07 13:11:15 -05: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
2f25cc646a Release 1.0.0 2017-12-07 12:42:54 -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
Shawn Erquhart
6eeeae485c Release 0.7.6 2017-11-27 22:52:58 -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
Shawn Erquhart
1344fca7d8 Release 0.7.5 2017-11-19 02:17:19 -05:00
Shawn Erquhart
dcf3a4574a Release 0.7.4 2017-11-15 13:00:58 -05:00
Shawn Erquhart
dbaaa5c0de Release 0.7.3 2017-11-11 21:54:35 -05:00
Caleb
bebea64e33 Fix requestAnimationFrame warnings in tests. 2017-11-11 21:42:42 -05:00
Shawn Erquhart
495e7c8743 Release 0.7.2 2017-11-11 14:58:47 -05:00
Shawn Erquhart
3ea56ca60c Release 0.7.1 2017-11-11 13:26:10 -05:00
Caleb
6071ea746f Upgrade uglify-js-webpack-plugin, enable sourcemaps 2017-11-11 10:32:32 -05:00
Shawn Erquhart
f94edf8b0d Release 0.7.0 2017-11-09 10:39:31 -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
Shawn Erquhart
c60f73a0d8 Release 0.6.0 2017-10-26 15:23:39 -04:00
Caleb
19860208f4 Move storybook and react-hot-loader to dev deps. 2017-10-26 15:17:23 -04: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
Frank Taillandier
b0bf60bd7d Docs: Add yourself as a contributor (#677) 2017-10-11 15:15:04 -07: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
Caleb
046711ab16 Move storybook back to dev deps.
This was breaking some sites that depended on the CMS because they were
accidentally using storybook's deps instead of adding them as their own
(particularly the babel presets). We are going to hold off on this until
the next version so that we can add a release warning.

This reverts commit 4634918001e474ec2f195fbdddae18591d3207ab.
2017-10-10 11:06:05 -04:00
Caleb
4634918001 Revert "fix bundled code error"
This was a bug in `one-click-hugo-cms`, not in the CMS itself.

This reverts commit a1c32f5154e7af0242c496776e9f544bc2e9484b.
2017-10-07 13:45:53 -04:00
Shawn Erquhart
75f53c1bc9 Release 0.5.1 2017-10-06 15:24:26 -04:00
Shawn Erquhart
a1c32f5154 fix bundled code error 2017-10-06 15:14:46 -04: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
dc741521ed upgrade to slate 0.25 2017-10-04 15:48:33 -04:00
Shawn Erquhart
a5c1bb2bff migrate to new slate packages 2017-10-04 15:48:33 -04:00