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
8b5dc61e6c
Change "new entry" path to avoid slug conflicts.
2017-10-19 13:43:59 -04:00
9d9efdd66a
typo fix
2017-10-18 16:45:08 -06:00
024c43a8c8
Upgrade UUID module. ( #682 )
2017-10-18 13:02:16 -04:00
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
8a819be61e
Remove the index.html from the dist folder on build ( #701 )
2017-10-16 14:45:57 -07:00
f966cd81bd
Update EntryPageHOC for React Router 4.
2017-10-13 20:33:30 -04:00
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
48e9083fb2
Update validation.md
...
#675 - Using single quotes for pattern does not parse escape sequences.
2017-10-13 11:12:31 -07:00
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
b0bf60bd7d
Docs: Add yourself as a contributor ( #677 )
2017-10-11 15:15:04 -07:00
8bf21cac14
Remove unused react-addons-test-utils
.
2017-10-11 10:55:27 -07:00
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
7a597e7e05
Upgrade Jest testing libraries.
2017-10-11 10:55:27 -07:00
22a9203d11
Fix ordered list display in Quick Start for Hugo ( #680 )
2017-10-11 10:42:16 -07:00
c6aab171a9
Re-write Quick Start with Identity/Git Gateway
2017-10-11 10:55:30 -04:00
0a5ec972db
Add cachebuster to git-gateway API calls
2017-10-10 12:48:25 -07:00
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
f811699176
update docs version references to 0.5
2017-10-10 10:13:12 -04:00
2324f08d69
Rename setUser
to restoreUser
.
2017-10-09 12:04:05 -06:00
e69c8dd3fc
Fix broken login when backend changed in config.
...
If the backend was changed in the config, the user from the old backend
would be passed to the new backend, which could cause errors if the
format was different.
2017-10-09 12:04:05 -06:00
53e5dfee7c
Check user permissions and metadata every CMS load.
...
Before, if the CMS was loading user OAuth credentials from
`localStorage`, then user write access would not be checked again.
However, the `config.yml` repo could be changed, which would cause the
user to be still logged in even if they did not have write permissions.
Also, if the user had updated their metadata (avatar, etc.), the CMS
would not update that either.
2017-10-09 12:04:05 -06:00
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
75f53c1bc9
Release 0.5.1
2017-10-06 15:24:26 -04:00
a1c32f5154
fix bundled code error
2017-10-06 15:14:46 -04:00
7c3063077b
Release 0.5.0
2017-10-06 10:32:10 -04:00
8bab738b32
Merge pull request #654 from netlify/update-gotrue
...
Update gotrue
2017-10-05 17:01:25 -04:00
717c14d116
Merge pull request #651 from dopry/xx_remove_urlize
...
Remove unused urlize
2017-10-05 16:51:18 -04:00
c132df9f18
force focus back to editor after undo/redo
2017-10-05 10:24:15 -07:00
1cf7b74eb9
fix visual editor block closing
2017-10-05 10:24:15 -07:00
be4609e54d
trim trailing whitespace from markdown
2017-10-05 10:24:15 -07:00
852b6f397c
ensure against trailing shortcodes in visual editor
2017-10-05 10:24:15 -07:00
d8a7608a25
fix bugs due to Slate "nodes" properties being boolean
2017-10-05 10:24:15 -07:00
dd9d49117a
do not squash references without definitions
2017-10-05 10:24:15 -07:00
9fbdbf5171
stop markdown shortcodes from being escaped
2017-10-05 10:24:15 -07:00
a89427dd8b
add editor rule to ensure plain text in code blocks
2017-10-05 10:24:15 -07:00
fd606938e2
Merge pull request #638 from netlify/slate-0.25
...
Migrate to Slate 0.25
2017-10-05 12:32:55 -04:00
ec0bdbfd88
Rebase.
2017-10-04 18:53:31 -06:00
9ab25c0434
Update gotrue
2017-10-04 15:05:30 -07:00
6e012a982d
update lockfile
2017-10-04 15:48:33 -04:00
70e8eae599
migrate Text.createFromString to Text.create
2017-10-04 15:48:33 -04:00
39f65476c3
migrate insertBlock empty block replacement
2017-10-04 15:48:33 -04:00
cd0254407e
migrate Block.create to specify children
2017-10-04 15:48:33 -04:00
dc741521ed
upgrade to slate 0.25
2017-10-04 15:48:33 -04:00
a5c1bb2bff
migrate to new slate packages
2017-10-04 15:48:33 -04:00
2beb7d256b
update to slate 0.24
2017-10-04 15:48:32 -04:00
a5b053e1c3
remove deprecated terse serialization option
2017-10-04 15:48:32 -04:00
99673ee3cc
support code blocks with multiple text nodes
2017-10-04 15:48:32 -04:00
bbf165d3b0
migrate text nodes to use ranges
2017-10-04 15:48:32 -04:00
7a219bb833
migrate from Raw serializer to fromJSON/toJSON
2017-10-04 15:48:32 -04:00