Commit Graph

502 Commits

Author SHA1 Message Date
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
Robert C. Martin
de603827d3 The start of the profile window. Output only at this time. 2023-03-29 17:01:00 -05:00
Robert C. Martin
f6359e29b2 Move stats window into stats-window.clj 2023-03-29 16:13:03 -05:00
Robert C. Martin
c7960b8336 Put prune config back to 1000/1hr. 2023-03-28 11:39:33 -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
c8c63d5536 HTML-ize the user profile. 2023-03-24 12:20:40 -05:00
Robert C. Martin
72c56299ac improve the HTML creation in article-area 2023-03-24 11:15:52 -05:00
Robert C. Martin
a1e3ae43a5 Release 2023-03-23T15:27. Added more relays to the default instance. Fixed stray counts and messages in the <add-relay> cell of the relay manager. 2023-03-23 16:47:55 -05:00
Robert C. Martin
165d281e2a scroll relay manager to top when loaded. 2023-03-23 11:54:21 -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
b13fb0461f Add user menus to reply-to field. 2023-03-22 09:33:39 -05:00
Robert C. Martin
36fe1992aa Add Get info... to author name field in article panel. 2023-03-22 09:27:10 -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
d2150312d8 Immediatly restart relay after relay-manager changes status. 2023-03-21 15:12:03 -05:00
Robert C. Martin
adf01aa813 Bold the root if exists. 2023-03-21 13:25:22 -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
de27fa8efc Add copy note1 menu and change menus to show the first 10 chars of what they will copy to the clipboard. 2023-03-19 17:18:58 -05:00
Robert C. Martin
da169c393b Bold the citing if the event is in the database. 2023-03-19 16:52:16 -05:00