Commit Graph

131 Commits

Author SHA1 Message Date
Nicola Benaglia
6206b18247 Cargo fmt 2023-08-19 11:56:52 +02:00
Mike Dilger
fe891fe2af Filter basics 2023-08-19 12:13:37 +12:00
Mike Dilger
2bb6182c07 Stop using GLOBALS.settings, use storage directly instead 2023-08-19 10:54:33 +12:00
Mike Dilger
7afb09853e Track open subscriptions and show in stats bar 2023-08-06 11:37:16 +12:00
Mike Dilger
00148740ad Add number of events processed to stats bar 2023-08-06 07:52:24 +12:00
Mike Dilger
b04d64b0eb Increase size of to_minions channel (in case of slow situations/machines) 2023-08-02 17:27:17 +12:00
Mike Dilger
7b2045113b Strip out the database connection 2023-07-31 17:37:53 +12:00
Mike Dilger
a0f6c19125 Move relay.rs from /db to / 2023-07-31 17:37:53 +12:00
Mike Dilger
4b8316de4d Rename DbRelay -> Relay 2023-07-31 17:37:53 +12:00
Mike Dilger
6b43ae7558 Major rework away from PublicKeyHex towards using PublicKey instead. NOTES:
We plan to switch to a different secp256k1 library soon, at which point this PublicKey will
become interoperable again, e.g. in gossip-relay-picker
2023-07-31 17:37:53 +12:00
Mike Dilger
344ef0d041 Renames: DbPerson->Person, DbPersonRelay->PersonRelay 2023-07-31 17:37:53 +12:00
Mike Dilger
edc2ef490f lmdb: Switch to lmdb relationships map [plus code adjustments to make migration work] 2023-07-31 17:37:53 +12:00
Mike Dilger
0d3483bf29 lmdb: Finish switching to lmdb for events 2023-07-31 17:37:53 +12:00
Mike Dilger
3ef5f7a49e lmdb: Partial switching to lmdb for events 2023-07-31 17:37:53 +12:00
Mike Dilger
33d0315e87 lmdb: relay: Switch to LMDB [Large with additional changes] 2023-07-31 17:37:53 +12:00
Mike Dilger
72b60f8a19 lmdb: event_flags: Switch to LMDB 2023-07-31 17:37:53 +12:00
Mike Dilger
2a30c38b85 lmdb: storage module 2023-07-31 17:37:53 +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
27bd4b7ec7 Status message queue 2023-06-25 11:18:53 +12:00
Mike Dilger
9e7a071401 Lightning Zaps 2023-06-25 09:35:15 +12:00
Mike Dilger
50e9fd9cf7 Show zap total in each note 2023-06-17 13:18:10 +12:00
Mike Dilger
921a3884d2 Cache invalidate UI notes when they need rerendering 2023-06-16 11:42:39 +12:00
Mike Dilger
ac17e88b3e Search reworked 2023-06-05 16:11:58 +12:00
Bu5hm4nn
5123a79cb3 cargo fmt 2023-05-13 12:25:08 -06:00
Mike Dilger
7ca08a7821 Rework how minion-job persistence works in the overlord 2023-05-13 08:01:48 +12:00
Mike Dilger
c13b87c91d Record and show the reasons we are connected to each relay 2023-05-10 13:54:40 +12:00
Mike Dilger
ccc64e4bc3 Subscribe to discovery relays; Actually sub on our read relays again; Fix nprofile from outbox (not write) 2023-05-10 11:49:30 +12:00
Mike Dilger
06db66bb7f Rework relay usage bits 2023-05-10 11:49:30 +12:00
Mike Dilger
6d169cf2f8 ContactList synchronization improvements 2023-04-15 09:05:47 +12:00
bu5hm4nn
9a94e494a9 Load images but ignore videos for now
- images are max as wide as the content width and max as high as 1/4 of viewport height (we could let the user choose this later)
- in this commit there is one global setting to enable/disable media loading
- frame with small rounded edges gives illusion of image rounding but they are actually not
2023-04-06 13:30:57 +12:00
Mike Dilger
41dbb959cf Database Connection no longer inside an Option 2023-03-30 12:33:03 +13:00
Mike Dilger
d0d6b39ff9 Fix of commits ago (more fixes coming) 2023-03-16 16:51:39 +13:00
Mike Dilger
6894524df2 Relationship::Root treated like Relationship::Reply 2023-03-16 15:31:59 +13:00
Mike Dilger
d27ab3a75d Revert "Use r2d2 for SQL connection pooling"
This reverts commit 89ea16dfe8.
2023-03-15 20:22:53 +13:00
ok300
89ea16dfe8 Use r2d2 for SQL connection pooling 2023-03-10 11:49:55 +13:00
Mike Dilger
0a83f8bcdc Revert "Feed Compute in foreground, some other optimizations"
This reverts commit dea9811f0f.
2023-03-08 07:37:16 +13:00
Mike Dilger
dea9811f0f Feed Compute in foreground, some other optimizations 2023-03-07 21:09:45 +13:00
Mike Dilger
fd829f3fd2 Use a global viewed events map that we can later save 2023-03-07 20:08:01 +13:00
Mike Dilger
0900174783 Fix avatar loading failure 2023-03-05 20:26:53 +13:00
Adam B
b3bba250a8
Persist delegatee tag, through settings 2023-03-01 11:10:40 +01:00
ok300
edbfca6c93 Reactions: Show filled icon if user already reacted 2023-02-26 20:07:22 +01:00
Mike Dilger
6afc3ae6b1 cargo fmt 2023-02-26 13:23:28 +13:00
Mike Dilger
32830064d5 GLOBALS.settings to use a different kind of lock 2023-02-25 15:36:37 +13:00
Mike Dilger
e29ef5d534 Move to external library: gossip-relay-picker 2023-02-25 15:36:37 +13:00
Mike Dilger
3ce38ed9ba Track how many bytes are read and display on stats page 2023-02-15 10:34:11 +13:00
Mike Dilger
28226262bb Do not count multiple reactions from the same person more than once. Just one per person. 2023-02-11 11:58:12 +13:00
Mike Dilger
b6ff669fd6 On first run, start on Getting Started page 2023-02-09 13:24:18 +13:00
Mike Dilger
bcad46849a cleanup 2023-02-08 18:50:34 +13:00
Mike Dilger
67dd46202c another rename 2023-02-08 18:35:23 +13:00