Skip to content

Releases: umputun/tg-spam

v1.18.0

04 Apr 16:24
Compare
Choose a tag to compare

What's Changed

  • Add filtering to detected spam UI by @umputun in #264
  • Make user ID optional in message checker UI by @umputun in #265
  • Fix settings page formatting issues by @umputun in #266
  • Update Docker image references to use GitHub Container Registry by @paskal in #268
  • Update go modules by @paskal in #269
  • Migrate to golangci-lint v2 by @umputun in #276
  • Add username and user ID checking for stop words by @umputun in #275
  • Add username symbols check filter by @umputun in #278
  • Add ability to use custom User-Agent when querying CAS by @alkk in #274
  • Add missing test and readme update to #274 by @umputun in #280

New Contributors

  • @alkk made their first contribution in #274

Full Changelog: v1.17.0...v1.18.0

v1.17.0

06 Mar 17:20
Compare
Choose a tag to compare

Features

  • Add ability to limit message mentions (fixes #222) by @umputun in #262
  • Add keyboard detection to spam filters by @umputun in #259
  • Add NotificationType enum for sending messages without sound notifications (fixes #172) by @umputun in #261
  • Multi-database support with PostgreSQL and SQLite backends (5b7021b through 86d4d16)
  • Add SQLite to PostgreSQL converter (fa24fa0)
  • Add database backup functionality (b701a40)
  • Add download button for detected spam in UI (79abc40)
  • Add user menu with backup and logout options to navbar (d40d886)

Improvements

  • Improve detected spam UI layout for desktop and mobile views (9c2fa44)
  • Improve settings page UI and organization by @umputun in #256
  • Display 'disabled' instead of '-1' for meta limits in UI (c9dcbc8)
  • Fix dropdown focus highlight in navbar (72d061f)
  • Simplify backup UI text (b36ad62)
  • Fix username column width in detected spam table (a2543cf)

Bug Fixes

  • Fix Issue #223: Preserve telegram profile links in callbacks by @umputun in #260
  • Fix softmax float64 exp over/underflow on large input values by @anton-povarov in #254
  • Fix backup download filename and compression issues (003eece, 4466db1)

Development

  • Implement message hashing for unique constraint and indexing (bae4cfc)
  • Optimize PostgreSQL indexes (25b3342)
  • Refactor superuser commands and improve error handling (cdf3def)
  • Extensive test coverage improvements (bb98956, ddafbca, 6c92359)
  • Updated dependencies and bumped to Go 1.24 (0f2f736)
  • Added CLAUDE.md with development guidelines (7fb677f)

v1.16.3

11 Feb 21:47
Compare
Choose a tag to compare

Changelog

  • ef41c87 make /srv/preset writable by anyone

v1.16.2

10 Feb 09:51
Compare
Choose a tag to compare

What's Changed

  • Fix the failed migration if FILES_SAMPLES is not set by @umputun in #247

Full Changelog: v1.16.1...v1.16.2

v1.16.1

10 Feb 02:29
Compare
Choose a tag to compare

Changelog

  • 2742a37 set db backup on by default

v1.16.0

09 Feb 22:41
Compare
Choose a tag to compare

What's Changed

Important: this version changed how all samples are stored and maintained. We have moved all the parts that used to be in text files to the common SQLite database. The migration process is fully automated, and all existing samples will be renamed to *.loaded after migration. It is safe to delete those as soon as you feel comfortable.

  • Update OvyFlash/telegram-bot-api, transient deps by @paskal in #213
  • Add forward message detection and spam check by @umputun in #204
  • Add abnormal spacing detection for spam messages by @umputun in #206
  • Swiitch to Sqlite for all data by @umputun in #212
  • Switch emoji detection to external lib gomoji (significant speed improvement) by @umputun in #217
  • Requests history and openai integration by @umputun in #229
  • Add audio check by @umputun in #236
  • Add check by user ID endpoint by @umputun in #221
  • Handle empty message text in admin handler by @umputun in #237
  • Automatic DB backup by @umputun in #216
  • Improve request with history to OpenAI by @umputun in #244
  • Fix detection of forward status for messages with multiple media flags by @umputun in #238
  • Optimize sample loader by @umputun in #218
  • Optimize excluded tokens storage and lookup by @umputun in #219
  • Classifier unlearn by @umputun in #220
  • Remove chi package and migrate routing to routegroup by @umputun in #239
  • Switch from fork back to github.com/jessevdk/go-flags by @paskal in #209
  • Bump the go-modules-updates group in /_examples/simplechat with 2 updates by @dependabot in #211
  • Bump the go-modules-updates group with 3 updates by @dependabot in #210

Full Changelog: v1.15.0...v1.16.0

v1.15.0

14 Dec 19:26
Compare
Choose a tag to compare

What's Changed

  • switch to OvyFlash/telegram-bot-api (updated fork of the same lib) by @paskal in #180
  • escape MD symbols in user-name for reported bans by @umputun in #185
  • fix unexpected storage update during spam info retrieval #183 by @umputun in #186
  • clean invisible chars from text by @umputun in #187
  • Update veto mod OpenAI doc by @paskal in #188
  • detect messages with story as "withVideo" by @umputun in #193
  • support hashed web passwd by @umputun in #195
  • allow empty text messages if video part is present by @umputun in #196
  • make clean message extraction optional and change error to the logged report by @umputun in #199 and #200
  • Make non-master CI build only for repo owner by @paskal in #190
  • add autogenerated (by AI) install.md with easy to follow instructions by @umputun in #192
  • Sync readme and documentation index files by @paskal in #189
  • Bump the go-modules-updates group in /_examples/simplechat with 2 updates by @dependabot in #184

Full Changelog: v1.14.3...v1.15.0

v1.14.3

23 Nov 04:44
Compare
Choose a tag to compare

Changelog

  • adc7198 Fix typos and improve wording

v1.14.2

15 Nov 16:36
Compare
Choose a tag to compare

What's Changed

  • Bump the go-modules-updates group with 2 updates by @dependabot in #164
  • Bump github.com/umputun/tg-spam from 1.13.6 to 1.14.1 in /_examples/simplechat in the go-modules-updates group by @dependabot in #163
  • add new meta check for video only by @umputun in #166
  • fix +1 issue with first message check by @umputun in #177
  • update default OpenAI prompt text

Full Changelog: v1.14.1...v1.14.2

v1.14.1

26 Oct 19:58
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.14.0...v1.14.1