114 Commits

Author SHA1 Message Date
Alexandre
7f56374ec1 Use mktemp_safe for temporary file generation
Replaced mktemp with mktemp_safe for safer temporary file creation.
2026-01-09 09:25:23 +01:00
Alexandre
ea25783a73 Initialize .env in env export templates 2025-12-27 10:16:44 +01:00
Alexandre
8945d624f5 Update 00-global_var.sh 2025-12-27 09:42:11 +01:00
Alexandre
4944b74d5e Refactor global variable script for better handling
Refactor global variable script to improve readability and maintainability. Added support for handling secrets and environment variables more effectively.
2025-11-25 15:57:30 +01:00
Alexandre
2bf211bdaa Update 00-global_var.sh 2025-11-24 13:16:42 +01:00
alexbelgium
8353aafb36 fix: auto-fix linting issues 2025-11-09 00:33:35 +00:00
Alexandre
e226089cfd Enhance logging for addon options conversion
Added logging messages to inform users about environment variable conversion.
2025-11-07 09:01:21 +01:00
Alexandre
eee55f7112 Improve extraction of environment variables
Refactor environment variable extraction to preserve multiline values.
2025-11-06 19:36:06 +01:00
Alexandre
3b4ccf7170 Improve env_vars export handling 2025-11-06 18:52:06 +01:00
Alexandre
372355bd78 Refactor export_option function for better handling
Refactor environment variable export logic to handle array values and streamline secret detection.
2025-11-06 16:10:48 +01:00
Alexandre
fb96bc2bc3 Fix python-dotenv error
https://github.com/alexbelgium/hassio-addons/issues/1998#issuecomment-3274113878
2025-09-10 14:19:12 +02:00
Alexandre
690ee8cf63 Correct space escaping in global_var.sh 2025-08-25 15:21:45 +02:00
Alexandre
5ea57ef574 Escape exports 2025-08-14 13:00:49 +02:00
Alexandre
aa62669623 Update 00-global_var.sh 2025-08-14 12:58:26 +02:00
Alexandre
2a3e62b9a5 Update 00-global_var.sh 2025-07-31 14:52:41 +02:00
alexbelgium
f5428e0950 fix: auto-fix linting issues 2025-07-23 08:58:09 +00:00
Alexandre
b12bbbf41b Update 00-global_var.sh 2025-07-19 21:37:16 +02:00
github-actions
08256b7d99 GitHub bot: fix linting issues (nobuild) 2025-07-15 14:48:10 +00:00
github-actions
c6e5dc8f6b GitHub bot: fix linting issues (nobuild) 2025-07-15 14:40:38 +00:00
alexbelgium
67a3ca07d9 fix: auto-fix linting issues 2025-07-15 14:37:22 +00:00
github-actions
6d6707af23 GitHub bot: fix linting issues (nobuild) 2025-07-15 14:31:08 +00:00
alexbelgium
ef025234fb fix: auto-fix linting issues 2025-07-13 00:35:25 +00:00
Alexandre
9b1fa5b634 Revert 2025-07-09 09:43:10 +02:00
github-actions
5855343308 GitHub bot: fix linting issues (nobuild) 2025-07-09 07:41:22 +00:00
Alexandre
9d9ccb4fea Sanitize in line 2025-07-09 09:39:43 +02:00
Alexandre
e54a40e088 Revert 2025-07-08 13:10:59 +02:00
github-actions
82dc1a683d GitHub bot: fix linting issues (nobuild) 2025-07-08 10:06:31 +00:00
Alexandre
c7a7d00073 Update 00-global_var.sh 2025-07-08 12:04:57 +02:00
github-actions
6df4c2cd01 GitHub bot: fix linting issues (nobuild) 2025-07-08 09:30:08 +00:00
Alexandre
852be20e2f Sanitize 2025-07-08 11:28:33 +02:00
github-actions
54e7b890e6 GitHub bot: fix linting issues (nobuild) 2025-07-08 09:04:46 +00:00
Alexandre
f183d6bc75 Improve sanitize 2025-07-08 11:03:02 +02:00
Alexandre
f3377343d1 Make escape relevant 2025-07-08 10:31:22 +02:00
Alexandre
be1b93c948 Avoid sanitize if not needed 2025-07-08 10:21:02 +02:00
github-actions
881331420c GitHub bot: fix linting issues (nobuild) 2025-07-08 07:51:56 +00:00
Alexandre
25e3b2f35d Fix operator 2025-07-08 09:50:19 +02:00
github-actions
d696b895ac GitHub bot: fix linting issues (nobuild) 2025-07-08 07:31:34 +00:00
Alexandre
3bb206e5b2 Sanitize variables 2025-07-08 09:29:55 +02:00
alexbelgium
f728166b14 fix: auto-fix linting issues 2025-06-10 10:06:17 +00:00
Alexandre
c35de2ec28 Update 00-global_var.sh 2025-02-11 19:01:34 +01:00
Alexandre
0dbc7ffb8c Update 00-global_var.sh 2025-02-11 15:03:48 +01:00
Alexandre
cb2a616633 Do not show arrays content
https://github.com/alexbelgium/hassio-addons/issues/1742#issuecomment-2617938514
2025-01-28 11:20:13 +01:00
Alexandre
f532c0e1bc Hide both pass* and PASS*
https://github.com/alexbelgium/hassio-addons/issues/1587
2024-10-06 15:47:11 +02:00
Alexandre
17ddd19fa8 Update 00-global_var.sh 2024-04-24 15:47:56 +02:00
Alexandre
2d0e85cde0 Update 00-global_var.sh 2024-04-24 13:37:42 +02:00
Alexandre
fc5af53b36 Escape \ in env.py
https://github.com/alexbelgium/hassio-addons/issues/1352
2024-04-24 13:32:14 +02:00
Alexandre
18084334ce Remove \ that break env.py
https://github.com/alexbelgium/hassio-addons/issues/1352
2024-04-24 13:20:07 +02:00
Alexandre
db941f232c Update 00-global_var.sh 2024-01-09 11:47:45 +01:00
Alexandre
84b1b868f6 Update 00-global_var.sh 2024-01-08 22:20:25 +01:00
Alexandre
0f0891b286 Allow both configs
https://github.com/alexbelgium/hassio-addons/issues/1163#issuecomment-1881771328
2024-01-08 21:53:50 +01:00