Commit Graph

470 Commits

Author SHA1 Message Date
Derrick Hammer 6d2cffd869
build: add .npmrc 2023-04-19 05:27:29 -04:00
Derrick Hammer b3fb59d283
chore: update deps 2023-04-19 05:23:16 -04:00
Derrick Hammer c7f0dd586d
fix: update import 2023-04-19 05:16:20 -04:00
Derrick Hammer c6d4ea5a8e
refactor: switch to @lumeweb/interface-relay 2023-04-19 05:15:58 -04:00
Derrick Hammer c25bf102fe
refactor: switch to ed25519-keygen 2023-04-19 05:10:36 -04:00
Derrick Hammer 79f981d789
chore: clean up package.json 2023-04-19 05:01:00 -04:00
Derrick Hammer 0736469296
refactor: removing rpc methods that require caching 2023-04-19 04:47:48 -04:00
Derrick Hammer 69e613075e
*Removing ssl support, will delegate it to caddy 2023-04-19 02:29:11 -04:00
Derrick Hammer 671c7ad6a1
*Update cfg 2023-04-19 02:27:21 -04:00
Derrick Hammer 5439c9dc92
*Add getter for domain 2023-04-19 02:27:12 -04:00
Derrick Hammer c26be980c5
*Refactor loading of ssl 2023-04-19 02:26:51 -04:00
Derrick Hammer d5a4956be7
*Use casing for readability 2023-04-19 00:55:15 -04:00
Derrick Hammer a9366c915d
*fix typo 2023-04-19 00:54:45 -04:00
Derrick Hammer 90e0f3f2c4
*Add core.appServer.buildRoutes async event to allow plugins to register routes 2023-04-19 00:29:13 -04:00
Derrick Hammer 38d6198628
*Change core.appServerStarted to core.appServer.started 2023-04-19 00:28:33 -04:00
Derrick Hammer 053eca0cf4
*await on plugin 2023-04-19 00:08:19 -04:00
Derrick Hammer a0504443e6
*refactor to handle invalid plugins 2023-04-19 00:01:14 -04:00
Derrick Hammer 21887df639
*Ensure we are using the core namespace 2023-04-18 23:53:00 -04:00
Derrick Hammer a628a9a07f
*set config dir property name 2023-04-18 23:49:34 -04:00
Derrick Hammer 1b7ad1a896
*Emit core.appServerStarted event after the appserver is booted 2023-04-18 22:47:40 -04:00
Derrick Hammer 3ac8e38f66
*Add app getter method to api 2023-04-18 22:47:09 -04:00
Derrick Hammer 356681af35
*Update cert types 2023-04-18 22:35:28 -04:00
Derrick Hammer 714da70209
*refactor ssl support 2023-04-18 20:43:37 -04:00
Derrick Hammer 3b1b6425ae
*make the non-SSL port configurable 2023-04-18 20:28:51 -04:00
Derrick Hammer 7f1dde272a
*remove rpc cache system, as it is not needed for now. This can be reverted in the future. 2023-04-18 20:19:27 -04:00
Derrick Hammer f720f40f05
*namespace all core options 2023-04-18 20:12:01 -04:00
Derrick Hammer 2b12150d71
*Backwards compat fix to ensure Protomux is stored on the stream 2023-04-07 20:52:49 -04:00
Derrick Hammer 556373c5bc
*Ensure we use Protomux pair for the RPC service 2023-04-07 20:52:23 -04:00
Derrick Hammer a003da1606
*Remove debug logging 2023-03-29 17:16:13 -04:00
Derrick Hammer 58e95806d0
*hook on core.pluginsLoaded to ensure that we don't answer until all plugins are loaded 2023-03-29 16:23:56 -04:00
Derrick Hammer 3600fbfdcf
*await on plugin loading 2023-03-29 16:23:17 -04:00
Derrick Hammer 2d30390fa2
*fix listener callback 2023-03-18 15:07:52 -04:00
Derrick Hammer d3d0f387b6
*Access the log object directly 2023-01-13 17:53:54 -05:00
Derrick Hammer eb2a19121f
*Remove the logger object from the PluginAPI object 2023-01-13 17:53:37 -05:00
Derrick Hammer d5138c3860
*When fetching the logger in the plugin api, return a child instance of the logger instead for that plugin 2023-01-13 17:46:53 -05:00
Derrick Hammer 594e8d82a1
*Protomux.pair takes an object bag on the first argument 2023-01-13 17:42:52 -05:00
Derrick Hammer 90d8bfba63
*Add debug logging for plugin loading 2023-01-08 14:13:11 -05:00
Derrick Hammer da14bac9b2
*Update types 2023-01-07 23:42:14 -05:00
Derrick Hammer 8d52e40f20
*Add new utilities on plugin api
*add access to compact-encoding via binaryEncoding
*add access to b4a via bufferEncoding
*add crypto utility with createHash helper
2023-01-07 23:34:06 -05:00
Derrick Hammer 72c663795a
*Update relay-types 2023-01-07 23:32:33 -05:00
Derrick Hammer 74c20c6042
*Don't use getRpcServer directly 2023-01-07 23:04:36 -05:00
Derrick Hammer ce23f0a7b8
*Refactor how core plugins are loaded 2023-01-07 23:02:13 -05:00
Derrick Hammer 5c85ad2962
*Move core plugins outside modules folder 2023-01-07 22:58:06 -05:00
Derrick Hammer f8a698c656
*Remove unneeded import 2023-01-07 22:56:16 -05:00
Derrick Hammer 5dee9aeed4
*Unneeded parameter
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-05 20:58:39 -05:00
Derrick Hammer 2ae556ad14
*Add get_topics rpc method
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-05 20:55:46 -05:00
Derrick Hammer 523f2c04f0
*Add new core dht plugin that allows joining a DHT topic and getting the peers of a given topic 2023-01-05 20:51:43 -05:00
Derrick Hammer ba86b3587b
*add core.shutdown hook for bootstrap DHT
ci/woodpecker/push/woodpecker Pipeline was successful Details
2023-01-05 19:44:43 -05:00
Derrick Hammer 831612bc77
*Add an async shutdown event so that plugins can take action before the swarm is destroyed 2023-01-05 19:39:03 -05:00
Derrick Hammer 6a41daff62
*Ensure the swarm properly shuts down and un-announces itself 2023-01-05 19:36:06 -05:00