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

GitHub noreply at github.com
Tue Apr 17 05:43:40 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 957be8b53edbdce7706491bb4dd7f64de27784a9
      https://github.com/wesnoth/wesnoth/commit/957be8b53edbdce7706491bb4dd7f64de27784a9
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2018-04-17 (Tue, 17 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: 0475c349b801643a18372bb810ab0b6f4fd97fe8
      https://github.com/wesnoth/wesnoth/commit/0475c349b801643a18372bb810ab0b6f4fd97fe8
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2018-04-17 (Tue, 17 Apr 2018)

  Changed paths:
    M src/campaign_server/campaign_server.cpp

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


  Commit: 7d5d7ee7d429a9d650d300311d2bfeb363ca4686
      https://github.com/wesnoth/wesnoth/commit/7d5d7ee7d429a9d650d300311d2bfeb363ca4686
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2018-04-17 (Tue, 17 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: 6d5f5d4299f41f54c979d2a5b785b4b26b9d2be2
      https://github.com/wesnoth/wesnoth/commit/6d5f5d4299f41f54c979d2a5b785b4b26b9d2be2
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2018-04-17 (Tue, 17 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/98ed802290fb...6d5f5d4299f4


More information about the Commits mailing list