aboutsummaryrefslogtreecommitdiffstats
path: root/telegram-chat.rsc
AgeCommit message (Collapse)AuthorFilesLines
2024-04-01telegram-chat: read file content...routeros-7.13-2change-126Gravatar Christian Hesse1-5/+4
... instead of getting it. This lifts the size limit, though we are still limited by Telegram message size. This requires RouterOS 7.13.
2024-03-21telegram-chat: note active state when answering broadcastGravatar Christian Hesse1-1/+1
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 errorGravatar Christian Hesse1-0/+11
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...
2024-01-30telegram-chat: fix concatenation (and retry with delay)Gravatar Christian Hesse1-1/+1
Ups... 😳
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 logicGravatar Christian Hesse1-3/+5
... with increasing delay.
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...Gravatar Christian Hesse1-7/+16
... and exit with a warning.
2023-10-17telegram-chat: make messages silent...Gravatar Christian Hesse1-2/+2
... at least those not indicating an error.
2023-10-16telegram-chat: use $ParseJson for all JSONGravatar Christian Hesse1-2/+1
2023-10-16telegram-chat: do not act on foreign reply...Gravatar Christian Hesse1-1/+2
... even if active!
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/addrouteros-7.9beta4-9Gravatar Christian Hesse1-4/+4
We have no content, thus no issues with file size.
2023-09-15telegram-chat: use the full command name :executeGravatar Christian Hesse1-1/+1
2023-03-07rename scripts and add file extension ".rsc"change-95Gravatar Christian Hesse1-0/+150
No functional change for the user... The migration is done automatically.