Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Releases: andi34/photobooth

v3.3.0

16 Jan 12:23
Compare
Choose a tag to compare

3.3.0 (16.01.2022)

Breaking changes

  • If you are using an older version of Rasperry Pi OS or Debian / Debian based distribution make sure Node.js v12.22.x is installed!
    Check your Node.js version while running node -v from your terminal.
  • (config) Switch from milliseconds to seconds the image is visible on result screen
    Please adjust your configuration if you've changed the default setting on previous version. If you've not changed the default setting there's nothing to do.
  • vendor: phpqrcode as submodule
  • config: Webserver IP should not contain subfolder/subpages, IP should be detected if not defined. QR now needs it's own URL defined (see new Options).

Bugfixes

  • standalone slideshow: fix auto refresh
  • hide inner navigation panel if thrill is triggered from result page
  • remotebuzzer:
    • fix hang of remotebuzzer server on error
    • bugfix for hardware button to trigger collage mode #351 (fixes Issue #300)
    • fix socket.io Server on Photobooth subfolder installation #364 (fixes Issue #360)
  • picture and mail database always need a name, add fallback to default if empty
  • configsetup: add event option to basic view (fixes Issue #320)
  • build: fix build failing on macOS (fixes Issue #318)
  • Fix Typo in admin.php while using a custom style #322
  • Fix preview from gphoto as background if BSM is disabled (thanks to Uwe Pieper), note: This is not recommended for a Raspberry Pi as it requires faster hardware!

New Options

  • remotebuzzer:
    • Allow to configure GPIO debouce delay through admin panel #294
  • ui: add option to show / hide button bar on result screen
  • general: add config to use sample pictures instead taking a picture, dev-mode now only enables advanced logging for debugging purpose
  • add button for reboot and shutdown on linux
  • collage:
    • continuous collage: allow to disable single images being visible
    • allow to define collage background color #324
    • add option to add all images from collage to gallery #307 (fixes Issue #269)
    • add cutting lines on 2x4 collage layouts
  • feature: allow sending a GET request at countdown and/or after processing #308
  • text on {picture,collage,print}: use color picker - This gives the possibility to use any color instead choosing one out of three defined colors! #312
  • QR:
    • Add close button to QR #316 (fixes Issue #315)
    • Own QR menu entry #325:
      • Enable/Disable QR-Code
      • Allow to define a own URL used for the QR-Code
        • Add fallback to default setting if not defined
      • Decide whether to append the filename to defined URL
      • Allow to define a own help text visible below the QR-Code
  • optional retry to take a picture on error #366

General

  • Add welcome screen on first access #296, add config to skip by default
  • Add experimental Photobooth Updater and dependencies checker #285
  • install-raspbian.sh:
    • ask all questions before installing anything
    • allow silent installation (sudo bash install-raspbian.sh WEBSERVER silent)
    • don't delete INSTALLFOLDERPATH if exists, make a backup instead
    • inform about URL to access Photobooth
    • ask if remote access to CUPS should be enabled
    • install Node.js v12.22 if needed (for Debian buster compatibility)
  • update-booth.sh:
    • also copy hidden files and folder
  • adjust default chromium flags
  • build: add "clean" task
  • style: allow adjustments via private/overrides.css (automatically used if the file exist)
  • debugpanel: show latest git changes of installation
  • Add script to disable automount and add polkit rules for USB Sync (Only needed if you have declined the question to enable the USB sync file backup while running the install-raspbian.sh and like to use the USB Sync feature.):
wget https://raw.githubusercontent.com/andi34/photobooth/dev/enable-usb-sync.sh
sudo bash enable-usb-sync.sh
  • disabled version checker on dev branch
  • add tools.js with central access to common functions
  • Adjust and optimize different API endpoints
  • Updated build dependencies
  • general jquery improvements (thanks to Uwe Pieper)
  • retry getting preview via gphoto if failed (thanks to Uwe Pieper)
  • retry taking a picture if failed (thanks to Uwe Pieper)
  • crowdin: translation import
  • config: try to dectect Webserver IP if not defined

FAQ

  • adjust chromium flags
  • Raspberry Touchpanel DSI simultaneously with HDMI
  • How to administer CUPS remotely using the web interface?

v3.2.1

13 Aug 14:24
Compare
Choose a tag to compare

3.2.1

Bugfixes

  • fix collage without filter/effect applied to single images

v3.2.0

09 Aug 19:26
Compare
Choose a tag to compare

3.2.0

Security

  • api: don't show mail password and sensible login data #274
  • api: Bugfix for server-side node scripts to correctly parse the config file
  • Temporary removed numbered image naming option to prevent overriding existing images. For details see Issue 291.

Bugfixes

  • sync-to-drive: bugfix for depreciated handling of type error - cannot read property of undefined
  • collage: Apply defined effect(s) and/or filter to the single images instead of the final collage (partially #290)
  • core: new timeout only if no activity in progress #273, fixes Issue #272

New Options

  • countdown offset to compensate shutter-delay and cheese time #286
  • Remote-buzzer:
    • allow to enable/disable rotary control for standalone gallery #261
    • allow parallel use of buttons- and rotary control #262

General

  • Updated build dependencies

  • Collage: Always show image after taken #271, partially #290

  • Debug Panel #275 and better logging on issues while taking a picture #277 and post-processing (partially #290):
    Implements a panel for to help debugging in case of issues. Focus is to be able to access through the browser key configuration and log files on the server side.
    This feature is

    1. for fast and efficient debugging iterations
      and
    2. also well positioned to help people with less experience on the server administration and Unix / Raspberry Pi OS side of things.

    Access to the debug panel is available through the admin panel (switch to expert view) or via direct URL http://localhost/admin/debugpanel.php.

  • Removed unneeded file-type checks all around the Photobooth api (we check for jpeg images already inside the api/applyEffects.php)

  • result screen: smaller QR code & smaller font-size

Compare changes with v3.1.0.

v3.1.0

18 Jun 17:16
Compare
Choose a tag to compare

3.1.0

Bugfixes

  • fix horizontal flip of preview on some browser
  • fix decore line config #257
  • fix rotary button support for standalone gallery #253
  • core: fix background from device cam
  • login: protect Live keying if index is protected via login
  • lang (en): fix delete request

New Options

  • Pre- / Post- Command #232:
    • execute a shell command before a picture is taken (pre-command)
    • execute a shell command after processing is is completed (post-command)
  • Add HTML capability to E-Mail text #231
  • Hide home button on results screen #256

General

  • updated build dependencies
  • hidden adminshortcut: direct to login panel
  • login panel:
    • allow to access Live keying
    • add link to Telegram Community

v3.0.0

03 Apr 16:42
Compare
Choose a tag to compare

3.0.0

A lot of changes have been applied to Photobooth! We're proud to tell that some bugs have been fixed and a lot of user wishes could be realized!
We have added a lot of new options to make Photobooth adjustable for much more use cases.
A big thanks goes to jacques42@GitHub (who was involved a lot for this Release) and everyone who helped on making Photobooth this powerfull!
Photobooth UI has changed to a modern look on most pages and our Admin panel and configuration setup has changed completely (please read the following Changelog).

Breaking changes

  • The configuration setup has changed completely on Photobooth v3 and some config options have been removed!
    Please note: Your old config (Photobooth v2.x and older) won't work, you must setup your configuration via adminpanel again!

Bugfixes

  • Chromakeying:
    • respect thumnail config
  • Delete:
    • fix removing deleted images from database
  • Translations:
    • fix translation fallback on all *.js files
  • E-Mail:
    • fix small bug for mail subject and text templates to be applied
  • Compatibility:
    • adjust default background URL setup to fix backgrounds on iOS (don't use relative path)
    • qr: also display correct url on subfolder installation Fix #204

New Options

  • Standalone gallery:
    • continous check for new pictures #121
  • Collage:
    • allow to deactivate standalone picture Fix #155
    • new collage layouts: 1+3, 1+3 (2), 1+2 & 2x2 (2)
    • remove use of background images, user should apply frames instead
    • test your collage settings accessing localhost/test/collage.php
  • Chroma keying:
    • Allow to switch between MarvinJ and Seriously.js algorithm for chroma keying #123
    • Seriously.js: use color picker to define keyed color, use Seriously.js by default #213
    • allow to define background path used for chroma keying, place your own backgrounds inside a subfolder of your Photobooth, e.g. inside private/backgrounds and define it via admin panel
    • added "live chroma keying" (choose a background -> take a picture -> get the keyed image with choosen background), access via http://localhost/livechroma.php or use the config option to use it as default start page #157
    • Make imagesize for chromakeying adjustable
      • S = max 1000px
      • M = max 1500px (default like before)
      • L = max 2000px
      • XL = max 2500px
  • Userinterface:
    • feature: Allow custom index, add new index layout by Mathias Fiege #159
    • allow to hide decore lines on start screen Partially #165
    • allow to hide title and subtitle on start screen Partially #165
  • Backup:
    • Allow syncing of new pictures to USB device using rsync #158
  • Preview:
    • Options "See preview by device cam" and "Preview from URL" have been replaced by a select menu
    • live preview from gphoto2 #131
  • Athentication:
    • allow to protect FAQ and manual #212
    • allow to access login-protected pages without login on localhost access
  • Database:
    • make database optional, add button to (re)generate database to admin panel #203
  • Remotebuzzer:
  • What else:
    • allow delete of images without request #215
    • allow to take pictures right after the countdown, "Cheese" will be skipped #129
    • allow to flip image after taken #209
    • allow to add text to picture and/or collage #210

General

  • User Interface:
    • Switch to modern styling by default
  • Adminpanel
    • new adminpanel design #162
    • choose between Basic View, Advanced View and Expert View:
      • Basic View: Show config elements relevant for most simple and most common use-case. Default settings are largely sufficient. Maybe 20-30 % of all config options. The focus are entry-level user, who start to get their feet wet.
      • Advanced View: Features and elements used more often - i.e. Printing, Frames for Pictures, Chroma-Keying, etc. - maybe around 50% of all options on top. This should be sufficient for most of the users.
      • Expert View: Dev-Setting, Data folders, Commands, etc. - the remaining 20-30% of options are mapped to this view. Geeks right here.
    • Admin panel option to hide / show panel headings by Operating System
    • Allow to download data folder as zip from http://localhost/admin/diskusage.php
  • Installation:
    • Installation Instructions for Windows added to Wiki
    • install-raspbian.sh script:
      • Ask if a Raspberry Pi (HQ) camera is used, if yes setup personal config with needed changes
      • allow to install from all devices running debian/debian based OS #181
  • Error handling:
    • api (applyEffects): check if GD library is loaded
    • check if frames and font are valid
  • Lanugage support:
    • Add Italian to supported languages
  • Collage:
    • Rotate collage images and final collage if needed (Fix #156) #63
    • Allow to retake a single picture on collage with interruption (Fix #166)
  • Remotebuzzer #201, #202:
    • replace gpio by onoff library
    • Add additional button support for collage, print and shutdown
  • Code style:
    • Add prettier-php plugin (and slightly adjust prettier config for php files) to force one codestyle #124
  • Robustness and improvements:
    • don't use relative paths for font, frames and background images
    • folders are always part of data folder (besides data folder itself and archives folder)
      • e.g. images folder config before: data/images
        now: images (this will also point to data/images)
    • use 100% picture quality while processing images to not lower given configured jpeg quality for the final image
  • Authentication:
    • handle login check earlier to protect other api endpoints #205

Compare changes with v2.10.0

v2.10.0

27 Sep 09:13
Compare
Choose a tag to compare

2.10.0

Bugfixes

  • check if we're already printing to avoid double printing
  • deletePhoto: also delete keying and tmp pictures
  • add back fallback to english if translation is missing

New Options

  • allow to use thumbnails for download
  • Choose thumbnail size:
    • XS = max 360px
    • S = max 540px
    • M = max 900px
    • L = max 1080px
    • XL = max 1260px"
  • Advanced printing functions #109:
    • Auto print function
    • allow to delay auto print
    • allow to adjust time "Started printing! Please wait..." is visible
    • allow to trigger print via defined key
    • options to show the print button independent (e.g. can be only visible on gallery)
  • Advanced collage options #108:
    • Choose collage layout:
      • 2x2
      • 2x4
      • 2x4 + background image
    • Collage: apply frame once after taking or to every picture of the collage

General

  • reordered folder setup
  • Crowdin translation import
  • add Polish to supported languages

Easy update if you've installed via git
Run the following commands from your terminal:.

sudo -u www-data -s
cd /var/www/html
git fetch origin
git checkout origin/stable2
git submodule update --init
yarn install
yarn build
exit

v2.9.0

14 Sep 07:18
Compare
Choose a tag to compare

2.9.0

Bugfixes

  • fix saving images on chroma keying

New Options

  • allow to adjust PhotoSwipe (Gallery) config via Adminpanel, also allow to use some PhotoSwipe functions and make more PhotoSwipe settings available (settings explained inside the manual):
    • Mouse click on image should close the gallery (enable/disable)
    • Close gallery if clicked outside of the image (enable/disable)
    • Close picture on page scroll (enable/disable)
    • Close gallery when dragging vertically and when image is not zoomed (enable/disable)
    • Show image counter (enable/disable)
    • Show PhotoSwipe fullscreen button (enable/disable)
    • Show PhotoSwipe zoom button (enable/disable)
    • PhotoSwipe history module (enable/disable)
    • Pinch to close gallery (enable/disable)
    • Toggle visibility of controls/buttons by tap (enable/disable)
    • allow to adjust PhotoSwipe background opacity (0-1)
    • Loop images (enable/disable)
    • Slide transition effect (enable/disable)
    • Swiping to change slides (enable/disable)
  • gallery: add button to delete an image, enable by default
  • Remote Buzzer Server based on io sockets
    • Enables a GPIO pin connected hardware button / buzzer for a setup where the display / screen is connected via WLAN / network to the photobooth webserver (e.g. iPad).

General

  • check for supported mime types on API files (print, chromakeying, applyEffects, deletePhoto)
  • core/chromakeying: Handle print.php API errors
  • Standalone slideshow & Gallery:
    • only use pictures if they exist and if they are readable
    • only use thumbnails if thumbnail exist and is readable, fallback to full-sized images if not
  • gallery: update picture counter font-size
  • Crop on print: set image quality to 100% by default
  • added disk usage page, access via admin panel or at localhost/admin/diskusage.php.
  • Updated PhotoSwipe
  • added private/ to .gitignore, can be used e.g. to store own background images
  • install-raspbian.sh:
    • check if gvfs-gphoto2-volume-monitor exists
    • remove unneeded "sudo" on yarn installation
    • make sure webserver is defined
    • Add missing common "nodejs" package
    • allow to choose between stable and development version
  • update build dependencies to it's latest versions
  • Photobooth joined Crowdin as localization manager, join here to translate Photobooth

Workflow

  • github: add pull request template
  • github: don't allow empty issues, emojis to issue template names

v2.8.0

13 Aug 19:52
Compare
Choose a tag to compare

2.8.0

Bugfixes

  • fix install-raspbian.sh
  • add missing units for crop on print values (fixes Issue #91)
  • exit slideshow on close if running
  • takeCollage: fix button size on small screens

General

  • simple-translator updated to v2.0.2
  • updated PHPMailer to latest version

Behind the scenes

  • Add GitHub contribution doc
  • run yarn eslint once changes to our JavaScripts get pushed to GitHub or if a Pullrequest contains changes on them
  • run gulp sass once changes to our SCSS files get pushed to GitHub or if a Pullrequest contains changes on them

New build pipeline and improved JavaScript
(special thanks to Andreas Remdt) #90

  • added Prettier to have consistent formatting for both JavaScript & SCSS
  • Support older browser (should fix Issue #47)
    • javascript transpiled to es5 to support older browsers (e.g. Safari 9)
    • use "whatwg-fetch" polyfill which should enable Safari 9 to use simple translator

v2.7.2

29 Jul 17:44
Compare
Choose a tag to compare

2.7.2

Bugfixes

  • use htmlentities on input type configuration (allows to load config containing quotes)

General changes

  • Handle -1 & 100% picture quality the same way

Changed default config

  • 100% picture quality by default
  • Don't print QR Code by default
  • Allow collage by default
    • Use collage without interruption by default
  • Show date below pictures inside Gallery by default
  • Disable Chromakeying by default

v2.7.1

25 Jul 08:57
Compare
Choose a tag to compare

2.7.1

Bugfixes

  • Fix taking photo collage

General changes

  • simple-translator updated to v1.2.0