• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wirenboard / tg-spam / 34939010613
84%

Build:
DEFAULT BRANCH: master
Ran 15 Sep 2026 06:58AM UTC
Jobs 1
Files 43
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Sep 2026 06:53AM UTC coverage: 83.636% (+4.3%) from 79.343%
34939010613

push

github

web-flow
Перенос антиспама с личного на продуктовый аккаунт, согласно 8д (#3)

* Add keyboard detection to spam filters

This implementation adds the ability to detect and flag messages with attached keyboards (buttons) as spam.

- Add HasKeyboard field to MetaData struct
- Update Message struct with WithKeyboard flag
- Detect keyboards in the transform function
- Add KeyboardCheck meta check function
- Add configuration option in main.go
- Update webapi settings
- Add tests for keyboard detection

Fixes #258

* update dependencies

* Add keyboard detection to settings UI

- Display keyboard detection setting in the Meta Checks section of the settings page
- The feature was added in PR #259 but was missing from the UI

* Fix Issue #223: Preserve telegram profile links in callbacks

When pressing inline buttons in admin chat (like 'info' or 'keep it banned'),
messages with usernames containing underscores would lose their telegram profile
links (tg://user?id=) due to markdown parsing errors. Now the send() function
tries HTML mode as an intermediate fallback before resorting to plain text.

- Added HTML mode as fallback when markdown fails for messages with profile links
- Added test case that reproduces and verifies the fix
- Improved handling of messages with special characters in usernames

* Add NotificationType enum for sending messages without sound notifications

* Add ability to limit message mentions

- Add mentions field to MetaData struct
- Add MentionsCheck function to metachecks
- Update spam.go to count mentions from entities
- Add command-line option for mentions limit
- Update web UI to display mentions limit setting

Fixes #222

* Update documentation for mentions limit and keyboard check

* Display 'disabled' instead of '-1' for meta limits in UI

* Improve detected spam UI layout for desktop and mobile views

* Update workflow notes to include comment normalization and remove "Test plan" section from PRs

* Replace direct testcontainers usage... (continued)

7320 of 8762 new or added lines in 42 files covered. (83.54%)

29 existing lines in 6 files now uncovered.

8995 of 10755 relevant lines covered (83.64%)

231.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 34939010613.1 15 Sep 2026 06:58AM UTC 43
83.64
GitHub Action Run
Source Files on build 34939010613
  • Tree
  • List 43
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bfd810a5 on github
  • Prev Build on master (#11731251545)
  • Next Build on master (#35458881038)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc