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

FAForever / server / 3946
96%

Build:
DEFAULT BRANCH: develop
Ran 28 Aug 2020 01:19AM UTC
Jobs 1
Files 62
Run time 3s
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

pending completion
3946

push

travis-ci

GitHub
Issue/#639 Show ban duration to user with higher resolution (#645)

* Show ban duration to user with higher resolution

Until now, a temporarily banned user received ban messages that only
approximated how long they were banned for. For instance, a ban that
lasts another 44 hours would be described as "1 day." Obviously this
would lead to some confusion.

This commit will instead say the exact duration. For instance, "1 day
and 17.5 hours."

Future improvement is to make this rendering happen on the client side
and be translated, but this is a good improvement for the time being.

* Format ban messages as HTML

They were being formatted as strings but it turns out they need to use
HTML linebreaks to be displayed properly.

* Refactor ban errors to be a type of exception

4256 of 4441 relevant lines covered (95.83%)

0.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3946.1 (FAF_DB_VERSION="v96") 28 Aug 2020 01:19AM UTC 0
95.83
Travis Job 3946.1
Source Files on build 3946
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3946
  • 57647551 on github
  • Prev Build on develop (#3917)
  • Next Build on develop (#3948)
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