Commit Graph

587 Commits

Author SHA1 Message Date
Robert C. Martin
afe50564be Load read messages first. Fiddle with timing. 2023-02-14 10:17:13 -06:00
Robert C. Martin
74c28bf0da Reaction mark changed to two digit count. 2023-02-14 08:22:30 -06:00
Robert C. Martin
02ec1ae707 CLicking on an id in the article panel will load the article from the DB into the article tree. 2023-02-13 14:56:19 -06:00
Robert C. Martin
d9b32be803 Fix a few little things and slow down database load based on websocket backlog. 2023-02-13 13:20:52 -06:00
Robert C. Martin
6bb92fbe1d Clean up a bit, and add creation time to profiles. 2023-02-12 09:35:45 -06:00
Robert C. Martin
d4f5d47da5 Reset relay retry if last retry was over an hour ago. 2023-02-11 09:07:49 -06:00
Robert C. Martin
844577fd65 Backoff retry of closed websocket relays. Seems to work. 2023-02-10 15:51:52 -06:00
Robert C. Martin
55af920b52 Extracted connect-to-relay 2023-02-10 14:24:49 -06:00
Robert C. Martin
fe4cde702b Change version. "2023-02-10T09:12" 2023-02-10 09:13:40 -06:00
Robert C. Martin
bf2eb4408e Add :read-web-of-trust to relays. 2023-02-10 09:00:30 -06:00
Robert C. Martin
2fda904b84 Line up the article tree header with the reaction icon. Don't request contacts during test runs. Request contacts after subscribing. Trim headers in tests. 2023-02-10 08:19:31 -06:00
Robert C. Martin
6c26de78f5 Implemented :read-trusted relays. 2023-02-09 16:27:39 -06:00
Robert C. Martin
00985af77b Reaction UI is working. 2023-02-09 10:16:35 -06:00
Robert C. Martin
768668b9e6 Strip tags other than e and p from subject event when composing a reaction (kind 7) 2023-02-09 08:31:28 -06:00
Robert C. Martin
4eb2218d11 Process incomming reactions (kind 7). 2023-02-08 15:44:47 -06:00
Robert C. Martin
c96629c92f Add up/down buttons to article panel for sending reactions. 2023-02-08 14:07:53 -06:00
Robert C. Martin
e4f59f50ab mukadr's fix for "JTree" showing up as the root object in some platforms. 2023-02-07 15:49:45 -06:00
Robert C. Martin
8469fd2039 Some tweaks for performance and logging. And fixing a DB query. 2023-02-06 13:19:52 -06:00
Robert C. Martin
7789d54338 Some tweaks for performance and logging. 2023-02-06 11:52:15 -06:00
Robert C. Martin
bf8176f195 Oops. Broke some unit tests. Fixed. 2023-02-04 10:43:02 -06:00
Robert C. Martin
db7b8b949a A bit of a sleep seems to let the relays have a shot. 2023-02-04 10:38:06 -06:00
Robert C. Martin
4468c6f682 Database loaded again but relays are all timing out. 2023-02-04 09:22:36 -06:00
Robert C. Martin
66619a48bb Batch add contacts and profiles.
gateway/add-event removed id argument as uses id in event instead.
2023-02-04 08:32:20 -06:00
Robert C. Martin
124e5a335a Lots is working. 2023-02-02 14:28:02 -06:00
Robert C. Martin
a0990921d7 Ready to try migration 10 for real. 2023-02-02 10:33:25 -06:00
Robert C. Martin
cb7eea5bda Migration 10 to XTDB 2023-02-02 10:03:15 -06:00
Robert C. Martin
dae63cb63a remove old data storage functions. 2023-02-01 13:34:32 -06:00
Robert C. Martin
b418a495c6 Create config/production-db. 2023-02-01 13:07:07 -06:00
Robert C. Martin
f3943cb749 All queries work. All tests pass. Test run passes too. And it even kinda works when I run prod. But it's not ready yet. Lots to do. 2023-01-31 14:15:16 -06:00
Robert C. Martin
c194af0733 Got rid of annoying log4j errors with the help of chatgpt. 2023-01-31 09:47:35 -06:00
Robert C. Martin
0bbfe7737c Begin adding xtdb. All tests work in-memory. 2023-01-31 09:34:58 -06:00
Robert C. Martin
dc7e1a89c1 Final separation of mem from db. (probably.) 2023-01-30 15:43:13 -06:00
Robert C. Martin
57483aed30 Separate mem from db. 2023-01-30 14:53:31 -06:00
Robert C. Martin
1a84f4147e ui-context is no more. YAY! 2023-01-30 14:26:08 -06:00
Robert C. Martin
61e5709cf0 Pulled ui-context from tabs_spec and user-configuration-spec 2023-01-29 10:00:29 -06:00
Robert C. Martin
530ef1ace7 got ui-context out of tabs-spec, article-tree-spec and article-tree-util-spec. 2023-01-29 09:39:00 -06:00
Robert C. Martin
7188c7a519 moved :node-map and :orphaned-references to mem. 2023-01-29 09:23:47 -06:00
Robert C. Martin
3789daee77 create update-mem and allow set-mem to be nested. 2023-01-29 09:03:13 -06:00
Robert C. Martin
1103548acb get rid of some ui-context references. More to come. 2023-01-29 08:32:56 -06:00
Robert C. Martin
1afeae504a Implement "test" argument for main. 2023-01-29 07:55:50 -06:00
Robert C. Martin
3419de4a4e Don't duplicate relays in events. 2023-01-28 21:16:36 -06:00
Robert C. Martin
be937b6a97 Removing ui-context. 2023-01-28 20:36:01 -06:00
Robert C. Martin
741b39c81d get-event-state has been replaced by get-mem and get-config and db. 2023-01-28 10:15:31 -06:00
Robert C. Martin
bce157fca2 bech32 encoding working with 64 byte numbers. 2023-01-27 14:09:53 -06:00
Robert C. Martin
934bc7a946 bech32 working. And in make-contact-list-from-tag 2023-01-27 12:19:24 -06:00
Robert C. Martin
39cd3b98c9 Encapsulate :user-configuration 2023-01-26 14:38:06 -06:00
Robert C. Martin
cfa8f915fd Get rid of :read-event-ids altogether. Replace with :read tag in the events. 2023-01-26 13:38:39 -06:00
Robert C. Martin
967316ebb3 Remove :text-event-map from article-tree, article-tree-util and fix article-tree-spec 2023-01-26 10:53:24 -06:00
Robert C. Martin
cbb4529d95 Remove :text-event-map from article-panel 2023-01-26 10:08:55 -06:00
Robert C. Martin
93d01cbdee Remove :text-event-map from event-handlers 2023-01-26 09:38:38 -06:00