freeciv / freeciv-web

Freeciv-web is an Open Source strategy game implemented in HTML5 and WebGL, which can be played online against other players, or in single player mode against AI opponents.
Other
2.01k stars 335 forks source link

Admin GUI for Freeciv-web #248

Open andreasrosdal opened 5 years ago

andreasrosdal commented 5 years ago

The idea is an Admin-GUI for Freeciv-web.

Tasks that would be useful to perform from a GUI, such as server restarts, update builds, update Javascript, restart individual Freeciv servers, git update, load savegames, system load, view logs, system health checks and server status.

This is so that users such as Lexxie may administer their server without having to log in using SSH to enter commands.

Should have username/password authentication.

The Admin application should be as reliable as possible, so that it will stay running even when the other applications have crashed, so that it can help with fixing issues and restarting things. So preferably running on a separate port which is not proxied through nginx.

Requirements:

Lexxie9952 commented 5 years ago

This is a wonderfully good idea. Server operators are often developers who want to spend their time improving Freeciv code, but instead they are chained to constant server admin duties. When games crash, they may be sleeping and the server stays down for players in different time zones. This would allow a server operator to give special admin privileges to different users, to keep a server running, and so the server operator/owner can now "have a life."

I suggest being able to toggle permissions on each of the actions Andreas has listed, for separate individual users. Restarting the server in a crash is something you can allow several trusted people to do, but perhaps doing an update build isn't something you'd want everyone to have access to.