Skip to content

Releases: 0xtbug/telbot

v1.1.3

14 Apr 00:55

Choose a tag to compare

refactor(autobuy): use numeric quota and refine tracking to prevent u…

v1.1.2

14 Apr 00:22

Choose a tag to compare

feat(bot): display recommended offers for auto-buy package selection

feat(bot): allow selecting recommended offers for auto-buy package
refactor(bot): update kbAutoPackage to accept recommended offers as argument
fix(bot): add loading message when fetching recommended offers

v1.1.1

13 Apr 23:47

Choose a tag to compare

feat(autobuy): track specific order ID for auto-buy to improve accuracy

feat(autobuy): allow auto-buy to track specific quota items by order ID
feat(autobuy): support auto-buy for "ilmupedia" packages by targeting ENTERTAINMENT quota
fix(autobuy): ensure auto-buy correctly identifies and tracks "ilmupedia" quota
refactor(autobuy): generalize quota tracking logic to support different quota classes
chore(model): add AutoBuyOrderID field to Session model
chore(cli): copy AutoBuyOrderID during session update
chore(otp): copy AutoBuyOrderID during session re-login
chore(telkomsel): add OrderID field to QuotaItem and BonusItem

v1.1.0

07 Apr 01:55

Choose a tag to compare

refactor(otp): update WaitForOTP to accept context for cancellation a…

v1.0.9

07 Apr 01:27

Choose a tag to compare

docs: add auto re-login (OTP webhook) documentation

Create docs/auto-relogin.md to detail the architecture, setup, and API.
Update README.md, cli.md, openwrt.md, systemd.md, and telegram-bot.md
to reference the new guide and provide environment variable examples.
This provides comprehensive guidance for automatic session renewal,
reducing manual intervention for expired sessions.

v1.0.8

22 Mar 06:30

Choose a tag to compare

feat(auth): implement stateful OTP login flow

Refactor `telkomsel.Auth.Login` into `RequestOTP` and `SubmitOTP` methods.
Introduce `StateAwaitingOTP` and `StateLoggingIn` to `model.SessionState`.
Add `PendingAuthId` and `PendingAmlbCookie` to `model.Session` to store
intermediate authentication data. Update `mcp/server.go` `login` and
`submit_otp` tools to use the new stateful methods. Remove global `otpChan`
and `otpMu` from `mcp/server.go`.

This provides a more robust and explicit state management for the OTP
login process. It decouples OTP request and submission, simplifying
`mcp/server.go` logic and improving error handling.

v1.0.7

21 Mar 12:20

Choose a tag to compare

feat(autobuy): add configurable quota threshold for auto-buy

Introduce `AutoBuyThreshold` to session data. Implement UI in Telegram
bot and CLI to set and display the threshold. Update auto-buy monitor
logic to trigger purchase when internet quota falls below the threshold.
Add `ParseQuotaToMB` utility for quota string conversion. Extend MCP
`start_auto_buy` tool with `threshold_mb` parameter.

This allows users to proactively manage internet quota, ensuring a new
package is purchased before complete depletion, improving connectivity.

v1.0.6

18 Mar 12:24

Choose a tag to compare

refactor(telkomsel): centralize authentication and encryption constan…

v1.0.5

18 Mar 10:10

Choose a tag to compare

build(ci): update Go module path for version embedding

Updates the Go build command to use 'telkomsel-bot/util.version'
instead of 'main.version' for embedding the application version.
This change reflects the correct module path for the version variable.

v1.0.4

18 Mar 09:58

Choose a tag to compare

refactor(version): move version variable to a dedicated util package

feat(cli): persist auto-buy and pending offer/payment settings across logins
feat(bot): persist auto-buy and pending offer/payment settings across logins
refactor(cli): remove "Keluar" (Exit) option from menus to simplify navigation
style(bot): update login message to "Proses login..." for clarity
style(cli): update login message to "Proses login..." for clarity
feat(cli): display application version in the title