[wesnoth-commits] [wesnoth/wesnoth] f84b60: Add utils::format_timespan() for formatting time l...

Iris Morelle noreply at github.com
Fri Mar 1 05:34:53 UTC 2019


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: f84b604d27127488552e9b9bfcb9bb5e2419b250
      https://github.com/wesnoth/wesnoth/commit/f84b604d27127488552e9b9bfcb9bb5e2419b250
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2019-03-01 (Fri, 01 Mar 2019)

  Changed paths:
    M source_lists/boost_unit_tests
    M src/formula/string_utils.cpp
    M src/formula/string_utils.hpp
    A src/tests/test_formula_timespan.cpp

  Log Message:
  -----------
  Add utils::format_timespan() for formatting time lengths for user display


  Commit: 7de8dc02b8982485c868bfc77f71275f45832108
      https://github.com/wesnoth/wesnoth/commit/7de8dc02b8982485c868bfc77f71275f45832108
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2019-03-01 (Fri, 01 Mar 2019)

  Changed paths:
    M src/server/server_base.cpp
    M src/server/server_base.hpp

  Log Message:
  -----------
  server: Make it possible to send a [data] block in server responses

The [data] block in [error]/[warning]/[message] can contain arbitrary
data, passed in the form of key/value pairs.


  Commit: c57f1748c90ab695a4a902248ac2ad00f348282e
      https://github.com/wesnoth/wesnoth/commit/c57f1748c90ab695a4a902248ac2ad00f348282e
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2019-03-01 (Fri, 01 Mar 2019)

  Changed paths:
    M src/game_initialization/multiplayer.cpp
    M src/server/forum_user_handler.cpp
    M src/server/forum_user_handler.hpp
    M src/server/sample_user_handler.cpp
    M src/server/sample_user_handler.hpp
    M src/server/server.cpp
    M src/server/user_handler.hpp

  Log Message:
  -----------
  wesnothd: Retrieve forum ban durations and send the remaining time to clients

This should make it less confusing for players who might assume that
their ban is permanent otherwise. If the ban is permanent the duration
is not sent to clients, however. Since permanent bans can be revoked on
appeal, it seems like a good idea to me to avoid using any wording that
would allude to their otherwise infinite duration.

Closes #3766.


  Commit: d70180214fe50e89c47bfd3fe46193e3f30818ec
      https://github.com/wesnoth/wesnoth/commit/d70180214fe50e89c47bfd3fe46193e3f30818ec
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2019-03-01 (Fri, 01 Mar 2019)

  Changed paths:
    M changelog.md

  Log Message:
  -----------
  Changelog entry for #3766

[ci skip]


Compare: https://github.com/wesnoth/wesnoth/compare/c8b9e4acba24...d70180214fe5



More information about the Commits mailing list