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

Implement a hover to show host name and username on user-specific file directory #1

Open
wants to merge 1,642 commits into
base: Display_username
Choose a base branch
from

Conversation

JoleneSun111
Copy link
Owner

@JoleneSun111 JoleneSun111 commented Oct 22, 2023

Fixes koppor#572, user-specific file directory should show user name.
Implement a hover on user-specific file directory. If the mouse is on hower, JabRef displays: user: {username}, host: {hostname}.
589e2a9a049ace9deb4f7ab3096b275
#issue 572

Describe the changes you have made here: Change the src/main/java/org/jabref/gui/libraryproperties/general, add two properties to display the username and hostname in the frontend.
Fixed kopper issue : koppor#572 koppor#572

Mandatory checks

  • Change in CHANGELOG.md described in a way that is understandable for the average user (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 developer's documentation: Is the information available and up to date? If not, I outlined it in this pull request.
  • Checked documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request to the documentation repository.

Fixes koppor#572

koppor and others added 25 commits September 25, 2024 14:29
+semver: major
* Improve performance with duplicate check on paste

* changelog

* refine changelopg
* Create ClipboardContentGenerator out of CopyCitationAction

* Fix method name

* Add external drag'n'drop feature

* Add link

* Update CHANGELOG.md

Co-authored-by: Christoph <siedlerkiller@gmail.com>

---------

Co-authored-by: Christoph <siedlerkiller@gmail.com>
* Refine JavaDoc

* OpenRewrite: OptionalNotEmptyToIsPresent and OptionalNotPresentToIsEmpty
* add dialog to Launcher

when user open two instances of JabRef, second one will open dialog saying Localization.lang("Another JabRef instance is already running. Please switch to that instance.")

* change it in JavaFX implement

change it in JavaFX implement

* fix base on comment

1. Refactor the message when user starts JabRef a second time. now it is"Another JabRef instance is already running. Please switch to that instance." not "Passing arguments passed on to running JabRef..."
2. send a message from second instance to first instance to open a dialog in exist instance

* push the test code don't merge

I know I should not close the first instance, I'm testing. I push this code since @calixtus ask me to push it.

* update based on DevCall decision

- a little difference between DevCall decision, since before `initialize()` the UiTaskExecutor and dialogService is null, I arrange the dialog code after `initialize()`

* only change debug log without dialog

1. only change debug log without dialog
2. add a null check before closing taskExecutor

* fix a logger level to warn

fix comment position

* fix revert missing empty line

fix revert missing empty line

* fix the comment

"We do not launch a new instance in presence of an error" to "We do not launch a new instance in presence if there is another instance running"
* Update user agent and log URL

* Remove non-used "setSSLVerification"

* Enable automatic redirect-following

* Make use of TLS 1.2

* Fix static

* Qucik fix to hide API keys

* Add CHANGELOG.md entry

* Add hints on SSL certificates

* Fix Exception catching

* Streamline test code

* Fix URL for "Volltext"

* Extract method

* Fix IllegalArgumentException in IEEE
* Ask for enable indexing when clicking fulltext search

fixes JabRef#9491
comment

* only set preferences value

* fix flag

* deselect button if not enabled

* switch to listener

* fix rewrite

* Update src/main/java/org/jabref/gui/search/GlobalSearchBar.java

Co-authored-by: Loay Ghreeb <loayahmed655@gmail.com>

---------

Co-authored-by: Loay Ghreeb <loayahmed655@gmail.com>
* New translations jabref_en.properties (French)

* New translations jabref_en.properties (Polish)

* New translations jabref_en.properties (Portuguese, Brazilian)

* New translations jabref_en.properties (Spanish)

* New translations jabref_en.properties (Arabic)

* New translations jabref_en.properties (Danish)

* New translations jabref_en.properties (German)

* New translations jabref_en.properties (Greek)

* New translations jabref_en.properties (Finnish)

* New translations jabref_en.properties (Italian)

* New translations jabref_en.properties (Japanese)

* New translations jabref_en.properties (Korean)

* New translations jabref_en.properties (Dutch)

* New translations jabref_en.properties (Norwegian)

* New translations jabref_en.properties (Portuguese)

* New translations jabref_en.properties (Russian)

* New translations jabref_en.properties (Swedish)

* New translations jabref_en.properties (Turkish)

* New translations jabref_en.properties (Ukrainian)

* New translations jabref_en.properties (Chinese Simplified)

* New translations jabref_en.properties (Chinese Traditional)

* New translations jabref_en.properties (Vietnamese)

* New translations jabref_en.properties (Indonesian)

* New translations jabref_en.properties (Persian)

* New translations jabref_en.properties (Tagalog)
…abRef#11858)

Bumps [dev.langchain4j:langchain4j-hugging-face](https://github.com/langchain4j/langchain4j) from 0.34.0 to 0.35.0.
- [Release notes](https://github.com/langchain4j/langchain4j/releases)
- [Commits](langchain4j/langchain4j@0.34.0...0.35.0)

---
updated-dependencies:
- dependency-name: dev.langchain4j:langchain4j-hugging-face
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…11860)

Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.175 to 4.8.176.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](classgraph/classgraph@classgraph-4.8.175...classgraph-4.8.176)

---
updated-dependencies:
- dependency-name: io.github.classgraph:classgraph
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito) from 5.13.0 to 5.14.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v5.13.0...v5.14.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…abRef#11862)

