mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
chore: Remove references to official domain
This commit is contained in:
parent
c6fe62ae8a
commit
b18269b40e
10 changed files with 23 additions and 21 deletions
2
.github/CODE_OF_CONDUCT.md
vendored
2
.github/CODE_OF_CONDUCT.md
vendored
|
@ -60,7 +60,7 @@ representative at an online or offline event.
|
||||||
|
|
||||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||||
reported to the community leaders responsible for enforcement at
|
reported to the community leaders responsible for enforcement at
|
||||||
codeofconduct@movie-web.app.
|
our [Discord](https://discord.gg/gQYB6fGArX).
|
||||||
All complaints will be reviewed and investigated promptly and fairly.
|
All complaints will be reviewed and investigated promptly and fairly.
|
||||||
|
|
||||||
All community leaders are obligated to respect the privacy and security of the
|
All community leaders are obligated to respect the privacy and security of the
|
||||||
|
|
6
.github/CONTRIBUTING.md
vendored
6
.github/CONTRIBUTING.md
vendored
|
@ -1,6 +1,6 @@
|
||||||
# Contributing Guidelines for movie-web
|
# Contributing Guidelines for movie-web
|
||||||
|
|
||||||
Thank you for investing your time in contributing to our project! Your contribution will be reflected on [movie-web.app](https://movie-web.app).
|
Thank you for investing your time in contributing to our project! Your contribution will be reflected on all of the community hosted instances that are on the latest version.
|
||||||
|
|
||||||
Please read our [Code of Conduct](./CODE_OF_CONDUCT.md) to keep our community approachable and respectable.
|
Please read our [Code of Conduct](./CODE_OF_CONDUCT.md) to keep our community approachable and respectable.
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ There are two places where to request features or report bugs:
|
||||||
### Discord Server
|
### Discord Server
|
||||||
If you do not have a GitHub account or want to discuss a feature or bug with us before making an issue, you can join our Discord server.
|
If you do not have a GitHub account or want to discuss a feature or bug with us before making an issue, you can join our Discord server.
|
||||||
|
|
||||||
<a href="https://discord.movie-web.app"><img src="https://discord.com/api/guilds/871713465100816424/widget.png?style=banner2" alt="Discord Server"></a>
|
<a href="https://discord.gg/gQYB6fGArX"><img src="https://discord.com/api/guilds/871713465100816424/widget.png?style=banner2" alt="Discord Server"></a>
|
||||||
|
|
||||||
### GitHub Issues
|
### GitHub Issues
|
||||||
To make a GitHub issue for movie-web, please visit the [new issue page](https://github.com/movie-web/movie-web/issues/new/choose) where you can pick either the "Bug Report" or "Feature Request" template.
|
To make a GitHub issue for movie-web, please visit the [new issue page](https://github.com/movie-web/movie-web/issues/new/choose) where you can pick either the "Bug Report" or "Feature Request" template.
|
||||||
|
@ -85,7 +85,7 @@ Here are some tips to make sure that your pull requests are :pinched_fingers: fi
|
||||||
### Language Contributions
|
### Language Contributions
|
||||||
Language contributions help movie-web massively, allowing people worldwide to use our app!
|
Language contributions help movie-web massively, allowing people worldwide to use our app!
|
||||||
|
|
||||||
We use weblate for crowdsourcing our translations. [Click here to go to our translation tool.](https://weblate.movie-web.app/projects/movie-web/website/)
|
We use weblate for crowdsourcing our translations.
|
||||||
|
|
||||||
1. First make sure you make an account. (click the link above)
|
1. First make sure you make an account. (click the link above)
|
||||||
2. Click the language you want to help translate, if it's not listed you can click the plus top left to add a new language.
|
2. Click the language you want to help translate, if it's not listed you can click the plus top left to add a new language.
|
||||||
|
|
9
.github/SECURITY.md
vendored
9
.github/SECURITY.md
vendored
|
@ -2,12 +2,9 @@
|
||||||
|
|
||||||
## Supported Versions
|
## Supported Versions
|
||||||
|
|
||||||
The movie-web maintainers only support the latest version of movie-web published at https://movie-web.app.
|
The latest version of movie-web is the only version that is supported, as it is the only version that is being actively developed.
|
||||||
|
|
||||||
Support is not provided for any forks or mirrors of movie-web.
|
|
||||||
|
|
||||||
## Reporting a Vulnerability
|
## Reporting a Vulnerability
|
||||||
|
|
||||||
There are two ways you can contact the movie-web maintainers to report a vulnerability:
|
You can contact the movie-web maintainers to report a vulnerability:
|
||||||
- Email [security@movie-web.app](mailto:security@movie-web.app)
|
- Report the vulnerability in the [movie-web Discord server](https://discord.gg/gQYB6fGArX)
|
||||||
- Report the vulnerability in the [movie-web Discord server](https://discord.movie-web.app)
|
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://skillicons.dev/icons?i=react,vite,ts" />
|
<img src="https://skillicons.dev/icons?i=react,vite,ts" />
|
||||||
<br/>
|
<br/>
|
||||||
<a href="https://discord.movie-web.app"><kbd>🔵 discord</kbd></a> <a href="https://movie-web.app"><kbd>🟢 website</kbd></a>
|
<a href="https://discord.gg/gQYB6fGArX"><kbd>🔵 discord</kbd></a> <a href="https://movie-web.github.io/docs"><kbd>🟢 docs</kbd></a>
|
||||||
</p>
|
</p>
|
||||||
<br/><br/>
|
<br/><br/>
|
||||||
|
|
||||||
# ⚡What is movie-web?
|
# ⚡What is movie-web?
|
||||||
|
|
||||||
movie-web is a web app for watching movies easily. Check it out at <a href="https://movie-web.app"><kbd>movie-web.app</kbd></a>.
|
movie-web is a web app for watching movies easily.
|
||||||
|
|
||||||
This service works by displaying video files from third-party providers inside an intuitive and aesthetic user interface.
|
This service works by displaying video files from third-party providers inside an intuitive and aesthetic user interface.
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ pnpm build
|
||||||
|
|
||||||
A simple guide has been written to assist in hosting your own instance of movie-web. Check it out below
|
A simple guide has been written to assist in hosting your own instance of movie-web. Check it out below
|
||||||
|
|
||||||
|[Selfhosting guide](https://docs.movie-web.app)|
|
|[Selfhosting guide](https://movie-web.github.io/docs)|
|
||||||
|---|
|
|---|
|
||||||
|
|
||||||
## 🤝 Thanks to all Contributors
|
## 🤝 Thanks to all Contributors
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"name": "movie-web",
|
"name": "movie-web",
|
||||||
"version": "4.4.2",
|
"version": "4.4.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"homepage": "https://movie-web.app",
|
"homepage": "https://github.com/movie-web/movie-web",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
|
|
@ -11,7 +11,7 @@ window.__CONFIG__ = {
|
||||||
// Whether to disable hash-based routing, leave this as false if you don't know what this is
|
// Whether to disable hash-based routing, leave this as false if you don't know what this is
|
||||||
VITE_NORMAL_ROUTER: false,
|
VITE_NORMAL_ROUTER: false,
|
||||||
|
|
||||||
// The backend URL to communicate with, defaults to the movie-web hosted one at backend.movie-web.app
|
// The backend URL to communicate with
|
||||||
VITE_BACKEND_URL: null,
|
VITE_BACKEND_URL: null,
|
||||||
|
|
||||||
// A comma separated list of disallowed IDs in the case of a DMCA claim - in the format "series-<id>" and "movie-<id>"
|
// A comma separated list of disallowed IDs in the case of a DMCA claim - in the format "series-<id>" and "movie-<id>"
|
||||||
|
|
|
@ -2,6 +2,7 @@ import { ofetch } from "ofetch";
|
||||||
|
|
||||||
import { getAuthHeaders } from "@/backend/accounts/auth";
|
import { getAuthHeaders } from "@/backend/accounts/auth";
|
||||||
import { ProgressResponse } from "@/backend/accounts/user";
|
import { ProgressResponse } from "@/backend/accounts/user";
|
||||||
|
import { BACKEND_URL } from "@/setup/constants";
|
||||||
import { AccountWithToken } from "@/stores/auth";
|
import { AccountWithToken } from "@/stores/auth";
|
||||||
import { ProgressMediaItem, ProgressUpdateItem } from "@/stores/progress";
|
import { ProgressMediaItem, ProgressUpdateItem } from "@/stores/progress";
|
||||||
|
|
||||||
|
@ -103,6 +104,7 @@ export async function removeProgress(
|
||||||
episodeId?: string,
|
episodeId?: string,
|
||||||
seasonId?: string,
|
seasonId?: string,
|
||||||
) {
|
) {
|
||||||
|
if (!BACKEND_URL) return;
|
||||||
await ofetch(`/users/${account.userId}/progress/${id}`, {
|
await ofetch(`/users/${account.userId}/progress/${id}`, {
|
||||||
method: "DELETE",
|
method: "DELETE",
|
||||||
headers: getAuthHeaders(account.token),
|
headers: getAuthHeaders(account.token),
|
||||||
|
|
|
@ -5,13 +5,14 @@ import { useCallback } from "react";
|
||||||
|
|
||||||
import { isExtensionActiveCached } from "@/backend/extension/messaging";
|
import { isExtensionActiveCached } from "@/backend/extension/messaging";
|
||||||
import { ScrapingItems, ScrapingSegment } from "@/hooks/useProviderScrape";
|
import { ScrapingItems, ScrapingSegment } from "@/hooks/useProviderScrape";
|
||||||
|
import { BACKEND_URL } from "@/setup/constants";
|
||||||
import { useAuthStore } from "@/stores/auth";
|
import { useAuthStore } from "@/stores/auth";
|
||||||
import { PlayerMeta } from "@/stores/player/slices/source";
|
import { PlayerMeta } from "@/stores/player/slices/source";
|
||||||
|
|
||||||
// for anybody who cares - these are anonymous metrics.
|
// for anybody who cares - these are anonymous metrics.
|
||||||
// They are just used for figuring out if providers are broken or not
|
// They are just used for figuring out if providers are broken or not
|
||||||
const metricsEndpoint = "https://backend.movie-web.app/metrics/providers";
|
const metricsEndpoint = `${BACKEND_URL}/metrics/providers`;
|
||||||
const captchaMetricsEndpoint = "https://backend.movie-web.app/metrics/captcha";
|
const captchaMetricsEndpoint = `${BACKEND_URL}/metrics/captcha`;
|
||||||
const batchId = () => nanoid(32);
|
const batchId = () => nanoid(32);
|
||||||
|
|
||||||
export type ProviderMetric = {
|
export type ProviderMetric = {
|
||||||
|
@ -44,6 +45,7 @@ function getStackTrace(error: Error, lines: number) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function reportProviders(items: ProviderMetric[]): Promise<void> {
|
export async function reportProviders(items: ProviderMetric[]): Promise<void> {
|
||||||
|
if (!BACKEND_URL) return;
|
||||||
return ofetch(metricsEndpoint, {
|
return ofetch(metricsEndpoint, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: {
|
body: {
|
||||||
|
@ -156,6 +158,7 @@ export function useReportProviders() {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function reportCaptchaSolve(success: boolean) {
|
export function reportCaptchaSolve(success: boolean) {
|
||||||
|
if (!BACKEND_URL) return;
|
||||||
ofetch(captchaMetricsEndpoint, {
|
ofetch(captchaMetricsEndpoint, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
body: {
|
body: {
|
||||||
|
|
|
@ -55,7 +55,7 @@ function ProxyEdit({ proxyUrls, setProxyUrls }: ProxyEditProps) {
|
||||||
</p>
|
</p>
|
||||||
<p className="max-w-[20rem] font-medium">
|
<p className="max-w-[20rem] font-medium">
|
||||||
<Trans i18nKey="settings.connections.workers.description">
|
<Trans i18nKey="settings.connections.workers.description">
|
||||||
<MwLink to="https://docs.movie-web.app/proxy/deploy">
|
<MwLink to="https://movie-web.github.io/docs/proxy/deploy">
|
||||||
Proxy documentation
|
Proxy documentation
|
||||||
</MwLink>
|
</MwLink>
|
||||||
</Trans>
|
</Trans>
|
||||||
|
@ -125,7 +125,7 @@ function BackendEdit({ backendUrl, setBackendUrl }: BackendEditProps) {
|
||||||
</p>
|
</p>
|
||||||
<p className="max-w-[20rem] font-medium">
|
<p className="max-w-[20rem] font-medium">
|
||||||
<Trans i18nKey="settings.connections.server.description">
|
<Trans i18nKey="settings.connections.server.description">
|
||||||
<MwLink to="https://docs.movie-web.app/backend/deploy">
|
<MwLink to="https://movie-web.github.io/docs/backend/deploy">
|
||||||
Backend documentation
|
Backend documentation
|
||||||
</MwLink>
|
</MwLink>
|
||||||
</Trans>
|
</Trans>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
export const APP_VERSION = import.meta.env.PACKAGE_VERSION;
|
export const APP_VERSION = import.meta.env.PACKAGE_VERSION;
|
||||||
export const DISCORD_LINK = "https://discord.movie-web.app";
|
export const DISCORD_LINK = "https://discord.gg/gQYB6fGArX";
|
||||||
export const GITHUB_LINK = "https://github.com/movie-web/movie-web";
|
export const GITHUB_LINK = "https://github.com/movie-web/movie-web";
|
||||||
export const DONATION_LINK = "https://ko-fi.com/movieweb";
|
export const DONATION_LINK = "https://ko-fi.com/movieweb";
|
||||||
export const GA_ID = "G-44YVXRL61C";
|
export const GA_ID = "G-44YVXRL61C";
|
||||||
export const BACKEND_URL = "https://backend.movie-web.app";
|
export const BACKEND_URL = import.meta.env.VITE_BACKEND_URL;
|
||||||
|
|
Loading…
Reference in a new issue