Mike Dilger
|
54b1d9e19e
|
lmdb: Setup for importing into LMDB
|
2023-07-31 17:37:53 +12:00 |
|
Mike Dilger
|
972c4d4506
|
lmdb: Setup LMDB when creating Storage
|
2023-07-31 17:37:53 +12:00 |
|
Mike Dilger
|
a917b5cde5
|
lmdb: Add lmdb dir to profile
|
2023-07-31 17:37:53 +12:00 |
|
Mike Dilger
|
2a30c38b85
|
lmdb: storage module
|
2023-07-31 17:37:53 +12:00 |
|
Mike Dilger
|
db8d123349
|
Handle several stdlib errors we will soon encounter
|
2023-07-31 17:37:53 +12:00 |
|
Mike Dilger
|
f1953063ea
|
Handle errors from lmdb and speedy
|
2023-07-31 17:37:53 +12:00 |
|
Mike Dilger
|
955d25d61a
|
Derive speedy serialization traits where we can (and serde where we missed) for stored data
|
2023-07-31 17:37:53 +12:00 |
|
Mike Dilger
|
675d19b5f3
|
Depend on speedy
|
2023-07-31 17:37:53 +12:00 |
|
Mike Dilger
|
e1cdd2c602
|
depend on lmdb-rkv
|
2023-07-31 17:37:53 +12:00 |
|
Mike Dilger
|
768022a1c2
|
Allow data_dir/gossip to be a symlink
|
2023-07-31 10:57:05 +12:00 |
|
Mike Dilger
|
9740c0bcbf
|
Fetcher loop honors shutdown flag; shorter timeouts to keep moving
|
2023-07-29 13:22:24 +12:00 |
|
Mike Dilger
|
8adbcf6623
|
fetcher: cleanup some, and use stale cached data if the fetch for refreshing fails, fetch in parallel
|
2023-07-28 13:29:14 +12:00 |
|
Mike Dilger
|
accc0ab6b8
|
Use async-friendly tokio::fs in async code
|
2023-07-28 07:28:04 +12:00 |
|
Mike Dilger
|
aafe115c92
|
fetcher: Maintain a per-host load count, don't allow more than 3 in-flight to any single host
|
2023-07-27 19:41:57 +12:00 |
|
Mike Dilger
|
c19e88507b
|
Fetcher reworked
|
2023-07-27 16:12:35 +12:00 |
|
Mike Dilger
|
11760790c1
|
depend on filetime
|
2023-07-27 16:12:35 +12:00 |
|
Mike Dilger
|
f532b75d40
|
Don't echo the "Done picking relays" results as info (do as debug)
|
2023-07-27 16:12:35 +12:00 |
|
Michael Dilger
|
0758eb7c1f
|
Merge pull request #435 from dtonon/fix/cut-nip11-output-on-parse
Keep only the first 10 output lines when unable to parse NIP-11
|
2023-07-27 13:52:00 +12:00 |
|
Mike Dilger
|
c880465665
|
Consider relay disconnection errors significant enough to penalty-box them
related to #433, improves that situation
|
2023-07-27 08:14:08 +12:00 |
|
Mike Dilger
|
0b0cd34d56
|
Merge branch 'master' into unstable
|
2023-07-27 08:01:40 +12:00 |
|
Mike Dilger
|
9f6b2538f6
|
Revert "Fetcher: refresh if too old; Store etag and only download if-none-match the etag"
This reverts commit e837b69492 .
|
2023-07-27 08:01:16 +12:00 |
|
Daniele Tonon
|
ee00bc8f3c
|
Keep only the first 10 output lines when unable to parse NIP-11
|
2023-07-26 13:17:49 +02:00 |
|
Mike Dilger
|
3cf8d9cc52
|
Remove two unused Relationship variants (created, never read back)
|
2023-07-23 19:14:29 +12:00 |
|
Mike Dilger
|
1fba6a126a
|
Remove the never-used DbContact
|
2023-07-23 19:12:48 +12:00 |
|
Mike Dilger
|
2e146bb4c8
|
update nostr-types
|
2023-07-23 19:12:42 +12:00 |
|
Mike Dilger
|
fe76712c09
|
Update nostr-types
|
2023-07-23 18:54:47 +12:00 |
|
Mike Dilger
|
1123de1a5f
|
Minor UI improvement
|
2023-07-23 18:54:28 +12:00 |
|
Mike Dilger
|
a03310196e
|
cargo fmt & clippy
|
2023-07-23 11:26:02 +12:00 |
|
Mike Dilger
|
5eae10c2fd
|
Zapping: can copy invoice; QR is in uppercase so simpler
|
2023-07-18 13:22:31 +12:00 |
|
Mike Dilger
|
6c3f0bdca5
|
Use 'speedy' feature of nostr-types
|
2023-07-18 11:31:48 +12:00 |
|
Mike Dilger
|
d8caf259fb
|
Update nostr-types (fix speedy impls)
|
2023-07-18 11:30:46 +12:00 |
|
Mike Dilger
|
f92e8eb570
|
cargo fmt
|
2023-07-18 09:38:23 +12:00 |
|
Mike Dilger
|
623c14e85f
|
update nostr-types
|
2023-07-17 11:34:46 +12:00 |
|
Mike Dilger
|
ab5f230533
|
Change default settings; clean up settings code
|
2023-07-17 09:32:44 +12:00 |
|
Mike Dilger
|
57f215b339
|
Allow emojis in hashtags
|
2023-07-17 08:46:33 +12:00 |
|
Mike Dilger
|
479f346bd0
|
Create 't' tags for hashtags found in content
|
2023-07-17 08:23:56 +12:00 |
|
Mike Dilger
|
e837b69492
|
Fetcher: refresh if too old; Store etag and only download if-none-match the etag
|
2023-07-16 10:39:13 +12:00 |
|
Mike Dilger
|
07aecb45d2
|
update nostr-types
|
2023-07-16 08:45:35 +12:00 |
|
Mike Dilger
|
79fb413a47
|
Remove a DEBUG message that was temporary for development
|
2023-07-16 08:26:29 +12:00 |
|
Mike Dilger
|
adc5e8c945
|
Sqlite tuning
|
2023-07-11 08:15:20 +12:00 |
|
Mike Dilger
|
a02b542acc
|
Detect and avoid oversized textures (egui_glow panics on them)
|
2023-07-10 09:17:46 +12:00 |
|
Mike Dilger
|
59f2a7eb25
|
change run.sh and devrun.sh scripts:
We don't need to compile for native target in run.sh, the speed difference is trivial
and it triggers a current bug.
|
2023-07-09 09:14:05 +12:00 |
|
Mike Dilger
|
abe1c01d0d
|
Offer data as nostr urls instead of bech32 strings
|
2023-07-09 08:56:34 +12:00 |
|
Mike Dilger
|
4491076e3d
|
Do not auto-urlize content prior to posting
|
2023-07-09 08:48:27 +12:00 |
|
Mike Dilger
|
b0cd1635c0
|
update nostr-types
|
2023-07-09 08:04:49 +12:00 |
|
Mike Dilger
|
0b15d8612b
|
cargo fmt
|
2023-07-06 14:21:13 +12:00 |
|
Mike Dilger
|
ea1bef6ab4
|
Show the relay penalty box (in future we can include the reason)
|
2023-07-06 14:20:26 +12:00 |
|
Mike Dilger
|
e64357c4dd
|
Invalidate UI cache for DMs when key is unlocked so they rerender
|
2023-07-03 18:45:09 +12:00 |
|
Mike Dilger
|
602d42f2b6
|
Less boring logging
|
2023-07-03 17:25:25 +12:00 |
|
Mike Dilger
|
074af00a45
|
update nostr-types
|
2023-07-02 15:52:10 +12:00 |
|