[wesnoth-commits] [wesnoth/wesnoth] 358e9a: Add support for storing game information in wesno...

Pentarctagon noreply at github.com
Sat Aug 24 12:28:43 UTC 2019


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 358e9a4abfb04d5675cf8097220b85d8ab37e9e0
      https://github.com/wesnoth/wesnoth/commit/358e9a4abfb04d5675cf8097220b85d8ab37e9e0
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2019-08-24 (Sat, 24 Aug 2019)

  Changed paths:
    M doc/man/wesnothd.6
    M src/server/forum_user_handler.cpp
    M src/server/forum_user_handler.hpp
    M src/server/game.cpp
    M src/server/game.hpp
    M src/server/sample_user_handler.cpp
    M src/server/sample_user_handler.hpp
    M src/server/server.cpp
    M src/server/server.hpp
    M src/server/user_handler.hpp
    A utils/mp-server/table_definitions.sql

  Log Message:
  -----------
   Add support for storing game information in wesnoth's mysql database.

This requires three more tables to be added to any database with the forum user handler enabled, the structures of which are defined in the wesnothd man page:
* `db_game_info_table` - stores information about each game.
* `db_game_player_info_table` - stores information about each player in the game.
* `db_game_modification_info_table` - stores information about any modifications that are enabled for the game.

Backport of 85151f751999d111801af8cc493923fb9db2ee70


  Commit: 675df8efdcbc12d5b5e5bd845cf3797eeefa0c30
      https://github.com/wesnoth/wesnoth/commit/675df8efdcbc12d5b5e5bd845cf3797eeefa0c30
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2019-08-24 (Sat, 24 Aug 2019)

  Changed paths:
    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
    M utils/mp-server/table_definitions.sql

  Log Message:
  -----------
  Add a flag to record if the game encountered an OOS error.

Backport of 0dae5c50978515296460ce3ed466def368644d4a


  Commit: 887bfe88aade3719995e77bdb3c3482e3c1c74d0
      https://github.com/wesnoth/wesnoth/commit/887bfe88aade3719995e77bdb3c3482e3c1c74d0
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2019-08-24 (Sat, 24 Aug 2019)

  Changed paths:
    M src/server/forum_user_handler.cpp

  Log Message:
  -----------
  Set uft8 also on reconnects.

Backport of 10d3e3945558f9aac2eb8307d5eda031c2121bc0


  Commit: afab04ddf4faca8ecc164cee2be08e58f14f2a73
      https://github.com/wesnoth/wesnoth/commit/afab04ddf4faca8ecc164cee2be08e58f14f2a73
  Author: pentarctagon <pentarctagon at tutamail.com>
  Date:   2019-08-24 (Sat, 24 Aug 2019)

  Changed paths:
    M doc/man/wesnothd.6
    M src/server/forum_user_handler.cpp
    M src/server/forum_user_handler.hpp
    M utils/mp-server/table_definitions.sql

  Log Message:
  -----------
  Use the MP Moderators forum group to check for mod authority.

 People who have MP mod authority for testing or other reasons can continue to use the existing user_is_moderator column check, but for people who are supposed to moderate the server, now the forum group will be used.

This will make it easier to add/remove people to/from the group, and also ensure that the list of actual moderators matches up with the list available to users.

New config attributes added for this are:
* db_group_table - should be, based on the phpbb documentation I found, phpbb_user_group
* mp_mod_group - should be set to Multiplayer Moderators group ID

Backport of 02ebcff06c70d618ded58bd9a36c272d7f39f1e5


Compare: https://github.com/wesnoth/wesnoth/compare/b6c311cf6279...afab04ddf4fa



More information about the Commits mailing list