pikuri-thunderbird 0.1.0 → 0.2.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.
- checksums.yaml +4 -4
- data/README.md +19 -8
- data/design/architecture.md +827 -0
- data/lib/pikuri/thunderbird/calendar.rb +216 -70
- data/lib/pikuri/thunderbird/calendar_create.rb +16 -15
- data/lib/pikuri/thunderbird/calendar_read.rb +8 -3
- data/lib/pikuri/thunderbird/calendar_search.rb +16 -7
- data/lib/pikuri/thunderbird/compose_guard.rb +16 -11
- data/lib/pikuri/thunderbird/contact_search.rb +13 -3
- data/lib/pikuri/thunderbird/database_snapshot.rb +144 -78
- data/lib/pikuri/thunderbird/extension.rb +167 -55
- data/lib/pikuri/thunderbird/forwarded_mail.rb +191 -0
- data/lib/pikuri/thunderbird/gloda/attachment.rb +36 -0
- data/lib/pikuri/thunderbird/gloda/contacts.rb +53 -35
- data/lib/pikuri/thunderbird/gloda/mail.rb +75 -19
- data/lib/pikuri/thunderbird/gloda.rb +35 -15
- data/lib/pikuri/thunderbird/ical_line.rb +3 -3
- data/lib/pikuri/thunderbird/launcher.rb +10 -5
- data/lib/pikuri/thunderbird/mail_attachment_read.rb +282 -0
- data/lib/pikuri/thunderbird/mail_compose.rb +16 -16
- data/lib/pikuri/thunderbird/mail_read.rb +94 -15
- data/lib/pikuri/thunderbird/mail_search.rb +15 -6
- data/lib/pikuri/thunderbird/message_store.rb +203 -0
- data/lib/pikuri/thunderbird/profile.rb +64 -19
- data/lib/pikuri/thunderbird/recurrence.rb +207 -0
- data/lib/pikuri-thunderbird.rb +5 -5
- metadata +60 -13
- data/DESIGN.md +0 -460
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 72324232bd4bb876b0bd1b0c2298ada9e9e5600c93278a4b6afd55ee9308d56a
|
|
4
|
+
data.tar.gz: 30d9ba24dda029cea741b0ea5f33bd999f593b5744225b52089c9242e0ad39a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: edf9c58d4561219510c4c374f3de8119553ad05ce67bfd0959cefb3f16a9ba2ad09f2f95474558f22ff1c80d8a6d4685ab3c73c43d59a4aa9052dd8be2112ede
|
|
7
|
+
data.tar.gz: e5d1d64fefb024036f0098ac303152885427813a5edd7b6c1e817a60c94104479c310b5aab9137a6f02f266a5a6f5af3169768b52ca5b6cf2fb92c6d2d16b0d0
|
data/README.md
CHANGED
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Search and read your **local** Thunderbird mail and calendars from a pikuri
|
|
4
4
|
agent — reading Thunderbird's own on-disk profile, never touching the
|
|
5
|
-
network. Part of the [pikuri](https://
|
|
5
|
+
network. Part of the [pikuri](https://github.com/mvysny/pikuri) family.
|
|
6
6
|
|
|
7
|
-
The default surface is read-only and egress-free:
|
|
7
|
+
The default surface is read-only and egress-free: the inbound tools
|
|
8
8
|
(`thunderbird_mail_search` / `thunderbird_mail_read` /
|
|
9
|
-
`
|
|
9
|
+
`thunderbird_mail_attachment_read` / `thunderbird_contact_search` /
|
|
10
|
+
`thunderbird_calendar_search` / `thunderbird_calendar_read`). The attachment
|
|
11
|
+
reader opens a PDF or text attachment from the mail Thunderbird keeps on your
|
|
12
|
+
disk; it never downloads one. An agent wired
|
|
10
13
|
with only these has your private mailbox and untrusted message content but no
|
|
11
14
|
way to send anything out — the lethal trifecta is broken by construction.
|
|
12
15
|
|
|
@@ -15,14 +18,23 @@ pikuri never sends mail on its own. If you turn on the opt-in
|
|
|
15
18
|
Thunderbird compose window** — you read it, and *you* click Send. It draws the
|
|
16
19
|
draft in plain text (no hidden HTML, no tracking images), refuses a body laced
|
|
17
20
|
with invisible characters, drops look-alike recipient addresses for you to
|
|
18
|
-
retype, and
|
|
19
|
-
|
|
21
|
+
retype, and flags a domain you've never sent mail to. For now that flag
|
|
22
|
+
reaches you through the assistant's reply, so an assistant manipulated by a
|
|
23
|
+
message it read can leave it out. See
|
|
24
|
+
[`design/architecture.md`](design/architecture.md).
|
|
20
25
|
|
|
21
26
|
## Requirements
|
|
22
27
|
|
|
23
28
|
- Linux, with Thunderbird installed (snap or apt).
|
|
24
29
|
- For mail search: Thunderbird's global search index (Gloda) enabled — the
|
|
25
|
-
default.
|
|
30
|
+
default.
|
|
31
|
+
- For full messages and attachments: mail kept on this computer ("Keep
|
|
32
|
+
messages in all folders for this account on this computer" under the
|
|
33
|
+
account's Synchronization & Storage, the IMAP default). A message Thunderbird
|
|
34
|
+
holds only the headers of shows as headers, and the tool tells the model
|
|
35
|
+
which setting to change. A PDF needs a PDF reader
|
|
36
|
+
registered — the demo registers pikuri-pdf. An HTML attachment reads as raw
|
|
37
|
+
markup unless pikuri-html is loaded — the demo loads it. For calendar: events must be cached to disk (a local calendar, or
|
|
26
38
|
a network calendar with "Offline Support" turned on).
|
|
27
39
|
|
|
28
40
|
## Try it
|
|
@@ -62,5 +74,4 @@ will keep the tools unused).
|
|
|
62
74
|
pikuri copies a consistent snapshot of Thunderbird's SQLite databases (so it
|
|
63
75
|
never fights Thunderbird for the lock), builds its own fast full-text index
|
|
64
76
|
over the already-decoded mail, and serves ranked search + full reads with no
|
|
65
|
-
MIME parsing. Design and threat model: [`
|
|
66
|
-
design notes: `ideas/thunderbird.md` in the repo.
|
|
77
|
+
MIME parsing. Design and threat model: [`design/architecture.md`](design/architecture.md).
|