Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
6cbb72f
Refactor `requestHeaders` in `API.js` of github backend
Benaiah Jul 28, 2017
51038e5
Refactor `urlFor` in `API.js` of github backend
Benaiah Jul 28, 2017
ed59376
Consolidate filename generation in `storeMetadata` in github backend
Benaiah Aug 2, 2017
9e22a15
Refactor request error handling in `API.js` of github backend
Benaiah Jul 28, 2017
732ede1
Refactor mutation and race conditions in github API
Benaiah Jul 28, 2017
7ee2a2e
Refactor `forceMergePR` in github API
Benaiah Jul 28, 2017
36c97d2
Refactor `isCollaborator` in github API
Benaiah Aug 2, 2017
232854a
Refactor `updateTree` in github API
Benaiah Aug 2, 2017
ee02ca9
Import lodash functions individually
Benaiah Aug 2, 2017
a3930c7
Minor refactors in github API
Benaiah Aug 2, 2017
2617acc
Refactor `editorialWorkflowGit` in github API
Benaiah Aug 2, 2017
8351419
Fix resolvePromiseProperties bug when object prop set to undefined
Benaiah Aug 2, 2017
c491312
Small refactors to github API
Benaiah Aug 3, 2017
e3c1f60
Fix request error handling in github API
Benaiah Aug 4, 2017
c9edfdd
Fix remaining eslint errors in github API
Benaiah Aug 11, 2017
7faf612
Small refactors & eslint fixes in github implementation
Benaiah Aug 11, 2017
2c6d3a1
Initial GitLab commit.
tech4him1 Aug 4, 2017
1069b01
Fix authentication/permission checking.
tech4him1 Aug 5, 2017
c8012bd
Make images with the same filename as already existing images overwrite
tech4him1 Aug 7, 2017
a24c178
Remove unneeded dependencies.
tech4him1 Aug 8, 2017
243af73
Remove old GitHub code.
tech4him1 Aug 8, 2017
8eb9172
Code cleanup from #508.
tech4him1 Aug 11, 2017
c3ff76d
Clarify comment.
tech4him1 Aug 14, 2017
9ea2caf
Add basic tests from #515.
tech4him1 Aug 14, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
"classnames": "^2.2.5",
"dateformat": "^1.0.12",
"deep-equal": "^1.0.1",
"fetch-mock": "^5.12.1",
"fuzzy": "^0.1.1",
"history": "^2.1.2",
"immutability-helper": "^2.0.0",
Expand Down
3 changes: 3 additions & 0 deletions src/backends/backend.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { attempt, isError } from 'lodash';
import TestRepoBackend from "./test-repo/implementation";
import GitHubBackend from "./github/implementation";
import GitLabBackend from "./gitlab/implementation";
import NetlifyAuthBackend from "./netlify-auth/implementation";
import { resolveFormat } from "../formats/formats";
import { selectListMethod, selectEntrySlug, selectEntryPath, selectAllowNewEntries, selectFolderEntryExtension } from "../reducers/collections";
Expand Down Expand Up @@ -292,6 +293,8 @@ export function resolveBackend(config) {
return new Backend(new TestRepoBackend(config), authStore);
case "github":
return new Backend(new GitHubBackend(config), authStore);
case "gitlab":
return new Backend(new GitLabBackend(config), authStore);
case "netlify-auth":
return new Backend(new NetlifyAuthBackend(config), authStore);
default:
Expand Down
Loading