Commit graph

121 commits

Author SHA1 Message Date
Val Packett
2c8faed00d Plugin: batch all addTiddler calls synchronously on initialRead
This fixes opening performance.
2023-07-25 20:52:09 -03:00
Val Packett
728ec0c70e Server: rename tiddler storage fields to align with current usage 2023-07-25 20:42:59 -03:00
Val Packett
6f29875e8c Plugin: refactor bootstrap modal, fixes #8 2023-07-25 19:36:54 -03:00
Val Packett
9f8b169c4c Plugin: console.error the errors returned to TW callbacks 2023-07-25 18:29:12 -03:00
Val Packett
29e0cc3217 Plugin: actually wait for change event handlers 2023-07-25 06:36:06 -03:00
Val Packett
56db4b1e58 Plugin: eager-load in-place, eager-load $:-tagged tiddlers 2023-07-25 05:47:47 -03:00
Val Packett
336413d6fd Plugin: store skinny tiddler + optional separate body, instead of separate title
This actually makes lazy loading work without losing e.g. tags, and simplifies things
2023-07-25 05:09:43 -03:00
Val Packett
710efe1221 Plugin: lazy-load tiddlers 2023-07-25 02:08:18 -03:00
Val Packett
d783dd22f1 Plugin: use async generator for reading the DB 2023-07-25 02:02:49 -03:00
Val Packett
77f2826ce9 Plugin: fix syncing external "binary" tiddlers
Found while importing the tiddlywiki.com wiki
2023-07-24 05:08:15 -03:00
Val Packett
683cc6478c Manifest: use primary as the theme color 2023-07-24 04:34:32 -03:00
Val Packett
af160732da Plugin: don't alert when there's no persistence api 2023-07-24 04:34:15 -03:00
Val Packett
a965499db0 Plugin: ServiceWorker: do requests with no-cache
Seems kinda necessary, as trying to "reopen close tab" in desktop Firefox
would result in not the update not going through until an extra refresh,
and debugging the SW would reveal the old etag being received in the
"refetched" response.
2023-07-24 03:50:52 -03:00
Val Packett
8da99d2d31 Plugin: actually fix type bugs, also fix catch
Somehow I managed to avoid testing actually getting anything new from
the server in a sync all this time..??

Fixes: 6ac60dd2
Fixes: 7126df66
2023-07-24 02:53:26 -03:00
Val Packett
6c1cab0ad7 Plugin: use console.error more consistently 2023-07-24 01:45:10 -03:00
Val Packett
7126df66f8 Plugin: avoid bootstrap modal on docs 2023-07-24 00:54:02 -03:00
Val Packett
f24fe28224 Plugin: accomodate Chromium's weird automatic persistence management in the help texts 2023-07-24 00:42:04 -03:00
Val Packett
97a7b8ca63 Plugin: fix dark input in forms 2023-07-23 21:29:11 -03:00
Val Packett
103cf171a7 Plugins: add icons 2023-07-23 05:04:58 -03:00
Val Packett
c88e42ae15 Plugin: update argon2ian to 2.0.1 (adding ready promise)
Also cut unused verify method here
2023-07-10 19:44:15 -03:00
Val Packett
7cdb54c9c8 Plugin: direct plugins into the app wiki better
Something beginning with $:/themes/ can actually be a setting..
2023-07-10 01:20:15 -03:00
Val Packett
a38c511e22 Plugin: show a persistent, over-the-login-modal notification for update 2023-07-09 18:34:21 -03:00
Val Packett
0164ade50b Plugin: make manual upload app form nice 2023-07-09 16:39:34 -03:00
Val Packett
f8026ef63e Plugin: focus password/token input automatically 2023-07-09 16:24:26 -03:00
Val Packett
e13e113b5f Plugin: table styling, use table for server form 2023-07-09 15:36:05 -03:00
Val Packett
2850f893ab Plugin: another round of UI friendlification 2023-07-09 04:08:43 -03:00
Val Packett
6ac60dd282 Plugin: crypto change: less Argon2 iterations, more GCM keys
- make argon2 less annoying on low-end devices / on battery power saving mode etc.
  - the real way to get more security is "use an actually strong passphrase" anyway
