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

961 commits

Author SHA1 Message Date
postmannen
d7e6f2c922 updated todo 2024-12-03 16:11:24 +01:00
postmannen
636ed4855a update doc with CTRL_FILE 2024-12-03 16:01:22 +01:00
postmannen
4e6e4c515e implemented reading and embedding the content of a local file with {{CTRL_FILE}} 2024-12-03 15:39:15 +01:00
postmannen
dcdbc9308e removed \n in error printing 2024-12-02 15:45:16 +01:00
postmannen
adc8aab809 fixed error with not found filename in copy test, remove debug logs 2024-12-02 15:44:40 +01:00
postmannen
66c3307dd5 seedfile: removed deletion, and changed file permissions to 600 2024-12-02 07:29:29 +01:00
postmannen
fc2d1da165 created flags for profiling 2024-12-02 07:19:33 +01:00
postmannen
693e3e9fe5 renamed startup.subscriber to startup.startProcess 2024-12-02 05:32:41 +01:00
postmannen
b564e3ebef created a separate method for helloPublisher 2024-12-02 05:07:24 +01:00
postmannen
a83029c343 removed processKind, og removed not needed file check in copy request 2024-12-01 22:17:58 +01:00
postmannen
93ad86a150 added debug 2024-12-01 08:04:26 +01:00
postmannen
58d47e1a75 added error printing in file copy 2024-12-01 07:37:50 +01:00
postmannen
49be8947fa removed sams from channels 2024-12-01 03:08:40 +01:00
postmannen
9fca6d0b7f removed publisher channel on subject, and messages to publish are now directly published from the newMessagesCh 2024-12-01 02:15:53 +01:00
postmannen
5776baad37 set jetstream=true in nats server for testing 2024-11-29 13:55:54 +01:00
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
32565aad06 removed debug line when not canceling long running publishers 2024-11-27 13:25:32 +01:00
postmannen
91660f895f removed no longer needed compression and serialization flags 2024-11-27 13:19:06 +01:00
postmannen
e898e3e81e removed old compression code from publisher 2024-11-27 13:16:59 +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
5fee84c18a added flag for max jetstream messages to keep on broker per subject 2024-11-27 08:54:17 +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
debed0f791 Squashed commit of the following:
commit cde5c14c74
Author: postmannen <postmannen@gmail.com>
Date:   Mon Nov 18 19:24:17 2024 +0100

    updated doc

commit 26441819a2
Author: postmannen <postmannen@gmail.com>
Date:   Mon Nov 18 16:57:11 2024 +0100

    added book content and moved build files

commit 8ec3e8c21e
Author: postmannen <postmannen@gmail.com>
Date:   Mon Nov 18 11:27:32 2024 +0100

    more about messaging added to the book
2024-11-18 19:25:47 +01:00
postmannen
fc15c4dd63 Added book 2024-11-17 21:22:35 +01:00
postmannen
3d7064b6d8 shortened down README.md 2024-11-16 18:09:36 +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
34e0c5d1c6 Merge branch 'dev' into main 2024-03-08 22:57:11 +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
197d6550ab updated readme 2024-02-07 23:27:36 +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
c3b41d2954 update readme 2023-10-04 22:53:03 +02:00
postmannen
5c23fa409f comment 2023-06-30 05:28:42 +02:00
postmannen
11f434edde add comments for using ssh key for nkey 2023-06-27 11:58:10 +02:00
postmannen
59b0d7d5d9 Use ed25519 ssh private key as nkey seed 2023-06-27 11:49:46 +02:00
postmannen
1f95151da0 removed debug printing from ringbuffer 2023-06-21 12:08:17 +02:00
postmannen
1c7f47ffff added rpm to goreleaser 2023-06-20 07:55:01 +02:00
postmannen
e090c4d0c8 updated readme for request methods writing to sockets 2023-06-14 06:53:42 +02:00
postmannen
4c7ec43da2 removed not needed error check 2023-06-14 06:47:13 +02:00
postmannen
f23fa053f6 added check for correctness for path for copy messages 2023-06-09 09:09:37 +02:00
postmannen
b2215181e7 added source patch to copydstdone 2023-06-09 05:18:24 +02:00
postmannen
ea9738950d initial implementation where toFile also writes to sockets 2023-06-06 12:23:26 +02:00
postmannen
ce1eba687a added file info content to copyDstDone messages 2023-06-02 12:27:18 +02:00