Skip to content

Commit

Permalink
Docker Alpine 3.12 (#3025)
Browse files Browse the repository at this point in the history
https://alpinelinux.org/posts/Alpine-3.12.0-released.html
With PHP 7.3.18 (from 7.3.17) (and Apache 2.4.43 unchanged).
No other significant change spotted
  • Loading branch information
Alkarex authored and aledeg committed Jun 2, 2020
1 parent d4c98e2 commit ec9d380
Show file tree
Hide file tree
Showing 25 changed files with 183 additions and 98 deletions.
2 changes: 1 addition & 1 deletion Docker/Dockerfile-Alpine
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.11
FROM alpine:3.12

ENV TZ UTC
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
Expand Down
11 changes: 1 addition & 10 deletions app/Controllers/feedController.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,6 @@ public function addAction() {
}

if (Minz_Request::isPost()) {
$cat = Minz_Request::param('category');
$new_cat_name = '';
if ($cat === 'nc') {
// User want to create a new category, new_category parameter
// must exist
$new_cat = Minz_Request::param('new_category');
$new_cat_name = isset($new_cat['name']) ? trim($new_cat['name']) : '';
}

// HTTP information are useful if feed is protected behind a
// HTTP authentication
$user = trim(Minz_Request::param('http_user', ''));
Expand All @@ -172,7 +163,7 @@ public function addAction() {
}

try {
$feed = self::addFeed($url, '', $cat, $new_cat_name, $http_auth);
$feed = self::addFeed($url, '', $Minz_Request::param('category'), null, $http_auth);
} catch (FreshRSS_BadUrl_Exception $e) {
// Given url was not a valid url!
Minz_Log::warning($e->getMessage());
Expand Down
7 changes: 7 additions & 0 deletions app/Controllers/subscriptionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -241,4 +241,11 @@ public function categoryAction() {
public function bookmarkletAction() {
Minz_View::prependTitle(_t('sub.title.subscription_tools') . ' . ');
}

/**
* This action displays the page to add a new feed
*/
public function addAction() {
Minz_View::prependTitle(_t('sub.title.add') . ' . ');
}
}
1 change: 1 addition & 0 deletions app/Models/Themes.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public static function load($theme_id) {
public static function alt($name) {
static $alts = array(
'add' => '✚',
'add-white' => '✚',
'all' => '☰',
'bookmark' => '★',
'bookmark-add' => '✚',
Expand Down
7 changes: 6 additions & 1 deletion app/i18n/cz/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

return array(
'add' => 'Feed and category creation has been moved <a href=\'%s\'>here</a>. It is also accessible from the menu on the left and from the ✚ icon available on the main page.', // TODO - Translation
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.', // TODO - Translation
'title' => 'API', // TODO - Translation
Expand All @@ -16,7 +17,6 @@
'archiving' => 'Archivace',
'empty' => 'Vyprázdit kategorii',
'information' => 'Informace',
'new' => 'Nová kategorie',
'position' => 'Display position', // TODO - Translation
'position_help' => 'To control category sort order', // TODO - Translation
'title' => 'Název',
Expand Down Expand Up @@ -102,13 +102,18 @@
'title' => 'Import / export', // TODO - Translation
),
'menu' => array(
'add' => 'Add a feed/a category', // TODO - Translation
'add_feed' => 'Add a feed', // TODO - Translation
'bookmark' => 'Přihlásit (FreshRSS bookmark)',
'import_export' => 'Import / export', // TODO - Translation
'subscription_management' => 'Správa subskripcí',
'subscription_tools' => 'Subscription tools', // TODO - Translation
),
'title' => array(
'_' => 'Správa subskripcí',
'add' => 'Add a feed/a category', // TODO - Translation
'add_category' => 'Add a category', // TODO - Translation
'add_feed' => 'Add a feed', // TODO - Translation
'feed_management' => 'Správa RSS kanálů',
'subscription_tools' => 'Subscription tools', // TODO - Translation
),
Expand Down
7 changes: 6 additions & 1 deletion app/i18n/de/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

return array(
'add' => 'Feed and category creation has been moved <a href=\'%s\'>here</a>. It is also accessible from the menu on the left and from the ✚ icon available on the main page.', // TODO - Translation
'api' => array(
'documentation' => 'Kopieren Sie die folgende URL, um sie in einem externen Tool zu verwenden.',
'title' => 'API', // TODO - Translation
Expand All @@ -16,7 +17,6 @@
'archiving' => 'Archivierung',
'empty' => 'Leere Kategorie',
'information' => 'Information', // TODO - Translation
'new' => 'Neue Kategorie',
'position' => 'Reihenfolge',
'position_help' => 'Steuert die Kategoriesortierung',
'title' => 'Titel',
Expand Down Expand Up @@ -102,13 +102,18 @@
'title' => 'Importieren / Exportieren',
),
'menu' => array(
'add' => 'Add a feed/a category', // TODO - Translation
'add_feed' => 'Add a feed', // TODO - Translation
'bookmark' => 'Abonnieren (FreshRSS-Lesezeichen)',
'import_export' => 'Importieren / Exportieren',
'subscription_management' => 'Abonnementverwaltung',
'subscription_tools' => 'Abonnement-Tools',
),
'title' => array(
'_' => 'Abonnementverwaltung',
'add' => 'Add a feed/a category', // TODO - Translation
'add_category' => 'Add a category', // TODO - Translation
'add_feed' => 'Add a feed', // TODO - Translation
'feed_management' => 'Verwaltung der RSS-Feeds',
'subscription_tools' => 'Abonnement-Tools',
),
Expand Down
7 changes: 6 additions & 1 deletion app/i18n/en/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

return array(
'add' => 'Feed and category creation has been moved <a href=\'%s\'>here</a>. It is also accessible from the menu on the left and from the ✚ icon available on the main page.',
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.',
'title' => 'API',
Expand All @@ -16,7 +17,6 @@
'archiving' => 'Archiving',
'empty' => 'Empty category',
'information' => 'Information',
'new' => 'New category',
'position' => 'Display position',
'position_help' => 'To control category sort order',
'title' => 'Title',
Expand Down Expand Up @@ -102,13 +102,18 @@
'title' => 'Import / export',
),
'menu' => array(
'add' => 'Add a feed/a category',
'add_feed' => 'Add a feed',
'bookmark' => 'Subscribe (FreshRSS bookmark)',
'import_export' => 'Import / export',
'subscription_management' => 'Subscriptions management',
'subscription_tools' => 'Subscription tools',
),
'title' => array(
'_' => 'Subscriptions management',
'add' => 'Add a feed/a category',
'add_category' => 'Add a category',
'add_feed' => 'Add a feed',
'feed_management' => 'RSS feeds management',
'subscription_tools' => 'Subscription tools',
),
Expand Down
7 changes: 6 additions & 1 deletion app/i18n/es/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

return array(
'add' => 'Feed and category creation has been moved <a href=\'%s\'>here</a>. It is also accessible from the menu on the left and from the ✚ icon available on the main page.', // TODO - Translation
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.', // TODO - Translation
'title' => 'API', // TODO - Translation
Expand All @@ -16,7 +17,6 @@
'archiving' => 'Archivo',
'empty' => 'Vaciar categoría',
'information' => 'Información',
'new' => 'Nueva categoría',
'position' => 'Display position', // TODO - Translation
'position_help' => 'To control category sort order', // TODO - Translation
'title' => 'Título',
Expand Down Expand Up @@ -102,13 +102,18 @@
'title' => 'Importar / exportar',
),
'menu' => array(
'add' => 'Add a feed/a category', // TODO - Translation
'add_feed' => 'Add a feed', // TODO - Translation
'bookmark' => 'Suscribirse (favorito FreshRSS)',
'import_export' => 'Importar / exportar',
'subscription_management' => 'Administración de suscripciones',
'subscription_tools' => 'Subscription tools', // TODO - Translation
),
'title' => array(
'_' => 'Administración de suscripciones',
'add' => 'Add a feed/a category', // TODO - Translation
'add_category' => 'Add a category', // TODO - Translation
'add_feed' => 'Add a feed', // TODO - Translation
'feed_management' => 'Administración de fuentes RSS',
'subscription_tools' => 'Subscription tools', // TODO - Translation
),
Expand Down
7 changes: 6 additions & 1 deletion app/i18n/fr/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

return array(
'add' => 'L\'ajout de flux et de catégories se fait désormais <a href=\'%s\'>ici</a>. Il est possible d\'y accéder depuis le menu de gauche ou depuis l\'icône ✚ présente sur la page principale.',
'api' => array(
'documentation' => 'Copier l’URL suivante dans l’outil qui utilisera l’API.',
'title' => 'API', // TODO - Translation
Expand All @@ -16,7 +17,6 @@
'archiving' => 'Archivage',
'empty' => 'Catégorie vide',
'information' => 'Informations',
'new' => 'Nouvelle catégorie',
'position' => 'Position d’affichage',
'position_help' => 'Pour contrôler l’ordre de tri des catégories',
'title' => 'Titre',
Expand Down Expand Up @@ -102,13 +102,18 @@
'title' => 'Importer / exporter',
),
'menu' => array(
'add' => 'Ajouter un flux/une catégorie',
'add_feed' => 'Ajouter un flux',
'bookmark' => 'S’abonner (bookmark FreshRSS)',
'import_export' => 'Importer / exporter',
'subscription_management' => 'Gestion des abonnements',
'subscription_tools' => 'Outils d’abonnement',
),
'title' => array(
'_' => 'Gestion des abonnements',
'add' => 'Ajouter un flux/une catégorie',
'add_category' => 'Ajouter une catégorie',
'add_feed' => 'Ajouter un flux',
'feed_management' => 'Gestion des flux RSS',
'subscription_tools' => 'Outils d’abonnement',
),
Expand Down
7 changes: 6 additions & 1 deletion app/i18n/he/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

return array(
'add' => 'Feed and category creation has been moved <a href=\'%s\'>here</a>. It is also accessible from the menu on the left and from the ✚ icon available on the main page.', // TODO - Translation
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.', // TODO - Translation
'title' => 'API', // TODO - Translation
Expand All @@ -16,7 +17,6 @@
'archiving' => 'ארכוב',
'empty' => 'Empty category', // TODO - Translation
'information' => 'מידע',
'new' => 'קטגוריה חדשה',
'position' => 'Display position', // TODO - Translation
'position_help' => 'To control category sort order', // TODO - Translation
'title' => 'כותרת',
Expand Down Expand Up @@ -102,13 +102,18 @@
'title' => 'יבוא / יצוא ',
),
'menu' => array(
'add' => 'Add a feed/a category', // TODO - Translation
'add_feed' => 'Add a feed', // TODO - Translation
'bookmark' => 'הרשמה (FreshRSS סימניית)',
'import_export' => 'יבוא / יצוא ',
'subscription_management' => 'ניהול הרשמות',
'subscription_tools' => 'Subscription tools', // TODO - Translation
),
'title' => array(
'_' => 'ניהול הרשמות',
'add' => 'Add a feed/a category', // TODO - Translation
'add_category' => 'Add a category', // TODO - Translation
'add_feed' => 'Add a feed', // TODO - Translation
'feed_management' => 'ניהול הזנות RSS',
'subscription_tools' => 'Subscription tools', // TODO - Translation
),
Expand Down
7 changes: 6 additions & 1 deletion app/i18n/it/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

return array(
'add' => 'Feed and category creation has been moved <a href=\'%s\'>here</a>. It is also accessible from the menu on the left and from the ✚ icon available on the main page.', // TODO - Translation
'api' => array(
'documentation' => 'Copy the following URL to use it within an external tool.', // TODO - Translation
'title' => 'API', // TODO - Translation
Expand All @@ -16,7 +17,6 @@
'archiving' => 'Archiviazione',
'empty' => 'Categoria vuota',
'information' => 'Informazioni',
'new' => 'Nuova categoria',
'position' => 'Display position', // TODO - Translation
'position_help' => 'To control category sort order', // TODO - Translation
'title' => 'Titolo',
Expand Down Expand Up @@ -102,13 +102,18 @@
'title' => 'Importa / esporta',
),
'menu' => array(
'add' => 'Add a feed/a category', // TODO - Translation
'add_feed' => 'Add a feed', // TODO - Translation
'bookmark' => 'Bookmark (trascina nei preferiti)',
'import_export' => 'Importa / esporta',
'subscription_management' => 'Gestione sottoscrizioni',
'subscription_tools' => 'Subscription tools', // TODO - Translation
),
'title' => array(
'_' => 'Gestione sottoscrizioni',
'add' => 'Add a feed/a category', // TODO - Translation
'add_category' => 'Add a category', // TODO - Translation
'add_feed' => 'Add a feed', // TODO - Translation
'feed_management' => 'Gestione RSS feeds',
'subscription_tools' => 'Subscription tools', // TODO - Translation
),
Expand Down
7 changes: 6 additions & 1 deletion app/i18n/kr/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

return array(
'add' => 'Feed and category creation has been moved <a href=\'%s\'>here</a>. It is also accessible from the menu on the left and from the ✚ icon available on the main page.', // TODO - Translation
'api' => array(
'documentation' => '외부 도구에서 API를 사용하기 위해서 아래 URL을 사용하세요.',
'title' => 'API',
Expand All @@ -16,7 +17,6 @@
'archiving' => '보관',
'empty' => '빈 카테고리',
'information' => '정보',
'new' => '새 카테고리',
'position' => 'Display position', // TODO - Translation
'position_help' => 'To control category sort order', // TODO - Translation
'title' => '제목',
Expand Down Expand Up @@ -102,13 +102,18 @@
'title' => '불러오기 / 내보내기',
),
'menu' => array(
'add' => 'Add a feed/a category', // TODO - Translation
'add_feed' => 'Add a feed', // TODO - Translation
'bookmark' => '구독하기 (FreshRSS 북마클릿)',
'import_export' => '불러오기 / 내보내기',
'subscription_management' => '구독 관리',
'subscription_tools' => '구독 도구',
),
'title' => array(
'_' => '구독 관리',
'add' => 'Add a feed/a category', // TODO - Translation
'add_category' => 'Add a category', // TODO - Translation
'add_feed' => 'Add a feed', // TODO - Translation
'feed_management' => 'RSS 피드 관리',
'subscription_tools' => '구독 도구',
),
Expand Down
7 changes: 6 additions & 1 deletion app/i18n/nl/sub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

return array(
'add' => 'Feed and category creation has been moved <a href=\'%s\'>here</a>. It is also accessible from the menu on the left and from the ✚ icon available on the main page.', // TODO - Translation
'api' => array(
'documentation' => 'Kopieer de volgende URL om deze in een externe toepassing te gebruiken.',
'title' => 'API',
Expand All @@ -16,7 +17,6 @@
'archiving' => 'Archiveren',
'empty' => 'Lege categorie',
'information' => 'Informatie',
'new' => 'Nieuwe categorie',
'position' => 'Weergavepositie',
'position_help' => 'Om de categorieweergave-sorteervolgorde te controleren',
'title' => 'Titel',
Expand Down Expand Up @@ -102,13 +102,18 @@
'title' => 'Importeren / exporteren',
),
'menu' => array(
'add' => 'Add a feed/a category', // TODO - Translation
'add_feed' => 'Add a feed', // TODO - Translation
'bookmark' => 'Abonneer (FreshRSS bladwijzer)',
'import_export' => 'Importeer / exporteer',
'subscription_management' => 'Abonnementenbeheer',
'subscription_tools' => 'Hulpmiddelen voor abonnementen',
),
'title' => array(
'_' => 'Abonnementenbeheer',
'add' => 'Add a feed/a category', // TODO - Translation
'add_category' => 'Add a category', // TODO - Translation
'add_feed' => 'Add a feed', // TODO - Translation
'feed_management' => 'RSS-feedbeheer',
'subscription_tools' => 'Hulpmiddelen voor abonnementen',
),
Expand Down
Loading

0 comments on commit ec9d380

Please sign in to comment.