Commit Graph

298 Commits

Author SHA1 Message Date
Robert C. Martin
8bc8a11eac clean up the test a bit. 2023-06-15 07:08:02 -05:00
Robert C. Martin
0e45afcc64 clean up the macro a bit. Can't figure out a better solution for the 'list' 2023-06-15 05:16:29 -05:00
Robert C. Martin
cad1e16cb9 Refactor tests. Use redefs-around and with to shorted each spec. 2023-06-14 15:20:33 -05:00
Robert C. Martin
80c70d1e8a Add the setup-db-mem macro for the specs, and refactor a spec or two. 2023-06-14 14:39:28 -05:00
Robert C. Martin
931df90952 Translate @npub1xxxx into @name in formatters.clj 2023-06-13 06:47:23 -05:00
Robert C. Martin
1710c483be Replies. Shrink the header, and move CCs to the end. Get rid of the --- separator. (thanks @jsm) 2023-06-11 11:47:30 -05:00
Robert C. Martin
16f00f7ff1 space after > in replies. 2023-06-11 11:31:44 -05:00
Robert C. Martin
765c8b1c8b General code cleanup. No new features. 2023-06-08 12:57:12 -05:00
Robert C. Martin
0ae3be7c6b Remove [almost] all the tree code that used to described threads. No more folder. No more trees. 2023-06-02 09:39:17 -05:00
Robert C. Martin
7eacf541cd Refactor show-user-info and break cycle. I'm not completely happy with this approach. 2023-06-01 09:50:38 -05:00
Robert C. Martin
2a335bf667 Regex filters are working. 2023-05-30 11:03:24 -05:00
Robert C. Martin
a0642a3fa5 Got Replies> menu working. No more folders in the tree list. 2023-05-26 13:18:12 -05:00
Robert C. Martin
d45fc203d2 fix issue in test. 2023-05-23 09:22:34 -05:00
Robert C. Martin
139ca2459c WC Tests all pass again after fiddling around with the live system. 2023-05-23 08:53:53 -05:00
Robert C. Martin
e2db3b52b9 WC Request works. WC Response is not being recieved. 2023-05-22 08:58:04 -05:00
Robert C. Martin
1652c448cc WC Zap Request properly encrypted. (as far as I can tell) 2023-05-21 15:07:44 -05:00
Robert C. Martin
9451da1ae6 Making progress with the wallet connect. Building the request event. 2023-05-20 13:15:21 -05:00
Robert C. Martin
95435ae64a First interaction (get info) with WC relay is working. 2023-05-20 09:21:02 -05:00
Robert C. Martin
655bf5eee0 lud06 zapping works. 2023-05-19 08:39:27 -05:00
Robert C. Martin
5627804bdf Add CCs to replies. 2023-05-18 15:37:30 -05:00
Robert C. Martin
988e48e264 Odds and ends. 2023-05-18 09:27:35 -05:00
Robert C. Martin
9a49498f8e Migration 11 is ready. It password protects the private key. Data storage functions encode and decode the private key and password. 2023-05-12 12:47:13 -05:00
Robert C. Martin
eed87443dc Add tests for profile window. (blush). 2023-05-12 09:36:33 -05:00
Robert C. Martin
b719494ce6 xor-string and test-check 2023-05-11 16:30:32 -05:00
Robert C. Martin
5b0716c583 NIP-19 for nostr:nevent works. None of the other NIP-19 encodings work. 2023-05-10 11:32:35 -05:00
Robert C. Martin
7bbb366aee Encode simple NIP-19 TLV for nevent. 2023-05-10 11:09:34 -05:00
Robert C. Martin
c7c79b0910 Decode nevent tlv strings according to NIP-19 2023-05-10 10:50:12 -05:00
Robert C. Martin
3f30ead8c9 Reload article window every second to resolve references as they come in from the relays. 2023-05-08 16:36:59 -05:00
Robert C. Martin
6eae2c0a8d Lots of little fixes around nostr: and Get info etc. 2023-05-08 15:11:14 -05:00
Robert C. Martin
c51d6536ff Fix silly test failure due to order of events. 2023-05-03 08:07:25 -05:00
Robert C. Martin
932d0ddcf9 Relay info NIP-11. Minimal implementation. 2023-05-02 10:05:08 -05:00
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