- 11 Jan, 2023 1 commit
-
-
Michal Hrusecky authored
* limit number of characters for ntfy.sh to 4000 * make sure we send ntfy.sh notification only once
-
- 06 Jan, 2023 2 commits
-
-
Michal Hrusecky authored
Add stamps for ntfy as well to make sure that the message is sent just once. Up to now when ntfy was enabled and e-mails disabled, message queue was processed every five minutes and notifications were sent all over again till they were dismissed or mailed.
-
Michal Hrusecky authored
ntfy has a limit of 4000 characters per message, otherwise massage is handled as an attachment and treated differently. This way we make sure our notifications fit within the limit.
-
- 20 Dec, 2022 2 commits
-
-
Michal Hrusecky authored
Adding ntfy support
-
ntfy [1] is the free and open-source service that can push notifications to your phone or desktop. By default, I decided to use high priority [2] which allows to have pop-over notification with a default notification sound. [1] https://ntfy.sh/ [2] https://docs.ntfy.sh/publish/#message-priority
-
- 27 Jul, 2022 1 commit
-
-
Martin Matějek authored
-
- 26 Jul, 2022 4 commits
-
-
Martin Matějek authored
-
Martin Matějek authored
-
Martin Matějek authored
-
Now we get the exact restart time including the timezone. It fixes the ambiguity of scheduled restart time, in case there are multiple Turris devices located within different timezones. Closes: #11 [Add timezone to cs timestamp as well.] Co-authored-by:
Martin Matějek <martin.matejek@nic.cz>
-
- 19 Oct, 2020 2 commits
-
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
And simplify `install` target
-
- 29 Jun, 2020 1 commit
-
-
Vojtech Myslivec authored
-
- 24 Apr, 2020 1 commit
-
-
Vojtech Myslivec authored
-
- 20 Apr, 2020 14 commits
-
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
- Avoid unreadable spaghetti code - Avoid to access inexistent message files - Which leads to failed command - And generates useless error messages - Generate warning when no message text is found Also drop evaluation of escape characters in the file
-
Vojtech Myslivec authored
Cycle through files properly, simplify cycle variable and avoid evaluation of subshell stdout
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
- The value of `compat` variable was in fact negated - New (and preffered) way to call the script was not included in usage - Also generate a warning when running in compatible mode
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
Rely on PATH env variable
-
Vojtech Myslivec authored
- Compare string rather than execute variables content (which is potentially insecure) - Do not evaluate variables in arithmetic environment
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
-
- 23 Mar, 2020 1 commit
-
-
Martin Matějek authored
Even though notification with empty message is not the expected kind of notification and it make no sense to create such notification, list_notification should export expected json structure and fallback to empty string in its output.
-
- 15 Jul, 2019 1 commit
-
-
Vojtech Myslivec authored
-
- 13 May, 2019 2 commits
-
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
-
- 26 Apr, 2019 7 commits
-
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
`exit` is trapped to call unlock anyway
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
- mail_from is needed in compose_message and create_msmtp_config - defined turris_smtp comes handy
-
- 25 Apr, 2019 1 commit
-
-
Vojtech Myslivec authored
-