Alex X
212def9ceb
Update app dev version format
2025-12-22 17:22:22 +03:00
Alex X
079d404ed0
Set app version from git info
2025-12-18 19:02:10 +03:00
Alex X
15ec995ecc
Add config for the list of modules to init
2025-11-11 15:10:24 +03:00
Alex X
fe2cc4b525
Code refactoring for #1744
2025-10-07 15:15:04 +03:00
seydx
670370056c
Refactor secrets management
2025-09-30 15:35:32 +02:00
seydx
abd61919cf
Merge branch 'master' of https://github.com/AlexxIT/go2rtc into secrets-file
2025-09-26 15:15:59 +02:00
Alex X
45cbbaf1cf
Fixed a race condition when changing the config file
2025-09-19 15:26:54 +03:00
seydx
bf45f64a7e
- refactor secrets
...
- add support for env in config
- redact sensitive information in logs/responses
2025-05-26 21:56:45 +02:00
seydx
e0687db9e2
add template parsing
2025-05-20 23:07:04 +02:00
seydx
24310e2f7a
remove parse
2025-05-20 22:44:07 +02:00
seydx
a1f0b86ab3
format
2025-05-20 22:29:27 +02:00
seydx
7f87c6e478
refactor
2025-05-20 21:40:33 +02:00
seydx
2fcbb1d836
refactor
2025-05-20 15:51:15 +02:00
seydx
e5e55b7a50
improve secret vars and parse url with secrets
2025-05-20 13:05:11 +02:00
seydx
0830d8342e
add secret management functions
2025-05-20 12:07:46 +02:00
Alex X
830e476120
Fix data race for memory logger #1487
2025-03-08 14:11:29 +03:00
Alex X
a15deedf0d
Fix YAML patch in some cases #1626
2025-03-07 21:44:23 +03:00
Alex X
2ad0ded73f
Merge branch 'master' into feat-logging-to-file
2025-02-24 16:25:08 +03:00
Alex X
7fd0ec8ce6
Code refactoring for logs to file
2025-02-24 15:21:37 +03:00
Andrew Marshall
7640a42bfc
Read from credential files
...
See https://systemd.io/CREDENTIALS/ . This will also work for Docker
Secrets by setting `CREDENTIALS_DIRECTORY=/run/secrets`.
2024-11-10 17:33:22 -05:00
Alex X
db6745e8ff
Code refactoring after #1168
2024-06-18 20:35:17 +03:00
Sergey Krashevich
72d7e8aaaa
refactor(app): remove syscall import and improve error messages
2024-06-08 15:05:26 +03:00
Sergey Krashevich
ac798d9d6d
fix(log): handle log file open error by writing to stdout
2024-06-06 19:07:09 +03:00
Sergey Krashevich
b389d0eb9c
fix(app): handle daemon process correctly on Unix systems
2024-06-06 18:54:40 +03:00
Sergey Krashevich
e46fc13fea
fix(log): ensure fallback to stdout if log file open fails
2024-06-06 18:25:30 +03:00
Sergey Krashevich
bce0b4a8a0
feat(logging): add file output option for logging configuration
2024-06-06 18:20:44 +03:00
Alex X
bf303ed471
Fix -d flag
2024-06-06 17:58:31 +03:00
Alex X
e3188a0a6d
Update docs about config
2024-06-06 15:21:32 +03:00
Alex X
756be9801e
Code refactoring for app module
2024-06-02 07:00:29 +03:00
Alex X
a6b9b4993f
Code refactoring after #1141
2024-05-28 13:21:33 +03:00
Sergey Krashevich
791239be12
Merge branch 'master' into feat-log-terminal-check
2024-05-28 09:15:01 +03:00
Sergey Krashevich
a79061c7c2
feat(logging): add interactive shell detection for console output
2024-05-28 09:10:51 +03:00
Alex X
8cb513cb89
Add log level for ffmpeg module
2024-05-27 20:24:24 +03:00
Alex X
4534b4d8ca
Add more log customization options
2024-05-26 21:28:34 +03:00
Alex X
b2399f3bb3
Update version to 1.9.2
2024-05-17 15:57:11 +03:00
Alex X
8f2bb3f34b
Add support key=value pair for cli config
2024-05-13 14:14:28 +03:00
Alex X
874c07b887
Code refactoring for #1107
2024-05-13 12:42:55 +03:00
Sergey Krashevich
dd7ea2657a
feat(app): enhance CLI with shorthand flags and dynamic versioning
...
- Added shorthand flag support for `config`, `daemon`, and `version`
- Implemented dynamic version string generation using build info
- Updated flag usage output to include shorthand options and help command
2024-05-12 22:10:58 +03:00
Sergey Krashevich
eaba451a47
refactor(app): streamline version info retrieval and formatting
2024-05-12 06:46:45 +03:00
Sergey Krashevich
b7c11db604
feat(version): enhance version command output with VCS revision and timestamp
2024-05-12 06:36:25 +03:00
Alex X
ee387b79e1
Update version output
2024-05-09 08:21:19 +03:00
Alex X
a9f2b5158c
Update version to 1.9.1
2024-05-06 20:35:28 +03:00
Alex X
9c98f5e769
Update version to 1.9.0
2024-04-30 14:38:59 +03:00
Alex X
c7af5028be
Code fix after #963
2024-04-29 10:32:42 +03:00
Alex X
ee5c663467
Code refactoring after #963
2024-04-29 07:51:53 +03:00
Sergey Krashevich
3afe8d7c1d
fix(daemon-mode): handle '-daemon' argument correctly for background execution
...
This commit fixes the issue where the '-daemon' argument was not being properly handled when re-executing the program in daemon mode. The loop removes the '-daemon' flag from the arguments slice before the program is re-run in the background, ensuring that subsequent executions do not attempt to enter daemon mode again.
The change will prevent potential errors or unexpected behavior due to the presence of the '-daemon' argument in recursive calls, making the daemon mode feature more robust and reliable.
2024-02-24 13:04:18 +03:00
Sergey Krashevich
15c27e16cc
feat(app): support daemon mode on non-Windows platforms
...
Added a new command-line flag `-daemon` to run the application in the background as a daemon. This option is only available for non-Windows operating systems due to platform-specific process handling. When enabled, the application restarts itself with the same arguments except for the `-daemon` flag, prints the PID of the background process, and then exits the current process.
2024-02-24 10:33:02 +03:00
Alex X
ccec41a10f
Update version to 1.8.5
2024-01-01 09:34:44 +03:00
Alex X
d3bc18c369
Logs refactoring after #780
2023-12-11 18:07:38 +03:00
Sergey Krashevich
0a8ab9bbd1
Update app.go to remove the unused variable LogFilePath
2023-12-05 17:50:51 +03:00