@zotlit/obsidian-plugin 0.0.0-stage → 2.3.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/NOTICE +110 -0
- package/README.md +14 -2
- package/main.d.ts +3 -0
- package/main.js +216095 -0
- package/package.json +28 -3
- package/resources/annotation.schema.json +2192 -0
- package/resources/citation.schema.json +465 -0
- package/resources/filename.schema.json +1889 -0
- package/resources/note.schema.json +3931 -0
- package/resources/query.schema.json +8185 -0
- package/resources/zh-CN.json +1 -0
- package/styles.css +2 -0
package/NOTICE
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
ZotLit
|
|
2
|
+
Copyright (C) 2022-present AidenLx
|
|
3
|
+
|
|
4
|
+
This program is free software: you can redistribute it and/or modify
|
|
5
|
+
it under the terms of the GNU Affero General Public License as published by
|
|
6
|
+
the Free Software Foundation, either version 3 of the License, or
|
|
7
|
+
(at your option) any later version.
|
|
8
|
+
|
|
9
|
+
This program is distributed in the hope that it will be useful,
|
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
12
|
+
GNU Affero General Public License for more details.
|
|
13
|
+
|
|
14
|
+
You should have received a copy of the GNU Affero General Public License
|
|
15
|
+
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
16
|
+
|
|
17
|
+
=========================================================================
|
|
18
|
+
|
|
19
|
+
This project contains code derived from the following AGPL-3.0-licensed
|
|
20
|
+
projects by the Corporation for Digital Scholarship:
|
|
21
|
+
|
|
22
|
+
Zotero — https://github.com/zotero/zotero
|
|
23
|
+
Zotero Utilities — https://github.com/zotero/utilities
|
|
24
|
+
Zotero Reader — https://github.com/zotero/reader
|
|
25
|
+
Zotero Note Editor — https://github.com/zotero/note-editor
|
|
26
|
+
Zotero Data Server — https://github.com/zotero/dataserver
|
|
27
|
+
|
|
28
|
+
Copyright (C) Corporation for Digital Scholarship
|
|
29
|
+
Licensed under the GNU Affero General Public License, version 3.
|
|
30
|
+
|
|
31
|
+
Derived files include (non-exhaustive):
|
|
32
|
+
|
|
33
|
+
packages/db/src/lib/zt-csl-item.ts — itemToCSLJSON algorithm
|
|
34
|
+
packages/db/src/lib/zt-csl-name.ts — parseParticles algorithm
|
|
35
|
+
packages/db/src/lib/zt-extra-to-csl.ts — extraToCSL algorithm
|
|
36
|
+
packages/db/src/lib/zt-lang.ts — languageToISO6391 algorithm
|
|
37
|
+
packages/db/src/lib/zt-annot-pos.ts — annotation position schemas
|
|
38
|
+
packages/db/src/lib/zt-color.ts — annotation color palettes
|
|
39
|
+
packages/db/src/lib/zt-uri.ts — Item URI and slugify rules
|
|
40
|
+
packages/db/src/lib/zt-note-mark.ts — note markup handling
|
|
41
|
+
packages/item-lookup/src/format-creator.ts — creator name formatting
|
|
42
|
+
packages/zotero-types/src/keys.ts — object key validation
|
|
43
|
+
packages/zotero-types/src/uri.ts — zotero:// link building
|
|
44
|
+
|
|
45
|
+
Each file contains @see comments linking to the specific upstream source.
|
|
46
|
+
|
|
47
|
+
=========================================================================
|
|
48
|
+
|
|
49
|
+
This project contains a verbatim copy of three modules from Zotero's fork of
|
|
50
|
+
PDF.js, pinned to zotero/pdf.js f57fc80d1c07e4cdc50a767ae0b500b5272123b4
|
|
51
|
+
(zotero/reader 132bb787937a540a09513415fd507654eb0e88f9, zotero/zotero
|
|
52
|
+
22f08d1ceddc8bad5718b3bc6eee9d3ae5dccc2c):
|
|
53
|
+
|
|
54
|
+
packages/pdf-structure/src/vendor/structure.js
|
|
55
|
+
packages/pdf-structure/src/vendor/page-label.js
|
|
56
|
+
packages/pdf-structure/src/vendor/util.js
|
|
57
|
+
|
|
58
|
+
src/core/module/ lives in zotero/pdf.js, an Apache-2.0 submodule of the
|
|
59
|
+
AGPL-3.0 zotero/reader, so those files are licensed under the Apache
|
|
60
|
+
License, Version 2.0. A copy of the License is available at
|
|
61
|
+
|
|
62
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
63
|
+
|
|
64
|
+
structure.js additionally carries Mozilla's bidi.js inline, under its own
|
|
65
|
+
Apache-2.0 notice:
|
|
66
|
+
|
|
67
|
+
Copyright 2012 Mozilla Foundation
|
|
68
|
+
|
|
69
|
+
Each file repeats this notice and its pinned commits in its header.
|
|
70
|
+
|
|
71
|
+
=========================================================================
|
|
72
|
+
|
|
73
|
+
This project contains two unmodified upstream copies. Each folder's
|
|
74
|
+
provenance.json records the upstream commit.
|
|
75
|
+
|
|
76
|
+
packages/zotero-types/zotero-schema/schema.json
|
|
77
|
+
from zotero/zotero-schema — https://github.com/zotero/zotero-schema
|
|
78
|
+
Copyright (C) Corporation for Digital Scholarship
|
|
79
|
+
|
|
80
|
+
packages/pdfjs-dist/types/
|
|
81
|
+
type definitions generated from Zotero's fork of PDF.js, from
|
|
82
|
+
zotero-plugin-dev/zotero-pdfjs-types —
|
|
83
|
+
https://github.com/zotero-plugin-dev/zotero-pdfjs-types
|
|
84
|
+
PDF.js is licensed under the Apache License, Version 2.0.
|
|
85
|
+
|
|
86
|
+
=========================================================================
|
|
87
|
+
|
|
88
|
+
This project also contains code derived from Mozilla web-ext:
|
|
89
|
+
|
|
90
|
+
apps/zotero/scripts/dev-server/remote-firefox.ts
|
|
91
|
+
apps/zotero/scripts/dev-server/rdp-client.ts
|
|
92
|
+
|
|
93
|
+
Licensed under the Mozilla Public License 2.0 (MPL-2.0).
|
|
94
|
+
See SPDX headers in those files for details.
|
|
95
|
+
|
|
96
|
+
=========================================================================
|
|
97
|
+
|
|
98
|
+
The Fixture contains third-party copies and adaptations of Sakima's song,
|
|
99
|
+
written by Ursula Nafula and illustrated by Peris Wachuka. These assets are
|
|
100
|
+
licensed under CC BY 4.0 and are outside ZotLit's AGPL-3.0-or-later license
|
|
101
|
+
grant. Full provenance, checksums, and modification records are in:
|
|
102
|
+
|
|
103
|
+
packages/scripts/lib/fixture/assets/sakimas-song/NOTICE.md
|
|
104
|
+
|
|
105
|
+
The Fixture also contains a copy of Why Most Published Research Findings Are
|
|
106
|
+
False, written by John P. A. Ioannidis and published by PLOS. This asset is
|
|
107
|
+
licensed under the Creative Commons Attribution License and is outside ZotLit's
|
|
108
|
+
AGPL-3.0-or-later license grant. Full provenance and its checksum are in:
|
|
109
|
+
|
|
110
|
+
packages/scripts/lib/fixture/assets/ioannidis-2005/NOTICE.md
|
package/README.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @zotlit/obsidian-plugin
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The bundle of the ZotLit Obsidian plugin, version 2.3.0-beta.0, for its publish
|
|
4
|
+
repository, [aidenlx/zotlit](https://github.com/aidenlx/zotlit).
|
|
5
|
+
|
|
6
|
+
- `main.js`: the plugin as one ES module. It holds ZotLit's code and its
|
|
7
|
+
third-party code. It imports only the modules Obsidian provides at runtime.
|
|
8
|
+
- `styles.css`: the plugin's stylesheet.
|
|
9
|
+
- `resources/`: the files the plugin downloads at runtime from the Resource
|
|
10
|
+
Release `res-2.3.0-beta.0` of the publish repository.
|
|
11
|
+
|
|
12
|
+
Obsidian does not load this package. The publish repository builds the
|
|
13
|
+
plugin's `main.js` and `styles.css` from it with `scripts/build.mjs`. The
|
|
14
|
+
source code is in [aidenlx/zotlit-repo](https://github.com/aidenlx/zotlit-repo),
|
|
15
|
+
under `apps/obsidian`.
|
package/main.d.ts
ADDED