Commit Graph

131 Commits

Author SHA1 Message Date
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
b3d4183dd7 Get nostr: and @ working... Sorta. 2023-04-20 17:00:17 -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
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
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
db74938add Bob Broke the Build Again. Fix tests. 2023-02-24 15:37:34 -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
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
Robert C. Martin
1b7e76470c add idreference for @<hex-string> references to articles. 2023-02-16 11:44:19 -06:00
Robert C. Martin
207a226f3a ms-linkifying @references. 2023-02-16 11:27:55 -06:00
Robert C. Martin
ffb1d9ddc9 Strip http:// from hyperlink text when displaying an article. This is in preparation for using hyperlinks in articles for many different things like event-id references. 2023-02-16 10:18: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
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
00985af77b Reaction UI is working. 2023-02-09 10:16:35 -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
bf8176f195 Oops. Broke some unit tests. Fixed. 2023-02-04 10:43:02 -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
0bbfe7737c Begin adding xtdb. All tests work in-memory. 2023-01-31 09:34:58 -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
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
be937b6a97 Removing ui-context. 2023-01-28 20:36:01 -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
5b2454cb26 finish removing :text-event-map from article-tree-spec 2023-01-26 09:24:09 -06:00
Robert C. Martin
09be34d0b4 db in article-tree-spec 2023-01-25 14:39:52 -06:00
Robert C. Martin
3d417324c9 Separate config/get-db and in-memory/get-db. Get all tests to use in-memory/get-db. Change tests in formatters-spec to use db. 2023-01-25 09:06:12 -06:00
Robert C. Martin
ffb3a74fa1 Log messages and cleanup. 2023-01-11 11:55:46 -06:00
Robert C. Martin
e2ef67fcaf Fix the with-redefs issue.
Render the article window with &nbsp characters replacing strings of spaces.  This prevents the html renderer from compressing spaces.
2022-10-23 08:59:27 -05:00
Kamil Gałuszka
ab1eb71b39 fix: ISO hours 2022-10-06 17:31:20 +02:00
Robert C. Martin
accd6eddbf When reading in saved events the functions load-events and events/add-event striped off all but the first relay. Fixed this. 2022-09-27 14:59:13 -05:00
Robert C. Martin
3843ed279f Reply to DM sets up the D @xxx in the response. 2022-09-19 11:19:02 -05:00
Robert C. Martin
8412639372 Remove all declares except those needed for 'with' statements in tests. 2022-09-05 14:11:18 -05:00
Robert C. Martin
e11c7c07f9 Allow raw pubkeys in @ references within an article. It creates a profile name for that user based on that pubkey. 2022-08-14 13:07:55 -05:00
Robert C. Martin
4676aba4ca add root of thread when adding an event to a tab. 2022-08-10 13:31:49 -05:00
Robert C. Martin
30ff04d816 Indirect trust rendered as name<-trusted 2022-08-04 09:31:22 -05:00
Robert C. Martin
4bc60a7ab6 Pull kind-3 contact lists at startup. Mark untrusted users with (). Set up for petnames. 2022-08-03 10:19:37 -05:00
Robert C. Martin
25daaf5d54 Delete tabs, add new tabs, select and block articles and authors. 2022-07-28 13:22:25 -05:00
Robert C. Martin
0651bdd307 Change name of tab. 2022-07-28 08:21:40 -05:00
Robert C. Martin
db3c103b9d Stop using tab names and use tab indices instead. Also fix bug that sometimes didn't load article when using back button. 2022-07-17 08:42:57 -05:00
Robert C. Martin
2421f3a0f5 Migration 6 complete. Tabs file removed. Tabs-list file created. All code uses new tabs scheme. This is much better. 2022-07-16 13:17:37 -05:00
Robert C. Martin
d9561adc56 Migration 6, reformat tabs to tabs-list, and get prepared. 2022-07-16 10:54:55 -05:00