aboutsummaryrefslogtreecommitdiffstats
path: root/telegram-chat.rsc
AgeCommit message (Expand)AuthorFilesLines
2024-03-21telegram-chat: improve readability with symbolsGravatar Christian Hesse1-6/+9
2024-03-12telegram-chat: switch to $LogPrintGravatar Christian Hesse1-13/+16
2024-03-12telegram-chat: drop main function, use :do with on-errorGravatar Christian Hesse1-6/+4
2024-03-12telegram-chat: error when making directory failsGravatar Christian Hesse1-1/+3
2024-03-12global-functions: $ScriptLock: do not exit from global functionGravatar Christian Hesse1-1/+3
2024-03-04telegram-chat: move code into functionGravatar Christian Hesse1-128/+133
2024-01-30telegram-chat: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-30telegram-chat: add (and increase) random delay on error•••Chances are that two devices schedule the script (nearly) simultaneously. Causing a lot of failures from fetch. Instead of forcing a retry on *every* invocating we add (and increase) a random delay, that is slowly decreasd on success. This should minimize failures... Gravatar Christian Hesse1-0/+11
2024-01-30telegram-chat: fix concatenation (and retry with delay)•••Ups... 😳 Gravatar Christian Hesse1-1/+1
2024-01-01update copyright for 2024Gravatar Christian Hesse1-1/+1
2023-11-22telegram-chat: get rid of '.txt' file extensionGravatar Christian Hesse1-3/+3
2023-10-19telegram-chat: rework the retry logic•••... with increasing delay. Gravatar Christian Hesse1-3/+5
2023-10-19telegram-chat: log when sending noticeGravatar Christian Hesse1-0/+1
2023-10-19telegram-chat: drop extra conversionGravatar Christian Hesse1-1/+1
2023-10-17telegram-chat: retry on fetch failure...•••... and exit with a warning. Gravatar Christian Hesse1-7/+16
2023-10-17telegram-chat: make messages silent...•••... at least those not indicating an error. Gravatar Christian Hesse1-2/+2
2023-10-16telegram-chat: use $ParseJson for all JSONGravatar Christian Hesse1-2/+1
2023-10-16telegram-chat: do not act on foreign reply...•••... even if active! Gravatar Christian Hesse1-1/+2
2023-10-16telegram-chat: rename variableGravatar Christian Hesse1-3/+3
2023-10-16telegram-chat: answer question mark with short noticechange-106-2Gravatar Christian Hesse1-1/+7
2023-10-16telegram-chat: restore indentionGravatar Christian Hesse1-25/+25
2023-10-16telegram-chat: do not nest conditionsGravatar Christian Hesse1-3/+4
2023-10-16telegram-chat: act on reply without delayGravatar Christian Hesse1-4/+4
2023-10-16telegram-chat: act on reply from selfchange-106-1Gravatar Christian Hesse1-1/+3
2023-10-16global-functions: make $ParseJson globalGravatar Christian Hesse1-26/+1
2023-10-16telegram-chat: parse (one level of) JSON into arrayGravatar Christian Hesse1-33/+41
2023-10-16telegram-chat: do not cover existing variableGravatar Christian Hesse1-3/+3
2023-09-15telegram-chat: create status files with /file/add•••We have no content, thus no issues with file size. routeros-7.9beta4-9Gravatar Christian Hesse1-4/+4
2023-09-15telegram-chat: use the full command name :executeGravatar Christian Hesse1-1/+1
2023-03-07rename scripts and add file extension ".rsc"•••No functional change for the user... The migration is done automatically. change-95Gravatar Christian Hesse1-0/+150