1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2025-03-28 00:07:02 +00:00

Commit graph

  • 0b36e6df7c fixed image links for webui doc main v0.2.0 postmannen 2025-02-19 09:03:03 +01:00
  • 8fd43b2305 WebUI: - Added network graph - Updated doc - Specify key to use in settings - Other minor changes postmannen 2025-02-19 08:48:13 +01:00
  • 5d99554c3b Initial Web UI, and TUI implementations : NB: Breaking change, since the message format have changed. Uses nats to communicate with ctrl, and nkeys for auth. Supports the use of files as templates for scripts to run. The main source for the templates are the ./files directory on the node named central. webUI: Settings are stored locally using Javascript localStorage. shortcut ctrl+t to open the template menu for webui postmannen 2025-02-14 06:43:52 +01:00
  • ee8474e71a updated readme v0.1.0 postmannen 2025-01-25 22:55:41 +01:00
  • ba2cc0fd36 Fixed wrongly implemented use of buffer on dst write postmannen 2025-01-25 21:47:04 +01:00
  • f3626dae88 fixed bug, out of order packages with port postmannen 2025-01-25 08:04:40 +01:00
  • 5127ab7099 added tcp forwarder postmannen 2025-01-23 19:13:09 +01:00
  • e1a3fdca05 squash of adding signature check on most methods, and structured logging postmannen 2025-01-10 19:25:38 +01:00
  • 45986c7a32 fixed two nil errors when sending logs in file handling methods bt8.3 postmannen 2025-01-10 19:08:44 +01:00
  • 6416dca082 removed HttpGetScheduled request method postmannen 2025-01-10 18:54:45 +01:00
  • 69a929d478 fixed bad key for logging postmannen 2025-01-10 15:57:53 +01:00
  • 060d8b135a debug log with slog format postmannen 2025-01-10 14:49:43 +01:00
  • 44027c66c6 added TODO comment for debug logging postmannen 2025-01-10 10:25:29 +01:00
  • d1bd3ad557 changed logWarn to structured logging postmannen 2025-01-10 10:24:30 +01:00
  • 23a5555a35 changed logInfo to structured logging postmannen 2025-01-10 10:15:43 +01:00
  • 38389c4778 changed logError to use structured logging postmannen 2025-01-10 08:35:07 +01:00
  • 48ec092737 changed debug print to slog bt8.2 postmannen 2025-01-10 06:30:19 +01:00
  • 940f336333 signing seems to work, but logging errors don't work, and need to delete debug logging postmannen 2025-01-09 14:32:36 +01:00
  • e78e913be0 added map for methods to do signature checking on postmannen 2025-01-09 10:00:03 +01:00
  • 9a0fe9ae7a fixed error with missing database folder, also added sending all keys to to acked and not acked nodes bt8.1 postmannen 2025-01-09 08:07:58 +01:00
  • 13feea1bfe sending public keys to both ack'ed and not ack'ed nodes postmannen 2025-01-09 07:00:26 +01:00
  • 1303be2e9e removed comments postmannen 2025-01-09 06:46:06 +01:00
  • 2d14ce3303 added logDebug to errSend method to print all errors also to console postmannen 2025-01-06 16:28:15 +01:00
  • b93be49ef9 cleaning up in keys code postmannen 2025-01-06 14:40:48 +01:00
  • b5561b9e55 restructured callHandler method, and fixed so not yet allowed keys are printed in the errors postmannen 2025-01-06 13:58:03 +01:00
  • aba926f74a changed output of logs when reading startup folder bt8 postmannen 2025-01-06 06:40:10 +01:00
  • e8cab7f124 renamed request types and methods for keys postmannen 2025-01-06 06:10:55 +01:00
  • e7a061b69f removed debug logging flag, and added doc postmannen 2025-01-04 23:07:04 +01:00
  • 595032fbb5 update doc postmannen 2025-01-03 13:50:40 +01:00
  • 2cdf406ec3 update doc postmannen 2025-01-03 13:03:17 +01:00
  • 9dda8ac68d added so the method None can be used to only start a procFunc for startup processes postmannen 2025-01-02 11:16:25 +01:00
  • 7a292cda7a key updated from central are sent with jetstream bt7.1-notOK-only-updates-on-restart bt7.1 postmannen 2025-01-02 08:33:45 +01:00
  • 714abc85cb added so the method None can be used to only start a procFunc for startup processes bt7 postmannen 2025-01-02 06:02:36 +01:00
  • 2f1f2ea28b renamed HandlerFunc to Handler postmannen 2025-01-02 04:57:27 +01:00
  • 894bdf2554 added so you can define requests without a method, and just have a procFunc. postmannen 2024-12-28 07:46:36 +01:00
  • 8ac14720cc added startup of central key processes postmannen 2024-12-28 07:04:48 +01:00
  • e98cf0f6bc split up configuration flags for central acl's and keys. postmannen 2024-12-28 06:21:32 +01:00
  • de74c2531e removed debug printing fixed typo in readme added useDetectedShell to message, so it can be decided on the message level to use it or not for cliCommand's added so if shell are defined via flag that will be used, and not the default shell of the OS. For the Linux and Darwin operating system we allow to automatically detect shell interpreter, so the user don't have to type "bash", "-c" as the first two arguments of the methodArgs. replaced tail package, and added nil check when reading lines renaming of key related functions, updated doc updated key comments, and added doc section for central node updated doc and error messages postmannen 2024-12-28 04:58:26 +01:00
  • 17a2a9e5f4 removed debug printing bt6 postmannen 2024-12-25 18:05:15 +01:00
  • 0edbc43804 fixed typo in readme postmannen 2024-12-25 18:02:41 +01:00
  • e0f4671534 added useDetectedShell to message, so it can be decided on the message level to use it or not for cliCommand's postmannen 2024-12-25 17:51:27 +01:00
  • 77ca78195d added so if shell are defined via flag that will be used, and not the default shell of the OS. postmannen 2024-12-21 23:45:34 +01:00
  • c89983c489 For the Linux and Darwin operating system we allow to automatically detect shell interpreter, so the user don't have to type "bash", "-c" as the first two arguments of the methodArgs. postmannen 2024-12-21 23:30:50 +01:00
  • 8ce651793c replaced tail package, and added nil check when reading lines postmannen 2024-12-21 19:52:38 +01:00
  • fb51f3947b renaming of key related functions, updated doc postmannen 2024-12-19 06:39:57 +01:00
  • ca1ce3c534 updated key comments, and added doc section for central node postmannen 2024-12-18 15:47:05 +01:00
  • 0d6517f6ec updated doc and error messages postmannen 2024-12-18 06:54:07 +01:00
  • 0451a90332 update doc postmannen 2024-12-14 23:33:09 +01:00
  • e5204fe663 update ctrl book postmannen 2024-12-14 10:31:46 +01:00
  • f99af8e0ab moved all the procfunc definitions in the processes startup as separate functions defined after theyr respective request method where they belong postmannen 2024-12-13 16:49:21 +01:00
  • df07b926e2 moved all the procfunc definitions in the processes startup as separate functions defined after theyr respective request method where they belong keysacls1 postmannen 2024-12-06 11:03:53 +01:00
  • 3a31ced938 Squashed commit of the following: postmannen 2024-12-03 16:17:33 +01:00
  • d7e6f2c922 updated todo cleanup1.6.filevar postmannen 2024-12-03 16:11:24 +01:00
  • 636ed4855a update doc with CTRL_FILE postmannen 2024-12-03 16:01:22 +01:00
  • 4e6e4c515e implemented reading and embedding the content of a local file with {{CTRL_FILE}} postmannen 2024-12-03 15:39:15 +01:00
  • dcdbc9308e removed \n in error printing cleanup1.5.removedProcessKind postmannen 2024-12-02 15:45:16 +01:00
  • adc8aab809 fixed error with not found filename in copy test, remove debug logs postmannen 2024-12-02 15:44:40 +01:00
  • 66c3307dd5 seedfile: removed deletion, and changed file permissions to 600 postmannen 2024-12-02 07:29:29 +01:00
  • fc2d1da165 created flags for profiling postmannen 2024-12-02 07:19:33 +01:00
  • 693e3e9fe5 renamed startup.subscriber to startup.startProcess postmannen 2024-12-02 05:32:41 +01:00
  • b564e3ebef created a separate method for helloPublisher postmannen 2024-12-02 05:07:24 +01:00
  • a83029c343 removed processKind, og removed not needed file check in copy request postmannen 2024-12-01 22:17:58 +01:00
  • 93ad86a150 added debug postmannen 2024-12-01 08:04:26 +01:00
  • 58d47e1a75 added error printing in file copy postmannen 2024-12-01 07:37:50 +01:00
  • 49be8947fa removed sams from channels postmannen 2024-12-01 03:08:40 +01:00
  • 9fca6d0b7f removed publisher channel on subject, and messages to publish are now directly published from the newMessagesCh postmannen 2024-12-01 02:15:53 +01:00
  • 5776baad37 set jetstream=true in nats server for testing cleanup1.2-various postmannen 2024-11-29 13:55:54 +01:00
  • 3ff67a5f1f renamed subject.messageCh to subject.publishMessageCh postmannen 2024-11-29 13:32:55 +01:00
  • c2031a66e7 renamed channels and publishers functions postmannen 2024-11-29 13:26:25 +01:00
  • 32565aad06 removed debug line when not canceling long running publishers postmannen 2024-11-27 13:25:32 +01:00
  • 91660f895f removed no longer needed compression and serialization flags postmannen 2024-11-27 13:19:06 +01:00
  • e898e3e81e removed old compression code from publisher postmannen 2024-11-27 13:16:59 +01:00
  • 97d5da948f renamed process spawnworker() to start() postmannen 2024-11-27 12:58:52 +01:00
  • 84a731f18a all messaging are using zstd for compression, and cbor for serializing postmannen 2024-11-27 12:54:06 +01:00
  • 10c468f6b7 added functions for handling cbor serializing and zstd compression, and swapped out json marshaling of jetstream message data with cbor and zstd postmannen 2024-11-27 11:30:43 +01:00
  • 5fee84c18a added flag for max jetstream messages to keep on broker per subject postmannen 2024-11-27 08:54:17 +01:00
  • f80a57e1c2 removed no longer relevant todo's postmannen 2024-11-27 08:43:44 +01:00
  • cdf660aa07 add NODES.all as jetstream subject, and updated doc postmannen 2024-11-27 08:34:49 +01:00
  • 9ea823293c debug jetstream1.1.1.1.1.1 postmannen 2024-11-25 18:03:12 +01:00
  • b821aebc03 debug postmannen 2024-11-24 23:18:18 +01:00
  • 23426114b8 debug postmannen 2024-11-24 23:13:49 +01:00
  • 08378167d5 debug postmannen 2024-11-24 23:08:56 +01:00
  • 188db8cd6f debug postmannen 2024-11-24 23:03:39 +01:00
  • 10d5373905 debug postmannen 2024-11-24 22:52:01 +01:00
  • 4edd0ba053 debug postmannen 2024-11-24 22:37:12 +01:00
  • eca56dcc2f debug, removed sending to errorkernel when checking for method existence postmannen 2024-11-24 22:32:47 +01:00
  • ddb8709797 debugging postmannen 2024-11-24 22:27:48 +01:00
  • 297ea81d27 more debugging print postmannen 2024-11-24 22:19:29 +01:00
  • 425553db57 debugging print, and removed subject filter from consumer postmannen 2024-11-24 22:04:08 +01:00
  • 25295c4095 debug jetstream1.1.1.1.1.1-squashed postmannen 2024-11-24 19:19:47 +01:00
  • ccac973422 added debug postmannen 2024-11-24 19:12:57 +01:00
  • b9934a7503 fixed missing creation of database directory jetstream1.1.1.1.1 postmannen 2024-11-22 21:47:48 +01:00
  • 693a6b819e removed startup struct postmannen 2024-11-22 21:17:03 +01:00
  • 8065eb248b added serializing and compression functions for jetstream postmannen 2024-11-22 20:36:55 +01:00
  • 20172a3806 added flag/env for streams to consume postmannen 2024-11-22 15:44:37 +01:00
  • ab0b0fbe24 added flags/env for starting up jetstream processes postmannen 2024-11-22 13:42:42 +01:00
  • 960a2c3588 initial poc of jetstream seems to be working. Rerouting messages with the jetstream field specified to the jetstream channel postmannen 2024-11-22 11:31:07 +01:00
  • 3a6a11ac71 added FilterSubjects postmannen 2024-11-21 22:23:24 +01:00
  • 6a0fdaf3ab renamed stream to nodes postmannen 2024-11-21 21:49:23 +01:00
  • 172dfd1b8c initial test of jetstream consmumer and publisher postmannen 2024-11-21 21:29:06 +01:00