1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-14 12:37:31 +00:00
Commit graph

192 commits

Author SHA1 Message Date
postmannen
3ff67a5f1f renamed subject.messageCh to subject.publishMessageCh 2024-11-29 13:32:55 +01:00
postmannen
c2031a66e7 renamed channels and publishers functions 2024-11-29 13:26:25 +01:00
postmannen
97d5da948f renamed process spawnworker() to start() 2024-11-27 12:58:52 +01:00
postmannen
84a731f18a all messaging are using zstd for compression, and cbor for serializing 2024-11-27 12:54:06 +01:00
postmannen
10c468f6b7 added functions for handling cbor serializing and zstd compression, and swapped out json marshaling of jetstream message data with cbor and zstd 2024-11-27 11:30:43 +01:00
postmannen
f80a57e1c2 removed no longer relevant todo's 2024-11-27 08:43:44 +01:00
postmannen
cdf660aa07 add NODES.all as jetstream subject, and updated doc
added handling of consumed jetstream messages, and fixed a read error with readFolder which sometimes read empty content

newMessagesCh now takes single sam instead of []sams

added jetstream publish channel
2024-11-27 08:34:49 +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
postmannen
f0c84f48db injected server directly procs 2022-04-01 07:09:55 +02:00
postmannen
d69634a706 added helloRegister and centralAuth to server 2022-04-01 05:46:37 +02:00
postmannen
7e71064adf replaced log statements with errorKernel logger 2022-02-18 09:51:11 +01:00
postmannen
def4bd8e58 removed debug printing 2022-02-11 09:04:14 +01:00
postmannen
5fa3f593e7 removed errorCh from newProcess arguments 2022-02-07 06:42:17 +01:00
postmannen
b3630f62c4 moved signatures into signatures.go 2022-02-07 04:23:13 +01:00
postmannen
426b98941e moved the ownership of signatures server from processes 2022-02-04 10:33:31 +01:00
postmannen
521702fa53 initial signature verification 2022-02-04 06:24:34 +01:00
postmannen
11991d95ff generating signing keys 2022-02-02 08:54:36 +01:00
postmannen
1fa45b1293 changed message.Data from []string to []byte 2022-01-31 08:49:46 +01:00
postmannen
4390d494f4 updated comments with references to command to just have for the event type 2022-01-27 14:25:24 +01:00