Commit Graph

1918 Commits

Author SHA1 Message Date
Bryan Ashby 2aec375bee
Driveby: getItem(x) vs getItems()[x] 2023-02-17 20:53:57 -07:00
Bryan Ashby 69cb0c5907
default timeout 2023-02-12 17:51:36 -07:00
Bryan Ashby e90f42c53c
Merge branch '459-activitypub-integration' of github.com:NuSkooler/enigma-bbs into 459-activitypub-integration 2023-02-12 17:48:42 -07:00
Bryan Ashby 194a5b012e
Add image URL editor for AcitvityPub user config 2023-02-12 17:48:34 -07:00
Nathan Byrd b577c1b847 Added default connection timeout and new config option outbound.connectionTimeoutMilliseconds 2023-02-12 13:38:52 -06:00
Bryan Ashby df55c3fa6d
New MCI for AP subject, show subj and custom info format on config 2023-02-11 20:27:50 -07:00
Bryan Ashby a09fe4894f
Durp 2023-02-10 22:29:33 -07:00
Nathan Byrd 6466220b6d Revert "First steps toward search"
This reverts commit 87034967ae.
2023-02-10 21:34:49 -06:00
Nathan Byrd 87034967ae First steps toward search 2023-02-10 16:51:50 -06:00
Bryan Ashby 1fcadef8d0
Fix local-to-local user in public area 2023-02-09 20:36:11 -07:00
Bryan Ashby c0914af002
Fix a few more inbox/addressing bugs, cleanup, add methtod to request follow 2023-02-08 21:32:54 -07:00
Bryan Ashby fb039c1abc
Fix dumb bugs 2023-02-08 20:10:50 -07:00
Bryan Ashby 9b08cf827b
Clean up Actor cache 2023-02-08 17:19:12 -07:00
Bryan Ashby c5f0e0e6ef
Rework most of the ActivityPub routing handling 2023-02-08 12:53:56 -07:00
Bryan Ashby 39a49f00be
Cleanup 2023-02-06 22:45:01 -07:00
Bryan Ashby c9b3c9bc41
Better context check 2023-02-06 22:18:09 -07:00
Bryan Ashby 1b684e2f2b
Clean up contexts in objects 2023-02-06 18:27:12 -07:00
Bryan Ashby 926f45b917
Clean up URLs to use central area, less confusion 2023-02-06 14:34:18 -07:00
Bryan Ashby 834dfd693f
Fix a dumb typo 2023-02-05 21:17:57 -07:00
Bryan Ashby 27da2bb108
Don't log entire JSON payloads 2023-02-05 21:13:34 -07:00
Bryan Ashby 0402de7444
Ability to send/recv public messages in the AP shared inbox areaTag
* Optional subjects
* Resolving followers
* Various cleanup and tidy
2023-02-05 21:10:51 -07:00
Bryan Ashby 36ebda5269
Fix shared inbox delivery for private + public 2023-02-05 14:43:46 -07:00
Bryan Ashby 41cd0f7f33
Fix local Actor URLs, add addFollowing() API 2023-02-05 10:42:30 -07:00
Bryan Ashby bd2dc27477
Add getRemoteCollectionStats() and usage 2023-02-04 23:16:44 -07:00
Bryan Ashby 24de0fa0bf
Merge branch '459-activitypub-integration' of github.com:NuSkooler/enigma-bbs into 459-activitypub-integration 2023-02-04 22:55:20 -07:00
Bryan Ashby 99ae973396
Handle Update of Notes, store Activites as-is, better shared mailbox delivery and DRY 2023-02-04 22:55:11 -07:00
Nathan Byrd 77b0e6dd23 Merge branch '459-activitypub-integration' of github.com:NuSkooler/enigma-bbs into 459-activitypub-integration 2023-02-04 19:34:09 -06:00
Nathan Byrd 877e2ca61a Added followers and following 2023-02-04 19:33:56 -06:00
Bryan Ashby c3335ce062
Hopefully better microformat handling outgoing 2023-02-04 15:17:59 -07:00
Bryan Ashby a24ec5fd67
Some hardening and Note import improvements for diff systems 2023-02-04 14:19:29 -07:00
Bryan Ashby b20b6cc5ca
Updates on form validation
* Better errors, using enig Errors and ErrorReasons
* If subject isn't required, don't enforce it
* Allow validator listeners to override error (ie: ignore)
2023-02-04 13:44:55 -07:00
Bryan Ashby a8e867a4bb
Support 'maxLength' property in MLTEV; Enforce this by default, to 500 characters for AP messages. WIP optional subjects, some new configuration 2023-02-04 11:51:47 -07:00
Bryan Ashby 1065f14c2e
Merge branch '459-activitypub-integration' of github.com:NuSkooler/enigma-bbs into 459-activitypub-integration 2023-02-03 15:14:54 -07:00
Nathan Byrd 00e6b41a3e Fixed focus and minor changes 2023-02-03 16:14:45 -06:00
Bryan Ashby f97d1844e3
Add attachment information to messages, fix duplicate handling to respond properly 2023-02-03 15:14:27 -07:00
Nathan Byrd 95250d23f2 Added additional fields and some cleanup 2023-02-03 15:21:19 -06:00
Bryan Ashby 8a4f90263a
Split out web logging to it's own logger/files/configuration 2023-02-01 23:02:33 -07:00
Bryan Ashby d286fa2cf4
Merge branch '459-activitypub-integration' of github.com:NuSkooler/enigma-bbs into 459-activitypub-integration 2023-02-01 22:01:20 -07:00
Bryan Ashby 5f53ef9a60
itemFormat/focusItemFormat properties in Button 2023-02-01 22:00:31 -07:00
Bryan Ashby eb9d9055e9
Allow itemFormat/focusItem format on TextViews/Buttons/... 2023-02-01 21:59:55 -07:00
Nathan Byrd 3be14ec94b Start of an actor search screen, finally 2023-02-01 21:50:32 -06:00
Nathan Byrd 1d1bf68f0d Added warning to make finding misconfigurations easier 2023-02-01 18:26:33 -06:00
Bryan Ashby 835bfbddb0
Return to prev on save 2023-01-31 22:19:27 -07:00
Bryan Ashby f8d4f49f7f
WIP ActivityPub user config 2023-01-31 22:16:19 -07:00
Bryan Ashby 98d37e9564
Fix various Content-Lenght's 2023-01-31 20:06:07 -07:00
Bryan Ashby a829905c63
New convienience functions on toggle menus, allow paths in sys module search 2023-01-30 22:13:38 -07:00
Bryan Ashby c456c18b85
Non-dynamic info 2023-01-30 16:09:18 -07:00
Bryan Ashby 35b7c00d11
Additionl of WIP NodeInfo2 support, fix content-type for Actor images 2023-01-30 12:30:36 -07:00
Bryan Ashby 3bdce81bdb
Retro style default profile, constant cleanup, some DRY, etc. 2023-01-29 16:52:01 -07:00
Bryan Ashby 2a75d55b42
Remove alias cache never used 2023-01-28 12:59:56 -07:00
Bryan Ashby 0ca67f6729
Clean up cache, add missing FK option 2023-01-28 12:59:12 -07:00
Bryan Ashby 6dd9fe810f
Fix profile query 2023-01-28 12:13:11 -07:00
Bryan Ashby 2f577fcada
Merge branch '459-activitypub-integration' of github.com:NuSkooler/enigma-bbs into 459-activitypub-integration 2023-01-28 11:57:14 -07:00
Bryan Ashby 9b01124b2e
Re-work of ActivityPub DBs and various account lookups
* Always look up Actors by explicit Actor IDs
* Re-work DB: style, properties we track, etc.
* Create AP properties via a event!
* Lots of cleanup
* WF may be partially broken if loooking up by 'profile' alias URL: WIP
2023-01-28 11:55:31 -07:00
Nathan Byrd 4f6891a668 Fix possible BBS crash on undefined text 2023-01-27 16:27:33 -06:00
Nathan Byrd 8dd28e3091 Fixed not-found and similar errors case 2023-01-26 19:18:25 -06:00
Bryan Ashby d624871a83
Split message consts to their own file, fix some HTTP responses, better subjects from ActivityPub messages, fix AP reply indicators, ... 2023-01-26 15:42:11 -07:00
Bryan Ashby 0bd2c3db1c
Better handling of to/from HTML and BBS message formats, Note handling esp with inReplyTo, etc. 2023-01-25 22:22:45 -07:00
Bryan Ashby 4f632fd8c4
Many WebFinger improvements, can now round trip private messages 2023-01-25 18:41:47 -07:00
Bryan Ashby 82091c11c1
pretty 2023-01-24 21:53:39 -07:00
Bryan Ashby 1aa56fbaa7
WIP: Import messages sent to local Actor inboxes to their private mail 2023-01-24 21:40:12 -07:00
Nathan Byrd 5b69cdb516 Changed activity.js back for WellKnownActivityTypes 2023-01-24 20:51:40 -06:00
Nathan Byrd f8b132310c Cleaned up missing ./const 2023-01-24 19:16:14 -06:00
Bryan Ashby d5446cdb51
Cleanup and placeholder 2023-01-24 18:11:28 -07:00
Bryan Ashby d7df066ab0
Object and Note, load of public notes, etc. 2023-01-23 14:45:56 -07:00
Bryan Ashby 0fc8ae0e18
WIP on shared inbox functionality 2023-01-22 13:51:32 -07:00
Bryan Ashby 8f131630ff
Update on recording to outbox 2023-01-22 11:02:45 -07:00
Bryan Ashby d03718d55e
Move avatar handler to generic system general handler 2023-01-22 10:18:52 -07:00
Bryan Ashby 3f2dcee5a7
Add avatar support
* Default generated for new users (oputil.js tool to come)
* Defaults to setting ActivityPub image/icon
* Allows ops to configure the look, extend, etc.
2023-01-21 20:57:22 -07:00
Bryan Ashby 468f1486c0
Use a Collection for outbox 2023-01-21 18:51:54 -07:00
Bryan Ashby ce7dd8e1cd
Handle Undo 2023-01-21 01:19:19 -07:00
Bryan Ashby d9e4b66a35
Cleanup, DRY, logging 2023-01-20 22:15:59 -07:00
Bryan Ashby 9517b292a4
Work on shifting code to generic collections, etc. 2023-01-20 16:03:27 -07:00
Bryan Ashby 930308e07f
Fix POST to Accept Follow Request 2023-01-19 22:31:14 -07:00
Bryan Ashby 51308a5ad3
Merge branch 'master' of github.com:NuSkooler/enigma-bbs into 459-activitypub-integration 2023-01-16 11:08:11 -07:00
Bryan Ashby 30f965d981
Remove no longer supported CombatNet 2023-01-16 11:04:56 -07:00
Bryan Ashby b075e25330
Cleanup 2023-01-13 23:55:05 -07:00
Nathan Byrd 4841823d67 Additional merge changes 2023-01-13 23:16:55 -06:00
Nathan Byrd 3cb4f5158e Merge upstream 2023-01-13 23:00:12 -06:00
Bryan Ashby 315d77b1c0
Start Collection, some extra Actor props, start Followers, cleanup/DRY/etc. 2023-01-13 21:27:02 -07:00
Nathan Byrd c796a856b1 Bug squashing and refactored inbox 2023-01-13 16:03:09 -06:00
Nathan Byrd 84dde6c5c5 Small bugfixes 2023-01-13 13:26:12 -06:00
Nathan Byrd 1068abca80 Changed the key name for the ActivityPub signing key 2023-01-13 13:07:06 -06:00
Bryan Ashby 9ad0cabd04
Test hook 2023-01-13 09:52:21 -07:00
Bryan Ashby 5e5c9236ec
Return a outbox WIP 2023-01-12 23:19:52 -07:00
Bryan Ashby 157b90687c
Move ActivityPub stuff under activitypub/ 2023-01-12 18:49:13 -07:00
Bryan Ashby 67652b18f2
Prettier 2023-01-12 18:40:43 -07:00
Bryan Ashby fc14b5d299
Persist exported/published messages to ActivityPub 2023-01-12 18:38:42 -07:00
Bryan Ashby eaadd0a830
Persist exported/published messages to ActivityPub 2023-01-12 18:26:44 -07:00
Bryan Ashby 64848b4675
Initial 'Note' support for ActivitiyPub/Mastodon, reconition of @User@domain ActivityPub addresses, skeleton for ActivityPub scan/toss 2023-01-11 22:37:09 -07:00
Bryan Ashby ef118325ba
Add intiial 'flavor' for ActivityPub messages 2023-01-11 09:47:07 -07:00
Bryan Ashby 01cd91b045
Fix route 2023-01-08 20:43:16 -07:00
Bryan Ashby 44c67f5327
Added HTTP util: postJson(), post Accept Activity to server with signing 2023-01-08 20:34:30 -07:00
Bryan Ashby 3a70cc6939
Abilitiy to respond with 'Accept' Activity and ActivityPubSettings user props 2023-01-08 17:11:49 -07:00
Bryan Ashby e5b2beffcf
Actor.fromLocalUser() 2023-01-08 13:42:52 -07:00
Bryan Ashby 2370185bcc
Tidy 2023-01-08 13:26:52 -07:00
Bryan Ashby f86d9338a1
Start work on Activity and Actor objects, validation, fetching, etc. 2023-01-08 13:18:50 -07:00
Bryan Ashby f9f9208ada
Merge 2023-01-08 01:29:37 -07:00
Bryan Ashby 55b210e4e7
Steps to allow follow requests 2023-01-08 01:22:02 -07:00
Nathan Byrd 2c0992becb Added stub activitypub_actor database entries 2023-01-07 14:48:12 -06:00