-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
base: main
Are you sure you want to change the base?
Conversation
* upstream/main: Refactoring existing unit tests into parametrized tests (#7700) Replace <p> in localization by \n (#7279) Bump byte-buddy-parent from 1.11.0 to 1.11.1 (#7800) Bump org.javamodularity.moduleplugin from 1.8.6 to 1.8.7 (#7799) Bump mockito-core from 3.10.0 to 3.11.0 (#7801) Bump classgraph from 4.8.106 to 4.8.108 (#7802) Update .markdownlint.yml Ignore slant.co links GitBook: [main] 3 pages and 17 assets modified GitBook: [main] one page modified GitBook: [main] one page modified GitBook: [main] 6 pages and 42 assets modified # Conflicts: # build.gradle
…line * 'jabrefonline' of github.com:JabRef/jabref: # Conflicts: # build.gradle
* upstream/main: Added auto-key-generation task to task-progress (#7797) cleanup temporary files, use prefix "jabref-" (#7811) Add easier how-to for checklist (#7813) Fix annotation + package of ACMPortalParserTest (#7812) Implemented a select all button for the library import function (issue #7786) (#7808) Fix for issue 4682 : Restructuring the side pane structure having additional functionality and merging the remove group menus (#7714)
not workin yet
* upstream/main: [Bot] Update CSL styles (#7824) Pin version of citeproc-java (#7827) JournalAbbreviation search feature (#7804) Bump fontbox from 2.0.23 to 2.0.24 (#7815) Revert "Bump org.eclipse.jgit (#7820)" (#7823) Bump bcprov-jdk15on from 1.68 to 1.69 (#7816) Bump postgresql from 42.2.20 to 42.2.21 (#7817) Bump org.eclipse.jgit (#7820) Bump mockito-core from 3.11.0 to 3.11.1 (#7819) Bump pdfbox from 2.0.23 to 2.0.24 (#7818) Bump byte-buddy-parent from 1.11.1 to 1.11.2 (#7821) Bump xmpbox from 2.0.23 to 2.0.24 (#7822)
prevent split packages
Probably needs to be included in the jlink as well |
Should we merge this PR or let some other PR pick up the branch? |
I would vote to merge this PR, so we have a basis for further development and avoid any conflicts with the gradle stuff |
import java.util.stream.Collectors; | ||
|
||
import org.jabref.jabrefonline.UserChangesQuery; | ||
import org.jabref.jabrefonline.UserChangesQuery.Node; |
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.imports.UnusedImportsCheck> reported by reviewdog 🐶
Unused import - org.jabref.jabrefonline.UserChangesQuery.Node.
private Expect expect; | ||
|
||
@Test | ||
void testCreateEntries() { |
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.regexp.RegexpMultilineCheck> reported by reviewdog 🐶
Blank line at end of block should be removed
private Expect expect; | ||
|
||
@Test | ||
void testCreateEntries() { |
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.regexp.RegexpMultilineCheck> reported by reviewdog 🐶
Blank line at start of block should be removed
} | ||
|
||
@Test | ||
void testUpdateEntries() { |
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.regexp.RegexpMultilineCheck> reported by reviewdog 🐶
Blank line at end of block should be removed
} | ||
|
||
@Test | ||
void testUpdateEntries() { |
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.regexp.RegexpMultilineCheck> reported by reviewdog 🐶
Blank line at start of block should be removed
@@ -0,0 +1,16 @@ | |||
org.jabref.logic.jabrefonline.JabRefOnlineServiceTest.getAllChanges=[ |
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.NewlineAtEndOfFileCheck> reported by reviewdog 🐶
File does not end with a newline.
|
||
import static org.junit.jupiter.api.Assertions.assertEquals; | ||
|
||
import java.time.ZoneId; |
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.imports.ImportOrderCheck> reported by reviewdog 🐶
Wrong order for 'java.time.ZoneId' import.
private Expect expect; | ||
|
||
@Test | ||
void testCreateEntries() { |
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.regexp.RegexpMultilineCheck> reported by reviewdog 🐶
Blank line at start of block should be removed
* upstream/main: (1565 commits) Enable journal information fetcher directly in popup (#10598) Make generate button wider (#10588) make openRewrite stable again Rename cleanup_pr.yml to cleanup-pr.yml Changelog Fix failing fetcher tests (#10613) ShortDoi Fix CHANGELOG.md Bump commons-cli:commons-cli from 1.5.0 to 1.6.0 (#10607) Fix issue #9306: Move "Open only one instance of JabRef" preference option to somewhere else (#10602) Update README.md (#10604) Bump me.champeau.jmh from 0.7.1 to 0.7.2 Bump org.beryx.jlink from 3.0.0 to 3.0.1 Bump com.dlsc.gemsfx:gemsfx from 1.82.0 to 1.84.0 Bump org.apache.logging.log4j:log4j-to-slf4j from 2.21.0 to 2.21.1 Synchronize scrollbars in the change resolver dialog (#10587) Add button for a user to reset the cite command to the default value. (#10580) openrerwrite Update .github/PULL_REQUEST_TEMPLATE.md Update PULL_REQUEST_TEMPLATE.md ... # Conflicts: # .devcontainer/devcontainer.json # build.gradle # src/main/java/org/jabref/gui/DefaultInjector.java # src/main/java/org/jabref/gui/libraryproperties/general/GeneralProperties.fxml # src/main/java/org/jabref/gui/libraryproperties/general/GeneralPropertiesView.java # src/main/java/org/jabref/gui/libraryproperties/general/GeneralPropertiesViewModel.java # src/main/java/org/jabref/logic/exporter/MetaDataSerializer.java # src/main/java/org/jabref/logic/importer/util/MetaDataParser.java # src/main/java/org/jabref/model/metadata/MetaData.java # src/main/java/org/jabref/preferences/JabRefPreferences.java
Your code currently does not meet JabRef's code guidelines. We use OpenRewrite to ensure "modern" Java coding practices. The issues found can be automatically fixed. Please execute the gradle task You can check the detailed error output at the tab "Checks", section "Tests" (on the left), subsection "OpenRewrite". |
Your code currently does not meet JabRef's code guidelines. We use Gradle Modernizer Plugin to ensure "modern" Java coding practices. Please fix the detected errors, commit, and push. You can check the detailed error output at the tab "Checks", section "Tests" (on the left), subsection "Modernizer". |
Your code currently does not meet JabRef's code guidelines. We use Checkstyle to identify issues. The tool reviewdog already placed comments on GitHub to indicate the places. See the tab "Files" in you PR. Please carefully follow the setup guide for the codestyle. Afterwards, please run checkstyle locally and fix the issues. More information on code quality in JabRef is available at https://devdocs.jabref.org/getting-into-the-code/development-strategy.html. |
The build of this PR is available at https://builds.jabref.org/pull/7832/merge. |
This PR keeps track of the whole process to integrate JabRef with JabRef online. New PRs should be targeted to this PR. After all PRs have gone into this one AND this one is ready, it will be merged.
Refs #7796 #7798 #7582
To run the new tests:
gradle test --tests "*online*"
TODO:
cookieJar
that stores the cookie across sessions (might be helpful: https://github.com/franmontiel/PersistentCookieJar or https://www.programmersought.com/article/21021005004/ )CHANGELOG.md
described in a way that is understandable for the average user (if applicable)