forked from JabRef/jabref
-
Notifications
You must be signed in to change notification settings - Fork 0
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 (JabRef#7534)
* Ignore mime type params (JabRef#7452) Adds ignore parameter to mime type and notify the user if the file downloaded is HTML. * Update status bar message (JabRef#7452) Use Localization when writing messages in the status bar. * Add debug message (JabRef#7452) * Replace apache StringUtils (JabRef#7452) replace StringUtils::substringBefore with String::substring * Add UI test (JabRef#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 (JabRef#7452) The test checks the resulting file type when downloading a HTML file. * Fix mime type parsing bug (JabRef#7452) Add check to only process the mimeType if an ';' exists inside the string * Add unit test for mime type parsing (JabRef#7452) Tests that mime type with parameter value is parsed correctly to exclude the parameter. * Add changes to changelog (JabRef#7452) * Clarify changes (JabRef#7452) * Reset cookie policy in test (JabRef#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 (JabRef#7452) * Clean up code style (JabRef#7452) Clean up code styling according to JabRef style guidelines. * Remove duplicate changelog entry (JabRef#7452) * Refactor LinkedFileViewModelTest adding mock for JabRefPreferences used in testing (JabRef#7452) * Refactor LinkedFileViewModelTest removing redundant code (JabRef#7452) * Refactor LinkedFileViewModelTest removing redundant code (JabRef#7452) * Fix tests * fix checkstyle Co-authored-by: Binxin <binxin@kth.se> Co-authored-by: kittyt <kittyt@kth.se> Co-authored-by: Keivan Matinzadeh <matinzadeh.keivan@gmail.com> Co-authored-by: Johan Grundberg <johan.grundberg98@gmail.com> Co-authored-by: Johan Grundberg <grundb@kth.se> Co-authored-by: kaniyi <kaniyi@kth.se>
- 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