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

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


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 37cca8468420298337d29dfde5a3fc28809b6af1
      https://github.com/wesnoth/wesnoth/commit/37cca8468420298337d29dfde5a3fc28809b6af1
  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: 6c14dcf72facceb9399899d2acfefafc3d63ec00
      https://github.com/wesnoth/wesnoth/commit/6c14dcf72facceb9399899d2acfefafc3d63ec00
  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: 6d567889cd64da6171da8b3b349ef4a0b6485b8a
      https://github.com/wesnoth/wesnoth/commit/6d567889cd64da6171da8b3b349ef4a0b6485b8a
  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: 3c01a2718077268ac3ea84ed801783829db33920
      https://github.com/wesnoth/wesnoth/commit/3c01a2718077268ac3ea84ed801783829db33920
  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/29d3cdd7d027...3c01a2718077



More information about the Commits mailing list