Commit Graph

511 Commits

Author SHA1 Message Date
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
Robert C. Martin
5649eb67fe Get rid of pubkey field in article panel. Move reactions and arrows. Set up menu for "Copy Hex ID" and "Copy npub" on author name field. 2023-03-15 16:33:21 -05:00
Robert C. Martin
8140c10361 Rudimentary get-info for users. 2023-03-09 17:06:54 -06:00
Robert C. Martin
e9849697de move open-link to article-panel. 2023-03-09 12:16:27 -06:00
Robert C. Martin
6651679d9e We don't need to right click on relay read and write to bring up the menu. 2023-03-09 08:21:49 -06:00
Robert C. Martin
9385cdb2e6 Temporarily stop #p filters. And fix retries. 2023-03-08 06:12:57 -06:00
Robert C. Martin
53cdf4f11b Fix dumb prn bug. 2023-03-05 07:23:25 -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
f706d192f8 Images are rendered. This is preliminary but seems to work tolerably well. 2023-03-03 11:31:19 -06:00
Robert C. Martin
f0534b0cbf When sending messages, make sure they go out on all writeable relays, including newly added writeable relays. 2023-03-03 10:15:14 -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
81a7598b3b Prevent useless subscriptions where (<= now since) 2023-03-03 08:03:33 -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
407dff933a Unsubscribe when closing relays. 2023-03-01 16:25:10 -06:00
Robert C. Martin
a9a7e561b6 Only allow 999 authors in a subscription. Shuffle them before taking the 999. 2023-03-01 16:01:44 -06:00
Robert C. Martin
8d2719e86d Only update active relays in relay-manager, and update connection status. 2023-03-01 15:41:49 -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
599b491378 Relay manager has event counters. 2023-03-01 11:52:09 -06:00
Robert C. Martin
f2af810246 Better version of relay-check-closed using ping and pong timers. 2023-02-28 15:54:44 -06:00
Robert C. Martin
d1ba0e49f4 Stop printing out event-counter and web-backlog messages. 2023-02-28 12:58:18 -06:00
Robert C. Martin
ac6420342b Stop the check-close timer until I can think of a better way. 2023-02-28 12:54:37 -06:00
Robert C. Martin
6a0940b05b Add dups and kinds to stats panel. 2023-02-28 12:17:55 -06:00
Robert C. Martin
a3d1ce40ef Add processed and incoming events to stats panel. 2023-02-28 10:13:36 -06:00
Robert C. Martin
0f80db6806 Move :websocket-backlog into mem. 2023-02-28 09:19:20 -06:00
Robert C. Martin
8511e58526 Stats frame. Very preliminary. 2023-02-27 15:37:36 -06:00
Robert C. Martin
8e5b489f9c Refactored handle-event and made is smarter about handling duplicate events. Established :processed-event-ids in mem. 2023-02-27 14:05:26 -06:00
Robert C. Martin
f89ffb093b Add :lud16 to kind:0 profile. 2023-02-27 08:00:41 -06:00
Robert C. Martin
02d804e731 add last relay message to relay manager. 2023-02-25 09:23:20 -06:00
Robert C. Martin
ae713a7b8c Hitting return in a relay after making no discernable change to the url does nothing and keeps the relay unchanged. 2023-02-25 07:54:58 -06:00
Robert C. Martin
db74938add Bob Broke the Build Again. Fix tests. 2023-02-24 15:37:34 -06:00
Robert C. Martin
f453281e2e Relay manager can now rename, add, and delete relays. 2023-02-24 15:32:22 -06:00
Robert C. Martin
32c989231a Add the <new relay> field to the top of the relay manager.
Validate any url changes.
Add a new url to the relays list.
2023-02-24 12:47:18 -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
e8e93cb866 Properly sorted the list of relays. 2023-02-24 07:37:15 -06:00
Robert C. Martin
a8db802e43 Manage relays menu is working, sort of. 2023-02-23 16:24:22 -06:00
Robert C. Martin
0e3e8292e6 menubar and menus. They don't do anything. 2023-02-23 13:05:01 -06:00
Robert C. Martin
da7988b738 Abbreviate ids in article panel and decrease width of main window. 2023-02-23 12:44:12 -06:00
Robert C. Martin
9132b11a2c Restart a relay that closes without reporting. 2023-02-23 12:23:01 -06:00
Robert C. Martin
7689e8c8e9 Add config/relay-pattern and abbreviate relay names in the relay-label of the article-panel. 2023-02-23 08:36:32 -06:00
Robert C. Martin
2556f8a112 Actually add the contact list. 2023-02-23 08:14:00 -06:00