Merge branch 'master' into old-engine

This commit is contained in:
nikk gitanes
2023-03-28 17:22:55 +03:00
7 changed files with 44 additions and 13 deletions

View File

@@ -32,17 +32,39 @@ path/to/Android/sdk/ndk/ver/toolchains/llvm/prebuilt/platform
#
### Server args:
#### Usage
TorrServer [--port PORT] [--path PATH] [--logpath LOGPATH] [--rdb] [--httpauth] [--dontkill] [--ui]
TorrServer-darwin-arm64 [--port PORT] [--path PATH] [--logpath LOGPATH] [--weblogpath WEBLOGPATH] [--rdb] [--httpauth] [--dontkill] [--ui] [--torrentsdir TORRENTSDIR] [--torrentaddr TORRENTADDR] [--pubipv4 PUBIPV4] [--pubipv6 PUBIPV6] [--searchwa]
#### Options
* --port PORT, -p PORT web server port
* --path PATH, -d PATH database and settings path
* --logpath LOGPATH, -l LOGPATH log path
* --rdb, -r start in read-only DB mode
* --httpauth, -a http auth on all requests
* --dontkill, -k dont kill server on signal
* --ui, -u run page torrserver in browser
* --version display version and exit
* --port PORT, -p PORT
* web server port, default 8090
* --path PATH, -d PATH
* database dir path
* --logpath LOGPATH, -l LOGPATH
* server log file path
* --weblogpath WEBLOGPATH, -w WEBLOGPATH
* web access log file path
* --rdb, -r
* start in read-only DB mode
* --httpauth, -a
* enable http auth on all requests
* --dontkill, -k
* don't kill server on signal
* --ui, -u
* open torrserver page in browser
* --torrentsdir TORRENTSDIR, -t TORRENTSDIR
* autoload torrents from dir
* --torrentaddr TORRENTADDR
* Torrent client address, default :32000
* --pubipv4 PUBIPV4, -4 PUBIPV4
* set public IPv4 addr
* --pubipv6 PUBIPV6, -6 PUBIPV6
* set public IPv6 addr
* --searchwa, -s
* search without auth
* --help, -h
* display this help and exit
* --version
* display version and exit
#

View File

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="manifest" href="/site.webmanifest">
<link rel="manifest" href="/site.webmanifest" crossorigin="use-credentials">
<meta name="msapplication-TileColor" content="#00a572">
<meta name='apple-mobile-web-app-status-bar-style' content='black-translucent' >
<meta name="theme-color" content="#ffffff">

View File

@@ -54,6 +54,7 @@ export default function LeftSideComponent({
helperText={t('AddDialog.TorrentSourceOptions')}
type='text'
fullWidth
variant='outlined'
onFocus={() => setIsTorrentSourceActive(true)}
onBlur={() => setIsTorrentSourceActive(false)}
inputProps={{ autoComplete: 'off' }}

View File

@@ -67,6 +67,7 @@ export default function RightSideComponent({
margin='dense'
label={t('AddDialog.OriginalTorrentTitle')}
type='text'
variant='outlined'
fullWidth
disabled={isCustomTitleEnabled}
InputProps={{ readOnly: true }}
@@ -79,6 +80,7 @@ export default function RightSideComponent({
margin='dense'
label={t('AddDialog.CustomTorrentTitle')}
type='text'
variant='outlined'
fullWidth
helperText={t('AddDialog.CustomTorrentTitleHelperText')}
InputProps={{
@@ -107,7 +109,9 @@ export default function RightSideComponent({
margin='dense'
label={t('AddDialog.TitleBlank')}
type='text'
variant='outlined'
fullWidth
helperText={t('AddDialog.TitleBlankHelperText')}
/>
)}
<TextField
@@ -116,6 +120,7 @@ export default function RightSideComponent({
margin='dense'
label={t('AddDialog.AddPosterLinkInput')}
type='url'
variant='outlined'
fullWidth
/>

View File

@@ -13,7 +13,8 @@
"CustomTorrentTitleHelperText": "Write custom title to find poster",
"HashExists": "This torrent is already in database",
"OriginalTorrentTitle": "Original torrent title",
"TitleBlank": "Title (blank for orig. torrent title)",
"TitleBlank": "Title",
"TitleBlankHelperText": "Blank for orig. torrent title",
"TorrentSourceLink": "Torrent source",
"TorrentSourceOptions": "magnet / hash / .torrent file link",
"WrongTorrentSource": "Wrong torrent source"

View File

@@ -13,7 +13,8 @@
"CustomTorrentTitleHelperText": "Напишите свое название, чтобы найти постер",
"HashExists": "Этот торрент уже есть в базе данных",
"OriginalTorrentTitle": "Оригинальное название торрента",
"TitleBlank": "Название (пустое - ориг. название торрента)",
"TitleBlank": "Название",
"TitleBlankHelperText": "Пустое - ориг. название торрента",
"TorrentSourceLink": "Ссылка на источник торрента",
"TorrentSourceOptions": "magnet-ссылка / хеш / ссылка на .torrent файл",
"WrongTorrentSource": "Неправильный торрент"

View File

@@ -13,7 +13,8 @@
"CustomTorrentTitleHelperText": "Напишіть власну назву, щоб знайти плакат",
"HashExists": "Даний торент вже є у базі даних",
"OriginalTorrentTitle": "Оригінальна назва торенту",
"TitleBlank": "Назва (порожнє - ориг. назва торенту)",
"TitleBlank": "Назва",
"TitleBlankHelperText": "Порожнє - ориг. назва торенту",
"TorrentSourceLink": "Посилання на джерело терента",
"TorrentSourceOptions": "magnet-посилання / хеш / посилання на .torrent файл",
"WrongTorrentSource": "Хибне torrent-джерело"