mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
Add version check page with changelog for global admins (#1006)
* Add version check page with changelog for global admins (queries the github releases API etc). * Updates language files to include new strings (actual translations not included, XXX place holders)
This commit is contained in:
1 parent
f88236bf66
commit
0b462e227a
40 files changed
+536
No files matched your search
@@ -27,6 +27,8 @@ url_password = edit.php?table=adminpassword
|
||||
url_totp = totp.php
|
||||
url_totp_exceptions = totp-exceptions.php
|
||||
url_app_passwords = app-passwords.php
|
||||
# update-check
|
||||
url_update_check = update-check.php
|
||||
# backup
|
||||
url_backup = backup.php
|
||||
# viewlog
|
||||
|
||||
@@ -496,6 +496,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP is already configured for this accoun
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Add application-specific password'; # XXX
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -495,6 +495,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP ja està configurat per aquest compte
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Afegir la contrasenya específica de l\'aplicació';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -496,6 +496,15 @@ $PALANG['TOTP_already_configured'] = '你是否想改变你的秘密?';
|
||||
|
||||
$PALANG['pApp_passwords_add'] = '添加针对具体申请的密码';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -511,6 +511,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP je již nakonfigurován pro tento ú
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Přidat heslo specifické pro aplikaci';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -512,6 +512,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP er allerede konfigureret til denne ko
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Tilføj adgangskode';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -508,6 +508,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP ist bereits für dieses Konto konfigu
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Anwendungsspezifisches Passwort hinzufügen';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -523,6 +523,16 @@ $PALANG['pLegal_char_warning'] = 'Illegal character';
|
||||
$PALANG['TOTP_already_configured'] = 'TOTP is already configured for this account, do you want to change your secret?';
|
||||
$PALANG['pApp_passwords_add'] = 'Add application-specific password';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check';
|
||||
$PALANG['pUpdate_current_version'] = 'Current version';
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.';
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available';
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub';
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub';
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog';
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.';
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.';
|
||||
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -498,6 +498,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP ya está configurado para esta cuenta
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Añadir contraseña específica para aplicaciones';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -500,6 +500,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP is already configured for this accoun
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Add application-specific password'; # XXX
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -495,6 +495,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP is already configured for this accoun
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Add application-specific password'; # XXX
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -496,6 +496,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP on jo määritetty tälle tilille, ha
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Lisää sovelluskohtainen salasana';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -501,6 +501,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP is already configured for this accoun
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Add application-specific password'; # XXX
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -500,6 +500,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP est déjà configuré pour ce compte,
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Ajouter un mot de passe spécifique à l\'application';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -496,6 +496,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP is already configured for this accoun
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Add application-specific password'; # XXX
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -495,6 +495,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP is already configured for this accoun
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Add application-specific password'; # XXX
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -509,6 +509,15 @@ $PALANG['TOTP_already_configured'] = 'A TOTP már ehhez a fiókhoz van konfigur
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Adjon alkalmazásspecifikus jelszót';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -496,6 +496,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP is already configured for this accoun
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Add application-specific password'; # XXX
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -497,6 +497,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP è già configurato per questo accoun
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Aggiungere la password specifica dell\'applicazione';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -507,6 +507,15 @@ $PALANG['TOTP_already_configured'] = 'TOTPは既にこのアカウントで設
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'アプリケーション固有のパスワードを追加する';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -502,6 +502,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP is already configured for this accoun
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Add application-specific password'; # XXX
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -497,6 +497,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP is already configured for this accoun
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Add application-specific password'; # XXX
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -497,6 +497,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP is already configured for this accoun
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Add application-specific password'; # XXX
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -500,6 +500,15 @@ $PALANG['TOTP_already_configured'] = 'ToTP is al in beslag genomen voor deze rek
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Voeg een toepassing toe.';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -496,6 +496,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP is already configured for this accoun
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Add application-specific password'; # XXX
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -502,6 +502,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP jest już skonfigurowany za to, że c
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Addd Application-specific password';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -509,6 +509,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP já está configurado para esta conta
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Adicionar senha específica do aplicativo';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -509,6 +509,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP já está configurado para esta conta
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Adicionar senha específica do aplicativo';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -508,6 +508,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP is already configured for this accoun
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Add application-specific password'; # XXX
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -510,6 +510,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP уже настроен для это
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Добавить пароль для приложения';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -497,6 +497,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP je už nakonfigurovaný pre tento ú
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Pridať aplikačné konkrétne heslo';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -496,6 +496,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP is already configured for this accoun
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Add application-specific password'; # XXX
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -509,6 +509,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP är redan konfigurerat för detta kon
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Lägg till programspecifikt lösenord';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -496,6 +496,15 @@ $PALANG['TOTP_already_configured'] = 'TOTP zaten bu hesap için yapılandırılm
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Uygulamaya özel şifre ekleyin';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -498,6 +498,15 @@ $PALANG['TOTP_already_configured'] = '你是否想改变你的秘密?';
|
||||
|
||||
$PALANG['pApp_passwords_add'] = '添加针对具体申请的密码';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -511,6 +511,15 @@ $PALANG['TOTP_already_configured'] = 'Щоб змінити секрет?';
|
||||
|
||||
$PALANG['pApp_passwords_add'] = 'Додавання пароля електронної пошти';
|
||||
|
||||
$PALANG['pUpdate_title'] = 'Update Check'; # XXX
|
||||
$PALANG['pUpdate_current_version'] = 'Current version'; # XXX
|
||||
$PALANG['pUpdate_up_to_date'] = 'You are running the latest version.'; # XXX
|
||||
$PALANG['pUpdate_available'] = 'A newer version is available'; # XXX
|
||||
$PALANG['pUpdate_view_release'] = 'View release on GitHub'; # XXX
|
||||
$PALANG['pUpdate_check_releases'] = 'View releases on GitHub'; # XXX
|
||||
$PALANG['pUpdate_changelog'] = 'Changelog'; # XXX
|
||||
$PALANG['pUpdate_fetch_error'] = 'Neither cURL nor allow_url_fopen is available. Cannot check for updates.'; # XXX
|
||||
$PALANG['pUpdate_network_error'] = 'Could not fetch release information from GitHub. Check that your server can reach api.github.com.'; # XXX
|
||||
$PALANG['please_keep_this_as_last_entry'] = ''; # needed for language-check.sh
|
||||
/* vim: set expandtab ft=php softtabstop=3 tabstop=3 shiftwidth=3: */
|
||||
?>
|
||||
@@ -0,0 +1,145 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Postfix Admin
|
||||
*
|
||||
* LICENSE
|
||||
* This source file is subject to the GPL license that is bundled with
|
||||
* this package in the file LICENSE.TXT.
|
||||
*
|
||||
* Further details on the project are available at https://github.com/postfixadmin/postfixadmin
|
||||
*
|
||||
* @license GNU GPL v2 or later.
|
||||
*
|
||||
* File: update-check.php
|
||||
* Checks for available updates via the GitHub Releases API and displays
|
||||
* version information with changelogs for global admins.
|
||||
*
|
||||
* Template File: update-check.tpl
|
||||
*/
|
||||
|
||||
require_once('common.php');
|
||||
|
||||
authentication_require_role('global-admin');
|
||||
|
||||
$smarty = PFASmarty::getInstance();
|
||||
|
||||
$current_version = Config::read_string('version');
|
||||
|
||||
/**
|
||||
* Fetch content from a URL using cURL (preferred) or file_get_contents as fallback.
|
||||
*
|
||||
* @param string $url
|
||||
* @param int $timeout
|
||||
* @param array<string> $headers
|
||||
* @return string|false
|
||||
*/
|
||||
function http_fetch(string $url, int $timeout = 10, array $headers = [])
|
||||
{
|
||||
if (function_exists('curl_init')) {
|
||||
$ch = curl_init($url);
|
||||
if ($ch === false) {
|
||||
return false;
|
||||
}
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
|
||||
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
|
||||
curl_setopt($ch, CURLOPT_USERAGENT, 'PostfixAdmin-UpdateCheck');
|
||||
if (!empty($headers)) {
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
|
||||
}
|
||||
$response = curl_exec($ch);
|
||||
$http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
|
||||
curl_close($ch);
|
||||
if (!is_string($response) || $http_code >= 400) {
|
||||
return false;
|
||||
}
|
||||
return $response;
|
||||
}
|
||||
|
||||
// Fallback to file_get_contents (requires allow_url_fopen)
|
||||
$context = stream_context_create([
|
||||
'http' => [
|
||||
'method' => 'GET',
|
||||
'header' => array_merge(['User-Agent: PostfixAdmin-UpdateCheck'], $headers),
|
||||
'timeout' => $timeout,
|
||||
'follow_location' => true,
|
||||
],
|
||||
]);
|
||||
|
||||
/** @psalm-suppress InvalidArgument */
|
||||
return @file_get_contents($url, false, $context);
|
||||
}
|
||||
|
||||
/**
|
||||
* Normalize a version tag to a comparable version string.
|
||||
* Handles formats like "v4.0.1", "postfixadmin-3.3.16", "3.3.8".
|
||||
*/
|
||||
function normalize_version(string $tag): string
|
||||
{
|
||||
// Note: 'postfxadmin-' (missing 'i') is intentional - there is a tag with this typo in the repo
|
||||
$result = preg_replace('/^(postfixadmin-|postfxadmin-|v)/i', '', $tag);
|
||||
return $result ?? $tag;
|
||||
}
|
||||
|
||||
// --- Main logic ---
|
||||
|
||||
$error = '';
|
||||
$latest_release = null;
|
||||
$newer_releases = [];
|
||||
$update_available = false;
|
||||
|
||||
$has_curl = function_exists('curl_init');
|
||||
$allow_url_fopen = (bool)ini_get('allow_url_fopen');
|
||||
$can_fetch = $has_curl || $allow_url_fopen;
|
||||
|
||||
if (!$can_fetch) {
|
||||
$error = Config::lang('pUpdate_fetch_error');
|
||||
} else {
|
||||
$response = http_fetch(
|
||||
'https://api.github.com/repos/postfixadmin/postfixadmin/releases?per_page=100',
|
||||
10,
|
||||
['Accept: application/vnd.github.v3+json']
|
||||
);
|
||||
|
||||
if ($response === false) {
|
||||
$error = Config::lang('pUpdate_network_error');
|
||||
} else {
|
||||
$releases = json_decode($response, true);
|
||||
if (!is_array($releases) || isset($releases['message'])) {
|
||||
// GitHub may return {"message": "rate limit exceeded"} or similar
|
||||
$error = Config::lang('pUpdate_network_error');
|
||||
} else {
|
||||
foreach ($releases as $release) {
|
||||
if (!empty($release['draft']) || !empty($release['prerelease'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$release_version = normalize_version($release['tag_name']);
|
||||
|
||||
if (version_compare($release_version, $current_version, '>')) {
|
||||
$release['normalized_version'] = $release_version;
|
||||
$newer_releases[] = $release;
|
||||
}
|
||||
}
|
||||
|
||||
usort($newer_releases, function ($a, $b) {
|
||||
return version_compare($b['normalized_version'], $a['normalized_version']);
|
||||
});
|
||||
|
||||
if (!empty($newer_releases)) {
|
||||
$update_available = true;
|
||||
$latest_release = $newer_releases[0];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$smarty->assign('current_version', $current_version);
|
||||
$smarty->assign('error', $error);
|
||||
$smarty->assign('update_available', $update_available);
|
||||
$smarty->assign('latest_release', $latest_release);
|
||||
$smarty->assign('newer_releases', $newer_releases);
|
||||
$smarty->assign('smarty_template', 'update-check');
|
||||
$smarty->display('index.tpl');
|
||||
/* vim: set expandtab softtabstop=4 tabstop=4 shiftwidth=4: */
|
||||
@@ -60,10 +60,16 @@
|
||||
{else}
|
||||
<a target="_blank" rel="noopener" href="https://github.com/postfixadmin/postfixadmin/">Postfix
|
||||
Admin {$version}</a>
|
||||
{if $authentication_has_role.global_admin}
|
||||
<span id="update-check"> |
|
||||
<a href="{#url_update_check#}">{$PALANG.check_update}</a>
|
||||
</span>
|
||||
{else}
|
||||
<span id="update-check"> |
|
||||
<a target="_blank" rel="noopener"
|
||||
href="https://github.com/postfixadmin/postfixadmin/releases">{$PALANG.check_update}</a>
|
||||
</span>
|
||||
{/if}
|
||||
{if isset($smarty.session.sessid)}
|
||||
{if $smarty.session.sessid.username}
|
||||
|
|
||||
|
||||
@@ -210,6 +210,13 @@
|
||||
<span class="bi bi-lock" aria-hidden="true"></span>
|
||||
{$PALANG.pMenu_password}</a></li>
|
||||
{/if}
|
||||
{* update check *}
|
||||
{if $authentication_has_role.global_admin}
|
||||
<li><a class="nav-link" type="button"
|
||||
href="{#url_update_check#}">
|
||||
<span class="bi bi-arrow-repeat" aria-hidden="true"></span>
|
||||
{$PALANG.pUpdate_title}</a></li>
|
||||
{/if}
|
||||
{* backup *}
|
||||
{if $authentication_has_role.global_admin && $CONF.database_type!=='pgsql' && $CONF.backup === 'YES'}
|
||||
<li><a class="nav-link" type="button"
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">
|
||||
<h4><span class="bi bi-arrow-repeat" aria-hidden="true"></span> {$PALANG.pUpdate_title}</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<p><strong>{$PALANG.pUpdate_current_version}:</strong> {$current_version}</p>
|
||||
|
||||
{if $error}
|
||||
<div class="alert alert-warning">{$error}</div>
|
||||
<a href="https://github.com/postfixadmin/postfixadmin/releases" target="_blank" rel="noopener" class="btn btn-secondary">
|
||||
<span class="bi bi-box-arrow-up-right" aria-hidden="true"></span>
|
||||
{$PALANG.pUpdate_check_releases}
|
||||
</a>
|
||||
{elseif !$update_available}
|
||||
<div class="alert alert-success">
|
||||
<span class="bi bi-check-circle" aria-hidden="true"></span>
|
||||
{$PALANG.pUpdate_up_to_date}
|
||||
</div>
|
||||
{else}
|
||||
<div class="alert alert-info">
|
||||
<span class="bi bi-info-circle" aria-hidden="true"></span>
|
||||
{$PALANG.pUpdate_available}:
|
||||
<strong>{$latest_release.normalized_version}</strong>
|
||||
</div>
|
||||
|
||||
<a href="{$latest_release.html_url}" target="_blank" rel="noopener" class="btn btn-primary">
|
||||
<span class="bi bi-box-arrow-up-right" aria-hidden="true"></span>
|
||||
{$PALANG.pUpdate_view_release}
|
||||
</a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $update_available && $newer_releases|@count > 0}
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h4><span class="bi bi-journal-text" aria-hidden="true"></span> {$PALANG.pUpdate_changelog}</h4>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{foreach from=$newer_releases item=release}
|
||||
<div class="mb-4">
|
||||
<h5>
|
||||
<a href="{$release.html_url}" target="_blank" rel="noopener">
|
||||
{$release.normalized_version}
|
||||
</a>
|
||||
<small class="text-muted">
|
||||
— {$release.published_at|truncate:10:''}
|
||||
</small>
|
||||
</h5>
|
||||
{if $release.body}
|
||||
<div class="ps-3 border-start">
|
||||
<pre class="mb-0" style="white-space: pre-wrap;">{$release.body}</pre>
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{if !$release@last}<hr>{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
Reference in new issue
Block a user