Ben Banfield-Zanin
63ea363594
git ls-files | xargs sed -i '/^\/\/ Copyright .* New Vector Ltd/a \/\/ Copyright 2025 Element Creations Ltd'
2025-10-27 09:36:54 +00:00
Ben Banfield-Zanin
c8303c96c4
gofmt -w matrix-tools
2025-10-09 14:37:07 +01:00
Gaël Goinvic
bc7069a364
matrix-tools: refactor subcommands
2025-07-02 14:07:01 +02:00
Gaël Goinvic
bbc5d947c7
matrix-tools: add syn2mas capabilities
2025-06-05 15:16:43 +02:00
Gaël Goinvic
688e3dc66a
matrix-tools: implement marker secret key
2025-05-28 15:16:15 +02:00
Gaël Goinvic
feda7fa2b7
matrix-tools: fix permissions to 0664 to 0440
2025-04-04 17:53:11 +02:00
Gaël Goinvic
273099b421
Licensing to AGPL-3.0-only
2025-03-20 14:15:02 +01:00
Gaël Goinvic
b75fab1d1c
matrix-tools: configFiles -> paths
2025-02-11 18:15:49 +01:00
Gaël Goinvic
5f75fc036f
matrix-tools: internal command handling refactoring
2025-02-11 17:49:26 +01:00
Gaël Goinvic
99d6baf13a
matrix-tools: replace -debug with env var
2025-02-07 12:42:55 +01:00
Gaël Goinvic
508463913c
matrix-tools: add linebreak before debugging
2025-02-07 12:42:54 +01:00
Gaël Goinvic
f878e8a219
mas: and integration env file
2025-02-07 12:42:53 +01:00
Gaël Goinvic
11972394cd
matrix-tools: better logging
2025-02-05 10:52:57 +01:00
Gaël Goinvic
064c169a8f
Refactor secret generation to include labels and improve validation
...
- Add secret labels parameter to GenerateSecret function
- Update secret creation and update logic to use new parameter
- Validate if secret is managed by matrix-tools-init-secrets before updating
- Adjust test cases to reflect new functionality
- Refactor test case structure for clarity
2025-02-04 17:03:10 +01:00
Gaël Goinvic
1807b674ba
matrix-tools: add generate-secrets command
2025-02-04 17:03:10 +01:00
Gaël Goinvic
d0a08695c8
Refactor file reading to include proper closure handling
...
- Add file closure handling in main.go
- Update ReadFiles function to return close functions
- Modify template rendering to use >- for multi-line strings
- Add matrixTools configuration in pytest-synapse-values.yaml
- Correct variable name in synapse_statefulset.yaml
2025-01-28 14:19:45 +01:00
Gaël Goinvic
a569de9f0c
Refactored file handling in renderer to improve flexibility and readability
...
- Introduced `ReadFiles` function to handle file opening
- Updated `RenderConfig` to accept `io.Reader` instead of filenames
- Removed direct file access logic from `RenderConfig`
- Ensured error handling is consistent across all paths
2025-01-28 12:27:41 +01:00
Gaël Goinvic
4e25b21135
args: use flags package
2025-01-28 10:53:05 +01:00
Gaël Goinvic
ad6902f72f
remove unnecessary debug prints
2025-01-27 16:23:20 +01:00
Gaël Goinvic
81cb64e447
move args to internal pkg
2025-01-27 16:23:19 +01:00
Gaël Goinvic
e33701e44d
add tests for args parsing
2025-01-27 16:23:19 +01:00
Gaël Goinvic
0a2b73fe32
add tests for rendering & tcp wait
2025-01-27 16:23:19 +01:00
Gaël Goinvic
abecd16a32
matrix-tools: add wait for tcp + hostname injection features
2025-01-27 14:35:18 +01:00
Gaël Goinvic
5a0ac6a7a3
print yaml instead of json
2025-01-27 12:44:13 +01:00
Gaël Goinvic
071dc4c516
fix reuse licenses
2025-01-27 11:10:32 +01:00
Gaël Goinvic
643957ee24
matrix-tools: initialize renderer features
2025-01-27 11:03:01 +01:00