Remove integrations #273

Manually merged
Johann150 merged 12 commits from feature/remove-integration into main 2022-12-07 16:18:25 +00:00
Owner

@Johann150 listed all Foundkey servers that currently have any integration enabled and it turns out that it is not many, extending this test to Misskey would probably yield most of the servers not supporting it either.

The implementation is a bit weird (only sign in, no sign up is supported) and not really documented or explained well in the admin panel either, probably leading to its low adoption in the first place.

This Pull Request removes everything related to integrations.

@Johann150 [listed all Foundkey servers that currently have any integration enabled](https://genau.qwertqwefsday.eu/@Johann150/pages/2022-12-06-integrations) and it turns out that it is not many, extending this test to Misskey would probably yield most of the servers not supporting it either. The implementation is a bit weird (only sign in, no sign up is supported) and not really documented or explained well in the admin panel either, probably leading to its low adoption in the first place. This Pull Request removes everything related to integrations.
pixeldesu added 8 commits 2022-12-06 21:10:17 +00:00
locales: remove integration-related locales
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
87e1e658f2
Johann150 requested changes 2022-12-06 21:42:01 +00:00
Johann150 left a comment
Owner

Found some small nitpicks.

Found some small nitpicks.
@ -418,4 +404,0 @@
}
};
function addService(target: { [x: string]: any }, source: IApPropertyValue) {
Owner

Remove unused import of IApPropertyValue.

Remove unused import of `IApPropertyValue`.
Johann150 marked this conversation as resolved
@ -1,294 +0,0 @@
import Koa from 'koa';
import Router from '@koa/router';
import { OAuth2 } from 'oauth';
Owner

The oauth package seems to be unused now so can be removed.

The `oauth` package seems to be unused now so can be removed.
Author
Owner

removed @types/oauth and autwh (since latter actually gets us the oauth dependency)

removed `@types/oauth` and `autwh` (since latter actually gets us the `oauth` dependency)
Johann150 marked this conversation as resolved
pixeldesu added 2 commits 2022-12-06 22:00:51 +00:00
client: remove integration settings menu entry
Some checks failed
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
96c3744555
pixeldesu added 2 commits 2022-12-06 22:18:44 +00:00
chore: remove unused packages
Some checks failed
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
d3f1ad9a88
pixeldesu requested review from Johann150 2022-12-06 22:22:29 +00:00
Owner

You'll need to also remove all of the _services locales in en-US.yml since those are obviously not used anymore.

Nvm, seems like you did it.

~~You'll need to also remove all of the `_services` locales in `en-US.yml` since those are obviously not used anymore.~~ Nvm, seems like you did it.
Johann150 approved these changes 2022-12-07 16:09:28 +00:00
Johann150 manually merged commit 71b976ec96 into main 2022-12-07 16:18:25 +00:00
Johann150 deleted branch feature/remove-integration 2022-12-07 16:18:47 +00:00
Sign in to join this conversation.
No reviewers
No labels
feature
fix
upkeep
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#273
No description provided.