Repository navigation
v4.0.0
Source code moved to https://github.com/PhotoboothProject/photobooth,
old Releases etc. will still be available at https://github.com/andi34/photobooth
Security
- Security advice added to the README and welcome page #376
- PHPMailer: update to v6.6.4
Breaking changes
- QR code is now printed onto the image instead on the right side to not break the image ratio,
new options have been added for best user experience (see New Options for details) - Remove Greek, Polish and Spanish from Language options
because they aren't maintained (further information) - Collage: layout's changed slightly (positions and image size now get calculated depending on defined dpi). Existing frames might not fit anymore and need to be updated.
- vendor: remove rpihotspot from repo (it's still available on github, but we don't need it as a direct dependencie for Photobooth)
Bugfixes
- chromium: fix white screen of death on first start in kiosk mode (Raspberry Pi only)
- livechroma: fix text formatting on error/retry
- api(takePic):
- fix error message, take picture command can be anything
- check if picture exists: If a picture exists already, rename it before using the same filename for a new picture. This might fix an issue on collage where a retaken image isn't saved / used and should also prevent overriding an existing image by accident.
- fix print with QR Code
- Video preview #448, #476:
- Fix gphoto preview on retry / next collage image.
- fix taking pictures from gphoto preview #24 (Note: Gphoto won't be used, it's more like taking a screenshot of the Preview. Since Gphoto won't be used there's no flash light of the camera!)
- hide video preview in background of interrupted collage
- fixed possible DSLR preview stop time bug
- fixed bug: preview['flip'] was saved but not reloaded. So if the correct setting should be retained it needed to be set every time.
- fixed bug: in the background of the continuos collage image preview the gphoto2 preview (without bsm) continued to run visibly
- Improve preview handling #6
- core:
- respect retry timeout:
The timeout should not be a new countdown, it should be a timeout as it's name says. Retry notification will now be visible for defined time. Countdown for picture/next collage image is not touched and will be used as defined. - fix get request at countdown
- handle errors on get requests#15
- respect retry timeout:
- welcome.php: use detected URL to start Photobooth
- FAQ: fix command to execute setup-network.sh for hotspot
- frame/font: again allow to be located outside of photobooth source
- config(print): add fallback to defaults if print font/frame is not defined
- collage:
- installation script:
- fix permissions on www-data users cachefolder and .yarnrc if exists
- fix and improve use of lighttpd and nginx #477
- install
curl(andraspberrypi-kernel-headersfor PiOS) early enough to be used
- stabilized rotary encoder handling #449
- email:
- fix wrong button text if "Store email addresses in file" is enabled #462 (fixes Issue #461)
- stop spinning loader icon once the email has been sent (fixes Issue #453)
- language:
- fix mixed up german translation for pre- and post-photo command (fixes Issue #451)
- PHP8:
- fix Deprecated Passing null to parameter error
- fix Implicit conversion from float (number) to int loses precision
New Options
- Add traslate button to Adminpanel, opens Photobooth project on Crowdin
- UI:
- QR #371:
- Error correction level adjustable
- Gallery:
- Add config option to enable/disable the figure caption in the gallery view #398
- Add config option to enable/disable action button footer (photo, collage)
- Collage:
- Preview:
- config: allow to adjust the time to stop the gphoto preview
- choose to flip the preview along the X or Y axis #465, fixup #476
- specify how the preview should be resized to fit:
This setting uses the css object-fit property which is used to specify how the preview should be resized to fit.
The following options are available:- fill - The image is resized to fill the given dimension. If necessary, the image will be stretched or squished to fit.
- contain - The image keeps its aspect ratio, but is resized to fit within the given dimension.
- cover - The image keeps its aspect ratio and fills the given dimension. The image will be clipped to fit.
- none - The image is not resized.
- scale-down- the image is scaled down to the smallest version of none or contain.
- allow to set background-size to cover on URL preview
- Print:
- Always print the QR onto the image instead in the right side (see Breaking Changes)
- QR size adjustable
- QR offset adjustable
- QR position adjustable
- allow to disable rotation before print
- Countdown:
- allow using a customizable image instead of cheese message if shutter animation is used #4
- Post picture command:
- Passes the Filename (doesn't include the full path!) to the post-cmd. This can be used e.g. to manipulate the Image (e.g. with Imagemagick) after the Picture was taken.
General
- restore windows compatibility #23
- Import latest Crowdin translations
- Cleanup core.js #369:
- remove unneeded if checks
- improve readability
- Let's start the picture process from beginning on retry.
Also start all previews like defined at countdown. - Centralized preview start/stop functions, this helps getting a better overview of the code.
- log error messages to console from api.errorPic
- optimize error messages
- time configurations moved to constants
- move more ID selector to constants
- Collage:
- Collage code cleanup (can most likely still be improved by using php classes but this should be okay)
- rename some collage styles (2+2 instead of 2x2 as x now always indicates pictures are reused - old name still works) #424
- Collage Images will be dynamically scaled based on a given resolution (eg 300dpi etc)#424
- configsetup:
- add
<input type="number">and use where possible to avoid issues on input
- add
- install script:
- install-raspbian: rename to install-photobooth.sh, photobooth works fine on debian and other debian based distributions
- pass options to the script (run
sudo bash install-photobooth.sh -hto see all options) - ask to install Gutenprint drivers
- make sure a new question is recognized
- always mention the setup choice
- adjust warning messages
- fix git installation message
- install latest development version via git by default (latest stable3 version can be passed to the installer via option)
- prevent double entry in autostart while re-running the installer
- allow to install gphoto2 Webcam Service
- create installation log inside
/tmp/photobooth - always install latest stable gphoto2
- adjust package array handling
- Add new parameter to setup the php version #477
- Webserver #477:
- Apply PHP Version for nginx and lighttpd
- Fix (improve) nginx / lighttpd service startup
- Fix client_max_body_size problems on nginx
- detect installed webbrowser and create autostart file depending on it
- The following browser can be detected: chromium-browser , google-chrome , google-chrome-stable , google-chrome-beta , firefox
- skip Desktop related config if lxde is not installed
- avoid Chrome/Chromium asking for password to unlock keyring
- run apt upgrade instead apt dist-upgrade:
Users might have come to rely on packages that were installed implicitly because of other (explicitly installed) packages' dependency on them. Thus the packaging system cannot be aware of a user/administrator desire to retain certain functionality that might otherwise be removed via dist-upgrade. - fix permission on hidden files and folder
- seperate general and pi specific permissions
- ignore filemode changes on git install
- Check for internet connection (we can't install without an internet connection)
- allow to run an update on git installation:
- to update to latest development version please run
sudo bash install-photobooth.sh --update
If local changes are detected, the installer can try to apply those changes after the update was completed. If the changes can not be applied after update, your local changes will be kept inside a backup branch and can be applied manually again (you might need to resolve conflicts because of source changes).
If local changes are detected, the installer will abort on silent install. You can re-run the update-process without the-sflag and confirm backing up your local changes for update.
- to update to latest development version please run
- mention to clear Browser Cache on Update
- enable-usb-sync.sh
- Disable reboot for silent mode (fixes Issue #450)
- support other users (fixes Issue #423)
- gphoto:
- Add a docker setup for local testing and development #397
- Remote buzzer:
- Add simple GET endpoints to trigger photos / collages (to support WiFi hardware buttons) #400
- Rework option to use remotebuzzer server without GPIO and remove hidden faulty HID and softbutton implementation
- UI:
- sass(button): convert button size from px to em
- sass(modern button): adjust font awesome icon size
- Dark UI Style by @Moarqi
- replace default background image
- add clouds background images
- Email:
- hide checkbox to add email to database, adjust information text
- debloat:
- remove outdated update-booth.sh
- Video preview:
- sass/css:
- video preview:
- simplify rules
- adjust position and video handling
- video preview:
- scripts(pack-build):
- remove unavailable files
- add missing node_modules dependencies
- admin:
- hide experimental updater, instead use the install-photobooth.sh to update
- pass filename to post cmd #7
- Overhaul Photobooth logging #14
- more code-cleanup in various places
Full Changelog: v3.3.0...v4.0.0