Commit Graph

117 Commits

Author SHA1 Message Date
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
Robert C. Martin
930575f7c9 merge sathwikmatsa pull request to linkify article. 2022-07-10 14:15:23 -05:00
Robert C. Martin
dee5222a2b All nickname dependencies removed except for the migrator, which is grandfathered to maintain backwards compatibility. 2022-07-05 14:09:24 -05:00
Robert C. Martin
48fbe30621 Removed useless nicknames from some tests. 2022-07-05 09:22:15 -05:00
Robert C. Martin
f7bead98f4 replace-references and lookup-references use profiles 2022-07-05 09:11:34 -05:00
Robert C. Martin
981aa6b412 format-reply, format-header, and format-user-id use profiles. 2022-07-05 08:59:45 -05:00
Robert C. Martin
2094c656b3 When a tap selects for an id, any event that has a 'p' tags with that id will be included. 2022-06-17 15:15:06 -05:00
Robert C. Martin
89868f3d0d Word wrap the edit window using :wrap-lines in a 'styled-pane' 2022-06-16 15:12:59 -05:00
Robert C. Martin
45ac056edd Add From/Date/Relay to replies. 2022-06-12 13:53:52 -05:00
Sathwik Matsa
fcdbccdf9c Linkify URLs in article window 2022-06-09 21:12:29 +05:30
Robert C. Martin
9b9048e477 Preserve the format of replies in the article display. (Lines that start with > are preserved). 2022-06-08 18:39:19 -05:00
Robert C. Martin
57787d7cc9 Got @username syntax working for sending and replying. 2022-06-05 14:10:45 -05:00
Robert C. Martin
572dc813f9 Got #[x] references working for 'p' tags. They sort-of work for 'e' tags too; but should probably behave a bit differently. 2022-06-04 12:02:04 -05:00
Sathwik Matsa
36badfc5a5 Fix timezone issue in formatter tests 2022-06-04 13:32:07 +05:30
Robert C. Martin
96f799ee01 Got that test to pass. I now believe that threading is completely working. (Until I find out otherwise;) 2022-06-03 12:14:56 -05:00