Skip to content

Staging 4.1.0

Aaron Graubert requested to merge staging-4.1.0 into master

Beymax 4.1.0 / Production 1.2.0

API Changes

  • Added a mechanism for suites to report arbitrary metadata which can be used for whatever purpose (#167 (closed))
    • Webui controller now fetches the following metadata and submits it to the remote:
      • webui.feature_description: A dict containing a header and body field, used to describe the features of the suite. The header and body are used to populate the collapsible elements on the webui's About page
      • webui.config_schema: An arbitrarily nested dictionary, where each leaf of the dict must be a dictionary with a type and description field. This schema is used to populate the config section at the bottom of the server configuration page of the webui
  • Client now looks for __global__.bug.url during error traces. The value of that config entry is sent as part of the error message to indicate where users should report bugs

Production Changes

  • Added Roles suite with /role-assignment command, allowing users to create a role-assignment message. In the future, this will switch to a persistent view, but that functionality hasn't been ported to Beymax yet. (#99 (closed))
  • Added appropriate metadata to suites
  • Added an /api/guild-count unauthenticated endpoint, which indicates a count of guilds that the bot is connected to. This is used in the footer of the webui (#164 (closed))
  • Added an /api/features unauthenticated endpoint, which returns metadata collected from suites' webui.feature_description. This is used to populate the about page
  • The /api/config/schema endpoint now returns a schema parsed from suites' webui.config_schema metadata
    • controllers/webui/modules/example_config.yml is now for demonstration purposes only, and is no longer used to store sample configuration
  • Updated the permissions requested by the bot invite link on the homepage to include the Manage-Roles permission (needed for role assignment)

Bug Fixes

  • Fixed the /api/reservations endpoint not working at all (#166 (closed))
  • Fixed the webui remote not submitting errors to sentry, even if configured to do so (#165 (closed))

Merge request reports