Ссылка на репозиторий через env
This commit is contained in:
@@ -3,14 +3,15 @@
|
||||
######################################
|
||||
|
||||
# config/app.php
|
||||
APP_TITLE='Агрегатор плейлистов'
|
||||
APP_TITLE='Проверка плейлистов'
|
||||
APP_URL=http://localhost:8080
|
||||
APP_DEBUG=false
|
||||
APP_ENV=prod
|
||||
APP_TIMEZONE=Europe/Moscow
|
||||
PAGE_SIZE=0
|
||||
REPO_URL='https://git.axenov.dev/IPTV'
|
||||
|
||||
# config/bot.php
|
||||
# config/api.php
|
||||
TG_BOT_TOKEN=
|
||||
TG_BOT_SECRET=
|
||||
|
||||
|
||||
@@ -5,10 +5,11 @@
|
||||
Использует [playlists.ini](https://git.axenov.dev/IPTV/playlists) с описанием плейлистов для своей работы.
|
||||
|
||||
> **Веб-сайт:** [m3u.su](https://m3u.su)
|
||||
> **Зеркало:** [m3u.su](https://m3u.su)
|
||||
> **Документация:** [m3u.su/docs](https://m3u.su/docs)
|
||||
> Исходный код: [git.axenov.dev/IPTV/web](https://git.axenov.dev/IPTV/web)
|
||||
> Telegram-канал: [@iptv_aggregator](https://t.me/iptv_aggregator)
|
||||
> Обсуждение: [@iptv_aggregator_chat](https://t.me/iptv_aggregator_chat)
|
||||
> Бот: [@iptv_aggregator_bot](https://t.me/iptv_aggregator_bot)
|
||||
> Дополнительные сведения: [git.axenov.dev/IPTV/.profile](https://git.axenov.dev/IPTV/.profile)
|
||||
|
||||
## О веб-сервисе
|
||||
|
||||
@@ -270,12 +270,11 @@ class Bot
|
||||
$replyText[] = '*Ресурсы и страницы*';
|
||||
$replyText[] = '';
|
||||
$replyText[] = '🌏 Сайт: ' . $this->escape(base_url());
|
||||
config('app.mirror_url') && $replyText[] = '🪞 Зеркало: ' . $this->escape(mirror_url());
|
||||
$replyText[] = '👩💻 Исходный код: ' . $this->escape('https://git.axenov.dev/IPTV');
|
||||
$replyText[] = '👩💻 Исходный код: ' . $this->escape(config('app.repo_url'));
|
||||
$replyText[] = '✈️ Telegram\-канал: @iptv\_aggregator';
|
||||
$replyText[] = '✈️ Обсуждение: @iptv\_aggregator\_chat';
|
||||
$replyText[] = '📚 Доп\. сведения:';
|
||||
$replyText[] = '\- ' . $this->escape('https://git.axenov.dev/IPTV/.profile');
|
||||
$replyText[] = '\- ' . $this->escape(config('app.repo_url') . '/.profile');
|
||||
$replyText[] = '\- ' . $this->escape(base_url('faq'));
|
||||
|
||||
return $this->reply(implode("\n", $replyText));
|
||||
|
||||
@@ -14,6 +14,7 @@ return [
|
||||
'env' => env('APP_ENV', env('IPTV_ENV', 'prod')),
|
||||
'timezone' => env('APP_TIMEZONE', 'GMT'),
|
||||
'page_size' => int(env('PAGE_SIZE', 10)),
|
||||
'repo_url' => env('REPO_URL', 'https://git.axenov.dev/IPTV'),
|
||||
'pls_encodings' => [
|
||||
'UTF-8',
|
||||
'CP1251',
|
||||
|
||||
@@ -249,12 +249,12 @@
|
||||
<ul>
|
||||
<li>
|
||||
создать pull-request в открытом репозитории проекта с удалением данных о плейлисте из файла
|
||||
<a href="https://git.axenov.dev/IPTV/playlists/src/branch/master/playlists.ini"
|
||||
<a href="{{ config('app.repo_url') }}/playlists/src/branch/master/playlists.ini"
|
||||
target="_blank"
|
||||
>playlists.ini</a>, указав в комментарии к коммиту юридически значимую информацию;
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://git.axenov.dev/IPTV/playlists/issues/new" target="_blank">создать
|
||||
<a href="{{ config('app.repo_url') }}/playlists/issues/new" target="_blank">создать
|
||||
публичное обращение</a> в открытом репозитории проекта, указав юридически значимую
|
||||
информацию;
|
||||
</li>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{###########################################################################
|
||||
# Copyright (c) 2025, Антон Аксенов
|
||||
# This file is part of m3u.su project
|
||||
# MIT License: https://git.axenov.dev/IPTV/web/src/branch/master/LICENSE
|
||||
# MIT License: {{config('app.repo_url}}/web/src/branch/master/LICENSE
|
||||
###########################################################################}
|
||||
|
||||
<!DOCTYPE html>
|
||||
@@ -107,7 +107,7 @@
|
||||
<a target="_blank" href="/docs" class="text-light text-decoration-none d-flex align-items-center gap-1">
|
||||
<ion-icon name="document-text-outline"></ion-icon>Документация
|
||||
</a>
|
||||
<a target="_blank" href="https://git.axenov.dev/IPTV" class="text-light text-decoration-none d-flex align-items-center gap-1">
|
||||
<a target="_blank" href="{{ config('app.repo_url') }}" class="text-light text-decoration-none d-flex align-items-center gap-1">
|
||||
<ion-icon name="code-slash-outline"></ion-icon>Исходники
|
||||
</a>
|
||||
<a target="_blank" href="https://axenov.dev" class="text-light text-decoration-none d-flex align-items-center gap-1">
|
||||
@@ -125,7 +125,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<a class="small text-secondary d-inline-flex align-items-center gap-1"
|
||||
href="https://git.axenov.dev/IPTV/web/releases/tag/v{{ version() }}"
|
||||
href="{{ config('app.repo_url') }}/web/releases/tag/v{{ version() }}"
|
||||
target="_blank"
|
||||
>
|
||||
<ion-icon name="pricetag-outline"></ion-icon>v{{ version() }}
|
||||
|
||||
Reference in New Issue
Block a user