Skip to content

Commit 81043b7

Browse files
authored
Merge branch 'main' into fix-for-issue-JabRef#372
2 parents 05b3c42 + 0e15a17 commit 81043b7

File tree

195 files changed

+2211
-1235
lines changed

Some content is hidden

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

195 files changed

+2211
-1235
lines changed

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ gradlew text eol=lf
55
# windows line endings at windows files
66
*.bat text eol=crlf
77

8-
# ensure that line endings of *.bib, *.fxml, *.java, *.properties are normalized to LF
8+
# ensure that line endings of certain files are normalized to LF
99
*.bib text eol=lf
10+
*.bak text eol=lf
1011
*.fxml text eol=lf
1112
*.java text eol=lf
1213
*.properties text eol=lf

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ body:
1313
label: JabRef version
1414
options:
1515
- "5.15 (latest release)"
16+
- "6.0-alpha"
1617
- Latest development branch build (please note build date below)
1718
- Other (please describe below)
1819
description: The version as shown in the about dialog.

.github/ghprcomment.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
We use [Checkstyle](https://checkstyle.sourceforge.io/) to identify issues.
55
Please carefully follow [the setup guide for the codestyle](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-13-code-style.html).
66
Afterwards, please [run checkstyle locally](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-13-code-style.html#run-checkstyle) and fix the issues.
7+
8+
In case of issues with the import order, double check that you [activated Auto Import](https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-13-code-style.html#enable-proper-import-cleanup).
9+
You can trigger fixing imports by pressing <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>O</kbd> to trigger [Optimize Imports](https://www.jetbrains.com/guide/tips/optimize-imports/).
710
- jobName: OpenRewrite
811
message: |
912
Your code currently does not meet JabRef's code guidelines.

.github/workflows/assign-issue.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
steps:
1717
- name: Assign the user or unassign stale assignments
1818
id: assign
19-
uses: takanome-dev/assign-issue-action@beta
19+
uses: takanome-dev/assign-issue-action@fix-rate-limit-err
2020
with:
2121
github_token: '${{ secrets.GITHUB_TOKEN }}'
2222
days_until_unassign: 90
23-
maintainers: koppor, Siedlerchr, ThiloteE, calixtus, HoussemNasri
23+
maintainers: 'koppor,Siedlerchr,ThiloteE,calixtus,HoussemNasri,subhramit,LinusDietz'
2424
assigned_comment: |
2525
👋 Hey @{{ handle }}, thank you for your interest in this issue! 🎉
2626

.github/workflows/check-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
restore-keys: cache-lychee-
3333
- name: Link Checker
3434
id: lychee
35-
uses: lycheeverse/lychee-action@v2.1.0
35+
uses: lycheeverse/lychee-action@v2.2.0
3636
with:
3737
fail: true
3838
args: --accept '200,201,202,203,204,403,429,500' --max-concurrency 1 --cache --no-progress --exclude-all-private './**/*.md'

.github/workflows/deployment-arm64.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ jobs:
6969
submodules: 'true'
7070
show-progress: 'false'
7171
- name: Install GitVersion
72-
uses: gittools/actions/gitversion/setup@v3.0.3
72+
uses: gittools/actions/gitversion/setup@v3.1.11
7373
with:
7474
versionSpec: "5.x"
7575
- name: Run GitVersion
7676
id: gitversion
77-
uses: gittools/actions/gitversion/execute@v3.0.3
77+
uses: gittools/actions/gitversion/execute@v3.1.11
7878
- name: Setup JDK
7979
uses: actions/setup-java@v4
8080
with:
@@ -245,7 +245,7 @@ jobs:
245245
BUILDJABREFPRIVATEKEY: ${{ secrets.buildJabRefPrivateKey }}
246246
- name: Download from GitHub workflow artifacts store (macOS)
247247
if: (steps.checksecrets.outputs.secretspresent == 'YES')
248-
uses: actions/download-artifact@master
248+
uses: actions/download-artifact@v4
249249
with:
250250
name: JabRef-macOS-arm-tbn
251251
path: build/distribution/

.github/workflows/deployment-jdk-ea.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ jobs:
8585
packages: pigz
8686
version: 1.0
8787
- name: Install GitVersion
88-
uses: gittools/actions/gitversion/setup@v3.0.3
88+
uses: gittools/actions/gitversion/setup@v3.1.11
8989
with:
9090
versionSpec: "5.x"
9191
- name: Run GitVersion
9292
id: gitversion
93-
uses: gittools/actions/gitversion/execute@v3.0.3
93+
uses: gittools/actions/gitversion/execute@v3.1.11
9494

9595
# JDK
9696
- name: 'Set up JDK ${{ matrix.jdk }}'

.github/workflows/deployment.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
build:
3838
strategy:
3939
fail-fast: false
40-
matrix:
41-
os: [ubuntu-latest, windows-latest, macos-13]
40+
matrix: # if you change the os version rename all other occurrences
41+
os: [ubuntu-22.04, windows-latest, macos-13]
4242
include:
43-
- os: ubuntu-latest
43+
- os: ubuntu-22.04
4444
displayName: linux
4545
archivePortable: tar -c -C build/distribution JabRef | pigz --rsyncable > build/distribution/JabRef-portable_linux.tar.gz && rm -R build/distribution/JabRef
4646
- os: windows-latest
@@ -75,18 +75,18 @@ jobs:
7575
submodules: 'true'
7676
show-progress: 'false'
7777
- name: Install pigz and cache (linux)
78-
if: (matrix.os == 'ubuntu-latest')
78+
if: (matrix.os == 'ubuntu-22.04')
7979
uses: awalsh128/cache-apt-pkgs-action@latest
8080
with:
8181
packages: pigz
8282
version: 1.0
8383
- name: Install GitVersion
84-
uses: gittools/actions/gitversion/setup@v3.0.3
84+
uses: gittools/actions/gitversion/setup@v3.1.11
8585
with:
8686
versionSpec: "5.x"
8787
- name: Run GitVersion
8888
id: gitversion
89-
uses: gittools/actions/gitversion/execute@v3.0.3
89+
uses: gittools/actions/gitversion/execute@v3.1.11
9090
- name: Setup JDK
9191
uses: actions/setup-java@v4
9292
with:
@@ -212,7 +212,7 @@ jobs:
212212
get-childitem -Path build/distribution/* | rename-item -NewName {$_.name -replace "${{ steps.gitversion.outputs.AssemblySemVer }}","${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}"}
213213
get-childitem -Path build/distribution/* | rename-item -NewName {$_.name -replace "portable","${{ steps.gitversion.outputs.Major }}.${{ steps.gitversion.outputs.Minor }}-portable"}
214214
- name: Repack deb file for Debian
215-
if: (matrix.os == 'ubuntu-latest') && (steps.checksecrets.outputs.secretspresent == 'YES')
215+
if: (matrix.os == 'ubuntu-22.04') && (steps.checksecrets.outputs.secretspresent == 'YES')
216216
shell: bash
217217
run: |
218218
cd build/distribution
@@ -247,7 +247,7 @@ jobs:
247247
# macOS: Negated condition of "Upload to GitHub workflow artifacts store (macOS)"
248248
# Reason: We either upload the non-notarized files - or notarize the files later (and upload these later)
249249
# needs to be on one line; multi line does not work
250-
if: ${{ (!startsWith(github.ref, 'refs/heads/gh-readonly-queue')) && (steps.checksecrets.outputs.secretspresent == 'YES') && ((matrix.os == 'ubuntu-latest') || ((matrix.os == 'macos-13') && !((startsWith(github.ref, 'refs/tags/') || inputs.notarization == true)))) }}
250+
if: ${{ (!startsWith(github.ref, 'refs/heads/gh-readonly-queue')) && (steps.checksecrets.outputs.secretspresent == 'YES') && ((matrix.os == 'ubuntu-22.04') || ((matrix.os == 'macos-13') && !((startsWith(github.ref, 'refs/tags/') || inputs.notarization == true)))) }}
251251
shell: bash
252252
run: |
253253
rsync -rt --chmod=Du=rwx,Dg=rx,Do=rx,Fu=rw,Fg=r,Fo=r --itemize-changes --stats --rsync-path="mkdir -p /var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }} && rsync" -e 'ssh -p 9922 -i sshkey -o StrictHostKeyChecking=no' build/distribution/ [email protected]:/var/www/builds.jabref.org/www/${{ steps.gitversion.outputs.branchName }}/ || true
@@ -268,7 +268,7 @@ jobs:
268268
compression-level: 0 # no compression
269269
announce:
270270
name: Comment on pull request
271-
runs-on: ubuntu-latest
271+
runs-on: ubuntu-22.04
272272
needs: [build]
273273
if: ${{ github.event_name == 'pull_request' }}
274274
steps:
@@ -314,7 +314,7 @@ jobs:
314314
BUILDJABREFPRIVATEKEY: ${{ secrets.buildJabRefPrivateKey }}
315315
- name: Download from GitHub workflow artifacts store (macOS)
316316
if: (steps.checksecrets.outputs.secretspresent == 'YES')
317-
uses: actions/download-artifact@master
317+
uses: actions/download-artifact@v4
318318
with:
319319
name: JabRef-macOS-tbn
320320
path: build/distribution/

.github/workflows/gource.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: 'Development history of current build'
2727
uses: BoundfoxStudios/action-gource@v2
2828
with:
29-
gource_title: 'JabRef v5.16 (in development) | more information at contribute.jabref.org'
29+
gource_title: 'JabRef v6.0 (in development) | more information at contribute.jabref.org'
3030
logo_url: 'https://www.jabref.org/img/JabRef-icon-256.png'
3131
avatars_auto_fetch: true
3232
# 5s * 365 / 4 = 7.5min
@@ -36,7 +36,7 @@ jobs:
3636
- name: 'Store video'
3737
run: |
3838
mkdir gource-videos
39-
mv ./gource/gource.mp4 ./gource-videos/jabref-v5.16-dev.mp4
39+
mv ./gource/gource.mp4 ./gource-videos/jabref-v6.0-dev.mp4
4040
- name: 'Development history of last release'
4141
uses: BoundfoxStudios/action-gource@v2
4242
with:

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
submodules: 'false'
110110
show-progress: 'false'
111111
- name: markdownlint-cli2-action
112-
uses: DavidAnson/markdownlint-cli2-action@v18
112+
uses: DavidAnson/markdownlint-cli2-action@v19
113113
with:
114114
globs: |
115115
*.md

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"java.configuration.updateBuildConfiguration": "interactive",
33
"java.format.settings.url": "/config/VSCode Code Style.xml",
44
"java.checkstyle.configuration": "${workspaceFolder}/config/checkstyle/checkstyle_reviewdog.xml",
5-
"java.checkstyle.version": "10.3.4"
5+
"java.checkstyle.version": "10.21.0"
66
}

CHANGELOG.md

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,33 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
1111

1212
### Added
1313

14+
- We added a feature for copying entries to libraries, available via the context menu, with an option to include cross-references. [#12374](https://github.com/JabRef/jabref/pull/12374)
15+
16+
### Changed
17+
18+
- We moved the "Generate a new key for imported entries" option from the "Web search" tab to the "Citation key generator" tab in preferences. [#12436](https://github.com/JabRef/jabref/pull/12436)
19+
- We improved the offline parsing of BibTeX data from PDF-documents. [#12278](https://github.com/JabRef/jabref/issues/12278)
20+
- The tab bar is now hidden when only one library is open. [#9971](https://github.com/JabRef/jabref/issues/9971)
21+
22+
### Fixed
23+
24+
- We fixed an issue where the name of the untitled database was shown as a blank space in the right-click context menu's "Copy to" option. [#12459](https://github.com/JabRef/jabref/pull/12459)
25+
- We fixed an issue where the F3 shortcut key did not work without opening the right-click context menu. [#12417](https://github.com/JabRef/jabref/pull/12417)
26+
- We fixed an issue where a bib file with UFF-8 charset was wrongly loaded with a different charset [forum#5369](https://discourse.jabref.org/t/jabref-5-15-opens-bib-files-with-shift-jis-encoding-instead-of-utf-8/5369/)
27+
- We fixed an issue where new entries were inserted in the middle of the table instead of at the end. [#12371](https://github.com/JabRef/jabref/pull/12371)
28+
- We fixed an issue where removing the sort from the table did not restore the original order. [#12371](https://github.com/JabRef/jabref/pull/12371)
29+
- We fixed an issue where JabRef icon merges with dark background [#7771](https://github.com/JabRef/jabref/issues/7771)
30+
- We fixed an issue where an entry's group was no longer highlighted on selection [#12413](https://github.com/JabRef/jabref/issues/12413)
31+
- We fixed an issue where BibTeX Strings were not included in the backup file [#12462](https://github.com/JabRef/jabref/issues/12462)
32+
33+
### Removed
34+
35+
- "Web of Science" [journal abbreviation list](https://docs.jabref.org/advanced/journalabbreviations) was removed. [abbrv.jabref.org#176](https://github.com/JabRef/abbrv.jabref.org/issues/176)
36+
37+
## [6.0-alpha] – 2024-12-23
38+
39+
### Added
40+
1441
- We added a Markdown export layout. [#12220](https://github.com/JabRef/jabref/pull/12220)
1542
- We added a "view as BibTeX" option before importing an entry from the citation relation tab. [#11826](https://github.com/JabRef/jabref/issues/11826)
1643
- We added support finding LaTeX-encoded special characters based on plain Unicode and vice versa. [#11542](https://github.com/JabRef/jabref/pull/11542)
@@ -83,6 +110,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
83110
- The CitationKey column is now a default shown column for the entry table. [#10510](https://github.com/JabRef/jabref/issues/10510)
84111
- We disabled the actions "Open Terminal here" and "Reveal in file explorer" for unsaved libraries. [#11920](https://github.com/JabRef/jabref/issues/11920)
85112
- JabRef now opens the corresponding directory in the library properties when "Browse" is clicked. [#12223](https://github.com/JabRef/jabref/pull/12223)
113+
- We changed the icon for macOS to be more consistent with Apple's Guidelines [#8443](https://github.com/JabRef/jabref/issues/8443)
86114

87115
### Fixed
88116

@@ -127,19 +155,15 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
127155
- We fixed an issue where identifier paste couldn't work with Unicode REPLACEMENT CHARACTER. [#11986](https://github.com/JabRef/jabref/issues/11986)
128156
- We fixed an issue when click on entry at "Check Integrity" wasn't properly focusing the entry and field. [#11997](https://github.com/JabRef/jabref/issues/11997)
129157
- We fixed an issue with the ui not scaling when changing the font size [#11219](https://github.com/JabRef/jabref/issues/11219)
158+
- We fixed an issue where a custom application for external file types would not be saved [#112311](https://github.com/JabRef/jabref/issues/12311)
159+
- We fixed an issue where a file that no longer exists could not be deleted from an entry using keyboard shortcut [#9731](https://github.com/JabRef/jabref/issues/9731)
130160

131161
### Removed
132162

133163
- We removed the description of search strings. [#11542](https://github.com/JabRef/jabref/pull/11542)
134164
- We removed support for importing using the SilverPlatterImporter (`Record INSPEC`). [#11576](https://github.com/JabRef/jabref/pull/11576)
135165
- We removed support for automatically generating file links using the CLI (`--automaticallySetFileLinks`).
136166

137-
138-
139-
140-
141-
142-
143167
## [5.15] – 2024-07-10
144168

145169
### Added
@@ -1486,7 +1510,8 @@ The changelog of JabRef 4.x is available at the [v4.3.1 tag](https://github.com/
14861510
The changelog of JabRef 3.x is available at the [v3.8.2 tag](https://github.com/JabRef/jabref/blob/v3.8.2/CHANGELOG.md).
14871511
The changelog of JabRef 2.11 and all previous versions is available as [text file in the v2.11.1 tag](https://github.com/JabRef/jabref/blob/v2.11.1/CHANGELOG).
14881512

1489-
[Unreleased]: https://github.com/JabRef/jabref/compare/v5.15...HEAD
1513+
[Unreleased]: https://github.com/JabRef/jabref/compare/v6.0-alpha...HEAD
1514+
[6.0-alpha]: https://github.com/JabRef/jabref/compare/v5.15...v6.0-alpha
14901515
[5.15]: https://github.com/JabRef/jabref/compare/v5.14...v5.15
14911516
[5.14]: https://github.com/JabRef/jabref/compare/v5.13...v5.14
14921517
[5.13]: https://github.com/JabRef/jabref/compare/v5.12...v5.13

GitVersion.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ mode: ContinuousDeployment
55
branches:
66
main:
77
regex: ^main
8-
tag: ''
9-
pre-release-weight: 0 # 0 after stable release, 15000 before alpha release, 30000 before beta release, 50000 before stable release
8+
tag: 'alpha'
9+
pre-release-weight: 15000 # 0 after stable release, 15000 before alpha release, 30000 before beta release, 50000 before stable release

0 commit comments

Comments
 (0)