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
|
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
|
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
|
0bbfe7737c
|
Begin adding xtdb. All tests work in-memory.
|
2023-01-31 09:34:58 -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
|
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
|
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
|
f0bc7a58df
|
Fix incoming tags that are blank. Replace them with blank:
Fix a bunch of other junk.
Put some progress messages in for loading event files.
|
2023-01-25 13:55:01 -06:00 |
|
Robert C. Martin
|
783d05b1ff
|
use db in contact-list
|
2023-01-25 11:04:36 -06:00 |
|
Robert C. Martin
|
1a204e75ca
|
use db in contact-list-spec
|
2023-01-25 10:49:49 -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
|
8b1c5ada77
|
get-db and get-mem done in events-spec
|
2023-01-24 13:54:12 -06:00 |
|
Robert C. Martin
|
9a857bf9b2
|
get-db and get-mem done in event-composers-spec
|
2023-01-24 13:29:07 -06:00 |
|
Robert C. Martin
|
42bbb3dec6
|
Removed :profiles manipulations from event-composers-spec
|
2023-01-24 07:01:29 -06:00 |
|
Robert C. Martin
|
9a806d13a6
|
Remove :text-event-map from event-composers-spec
|
2023-01-24 06:20:02 -06:00 |
|
Robert C. Martin
|
798524b294
|
Extract event-composers-spec. Add get-event for db. Fix tests to use get-event.
|
2023-01-23 15:15:30 -06:00 |
|
Robert C. Martin
|
14c7843e86
|
Extract event-composers-spec. Add get-event for db. Fix tests to use get-event.
|
2023-01-23 14:45:55 -06:00 |
|
Robert C. Martin
|
ce8c8339dd
|
refactored process-contact-list
|
2023-01-22 15:01:09 -06:00 |
|
Robert C. Martin
|
a8f2ead59f
|
refactored process-server-recommendation (kind 2)
|
2023-01-22 14:39:32 -06:00 |
|
Robert C. Martin
|
d7b0612a66
|
db refactoring for process-text-event complete
|
2023-01-22 11:04:54 -06:00 |
|
Robert C. Martin
|
0039e61f4a
|
process-name-event setup for db.
process-text-event partially set up for db.
|
2023-01-21 13:13:15 -06:00 |
|
Robert C. Martin
|
05f1eee307
|
Extracted event-handlers from events.
|
2023-01-19 11:00:08 -06:00 |
|
Robert C. Martin
|
78c16b73f3
|
Extracted composers from events
|
2023-01-19 10:26:18 -06:00 |
|
Robert C. Martin
|
4b9f4c4e4f
|
Relay refactoring complete. THAT was a good one.
|
2023-01-17 10:23:58 -06:00 |
|
Robert C. Martin
|
bf8dda7ee1
|
Add relay to websocket-relay callback function.
|
2023-01-17 08:15:35 -06:00 |
|
Robert C. Martin
|
7587374a47
|
Change channel to function in websocket-relay
|
2023-01-17 08:08:48 -06:00 |
|
Robert C. Martin
|
358d90f683
|
Create relay interface and websocket-relay classs, with tests.
|
2023-01-16 16:47:10 -06:00 |
|
Robert C. Martin
|
ffb3a74fa1
|
Log messages and cleanup.
|
2023-01-11 11:55:46 -06:00 |
|
Robert C. Martin
|
7701682b6b
|
Don't allow nils in the tags.
|
2022-10-28 16:04:46 -05:00 |
|
Robert C. Martin
|
7a0ec902fd
|
Make nonce values strings, and fix problem reading empty tags [""].
|
2022-10-28 10:15:12 -05:00 |
|
Robert C. Martin
|
e2ef67fcaf
|
Fix the with-redefs issue.
Render the article window with   characters replacing strings of spaces. This prevents the html renderer from compressing spaces.
|
2022-10-23 08:59:27 -05:00 |
|
Robert C. Martin
|
a02f3dd40e
|
Proof of work. Defaults to 16. config/proof-of-work-default
|
2022-10-22 10:25:49 -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
|
e9d4bda3f2
|
Tentative ability to send DM. Waiting for confirmation. uses "D @xxx" style.
|
2022-09-18 11:25:21 -05:00 |
|
Robert C. Martin
|
4b5c1deab2
|
Clean up the @(:event-context @ui-context) BS. replace with get-event-state. Stop passing event-state and event-context around unless they are going to change.
|
2022-09-17 16:50:31 -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
|
d2347ce293
|
Ping every 30 seconds. And fix bug that blocked the create button (dumb).
|
2022-08-17 15:42:48 -05:00 |
|
Robert C. Martin
|
511256cec4
|
Sanity check the relay names. Don't allow localhost and http and non-urls.
|
2022-08-16 18:26:19 -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
|
c67143168c
|
Fix tag types with colons in them. read-string doesn't like them.
|
2022-08-14 09:44:14 -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
|
55f953b52b
|
Use trusted petnames in @ and #[] emplacements.
|
2022-08-09 10:38:53 -05:00 |
|
Robert C. Martin
|
30ff04d816
|
Indirect trust rendered as name<-trusted
|
2022-08-04 09:31:22 -05:00 |
|
Robert C. Martin
|
47e51151b5
|
Web of trust. Kind-3 seems to be managed well. Should probably not allow kind-3 to delete users from this user's contact list...
|
2022-08-03 13:14:00 -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
|
fd861a793f
|
Fix bug. Contact list was not formed correctly. p tag pubkeys are hex strings, and have been turned into numbers.
|
2022-08-02 08:42:20 -05:00 |
|
Robert C. Martin
|
e935a08eb6
|
Migration 9 contact-lists. Initital processing of kind-3 and accumulation of the contact-lists.
|
2022-08-01 11:39:05 -05:00 |
|
Robert C. Martin
|
2f1a539920
|
Periodically read in all profiles from relays. Uses user-configuration :import-metadata group.
|
2022-07-31 08:24:18 -05:00 |
|
Robert C. Martin
|
9b17979b2f
|
Added :never to [:export-user-profile :export-after-days]
|
2022-07-30 14:30:19 -05:00 |
|
Robert C. Martin
|
8d2da0f976
|
Add :export-user-profile variables to user-configuration file. Send user profile only every :export-after-days days.
|
2022-07-30 11:24:36 -05:00 |
|
Robert C. Martin
|
8abcb0f44a
|
Migration 8 user-configuration file, empty for now.
|
2022-07-30 10:00:28 -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
|
4c8ffeba0f
|
Fix tests and bump version number.
|
2022-07-23 10:05:51 -05:00 |
|
Robert C. Martin
|
64a823e214
|
Add a numerical suffix to names that are duplicates for existing pubkeys. Print longer names in the article window and article tree, and don't trim the names in the profiles file.
|
2022-07-23 09:39:21 -05:00 |
|
Robert C. Martin
|
fa4acece82
|
Add name and version to window title, and version to :client tag in outgoing messages.
|
2022-07-22 08:02:54 -05:00 |
|
Robert C. Martin
|
97764b6ef6
|
Migration 7, break message-file into daily files.
|
2022-07-20 11:04:33 -05:00 |
|
Robert C. Martin
|
68666d4d8f
|
Reading and writing of daily files is complete. Next I need to write the migration.
|
2022-07-20 09:40:19 -05:00 |
|
Robert C. Martin
|
57429d3d4e
|
Reading and writing daily message files. But not pushing because migration 7 is not ready.
|
2022-07-19 15:26:50 -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
|
1d0e9f8c9a
|
Migration 5. Remove nicknames file. Make sure on first time start we subscribe one day back.
|
2022-07-05 14:34:46 -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
|
3dfdc5ac49
|
find-user-id uses profiles.
|
2022-07-05 08:09:01 -05:00 |
|
Robert C. Martin
|
fdaefd428c
|
Save and load profiles into private/profiles. Soon we will eliminate private/nicknames.
|
2022-07-04 09:35:30 -05:00 |
|
Robert C. Martin
|
7b04dc1dd9
|
Migration 4 moves nicknames to profiles.
|
2022-07-04 08:53:28 -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
|
672c5ce69a
|
Save and read message file. Set subscription time to just before last message time. Migration 3 creates messages directory and message-file.
|
2022-06-17 10:30:11 -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
|
eadd71d5fd
|
Migration 2. Fix user names in the nicknames file.
|
2022-06-07 14:37:39 -05:00 |
|
Robert C. Martin
|
e4b22433aa
|
Initial migration from no setup to all files set up with automatically generated keys and user name.
|
2022-06-06 14:22:49 -05:00 |
|