Commit Graph

573 Commits

Author SHA1 Message Date
Robert C. Martin
932d0ddcf9 Relay info NIP-11. Minimal implementation. 2023-05-02 10:05:08 -05:00
Robert C. Martin
91229b18c9 Fix the log level getting set back to 1. 2023-04-30 10:48:46 -05:00
Robert C. Martin
46f5f9fdc3 Tabs menu seems to work. 2023-04-30 10:40:25 -05:00
Robert C. Martin
ffc2ce835b dev and test log level = 2. Regular is 1. 2023-04-29 11:09:57 -05:00
Robert C. Martin
d595f3180e Click on name in user window will request contact info. 2023-04-29 10:50:29 -05:00
Robert C. Martin
0868aefa4d Fix timing error in tests. 2023-04-28 18:44:13 -05:00
Robert C. Martin
efe247968f A couple of little oopsies. But it all seems to work now. 2023-04-28 14:09:09 -05:00
Robert C. Martin
e2c8ee502c Batching works now -- as best as I can tell. 2023-04-28 13:33:37 -05:00
Robert C. Martin
83ff992bf2 Batching is beginning to work. There could be issues still. Does not wait for backlog to drain. 2023-04-28 10:37:08 -05:00
Robert C. Martin
e9e3a09fa2 GRUMBLE. I got all the mention stuff working. NIP-08 and NIP-27 (sorta). So @<username> creates p tags. nostr:<bech32> does not. @<username> renders as @<username>. nostr:<bech32> renders either as nostr:<username> or nostr<bech32> depending on if the profile exists. 2023-04-24 10:31:28 -05:00
Robert C. Martin
75d83d4cc0 Replace nostr:<bech32> with @<bech32> or @<username> in the article tree headers. 2023-04-23 09:43:02 -05:00
Robert C. Martin
f71f79b7b9 handle incoming nostr: tokens and turn them into appropriate links or @references. Ugh. 2023-04-22 22:27:08 -05:00
Robert C. Martin
a3c00964a9 Set up the closing of subscriptions upon EOSE. This is in preparation for batching subscriptions and throttling based on backlog. 2023-04-21 11:37:00 -05:00
Robert C. Martin
ab6a3936ea Query relays for event when clicking on Citing or Root in article panel. 2023-04-21 09:09:53 -05:00
Robert C. Martin
11308a8b6a Fix zap warning messages to show sats instead of millisats 2023-04-20 17:20:08 -05:00
Robert C. Martin
b3d4183dd7 Get nostr: and @ working... Sorta. 2023-04-20 17:00:17 -05:00
Robert C. Martin
4db675ca4c User window reload button, and query for profiles. 2023-04-20 11:02:18 -05:00
Robert C. Martin
3cc57090c8 Repaint main window every second so that when new profile events come in, the names are re-rendered.
Set up the user window for the same thing.
2023-04-20 09:59:04 -05:00
Robert C. Martin
208c8b529d Fix broken tests... (blush). 2023-04-19 15:30:49 -05:00
Robert C. Martin
04194cd068 Restrict subscriptions to get the kinds we actually want. 2023-04-19 13:42:56 -05:00
Robert C. Martin
b4c2469619 Show zaps in article tree and article panel. 2023-04-19 13:32:42 -05:00
Robert C. Martin
1c5622565e Zap receipt recorded in event. 2023-04-18 08:56:44 -05:00
Robert C. Martin
4fffab9efd Request metadata and contacts from authors when you click on their articles. 2023-04-17 16:17:56 -05:00
Robert C. Martin
8e949d0d0b I can zap. Yee Haa! Next I need to mark events as having been zapped, and keep track of the zaps on an event. 2023-04-17 15:05:49 -05:00
Robert C. Martin
f538ab26c0 Added string encoders to bech32 and can receive zap reciepts. 2023-04-17 14:12:29 -05:00
Robert C. Martin
00857e8398 Zap can now get invoice from the callback provided by the wallet. A valid pr is returned. 2023-04-16 12:06:53 -05:00
Robert C. Martin
69da293068 Check the zap request against the constraints set by the wallet. 2023-04-16 11:16:33 -05:00
Robert C. Martin
f6ccc0d9c1 Zap feature creates the Zap Request. Tenative, no error checking yet. But the event format looks right. 2023-04-16 09:35:48 -05:00
Robert C. Martin
671598c3dc Begin the ZAP feature. So far we can get the zap address and query the wallet for the recipient's fields. 2023-04-15 12:24:17 -05:00
Robert C. Martin
bdcf9eda99 Add the hours: command line argument to request old events. 2023-04-14 16:12:17 -05:00
Robert C. Martin
9f7df5b87c Compressed DB is now moved to prod-db, and old prod-db is moved to prod-db-old. 2023-04-13 14:44:51 -05:00
Robert C. Martin
b3466c1147 Compress DB (not finished. Leaves old database in place. temp-db is compressed but not activated..) 2023-04-13 13:50:07 -05:00
Robert C. Martin
90663dca44 Fix some odds and ends with relays and the user window. Works much better now. 2023-04-07 12:26:11 -05:00
Robert C. Martin
9174855366 Add left-click menu to the users-window selection boxes. "Get Info..." and "Add author to tab..." 2023-04-06 16:26:24 -05:00
Robert C. Martin
2360c362d1 Add a sync-db where appropriate. 2023-04-06 15:39:11 -05:00
Robert C. Martin
c9cf1dd360 User window seems to function properly. Can trust and untrust users. 2023-04-06 12:35:31 -05:00
Robert C. Martin
c511a1566d User window seems to function properly. Can trust and untrust users. 2023-04-06 12:22:08 -05:00
Robert C. Martin
a8c6ad120b Can trust a user from the selection box. All lists seem to be updated properly. 2023-04-05 16:38:37 -05:00
Robert C. Martin
3f180ca2b0 Get ready for trusting selected users. 2023-04-04 17:19:45 -05:00
Robert C. Martin
710658445e Lisbox items are now vectors [name id] Only the name is rendered. 2023-04-04 09:35:55 -05:00
Robert C. Martin
6b70557433 Radio buttons work well. 2023-04-02 19:08:33 -05:00
Robert C. Martin
a7adcf0370 add queries for users-window 2023-04-02 14:32:40 -05:00
Robert C. Martin
a1d382a0c2 Add fields to profiles, Get Info, and process-name-event. 2023-04-02 04:43:15 -05:00
Robert C. Martin
dc3cc2e670 Pull the web of trust into the selected list of the Users window. 2023-04-01 14:23:16 -05:00
Robert C. Martin
16e418687d User Window preliminary layout. 2023-04-01 11:53:38 -05:00
Robert C. Martin
a7f4161dd9 Change version to "2023-03-31T11:15" 2023-03-31 11:16:15 -05:00
Robert C. Martin
59426ddb0a Save the changes from the profile-window, and send the metadata event. Rate limit the recommended-relay event (kind 2) 2023-03-31 11:15:11 -05:00
Robert C. Martin
39861534dc Profile entry and validation works. All that's left is to change the fields, save the file, and send the kind-0. 2023-03-31 09:22:43 -05:00
Robert C. Martin
1e410aa92d Validating private key and name. Got the pattern down. 2023-03-30 17:15:02 -05:00
Robert C. Martin
8cc9518703 Prepare for setting the profile variables from the profile window. 2023-03-30 11:10:28 -05:00