Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup: remove experimental updater & dependencies checker #84

Merged
merged 1 commit into from
Nov 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions api/checkConnection.php

This file was deleted.

8 changes: 0 additions & 8 deletions api/checkOS.php

This file was deleted.

72 changes: 0 additions & 72 deletions api/update.php

This file was deleted.

2 changes: 0 additions & 2 deletions config/config.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,6 @@
$config['login']['password'] = '';
$config['protect']['admin'] = true;
$config['protect']['localhost_admin'] = true;
$config['protect']['update'] = true;
$config['protect']['localhost_update'] = true;
$config['protect']['index'] = false;
$config['protect']['localhost_index'] = false;
$config['protect']['index_redirect'] = 'login';
Expand Down
80 changes: 0 additions & 80 deletions dependencies.php

This file was deleted.

14 changes: 0 additions & 14 deletions lib/configsetup.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,13 +290,6 @@
'name' => 'DISKUSAGEBUTTON',
'value' => 'diskusage-btn',
],
'dependencies_button' => [
'view' => 'basic',
'type' => 'button',
'placeholder' => 'dependencies_check',
'name' => 'DEPENDENCIESBUTTON',
'value' => 'dependencies-btn',
],
],
'frontpage' => [
'view' => 'basic',
Expand Down Expand Up @@ -2640,13 +2633,6 @@
'name' => 'CHECKVERSIONBUTTON',
'value' => 'checkversion-btn',
],
'updater_button' => [
'view' => 'basic',
'type' => 'hidden',
'placeholder' => 'updater',
'name' => 'UPDATERBUTTON',
'value' => 'updater-btn',
],
],
'power' => [
'view' => 'basic',
Expand Down
4 changes: 0 additions & 4 deletions login/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@
<?php endif; ?>
<?php if(!$config['protect']['admin'] || (!$config['protect']['localhost_admin'] && $_SERVER['REMOTE_ADDR'] === $_SERVER['SERVER_ADDR']) || !$config['login']['enabled'] || (isset($_SESSION['auth']) && $_SESSION['auth'] === true)): ?>
<p><a href="../admin" class="<?php echo $btnClass; ?>"><i class="<?php echo $config['icons']['admin']; ?>"></i> <span data-i18n="admin_panel"></span></a></p>
<p><a href="../dependencies.php" class="<?php echo $btnClass; ?>"><i class="<?php echo $config['icons']['dependencies']; ?>"></i> <span data-i18n="dependencies_check"></span></a></p>
<?php endif; ?>
<?php if(!$config['protect']['update'] || (!$config['protect']['localhost_update'] && $_SERVER['REMOTE_ADDR'] === $_SERVER['SERVER_ADDR']) || !$config['login']['enabled'] || (isset($_SESSION['auth']) && $_SESSION['auth'] === true)): ?>
<p><a href="../update.php" class="<?php echo $btnClass; ?>"><i class="<?php echo $config['icons']['update']; ?>"></i> <span data-i18n="updater"></span></a></p>
<?php endif; ?>
<p><a href="../gallery.php" class="<?php echo $btnClass; ?>"><i class="<?php echo $config['icons']['gallery']; ?>"></i> <span data-i18n="gallery"></span></a></p>
<p><a href="../slideshow" class="<?php echo $btnClass; ?>"><i class="<?php echo $config['icons']['slideshow']; ?>"></i> <span data-i18n="slideshow"></span></a></p>
Expand Down
5 changes: 0 additions & 5 deletions resources/lang/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
"authentication:protect_localhost_admin": "Admin-Panel beim Zugriff über localhost schützen",
"authentication:protect_localhost_index": "Startbildschirm beim Zugriff über localhost schützen",
"authentication:protect_localhost_manual": "Handbuch & FAQ beim Zugriff über localhost schützen",
"authentication:protect_localhost_update": "Updater beim Zugriff über localhost schützen",
"authentication:protect_manual": "Handbuch & FAQ schützen",
"authentication:protect_update": "Updater schützen",
"auto_reload": "Photobooth wird automatisch neu geladen...",
"available_version": "Verfügbar:",
"bootconfig": "config.txt",
Expand Down Expand Up @@ -220,9 +218,7 @@
"manual:authentication:protect_localhost_admin": "Wenn deaktiviert, kann auf das Admin-Panel über localhost ohne Benutzername und Passwort zugegriffen werden.",
"manual:authentication:protect_localhost_index": "Wenn deaktiviert, kann auf die Startseite über localhost ohne Benutzername und Passwort zugegriffen werden.",
"manual:authentication:protect_localhost_manual": "Wenn deaktiviert, kann auf das Handbuch und FAQ über localhost ohne Benutzername und Passwort zugegriffen werden.",
"manual:authentication:protect_localhost_update": "Wenn deaktiviert, kann auf den Updater über localhost ohne Benutzername und Passwort zugegriffen werden.",
"manual:authentication:protect_manual": "Wenn aktiviert, kann auf das Handbuch und das FAQ nur zugegriffen werden, wenn ein Benutzername und ein Passwort eingegeben werden.",
"manual:authentication:protect_update": "Wenn diese Option aktiviert ist, kann auf den Updater nur zugegriffen werden, wenn ein Benutzername und ein Passwort eingegeben werden.",
"manual:collage:collage_background": "Geben Sie den Pfad des Hintergrundes ein, der nach der Aufnahme auf Ihre Collage angewendet wird.",
"manual:collage:collage_cntdwn_time": "Legen Sie Ihre Countdown-Zeit fest, welche zwischen den Bildern für eine Collage verwendet wird.",
"manual:collage:collage_continuous": "Collage ohne Unterbrechung aufnehmen.",
Expand Down Expand Up @@ -597,7 +593,6 @@
"translate": "Übersetzen",
"unsupported_os": "Betriebssystem nicht unterstützt!",
"update_available": "Es ist ein Update verfügbar.",
"update_check_git": "Prüfe Git-Repository...",
"update_commit_backup": "Zum aktualisieren committen & sichern Sie Ihre Änderungen!",
"update_committing": "Änderungen werden committet...",
"update_done": "Erfolgreich Aktualisiert!",
Expand Down
29 changes: 0 additions & 29 deletions resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@
"authentication:protect_localhost_admin": "Protect admin panel on localhost access",
"authentication:protect_localhost_index": "Protect start screen on localhost access",
"authentication:protect_localhost_manual": "Protect manual & FAQ on localhost access",
"authentication:protect_localhost_update": "Protect updater on localhost access",
"authentication:protect_manual": "Protect manual & FAQ",
"authentication:protect_update": "Protect updater",
"auto_reload": "Photobooth reloads automatically...",
"available_version": "Available:",
"bootconfig": "config.txt",
"busy": "Processing ...",
"busyCollage": "Processing Collage ...",
"check_connection": "Checking connection...",
"check_dependencies": "Checking installed dependencies...",
"check_version": "Check online",
"cheese": "Cheeeeeeeese!",
"cheeseCollage": "Cheeeeeeeese Collageeeeeeeeeee!",
Expand Down Expand Up @@ -80,7 +76,6 @@
"debugpanel:autorefresh": "Auto-Refresh",
"degrees": "°",
"delete": "Delete",
"dependencies_check": "Installed dependencies",
"dev_debugpanel": "Debug panel",
"devlog": "Photobooth log",
"disk_usage": "Disk Usage",
Expand Down Expand Up @@ -142,7 +137,6 @@
"general:database_file": "Database file name",
"general:database_rebuild": "Rebuild image database",
"general:delete_no_request": "Delete images without confirm request",
"general:dependencies_button": "Check installed dependencies",
"general:dev_debugpanel": "Debug Panel",
"general:dev_demo_images": "Use Demo Images",
"general:dev_loglevel": "Loglevel",
Expand Down Expand Up @@ -220,9 +214,7 @@
"manual:authentication:protect_localhost_admin": "If disabled, admin panel can be accessed without username and password from localhost.",
"manual:authentication:protect_localhost_index": "If disabled, start screen can be accessed without username and password from localhost.",
"manual:authentication:protect_localhost_manual": "If disabled, manual and FAQ can be accessed without username and password from localhost.",
"manual:authentication:protect_localhost_update": "If disabled, updater can be accessed without username and password from localhost.",
"manual:authentication:protect_manual": "If enabled, manual and FAQ can only be accessed if a username and password is entered.",
"manual:authentication:protect_update": "If enabled, updater can only be accessed if a username and password is entered.",
"manual:collage:collage_background": "Enter the path of the background which is applied to your collage after taking it.",
"manual:collage:collage_cntdwn_time": "Set your countdown time between pictures while taking a collage.",
"manual:collage:collage_continuous": "Take collage without interrupption.",
Expand Down Expand Up @@ -309,7 +301,6 @@
"manual:general:database_file": "Name of the database file.",
"manual:general:database_rebuild": "Rebuild the images database. Normally not required but can be used to fix a corrupted database file.",
"manual:general:delete_no_request": "If enabled, images will be deleted without a confirm request. Delete of images can't be undone!",
"manual:general:dependencies_button": "This will check if needed dependencies are installed.",
"manual:general:dev_debugpanel": "Opens the debug panel in a separate window. Make sure you set the loglevel to 1 (or above) for more information.",
"manual:general:dev_demo_images": "If enabled, sample pictures will be used instead taking a picture.",
"manual:general:dev_loglevel": "Define the loglevel. 0 = minimal logging, 1 = advanced logging, 2 = expert logging",
Expand Down Expand Up @@ -520,17 +511,13 @@
"manual:userinterface:ui_shutter_cheese_img": "If shutter animation is enabled and this is not none the UI will display an image instead of the shutter text. The image stays visible until the photo is received from the camera.",
"manual:userinterface:ui_style": "Choose a start page styling. To use custom styling please create and use \"/template/custom.template.php\" and \"/resources/css/custom_style.css\", if one of these files is not readable we will fallback to default theme.",
"manual:version:check_version": "This will check online against the Github repository for the latest Photobooth version.",
"manual:version:updater_button": "This will check if Photobooth can be updated and perform the update. Only works on Linux if Photobooth was installed via git.",
"milliseconds": "ms",
"multiplied": "x",
"myconfig": "My Config",
"newCollage": "New Collage",
"newPhoto": "New Picture",
"nextPhoto": "Next Picture",
"no_connection": "Not internect connection!",
"no_preview": "No preview available.",
"ok": "ok",
"os_check": "Checking OS...",
"path": "Path:",
"percent": "%",
"pictures": "Pictures",
Expand Down Expand Up @@ -677,22 +664,7 @@
"test_update_available": "There is a test update available.",
"toggleFullscreen": "Toggle Fullscreen",
"translate": "Translate",
"unsupported_os": "Unsupported OS!",
"update_available": "There is an update available.",
"update_check_git": "Checking git repository...",
"update_commit_backup": "Commit & backup your changes to update!",
"update_committing": "Committing your changes...",
"update_done": "Updated!",
"update_error": "Something went wrong!",
"update_fail": "Failed! Check console log for more informations!",
"update_git_commit": "Commit & Backup",
"update_git_commited": "Changes committed!",
"update_no_git": "Not a git repo! Automated update not possible!",
"update_ready": "Ready to update!",
"update_running": "Updating... Please be patient! Update might take a while! ...",
"update_to_dev": "Update to latest development Version",
"update_to_stable": "Update to latest Stable v3",
"updater": "Updater",
"use_button": "Use Buzzer to take a Picture",
"userinterface": "User interface",
"userinterface:background_admin": "Admin panel background image path",
Expand Down Expand Up @@ -767,6 +739,5 @@
"using_latest_version": "You are using the latest version of photobooth.",
"version": "Version",
"version:check_version": "Photobooth version",
"version:updater_button": "Update Photobooth (git)",
"wait_message": "Please wait..."
}
5 changes: 0 additions & 5 deletions resources/lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
"authentication:protect_localhost_admin": "Protéger le panneau d'administration avec l'accès localhost",
"authentication:protect_localhost_index": "Protéger l'écran de démarrage lors de l'accès localhost",
"authentication:protect_localhost_manual": "Protéger le manuel et la FAQ lors de l'accès localhost",
"authentication:protect_localhost_update": "Protéger la mise à jour lors de l'accès localhost",
"authentication:protect_manual": "Protéger le manuel et la FAQ",
"authentication:protect_update": "Protéger la mise à jour",
"auto_reload": "Actualisation automatique du Photobooth...",
"available_version": "Disponible :",
"bootconfig": "config.txt",
Expand Down Expand Up @@ -213,9 +211,7 @@
"manual:authentication:protect_localhost_admin": "Si désactivé, le panneau administrateur est accessible sans nom d'utilisateur et mot de passe de localhost.",
"manual:authentication:protect_localhost_index": "Si désactivé, le panneau administrateur est accessible sans nom d'utilisateur et mot de passe de localhost.",
"manual:authentication:protect_localhost_manual": "Si désactivé, le manuel et la FAQ peuvent être accédés sans nom d'utilisateur et mot de passe de localhost.",
"manual:authentication:protect_localhost_update": "Si désactivé, la mise à jour est accessible sans nom d'utilisateur et mot de passe de localhost.",
"manual:authentication:protect_manual": "Si activé, le manuel et la FAQ ne sont accessibles que si un nom d'utilisateur et un mot de passe sont definis.",
"manual:authentication:protect_update": "Si activé, la mise à jour n'est accessible que si un nom d'utilisateur et un mot de passe sont saisis.",
"manual:collage:collage_cntdwn_time": "Définissez votre temps de compte à rebours entre les photos lors de la prise d'un collage.",
"manual:collage:collage_continuous": "Prendre un photo montage sans interruption.",
"manual:collage:collage_continuous_time": "Contrôler le temps où une photo est visible sur un collage continu avant de prendre la photo suivante.",
Expand Down Expand Up @@ -592,7 +588,6 @@
"translate": "Traduire",
"unsupported_os": "OS non pris en charge !",
"update_available": "Il y a une mise à jour disponible",
"update_check_git": "Vérification du répertoire git ...",
"update_commit_backup": "Valider et sauvegarder vos modifications pour mettre à jour !",
"update_committing": "Validation de vos modifications ...",
"update_done": "Mis à jour !",
Expand Down
Loading