Skip to content

Commit 4ea90a2

Browse files
committed
Merge branch 'master' into customizeEntrydlg
* master: (297 commits) Replace link to Workspace set-up with new one (#5896) Fixes making paths of linked files relative (web urls will not be touched anymore) (#5879) Switch to our IntelliJ config (#5881) Bump unirest-java from 3.4.00 to 3.4.01 (#5874) Bump junit-vintage-engine from 5.5.2 to 5.6.0 (#5875) Bump checkstyle from 8.28 to 8.29 (#5876) Bump junit-jupiter from 5.5.2 to 5.6.0 (#5877) Bump junit-platform-launcher from 1.5.2 to 1.6.0 (#5878) Change \ to / Bump byte-buddy-parent from 1.10.6 to 1.10.7 (#5873) Fix opening pdf with okular in linux (#5253) (#5855) Fixed Test Refactored constructors, PreferencesService and some minor improvements. Remove ampersand escape when writing to bib file (#5869) Fix #5862. It was indeed the throttler (at least it is working now for me) (#5868) duplicate query parameter removed (#5865) New Crowdin translations (#5864) Minor refactoring, and changed comment Bump antlr4 from 4.7.2 to 4.8-1 (#5852) Reintroducing master table index column (#5844) ...
2 parents c3d4f31 + f53568b commit 4ea90a2

File tree

346 files changed

+36283
-9312
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

346 files changed

+36283
-9312
lines changed

.gitbook.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
root: ./docs/

.github/workflows/cleanup_pr.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,19 @@ on:
55
types: [closed]
66

77
jobs:
8-
build:
9-
8+
cleanup:
109
runs-on: ubuntu-latest
11-
10+
1211
steps:
1312
- name: Extract branch name
1413
id: extract_branch
1514
run: |
16-
echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
15+
echo "##[set-output name=branch;]$(echo ${{ github.event.pull_request.head.ref }})"
1716
- name: Delete folder on builds.jabref.org
1817
uses: appleboy/ssh-action@v0.0.6
1918
with:
2019
script: rm -rf /var/www/builds.jabref.org/www/${{ steps.extract_branch.outputs.branch }}
21-
host: builds.jabref.org
20+
host: build-upload.jabref.org
2221
port: 9922
2322
username: jrrsync
2423
key: ${{ secrets.buildJabRefPrivateKey }}

.github/workflows/deployment.yml

+27-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
name: Deployment
22

3-
on: [push]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths-ignore:
8+
- 'docs/**'
9+
- 'src/test/**'
10+
- 'README.md'
11+
pull_request:
12+
paths-ignore:
13+
- 'docs/**'
14+
- 'src/test/**'
15+
- 'README.md'
416

517
jobs:
618
build:
@@ -11,17 +23,17 @@ jobs:
1123
include:
1224
- os: ubuntu-latest
1325
displayName: linux
14-
jpackageDownload: https://download.java.net/java/early_access/jdk14/27/GPL/openjdk-14-ea+27_linux-x64_bin.tar.gz
26+
jpackageDownload: https://download.java.net/java/early_access/jdk14/30/GPL/openjdk-14-ea+30_linux-x64_bin.tar.gz
1527
jdk14Path: /jdk-14
1628
archivePortable: tar -c -C build/distribution JabRef | pigz --rsyncable > build/distribution/JabRef-portable_linux.tar.gz && rm -R build/distribution/JabRef
1729
- os: windows-latest
1830
displayName: windows
19-
jpackageDownload: https://download.java.net/java/early_access/jdk14/27/GPL/openjdk-14-ea+27_windows-x64_bin.zip
31+
jpackageDownload: https://download.java.net/java/early_access/jdk14/30/GPL/openjdk-14-ea+30_windows-x64_bin.zip
2032
jdk14Path: /jdk-14
2133
archivePortable: 7z a -r build/distribution/JabRef-portable_windows.zip ./build/distribution/JabRef && rm -R build/distribution/JabRef
2234
- os: macOS-latest
2335
displayName: macOS
24-
jpackageDownload: https://download.java.net/java/early_access/jdk14/27/GPL/openjdk-14-ea+27_osx-x64_bin.tar.gz
36+
jpackageDownload: https://download.java.net/java/early_access/jdk14/30/GPL/openjdk-14-ea+30_osx-x64_bin.tar.gz
2537
jdk14Path: /jdk-14.jdk/Contents/Home
2638
archivePortable: brew install pigz && tar -c -C build/distribution JabRef.app | pigz --rsyncable > build/distribution/JabRef-portable_macos.tar.gz && rm -R build/distribution/JabRef.app
2739

@@ -101,13 +113,21 @@ jobs:
101113
- name: Package application image
102114
run: ${{ matrix.archivePortable }}
103115
shell: bash
104-
- name: Build and publish snap
116+
- name: Build snap (1) Setup snapcraft
117+
uses: jhenstridge/snapcraft-build-action@v1
118+
id: snapcraft
119+
if: matrix.displayName == 'linux'
120+
- name: Build snap (2) Run build
121+
run: |
122+
mv ${{ steps.snapcraft.outputs.snap }} build/distribution/
123+
if: matrix.displayName == 'linux'
124+
- name: Build snap (3) Upload snap
105125
if: matrix.displayName == 'linux' && github.ref == 'refs/heads/master'
106126
env:
107127
SNAPCRAFT_LOGIN_FILE: ${{ secrets.SNAPCRAFT_LOGIN_FILE }}
108128
run: |
109129
mkdir .snapcraft && echo ${SNAPCRAFT_LOGIN_FILE} | base64 --decode --ignore-garbage > .snapcraft/snapcraft.cfg
110-
docker run -v $(pwd):$(pwd) -t lyzardking/snapcraft-bionic sh -c "apt update -qq && cd $(pwd) && snapcraft && mv jabref*.snap build/distribution/ && snapcraft push build/distribution/jabref*.snap --release edge || true"
130+
snapcraft push build/distribution/jabref*.snap --release edge || true
111131
shell: bash
112132
- name: Rename files
113133
run: |
@@ -169,4 +189,4 @@ jobs:
169189
options: ''
170190
ssh_options: '-p 9922'
171191
src: 'build/distribution/'
172-
dest: jrrsync@builds.jabref.org:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/
192+
dest: jrrsync@build-upload.jabref.org:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/
+12-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: Refresh Citation Style Language Files
22

33
on:
4+
push:
5+
paths:
6+
- '.github/workflows/refresh-csl-subtrees.yml'
7+
- 'src/main/resources/csl-locales/**'
48
schedule:
59
# run on 1st and 15th of each month
610
- cron: '1 2 1,15 * *'
@@ -11,28 +15,32 @@ jobs:
1115
runs-on: ubuntu-latest
1216
steps:
1317
- name: Checkout source
14-
uses: actions/checkout@v2-beta
18+
uses: actions/checkout@v2
1519
with:
1620
ref: master
21+
fetch-depth: 0
1722
- name: Add csl-styles remote
1823
run: git remote add -f csl-styles https://github.com/citation-style-language/styles.git
1924
- name: Update csl-styles
20-
run: |
25+
run: |
2126
git checkout master
27+
git config --local core.editor /usr/bin/cat
28+
git config user.name "github actions"
29+
git config user.email "jabrefmail+webfeedback@gmail.com"
2230
git subtree pull --prefix src/main/resources/csl-styles csl-styles master --squash
2331
- name: Add csl-locales remote
2432
run: git remote add -f csl-locales https://github.com/citation-style-language/locales.git
2533
- name: Update csl-locales
2634
run: |
27-
git checkout master
2835
git subtree pull --prefix src/main/resources/csl-locales csl-locales master --squash
2936
- uses: ad-m/github-push-action@master
3037
with:
3138
github_token: ${{ secrets.GITHUB_TOKEN }}
39+
branch: master
3240
- name: Report issues
3341
if: failure()
3442
uses: JasonEtco/create-an-issue@master
35-
env:
43+
env:
3644
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3745
with:
3846
filename: .github/failure-csl-update.md

.github/workflows/tests-fetchers.yml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Fetcher Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
paths:
8+
- 'src/main/java/org/jabref/logic/importer/fetcher/**'
9+
- 'src/test/java/org/jabref/logic/importer/fetcher/**'
10+
- '.github/workflows/tests-fetchers.yml'
11+
- 'build.gradle'
12+
pull_request:
13+
paths:
14+
- 'src/main/java/org/jabref/logic/**'
15+
- 'src/test/java/org/jabref/logic/**'
16+
- 'src/main/java/org/jabref/model/**'
17+
- 'src/test/java/org/jabref/model/**'
18+
- '.github/workflows/tests-fetchers.yml'
19+
- 'build.gradle'
20+
schedule:
21+
# run on each Wednesday
22+
- cron: '2 3 * * 3'
23+
24+
jobs:
25+
fetchertests:
26+
name: Fetcher tests
27+
runs-on: ubuntu-latest
28+
steps:
29+
- name: Checkout source
30+
uses: actions/checkout@v1
31+
with:
32+
depth: 1
33+
submodules: false
34+
- name: Set up JDK
35+
uses: actions/setup-java@v1
36+
with:
37+
java-version: 13
38+
- uses: actions/cache@v1
39+
name: Restore gradle chache
40+
with:
41+
path: ~/.gradle/caches
42+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
43+
restore-keys: |
44+
${{ runner.OS }}-gradle-${{ env.cache-name }}-
45+
${{ runner.OS }}-gradle-
46+
${{ runner.OS }}-
47+
- uses: actions/cache@v1
48+
name: Restore gradle wrapper
49+
with:
50+
path: ~/.gradle/wrapper
51+
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
52+
- name: Run fetcher tests
53+
run: ./gradlew fetcherTest
54+
env:
55+
CI: "true"

.github/workflows/tests-oracle.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Oracle Tests
22

33
on:
44
push:
5+
# we need to trigger on all branches, because sometimes need copy of branches, because secrets are only available on "internal" pull requests
56
paths:
67
- 'src/test/java/org/jabref/model/database/**'
78
- 'src/test/java/org/jabref/logic/shared/**'

.github/workflows/tests.yml

+6-32
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Tests
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
# always run on pull requests
49

510
jobs:
611
checkstyle:
@@ -128,37 +133,6 @@ jobs:
128133
env:
129134
CI: "true"
130135
DBMS: "mysql"
131-
fetchertests:
132-
name: Fetcher tests
133-
runs-on: ubuntu-latest
134-
steps:
135-
- name: Checkout source
136-
uses: actions/checkout@v1
137-
with:
138-
depth: 1
139-
submodules: false
140-
- name: Set up JDK
141-
uses: actions/setup-java@v1
142-
with:
143-
java-version: 13
144-
- uses: actions/cache@v1
145-
name: Restore gradle chache
146-
with:
147-
path: ~/.gradle/caches
148-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
149-
restore-keys: |
150-
${{ runner.OS }}-gradle-${{ env.cache-name }}-
151-
${{ runner.OS }}-gradle-
152-
${{ runner.OS }}-
153-
- uses: actions/cache@v1
154-
name: Restore gradle wrapper
155-
with:
156-
path: ~/.gradle/wrapper
157-
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
158-
- name: Run fetcher tests
159-
run: ./gradlew fetcherTest
160-
env:
161-
CI: "true"
162136
guitests:
163137
name: GUI tests
164138
runs-on: ubuntu-latest

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# no generated files in version control
22
src/main/gen/
3+
src/main/generated/
34

45
# private data
56
/buildres/jabref-cert-2016.p12

AUTHORS

+3
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ Jong-Ho Shinn
151151
Jorge Tornero
152152
josephshin93
153153
Joshua Ramon Enslin
154+
José Jesús Sinohui Fernández
154155
Julian Pfeifer
155156
Jure Slak
156157
József Pallagi
@@ -182,6 +183,7 @@ Ling Wang
182183
Linus Dietz
183184
Lorenzo Genta
184185
Luciana de Melo e Abud
186+
Luis Romero
185187
Mairieli Wessel
186188
Malik Atalla
187189
Malte Deiseroth
@@ -196,6 +198,7 @@ Martin Stolle
196198
Martina Catizone
197199
Mathias Walter
198200
Matthias Geiger
201+
Matthias Mueller
199202
Mattia Bunel
200203
Mattias Ulbrich
201204
mcmoody

CHANGELOG.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,23 @@ We refer to [GitHub issues](https://github.com/JabRef/jabref/issues) by using `#
1313

1414
### Changed
1515

16+
- We cleaned up the group add/edit dialog. [#5826](https://github.com/JabRef/jabref/pull/5826)
17+
- We reintroduced the index column. [#5844](https://github.com/JabRef/jabref/pull/5844)
18+
1619
### Fixed
1720

18-
- We fixed an issue where the Medline fetcher was only working when JabRef was running from source [#5645](https://github.com/JabRef/jabref/issues/5645)
19-
- We fixed some visual issues in the dark theme [#5764](https://github.com/JabRef/jabref/pull/5764) [#5753](https://github.com/JabRef/jabref/issues/5753)
21+
- We fixed and issue where pdf files will not open under some KDE linux distributions when using okular. [#5253](https://github.com/JabRef/jabref/issues/5253)
22+
- We fixed an issue where the Medline fetcher was only working when JabRef was running from source. [#5645](https://github.com/JabRef/jabref/issues/5645)
23+
- We fixed some visual issues in the dark theme. [#5764](https://github.com/JabRef/jabref/pull/5764) [#5753](https://github.com/JabRef/jabref/issues/5753)
2024
- We fixed an issue where non-default previews didn't handle unicode characters. [#5779](https://github.com/JabRef/jabref/issues/5779)
21-
25+
- We improved the performance, especially changing field values in the entry should feel smoother now.
26+
- We fixed an issue where the ampersand character wasn't rendering correctly on previews. [#3840](https://github.com/JabRef/jabref/issues/3840)
27+
- We fixed an issue where an erroneous "The library has been modified by another program" message was shown when saving. [#4877](https://github.com/JabRef/jabref/issues/4877)
28+
- We fixed an issue where the file extension was missing after downloading a file (we now fall-back to pdf). [#5816](https://github.com/JabRef/jabref/issues/5816)
29+
- We fixed an issue where cleaning up entries broke web URLs, if "Make paths of linked files relative (if possible)" was enabled, which resulted in various other issues subsequently. [#5861](https://github.com/JabRef/jabref/issues/5861)
2230

2331
### Removed
32+
- Ampersands are no longer escaped by default in the `bib` file. If you want to keep the current behaviour, you can use the new "Escape Ampersands" formatter as a save action.
2433

2534

2635
## [5.0-beta] – 2019-12-15

DEVELOPERS

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ Matthias Geiger (since 2015)
55
Tobias Diez (since 2015)
66
Christoph Schwentker (since 2016)
77
Linus Dietz (since 2017)
8+
Carl Christian Snethlage (since 2020)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ We view pull requests as a collaborative process.
8787
Submit a pull request early to get feedback from the team on work in progress.
8888
We will discuss improvements with you and agree to merge them once the [developers](https://github.com/JabRef/jabref/blob/master/DEVELOPERS) approve.
8989

90-
If you want a step-by-step walk-through on how to set-up your workspace, please check [this guideline](https://github.com/JabRef/jabref/wiki/Guidelines-for-setting-up-a-local-workspace).
90+
If you want a step-by-step walk-through on how to set-up your workspace, please check [this guideline](https://devdocs.jabref.org/guidelines-for-setting-up-a-local-workspace/).
9191

9292
To compile JabRef from source, you need a Java Development Kit 13 and `JAVA_HOME` pointing to this JDK.
9393
To run it, just execute `gradlew run`.

0 commit comments

Comments
 (0)