Commit Graph
100 Commits
Author SHA1 Message Date
dymik739 f1f69b4395 auto-schedule-pro-v2: add support for updated schedule v2 "consulting" lesson type 2023-11-06 18:39:31 +02:00
dymik739 56c45d1beb core: cleanup codebase, move to f-string formatting 2023-11-06 18:37:23 +02:00
dymik739 11acdb6fd4 generic-command-processor: add an easter egg for requesting the server link 2023-11-06 18:15:46 +02:00
dymik739 e830bae282 add new module: help (allows to get manual pages for commands) 2023-11-04 13:48:40 +02:00
dymik739 2a9bd28d65 add new module: tag-sub (allows to subscribe to events and get tagged once they happen) 2023-11-04 13:48:23 +02:00
dymik739 2b8105d2a8 core: log responses to stdout first, then send as a Telegram message 2023-11-04 13:17:22 +02:00
dymik739 a7bbb1c1cc core: harden message processing by catching wrong returns from v2 modules 2023-11-03 17:54:35 +02:00
dymik739 e002dc46a2 update schedule 2023-10-30 10:07:23 +02:00
dymik739 51307b5234 transliteration-decoder: implement proper HTML escaping and add new transliteration model 2023-10-29 21:13:48 +02:00
dymik739 ec22c72afb core: harden the handling of received messages 2023-10-29 20:56:55 +02:00
dymik739 79a307a7b5 core: add control option to check the message queue length 2023-10-10 00:15:21 +03:00
dymik739 3e38c113d9 pingtools: fix leaderboard sorting 2023-10-09 23:48:08 +03:00
dymik739 7d0d816ca8 generic-command-processor: add easter eggs and make the module case-insensitive 2023-10-09 23:10:03 +03:00
dymik739 376ffd4957 core: add control commands for enabling and disabling modules on the fly 2023-10-03 16:57:49 +03:00
dymik739 a530272408 add new module: generic-command-processor 2023-10-01 22:34:39 +03:00
dymik739 807dee5af1 core: prioritize processing commands over processing all other messages 2023-09-27 08:27:38 +03:00
dymik739 f591c8d54a core: implement adaptive delays during message processing and improve the control panel 2023-09-26 13:00:17 +03:00
dymik739 48e672a7b0 pingtools: add the ping-pong minigame 2023-09-26 12:58:40 +03:00
dymik739 b5a37acecb add new module: pingtools 2023-09-21 19:32:56 +03:00
dymik739 187d990d2b translator: update translating server URL 2023-09-21 19:30:18 +03:00
dymik739 151107aa81 core: fix response dropping when formatting is returned as an empty string 2023-09-21 19:29:53 +03:00
dymik739 2446a20a5b update schedule 2023-09-19 18:52:54 +03:00
dymik739 4502e7fbe1 Merge pull request 'transliteration-decoder: add automatic photo caption detection and let bot core deal with exceptions' (#11) from dev into master
Reviewed-on: #11
2023-09-19 18:22:50 +03:00
dymik739 09def1cd63 transliteration-decoder: add automatic photo caption detection and let bot core deal with exceptions 2023-09-19 18:20:31 +03:00
dymik739 34439e944b update schedule 2023-09-12 12:36:54 +03:00
dymik739 dc8056abed Merge pull request 'Merge updates from dev branch to master' (#10) from dev into master
Reviewed-on: #10
2023-09-12 12:32:45 +03:00
dymik739 604054af9e auto-schedule-pro-v2: add lookup capability to current lesson requests and make styling more flexible 2023-09-12 12:24:33 +03:00
dymik739 d6bd061090 auto-schedule-pro-v2: in schedule lookup set date to be always on top even if the lesson is single 2023-09-12 11:44:03 +03:00
dymik739 e57773ccbb auto-schedule-pro-v2: hotfixes and add "default" label next to auto-generated values 2023-09-12 10:04:00 +03:00
dymik739 05a8039b18 auto-schedule-pro-v2: add clear option to remove custom setting value and clean up old code remnants 2023-09-12 09:52:38 +03:00
dymik739 a22fb2b4b1 auto-schedule-pro-v2: hotfixing many issues at once to make the module work properly 2023-09-11 22:29:52 +03:00
dymik739 1381ddb007 auto-schedule-pro-v2: implement templates support for custom output theming 2023-09-11 21:36:24 +03:00
dymik739 9bdf8d0775 update schedule 2023-09-09 15:15:30 +03:00
dymik739 e9bec0159f auto-schedule-pro-v2: change spacing between schedule lookup parts 2023-09-06 17:39:58 +03:00
dymik739 5dc78b8cb0 auto-schedule-pro-v2: fix HTML escaping 2023-09-06 17:36:18 +03:00
dymik739 67b3c4278b auto-schedule-pro-v2: fix date showing up twice during schedule lookup 2023-09-06 17:33:12 +03:00
dymik739 0497cbf9b7 add support for parse_mode selection in all module APIs and update modules to respect these changes 2023-09-06 17:22:26 +03:00
dymik739 34f9b83a95 update schedule.json 2023-09-06 17:16:40 +03:00
dymik739 87928df3f7 update schedule.json 2023-09-06 12:25:38 +03:00
dymik739 2b9ac41ced improve error reporting system, switch to schedule-v2 format in auto-schedule-pro-v2 2023-09-05 20:40:57 +03:00
dymik739 baf815e74d update schedule 2023-09-05 20:14:18 +03:00
dymik739 fc450f633e update .gitignore to not track __pycache__ folders 2023-09-05 19:22:49 +03:00
dymik739 1070362bc6 auto-schedule-pro-v2: prepare for migration from schedule-v1 to schedule-v2 format 2023-09-05 19:13:52 +03:00
dymik739 d2915c10e2 auto-schedule-pro: update schedule.json 2023-09-05 19:07:45 +03:00
dymik739 ebdae6256e main.py: disable MarkdownV2 to avoid errors 2023-09-05 13:22:11 +03:00
dymik739 8cc68080e8 auto-schedule-pro: update schedule.json 2023-09-05 13:17:15 +03:00
dymik739 94275048bb auto-schedule-pro: updated schedule.json 2023-09-05 11:47:34 +03:00
dymik739 1504e03e13 main.py: added temporary fix for MarkdownV2 support 2023-09-05 11:46:59 +03:00
dymik739 87424c8786 transliteration-decoder: add support for MarkdownV2 2023-09-04 21:36:13 +03:00
dymik739 b21b16b817 auto-schedule-pro-v2: add initial support for MarkdownV2 2023-09-04 21:34:33 +03:00
dymik739 12ee02cee0 main.py: enable MarkdownV2 formatting 2023-09-04 21:33:23 +03:00
dymik739 ba353a3609 auto-schedule-pro: update schedule.json 2023-09-03 07:56:45 +03:00
dymik739 69cb179d87 auto-schedule-pro: update schedule for 3 semester 2023-08-08 18:18:46 +03:00
dymik739 1bd7fc2ef1 auto-schedule-pro-v2: improve holiday exclusive easter egg (triggered at !пара) 2023-08-07 23:32:45 +03:00
dymik739 535087fae1 auto-schedule-pro-v2: temporary change responce to !пара (holidays exclusive) 2023-08-07 22:58:32 +03:00
dymik739 e8a61a9e36 auto-schedule-pro: commit last additions.json edit as of 2 semester 2023-08-07 22:33:37 +03:00
dymik739 5d7f89cff0 auto-schedule-pro: fix issues related to reading links from containers 2023-08-07 22:32:10 +03:00
dymik739 763cc4d131 add new module: translator 2023-08-01 12:09:35 +03:00
dymik739 bd22e8e9b6 hotfix: make bot core API v1 respect recent change from self.RESPONCE to self.RESPONSE 2023-06-29 13:46:44 +03:00
dymik739 44628a3021 qna-basic: fix broken database file after code refactoring 2023-06-27 16:01:42 +03:00
dymik739 d0cd483b73 auto-schedule-pro-v2: fix negative day shifts being interpreted as positive ones 2023-05-06 18:25:00 +03:00
dymik739 edfcc6e1be auto-schedule-pro-v2, auto-schedule-pro: switch to calling new module by default 2023-05-06 18:14:53 +03:00
dymik739 56e57c4d7f auto-schedule-pro-v2: add new module as a successor of auto-schedule-pro rewritten to utilize ModuleV2 API 2023-05-06 18:03:01 +03:00
dymik739 ae1225ceee Merge pull request 'Added lesson type.' (#6) from Rhinemann/modular-bot-framework-for-telegram:master
Reviewed-on: #6
2023-05-04 21:48:07 +03:00
dymik739 e4f0e88a58 main.py: replace deprecated imp module with importlib 2023-05-04 18:13:08 +03:00
dymik739 a6284539ac module-v2-example: fix the testing typo to enable the module 2023-05-03 21:47:33 +03:00
dymik739 7e0a47e498 main.py: fix v2 modules reloading 2023-05-03 21:44:46 +03:00
dymik739 3e80a6effb module-v2-example: add an example module to show off the new capabilities 2023-05-03 21:08:01 +03:00
dymik739 e12532338d add support for modules of version 2 2023-05-03 21:06:05 +03:00
dymik739 6e0830362c add GPLv3 license 2023-05-03 14:04:56 +03:00
dymik739 181e89b107 merging pull request #4 2023-05-02 10:41:03 +03:00
dymik739 28d88d0a6d module-testing.py: fix the bug that was crashing the script, clean some code and improve message simulation 2023-04-29 23:27:16 +03:00
dymik739 20be4be346 Merge pull request 'Little tweaks to variables.' (#3) from Rhinemann/modular-bot-framework-for-telegram-fork:master into master
Reviewed-on: #3
2023-04-26 14:08:25 +03:00
dymik739 45b0a5973c transliteration-decoder: add !dc command trigger, allow cz-ua model to be default and make code more readable 2023-04-26 13:12:15 +03:00
dymik739 c4f6e952bc auto-schedule-pro: replace loops with remainder operation to increase performance when looking up large amounts of days 2023-04-26 12:44:39 +03:00
dymik739 759b7517ef transliteration-decoder: hotfix - add missing letters to en-ua-direct model 2023-04-19 18:41:27 +03:00
dymik739 2e0a0b863d transliteration-decoder: add en-ua-direct model (casts english keyboard layout directly to ukrainian) 2023-04-19 18:15:29 +03:00
dymik739 d0f2827d66 transliteration-decoder: improve case-awareness to produce more precise translations 2023-04-17 22:11:49 +03:00
dymik739 0def45c6ce transliteration-decoder: add the ability to read the reply_to message text as decoding argument 2023-04-10 17:50:20 +03:00
dymik739 dc656e2156 auto-schedule-pro: update additions.json 2023-04-10 17:40:35 +03:00
dymik739 b3a44bcc0c auto-schedule-pro: add the ability to read dynamic links from containers [experimental feature] 2023-04-10 17:30:50 +03:00
dymik739 2f004fec7d auto-schedule-pro: fix redirection fail when more than one link provided by the schedule 2023-04-10 15:26:50 +03:00
dymik739 29a86f7320 transliteration-decoder: add new module 2023-04-07 00:19:39 +03:00
dymik739 c9271963b2 main.py: [community suggestion] disable link previews when sending messages 2023-04-06 08:20:18 +03:00
dymik739 f213710601 add testing code for web service 2023-04-06 08:11:02 +03:00
dymik739 5af49c9147 auto-schedule-pro: enable link by default when listing schedule [community suggestion] 2023-03-21 16:36:35 +02:00
dymik739 969b89f297 auto-schedule-pro: update links 2023-03-15 16:59:06 +02:00
dymik739 f52757a8f1 auto-schedule-pro: add schedule lookup function 2023-03-04 16:44:44 +02:00
dymik739 c3a9e002b9 auto-schedule-pro: schedule file update 2023-03-01 17:03:12 +02:00
dymik739 7ef1931331 auto-schedule-pro: add pair ending time 2023-02-26 10:28:31 +02:00
dymik739 83e19452a0 add .gitignore file 2023-02-25 15:54:49 +02:00
dymik739 b97a7dad5b add new module: auto-schedule-pro 2023-02-25 15:54:16 +02:00
dymik739 147a7f5da2 add new module: irc-bridge 2023-02-25 15:53:35 +02:00
dymik739 43b5984517 auto-schedule: revert time correction and change command to old 2023-02-25 15:50:06 +02:00
dymik739 d87de2c767 auto-schedule: adapted timezone shift to diplay time for a different country 2022-12-20 17:39:18 +02:00
dymik739 3e90701646 auto-schedule: schedule.json - updated computer logic permanent link 2022-12-14 14:17:57 +02:00
dymik739 5894ae3c50 main.py: added delay between processing messages (will be variable later) 2022-11-24 13:18:19 +02:00
dymik739 9d81c89c8e auto-schedule: update programming link 2022-11-16 12:08:43 +02:00
dymik739 d013f92761 module: auto-schedule: one-time link update 2022-11-14 17:36:12 +02:00
dymik739 93774672d7 auto-schedule: hotfix - added missing 'f' 2022-11-09 22:06:14 +02:00