- do something about key wear-out just because why not
  - realistically 4 billion encryptions is a lot anyway for us buuut why not
  - the real solution is "move your stuff to a new wiki with a new password every N years" anyway
  - (should be mentioned in the docs)
2023-07-08 18:49:41 -03:00
Val Packett
e7033ca2c2 Plugin: add ReadableStream async iterable polyfill
lol, entries long enough to get compressed would only work in Firefox
2023-07-06 16:03:57 -03:00
Val Packett
60f38064b0 Plugin: do not show params in the realtime url in settings 2023-07-01 19:22:56 -03:00
Val Packett
e242ae5a00 Plugin: prevent sync attempts on login screen 2023-07-01 19:18:44 -03:00
Val Packett
177c4b4009 Plugin: support $:/DefaultTiddlers properly
Use a semaphore/interlock thingy to redo the initial-tiddlers-opening
when we load *both* $:/StoryList and $:/DefaultTiddlers from the database
if both exist, because the latter can depend on the former or not.
2023-07-01 19:12:51 -03:00
Val Packett
78926b9db3 Plugin: patch $tw.version to make in-place core upgrades reflect new version 2023-07-01 14:33:42 -03:00
Val Packett
36b192ca7a Plugin: readme and metadata stuff 2023-07-01 14:33:40 -03:00
Val Packett
43e38d3232 Plugin: fix one more place up for supporting relative endpoint URLs 2023-07-01 14:33:09 -03:00
Val Packett
4d0d84faa3 Plugin: do not try to sync when we get a broadcast from a logged-in tab in a logged-out one 2023-07-01 14:33:09 -03:00
Val Packett
6b9254d23c Plugin: add less silly realtime status for when there are no servers 2023-07-01 14:33:09 -03:00
Val Packett
aa1191b1f2 Plugin: trigger background sync from more places 2023-07-01 14:33:09 -03:00
Val Packett
3343f983ee Plugin: Add warning about password remembering, remove annoying notif-opened 2023-07-01 14:33:09 -03:00
Val Packett
ea66f1f19a Update argon2ian to 2.0.0 2023-07-01 14:33:09 -03:00
Val Packett
dd3bf5ffeb Plugin: debounce reflecting wiki metadata on other-tab changes
And reflect sync stuff as well there
2023-07-01 14:33:09 -03:00
Val Packett
2dcc44c767 Plugin: fix realtime with relative endpoint URL, add status text for waiting on lock 2023-07-01 14:33:09 -03:00
Val Packett
644e84ae0b Plugin: add detection for required features / secure context
And don't complain about anything when in docs mode
2023-07-01 14:33:09 -03:00
Val Packett
5760f59029 Plugin: minor js tweaks 2023-07-01 14:33:09 -03:00
Val Packett
438dce6bf9 Import typedefs for LSP, add lint skip 2023-07-01 14:33:09 -03:00
Val Packett
c63ac0c647 Inline offline plugin into main plugin 2023-07-01 14:33:09 -03:00
Val Packett
c5adcb01e0 Manifest: make readme TiddlyPWA-independent 2023-07-01 14:33:09 -03:00
Val Packett
9ad746fa19 Plugin: add tiddler encoding with gzip and unbase64
This makes tiddler storage more efficient
2023-07-01 14:33:09 -03:00
Val Packett
ca33a3be7a Plugin: increase argon2 memory usage a bit
Should still be tolerable on smartphones while increasing security.
Still, the real way to get more security is just "use a better passphrase lol"
2023-07-01 14:33:09 -03:00
Val Packett
6fba1691c9 Plugin: make save dialog friendly and tabbed 2023-07-01 14:33:08 -03:00
Val Packett
b7abd70d90 Plugin: use tabs for config 2023-07-01 14:33:08 -03:00