[wesnoth-commits] [wesnoth/wesnoth] e6b17f: campaignd: Refactor add-on deletion code into its ...

GitHub noreply at github.com
Tue Apr 17 03:00:35 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e6b17f88cbcc8a3d0ace43cddab603fa1cd90b91
      https://github.com/wesnoth/wesnoth/commit/e6b17f88cbcc8a3d0ace43cddab603fa1cd90b91
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/campaign_server/campaign_server.cpp
    M src/campaign_server/campaign_server.hpp

  Log Message:
  -----------
  campaignd: Refactor add-on deletion code into its own method

This changes the order in which the hook_post_erase hook (currently
unused in production and fully untested) is fired so it will be run
*before* displaying the confirmation message to clients. This might need
to be changed at a later point if the hook functionality ever gets used
again, but for now it'll do.


  Commit: 180995f46422661f0e1afd01a7b84cb3dafa3f24
      https://github.com/wesnoth/wesnoth/commit/180995f46422661f0e1afd01a7b84cb3dafa3f24
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/campaign_server/campaign_server.cpp

  Log Message:
  -----------
  campaignd: Add 'delete' control FIFO command


  Commit: 83afa195215dc35a3cb892a6be836980c413b88f
      https://github.com/wesnoth/wesnoth/commit/83afa195215dc35a3cb892a6be836980c413b88f
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/campaign_server/campaign_server.cpp

  Log Message:
  -----------
  campaignd: Add 'hide'/'unhide' control FIFO commands and hidden= attribute

These are used to hide an add-on from listings and deny the author the
ability to upload or delete it or change its passphrase. This is
meant to be used when enforcing add-ons server rules that do not justify
deleting all of the add-on's metadata (for example, issues with icons or
descriptions).


  Commit: 4d90a77aa8b1431d00c0ecea40b73a1ef97e2711
      https://github.com/wesnoth/wesnoth/commit/4d90a77aa8b1431d00c0ecea40b73a1ef97e2711
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2018-04-16 (Mon, 16 Apr 2018)

  Changed paths:
    M src/campaign_server/campaign_server.cpp

  Log Message:
  -----------
  campaignd: Remove last remaining trace of the master_password functionality


Compare: https://github.com/wesnoth/wesnoth/compare/fab229b5e85e...4d90a77aa8b1


More information about the Commits mailing list