- Dec 02, 2024
-
-
Michal Hrusecky authored
* make notification more likely to pass through the spam filter
-
Lukas Jelinek authored
-
Lukas Jelinek authored
-
- Feb 28, 2023
-
-
Michal Vasilek authored
* fix reboot scheduling at the end of the month
-
- Feb 14, 2023
-
-
Michal Vasilek authored
Previously we were just adding n days to the date string which didn't work at the end of the month. This caused the notification about the reboot to not contain the date of the scheduled reboot. Calculating with unix time is much more reliable. This solution was proposed by Andrew Latham in #10 (comment 261465)
-
- Jan 11, 2023
-
-
Michal Hrusecky authored
* limit number of characters for ntfy.sh to 4000 * make sure we send ntfy.sh notification only once
-
- Jan 06, 2023
-
-
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.
-
- Dec 20, 2022
-
-
Michal Hrusecky authored
Adding ntfy support
-
Michal Hrusecky authored
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
-
- Jul 27, 2022
-
-
Martin Matějek authored
-
- Jul 26, 2022
-
-
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>
-
- Oct 19, 2020
-
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
And simplify `install` target
-
- Jun 29, 2020
-
-
Vojtech Myslivec authored
-
- Apr 24, 2020
-
-
Vojtech Myslivec authored
-
- Apr 20, 2020
-
-
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
-
- Mar 23, 2020
-
-
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.
-
- Jul 15, 2019
-
-
Vojtech Myslivec authored
-
- May 13, 2019
-
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
-
- Apr 26, 2019
-
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
-
Vojtech Myslivec authored
-