Compare commits

..

No commits in common. "339086995f54197e84e9904e4778b355b02479a0" and "8b74d1530ed57d5f1a222de3a62ca8787b050149" have entirely different histories.

5 changed files with 11 additions and 44 deletions

View File

@ -1,5 +1,5 @@
<!-- <!--
## 2023.x.x (unreleased) ## 13.x.x (unreleased)
### General ### General
- -
@ -12,17 +12,6 @@
--> -->
## 2023.8.0 (unreleased)
### General
- OAuth 2.0のサポート
### Client
-
### Server
-
## 13.14.2 ## 13.14.2
### Client ### Client

View File

@ -1,8 +1,3 @@
/*
* SPDX-FileCopyrightText: syuilo and other misskey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
import dns from 'node:dns/promises'; import dns from 'node:dns/promises';
import { fileURLToPath } from 'node:url'; import { fileURLToPath } from 'node:url';
import { Inject, Injectable } from '@nestjs/common'; import { Inject, Injectable } from '@nestjs/common';

View File

@ -1,8 +1,3 @@
/*
* SPDX-FileCopyrightText: syuilo and other misskey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
/** /**
* Basic OAuth tests to make sure the library is correctly integrated to Misskey * Basic OAuth tests to make sure the library is correctly integrated to Misskey
* and not regressed by version updates or potential migration to another library. * and not regressed by version updates or potential migration to another library.

View File

@ -751,25 +751,18 @@ async function post(ev?: MouseEvent) {
claimAchievement('notes1'); claimAchievement('notes1');
} }
const text = postData.text ?? ''; const text = postData.text?.toLowerCase() ?? '';
const lowerCase = text.toLowerCase(); if ((text.includes('love') || text.includes('❤')) && text.includes('misskey')) {
if ((lowerCase.includes('love') || lowerCase.includes('❤')) && lowerCase.includes('misskey')) {
claimAchievement('iLoveMisskey'); claimAchievement('iLoveMisskey');
} }
if ([ if (
'https://youtu.be/Efrlqw8ytg4', text.includes('https://youtu.be/Efrlqw8ytg4'.toLowerCase()) ||
'https://www.youtube.com/watch?v=Efrlqw8ytg4', text.includes('https://www.youtube.com/watch?v=Efrlqw8ytg4'.toLowerCase()) ||
'https://m.youtube.com/watch?v=Efrlqw8ytg4', text.includes('https://m.youtube.com/watch?v=Efrlqw8ytg4'.toLowerCase()) ||
text.includes('https://youtu.be/XVCwzwxdHuA'.toLowerCase()) ||
'https://youtu.be/XVCwzwxdHuA', text.includes('https://www.youtube.com/watch?v=XVCwzwxdHuA'.toLowerCase()) ||
'https://www.youtube.com/watch?v=XVCwzwxdHuA', text.includes('https://m.youtube.com/watch?v=XVCwzwxdHuA'.toLowerCase())
'https://m.youtube.com/watch?v=XVCwzwxdHuA', ) {
'https://open.spotify.com/track/3Cuj0mZrlLoXx9nydNi7RB',
'https://open.spotify.com/track/7anfcaNPQWlWCwyCHmZqNy',
'https://open.spotify.com/track/5Odr16TvEN4my22K9nbH7l',
'https://open.spotify.com/album/5bOlxyl4igOrp2DwVQxBco',
].some(url => text.includes(url))) {
claimAchievement('brainDiver'); claimAchievement('brainDiver');
} }

View File

@ -1,8 +1,3 @@
<!--
SPDX-FileCopyrightText: syuilo and other misskey contributors
SPDX-License-Identifier: AGPL-3.0-only
-->
<template> <template>
<MkStickyContainer> <MkStickyContainer>
<template #header><MkPageHeader/></template> <template #header><MkPageHeader/></template>