Skip to content

Commit 67f0990

Browse files
authored
feat: Manifest v3 support, add communciation with JabRef via HTTP (#624)
feat: Manifest v3 support, add communciation with JabRef via HTTP
2 parents f576635 + 84dd999 commit 67f0990

2,075 files changed

Lines changed: 28693 additions & 560211 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/FUNDING.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
github: [tobiasdiez, JabRef]
2-
custom: ['https://github.com/JabRef/jabref/wiki/Donations']
2+
custom: ["https://github.com/JabRef/jabref/wiki/Donations"]

.github/dependabot.yml

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,27 @@
1+
# Basic `dependabot.yml` file with
2+
# minimum configuration for three package managers
3+
14
version: 2
25
updates:
3-
- package-ecosystem: npm
4-
directory: "/"
5-
schedule:
6-
interval: weekly
7-
day: friday
8-
time: "18:00"
9-
open-pull-requests-limit: 10
10-
labels:
11-
- type:dependency
12-
- package-ecosystem: "github-actions"
13-
directory: "/"
14-
schedule:
15-
interval: weekly
16-
day: friday
17-
time: "18:00"
18-
labels:
19-
- type:dependency
6+
# Enable version updates for npm
7+
- package-ecosystem: "npm"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"
11+
day: sunday
12+
13+
# Enable version updates for GitHub Actions
14+
- package-ecosystem: "github-actions"
15+
# Workflow files stored in the default location of `.github/workflows`
16+
# You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.
17+
directory: "/"
18+
schedule:
19+
interval: "weekly"
20+
day: sunday
21+
22+
- package-ecosystem: "gitsubmodule"
23+
directory: "/"
24+
schedule:
25+
interval: weekly
26+
day: sunday
27+
labels: []

.github/workflows/automerge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
if: github.actor == 'dependabot[bot]'
2626
steps:
27-
- name: 'Wait for status checks'
27+
- name: "Wait for status checks"
2828
id: waitforstatuschecks
2929
uses: "WyriHaximus/github-action-wait-for-status@v1.8"
3030
with:

.github/workflows/lint.yml

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,33 @@
1-
name: Lint test
2-
on: [push]
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
merge_group:
9+
workflow_dispatch:
10+
311
jobs:
412
run:
513
name: Run
614
runs-on: ubuntu-latest
715
steps:
8-
- uses: actions/checkout@v3
9-
- uses: actions/setup-node@v3
10-
with:
11-
node-version: 'lts/*'
12-
cache: 'npm'
13-
- run: npm install
14-
- run: $(npm bin)/web-ext lint --self-hosted
16+
- uses: actions/checkout@v6
17+
with:
18+
submodules: recursive
19+
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
22+
23+
- name: Setup Node.js
24+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
25+
with:
26+
node-version: 24.11.0
27+
cache: "pnpm"
28+
29+
- name: Install dependencies
30+
run: pnpm install
31+
32+
- name: Run linter
33+
run: pnpm lint

.github/workflows/test.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
merge_group:
9+
workflow_dispatch:
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v6
17+
with:
18+
submodules: true
19+
20+
- name: Install pnpm
21+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
22+
23+
- name: Setup Node.js
24+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
25+
with:
26+
node-version: 24.14.0
27+
cache: "pnpm"
28+
29+
- name: Install dependencies
30+
run: pnpm install
31+
32+
- name: Run tests
33+
run: pnpm test

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,6 @@ $RECYCLE.BIN/
124124
# *.iml
125125
# *.ipr
126126

127-
# CMake
128-
cmake-build-*/
129-
130127
# Mongo Explorer plugin
131128
.idea/**/mongoSettings.xml
132129

@@ -212,3 +209,7 @@ fabric.properties
212209
# Support for Project snippet scope
213210

214211
# End of https://www.toptal.com/developers/gitignore/api/intellij,visualstudiocode
212+
213+
# Temporary files
214+
dist/
215+
test_cache/

.gitmodules

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[submodule "translators/zotero"]
2+
path = translators/zotero
3+
url = https://github.com/tobiasdiez/translators.git
4+
[submodule "sources/zotero-translate"]
5+
path = sources/zotero-translate
6+
url = https://github.com/tobiasdiez/translate.git
7+
[submodule "sources/zotero-utilities"]
8+
path = sources/zotero-utilities
9+
url = https://github.com/tobiasdiez/utilities.git

.oxfmtrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "./node_modules/oxfmt/configuration_schema.json",
3+
"ignorePatterns": ["translators/zotero/**", "sources/zotero-*/**"]
4+
}