Bumps [org.apache.httpcomponents.client5:httpclient5](https://github.com/apache/httpcomponents-client) from 5.3.1 to 5.4.
- [Changelog](https://github.com/apache/httpcomponents-client/blob/master/RELEASE_NOTES.txt)
- [Commits](apache/httpcomponents-client@rel/v5.3.1...rel/v5.4)

---
updated-dependencies:
- dependency-name: org.apache.httpcomponents.client5:httpclient5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…bRef#11861)

Bumps [dev.langchain4j:langchain4j-mistral-ai](https://github.com/langchain4j/langchain4j) from 0.34.0 to 0.35.0.
- [Release notes](https://github.com/langchain4j/langchain4j/releases)
- [Commits](langchain4j/langchain4j@0.34.0...0.35.0)

---
updated-dependencies:
- dependency-name: dev.langchain4j:langchain4j-mistral-ai
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…f#11863)

Bumps [src/main/resources/csl-styles](https://github.com/citation-style-language/styles) from `e328d44` to `8bcd8fb`.
- [Release notes](https://github.com/citation-style-language/styles/releases)
- [Commits](citation-style-language/styles@e328d44...8bcd8fb)

---
updated-dependencies:
- dependency-name: src/main/resources/csl-styles
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [jbangdev/jbang-action](https://github.com/jbangdev/jbang-action) from 0.118.0 to 0.119.0.
- [Release notes](https://github.com/jbangdev/jbang-action/releases)
- [Commits](jbangdev/jbang-action@v0.118.0...v0.119.0)

---
updated-dependencies:
- dependency-name: jbangdev/jbang-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: leaf-soba <f463317373@gmail.com>
…Ref#11871)

* Change instances of 'Search Selected' to 'Search Pre-configured'

Instances of 'Search Selected' has been changed to 'Search Pre-configured' in the following files:
- CompositeSearchBasedFetcher.java in line 21
- JabRef_en.properties in line 128
- WebFetchers.java in line 241
- WebSearchTab.fxml in line 30

* Update CHANGELOG.md

Update CHANGELOG.md to reflect Web Search Preferences UI changes from 'Search Selected' to 'Search Pre-configured'

* Make 'Pre-configured' lowercase

* Revert name changes in logic modules

Revert 'Search pre-configured' back to 'Search Selected' to stop errors

* Revert name reverts in logic modules

Revert 'Search Selected' back to 'Search pre-configured' since not doing so does not update dropdown menu
* New translations jabref_en.properties (French)

* New translations jabref_en.properties (Portuguese, Brazilian)

* New translations jabref_en.properties (Spanish)

* New translations jabref_en.properties (German)

* New translations jabref_en.properties (Italian)

* New translations jabref_en.properties (Turkish)
damgam0288 and others added 30 commits November 2, 2024 09:49
…#12122)

* Create 0040-display-front-cover-in-preview-tab.md

* Remove numbers from headings in 0040-display-front-cover-in-preview-tab.md

* Fix bad reason in PreviewPanel option 0040-display-front-cover-in-preview-tab.md

* Remove bad links in 0040-display-front-cover-in-preview-tab.md

* Add images for ADR 0040-display-book-cover

* Fix image links in 0040-display-front-cover-in-preview-tab.md
…abRef#12146)

Bumps [org.jetbrains.kotlin:kotlin-stdlib-jdk8](https://github.com/JetBrains/kotlin) from 2.0.20 to 2.0.21.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](JetBrains/kotlin@v2.0.20...v2.0.21)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ef#12147)

Bumps org.apache.velocity:velocity-engine-core from 2.3 to 2.4.1.

---
updated-dependencies:
- dependency-name: org.apache.velocity:velocity-engine-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#12148)

Bumps [com.fasterxml.jackson.dataformat:jackson-dataformat-yaml](https://github.com/FasterXML/jackson-dataformats-text) from 2.18.0 to 2.18.1.
- [Commits](FasterXML/jackson-dataformats-text@jackson-dataformats-text-2.18.0...jackson-dataformats-text-2.18.1)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [com.konghq:unirest-modules-gson](https://github.com/Kong/unirest-java) from 4.4.4 to 4.4.5.
- [Release notes](https://github.com/Kong/unirest-java/releases)
- [Changelog](https://github.com/Kong/unirest-java/blob/main/CHANGELOG.md)
- [Commits](Kong/unirest-java@v4.4.4...v4.4.5)

---
updated-dependencies:
- dependency-name: com.konghq:unirest-modules-gson
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ork-provider-grizzly2 (JabRef#12150)

Bumps org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-grizzly2 from 3.1.8 to 3.1.9.

---
updated-dependencies:
- dependency-name: org.glassfish.jersey.test-framework.providers:jersey-test-framework-provider-grizzly2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Bumps [buildres/abbrv.jabref.org](https://github.com/JabRef/abbrv.jabref.org) from `1ad9773` to `0fdf991`.
- [Release notes](https://github.com/JabRef/abbrv.jabref.org/releases)
- [Commits](JabRef/abbrv.jabref.org@1ad9773...0fdf991)

---
updated-dependencies:
- dependency-name: buildres/abbrv.jabref.org
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…f#12152)

Bumps [src/main/resources/csl-styles](https://github.com/citation-style-language/styles) from `1931353` to `49af15c`.
- [Release notes](https://github.com/citation-style-language/styles/releases)
- [Commits](citation-style-language/styles@1931353...49af15c)

---
updated-dependencies:
- dependency-name: src/main/resources/csl-styles
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* New translations jabref_en.properties (German)

* New translations jabref_en.properties (Turkish)
* Update JDK from 21 to 23

* Update dependencies

* Also use JDK 23 for JavaFX EA build

* Use correct tag
* initial

* Add some code comments

* Fix OpenRewrite

* Fix checkstyle

* Fix CommentsTabTest

* Try to move

* Fix imports

* WIP

* Add JavaDoc

* Add checks for present PreviewPanel

* Fi xsetCurrentlyEditedEntry

* Fix single tab preview

* Remove comment

* Remove OffersPreview interface

* Disable setupMainPanel

* Remove orphaned constructor and method arguments

* WIP

* Set PreviewPanel into a SplitPane to be removable

* Add workaround

* Nearly working

* Introduce TabWithPreviewPanel (and final fixes)

* Add CHANGELOG.md entry

* Remove parameters

* Add JavaDoc comment

---------

Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
* Allow - in citaton keys

* Add link to CHANGELOG.md

* Allow "-" in tests

* Also allow :

* Add ":" to expected value

* Reorder characters
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](lycheeverse/lychee-action@v2.0.2...v2.1.0)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…2177)

Bumps com.fasterxml.jackson.datatype:jackson-datatype-jsr310 from 2.18.0 to 2.18.1.

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jsr310
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [com.dlsc.gemsfx:gemsfx](https://github.com/dlsc-software-consulting-gmbh/GemsFX) from 2.63.0 to 2.64.0.
- [Release notes](https://github.com/dlsc-software-consulting-gmbh/GemsFX/releases)
- [Changelog](https://github.com/dlsc-software-consulting-gmbh/GemsFX/blob/master/jreleaser.yml)
- [Commits](dlsc-software-consulting-gmbh/GemsFX@v2.63.0...v2.64.0)

---
updated-dependencies:
- dependency-name: com.dlsc.gemsfx:gemsfx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps org.openrewrite.rewrite from 6.25.1 to 6.27.0.

---
updated-dependencies:
- dependency-name: org.openrewrite.rewrite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.bouncycastle:bcprov-jdk18on](https://github.com/bcgit/bc-java) from 1.78.1 to 1.79.
- [Changelog](https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.html)
- [Commits](https://github.com/bcgit/bc-java/commits)

---
updated-dependencies:
- dependency-name: org.bouncycastle:bcprov-jdk18on
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…f#12181)

Bumps [src/main/resources/csl-styles](https://github.com/citation-style-language/styles) from `49af15c` to `568b636`.
- [Release notes](https://github.com/citation-style-language/styles/releases)
- [Commits](citation-style-language/styles@49af15c...568b636)

---
updated-dependencies:
- dependency-name: src/main/resources/csl-styles
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…12180)

Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 10.18.2 to 10.20.1.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](checkstyle/checkstyle@checkstyle-10.18.2...checkstyle-10.20.1)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* New translations jabref_en.properties (Portuguese, Brazilian)

* New translations jabref_en.properties (Swedish)
* Update JaCoCo

* Add hint on JaCoCo

* add another repo for snapshots

* use snapshot

---------

Co-authored-by: Christoph <siedlerkiller@gmail.com>
* Fix AI settings

* Add `entries` variable to user message template
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.