From: Jan-Pascal van Best <janpascal@vanbest.org>
Date: Tue, 26 Jun 2018 21:26:32 +0000 (+0200)
Subject: Add upstream changelog and script to generate upstream changelog from Github release... 
X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;ds=sidebyside;p=motioneye-debian

Add upstream changelog and script to generate upstream changelog from Github release info
---

diff --git a/debian/CHANGELOG b/debian/CHANGELOG
new file mode 100644
index 0000000..a5b717e
--- /dev/null
+++ b/debian/CHANGELOG
@@ -0,0 +1,227 @@
+Release 0.39.2 (2018-06-24T14:22:18Z)
+What's new:
+
+ * upload services: fixed incorrect file name when using symlinks for root directory (thanks to @randomstring)
+ * fixed SMB network shares mounting when using newer versions of `cifs-utils` package
+ * fixed 'unmatched' KeyError when listing disks
+
+Release 0.39.1 (2018-06-02T20:57:46Z)
+What's new:
+
+ * fixed a horrible bug where the admin and normal user passwords would be overwritten with five stars
+ * improved frames layout when fitting frames vertically on mobile devices (thanks to @hobbyquaker)
+ * fixed in-browser video playback temporary file issue (thanks to @PaulAnnekov)
+
+
+Release 0.39 (2018-03-31T20:28:45Z)
+What's new:
+ * added in-browser video playback (many thanks to @dermotduffy and @Mrnt)
+ * added `server_name` config setting (thanks to @hobbyquaker)
+
+Release 0.38.1 (2018-02-06T21:10:02Z)
+What's new:
+ * fixed SMB mounts when no username is provided
+ * fixed a bug where MMAL cameras would get some V4L2 motion config options
+ * added `webcontrol_parms` option to enable motion HTTP API on motion 4.1 or later
+ * fixed content type for downloaded movie files (thanks to @Mrnt)
+ * frame rate is now dimmed when a dialog is opened (thanks to @Mrnt)
+ * lots of Docker improvements (thanks to @kleini)
+
+Release 0.38 (2017-10-31T19:55:53Z)
+What's new:
+ * fixed EOFError on recent Python versions when listing media files
+ * double-sized text is now set on resolutions with width above 640
+ * added support for OMX hardware encoding on the Raspberry PI when creating h264 movies
+ * added support for the Raspberry PI MMAL camera interface (thanks to @inodlite)
+ * added a version query argument to static resources (JS/CSS files) to prevent undesired browser caching
+
+Release 0.37rc1 (2017-08-05T20:17:09Z)
+What's new:
+ * added SFTP upload support (thanks to @kwrt)
+ * passwords are now stored as SHA1 hashes rather than in plain text
+ * added support for HTTP basic authentication (see [`http_basic_auth`](https://github.com/ccrisan/motioneye/wiki/Configuration-File#http_basic_auth))
+ * smbctl: fixed a bug with upper case network shares
+ * wifictl: hex-encoded PSKs are now supported
+ * added support for running a command when an event ends (thanks to @jcsilva)
+ * added a button to allow the user to manually take a snapshot
+ * still images: added "manual" capture mode
+ * still images: added "motion-triggered (one picture)" capture mode
+ * a few code cleanups to reduce PEP8 warnings
+
+Release 0.37.1 (2017-09-09T19:57:11Z)
+What's new:
+ * fixed authentication no longer working for Remote motionEye Cameras
+ * normal (surveillance) password is kept (again) as plain text, because it may be needed for streaming authentication
+ * fixed streaming authentication
+ * streaming framerate is now pushed above capture framerate with 5 more fps
+ * framerate dimmer now accepts value 0 which will refresh the camera once, at page load
+
+Release 0.37 (2017-08-26T13:46:31Z)
+What's new:
+ * improved the email pictures attachment process
+
+Release 0.33.3 (2017-08-05T15:18:16Z)
+What's new:
+ * fixed a bug where upload services credentials would be lost after applying settings
+ * motion 3.4 is now properly recognized as a new version of the daemon
+
+
+Release 0.33.2 (2017-08-05T15:18:22Z)
+What's new:
+ * RTSP network cameras with Digest Authentication can now be added (although no credentials verification will be done)
+ * fixed various bugs when changing upload services settings or provider
+ * the previous/next arrows in the media browser are no longer reversed
+ * added support for numerical action buttons (1 to 9), that could be used for PTZ presets
+
+
+Release 0.33.1 (2017-08-05T15:18:31Z)
+What's new:
+ * the movie quality setting should now be closer to what the user expects, as percentage
+ * the media root directory of each camera is now created automatically upon hitting *apply*
+ * the default root directory of each camera contains now the (initial) name of the camera
+ * added the [[validate_certs|Configuration-File#validate_certs]] setting to allow talking to sites with self-signed certificates
+
+
+Release 0.33 (2017-08-05T15:18:38Z)
+What's new:
+ * added support for choosing movie formats/codecs (h264/mp4 is available with newer motion versions)
+ * RTSP: prefer TCP over UDP
+ * added action buttons for pan/tilt/zoom (only the buttons, not the underlying functionality!)
+ * notifications emails now contain the `Date` header, for better compatibility
+
+
+Release 0.32.1 (2017-08-05T15:18:43Z)
+What's new:
+ * more than 10 cameras can now be added to a motionEye server
+ * fixed a bug where media files cleanup wouldn't work when having multiple cameras
+ * RTSP network cameras: added support for basic authentication
+ * Dropbox API v2 is now used (v1 has been deprecated)
+ * Google Drive: added support for relative path (subfolders for media files)
+ * Google Drive: media files are no longer uploaded to folders that have been moved to trash
+ * added a test button for email notifications
+ * added a test button for network shares
+ * HEAD method is now supported by all URIs
+
+
+Release 0.32 (2017-08-05T15:18:52Z)
+What's new:
+ * added support for [[monitoring commands|Monitoring Commands]]
+ * HTTP 403 status is now used to signal any authentication problem
+
+
+Release 0.31.5 (2017-08-05T15:19:48Z)
+What's new:
+ * fixed a bug where the `relayevent.sh` script would compute a wrong signature when using special characters in admin password
+
+
+Release 0.31.4 (2017-08-05T15:19:58Z)
+What's new:
+ * fixed a bug with numeric passwords used for remote motionEye cameras
+ * when removing a single movie file from the media browser, the associated .thumb file is removed as well
+
+
+Release 0.31.3 (2017-08-05T15:20:09Z)
+What's new:
+ * event passing between motion and motionEye is now faster thanks to a `relayevent.sh` shell script replacing old python-based method
+
+
+Release 0.31.2 (2017-08-05T15:20:15Z)
+What's new:
+ * fixed a bug where File Storage section would show up in settings menu for Simple MJPEG Cameras
+ * hidden files and dirs are now properly ignored when listing media files
+
+
+Release 0.31.1 (2017-08-05T15:20:38Z)
+What's new:
+ * the root media folder is no longer removed when removing a media files group
+ * right click on a picture frame allows now saving the picture locally (thanks to @nmrugg)
+
+
+Release 0.31 (2017-08-05T15:20:45Z)
+What's new:
+ * hidden folders are ignored when listing media files
+ * media file listing performance improvements
+ * added support for more network share security methods
+ * added support for open wifi networks
+ * SMTP passwords can now contain percent characters
+ * the From field can now be customized when configuring email notifications
+
+
+Release 0.30 (2017-08-05T15:20:51Z)
+What's new:
+ * camera frames layout has been completely redesigned
+ * current streaming/capture frame rate is now shown in each camera frame
+ * added support for [[action buttons|Action Buttons]]
+ * added frame rate dimmer control
+ * added resolution dimmer control
+ * added `meyectl shell` command (for debugging purposes)
+ * fixed mixed up cameras when sending email notifications
+ * semicolons are now accepted in SMTP account passwords
+
+
+Release 0.29.1 (2017-08-05T15:21:02Z)
+What's new:
+ * fixed camera live preview when enabling streaming authentication
+ * motion log level follows now motionEye's log level setting as close as possible
+
+
+Release 0.29 (2017-08-05T15:21:08Z)
+What's new:
+ * fixed media browser layout on Firefox 42+
+ * fixed webhook POST
+ * fixed boolean extra motion options
+ * added support for transmitting data as form or json when calling a webhook
+ * added support for calling webhooks and running commands with each media file creation
+ * added support for media file uploading to Google Drive and Dropbox
+
+
+Release 0.28.3 (2017-08-05T15:21:21Z)
+What's new:
+ * lightswitch detection is now disabled by default
+ * minimum motion frames option is now set to 10 frames by default
+ * fixed no preview bug when using digest authentication for the video streaming
+ * fixed various bugs related to dealing with ungrouped media files (those created directly in the root directory of the camera)
+
+
+Release 0.28.2 (2017-08-05T15:21:41Z)
+What's new:
+ * the working schedule mechanism won't be enabled unless at least one day is enabled
+ * fixed memory leaks with working schedule enabled
+ * fixed email notifications not being sent
+ * added new settings: `motion_control_localhost`, `motion_control_port`, `list_media_timeout` and `timelapse_timeout` (previously hardcoded)
+
+
+Release 0.28.1 (2017-08-05T15:21:49Z)
+What's new:
+* light switch detection threshold slider has been moved to *Motion Detection* section, where it belongs
+* the settings panel is no longer automatically opened after login
+* fixed a bug where motion detection events were not relayed correctly to the UI (the frame wouldn't turn to red)
+* added `motion_control_localhost` and `motion_control_port` settings to configure the motion HTTP control interface
+
+
+Release 0.28 (2017-08-05T15:21:56Z)
+What's new:
+* added continuous movie recording mode
+* the destination address is now used as "from" when sending email notifications
+* light switch detection setting is now a slider (was a simple on/off button before)
+* fixed various URL-related issues when running behind a reverse proxy
+
+
+Release 0.27.2 (2017-08-05T15:22:02Z)
+What's new:
+* fixed relayevent/sendmail/webhook error when launched with `-b`
+* conf, run, log and media paths are now guessed from the `-c` argument unless otherwise instructed in the config file
+* the default media path is now `/var/lib/motioneye`
+
+
+Release 0.27.1 (2017-08-05T15:22:08Z)
+What's new:
+* fixed an old motion compatibility problem
+
+
+Release 0.27 (2017-08-05T15:22:15Z)
+What's new:
+* motionEye has been moved to Github
+* motionEye has been ported to `setuptools` and uploaded to [PyPI](https://pypi.python.org/pypi/motioneye/).
+* there is now a single main script called `meyectl` that will control the server
+
diff --git a/debian/docs b/debian/docs
index af2037b..6d2f416 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1 +1,2 @@
 debian/QUICKSTART.txt
+debian/CHANGELOG
diff --git a/debian/fetch-upstream-changelog b/debian/fetch-upstream-changelog
new file mode 100755
index 0000000..0916c5e
--- /dev/null
+++ b/debian/fetch-upstream-changelog
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+wget -q -O- https://api.github.com/repos/ccrisan/motioneye/releases | \
+  jq -r 'sort_by(.tag_name) | reverse | .[] | "Release \(.tag_name) (\(.published_at))\n\(.body)\n"' > debian/CHANGELOG