Add server admin interface #66

Open
opened 2017-01-09 20:31:44 +01:00 by nik · 12 comments
Owner

Add an admin interface for game and world management and the like.

  1. Add an Admin tab to the user dialog.
  2. Add two tables to the admin tab: One listing games, and one listing worlds. games and worlds must be loaded from the API (please implement that in GameData).
Add an admin interface for game and world management and the like. 1. Add an Admin tab to the user dialog. 2. Add two tables to the admin tab: One listing games, and one listing worlds. games and worlds must be loaded from the API (please implement that in GameData).
Author
Owner

Reassigned to @nik

Reassigned to @nik
Author
Owner

Assignee removed

Assignee removed
Author
Owner

Reassigned to @eike

Reassigned to @eike
eike commented 2017-09-09 19:01:20 +02:00 (Migrated from edugit.org)

We need to change the function that loads worlds in ui.js, because it only loads enabled worlds and we need to load disabled ones too for being able to implement a button to enable it again in the admin tab.

We need to change the function that loads worlds in ui.js, because it only loads enabled worlds and we need to load disabled ones too for being able to implement a button to enable it again in the admin tab.
eike commented 2017-09-09 20:47:32 +02:00 (Migrated from edugit.org)

The admin tab is there.
The two tables in the admin tab are also already there, together with a button to enable/disable the games and worlds behind each game and world.

At the moment, the world and game tables are shown to be empty. It seems as if this occurs because of the worlds and games not being re-/loaded at the correct times. There is a function now to load the games and worlds, called load_games_and_worlds. This function is located in www/src/gamedata.js. It is called whenever opening the dialog or switching to the Administration tab in that dialog.

The admin tab is there. The two tables in the admin tab are also already there, together with a button to enable/disable the games and worlds behind each game and world. At the moment, the world and game tables are shown to be empty. It seems as if this occurs because of the worlds and games not being re-/loaded at the correct times. There is a function now to load the games and worlds, called load_games_and_worlds. This function is located in www/src/gamedata.js. It is called whenever opening the dialog or switching to the Administration tab in that dialog.
Author
Owner

Added ~82 label

Added ~82 label
Author
Owner

Furthermore, we need to add a possibility to install games that were uploaded, and probably to uninstall games.

Furthermore, we need to add a possibility to install games that were uploaded, and probably to uninstall games.
Author
Owner

Reassigned to @nik

Reassigned to @nik
Author
Owner

Mentioned in commit b92f4188ee

Mentioned in commit b92f4188eeed74172361379a68992b252fa19cd6
Author
Owner

Mentioned in commit e802d70445

Mentioned in commit e802d704458188b9c076a14d9631295c557e99b6
Author
Owner

changed the description

changed the description
Author
Owner

unassigned @nik

unassigned @nik
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nik/veripeditus-server#66
No description provided.