Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
* upstream/master:
  Fix teamscale link - and sort list alphabetically
  Update code-quality.md
  Update link to codacy/JabRef
  Integrate gradle validation in normal test workflow (#6001)
  Fixed group drag-n-drop not working after inserting an article into a group (#6008)
  New Crowdin translations (#5998)
  Bump richtextfx from 0.10.3 to 0.10.4 (#6007)
  Bump unirest-java from 3.5.00 to 3.6.00 (#6006)
  Bump com.github.ben-manes.versions from 0.27.0 to 0.28.0 (#6004)
  Bump classgraph from 4.8.64 to 4.8.65 (#6003)
  Bump mockito-core from 3.2.4 to 3.3.0 (#6005)
  • Loading branch information
Siedlerchr committed Feb 25, 2020
2 parents 6392f5b + 8c1b35c commit be7d2e2
Show file tree
Hide file tree
Showing 18 changed files with 379 additions and 63 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/gradle-wrapper-validation.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,11 @@ jobs:
CI: "false" # we pretend to run locally - even if tests fail on the CI, they count towards test coverage
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
DBMS: "postgresql"
# This is https://github.com/marketplace/actions/gradle-wrapper-validation
# It ensures that the jar file is from gradle and not by a strange third party.
gradlevalidation:
name: "Validate Gradle Wrapper"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gradle/wrapper-validation-action@v1
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
- We fixed an issue where the most bottom group in the list got lost, if it was dragged on itself. [#5983](https://github.com/JabRef/jabref/issues/5983)
- We fixed an issue where changing entry type doesn't always work when biblatex source is shown. [#5905](https://github.com/JabRef/jabref/issues/5905)
- We fixed an issue where the group and the link column were not updated after changing the entry in the main table. [#5985](https://github.com/JabRef/jabref/issues/5985)
- We fixed an issue where reordering the groups was not possible after inserting an article. [#6008](https://github.com/JabRef/jabref/issues/6008)

### Removed

Expand Down
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ plugins {
id "com.simonharrer.modernizer" version '1.8.0-1'
id 'me.champeau.gradle.jmh' version '0.5.0'
//id 'net.ltgt.errorprone' version '0.8.1'
id 'com.github.ben-manes.versions' version '0.27.0'
id 'com.github.ben-manes.versions' version '0.28.0'
id 'org.javamodularity.moduleplugin' version '1.5.0'
id 'org.openjfx.javafxplugin' version '0.0.8'
id 'org.beryx.jlink' version '2.17.2'
Expand Down Expand Up @@ -163,13 +163,13 @@ dependencies {
compile 'de.saxsys:mvvmfx:1.8.0'
compile 'org.fxmisc.easybind:easybind:1.0.3'
compile 'org.fxmisc.flowless:flowless:0.6.1'
compile 'org.fxmisc.richtext:richtextfx:0.10.3'
compile 'org.fxmisc.richtext:richtextfx:0.10.4'
compile group: 'org.glassfish.hk2.external', name: 'jakarta.inject', version: '2.6.1'
compile 'com.jfoenix:jfoenix:9.0.9'
compile 'org.controlsfx:controlsfx:11.0.1'

compile 'org.jsoup:jsoup:1.12.2'
compile 'com.konghq:unirest-java:3.5.00'
compile 'com.konghq:unirest-java:3.6.00'

compile 'org.slf4j:slf4j-api:2.0.0-alpha1'
compile group: 'org.apache.logging.log4j', name: 'log4j-jcl', version: '3.0.0-SNAPSHOT'
Expand Down Expand Up @@ -206,15 +206,15 @@ dependencies {
}


testCompile 'io.github.classgraph:classgraph:4.8.64'
testCompile 'io.github.classgraph:classgraph:4.8.65'
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.0'
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine:5.6.0'
testCompile 'org.junit.platform:junit-platform-launcher:1.6.0'

testCompile 'net.bytebuddy:byte-buddy-parent:1.10.8'
testRuntime group: 'org.apache.logging.log4j', name: 'log4j-core', version: '3.0.0-SNAPSHOT'
testRuntime group: 'org.apache.logging.log4j', name: 'log4j-jul', version: '3.0.0-SNAPSHOT'
testCompile 'org.mockito:mockito-core:3.2.4'
testCompile 'org.mockito:mockito-core:3.3.0'
//testCompile 'com.github.tomakehurst:wiremock:2.24.1'
testCompile 'org.xmlunit:xmlunit-core:2.6.3'
testCompile 'org.xmlunit:xmlunit-matchers:2.6.3'
Expand Down
4 changes: 2 additions & 2 deletions docs/code-quality.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

We monitor the general source code quality at three places:

* [Teamscale](https://www.cqse.eu/de/produkte/teamscale/landing/) is a popular German product analyzing code quality. The analysis results are available at <https://demo.teamscale.com/dashboard.html#show//?id=kinnen%2FJabref%20Overview>.
* [codacy](https://www.codacy.com/) is a hosted service to monitor code quality. The code quality analysis for JabRef is available at <https://www.codacy.com/app/simonharrer/jabref/dashboard>.
* [codacy](https://www.codacy.com/) is a hosted service to monitor code quality. The code quality analysis for JabRef is available at <https://app.codacy.com/gh/JabRef/jabref/dashboard>, especially the [list of open issues](https://app.codacy.com/gh/JabRef/jabref/issues/index).
* [codecov](https://codecov.io/) is a solution to check code coverage of test cases. The code coverage metrics for JabRef are available at <https://codecov.io/github/JabRef/jabref>.
* [Teamscale](https://www.cqse.eu/de/produkte/teamscale/landing/) is a popular German product analyzing code quality. The analysis results are available at <https://demo.teamscale.com/findings.html#/jabref/?>.

We strongly recommend to read following two books on code quality:

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
requires de.jensd.fx.fontawesomefx.commons;
requires de.jensd.fx.fontawesomefx.materialdesignicons;
requires org.controlsfx.controls;
requires org.fxmisc.richtext;

provides com.airhacks.afterburner.views.ResourceLocator
with org.jabref.gui.util.JabRefResourceLocator;
Expand Down Expand Up @@ -63,7 +64,6 @@
requires org.graalvm.js;
requires org.apache.xmpbox;
requires de.saxsys.mvvmfx.validation;
requires richtextfx;
requires com.google.gson;
requires unirest.java;
requires org.apache.httpcomponents.httpclient;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/org/jabref/gui/groups/GroupTreeView.java
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ public void initialize() {
}
}

if (groupsToMove.size() > 0) {
localDragboard.clearAll();
}

// Put the group nodes as content
Dragboard dragboard = treeTable.startDragAndDrop(TransferMode.MOVE);
// Display the group when dragging
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/l10n/JabRef_da.properties
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ Main\ file\ directory=Hovedbibliotek
Manage\ custom\ exports=Opsæt eksterne eksportfiltre

Manage\ custom\ imports=Opsæt eksterne importfiltre
Manage\ external\ file\ types=Administrer eksterne &filtyper
Manage\ external\ file\ types=Administrer eksterne filtyper

Mark\ new\ entries\ with\ addition\ date=Mærk nye poster med dato

Expand Down
80 changes: 69 additions & 11 deletions src/main/resources/l10n/JabRef_de.properties
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ Filter=Filter
Finished\ automatically\ setting\ external\ links.=Automatische Einstellung externer Links abgeschlossen.
Filter\ groups=Gruppen filtern
Finished\ writing\ XMP\ for\ %0\ file\ (%1\ skipped,\ %2\ errors).=Schreiben der XMP-Metadaten für Datei %0 beendet (%1 übersprungen, %2 Fehler).
Expand All @@ -373,6 +374,7 @@ Formatter\ name=Name des Formatierers
found\ in\ AUX\ file=gefundene Schlüssel in AUX Datei
Further\ information\ about\ Mr.\ DLib\ for\ JabRef\ users.=Weitere Informationen über Mr DLib für JabRef Nutzer.
General=Allgemein
Expand Down Expand Up @@ -485,6 +487,7 @@ keys\ in\ library=Keys in der Bibliothek

Keyword=Stichwort

Keywords=Schlüsselwörter

Label=Name

Expand Down Expand Up @@ -527,6 +530,7 @@ move\ group=Gruppe verschieben

Moved\ group\ "%0".=Gruppe "%0" verschoben.

Mr.\ DLib\ Privacy\ settings=Mr. DLib Privatsphäre-Einstellungen

No\ recommendations\ received\ from\ Mr.\ DLib\ for\ this\ entry.=Keine Empfehlungen von Mr. DLib für diesen Eintrag.

Expand Down Expand Up @@ -615,6 +619,7 @@ Paste=Einfügen
paste\ entries=Einträge einfügen
paste\ entry\ %0=Eintrag %0 einfügen
Path\ to\ %0\ not\ defined=Pfad zu %0 nicht definiert
Expand Down Expand Up @@ -926,7 +931,7 @@ Whatever\ option\ you\ choose,\ Mr.\ DLib\ may\ share\ its\ data\ with\ research
Will\ write\ XMP\ metadata\ to\ the\ PDFs\ linked\ from\ selected\ entries.=Schreibe XMP Metadaten in die PDFs, die mit den ausgewählten Einträgen verlinkt sind.
Write\ BibTeXEntry\ as\ XMP\ metadata\ to\ PDF.=Schreibe BibTeXEntry als XMP Metadaten in PDF.
Write\ BibTeXEntry\ as\ XMP\ metadata\ to\ PDF.=Schreibe BibTeX-Eintrag als XMP Metadaten in PDF.
Write\ XMP=XMP schreiben
Write\ XMP\ metadata=XMP Metadaten schreiben
Expand Down Expand Up @@ -1000,6 +1005,7 @@ Formatter\ not\ found\:\ %0=Formatierer nicht gefunden\: %0
Could\ not\ save,\ file\ locked\ by\ another\ JabRef\ instance.=Speichern nicht möglich, die Datei wird von einer anderen JabRef-Instanz verwendet.
Metadata\ change=Metadaten-Änderung
The\ following\ metadata\ changed\:=Die folgenden Metadaten wurden geändert\:
Enforce\ legal\ characters\ in\ BibTeX\ keys=Erzwinge erlaubte Zeichen in BibTeX-Keys
Expand Down Expand Up @@ -1161,6 +1167,7 @@ Five\ stars=Fünf Sterne
Help\ on\ special\ fields=Hilfe zu speziellen Feldern
Keywords\ of\ selected\ entries=Stichworte der ausgewählten Einträge
Manage\ content\ selectors=Inhaltsauswahl verwalten
Content\ selectors=Inhaltsauswahl
Manage\ keywords=Stichworte verwalten
No\ priority\ information=Keine Informationen zur Priorität
No\ rank\ information=Keine Informationen zum Rang
Expand Down Expand Up @@ -1193,6 +1200,7 @@ Not\ connected\ to\ any\ Writer\ document.\ Please\ make\ sure\ a\ document\ is\
Removed\ all\ subgroups\ of\ group\ "%0".=Alle Untergruppen der Gruppe "%0" wurden entfernt.
To\ disable\ the\ memory\ stick\ mode\ rename\ or\ remove\ the\ jabref.xml\ file\ in\ the\ same\ folder\ as\ JabRef.=Um den USB-Stick-Modus zu deaktivieren, benennen Sie die Datei jabref.xml in demselben Ordner als JabRef oder löschen Sie sie.
Unable\ to\ connect.\ One\ possible\ reason\ is\ that\ JabRef\ and\ OpenOffice/LibreOffice\ are\ not\ both\ running\ in\ either\ 32\ bit\ mode\ or\ 64\ bit\ mode.=Verbindung fehlgeschlagen. Ein möglicher Grund ist, dass JabRef und OpenOffice/LibreOffice nicht beide im 32-bit oder 64-bit Modus laufen.
Delimiter(s)=Trennzeichen
When\ downloading\ files,\ or\ moving\ linked\ files\ to\ the\ file\ directory,\ prefer\ the\ BIB\ file\ location\ rather\ than\ the\ file\ directory\ set\ above=Beim Herunterladen von Dateien oder beim Verschieben von verlinkten Dateien in das Dateiverzeichnis soll der Pfad der BIB-Datei benutzt werden, nicht das oben definierte Dateiverzeichnis
Your\ style\ file\ specifies\ the\ character\ format\ '%0',\ which\ is\ undefined\ in\ your\ current\ OpenOffice/LibreOffice\ document.=Ihre Stildatei legt das Zeichenformat '%0' fest, das in Ihrem aktuellen OpenOffice/LibreOffice-Dokument nicht definiert ist.
Your\ style\ file\ specifies\ the\ paragraph\ format\ '%0',\ which\ is\ undefined\ in\ your\ current\ OpenOffice/LibreOffice\ document.=Ihre Stildatei legt das Abschnittsformat '%0' fest, das in Ihrem aktuellen OpenOffice/LibreOffice-Dokument nicht definiert ist.
Expand Down Expand Up @@ -1235,6 +1243,7 @@ Clear\ connection\ settings=Verbindungseinstellungen zurücksetzen
Open\ folder=Ordner öffnen
Export\ entries\ ordered\ as\ specified=Einträge in der angegebenen Reihenfolge exportieren
Export\ sort\ order=Sortierreihenfolge exportieren
Save\ sort\ order=Sortierung speichern
Export\ sorting=Exportiere Sortierung
Newline\ separator=Zeichen für Zeilenumbruch
Expand Down Expand Up @@ -1330,6 +1339,7 @@ plain\ text=Klartext
This\ search\ contains\ entries\ in\ which\ any\ field\ contains\ the\ regular\ expression\ <b>%0</b>=Diese Suche enthält Einträge, die in einem beliebigen Feld den regulären Ausdruck <b>%0</b> enthalten
This\ search\ contains\ entries\ in\ which\ any\ field\ contains\ the\ term\ <b>%0</b>=Diese Suche enthält Einträge, die in einem beliebigen Feld den Begriff <b>%0</b> enthalten
This\ search\ contains\ entries\ in\ which=Diese Suche enthält Einträge, in denen
Hint\:\ To\ search\ specific\ fields\ only,\ enter\ for\ example\:=Tipp\: Um nur bestimmte Felder zu durchsuchen, geben Sie zum Beispiel folgendes ein\:

Unable\ to\ autodetect\ OpenOffice/LibreOffice\ installation.\ Please\ choose\ the\ installation\ directory\ manually.=Konnte Openoffice/LibreOffice Installationspfad nicht atuomatisch bestimmen. Bitte wählen Sie das Installationsverzeichnis manuell aus.

Expand All @@ -1344,8 +1354,8 @@ Entry\ editor,\ previous\ panel\ 2=Eintragseditor, vorheriges Panel 2
File\ list\ editor,\ move\ entry\ down=Dateilisteneditor, verschiebe Eintrag nach unten
File\ list\ editor,\ move\ entry\ up=Dateilisteneditor, verschiebe Eintrag nach oben
Focus\ entry\ table=Fokus auf Tabelle setzen
Import\ into\ current\ library=Importieren in aktuelle &Bibliothek
Import\ into\ new\ library=&Importieren in neue Bibliothek
Import\ into\ current\ library=Importieren in aktuelle Bibliothek
Import\ into\ new\ library=Importieren in neue Bibliothek
Increase\ table\ font\ size=Vergrößere Tabellenschriftgröße
New\ article=Neuer Artikel
New\ book=Neues Buch
Expand Down Expand Up @@ -1401,7 +1411,7 @@ Display\ keywords\ appearing\ in\ ALL\ entries=Zeige Schlüsselwörter die in AL
Display\ keywords\ appearing\ in\ ANY\ entry=Zeige Schlüsselwörter die in mind. EINEM Eintrag vorkommen
None\ of\ the\ selected\ entries\ have\ titles.=Keiner der selektierten Einträge besitzt einen Titel.
None\ of\ the\ selected\ entries\ have\ BibTeX\ keys.=Keiner der selektieren Einträge besitzt BibTeX-Keys.
Unabbreviate\ journal\ names=&Abkürzung der Zeitschriftentitel aufheben
Unabbreviate\ journal\ names=Abkürzung der Zeitschriftentitel aufheben
Unabbreviating...=Hebe Abkürzungen auf...
Usage=Bedienung

Expand Down Expand Up @@ -1687,6 +1697,8 @@ See\ what\ has\ been\ changed\ in\ the\ JabRef\ versions=Beschreibt was in den v
Referenced\ BibTeX\ key\ does\ not\ exist=Referenzierter BibTeX-Key existiert nicht
Full\ text\ document\ for\ entry\ %0\ already\ linked.=Volltextdokument für Eintrag %0 bereits verknüpft.
Finished\ downloading\ full\ text\ document\ for\ entry\ %0.=Download des Volltextdokuments für Eintrag %0 komplett
Download\ full\ text\ documents=Volltext-Dokumente herunterladen
You\ are\ about\ to\ download\ full\ text\ documents\ for\ %0\ entries.=Sie sind dabei, Volltext-Dokumente für %0 Einträge herunterzuladen.
last\ four\ nonpunctuation\ characters\ should\ be\ numerals=Die letzten vier Nichtinterpunktionszeichen sollten Ziffern sein
Author=Autor
Expand Down Expand Up @@ -1881,7 +1893,7 @@ Manage\ protected\ terms=Geschützte Terme verwalten
New\ %0\ library=Neue %0 Bibliothek
New\ entry\ from\ plain\ text=Neuer Eintrag aus Klartext
New\ sublibrary\ based\ on\ AUX\ file=Neue Unterbibliothek basierend auf AUX Datei
Push\ entries\ to\ external\ application\ (%0)=&Einträge in externe Anwendung einfügen (%0)
Push\ entries\ to\ external\ application\ (%0)=Einträge in externe Anwendung einfügen (%0)
Quit=Beenden
Recent\ libraries=Zuletzt geöffnete Bibliotheken
Set\ up\ general\ fields=Allgemeine Felder festlegen
Expand Down Expand Up @@ -2047,13 +2059,59 @@ Reset\ %s\ to\ default\ value=%s auf den Standardwert zurücksetzen
Library\ mode=Bibliotheksmodus
Reset\ to\ recommended=Auf Empfehlung zurücksetzen
Remove\ all=Alle entfernen
Reset\ All=Alle zurücksetzen
Column\ type\ %0\ is\ unknown.=Spaltentyp %0 ist unbekannt.
Linked\ identifiers=Verknüpfte Bezeichner
Special\ field\ type\ %0\ is\ unknown.\ Using\ normal\ column\ type.=Spezialfeld-typ %0 ist unbekannt. Verwende normalen Spaltentyp.







insert\ entries=Einträge einfügen
In\ JabRef=In JabRef
On\ disk=auf der Festplatte
Select\ all\ changes\ on\ the\ left=Alle Änderungen auf der linken Seite auswählen
Select\ all\ changes\ on\ the\ right=Alle Änderungen auf der rechten Seite auswählen
Dismiss=Verwerfen
Mark\ all\ changes\ as\ accepted=Alle Änderungen als akzeptiert markieren
Unmark\ all\ changes=Alle Änderungen demarkieren

Normalize\ newline\ characters=Zeilenumbrüche normalisieren
Normalizes\ all\ newline\ characters\ in\ the\ field\ content.=Normalisiert alle Zeilenumbrüche im Feldinhalt.

Independent=Unabhängig
Intersection=Durchschnitt
Union=Vereinigung
Collect\ by=Erfassen nach
Explicit\ selection=Explizite Auswahl
Searching\ for\ keywords=Suche nach Schlüsselwörtern
Free\ search\ expression=Freier Suchausdruck
Specified\ keywords=Angegebene Schlüsselwörter
Cited\ entries=Zitierte Einträge
Search\ term\ is\ empty.=Suchbegriff ist leer.
Invalid\ regular\ expression.=Ungültiger regulärer Ausdruck.
Keyword\ delimiter=Schlüsselwort-Trennzeichen
Hierarchical\ keyword\ delimiter=Hierarchisches Schlüsselwort-Trennzeichen
Escape\ ampersands=Kaufmnännische-Und-Zeichen maskieren

Plain\ References\ Parser=Parser für einfache Referenzen
Please\ enter\ the\ plain\ references\ to\ extract\ from\ separated\ by\ double\ empty\ lines.=Bitte geben Sie die einfachen Referenzen ein, die durch doppelte Leerzeilen getrennt werden sollen.
Add\ to\ current\ library=Zur aktuellen Bibliothek hinzufügen
%0\ entries\ were\ parsed\ from\ your\ query.=%0 Einträge wurden aus Ihrer Anfrage extrahiert.
Starts\ the\ extraction\ and\ adds\ the\ resulting\ entries\ to\ the\ currently\ opened\ database=Startet die Extraktion und fügt die resultierenden Einträge der aktuell geöffneten Datenbank hinzu
Your\ text\ is\ being\ parsed...=Ihr Text wird analysiert...

BibTeX\ key\ filters=BibTeX-Schlüsselfilter
Field\ filters=Feld-Filter
Message\ filters=Nachrichtenfilter
Clear\ filters=Filter zurücksetzen

Add\ new\ Field=Neues Feld hinzufügen
Add\ new\ entry\ type=Neuen Eintragstyp hinzufügen
Field\ type=Feldtyp
Required\ and\ optional\ fields=Erforderliche und optionale Felder
Index=Index
Remove\ entry\ type=Eintragstyp löschen
Remove\ field\ %0\ from\ currently\ selected\ entry\ type=Feld %0 vom aktuell ausgewählten Eintragstyp entfernen

Optional=Optional
Required=Erforderlich
Entry\ type\ cannot\ be\ empty.\ Please\ enter\ a\ name.=Eintragstyp darf nicht leer sein. Bitte geben Sie einen Namen ein.
Field\ cannot\ be\ empty.\ Please\ enter\ a\ name.=Feld darf nicht leer sein. Bitte geben Sie einen Namen ein.
Loading

0 comments on commit be7d2e2

Please sign in to comment.