5064 Commits

Author SHA1 Message Date
Cássio Zen
874810cb5c Version Bump 2016-11-29 20:16:47 -02:00
Cássio Zen
6194e969f5 Friendlier error message for missing media_folder 2016-11-29 16:16:56 -02:00
Cássio Zen
a440b370ea Added a default template for slugFormatter. Fixes #171 2016-11-29 16:13:59 -02:00
Cássio Zen
43c93dff26 Inject base target to '_blank' on preview iframe. Closes #172 2016-11-29 15:18:25 -02:00
Mathias Biilmann
fa03ce29bf Make sure we actually build netlify-cms as library (#169)
* Build netlify-cms as a library

* Bump version
2016-11-23 19:37:51 -02:00
Mathias Biilmann
60570dbecb Merge pull request #168 from netlify/npm-module-usage
Prepare CMS to be used as an npm module
2016-11-23 12:38:07 -08:00
Mathias Biilmann Christensen
58eb384386 Bump version 2016-11-23 12:28:03 -08:00
Mathias Biilmann Christensen
3f13435ff0 Make sure we export the CMS for npm use 2016-11-23 12:26:15 -08:00
Mathias Biilmann Christensen
d7d17df79a Get rid of css linting in precommit 2016-11-23 12:24:07 -08:00
Mathias Biilmann Christensen
688fc52dcb Make sure we have a valid main file when using import netlify-cms 2016-11-23 12:23:45 -08:00
Cássio Zen
443ab9524e version bump 2016-11-23 18:18:04 -02:00
Cássio Souza
b1a5ea95d3 Refinements & Preview Defaults (#167)
* No need for set width for base Card anymore

* entries are not required

* Redirect from Dashboard to first collection if publish mode is simple

* collection inference: Add more synonyms to description

* Implemented a better default preview for editing entries

* Add label field in default preview for small text values

* Added margin for default preview
2016-11-23 16:23:32 -02:00
Andrey Okonetchnikov
fed0066ca5 Use proper loaders for external module's CSS. (#157)
- react-toolbox requires its own setup with sass-loader for now
- redux-notifications doen's need to use css-modules
- exclude `node_modules` from our own CSS pipeline

Realted to bcca98b1951d03e0850b353e9c16fd8b1db2291f
2016-11-23 16:22:49 -02:00
Andrey Okonetchnikov
16c32b0971 Fixed code formatting 2016-11-21 10:37:54 +01:00
Artem Govorov
38f33a67ce chore(test): Update wallaby.config.js (#166) 2016-11-21 10:36:42 +01:00
Cássio Zen
2af586867f Merge with use-publicFolder 2016-11-17 15:36:57 -02:00
Cássio Zen
695f533c8e Added resolvePath helper to normalize and prepend the public_path and as needed 2016-11-17 15:33:02 -02:00
Cássio Souza
1fe386b324 Config default values (#164)
* Use public_folder to display images persisted with no path reference

* Allow for default values on a collection field
2016-11-17 12:03:54 -02:00
Cássio Souza
007575d315 Use public_folder to display images persisted with no path reference (#163) 2016-11-17 11:41:54 -02:00
Cássio Zen
8d9f894928 Use public_folder to display images persisted with no path reference 2016-11-17 11:12:14 -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
Mathias Biilmann
0338e5c9c2 Merge pull request #161 from netlify/fix-entry-creation
Fix cms hanging when going to new entry page
2016-11-15 17:27:24 -08:00
Mathias Biilmann Christensen
790619083d Fix cms hanging when going to new entry page 2016-11-15 17:21:33 -08:00
Mathias Biilmann Christensen
8623a514af Prepare to publish new version 2016-11-11 17:28:56 -08:00
Mathias Biilmann Christensen
0eff4484d0 Fix alignment of entry cards 2016-11-11 17:22:18 -08:00
Mathias Biilmann
32d5149511 Merge pull request #155 from netlify/minor-fixes
Improve README and fix overwritten toolbar.css
2016-11-11 16:24:38 -08:00
Mathias Biilmann Christensen
037df3f2a4 Improve README 2016-11-11 16:19:25 -08:00
Mathias Biilmann Christensen
077d9d7fa0 Fix Toolbar.css overwritten by linter script 2016-11-11 16:09:04 -08:00
Cássio Zen
0521757b8c prosemirror integration 2016-11-11 18:36:11 -02:00
Cássio Zen
943916b0f2 Reverting bcca98b for now - redux-notifications relies on css loading 2016-11-11 18:20:05 -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
3420273691 Merge pull request #154 from netlify/fix-tests
Fix tests
2016-11-11 12:36:09 +01:00
Andrey Okonetchnikov
51386761ed Added CMS_ENV to .eslintrc globals 2016-11-11 12:32:04 +01:00
Andrey Okonetchnikov
5b5f1edb22 Moved applyDefaults function and related code to actions (where it belong).
- Moved applyDefaults + related code
- Added tests for /actions/config.js
- Fixed some ESLint errors
2016-11-11 12:32:03 +01:00
Andrey Okonetchnikov
858da43140 Merge pull request #153 from netlify/update-jest
Updated Jest to 17.0.0
2016-11-11 12:30:57 +01:00
Andrey Okonetchnikov
9a6c4691ce Removed expect from dependencies 2016-11-11 12:09:31 +01:00
Andrey Okonetchnikov
bcca98b195 Exclude node_modules for CSS as well 2016-11-11 12:09:05 +01:00
Andrey Okonetchnikov
d39c9cee2c Removed support for css-modules (for now) in tests and fixed css/scss imports from node_modules 2016-11-11 12:08:20 +01:00
Andrey Okonetchnikov
63b8559d7e No need to set NODE_ENV for Jest 2016-11-11 12:06:56 +01:00
Andrey Okonetchnikov
6ce58a789d Do not use expect to get better diffs out of Jest 2016-11-11 11:02:11 +01:00
Andrey Okonetchnikov
92e8e7233d Updated Jest to 17.0.0 2016-11-11 09:33:13 +01:00
Mathias Biilmann Christensen
8461abc1b5 Replace md parser for pubstorm to make editor plugins work 2016-11-04 11:04:54 -07:00
Cássio Souza
a6fc8506f5 Dashboard page (#150) 2016-11-02 12:25:43 -02:00
Mathias Biilmann Christensen
038597573c Custom plugin support in rte 2016-11-01 23:31:20 -07:00
Mathias Biilmann Christensen
f02bd9a789 Link support in prose mirror 2016-11-01 17:58:19 -07:00
Mathias Biilmann Christensen
27d33d2a84 Make headers buttons toggle headers 2016-11-01 17:51:49 -07:00
Mathias Biilmann Christensen
97928a7b34 Fix undo history in prose mirror 2016-11-01 17:25:37 -07:00
Mathias Biilmann Christensen
4c221e3238 Fix linter overwriting css 2016-11-01 16:58:38 -07:00
Mathias Biilmann Christensen
d0df70e4d3 Prosemirror working - with some toolbar options 2016-11-01 16:55:21 -07:00
Cássio Zen
44bbb84d44 bugfix in Draft entry editing 2016-11-01 14:31:04 -02:00