rename page to article

This commit is contained in:
ghost 2023-10-10 14:43:55 +03:00
parent c747166a30
commit bd772f87d1
2 changed files with 8 additions and 8 deletions

8
.env
View File

@ -59,8 +59,8 @@ APP_SENSITIVE=0
APP_TRACKERS=http://[201:23b4:991a:634d:8359:4521:5576:15b7]:2023/announce|http://[200:1e2f:e608:eb3a:2bf:1e62:87ba:e2f7]/announce|http://[316:c51a:62a3:8b9::5]/announce
APP_PAGE_TITLE_LENGTH_MIN=10
APP_PAGE_TITLE_LENGTH_MAX=255
APP_PAGE_DESCRIPTION_LENGTH_MIN=0
APP_PAGE_DESCRIPTION_LENGTH_MAX=10000
APP_ARTICLE_TITLE_LENGTH_MIN=10
APP_ARTICLE_TITLE_LENGTH_MAX=255
APP_ARTICLE_DESCRIPTION_LENGTH_MIN=0
APP_ARTICLE_DESCRIPTION_LENGTH_MAX=10000
APP_TORRENT_FILE_SIZE_MAX=1024000

View File

@ -12,10 +12,10 @@ parameters:
app.themes: '%env(APP_THEMES)%'
app.sensitive: '%env(APP_SENSITIVE)%'
app.trackers: '%env(APP_TRACKERS)%'
app.article.title.length.min: '%env(APP_PAGE_TITLE_LENGTH_MIN)%'
app.article.title.length.max: '%env(APP_PAGE_TITLE_LENGTH_MAX)%'
app.article.description.length.min: '%env(APP_PAGE_DESCRIPTION_LENGTH_MIN)%'
app.article.description.length.max: '%env(APP_PAGE_DESCRIPTION_LENGTH_MAX)%'
app.article.title.length.min: '%env(APP_ARTICLE_TITLE_LENGTH_MIN)%'
app.article.title.length.max: '%env(APP_ARTICLE_TITLE_LENGTH_MAX)%'
app.article.description.length.min: '%env(APP_ARTICLE_DESCRIPTION_LENGTH_MIN)%'
app.article.description.length.max: '%env(APP_ARTICLE_DESCRIPTION_LENGTH_MAX)%'
app.torrent.size.max: '%env(APP_TORRENT_FILE_SIZE_MAX)%'
services: