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

103 commits

Author SHA1 Message Date
postmannen
3a31ced938 Squashed commit of the following:
implemented reading and embedding the content of a local file with {{CTRL_FILE}}

fixed error with not found filename in copy test, remove debug logs

seedfile: removed deletion, and changed file permissions to 600

created flags for profiling

renamed startup.subscriber to startup.startProcess

created a separate method for helloPublisher

removed processKind, og removed not needed file check in copy request

removed sams from channels

removed publisher channel on subject, and messages to publish are now directly published from the newMessagesCh

removed no longer needed compression and serialization flags.

all messaging are using zstd for compression, and cbor for serializing

added functions for handling cbor serializing and zstd compression, and swapped out json marshaling of jetstream message data with cbor and zstd

added flag for max jetstream messages to keep on broker per subject
2024-12-03 16:17:33 +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
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
6989297a66 add version flag 2023-04-12 09:56:08 +02:00
postmannen
b3a85d0283 setting default console log level to debug 2023-01-12 13:37:22 +01:00
postmannen
68093b9f43 added description i logging flags 2023-01-12 12:06:29 +01:00
postmannen
d0d3ef8b39 initial declaration of slog logger 2023-01-11 06:09:42 +01:00
postmannen
6aecc9c22b fixed case for readFolder config 2023-01-10 08:30:06 +01:00
postmannen
541f243067 added group permissions for files/directories created 2023-01-10 06:50:28 +01:00
postmannen
956a62eec1 Fixed typo in comment of configuration 2023-01-09 04:25:03 +01:00
postmannen
d348ab156f added initial readfolder 2023-01-08 08:32:58 +01:00
postmannen
11b0444929 up toml pkg to v2, added comments to config file 2022-06-23 09:36:46 +02:00
postmannen
b187fc8a13 updated readme 2022-06-22 08:59:03 +02:00
postmannen
9c6ede458a added feature to turn of message persist to disk 2022-06-21 16:44:39 +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
6f10ed9ecd Added startup flags for new copy src and dst methods 2022-06-09 05:59:37 +02:00
postmannen
2c9b7919b3 renamed flag StartSubREQErrorLog to IsCentralErrorLogger 2022-06-03 06:02:27 +02:00
postmannen
368ac6e661 replaced keys/acl startREQ flags with enable flag 2022-05-30 07:14:15 +02:00
postmannen
535d5efb08 added flag enableAclCheck 2022-05-27 06:22:51 +02:00
postmannen
587e23c91d added separate timer and starting for acl updates 2022-05-26 08:07:23 +02:00
postmannen
041d59be22 changed name for keys requests 2022-05-24 07:21:48 +02:00
postmannen
102cfd43c9 Renamed REQPublicKeysPut to REQPublicKeysToNode 2022-04-20 06:26:01 +02:00
postmannen
eaf164c9d7 using flag isCentralAuth to start subREQPublicKeysGet, also handling the keys as a []byte 2022-04-07 14:18:28 +02:00
postmannen
b669dc537c initial key distribution testing 2022-04-07 09:34:06 +02:00
postmannen
481055d5cf reading correct key 2022-04-05 12:02:45 +02:00
postmannen
567209cacf hello reigster contains signatures of nodes 2022-04-04 10:29:14 +02:00
postmannen
47a0c47e15 added reading of user nkey into configuration 2022-04-04 07:44:44 +02:00
postmannen
8585086cda added REQToFileNACK 2022-03-04 15:02:43 +01:00
postmannen
f32aa2d89b added flag for debugLogging 2022-02-18 06:24:27 +01:00
postmannen
a26f596169 set default for enable errorLog to false 2022-02-16 09:43:25 +01:00
postmannen
e421f359cd updated docker compose scripts and dockerfile flags 2022-02-14 05:52:17 +01:00
postmannen
b11b8d6baf added REQHttpGetScheduled 2022-02-11 07:27:51 +01:00
postmannen
fbeb3bf9f6 added flag purgeBufferDB 2022-02-10 06:19:13 +01:00
postmannen
9ba211d2fc added centralAuth struct, renamed flag allowEmptySignature to enableSignatureCheck 2022-02-09 14:59:40 +01:00
postmannen
3f48002a23 added flag isCentralAuth 2022-02-09 09:06:06 +01:00
postmannen
13a79a8962 added allowEmptySignature flag 2022-02-03 11:11:21 +01:00
postmannen
a4c2069fea add config and flag for enableTUI 2022-01-07 11:17:10 +01:00
postmannen
248258d8e8 moved socket creation into own function 2022-01-07 07:21:21 +01:00
postmannen
f6e667dd82 added gzip compression 2022-01-03 12:30:28 +01:00
postmannen
0d0cd8c0b6 del console output, add flag for block profiling 2021-12-31 06:59:09 +01:00
postmannen
37084768f7 added flag for cbor 2021-12-29 06:17:40 +01:00
postmannen
35b4462cf4 added zstd decoder to subscriber 2021-12-28 12:05:09 +01:00
postmannen
f543127cb6 initiallly implemented compression on publisher 2021-12-27 11:40:29 +01:00
postmannen
a7cbe5b1b4 add compression flag 2021-12-26 07:16:14 +01:00