mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
docs: fixed multiple typos, updated latest en.json strings (#371) [skip ci]
This commit is contained in:
@@ -1000,7 +1000,7 @@ paths:
|
|||||||
/settings/main:
|
/settings/main:
|
||||||
get:
|
get:
|
||||||
summary: Returns main settings
|
summary: Returns main settings
|
||||||
description: Retreives all main settings in JSON format
|
description: Retrieves all main settings in JSON format
|
||||||
tags:
|
tags:
|
||||||
- settings
|
- settings
|
||||||
responses:
|
responses:
|
||||||
@@ -1178,7 +1178,7 @@ paths:
|
|||||||
/settings/radarr/test:
|
/settings/radarr/test:
|
||||||
post:
|
post:
|
||||||
summary: Test radarr configuration
|
summary: Test radarr configuration
|
||||||
description: Test if the provided Radarr congifuration values are valid. Returns profiles and root folders on success
|
description: Test if the provided Radarr configuration values are valid. Returns profiles and root folders on success
|
||||||
tags:
|
tags:
|
||||||
- settings
|
- settings
|
||||||
requestBody:
|
requestBody:
|
||||||
@@ -1322,7 +1322,7 @@ paths:
|
|||||||
/settings/sonarr/test:
|
/settings/sonarr/test:
|
||||||
post:
|
post:
|
||||||
summary: Test Sonarr configuration
|
summary: Test Sonarr configuration
|
||||||
description: Test if the provided Sonarr congifuration values are valid. Returns profiles and root folders on success
|
description: Test if the provided Sonarr configuration values are valid. Returns profiles and root folders on success
|
||||||
tags:
|
tags:
|
||||||
- settings
|
- settings
|
||||||
requestBody:
|
requestBody:
|
||||||
@@ -1425,7 +1425,7 @@ paths:
|
|||||||
/settings/initialize:
|
/settings/initialize:
|
||||||
get:
|
get:
|
||||||
summary: Set the application as initialized
|
summary: Set the application as initialized
|
||||||
description: Sets the app as initalized and allows the user to navigate to pages other than the setup page
|
description: Sets the app as initialized and allows the user to navigate to pages other than the setup page
|
||||||
tags:
|
tags:
|
||||||
- settings
|
- settings
|
||||||
responses:
|
responses:
|
||||||
|
@@ -40,7 +40,7 @@ export const isAuthenticated = (
|
|||||||
if (!req.user || !req.user.hasPermission(permissions ?? 0)) {
|
if (!req.user || !req.user.hasPermission(permissions ?? 0)) {
|
||||||
res.status(403).json({
|
res.status(403).json({
|
||||||
status: 403,
|
status: 403,
|
||||||
error: 'You do not have permisson to access this endpoint',
|
error: 'You do not have permission to access this endpoint',
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
next();
|
next();
|
||||||
|
@@ -14,7 +14,7 @@ authRoutes.get('/me', isAuthenticated(), async (req, res) => {
|
|||||||
return res.status(500).json({
|
return res.status(500).json({
|
||||||
status: 500,
|
status: 500,
|
||||||
error:
|
error:
|
||||||
'Requsted user endpoint withuot valid authenticated user in session',
|
'Requested user endpoint without valid authenticated user in session',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
const user = await userRepository.findOneOrFail({
|
const user = await userRepository.findOneOrFail({
|
||||||
|
@@ -20,7 +20,7 @@ const Login: React.FC = () => {
|
|||||||
|
|
||||||
// Effect that is triggered when the `authToken` comes back from the Plex OAuth
|
// Effect that is triggered when the `authToken` comes back from the Plex OAuth
|
||||||
// We take the token and attempt to login. If we get a success message, we will
|
// We take the token and attempt to login. If we get a success message, we will
|
||||||
// ask swr to revalidate the user which _shouid_ come back with a valid user.
|
// ask swr to revalidate the user which _should_ come back with a valid user.
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const login = async () => {
|
const login = async () => {
|
||||||
setProcessing(true);
|
setProcessing(true);
|
||||||
|
@@ -23,13 +23,12 @@ const messages = defineMessages({
|
|||||||
'Grants permission to manage Overseerr users. Users with this permission cannot modify users with Administrator privilege, or grant it.',
|
'Grants permission to manage Overseerr users. Users with this permission cannot modify users with Administrator privilege, or grant it.',
|
||||||
settings: 'Manage Settings',
|
settings: 'Manage Settings',
|
||||||
settingsDescription:
|
settingsDescription:
|
||||||
'Grants permission to modify all Overseerr settings. User must have this permission to be able to grant it to others.',
|
'Grants permission to modify all Overseerr settings. A user must have this permission to grant it to others.',
|
||||||
managerequests: 'Manage Requests',
|
managerequests: 'Manage Requests',
|
||||||
managerequestsDescription:
|
managerequestsDescription:
|
||||||
'Grants permission to manage Overseerr requests. This includes approving and denying requests.',
|
'Grants permission to manage Overseerr requests. This includes approving and denying requests.',
|
||||||
request: 'Request',
|
request: 'Request',
|
||||||
requestDescription:
|
requestDescription: 'Grants permission to request movies and series.',
|
||||||
'Grants permission to make requests for movies or tv shows.',
|
|
||||||
vote: 'Vote',
|
vote: 'Vote',
|
||||||
voteDescription:
|
voteDescription:
|
||||||
'Grants permission to vote on requests (voting not yet implemented)',
|
'Grants permission to vote on requests (voting not yet implemented)',
|
||||||
@@ -38,7 +37,7 @@ const messages = defineMessages({
|
|||||||
'Grants auto approval for any requests made by this user.',
|
'Grants auto approval for any requests made by this user.',
|
||||||
save: 'Save',
|
save: 'Save',
|
||||||
saving: 'Saving...',
|
saving: 'Saving...',
|
||||||
usersaved: 'User succesfully saved',
|
usersaved: 'User saved',
|
||||||
userfail: 'Something went wrong saving the user.',
|
userfail: 'Something went wrong saving the user.',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@@ -3,7 +3,7 @@ export type Nullable<T> = T | null;
|
|||||||
export type Maybe<T> = T | null | undefined;
|
export type Maybe<T> = T | null | undefined;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helps type objects with an abitrary number of properties that are
|
* Helps type objects with an arbitrary number of properties that are
|
||||||
* usually being defined at export.
|
* usually being defined at export.
|
||||||
*
|
*
|
||||||
* @param component Main object you want to apply properties to
|
* @param component Main object you want to apply properties to
|
||||||
|
Reference in New Issue
Block a user