Commit Graph

267 Commits

Author SHA1 Message Date
Robert C. Martin
0868aefa4d Fix timing error in tests. 2023-04-28 18:44:13 -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
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
208c8b529d Fix broken tests... (blush). 2023-04-19 15:30:49 -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
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
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
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
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
272115a4a5 Flush log messages. Fix bug that prevented some events from loading on id-click after being pruned. 2023-03-28 11:18:57 -05:00
Robert C. Martin
a3dc645c95 Bypassed time format so that other platforms would pass the CI. 2023-03-28 08:55:38 -05:00
Robert C. Martin
28aca6e559 Added logger.default and changed most prn and println statements to use the logger. 2023-03-28 08:49:40 -05:00
Robert C. Martin
1028628684 Protect against an exception if a node is orphaned by pruning. 2023-03-27 15:21:28 -05:00
Robert C. Martin
733ab3b8ba Prune the tab trees to config/max-nodes-per-tab every config/prune-tabs-frequency-in-minutes. This seems to work OK, but there are some pruned events that are in the database that still wont show up when clicked. Don't know why. 2023-03-27 10:31:47 -05:00
Robert C. Martin
72c56299ac improve the HTML creation in article-area 2023-03-24 11:15:52 -05:00
Robert C. Martin
94c57bebb8 Write the relays file every time the relays are changed in the relay manager. 2023-03-23 11:19:36 -05:00
Robert C. Martin
a9e5378dec Fix the #p issue so only trusted contacts and the user's pubkey are in the list; and are not abbreviated. 2023-03-21 15:57:00 -05:00
Robert C. Martin
b60e01dd35 relay urls that end with / are valid and the / is removed. 2023-03-21 13:15:40 -05:00
Robert C. Martin
e9849697de move open-link to article-panel. 2023-03-09 12:16:27 -06:00
Robert C. Martin
1f54de27e6 Add #p trustees to the REQ, this will query for mentions of the trustees. 2023-03-05 07:13:54 -06:00
Robert C. Martin
146cd40454 Handle duplicates from the same relay without invoking the database. 2023-03-03 09:41:37 -06:00
Robert C. Martin
9aae637726 You can now reference events whithin an event. Eliminated the whole "abbreviation" nonsense. 2023-03-03 08:34:12 -06:00
Robert C. Martin
ad8985aeac Allow @npubs when composing articles.
Fix the check-open issue.  Move the whole shebang to protocol and do it right.
2023-03-02 16:42:41 -06:00
Robert C. Martin
8afe35b2b6 Fixed unit tests. (Bob!) 2023-03-02 09:51:06 -06:00
Robert C. Martin
3bd6f2489d Update last NOTICE on relay manager. And fix horrible subscription ids. 2023-03-01 15:21:39 -06:00
Robert C. Martin
db74938add Bob Broke the Build Again. Fix tests. 2023-02-24 15:37:34 -06:00
Robert C. Martin
c6115758bd Be stricter with the relays to add.
Clear retries when restarting a relay from the relay manager.
Properly delete tabs from the :tabs-list
2023-02-24 10:35:09 -06:00
Robert C. Martin
9132b11a2c Restart a relay that closes without reporting. 2023-02-23 12:23:01 -06:00
Robert C. Martin
6a629f6837 Add my contact list to migration 9 so that new users will at least see something. Relays are all :read-web-of-trust to prevent initial flooding. 2023-02-22 15:13:58 -06:00
Robert C. Martin
2286aab967 Search is working. More could be added I suppose. Added treating petnames and usernames as ids. 2023-02-21 14:24:07 -06:00
Robert C. Martin
280ed9b187 Search is working. More could be added I suppose. Added treating petnames as ids. 2023-02-21 14:16:13 -06:00
Robert C. Martin
aee5ca8af3 Search is working. More could be added I suppose. 2023-02-21 14:03:03 -06:00
Robert C. Martin
52e3e6630e Fixed a lot of swing/db related issues. Ick! 2023-02-20 10:47:49 -06:00
Robert C. Martin
e3e87653db Tabs are working -- again. And a lot better too. 2023-02-19 09:46:26 -06:00
Robert C. Martin
dabe85a768 Relaunch is no more. Tabs are much better. 2023-02-17 16:44:04 -06:00
Robert C. Martin
dc8b5d09ba Add author to tab is working. 2023-02-17 14:15:25 -06:00