Commit Graph

31 Commits

Author SHA1 Message Date
Derrick Hammer c6d4ea5a8e
refactor: switch to @lumeweb/interface-relay 2023-04-19 05:15:58 -04:00
Derrick Hammer 69e613075e
*Removing ssl support, will delegate it to caddy 2023-04-19 02:29:11 -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 3ac8e38f66
*Add app getter method to api 2023-04-18 22:47:09 -04:00
Derrick Hammer f720f40f05
*namespace all core options 2023-04-18 20:12:01 -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 90d8bfba63
*Add debug logging for plugin loading 2023-01-08 14:13:11 -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 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 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 1b78d0e696
*Implement a protocol manager to register protomux based protocols and add it to the plugin api 2022-12-30 01:00:45 -05:00
Derrick Hammer bcc63ae15d
*Need to pass through proxy requests to config object 2022-12-22 09:54:05 -05:00
Derrick Hammer 3d29026a22
*Add new pluginConfig api that scopes all get, set, and has methods to a plugin.${plugin} scope to access only that plugins config 2022-12-21 15:12:20 -05:00
Derrick Hammer 9b9ff2118c
*export ssl manager
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-12-19 12:17:33 -05:00
Derrick Hammer c207452c65
*Update API interface to add the identity and ssl manager
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-12-19 12:08:33 -05:00
Derrick Hammer b7cd9ac5e2
*More log fixes
ci/woodpecker/push/woodpecker Pipeline was successful Details
2022-12-19 11:47:09 -05:00
Derrick Hammer a6eef21da0
*Make log the default export
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-12-19 11:44:11 -05:00
Derrick Hammer 88a827276e
*Update references of log object
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-12-19 11:42:51 -05:00
Derrick Hammer 6fa5ccd49a
*Add swarm to plugin api 2022-12-18 15:01:27 -05:00
Derrick Hammer 5fba29b3ee
*Update imports for getKeyPair and getSeed 2022-12-18 13:45:12 -05:00
Derrick Hammer 2db95ff746
*Add plugin emit for plugins loaded 2022-12-18 11:42:50 -05:00
Derrick Hammer 2b5d3ef646
*Heavily refactor plugin api, remove most methods for now
*Introduce event emitter2 which will be used as part of api
*Use a proxy class to create a custom PluginAPI.registerMethod which will pass the lexical scoped plugin name
2022-12-18 11:09:29 -05:00
Derrick Hammer 724a0f0135
*switch plugin loading to use require and not import
ci/woodpecker/manual/woodpecker Pipeline failed Details
2022-12-13 07:23:18 -05:00
Derrick Hammer 00fc999169
*Major refactor to swarm based DHT design, switch to protomux-rpc, merging core plugin into main daemon, and creating a new internal rpc plugin for cache and broadcast requests
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-11-26 02:59:07 -05:00
Derrick Hammer e1092fb7d8
*Remove unneeded dash 2022-09-21 16:11:02 -04:00
Derrick Hammer 6d0aef8ae2
*Ensure plugin list is unique 2022-09-21 16:03:12 -04:00
Derrick Hammer 243f350a54
*re-structure code 2022-09-21 08:59:22 -04:00