1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2025-01-07 04:49:17 +00:00
Commit graph

203 commits

Author SHA1 Message Date
postmannen
9ea823293c debug 2024-11-25 18:03:12 +01:00
postmannen
b821aebc03 debug 2024-11-24 23:18:18 +01:00
postmannen
23426114b8 debug 2024-11-24 23:13:49 +01:00
postmannen
08378167d5 debug 2024-11-24 23:08:56 +01:00
postmannen
188db8cd6f debug 2024-11-24 23:03:39 +01:00
postmannen
10d5373905 debug 2024-11-24 22:52:01 +01:00
postmannen
4edd0ba053 debug 2024-11-24 22:37:12 +01:00
postmannen
eca56dcc2f debug, removed sending to errorkernel when checking for method existence 2024-11-24 22:32:47 +01:00
postmannen
ddb8709797 debugging 2024-11-24 22:27:48 +01:00
postmannen
297ea81d27 more debugging print 2024-11-24 22:19:29 +01:00
postmannen
425553db57 debugging print, and removed subject filter from consumer 2024-11-24 22:04:08 +01:00
postmannen
ccac973422 added debug 2024-11-24 19:12:57 +01:00
postmannen
b9934a7503 fixed missing creation of database directory 2024-11-22 21:47:48 +01:00
postmannen
8065eb248b added serializing and compression functions for jetstream 2024-11-22 20:36:55 +01:00
postmannen
960a2c3588 initial poc of jetstream seems to be working. Rerouting messages with the jetstream field specified to the jetstream channel 2024-11-22 11:31:07 +01:00
postmannen
815f00141d added streamInfo to process type, and also added it as input to new process. 2024-11-21 10:09:49 +01:00
postmannen
6b1c259373 added Nats to the naming of the processKind constants, and added added 2 new for Jetstream 2024-11-21 05:28:56 +01:00
postmannen
7b2d5fc96f added initial jetstream field to process struct, and renamed process.spawnWorker to process.start. 2024-11-21 04:54:55 +01:00
postmannen
6c615591a6 Squashed commit of the following:
commit 2a5cb441ff8c3f3f4404c49188c16afdb701cd42
Author: postmannen <postmannen@gmail.com>
Date:   Tue Nov 19 06:46:58 2024 +0100

    updated doc

commit a97d2dd4fd162a45dcf8f80d833a31bdc7e0b817
Author: postmannen <postmannen@gmail.com>
Date:   Tue Nov 19 06:25:57 2024 +0100

    renamed the various naming for channels where new messages are put to newMessagesCh

commit 3c840eb718358bb55d9e1c58692517e4bbbb5f4d
Author: postmannen <postmannen@gmail.com>
Date:   Tue Nov 19 05:08:55 2024 +0100

    Restructured configuration, and added a StartProcesses struct for the flags that are for starting processes
2024-11-19 20:28:26 +01:00
postmannen
b1a5406598 Squashed commit of the following:
commit ec6ea8158d5051010c25ef848a7b7b91fa40efef
Author: postmannen <postmannen@gmail.com>
Date:   Tue Nov 19 03:48:03 2024 +0100

    Removed remaining use of REQ in naming

commit b80bb06a47cf564a88d684c1d1d4fe2e408c3c0f
Author: postmannen <postmannen@gmail.com>
Date:   Mon Nov 18 23:15:32 2024 +0100

    removed REQ in more variable names, including methods

commit af7f6fef3e0093312d2ca12740f7b27840797800
Author: postmannen <postmannen@gmail.com>
Date:   Mon Nov 18 22:54:40 2024 +0100

    renamed all the method type variables

commit e657ecb37f
Author: postmannen <postmannen@gmail.com>
Date:   Mon Nov 18 22:32:13 2024 +0100

    renamed methods constant values and removed REQ
