A free, self-hostable news aggregator…
Added api password indicator text (#7340)
Jackson Culbrethfdc564dd9e85
diff --git a/app/i18n/cs/conf.php b/app/i18n/cs/conf.phpindex b4cef925b..babe1621b 100644--- a/app/i18n/cs/conf.php+++ b/app/i18n/cs/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Správa profilu','api' => array('_' => 'Správa API',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/de/conf.php b/app/i18n/de/conf.phpindex 6acf69c24..23d538b57 100644--- a/app/i18n/de/conf.php+++ b/app/i18n/de/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Profil-Verwaltung','api' => array('_' => 'API-Verwaltung',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'API-Status prüfen: <kbd><a href="../api/" target="_blank">%s</a></kbd>','disabled' => 'Der API-Zugriff ist deaktiviert.','documentation_link' => 'Siehe die <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">Dokumentation und die Liste der bekannten Apps</a>',diff --git a/app/i18n/el/conf.php b/app/i18n/el/conf.phpindex 86477370e..add5090e6 100644--- a/app/i18n/el/conf.php+++ b/app/i18n/el/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Profile management', // TODO'api' => array('_' => 'API management', // DIRTY+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/en-us/conf.php b/app/i18n/en-us/conf.phpindex 0288bc0d9..0b2ed39fd 100644--- a/app/i18n/en-us/conf.php+++ b/app/i18n/en-us/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Profile management', // IGNORE'api' => array('_' => 'API management', // IGNORE+ 'api_not_set' => 'API password not set', // IGNORE+ 'api_set' => 'API password set', // IGNORE'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // IGNORE'disabled' => 'The API access is disabled.', // IGNORE'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // IGNOREdiff --git a/app/i18n/en/conf.php b/app/i18n/en/conf.phpindex da0230a30..01c05b675 100644--- a/app/i18n/en/conf.php+++ b/app/i18n/en/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Profile management','api' => array('_' => 'External access via API',+ 'api_not_set' => 'API password not set',+ 'api_set' => 'API password set','check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>','disabled' => 'The API access is disabled.','documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>',diff --git a/app/i18n/es/conf.php b/app/i18n/es/conf.phpindex 610c7333c..1feecaec6 100644--- a/app/i18n/es/conf.php+++ b/app/i18n/es/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Administración de perfiles','api' => array('_' => 'Administración de API',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/fa/conf.php b/app/i18n/fa/conf.phpindex 9a1890c0a..e91aa7058 100644--- a/app/i18n/fa/conf.php+++ b/app/i18n/fa/conf.php@@ -107,6 +107,8 @@ return array('_' => ' مدیریت پروفایل','api' => array('_' => ' مدیریت API',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/fi/conf.php b/app/i18n/fi/conf.phpindex 3a9a12b88..751b05ff7 100644--- a/app/i18n/fi/conf.php+++ b/app/i18n/fi/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Profiilien hallinta','api' => array('_' => 'API-hallinta',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/fr/conf.php b/app/i18n/fr/conf.phpindex bbf7fd6d1..65cfd63aa 100644--- a/app/i18n/fr/conf.php+++ b/app/i18n/fr/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Gestion du profil','api' => array('_' => 'Gestion de l’API',+ 'api_not_set' => 'Pas de mot de passe API défini',+ 'api_set' => 'Mot de passe API enregistré','check_link' => 'Vérifier l’état de l’API via : <kbd><a href="../api/" target="_blank">%s</a></kbd>','disabled' => 'L’accès API est désactivé.','documentation_link' => 'Voir <a href="https://freshrss.github.io/FreshRSS/fr/users/06_Mobile_access.html" target="_blank">la documentation et une liste d’applications compatibles</a>',diff --git a/app/i18n/he/conf.php b/app/i18n/he/conf.phpindex 704459b97..966bea79d 100644--- a/app/i18n/he/conf.php+++ b/app/i18n/he/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Profile management', // TODO'api' => array('_' => 'API management', // DIRTY+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/hu/conf.php b/app/i18n/hu/conf.phpindex 8c64401df..87a0355ea 100755--- a/app/i18n/hu/conf.php+++ b/app/i18n/hu/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Profil kezelés','api' => array('_' => 'API menedzsment',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'API státusz ellenőrzése: <kbd><a href="../api/" target="_blank">%s</a></kbd>','disabled' => 'Az API hozzáférés ki van kapcsolva.','documentation_link' => 'Lásd az <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">ismert appok dokumentációját és listáját</a>',diff --git a/app/i18n/id/conf.php b/app/i18n/id/conf.phpindex f9e7e39d8..466e974c8 100644--- a/app/i18n/id/conf.php+++ b/app/i18n/id/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Manajemen Profil','api' => array('_' => 'Manajemen API',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/it/conf.php b/app/i18n/it/conf.phpindex dbb6a696e..5453f84b4 100644--- a/app/i18n/it/conf.php+++ b/app/i18n/it/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Gestione profili','api' => array('_' => 'Gestione API',+ 'api_not_set' => 'Password API non impostata',+ 'api_set' => 'Password API impostata','check_link' => 'Verificare lo stato dell’API tramite: <kbd><a href="../api/" target="_blank">%s</a></kbd>','disabled' => 'L’accesso all’API è disabilitato.','documentation_link' => 'Vedi la <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentazione e l’elenco delle applicazioni</a>',diff --git a/app/i18n/ja/conf.php b/app/i18n/ja/conf.phpindex 4bdbdbf00..378c2625f 100644--- a/app/i18n/ja/conf.php+++ b/app/i18n/ja/conf.php@@ -107,6 +107,8 @@ return array('_' => 'プロフィール','api' => array('_' => 'API管理',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'APIステータスを確認する: <kbd><a href="../api/" target="_blank">%s</a></kbd>','disabled' => 'APIアクセスは無効です。','documentation_link' => '既知のアプリの一覧は<a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">ドキュメント</a>を参照してください',diff --git a/app/i18n/ko/conf.php b/app/i18n/ko/conf.phpindex e26171384..889c554d6 100644--- a/app/i18n/ko/conf.php+++ b/app/i18n/ko/conf.php@@ -107,6 +107,8 @@ return array('_' => '프로필 관리','api' => array('_' => 'API 관리',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/lv/conf.php b/app/i18n/lv/conf.phpindex d921d7694..19a78139f 100644--- a/app/i18n/lv/conf.php+++ b/app/i18n/lv/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Profila pārvalde','api' => array('_' => 'API pārvalde',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/nl/conf.php b/app/i18n/nl/conf.phpindex ab680930c..1ca39660f 100644--- a/app/i18n/nl/conf.php+++ b/app/i18n/nl/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Profielbeheer','api' => array('_' => 'API-beheer',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/oc/conf.php b/app/i18n/oc/conf.phpindex 7cc11693d..615e04d34 100644--- a/app/i18n/oc/conf.php+++ b/app/i18n/oc/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Gestion del perfil','api' => array('_' => 'Gestion API',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/pl/conf.php b/app/i18n/pl/conf.phpindex 34d9fa773..1c6ffbda0 100644--- a/app/i18n/pl/conf.php+++ b/app/i18n/pl/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Zarządzanie profilem','api' => array('_' => 'Zarządzanie API',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/pt-br/conf.php b/app/i18n/pt-br/conf.phpindex ec4c24d9e..779228b1f 100644--- a/app/i18n/pt-br/conf.php+++ b/app/i18n/pt-br/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Gerenciamento de perfil','api' => array('_' => 'Administração da API',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/pt-pt/conf.php b/app/i18n/pt-pt/conf.phpindex 385df0abf..4f1bbbcc8 100644--- a/app/i18n/pt-pt/conf.php+++ b/app/i18n/pt-pt/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Gestão de perfil','api' => array('_' => 'Administração da API',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/ru/conf.php b/app/i18n/ru/conf.phpindex c52f20ac9..7a535908f 100644--- a/app/i18n/ru/conf.php+++ b/app/i18n/ru/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Настройки профиля','api' => array('_' => 'Настройки API',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/sk/conf.php b/app/i18n/sk/conf.phpindex 000a943a1..d49c01652 100644--- a/app/i18n/sk/conf.php+++ b/app/i18n/sk/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Správca profilu','api' => array('_' => 'Správa API',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/tr/conf.php b/app/i18n/tr/conf.phpindex 68fa16819..bd98f7330 100644--- a/app/i18n/tr/conf.php+++ b/app/i18n/tr/conf.php@@ -107,6 +107,8 @@ return array('_' => 'Profil yönetimi','api' => array('_' => 'API yönetimi',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/zh-cn/conf.php b/app/i18n/zh-cn/conf.phpindex e80136b10..b6af7fe54 100644--- a/app/i18n/zh-cn/conf.php+++ b/app/i18n/zh-cn/conf.php@@ -107,6 +107,8 @@ return array('_' => '账户管理','api' => array('_' => 'API 管理',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/i18n/zh-tw/conf.php b/app/i18n/zh-tw/conf.phpindex 4b1a6f4af..763937aa3 100644--- a/app/i18n/zh-tw/conf.php+++ b/app/i18n/zh-tw/conf.php@@ -107,6 +107,8 @@ return array('_' => '個人資料管理','api' => array('_' => 'API 管理',+ 'api_not_set' => 'API password not set', // TODO+ 'api_set' => 'API password set', // TODO'check_link' => 'Check API status via: <kbd><a href="../api/" target="_blank">%s</a></kbd>', // TODO'disabled' => 'The API access is disabled.', // TODO'documentation_link' => 'See the <a href="https://freshrss.github.io/FreshRSS/en/users/06_Mobile_access.html#access-via-mobile-app" target="_blank">documentation and list of known apps</a>', // TODOdiff --git a/app/views/user/profile.phtml b/app/views/user/profile.phtmlindex 74f6911cd..8f3633eb3 100644--- a/app/views/user/profile.phtml+++ b/app/views/user/profile.phtml@@ -82,6 +82,11 @@<div class="group-controls"><div class="stick"><input type="password" id="apiPasswordPlain" name="apiPasswordPlain" autocomplete="new-password"+ <?php if (FreshRSS_Context::userConf()->apiPasswordHash != '') {?>+ placeholder="<?= _t('conf.profile.api.api_set') ?>"+ <?php } else {?>+ placeholder="<?= _t('conf.profile.api.api_not_set') ?>"+ <?php } ?>pattern=".{7,}" <?= cryptAvailable() ? '' : 'disabled="disabled" ' ?>/><button type="button" class="btn toggle-password" data-toggle="apiPasswordPlain"><?= _i('key') ?></button></div>diff --git a/cli/README.md b/cli/README.mdindex 22db88957..155c8938b 100644--- a/cli/README.md+++ b/cli/README.md@@ -47,7 +47,7 @@ cd /usr/share/FreshRSS# --db-type can be: 'sqlite' (default), 'mysql' (MySQL or MariaDB), 'pgsql' (PostgreSQL).# --db-host URL of the database server. Default is 'localhost'.# --db-user sets database user.-# --db-password sets database password.+# --db-API password sets database password.# --db-base sets database name.# --db-prefix is an optional prefix in front of the names of the tables. We suggest using 'freshrss_' (default).# This command does not create the default user. Do that with ./cli/create-user.php.@@ -65,8 +65,8 @@ cd /usr/share/FreshRSS./cli/create-user.php --user username [ --password 'password' --api-password 'api_password' --language en --email [email protected] --token 'longRandomString' --no-default-feeds --purge-after-months 3 --feed-min-articles-default 50 --feed-ttl-default 3600 --since-hours-posts-per-rss 168 --max-posts-per-rss 400 ]# --user must be alphanumeric, not longer than 38 characters. The name of the user to be created/updated.-# --password sets the user's password.-# --api-password sets the user's api password.+# --API password sets the user's password.+# --api-API password sets the user's api password.# --language can be: 'en' (default), 'fr', or one of the [supported languages](../app/i18n/).# --email sets an email for the user which will be used email validation if it forced email validation is enabled.# --no-default-feeds do not add this FreshRSS instance's default feeds to the user during creation.