Skip to content

Commit

Permalink
Merge pull request #121 from ChenglongMa/dev-since-3.0.3
Browse files Browse the repository at this point in the history
Release v3.0.4
  • Loading branch information
ChenglongMa authored Dec 6, 2024
2 parents 66f3965 + 1d0b84e commit cbffa9a
Show file tree
Hide file tree
Showing 28 changed files with 3,227 additions and 3,260 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ZOTERO_PLUGIN_ZOTERO_BIN_PATH = /path/to/zotero.exe
# The path of the profile used for development.
# Start the profile manager by `/path/to/zotero.exe -p` to create a profile for development.
# @see https://www.zotero.org/support/kb/profile_directory
# @see https://www.zotero.org/support/kb/multiple_profiles
ZOTERO_PLUGIN_PROFILE_PATH = /path/to/profile

# The directory where the database is located.
Expand Down
39 changes: 38 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,21 @@ A plugin that does one thing only: **Detect** and **Manage** duplicate items in
# Changelog

## v3.0.4

<details markdown="1" open>
<summary><i>Click here to show more.</i></summary>

In this version, we have made the following changes:

1. 🐛 **FIX!**: We have fixed the bug that caused the UI blocked when selecting too many items and opening the context menu.
* Thanks to [zzlb0224](https://github.com/zzlb0224), [pencilheart](https://github.com/pencilheart) and [dschaehi](https://github.com/dschaehi) for reporting this bug in [issue #119](https://github.com/ChenglongMa/zoplicate/issues/94) and [issue #119](https://github.com/ChenglongMa/zoplicate/issues/119) respectively.
2. 🐛 **FIX!**: We have optimized the plugin lifecycle which may cause the plugin to load multiple preference settings on macOS.
* Thanks to [WangYe661](https://github.com/WangYe661) and [pencilheart](https://github.com/pencilheart) for reporting this bug in [issue #81](https://github.com/ChenglongMa/zoplicate/issues/81).
3. 🐛 **FIX!**: We have optimized database operations to reduce the risk of data loss.

</details>

## v3.0.3

<details markdown="1" open>
Expand All @@ -82,7 +97,7 @@ In this version, we have made the following changes:

## v3.0.2

<details markdown="1" open>
<details markdown="1">
<summary><i>Click here to show more.</i></summary>

In this version, we have made the following changes:
Expand Down Expand Up @@ -392,5 +407,27 @@ There are some ways to mark and unmark items as **Non-duplicates**:
by [sponsoring the repository on GitHub](https://github.com/sponsors/ChenglongMa). Your contributions help us
maintain and improve the project.

# Acknowledgements

I would like to express my gratitude to the following individuals and organizations for their generous support and contributions to this project:

## Sponsors

<p>
<a href="https://github.com/quinn-p-mchugh" aria-label="Sponsor Quinn McHugh" style="display: inline-block; margin: 10px;">
<img src="https://avatars.githubusercontent.com/u/40648753?v=4" height="100" alt="Sponsor Quinn McHugh" style="border-radius: 50%;"/>
<br/>
<span style="display: block; text-align: center;">Quinn McHugh</span>
</a>
<a href="https://github.com/Mctalos" aria-label="Sponsor Mctalos" style="display: inline-block; margin: 10px;">
<img src="https://avatars.githubusercontent.com/u/9693755?v=4" height="100" alt="Sponsor Mctalos" style="border-radius: 50%;"/>
<br/>
<span style="display: block; text-align: center;">Mctalos</span>
</a>
</p>

Usually, a ⭐️ is enough to make me happy. Your sponsorship will help me maintain and improve the project.
Also, part of the sponsorship will be donated to the open-source community.

Thank you for considering contributing to **Zoplicate**. We value your input and look forward to collaborating
with you!
4 changes: 2 additions & 2 deletions addon/locale/en-US/addon.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ du-dialog-header = The following items have existed in your library. How would y
du-dialog-hint = Click here for details.
du-dialog-table-title = Title
du-dialog-table-keep = Keep This
du-dialog-table-discard = Keep Others
du-dialog-table-keep = Keep New
du-dialog-table-discard = Keep Old
du-dialog-table-cancel = Keep All
du-dialog-as-default = Use this action by default
Expand Down
14 changes: 14 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@ export default tseslint.config(
{
extends: [eslint.configs.recommended, ...tseslint.configs.recommended],
rules: {
"no-restricted-globals": [
"error",
{ message: "Use `Zotero.getMainWindow()` instead.", name: "window" },
{
message: "Use `Zotero.getMainWindow().document` instead.",
name: "document",
},
{
message: "Use `Zotero.getActiveZoteroPane()` instead.",
name: "ZoteroPane",
},
"Zotero_Tabs",
],

"@typescript-eslint/ban-ts-comment": [
"warn",
{
Expand Down
Loading

0 comments on commit cbffa9a

Please sign in to comment.