Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Microsoft Edge browser in Windows and Linux builds #7056

Merged
merged 4 commits into from
Nov 9, 2020

Conversation

LyzardKing
Copy link
Collaborator

@LyzardKing LyzardKing commented Oct 31, 2020

Fixes JabRef/JabRef-Browser-Extension#238
This PR adds the support for the Edge browser on Windows and Linux.
It still needs testing, especially the Windows support.

I will update the relevant documentation and changelog when the support has been tested.

  • Change in CHANGELOG.md described (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for UI changes)
  • Checked documentation: Is the information available and up to date? If not created an issue at https://github.com/JabRef/user-documentation/issues or, even better, submitted a pull request to the documentation repository.

Copy link
Member

@tobiasdiez tobiasdiez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot! Codewise this looks good to me.

For the renaming of the firefox json, it should be checked that it still works if you upgrade an older installation. I'm not sure if the uninstall actually cleans the registry/folder, so there might still be the old reference to jabref.json. If an upgrade-install works, this is good to go from my side.

@LyzardKing
Copy link
Collaborator Author

I didn't think about upgrades.. I can revert it back to the old name.
I can't run the test myself since the windows vm I use started crawling to a halt.

@tobiasdiez
Copy link
Member

I'll see if I find the time the next days. If not, I propose, we are going to be brave, merge and let our alpha users test it ;-).

Can you please add a changelog, and open a PR for changes to https://github.com/JabRef/user-documentation/blob/master/en/collect/jabref-browser-extension.md which we can merge directly before the next release. Thanks.

@LyzardKing
Copy link
Collaborator Author

I'm working now on the documentation and changelog ;)

LyzardKing added a commit to LyzardKing/user-documentation that referenced this pull request Oct 31, 2020
Add instructions to install the Edge extension on MacOS and Linux
Implementation depends on JabRef/jabref#7056
@LyzardKing
Copy link
Collaborator Author

Added the changelog and documentation updates.
I personally tested the Linux integration (deb+snap)

@Siedlerchr
Copy link
Member

I can test Windows (Monday or Tuesday)

@tobiasdiez tobiasdiez added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Nov 1, 2020
@Siedlerchr
Copy link
Member

On windows 10 I can't find the extension in Edge, although the registry entry is set correctly. I will try again later with a restart of my computer. I had to upgrade the Edge installation first. Maybe that's the proble..
https://docs.microsoft.com/en-us/microsoft-edge/extensions-chromium/developer-guide/native-messaging?tabs=windows

@Siedlerchr
Copy link
Member

I tested it again I tested again, but I don't see the extension, neither in Firefox. nor in Edge. Maybe it has something to do with the renaming?

@LyzardKing
Copy link
Collaborator Author

@Siedlerchr Have you installed the extension from the edge store?
It might be different if you install the chrome extension in edge..

@Siedlerchr
Copy link
Member

Siedlerchr commented Nov 9, 2020

Ah thanks for the hint. Works now. I didn't know I had to isntall it from the Edge store first 🤦
Sending to JabRef works as well Thanks again for the update

@Siedlerchr Siedlerchr merged commit 848da81 into master Nov 9, 2020
@Siedlerchr Siedlerchr deleted the edge-support branch November 9, 2020 16:23
@LyzardKing
Copy link
Collaborator Author

It's a bit confusing, since you can technically install two parallel versions of the extension, from the edge store and the chrome store.
They have a different id, but apart from that they are the same..

Siedlerchr added a commit to koppor/jabref that referenced this pull request Nov 11, 2020
* upstream/master: (164 commits)
  Bump lucene-queryparser from 8.6.3 to 8.7.0 (JabRef#7089)
  Fix endnote importer when keyword style is null (JabRef#7084)
  Rename Firefox extension file in Windows (JabRef#7092)
  Add support for Microsoft Edge browser in Windows and Linux builds (JabRef#7056)
  Bump unirest-java from 3.11.03 to 3.11.05 (JabRef#7087)
  Bump com.github.ben-manes.versions from 0.33.0 to 0.36.0 (JabRef#7088)
  Bump gittools/actions from v0.9.4 to v0.9.5 (JabRef#7091)
  Feature/add abstract field to complex search (JabRef#7079)
  Add missing authors
  Implement Emacs key bindings (JabRef#6037)
  Special field code maintenance (JabRef#7078)
  Follow up fix for 7077 Reset preview layouts on clear
  Fix preview settings not saved due to l10n (JabRef#7077)
  Add link to existing documentation of filed types
  Remove unused supportsPaging
  Squashed 'src/main/resources/csl-styles/' changes from 5c376b8..f4399aa
  Fix more 404 links
  Fix custom theme styles not applied to the entry preview (JabRef#7071)
  Fix Shared Database Tests (JabRef#7040)
  Bump byte-buddy-parent from 1.10.17 to 1.10.18 (JabRef#7059)
  ...

# Conflicts:
#	src/main/java/org/jabref/gui/DefaultInjector.java
@koppor koppor mentioned this pull request Dec 28, 2020
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JabRef on the New (2020) Microsoft Edge Browser
3 participants