Skip to content

Commit

Permalink
Merge branch 'release/2.4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Lakeyzer committed Aug 4, 2022
2 parents c5c9614 + f7be31a commit f82946b
Show file tree
Hide file tree
Showing 29 changed files with 809 additions and 471 deletions.
11 changes: 7 additions & 4 deletions firebase-rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@
"avatar": {
".validate": "newData.isString() && newData.val().length <= 2000"
},
"storage_avatar": {
".validate": "newData.isString() && newData.val().length <= 2000"
},
"size": {
".validate": "newData.isString() && newData.val().matches(/^(Tiny|Small|Medium|Large|Huge|Gargantuan)$/)"
},
Expand All @@ -170,7 +173,7 @@
".validate": "newData.isString() && newData.val().length <= 25"
},
"alignment": {
".validate": "newData.isString() && newData.val().matches(/^(Any|Any alignment|Unaligned|Lawful good|Neutral good|Chaotic good|Lawful neutral|Neutral|Chaotic neutral|Lawful evil|Neutral evil|Chaotic evil)$/i)"
".validate": "newData.isString() && newData.val().matches(/^(Any|Any alignment|Unaligned|Lawful Good|Neutral Good|Chaotic Good|Lawful neutral|Neutral|Chaotic neutral|Lawful evil|Neutral evil|Chaotic evil)$/i)"
},
"walk_speed": {
".validate": "newData.isNumber() && newData.val() >= 0 && newData.val() <= 999"
Expand Down Expand Up @@ -236,7 +239,7 @@
".validate": "newData.isNumber() && newData.val() >= 0 && newData.val() <= 999"
},
"comments": {
".validate": "newData.isString() && newData.val().length <= 100"
".validate": "newData.isString() && newData.val().length <= 999"
},
"$other": { ".validate": false }
},
Expand All @@ -248,7 +251,7 @@
".validate": "newData.isNumber() && newData.val() >= 0 && newData.val() <= 999"
},
"comments": {
".validate": "newData.isString() && newData.val().length <= 100"
".validate": "newData.isString() && newData.val().length <= 999"
},
"$other": { ".validate": false }
},
Expand All @@ -260,7 +263,7 @@
".validate": "newData.isNumber() && newData.val() >= 0 && newData.val() <= 999"
},
"comments": {
".validate": "newData.isString() && newData.val().length <= 100"
".validate": "newData.isString() && newData.val().length <= 999"
},
"$other": { ".validate": false }
}
Expand Down
Loading

0 comments on commit f82946b

Please sign in to comment.