95f0fc0b7a
* every user has a right of a username and a display name and has the right to change it * System information page now shows information about database user count, char count, and database schema version * more maintenance lists * show the right values in columns and fields * move similar from inside of frontend component functions to utility js when used multiple times * display help on mouse over * add more than one believe to character * make char name editable with better char info in headline * GiT Gifttoleranz value not calculated correctly * Bump backend to 0.2.3, frontend to 0.2.2
15 lines
242 B
Go
15 lines
242 B
Go
package appsystem
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// Versionsinfo returns version and git commit information
|
|
func Versionsinfo(c *gin.Context) {
|
|
c.JSON(200, GetInfo())
|
|
}
|
|
|
|
func SystemInfo(c *gin.Context) {
|
|
c.JSON(200, GetInfo2())
|
|
}
|