.oxlintrc.json

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,144 @@
1+
{
2+
"$schema": "./node_modules/oxlint/configuration_schema.json",
3+
"plugins": ["unicorn", "typescript", "oxc"],
4+
"categories": {},
5+
"rules": {
6+
"constructor-super": "warn",
7+
"for-direction": "warn",
8+
"no-async-promise-executor": "warn",
9+
"no-caller": "warn",
10+
"no-class-assign": "warn",
11+
"no-compare-neg-zero": "warn",
12+
"no-cond-assign": "warn",
13+
"no-const-assign": "warn",
14+
"no-constant-binary-expression": "warn",
15+
"no-constant-condition": "warn",
16+
"no-control-regex": "warn",
17+
"no-debugger": "warn",
18+
"no-delete-var": "warn",
19+
"no-dupe-class-members": "warn",
20+
"no-dupe-else-if": "warn",
21+
"no-dupe-keys": "warn",
22+
"no-duplicate-case": "warn",
23+
"no-empty-character-class": "warn",
24+
"no-empty-pattern": "warn",
25+
"no-empty-static-block": "warn",
26+
"no-eval": "warn",
27+
"no-ex-assign": "warn",
28+
"no-extra-boolean-cast": "warn",
29+
"no-func-assign": "warn",
30+
"no-global-assign": "warn",
31+
"no-import-assign": "warn",
32+
"no-invalid-regexp": "warn",
33+
"no-irregular-whitespace": "warn",
34+
"no-loss-of-precision": "warn",
35+
"no-new-native-nonconstructor": "warn",
36+
"no-nonoctal-decimal-escape": "warn",
37+
"no-obj-calls": "warn",
38+
"no-self-assign": "warn",
39+
"no-setter-return": "warn",
40+
"no-shadow-restricted-names": "warn",
41+
"no-sparse-arrays": "warn",
42+
"no-this-before-super": "warn",
43+
"no-unassigned-vars": "warn",
44+
"no-unsafe-finally": "warn",
45+
"no-unsafe-negation": "warn",
46+
"no-unsafe-optional-chaining": "warn",
47+
"no-unused-expressions": "warn",
48+
"no-unused-labels": "warn",
49+
"no-unused-private-class-members": "warn",
50+
"no-unused-vars": "warn",
51+
"no-useless-backreference": "warn",
52+
"no-useless-catch": "warn",
53+
"no-useless-escape": "warn",
54+
"no-useless-rename": "warn",
55+
"no-with": "warn",
56+
"require-yield": "warn",
57+
"use-isnan": "warn",
58+
"valid-typeof": "warn",
59+
"oxc/bad-array-method-on-arguments": "warn",
60+
"oxc/bad-char-at-comparison": "warn",
61+
"oxc/bad-comparison-sequence": "warn",
62+
"oxc/bad-min-max-func": "warn",
63+
"oxc/bad-object-literal-comparison": "warn",
64+
"oxc/bad-replace-all-arg": "warn",
65+
"oxc/const-comparisons": "warn",
66+
"oxc/double-comparisons": "warn",
67+
"oxc/erasing-op": "warn",
68+
"oxc/missing-throw": "warn",
69+
"oxc/number-arg-out-of-range": "warn",
70+
"oxc/only-used-in-recursion": "warn",
71+
"oxc/uninvoked-array-callback": "warn",
72+
"typescript/await-thenable": "warn",
73+
"typescript/no-array-delete": "warn",
74+
"typescript/no-base-to-string": "warn",
75+
"typescript/no-duplicate-enum-values": "warn",
76+
"typescript/no-duplicate-type-constituents": "warn",
77+
"typescript/no-extra-non-null-assertion": "warn",
78+
"typescript/no-floating-promises": "warn",
79+
"typescript/no-for-in-array": "warn",
80+
"typescript/no-implied-eval": "warn",
81+
"typescript/no-meaningless-void-operator": "warn",
82+
"typescript/no-misused-new": "warn",
83+
"typescript/no-misused-spread": "warn",
84+
"typescript/no-non-null-asserted-optional-chain": "warn",
85+
"typescript/no-redundant-type-constituents": "warn",
86+
"typescript/no-this-alias": "warn",
87+
"typescript/no-unnecessary-parameter-property-assignment": "warn",
88+
"typescript/no-unsafe-declaration-merging": "warn",
89+
"typescript/no-unsafe-unary-minus": "warn",
90+
"typescript/no-useless-empty-export": "warn",
91+
"typescript/no-wrapper-object-types": "warn",
92+
"typescript/prefer-as-const": "warn",
93+
"typescript/require-array-sort-compare": "warn",
94+
"typescript/restrict-template-expressions": "warn",
95+
"typescript/triple-slash-reference": "warn",
96+
"typescript/unbound-method": "warn",
97+
"unicorn/no-await-in-promise-methods": "warn",
98+
"unicorn/no-empty-file": "warn",
99+
"unicorn/no-invalid-fetch-options": "warn",
100+
"unicorn/no-invalid-remove-event-listener": "warn",
101+
"unicorn/no-new-array": "warn",
102+
"unicorn/no-single-promise-in-promise-methods": "warn",
103+
"unicorn/no-thenable": "warn",
104+
"unicorn/no-unnecessary-await": "warn",
105+
"unicorn/no-useless-fallback-in-spread": "warn",
106+
"unicorn/no-useless-length-check": "warn",
107+
"unicorn/no-useless-spread": "warn",
108+
"unicorn/prefer-set-size": "warn",
109+
"unicorn/prefer-string-starts-ends-with": "warn"
110+
},
111+
"settings": {
112+
"jsx-a11y": {
113+
"polymorphicPropName": null,
114+
"components": {},
115+
"attributes": {}
116+
},
117+
"next": {
118+
"rootDir": []
119+
},
120+
"react": {
121+
"formComponents": [],
122+
"linkComponents": [],
123+
"version": null
124+
},
125+
"jsdoc": {
126+
"ignorePrivate": false,
127+
"ignoreInternal": false,
128+
"ignoreReplacesDocs": true,
129+
"overrideReplacesDocs": true,
130+
"augmentsExtendsReplacesDocs": false,
131+
"implementsReplacesDocs": false,
132+
"exemptDestructuredRootsFromChecks": false,
133+
"tagNamePreference": {}
134+
},
135+
"vitest": {
136+
"typecheck": false
137+
}
138+
},
139+
"env": {
140+
"builtin": true
141+
},
142+
"globals": {},
143+
"ignorePatterns": ["translators/zotero/**"]
144+
}

.prettierrc

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)