-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep source urls on file download (#10855)
* Add source URL to the linked files and update it when a file is initially downloaded * Add context menu action to redownload a file * Add main menu tools action to redownload missing files Refactor redownload code into an action * Don't change the local link name when redownloading, the link should already have an appropriate file name, so use that for the downloaded file. * Update CHANGELOG.md * revert method change * Revert changes in property files * Improve extension check * Fix issue where action would only be executed once per jabref execution. * Make string empty check more readable * Fix test for FileFieldParser * Small refactoring and language fix * Refactor LinkedFileViewModel to use the DownloadLinkedFileAction for downloading Change test to use that too. * Fix rewrite check * Change file field format to be backwards compatible with old versions with mediaType. Recover/add tests for the file field. * Small language fix and reduced public fingerprint * Extract downloadProgress * DownloadLinkedFileActionTest Co-authored-by: Christoph <siedlerkiller@gmail.com> * Fixed checkstyle * Revert "Change file field format to be backwards compatible with old versions with mediaType." This reverts commit 2230310. * Reapply and modify good tests --------- Co-authored-by: Carl Christian Snethlage <50491877+calixtus@users.noreply.github.com> Co-authored-by: Christoph <siedlerkiller@gmail.com>
- Loading branch information
1 parent
4194a09
commit 2777ebc
Showing
19 changed files
with
611 additions
and
246 deletions.
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
40 changes: 0 additions & 40 deletions
40
src/main/java/org/jabref/gui/externalfiles/FileDownloadTask.java
This file was deleted.
Oops, something went wrong.
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.