New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration with JabRef online #7832
Draft
Siedlerchr
wants to merge
76
commits into
main
Choose a base branch
from
jabrefonline
base: main
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 64 commits
Commits
Show all changes
76 commits
Select commit
Hold shift + click to select a range
a90cd06
add apollo graphlql stuff
Siedlerchr 953448c
fix graphqlsource dir
Siedlerchr af79b80
add annotaitons and okio
Siedlerchr b9ca9cb
use apollo jvm
Siedlerchr 6287d64
fix modulartiy issues
Siedlerchr 51cbf59
Add kotlin library
tobiasdiez ca30630
Require kotlin standard lib
tobiasdiez f29ddee
Remove explicit kotlin dependency again
tobiasdiez 5bcabab
set rootpackage
Siedlerchr 9e0ab5b
try to set outputDir but does not work yet
Siedlerchr afc1f3d
Merge branch 'main' into jabrefonline
koppor be41827
Merge remote-tracking branch 'upstream/main' into jabrefonline
Siedlerchr 6388a41
Merge branch 'jabrefonline' of github.com:JabRef/jabref into jabrefon…
Siedlerchr d5d4ed6
Merge remote-tracking branch 'upstream/main' into jabrefonline
Siedlerchr 0f02a6f
try patching apollo for eclipse
Siedlerchr abf0a1b
Merge remote-tracking branch 'upstream/main' into jabrefonline
Siedlerchr e7cda72
try with all unnamed
Siedlerchr b8c0e4d
Merge remote-tracking branch 'upstream/main' into jabrefonline
Siedlerchr e04c535
compile custom apollo variant using shadow jar
Siedlerchr 7586334
add apollo jar building
Siedlerchr 866f2a3
Change jar name
Siedlerchr d9cbf2f
chang eeclipse output
Siedlerchr 7edd6ab
Add mutation, move java class
Siedlerchr 09779f5
fix checkstyle
Siedlerchr f7c490b
align version
Siedlerchr b79bf7e
add info on modules
Siedlerchr bd5ab5b
Merge remote-tracking branch 'upstream/main' into jabrefonline
Siedlerchr 0069ad0
cleanup
Siedlerchr c6def12
Add comment clarifying purpose of build file
tobiasdiez feb43d0
Convert to usual gradle syntax
tobiasdiez dcea782
Fix typo
tobiasdiez 79c861e
Fix another typo
tobiasdiez 16556b2
Merge branch 'main' into jabrefonline
tobiasdiez 6bf8c37
Update Library.java
tobiasdiez 0a7de4c
Update settings.gradle
tobiasdiez 9d297df
Update build.gradle
tobiasdiez a56801a
Merge remote-tracking branch 'upstream/main' into jabrefonline
Siedlerchr a2123c4
change to new schema
Siedlerchr cbbc7c4
fix mutation
Siedlerchr 7d52088
Merge branch 'jabrefonline' of github.com:JabRef/jabref into jabrefon…
Siedlerchr 0b9f414
Merge remote-tracking branch 'upstream/main' into jabrefonline
Siedlerchr 567a378
Add schema downloading tasks
Siedlerchr 6aad7f2
Merge remote-tracking branch 'upstream/main' into jabrefonline
Siedlerchr 498a8e9
Merge remote-tracking branch 'upstream/main' into jabrefonline
Siedlerchr bc04a98
Switch to 3.x dev of apollo, get rid of custom jpms hacks
Siedlerchr 21749cd
use new builder
Siedlerchr 2762345
Merge remote-tracking branch 'upstream/main' into jabrefonline
Siedlerchr 366ccfc
Update deps
Siedlerchr d5d93a5
checkstyle
Siedlerchr f7bd3b0
Merge remote-tracking branch 'origin/main' into jabrefonline
tobiasdiez 253b0bd
migrate to new apollo java runtime
tobiasdiez 1d4e527
Download schema before trying to generate apollo sources
tobiasdiez 959ac3c
fix tests
tobiasdiez f9d4f11
use ZonedDateTime
tobiasdiez 669057d
add metadata for jabrefonline
tobiasdiez 8f1c593
add prefs and basic connect to remote account
tobiasdiez b73458c
Add pulling of changes
tobiasdiez 6de67ae
implement merge
tobiasdiez 4ea7fc1
add remote revision info
tobiasdiez 8435d96
Extend transformer
tobiasdiez d8f7385
fix login check
tobiasdiez 8c2ed8f
Add push method
tobiasdiez 98eacae
fix build
tobiasdiez 8f7e0dd
add tests
tobiasdiez 34c4cab
fix tests
tobiasdiez 9fcbf4b
Print snapshots as json
tobiasdiez 3bf8381
Rename package to "online"
tobiasdiez 2ac1fb0
Merge remote-tracking branch 'origin/main' into jabrefonline
tobiasdiez d60436c
improve transformer
tobiasdiez 7081430
remove unnecessary tests
tobiasdiez e4b56e9
Merge branch 'main' into jabrefonline
Siedlerchr 7631a53
Merge remote-tracking branch 'upstream/main' into jabrefonline
Siedlerchr efb6af7
fix build
Siedlerchr 3297b0d
fix buid
Siedlerchr 0b07797
checkstyle
Siedlerchr b67afb8
Merge branch 'main' into jabrefonline
Siedlerchr File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
mutation Login($input: LoginInput!) { | ||
login(input: $input) { | ||
... on UserReturned { | ||
user { | ||
id | ||
} | ||
} | ||
... on InputValidationProblem { | ||
problems { | ||
path | ||
message | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
fragment allDetails on Entity { | ||
... on Person { | ||
id | ||
family | ||
given | ||
suffix | ||
nonDroppingParticle | ||
droppingParticle | ||
} | ||
... on Organization { | ||
id | ||
name | ||
} | ||
} | ||
|
||
query UserChanges($id: ID!) { | ||
user(id: $id) { | ||
id | ||
changes { | ||
edges { | ||
node { | ||
id | ||
citationKeys | ||
lastModified | ||
added | ||
title | ||
subtitle | ||
titleAddon | ||
abstract | ||
authors { | ||
...allDetails | ||
} | ||
note | ||
languages | ||
publicationState | ||
doi | ||
keywords | ||
... on JournalArticle { | ||
in { | ||
id | ||
journal { | ||
id | ||
name | ||
subtitle | ||
titleAddon | ||
issn | ||
} | ||
title | ||
subtitle | ||
titleAddon | ||
number | ||
name | ||
series | ||
volume | ||
} | ||
pageStart | ||
pageEnd | ||
electronicId | ||
translated { | ||
translators { | ||
...allDetails | ||
} | ||
originalLanguages | ||
} | ||
published | ||
annotators { | ||
...allDetails | ||
} | ||
commentators { | ||
...allDetails | ||
} | ||
} | ||
} | ||
revision { | ||
generation | ||
hash | ||
} | ||
} | ||
pageInfo { | ||
hasNextPage | ||
endCursor { | ||
id | ||
lastModified | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
mutation addUserDocument($addUserDocumentInput: AddUserDocumentInput!) { | ||
addUserDocument(input: $addUserDocumentInput) { | ||
id | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
query getDocumentById($userDocumentId: ID!) { | ||
userDocument(id: $userDocumentId){ | ||
id | ||
citationKeys | ||
lastModified | ||
added | ||
title | ||
subtitle | ||
titleAddon | ||
abstract | ||
authors { | ||
... on Person { | ||
family | ||
id | ||
} | ||
... on Organization { | ||
id | ||
name | ||
} | ||
} | ||
note | ||
languages | ||
publicationState | ||
keywords | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [reviewdog] <com.puppycrawl.tools.checkstyle.checks.whitespace.FileTabCharacterCheck> reported by reviewdog 🐶
File contains tab characters (this is the first instance).