Merge tag '1.12.1' into develop

1.12.1
This commit is contained in:
ntr 2020-01-12 17:39:48 +10:00
commit d3b6a296f0
11 changed files with 16 additions and 13 deletions

View File

@ -1 +1 @@
1.12.0 1.12.1

View File

@ -3,6 +3,7 @@
_ntr_ _ntr_
* can't reset password without knowing password =\ * can't reset password without knowing password =\
* hard reload client on version change
* audio * audio
* animation effects * animation effects

View File

@ -1,6 +1,6 @@
{ {
"name": "mnml-client", "name": "mnml-client",
"version": "1.12.0", "version": "1.12.1",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -1,6 +1,6 @@
{ {
"name": "mnml-client", "name": "mnml-client",
"version": "1.12.0", "version": "1.12.1",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -51,10 +51,11 @@ function Login(args) {
<label for="username">Username</label> <label for="username">Username</label>
<input <input
class="login-input" class="login-input"
type="email" type="text"
placeholder="username" placeholder="username"
tabIndex={1} tabIndex={1}
value={name} value={name}
autocomplete="username"
onInput={linkState(this, 'name')} onInput={linkState(this, 'name')}
/> />
<label for="password">Password</label> <label for="password">Password</label>
@ -63,6 +64,7 @@ function Login(args) {
type="password" type="password"
placeholder="password" placeholder="password"
tabIndex={2} tabIndex={2}
autocomplete="current-password"
value={password} value={password}
onInput={linkState(this, 'password')} onInput={linkState(this, 'password')}
/> />

View File

@ -12,7 +12,7 @@ function errorToast(err) {
return toast.error({ return toast.error({
title: 'BEEP BOOP', title: 'BEEP BOOP',
message: err, message: err,
position: 'topRight', position: 'bottomLeft',
}); });
} }
@ -341,7 +341,7 @@ function createSocket(events) {
function onOpen() { function onOpen() {
toast.info({ toast.info({
message: 'connected', message: 'connected',
position: 'topRight', position: 'bottomLeft',
}); });
sendPing(); sendPing();
@ -360,7 +360,7 @@ function createSocket(events) {
console.error('WebSocket closed', event); console.error('WebSocket closed', event);
toast.warning({ toast.warning({
message: 'disconnected', message: 'disconnected',
position: 'topRight', position: 'bottomLeft',
}); });
return setTimeout(connect, 5000); return setTimeout(connect, 5000);
} }

View File

@ -208,7 +208,7 @@ function postData(url = '/', data = {}) {
function errorToast(message) { function errorToast(message) {
toast.error({ toast.error({
position: 'topRight', position: 'bottomLeft',
drag: false, drag: false,
close: false, close: false,
message, message,
@ -217,7 +217,7 @@ function errorToast(message) {
function infoToast(message) { function infoToast(message) {
toast.info({ toast.info({
position: 'topRight', position: 'bottomLeft',
drag: false, drag: false,
close: false, close: false,
message, message,

View File

@ -1,6 +1,6 @@
[package] [package]
name = "mnml_core" name = "mnml_core"
version = "1.12.0" version = "1.12.1"
authors = ["ntr <ntr@smokestack.io>", "mashy <mashy@mnml.gg>"] authors = ["ntr <ntr@smokestack.io>", "mashy <mashy@mnml.gg>"]
[dependencies] [dependencies]

View File

@ -1,6 +1,6 @@
{ {
"name": "mnml-ops", "name": "mnml-ops",
"version": "1.12.0", "version": "1.12.1",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -1,6 +1,6 @@
[package] [package]
name = "mnml" name = "mnml"
version = "1.12.0" version = "1.12.1"
authors = ["ntr <ntr@smokestack.io>"] authors = ["ntr <ntr@smokestack.io>"]
[dependencies] [dependencies]

View File

@ -1,6 +1,6 @@
{ {
"name": "mnml-studios", "name": "mnml-studios",
"version": "1.12.0", "version": "1.12.1",
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {