From cc6c529562ef5751133d97e3fec067c0072f215b Mon Sep 17 00:00:00 2001 From: berumuron Date: Fri, 26 Mar 2021 19:41:33 +0100 Subject: tec: Remove data/do-install.txt (#3555) * Remove file data/do-install.txt This file was painful during update because we had to remember to delete it each time. It added a security issue by allowing an attacker to reinstall FreshRSS during the update process. The (more powerful) file data/applied_migrations.txt has been introduced in 8619cf6fa to replace do-install.txt. We had to wait for at least one release in order to make sure existing instances of FreshRSS created the migration file. It should be ok now. * Replace i18n install.not_deleted key * Update documentation to update FreshRSS --- app/i18n/cz/install.php | 2 +- app/i18n/de/install.php | 2 +- app/i18n/en-us/install.php | 2 +- app/i18n/en/install.php | 2 +- app/i18n/es/install.php | 2 +- app/i18n/fr/install.php | 2 +- app/i18n/he/install.php | 2 +- app/i18n/it/install.php | 2 +- app/i18n/kr/install.php | 2 +- app/i18n/nl/install.php | 2 +- app/i18n/oc/install.php | 2 +- app/i18n/pl/install.php | 2 +- app/i18n/pt-br/install.php | 2 +- app/i18n/ru/install.php | 2 +- app/i18n/sk/install.php | 2 +- app/i18n/tr/install.php | 2 +- app/i18n/zh-cn/install.php | 2 +- 17 files changed, 17 insertions(+), 17 deletions(-) (limited to 'app/i18n') diff --git a/app/i18n/cz/install.php b/app/i18n/cz/install.php index f0419ff6e..daca92ca3 100644 --- a/app/i18n/cz/install.php +++ b/app/i18n/cz/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'Vyberte jazyk FreshRSS', 'defined' => 'Jazyk byl nastaven.', ), - 'not_deleted' => 'Nastala chyba, soubor %s musíte smazat ručně.', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => 'Instalace byla úspěšná.', 'session' => array( 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', // TODO - Translation diff --git a/app/i18n/de/install.php b/app/i18n/de/install.php index df74d89be..aded58da3 100644 --- a/app/i18n/de/install.php +++ b/app/i18n/de/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'Wählen Sie eine Sprache für FreshRSS', 'defined' => 'Die Sprache wurde festgelegt.', ), - 'not_deleted' => 'Etwas ist schiefgelaufen; Sie müssen die Datei %s manuell löschen.', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => 'Der Installationsvorgang war erfolgreich.', 'session' => array( 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', // TODO - Translation diff --git a/app/i18n/en-us/install.php b/app/i18n/en-us/install.php index a6cbf4de7..8e6446128 100644 --- a/app/i18n/en-us/install.php +++ b/app/i18n/en-us/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'Choose a language for FreshRSS', 'defined' => 'Language has been defined.', ), - 'not_deleted' => 'Something went wrong; you must delete the file %s manually.', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => 'The installation process was successful.', 'session' => array( 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', diff --git a/app/i18n/en/install.php b/app/i18n/en/install.php index 13cf79066..c84f0ffaa 100644 --- a/app/i18n/en/install.php +++ b/app/i18n/en/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'Choose a language for FreshRSS', 'defined' => 'Language has been defined.', ), - 'not_deleted' => 'Something went wrong; you must delete the file %s manually.', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', 'ok' => 'The installation process was successful.', 'session' => array( 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', diff --git a/app/i18n/es/install.php b/app/i18n/es/install.php index 0a0b82ece..0d2985fdf 100755 --- a/app/i18n/es/install.php +++ b/app/i18n/es/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'Selecciona el idioma para FreshRSS', 'defined' => 'Idioma seleccionado.', ), - 'not_deleted' => 'Parece que ha habido un error. Debes eliminar el archivo %s de forma manual.', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => 'La instalación se ha completado correctamente.', 'session' => array( 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', // TODO - Translation diff --git a/app/i18n/fr/install.php b/app/i18n/fr/install.php index 970bbc451..977ef0fc2 100644 --- a/app/i18n/fr/install.php +++ b/app/i18n/fr/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'Choisissez la langue pour FreshRSS', 'defined' => 'La langue a bien été définie.', ), - 'not_deleted' => 'Quelque chose s’est mal passé, vous devez supprimer le fichier %s à la main.', + 'missing_applied_migrations' => 'Quelque chose s’est mal passé, vous devriez créer le fichier %s à la main.', 'ok' => 'L’installation s’est bien passée.', 'session' => array( 'nok' => 'Le serveur Web semble mal configué pour les cookies nécessaires aux sessions PHP!', diff --git a/app/i18n/he/install.php b/app/i18n/he/install.php index 13ffd5a57..e4a6e6ee4 100644 --- a/app/i18n/he/install.php +++ b/app/i18n/he/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'בחירת שפה ל FreshRSS', 'defined' => 'השפה הוגדרה.', ), - 'not_deleted' => 'משהו נכשל; יש צורך למחוק את הקובץ %s ידנית.', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => 'The installation process was successful.', // TODO - Translation 'session' => array( 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', // TODO - Translation diff --git a/app/i18n/it/install.php b/app/i18n/it/install.php index f842976a7..4dcbfda96 100644 --- a/app/i18n/it/install.php +++ b/app/i18n/it/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'Seleziona la lingua per FreshRSS', 'defined' => 'Lingua impostata.', ), - 'not_deleted' => 'Qualcosa non ha funzionato; devi cancellare il file %s manualmente.', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => 'Processo di installazione terminato con successo.', 'session' => array( 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', // TODO - Translation diff --git a/app/i18n/kr/install.php b/app/i18n/kr/install.php index 77b4475fd..0406489b3 100644 --- a/app/i18n/kr/install.php +++ b/app/i18n/kr/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'FreshRSS에서 사용할 언어를 고르세요', 'defined' => '언어가 설정되었습니다.', ), - 'not_deleted' => '무언가 잘못되었습니다; %s 파일을 직접 삭제해주세요.', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => '설치 과정이 성공적으로 끝났습니다.', 'session' => array( 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', // TODO - Translation diff --git a/app/i18n/nl/install.php b/app/i18n/nl/install.php index 171a5a795..56b6f23e2 100644 --- a/app/i18n/nl/install.php +++ b/app/i18n/nl/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'Kies een taal voor FreshRSS', 'defined' => 'Taal is bepaald.', ), - 'not_deleted' => 'Er ging iets fout! U moet het bestand %s handmatig verwijderen.', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => 'De installatieprocedure is geslaagd.', 'session' => array( 'nok' => 'De webserver lijkt niet goed te zijn geconfigureerd voor de cookies die voor PHP-sessies nodig zijn!', diff --git a/app/i18n/oc/install.php b/app/i18n/oc/install.php index 8da8c3624..072b55f0d 100644 --- a/app/i18n/oc/install.php +++ b/app/i18n/oc/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'Causissètz la lenga per FreshRSS', 'defined' => 'La lenga es corrèctament definida.', ), - 'not_deleted' => 'Quicòm a trucat, sembla qu’avètz suprimit %s a la man.', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => 'L’installacion s’es corrèctament passada.', 'session' => array( 'nok' => 'Sembla que lo servidor web siá pas corrèctament configurat pels cookies per las sessions PHP !', diff --git a/app/i18n/pl/install.php b/app/i18n/pl/install.php index feec91917..244557f2f 100644 --- a/app/i18n/pl/install.php +++ b/app/i18n/pl/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'Choose a language for FreshRSS', // TODO - Translation 'defined' => 'Language has been defined.', // TODO - Translation ), - 'not_deleted' => 'Something went wrong; you must delete the file %s manually.', // TODO - Translation + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => 'The installation process was successful.', // TODO - Translation 'session' => array( 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', // TODO - Translation diff --git a/app/i18n/pt-br/install.php b/app/i18n/pt-br/install.php index b2cd3854a..30cc03f44 100644 --- a/app/i18n/pt-br/install.php +++ b/app/i18n/pt-br/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'Escolha o idioma para o FreshRSS', 'defined' => 'O idioma foi definido.', ), - 'not_deleted' => 'Algo deu errado; você deve deletar o arquivo %s manualmente.', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => 'O processo de instalação foi um sucesso.', 'session' => array( 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', // TODO - Translation diff --git a/app/i18n/ru/install.php b/app/i18n/ru/install.php index c8c245601..3d666460d 100644 --- a/app/i18n/ru/install.php +++ b/app/i18n/ru/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'Выберите язык для FreshRSS', 'defined' => 'Язык выбран.', ), - 'not_deleted' => 'Что-то пошло не так; удалите файл %s вручную.', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => 'Установка успешна.', 'session' => array( 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', // TODO - Translation diff --git a/app/i18n/sk/install.php b/app/i18n/sk/install.php index 8ca6d4327..e6dffdb08 100644 --- a/app/i18n/sk/install.php +++ b/app/i18n/sk/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'Vyberte jazyk pre FreshRSS', 'defined' => 'Jazyk bol nastavený.', ), - 'not_deleted' => 'Niečo sa nepodarilo. Musíte ručne zmazať súbor %s.', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => 'Inštalácia bola úspešná.', 'session' => array( 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', // TODO - Translation diff --git a/app/i18n/tr/install.php b/app/i18n/tr/install.php index 86ec040c0..f5df0d6ab 100644 --- a/app/i18n/tr/install.php +++ b/app/i18n/tr/install.php @@ -111,7 +111,7 @@ return array( 'choose' => 'FreshRSS için bir dil seçin', 'defined' => 'Dil belirlendi.', ), - 'not_deleted' => 'Hata meydana geldi; %s dosyasını elle silmelisiniz.', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => 'Kurulum başarıyla tamamlandı.', 'session' => array( 'nok' => 'The web server seems to be incorrectly configured for cookies required for PHP sessions!', // TODO - Translation diff --git a/app/i18n/zh-cn/install.php b/app/i18n/zh-cn/install.php index ff2a57618..dd37a7e57 100644 --- a/app/i18n/zh-cn/install.php +++ b/app/i18n/zh-cn/install.php @@ -111,7 +111,7 @@ return array( 'choose' => '为 FreshRSS 选择语言', 'defined' => '语言已指定', ), - 'not_deleted' => '出现错误,你必须手动删除文件 %s', + 'missing_applied_migrations' => 'Something went wrong; you should create an empty file %s manually.', // TODO - Translation 'ok' => '安装成功', 'session' => array( 'nok' => 'Web 服务器似乎未正确配置 PHP 会话所需的 cookie!', -- cgit v1.2.3