Mathias Biilmann Christensen
aaa9d2ab95
Make Neltify CMS work with Netlify Identity Widget
...
When Netlify CMS uses the git-gateway backend, it will check for a
window.netlifyIdentity
object and use that to handle the whole auth flow.
This also sets defaults for the git-gateway endpoint, that means it
can be used in templates with zero configuration and fit with a
one-click deploy to Netlify approach.
Netlify Identity itself is based on our open-source GoTrue microservice,
and Netlify's Git Gateway project is completely open-source as well.
The git-gateway backend will work with Netlify without any setup, but can
also be configured to work with any selfhosted GoTrue and Git Gateway
instances.
2017-09-06 13:52:11 -07:00
Shawn Erquhart
0dd173a83f
rename isCollaborator to hasWriteAccess
2017-08-20 16:02:57 -04:00
Caleb
6df35a2f30
Fix denied login for users with many repos.
...
`isCollaborator` was created in #491 to block login if a user did not have write (push) permissions to a repo, by going through the list of a users repos until it found the right one. It did not institute pagination, however, so if a user had enough repos that the one in question was on another page, the CMS would assume that they did not have permission and block the login.
This commit fixes the problem by calling the API for the specific repo instead of getting the whole list.
2017-08-19 18:07:09 -06:00
Benaiah Mischenko
b3b13d311c
Make GitHub repo name comparison case-insensitive ( fixes #510 )
2017-08-11 12:19:01 -07:00
tortilaman
6805a6936d
Prevent unauthorized CMS access ( #323 ) and enable use of GitHub Enterprise ( #491 )
...
* Prevent unauthorized CMS access and enable use of GitHub Enterprise
2017-08-01 20:28:03 -07:00
Benaiah Mischenko
dac57c60a0
Entry deletion for the simple workflow ( #485 )
2017-07-21 23:40:33 -07:00
Mathias Biilmann
546ca5917e
Add cache buster to all GitHub API calls ( #449 )
...
This should solve issues like #308 and the issues with cached
API responses after deleting an entry
2017-06-12 13:01:53 -07:00
Vaclav Klecanda
26d402149a
auth without netlify oauth provider
2017-05-07 06:38:33 +02:00
Joseph Earl
bfe46a8e13
Fixes #324 Use branch name from config when creating PR
2017-05-01 08:17:46 -07:00
Kevin McCormack
39852e9982
Fix filtering by file extension
2017-04-19 11:45:07 -04:00
Benaiah Mischenko
3be734da05
Merge pull request #370 from josephearl/filter-files-extension
...
Fixes #278 Filter folder collection files by extension
2017-04-18 16:28:05 -07:00
Joseph Earl
265146e2d1
Fixes #278 filter files by extension
2017-04-18 22:59:30 +01:00
Kevin McCormack
76bf16d62e
Add backend config for site ID
...
Users can now specify `site_domain` in `config.yml`. This is useful
when attempting to access the CMS from a different host.
2017-04-18 16:24:45 -04:00
Benaiah Mischenko
1aa02eb42a
Refactor readUnpublishedBranchFile with resolvePromiseProperties
2017-03-20 17:16:58 -07:00
Benaiah Mischenko
c079cb96c4
Label cards in editorial workflow
2017-03-20 17:02:52 -07:00
Mathias Biilmann Christensen
5e504bbc5a
Fix firefox fetch issue in GitHub API
2017-03-15 00:06:31 -07:00
Benaiah Mischenko
47096c1cf0
Filter merged PRs from unpublished posts
2017-03-14 17:01:21 -07:00
americool
3c7b8d2322
delete button working ( #274 )
...
Fixes #274 .
2017-03-11 10:47:36 -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 Zen
d237318ef4
Bugfix: Only try to load file if there's a path
2017-01-19 17:28:06 -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
Cássio Souza
1efc59a9fb
Netlify auth ( #194 )
2016-12-23 16:59:48 -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
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
d7f1b25c1b
Bugfixes due to new slug signature
2016-10-28 11:42:31 -02:00
Cássio Zen
a33aa13d0f
moved Entry VO away from implementations
2016-10-27 15:27:39 -02:00
Cássio Zen
baafe0b32f
refactor on slugformatter
2016-10-27 13:50:02 -02:00
Mathias Biilmann Christensen
bbce1c30de
Make loading single file work without scanning whole collection
2016-10-27 14:23:36 +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
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
eb14200643
Fixed ESLint errors and warning that could be fixed with eslint --fix
2016-09-13 15:30:58 +02:00
Cássio Zen
f51525baaa
edit unpublished content on EntryPage (through HOC)
2016-09-13 03:59:48 -03: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
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