Compare commits
3 Commits
aadada2084
...
d6d5953a44
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6d5953a44 | ||
|
|
d0c4964caa | ||
|
|
9d33c64949 |
@ -0,0 +1,19 @@
|
||||
package com.nisemoe.nise.controller
|
||||
|
||||
import org.springframework.http.ResponseEntity
|
||||
import org.springframework.web.bind.annotation.GetMapping
|
||||
import org.springframework.web.bind.annotation.RestController
|
||||
|
||||
data class VersionResponse(
|
||||
val version: String,
|
||||
)
|
||||
|
||||
val versionResponse = VersionResponse(
|
||||
version = "v20250213",
|
||||
)
|
||||
|
||||
@RestController
|
||||
class VersionController {
|
||||
@GetMapping("/version")
|
||||
fun getVersion(): ResponseEntity<VersionResponse> = ResponseEntity.ok(versionResponse)
|
||||
}
|
||||
@ -232,7 +232,7 @@ class ScoreService(
|
||||
}
|
||||
|
||||
fun getDefaultCondition(): Condition {
|
||||
return SCORES.UR.lessOrEqual(25.0)
|
||||
return SCORES.UR.lessOrEqual(35.0)
|
||||
.and(SCORES.IS_BANNED.eq(false))
|
||||
}
|
||||
|
||||
|
||||
@ -34,5 +34,5 @@
|
||||
|
||||
<router-outlet></router-outlet>
|
||||
<div class="text-center version">
|
||||
v20250118
|
||||
v20250213
|
||||
</div>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<div class="main term">
|
||||
<h1><span class="board">/sus/</span> - Suspicious Scores</h1>
|
||||
<div class="alert mb-2">
|
||||
This includes all replays with <25 cvUR. Low values can indicate cheating but always manually review users and
|
||||
This includes all replays with <35 cvUR. Low values can indicate cheating but always manually review users and
|
||||
replays before making judgements.
|
||||
</div>
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
<input class="form-control" type="number" id="maxPP" [(ngModel)]="this.filterManager.filters.maxPP" (input)="filterScores()"
|
||||
[readOnly]="this.isUrlFilters" [disabled]="this.isUrlFilters">
|
||||
</p>
|
||||
|
||||
`
|
||||
<!-- Min cvUR -->
|
||||
<p>
|
||||
<label for="minUR" class="form-label">Min cvUR</label>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user