196 Commits

Author SHA1 Message Date
Benaiah Mischenko
9fc98a738b Disallow full stops in entry slugs
Full stops in slugs were preventing branch creation for unpublished
entries when using the editorial workflow, as `.` is not an allowed
character in branch names. This commit changes slug generation so
periods are replaced with `-` the same way other "non-sluggable"
characters are.
2017-03-14 13:39:56 -07:00
americool
3c7b8d2322 delete button working (#274)
Fixes #274.
2017-03-11 10:47:36 -08:00
Mathias Biilmann Christensen
b777343d70 yet another field ordering related change 2017-02-21 23:59:34 -08:00
Mathias Biilmann Christensen
09e6f2c80e Fix ordering when persisting a files based entry 2017-02-21 23:41:40 -08:00
Mathias Biilmann Christensen
e9088957b3 Fix persistence for collections stored in different files
Getting the order of the fields failed when the collections was not folder based
2017-02-21 23:04:12 -08:00
Luis Correia
471b26a9d5 #222 - Encode branch name on requests to avoid errors with special chars 2017-02-03 15:10:27 +00:00
Cássio Souza
ecbcbf06b5 Role authorization for Netlify-auth (#224) 2017-01-26 19:23:42 -02:00
Cássio Zen
2a7314a3ef Removed console log 2017-01-23 18:32:39 -02:00
Mathias Biilmann Christensen
8e26d5db81 Bump version 2017-01-21 16:57:13 -08:00
Cássio Zen
d237318ef4 Bugfix: Only try to load file if there's a path 2017-01-19 17:28:06 -02:00
Cássio Zen
b64259cb5a Sort frontmatter according to the fields order in config file. Closes #215 2017-01-19 12:09:18 -02: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
c40171820f Log attempt to fetch unpublished entries 2017-01-11 17:45:54 -02:00
Cássio Souza
a4d7622ade Asset API (#204)
Asset API
2017-01-10 22:23:22 -02:00
Mathias Biilmann Christensen
815701bf11 Improvements to the demo experience
Explain what the email in the login is for
Make a guess at the users name
Don't mark uploaded files as persisted (since they're not)
2016-12-30 09:40:15 -08:00
Mathias Biilmann Christensen
c60d1a71cc Make sure the example login page looks decent 2016-12-29 18:38:16 -08:00
Cássio Zen
ca98f72c0c Showing errors on login screen 2016-12-27 16:58:02 -02:00
Cássio Zen
ff6bfe3789 changed default localStorage Key 2016-12-23 17:30:27 -02:00
Cássio Souza
1efc59a9fb Netlify auth (#194) 2016-12-23 16:59:48 -02:00
Cássio Zen
5cc17c05e5 Adjustments to slug processing 2016-12-15 16:20:54 -02:00
Cássio Zen
14c798517c Github 'Not Found' for unplublished entries means there are no unpublished entries 2016-12-01 19:59:29 -02:00
Cássio Souza
047f84405a Entry Draft Refactor (#178) 2016-11-30 16:52:17 -02:00
Cássio Zen
4ddc46ba25 Fix: Path was being incorrectly injected on entry for persistence. Closes #176 2016-11-30 15:58:09 -02:00
Cássio Zen
a440b370ea Added a default template for slugFormatter. Fixes #171 2016-11-29 16:13:59 -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
4d696f2253 Login workflow (#137)
* Use collection label instead of name on the CollectionPage

* Added Avatar and logout menu item

* [feat](login) Added userpic with a logout action in the dropdown.

- Display logged in user in the AppHeader
- Implemented logout action and store + tests
- Better styles for GitHub sign in screen

Closes #100

* Better styles for the AppHeader
2016-11-01 11:35:20 -02:00
Cássio Zen
3a60ce9f2f Merge branch 'fix-demo-ui' of github.com:netlify/netlify-cms into fix-demo-ui 2016-10-28 11:42:38 -02:00
Cássio Zen
d7f1b25c1b Bugfixes due to new slug signature 2016-10-28 11:42:31 -02:00
Mathias Biilmann Christensen
6b73c39ba8 Support for object widget 2016-10-28 04:51:37 +02:00
Cássio Zen
a33aa13d0f moved Entry VO away from implementations 2016-10-27 15:27:39 -02:00
Cássio Zen
2e6e5d1bec removed unused function 2016-10-27 13:59:21 -02:00
Cássio Zen
baafe0b32f refactor on slugformatter 2016-10-27 13:50:02 -02:00
Mathias Biilmann Christensen
80a2cefbf0 Add json format support 2016-10-27 15:33:15 +02:00
Mathias Biilmann Christensen
7713c4c6f8 Fix some linting errors 2016-10-27 14:45:32 +02:00
Mathias Biilmann Christensen
bbce1c30de Make loading single file work without scanning whole collection 2016-10-27 14:23:36 +02:00
Mathias Biilmann Christensen
2b99e2d176 Support entriesByFiles in test-repo backend 2016-10-27 11:47:19 +02:00
Cássio Souza
5151e7cdb1 Bugfixes due to new slug signature (#145) 2016-10-26 15:50:34 -02:00
Cássio Souza
2496ec09a4 Single file collections (#132)
* Files based collections skeleton

* listing file based cards

* create new entry with collection

* moved lookupEntry to main backend

* Editing single page Collections file

* List widget basic implementation

* Adjustments for test-repo

* check if value exists before trying to iterate over
2016-10-21 20:42:14 -02:00
Cássio Zen
bd1216c760 bugfixes for test-repo. Closes #126 and #127 2016-10-20 14:27:58 -02:00
Cássio Souza
e001714aed Optimistic Updates (#114)
* Optimistic Updates structure
* Optimistic update for Editorial Workflow
2016-10-18 14:30:13 -02:00
Cássio Zen
e89db336a7 avoid branches without metadata
but keep trying to  load metadata for remaining unpublished branches
2016-10-10 18:33:49 -03:00
Cássio Zen
ff0949e417 small bugfixes 2016-10-10 16:10:55 -03:00
Cássio Souza
2815a86e0c Search integration (React Version) (#84)
* algolia integration skeleton

* Configuration Defaults

* Implemented partial entries with lazy loading of complete file

* Moved backend selection logic to actioncreators

* basic pagination for entries

* general search skeleton

* Basic search result listing

* Redo search for different search terms

* search results pagination

* Changing integration config & handling

* Changing integration config & handling

* new integration config model
2016-10-10 15:34:21 -03:00
Andrey Okonetchnikov
382b1537b0 Use ES7 class properties initializers 2016-10-03 14:25:27 +02:00
Cássio Zen
b56bd24abb fast forward to github implementation 2016-09-19 15:31:01 -03:00
Cássio Zen
ae64ce73ea Delete branch after PR merge 2016-09-14 18:55:42 -03:00
Cássio Zen
71b5b0bde9 merge button for editorial workflow 2016-09-14 18:25:45 -03:00
Cássio Zen
0b447d483d Editorial workflow Drag'nDrop 2016-09-13 18:54:39 -03:00
Cássio Zen
4108b88315 Merge branch 'react-pr' of https://github.com/netlify/netlify-cms into react-pr 2016-09-13 14:31:26 -03:00
Cássio Zen
686dd51410 Commiting unpublished branches on pre existing branch (updates PR) 2016-09-13 14:31:18 -03:00
Andrey Okonetchnikov
056a14425f Removed unused import 2016-09-13 15:38:34 +02:00
Andrey Okonetchnikov
eb14200643 Fixed ESLint errors and warning that could be fixed with eslint --fix 2016-09-13 15:30:58 +02:00
Mathias Biilmann Christensen
42853f2af8 Handle formats better 2016-09-13 14:53:50 +02:00
Cássio Zen
f51525baaa edit unpublished content on EntryPage (through HOC) 2016-09-13 03:59:48 -03:00
Mathias Biilmann Christensen
7cd5d84fa5 Merge remote-tracking branch 'origin/react-pr' into react-ui-updates
Replaced dateFormat with moment

Conflicts:
	package.json
	src/backends/netlify-git/API.js
	src/containers/CollectionPage.js
	src/formats/formats.js
2016-09-12 15:35:56 +02:00
Cássio Zen
c84d538eb6 editor workflow ui adjustments 2016-09-09 17:15:58 -03:00
Cássio Zen
04c50d8def editorial workflow HoC 2016-09-08 16:18:38 -03:00
Mathias Biilmann Christensen
769d2bd284 Fix content type for file requests 2016-09-08 20:05:45 +02:00
Cássio Zen
90d4b39fc1 Load unpublished entries 2016-09-06 17:18:27 -03:00
Cássio Zen
f0e608a209 Editorial Workflow skeleton 2016-09-06 13:04:17 -03:00
Cássio Zen
b0e62d1ca9 Refactor: Publish mode to publish 'workflow' 2016-09-05 18:56:03 -03:00
Cássio Zen
04db90710b Loading Animation 2016-09-05 18:28:07 -03:00
Cássio Zen
626164a2f8 Lint 2016-09-05 16:13:41 -03:00
Cássio Zen
7d2ab1a45e Use urlfor params 2016-09-05 16:12:37 -03:00
Cássio Zen
77f5e1d6fa Merge branch 'react-pr' of https://github.com/netlify/netlify-cms into react-pr 2016-09-05 12:13:51 -03:00
Cássio Zen
e852991954 Storing more complete commit information on branch metadata 2016-09-05 12:12:38 -03:00
Mathias Biilmann Christensen
964e158a5f Fix semaphore implementation for only doing 10 concurrent fetches at a time 2016-09-04 20:55:05 +02:00
Mathias Biilmann Christensen
2980ba8565 Add netlify-git backend 2016-09-04 19:55:14 +02:00
Mathias Biilmann Christensen
e04b1e80c5 Make GitHub backend respect branch setting 2016-09-04 14:01:28 +02:00
Cássio Zen
4a55bb0296 create PR 2016-08-31 17:33:12 -03:00
Cássio Zen
1406d9225f Saving metadata as a custom ref 2016-08-31 16:41:29 -03:00
Cássio Zen
a2420647d5 Metadata retrieving 2016-08-31 15:44:00 -03:00
Cássio Zen
2f635944fd Metadata saving 2016-08-31 13:30:14 -03:00
Cássio Zen
388cada3de On application mount, check/create metadata branch 2016-08-30 22:48:42 -03:00
Cássio Zen
672b43f153 branching refactor 2016-08-30 14:39:53 -03:00
Cássio Zen
a1c01323e0 branch commiting skeleton 2016-08-29 19:32:56 -03:00
Cássio Zen
6eec0feb72 Small refactor preparing for branch creating/editing. Also closes #58 2016-08-29 17:09:04 -03:00
Cássio Zen
2b70893e89 content creation internal + test_repo implementations 2016-08-25 16:11:00 -03:00
Cássio Zen
b717874e7b Allow the creation of new entries 2016-08-24 21:37:22 -03:00
Cássio Zen
d7324bd743 seting site_id automatically only for localhost 2016-07-20 13:46:52 -03:00
Cássio Zen
9f220181b3 Set mediaProxy objects as uploaded @ implementation 2016-07-19 19:42:37 -03:00
Cássio Zen
483fdb2643 MediaProxy upload 2016-07-19 18:56:54 -03:00
Cássio Zen
39c575b52d fix fetch params 2016-07-19 17:29:40 -03:00
Cássio Zen
1983ab4a1b changed auth scope 2016-07-19 17:28:27 -03:00
Cássio Zen
18ad041d96 Preparing for github file persistence 2016-07-19 17:11:22 -03:00
Cássio Zen
2277a9c479 bugfix: request cannot be bound to repo url 2016-07-18 16:09:35 -03:00
Mathias Biilmann Christensen
5f0ec91015 Fix uppercase implementation 2016-06-30 17:28:47 -03:00
Cássio Zen
6ed7e78642 mediaFiles backend persistence structure 2016-06-10 18:48:38 -03:00
Cássio Zen
1ba98fdb5a refactor: Creating Medias reducer 2016-06-10 00:16:01 -03:00
Cássio Zen
9275aaec90 Moved draft state for an entry (when in edit mode) to Redux 2016-06-08 11:18:34 -03:00
Cássio Zen
0cf5dc141a in memmory persistence for test-repo 2016-06-07 20:15:28 -03:00
Cássio Zen
83d03c63ec persistence draft
Persisting individual media file objects
2016-06-07 01:20:54 -03:00
Mathias Biilmann Christensen
32e54cdbdc Load, display and edit entries from test repo and github 2016-06-05 01:52:18 -07:00
Mathias Biilmann Christensen
d2aa1adf7b Basic editing with some widgets 2016-05-30 16:55:32 -07:00
Mathias Biilmann Christensen
978b7290c5 Test repo can now be used to list entries 2016-02-25 20:40:35 -08:00
Mathias Biilmann Christensen
67cdd92bfb Start implementing backends and authentication 2016-02-25 12:31:21 -08:00