Update frontend to remove references to nise.moe
This commit is contained in:
parent
1b4e0b52bf
commit
750de4ef09
@ -39,7 +39,7 @@ const routes: Routes = [
|
|||||||
|
|
||||||
{path: 'neko', component: MetabaseComponent, title: 'metabase integration'},
|
{path: 'neko', component: MetabaseComponent, title: 'metabase integration'},
|
||||||
|
|
||||||
{path: '**', component: HomeComponent, title: '/nise.moe/'},
|
{path: '**', component: HomeComponent, title: '/nise.stedos.dev/'},
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<h2 style="margin-top: 6px">/nise.moe/</h2>
|
<h2 style="margin-top: 6px">/nise.stedos.dev/</h2>
|
||||||
<ul style="font-size: 15px; line-height: 19px;">
|
<ul style="font-size: 15px; line-height: 19px;">
|
||||||
<li><a [routerLink]="['/']">./home</a></li>
|
<li><a [routerLink]="['/']">./home</a></li>
|
||||||
<li><a [routerLink]="['/sus']">./suspicious-scores</a></li>
|
<li><a [routerLink]="['/sus']">./suspicious-scores</a></li>
|
||||||
@ -35,5 +35,5 @@
|
|||||||
|
|
||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
<div class="text-center version">
|
<div class="text-center version">
|
||||||
v20240511
|
v20241105
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<div class="subcontainer">
|
<div class="subcontainer">
|
||||||
<div class="term">
|
<div class="term">
|
||||||
<h1># Welcome to [nise.moe]</h1>
|
<h1># Welcome to [nise.stedos.dev] (formerly nise.moe)</h1>
|
||||||
<h3>wtf is this?</h3>
|
<h3>wtf is this?</h3>
|
||||||
<p>This application will automatically crawl [osu!std] top scores and search for stolen replays or obvious relax/timewarp scores.</p>
|
<p>This application will automatically crawl [osu!std] top scores and search for stolen replays or obvious relax/timewarp scores.</p>
|
||||||
<p>It started collecting replays on <i>2024-01-12</i></p>
|
<p>It started collecting replays on <i>2024-01-12</i></p>
|
||||||
@ -15,7 +15,7 @@
|
|||||||
<h3 class="mt-4"># do you use rss? (nerd)</h3>
|
<h3 class="mt-4"># do you use rss? (nerd)</h3>
|
||||||
<p>you can keep up with newly detected scores with the rss feed, subscribe to it using your favorite reader.</p>
|
<p>you can keep up with newly detected scores with the rss feed, subscribe to it using your favorite reader.</p>
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<a href="https://nise.moe/api/rss.xml" target="_blank">
|
<a href="https://nise.stedos.dev/api/rss.xml" target="_blank">
|
||||||
<img title="rss-chan!" src="/assets/rss.png" width="64" style="filter: grayscale(40%) sepia(10%) brightness(90%);">
|
<img title="rss-chan!" src="/assets/rss.png" width="64" style="filter: grayscale(40%) sepia(10%) brightness(90%);">
|
||||||
<br>
|
<br>
|
||||||
<span style="padding: 2px; border: 1px dotted #b3b8c3;">
|
<span style="padding: 2px; border: 1px dotted #b3b8c3;">
|
||||||
|
|||||||
@ -1,12 +1,16 @@
|
|||||||
import {UserDetails} from './userDetails';
|
import {UserDetails} from './userDetails';
|
||||||
import {SimilarReplay, SuspiciousScore} from './replays';
|
import {SimilarReplay, SuspiciousScore} from './replays';
|
||||||
|
import {environment} from "../environments/environment";
|
||||||
|
|
||||||
export class TextReportService {
|
export class TextReportService {
|
||||||
|
|
||||||
static generateTextReportForUserScores(
|
static generateTextReportForUserScores(
|
||||||
userDetails: UserDetails,
|
userDetails: UserDetails,
|
||||||
suspiciousScores: SuspiciousScore[],
|
suspiciousScores: SuspiciousScore[],
|
||||||
similarReplays: SimilarReplay[],
|
similarReplays: SimilarReplay[],
|
||||||
) {
|
) {
|
||||||
|
const site = 'nise.stedos.dev';
|
||||||
|
|
||||||
const detections: string[] = [];
|
const detections: string[] = [];
|
||||||
|
|
||||||
if (suspiciousScores.length > 0) {
|
if (suspiciousScores.length > 0) {
|
||||||
@ -28,7 +32,7 @@ export class TextReportService {
|
|||||||
report += `\n${this.getStealingReport(similarReplay)}\n`;
|
report += `\n${this.getStealingReport(similarReplay)}\n`;
|
||||||
}
|
}
|
||||||
|
|
||||||
report += `\nGenerated on nise.moe - [${userDetails.username} on nise.moe](https://nise.moe/u/${userDetails.user_id})`;
|
report += `\nGenerated on ${site} - [${userDetails.username} on ${site}](${environment.webUrl}/u/${userDetails.user_id})`;
|
||||||
|
|
||||||
return report;
|
return report;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -29,9 +29,9 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="text-center mt-2">
|
<!-- <div class="text-center mt-2">
|
||||||
<a class="btn" [href]="'https://replay.nise.moe/' + this.pair.replays[0].replay_id + '/' + this.pair.replays[1].replay_id" target="_blank">Open in Replay Viewer</a>
|
<a class="btn" [href]="'https://replay.nise.moe/' + this.pair.replays[0].replay_id + '/' + this.pair.replays[1].replay_id" target="_blank">Open in Replay Viewer</a>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
<div class="some-page-wrapper text-center">
|
<div class="some-page-wrapper text-center">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@ -53,9 +53,9 @@
|
|||||||
Open in CircleGuard
|
Open in CircleGuard
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a style="flex: 1" class="text-center" [href]="'https://replay.nise.moe/' + this.replayData.replay_id" target="_blank" [class.disabled]="!hasReplay()">
|
<!-- <a style="flex: 1" class="text-center" [href]="'https://replay.nise.moe/' + this.replayData.replay_id" target="_blank" [class.disabled]="!hasReplay()">
|
||||||
Open in Replay Viewer
|
Open in Replay Viewer
|
||||||
</a>
|
</a> -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,8 @@
|
|||||||
|
const URL = 'nise.stedos.dev';
|
||||||
|
|
||||||
export const environment = {
|
export const environment = {
|
||||||
production: true,
|
production: true,
|
||||||
apiUrl: 'https://nise.stedos.dev/api',
|
webUrl: `https://${URL}`,
|
||||||
wsUrl: 'wss://nise.stedos.dev/api/websocket',
|
apiUrl: `https://${URL}/api`,
|
||||||
|
wsUrl: `wss://${URL}/api/websocket`,
|
||||||
};
|
};
|
||||||
|
|||||||
@ -6,14 +6,14 @@
|
|||||||
<title></title>
|
<title></title>
|
||||||
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico">
|
||||||
<!-- Embed data -->
|
<!-- Embed data -->
|
||||||
<meta property="og:title" content="/nise.moe/ - osu!cheaters finder">
|
<meta property="og:title" content="/nise.stedos.dev/ - osu!cheaters finder">
|
||||||
<meta property="og:description" content="crawls osu!std replays and tries to find naughty boys.">
|
<meta property="og:description" content="crawls osu!std replays and tries to find naughty boys.">
|
||||||
<meta property="og:url" content="https://nise.moe">
|
<meta property="og:url" content="https://nise.stedos.dev">
|
||||||
<meta property="og:image" content="https://nise.moe/assets/banner.png">
|
<meta property="og:image" content="https://nise.stedos.dev/assets/banner.png">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta name="theme-color" content="#151515">
|
<meta name="theme-color" content="#151515">
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:image:src" content="https://nise.moe/assets/banner.png">
|
<meta name="twitter:image:src" content="https://nise.stedos.dev/assets/banner.png">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<app-root></app-root>
|
<app-root></app-root>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user