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

umputun / tg-spam / 25030940684
83%

Build:
DEFAULT BRANCH: master
Ran 28 Apr 2026 02:44AM UTC
Jobs 1
Files 40
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

28 Apr 2026 02:40AM UTC coverage: 83.078% (+0.1%) from 82.966%
25030940684

push

github

web-flow
Implement database configuration support (#294)

* Implement database configuration support

- Add generic Config storage component with type-safe configuration storage
- Add CLI flag --confdb to load configuration from database
- Add save-config command to store current settings in database
- Implement proper data validation and security handling for sensitive data
- Add comprehensive tests for all functionality

* Complete database configuration support with tests

- Added comprehensive tests for configuration DB functionality\n- Improved test coverage for CLI value preservation\n- Fixed error handling in both main and test code\n- Ensured proper linting and comment formatting

* Complete database configuration support with tests

- Add database configuration storage and web UI support
- Switch to bcrypt hash-based authentication for improved security
- Fix tests to work with hash-based authentication
- Store tokens in DB to support running with just database connection

* Remove task.md from repository

* Refactor complex nested blocks to fix nestif linter issues

- Extract password hash generation to a helper function
- Extract Lua plugin initialization to a separate function
- Refactor PostgreSQL transaction handling to reduce nesting
- Fix code formatting issues

* Remove CLI-only options from database configuration

- Prevent Dbg, TGDbg, and StorageTimeout settings from being stored in database
- Remove StorageTimeout input field from the web UI
- Mark StorageTimeout as CLI-only in the settings view
- Add explanatory comments to better document the behavior

* Add tests for config handlers and LastUpdated function

- Add tests for all webapi config handlers (save, load, update, delete)
- Add test for updateSettingsFromForm to verify StorageTimeout handling
- Add test for LastUpdated function in storage config
- Fix timestamp comparison to work with all database types

* Fix comment formatting and disable nestif linter

- Normalize comment forma... (continued)

1290 of 1591 new or added lines in 7 files covered. (81.08%)

10 existing lines in 2 files now uncovered.

8174 of 9839 relevant lines covered (83.08%)

232.38 hits per line

Uncovered Changes

Lines Coverage ∆ File
181
54.63
-5.75% app/main.go
42
89.42
app/settings.go
26
83.01
app/config/store.go
18
85.25
app/config/crypt.go
17
95.34
app/webapi/config.go
13
85.54
0.18% app/webapi/webapi.go
4
93.33
app/config/settings.go

Coverage Regressions

Lines Coverage ∆ File
9
54.63
-5.75% app/main.go
1
85.54
0.18% app/webapi/webapi.go
Jobs
ID Job ID Ran Files Coverage
1 25030940684.1 28 Apr 2026 02:44AM UTC 40
83.08
GitHub Action Run
Source Files on build 25030940684
  • Tree
  • List 40
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e95fa32e on github
  • Prev Build on master (#24767742687)
  • Next Build on master (#25035848305)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc