-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dd2480 2021 group 22 fix for issue 7452 (#7534)
* Ignore mime type params (#7452) Adds ignore parameter to mime type and notify the user if the file downloaded is HTML. * Update status bar message (#7452) Use Localization when writing messages in the status bar. * Add debug message (#7452) * Replace apache StringUtils (#7452) replace StringUtils::substringBefore with String::substring * Add UI test (#7452) Add test ensuring the UI warns the user if they download a linked HTML file (i.e. a web page). * Add unit test for HTML file (#7452) The test checks the resulting file type when downloading a HTML file. * Fix mime type parsing bug (#7452) Add check to only process the mimeType if an ';' exists inside the string * Add unit test for mime type parsing (#7452) Tests that mime type with parameter value is parsed correctly to exclude the parameter. * Add changes to changelog (#7452) * Clarify changes (#7452) * Reset cookie policy in test (#7452) Sets a new system-wide cookie manager if there is none, and sets the cookie policy to ACCEPT_NONE after each test. * Add test for when a linked file points to a PDF url (#7452) * Clean up code style (#7452) Clean up code styling according to JabRef style guidelines. * Remove duplicate changelog entry (#7452) * Refactor LinkedFileViewModelTest adding mock for JabRefPreferences used in testing (#7452) * Refactor LinkedFileViewModelTest removing redundant code (#7452) * Refactor LinkedFileViewModelTest removing redundant code (#7452) * Fix tests * fix checkstyle Co-authored-by: Binxin <[email protected]> Co-authored-by: kittyt <[email protected]> Co-authored-by: Keivan Matinzadeh <[email protected]> Co-authored-by: Johan Grundberg <[email protected]> Co-authored-by: Johan Grundberg <[email protected]> Co-authored-by: kaniyi <[email protected]>
- Loading branch information
1 parent
198572c
commit 42270fa
Showing
5 changed files
with
125 additions
and
1 deletion.
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
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