2024-11-19 03:48:42 +01:00
postmannen
2fb43591ce updated readme
removed example for no longer existing relay messages
cleaned up comments
Removed some remaings after REQToFileNACK
Implemented env variables for all flags, and removed config flag. Also added use of .env file.
removed configuration as input argument from all the loggers
replaced logging of new messages in read folder with a logDebug so we don't send those messages to the error kernel
2024-03-27 12:48:17 +01:00
postmannen
cef1170233 fixed removal of tmp nkey file, added docker compose example, and added debug logging for when messages are read from the readfolder 2024-03-10 07:24:09 +01:00
postmannen
c098c623f1 cleaned up no longer used code 2024-03-08 22:55:21 +01:00
postmannen
fc6e80b1bf fixed linter errors, and added the direct use of nkey as flag 2024-03-07 23:17:24 +01:00
postmannen
69995f76ca updated package info
updated references
removed tui client
removed ringbuffer persist store
removed ringbuffer
enabled audit logging
moved audit logging to message readers
disabled goreleaser
update readme, cbor, zstd
removed request type ping and pong
update readme
testing with cmd.WaitDelay for clicommand
fixed readme
removed ringbuffer flag
default serialization set to cbor, default compression set to zstd, fixed race,
removed event type ack and nack, also removed from subject. Fixed file stat error for copy log file
removed remaining elements of the event type
removed comments
renamed toRingbufferCh to samToSendCh
renamed directSAMSCh ro samSendLocalCh
removed handler interface
agpl3 license
added license-change.md
2024-02-07 22:54:50 +01:00
postmannen
59b0d7d5d9 Use ed25519 ssh private key as nkey seed 2023-06-27 11:49:46 +02:00
postmannen
8c8061dc15 renamed logConsoleOnlyIfDebug to logDebug 2023-01-12 12:03:10 +01:00
postmannen
807455119c Added x/slog for stderr logging 2023-01-11 08:38:15 +01:00
postmannen
d0d3ef8b39 initial declaration of slog logger 2023-01-11 06:09:42 +01:00
postmannen
541f243067 added group permissions for files/directories created 2023-01-10 06:50:28 +01:00
postmannen
d348ab156f added initial readfolder 2023-01-08 08:32:58 +01:00
postmannen
eced76a85c initially removed dependency to NACK/ACK event type 2023-01-05 01:55:52 +01:00
postmannen
6a97d86ca0 removed done channel when publishing, and added make chan when creating sam 2023-01-04 09:14:04 +01:00
postmannen
2eff3c9cd3 restructured sync when publishing messages 2023-01-03 11:41:18 +01:00
postmannen
6f525162ea renamed data to sam in ringbuffer 2022-12-31 07:51:34 +01:00
postmannen
c12cf70620 handling of indivdual messages are now done in it's own goroutine, changed logic for ACK msg retries 2022-12-29 07:53:25 +01:00
postmannen
e19f306146 always create tmp folder 2022-12-21 07:17:47 +01:00
postmannen
d32bd09cd2 removed old debug information 2022-11-01 09:54:35 +01:00
postmannen
0ad2763ad1 fixed block when reading startup folder 2022-09-08 07:37:44 +02:00
postmannen
b3bb2e44a1 updated comments 2022-06-22 14:32:58 +02:00
postmannen
93a61d8ef3 tested flushing nats.Conn 2022-06-21 10:40:32 +02:00
postmannen
2688f2ba2c implemented ch for handling messages locally 2022-06-20 14:22:42 +02:00
postmannen
efc5df5b16 logging and comments 2022-06-18 00:15:18 +02:00
postmannen
b1bcefb949 terminating subproc publishers if inactive for given amount of time 2022-06-18 00:03:25 +02:00
postmannen
b8a2d3d5e7 removed copyFile<from/to> and relay request types 2022-06-16 23:32:44 +02:00
postmannen
1895fcb398 Changed message logic to handle REQSub sub requests 2022-06-14 07:05:38 +02:00
postmannen
731f628233 fixed wrong handling newpki when db is missing 2022-06-09 08:42:49 +02:00
postmannen
690d11194b persistent store of keys on node 2022-04-21 13:21:36 +02:00
postmannen
e0f0c4db18 added persistent storage for received public keys 2022-04-05 10:35:59 +02:00
postmannen
567209cacf hello reigster contains signatures of nodes 2022-04-04 10:29:14 +02:00