Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
9b4a334
Created empty module for bot logic
MxLourier Mar 11, 2026
3b0e69a
feature: bot subscription (dummy api calls for now)
MxLourier Mar 11, 2026
b7f0d37
feat: logic for unsubscribing from bot
MxLourier Mar 12, 2026
deec2d5
feat: created Telegram endpoints (empty for now)
MxLourier Mar 16, 2026
35bc323
Added modles needed for REST
MxLourier Mar 16, 2026
be960ed
Added Simple Oauth module
MxLourier Mar 19, 2026
f7ee340
Added Telegram bot to ddev
MxLourier Mar 19, 2026
acc0a6c
feat: acquiring OAuth token by Telegram bot
MxLourier Mar 25, 2026
5697d4e
feat: using oAuth to access modules list
MxLourier Mar 26, 2026
ef1380c
feat: real endpoint for fetching modules list
MxLourier Mar 30, 2026
2a5c79c
feat: subscription menu in Telegram bot with real modules data
MxLourier Mar 30, 2026
879e41c
feat: creating DB at Wisetrout DO bot module installation
MxLourier Mar 31, 2026
ae6ca68
feat(bot): real requests to server for user info and subscription
MxLourier Mar 31, 2026
d959ac2
config related to Telegram bot
MxLourier Mar 31, 2026
8fab24b
feat: subscribing to tg bot and reading existing subscriptions
MxLourier Apr 2, 2026
0d1e8f3
removed "subscribe to all modules" button in chat bot
MxLourier Apr 2, 2026
8eb2f7a
removed "all modules" option from Telegram subscription endpoint
MxLourier Apr 2, 2026
d545edb
modules list endpoint - simplified response
MxLourier Apr 2, 2026
9fe062e
changed to Telegram bot DB schema
MxLourier Apr 7, 2026
4cc6250
started working on subscription logic
MxLourier Apr 7, 2026
ab5c022
working on userInfo endpoint
MxLourier Apr 8, 2026
3d08c4a
fix: Telegram user info endpoint
MxLourier Apr 8, 2026
e4b376b
fix: modules list endpoint
MxLourier Apr 8, 2026
e0eb80c
Telegram subscription endpoint - full functionality
MxLourier Apr 8, 2026
eb36518
feat(Telegram bot): unsubscribing (pausing subscription)
MxLourier Apr 9, 2026
91283d5
feat(Telegram bot): reactivating subscription
MxLourier Apr 9, 2026
cad355d
feat(Telegram bot): user info wipeout
MxLourier Apr 9, 2026
3dfc390
feat(Telegram bot): user wipeout - on the bot side
MxLourier Apr 9, 2026
c73221c
fix(Telegram bot): subscribe endpoint
MxLourier Apr 9, 2026
e5940e6
small fix to bot code
MxLourier Apr 9, 2026
f03d72c
updated status endpoint id
MxLourier Apr 9, 2026
db0e37c
removed body from response for Telegram subscription and Telegram use…
MxLourier Apr 9, 2026
3ef7421
fix(Telegram bot module): readded update of subscriptions list on the…
MxLourier Apr 14, 2026
c5d32df
config update
MxLourier Apr 14, 2026
aa3d234
feat(tg bot): sending messages to users about new/updated issues and …
MxLourier Apr 15, 2026
97aa71b
feat(Telegram bot): added project link to issue creation notification
MxLourier Apr 16, 2026
8983d85
feat(telegram bot): showing list of updates to issue
MxLourier Apr 16, 2026
8131903
small tweak to bot message
MxLourier Apr 16, 2026
5575b7c
feat(tg bot): access token refresh
MxLourier Apr 17, 2026
bc36425
added .env.example
MxLourier Apr 17, 2026
d66c2c9
feat(tg-bot): began working on daily summaries
MxLourier Apr 17, 2026
935004b
Error handling and code style
valthebald Apr 22, 2026
bb2ff84
feat(tg-bot): created daily summary texts, added to queue on cron
MxLourier Apr 27, 2026
553a64c
feat(tg-bot): wrote queue worker for daily summaries
MxLourier Apr 27, 2026
f2f1d3a
feat(tg-bot): updated bot menu to allow subscription type choice
MxLourier Apr 28, 2026
adfc75a
feat(tg-bot): reworked code to account for new "type" field of subscr…
MxLourier Apr 29, 2026
f644b42
tg-bot: updated to show all daily updates to each issue, not just lat…
MxLourier Apr 29, 2026
03bd628
feat(tg-bot): handling various types of updated fields in issue nodes
MxLourier Apr 29, 2026
0ac9569
added phpmyadmin
MxLourier May 4, 2026
cb06f73
added phpmyadmin
MxLourier May 4, 2026
f7e0c0d
Merge branch 'tg-bot-daily' into feature/telegram-bot
MxLourier May 4, 2026
48586e1
Merge branch 'feature/telegram-bot' of https://github.com/WiseTrout/D…
MxLourier May 4, 2026
252c575
fix(tg-bot): some errors with user info api requests
MxLourier May 7, 2026
24b61a0
some minor fixes
MxLourier May 29, 2026
b2fcff0
fix(tg-bot): a couple small fixes
MxLourier May 29, 2026
b8e9e20
Merge branch 'tg-bot-daily' into feature/telegram-bot
MxLourier May 29, 2026
170b025
Added Telegram bot setup instructions
MxLourier Jun 1, 2026
c59c64b
Telegram bot: removed mention of author from issue creation notification
MxLourier Jun 1, 2026
cbe4586
Telegram bot: added OAuth token fetch retries
MxLourier Jun 1, 2026
90b77d7
fixed small typo
MxLourier Jun 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .ddev/docker-compose.wt-do-bot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
services:
do-bot:
build:
context: ../wisetrout-do-bot
networks: ["default", "ddev_default"]
env_file: ../wisetrout-do-bot/.env
volumes:
- type: bind
source: ../wisetrout-do-bot
target: /app
# command: "sh -c npm install && npm start"
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BOT_TOKEN=123
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,9 @@ test-kanban-login.js

# Ignore local development code scratchpad
.code/

private
.ddev/docker-compose.phpmyadmin_norouter.yaml
.ddev/docker-compose.phpmyadmin.yaml
.ddev/addon-metadata/phpmyadmin/manifest.yaml
.ddev/commands/host/phpmyadmin
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@
"drupal/drupal_cms_starter": "~1.1.0",
"drupal/project_browser": "@beta",
"drupal/recipe_installer_kit": "^1-alpha3@alpha",
"drupal/restui": "^1.22",
"drupal/simple_oauth": "^6.1",
"drupal/webform": "@beta",
"drush/drush": "^13"
"drush/drush": "^13",
"vlucas/phpdotenv": "^5.6"
},
"conflict": {
"drupal/drupal": "*"
Expand Down
Loading