Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web based editor #158

Open
Volte6 opened this issue Oct 28, 2024 · 1 comment
Open

Web based editor #158

Volte6 opened this issue Oct 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Volte6
Copy link
Owner

Volte6 commented Oct 28, 2024

Motivation

GoMud already has a built in webserver. The goal here is to support some administrative and building tools via a web interface.

This can be at times superior to purely using commands from in the mud, as you can fill out forms and load data more naturally.

Goals

The initial goal for this will be small - build a foundation that can be expanded upon.

  • Basic authorization
    • Use basic authorization to accept username/password to login. This should validate against the user record, and of course confirm they have admin/moderator access.
    • Admin index page - a basic page only admins can see. This should give some statistical information, and provide ingress to the rest of the tools.
    • First tool - A single tool to start with. Probably an item editor, with the option to create new items.
      • Should also support editing item scripts. Consider a templated example of event functions.
    • Request handler - Probably will be a single entry point for form submission via some sort of JSON POST data. Will need to adhere to some basic payload/response format. Probably be RESTful in nature.
@Volte6 Volte6 added the enhancement New feature or request label Oct 28, 2024
@Volte6
Copy link
Owner Author

Volte6 commented Oct 31, 2024

First steps on this are in place... basic auth, validates against user files (must have admin permissions)

Accessible at /admin/

Currently has an item viewing tool, later edit functionality will be added, along with other tools.

image-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant