forked from motom001/DoorPi
-
Notifications
You must be signed in to change notification settings - Fork 4
/
changelog.txt
229 lines (196 loc) · 9.79 KB
/
changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
=============
Changelog
=============
Legend:
+ add
- remove
~ change
/ reference to commit
! fix issue or kown bug
Version: 3.0.0b5 (2021-03-05) {{{1
-----------------------------------
+ DoorPi can now be run using `python -m doorpi`
+ Added a new `waitevent` action
~ Web server pages are now integrated into the `doorpi` package.
A separate installation of the web pages is no longer necessary.
~ Rewrote the integrated web server based on aiohttp
~ Changed to using Entrypoints to discover actions, keyboards and sip
phone implementations. This allows to easily extend DoorPi using
additional packages, without changes to the DoorPi code itself.
! Fix "must be str, not PosixPath" in setup.py
! sip: Fix "realm" auto-setting not occuring
Version: 3.0.0b4 (2020-08-12) {{{1
-----------------------------------
+ Version numbers of the Python package are now managed by setuptools_scm.
~ Update gitignore template
! Fix closing of configuration definition resources
Version: 3.0.0b3 (2020-08-12) {{{1
-----------------------------------
+ systemd-notify and watchdog support. This allows systemd to better track DoorPi's internal state,
and react faster to problems like hangs or crashes.
+ Allow specifying specific modules for `--debug` and `--trace`. This is mainly useful for
developers; if you're reporting a bug, please attach a full trace log as usual.
- Remove support for linphone.
- Restarting the daemon by issuing `doorpi_cli restart` is no longer supported. If you use custom
scripts that rely on this command, you will need to adjust them appropriately. This does not
affect systemd.
~ Changed the configuration system to use the TOML format. Due to numerous changes in the
configuration layout, old configuration files cannot be migrated automatically.
~ The main executable's name was changed from `doorpi_cli` to `doorpi`. To ensure proper
functioning of the daemon, reexecute the setup steps. You may have to adjust manual launch
scripts if you're using any.
~ Fully rewrite and modernize the SIP stack and make pjsua2 functional again.
~ Instead of a sine wave, a short WAV file is used as default ring tone. This is installed into
`$prefix/share/doorpi/dialtone.wav`, which is also the new default ring tone file path.
~ Requirement texts use reStructuredText instead of inline HTML. Pages look cleaner and are easier
to maintain, but, in order to display them correctly, **docutils need to be installed**. Without
docutils, the reST source will be displayed as preformatted text block.
~ The systemd socket by default now only binds to the IPv6 loopback address. IPv4 is unchanged.
~ Data files (including systemd units) are now installed relative to the Python executable's
prefix. This allows installation into virtualenvs without `sudo`.
~ The keyboard interfaces have been reworked.
~ Actions have been rewritten as proper classes. If you implemented custom actions, you will have
to adjust your code. See the documentation in `doorpi/actions/__init__.py`.
~ Some actions have been renamed or merged; please update your configuration accordingly.
Old: `ipsrpc_setvalue:<key>,<value>`
New: `symcon_ips3:set,<key>,<value>`
Old: `ipsrpc_call_value:<key>`
New: `symcon_ips3:call,<key>`
Old: `out_triggered:<p>,<v>,<s>,<h>,[i]`
New: `out:<p>,<v>,<s>,<h>,[i]`
(`out:` actions without hold time are unaffected)
! Add a LICENSE file
! Properly set access permissions for GPIO, audio and video devices when running under systemd
! Receiving SIGINT, SIGHUP or SIGTERM now properly shuts down DoorPi instead of killing the
process. After receiving 3 or more of such signals, the main thread's stack will be dumped and
the process terminates immediately. (Note: Python signal handling caveats apply.)
The handling of other signals is unchanged - this still allows one to, for example, kill the
DoorPi process in a terminal with SIGQUIT.
Version: 3.0beta2 (2018-11-20) {{{1
------------------------------------
+ Web service: Use systemd sockets. This allows to use privileged ports (e.g. 80, the old default)
without the need to run as root. **Note**: If using systemd, the web server port in `doorpi.ini`
is ignored, as it is now up to systemd to set up the socket. Use:
systemctl edit --full doorpi.socket
and change the `ListenStream=` line to configure the port.
~ Web service: Use intra-domain references, instead of wrestling with HTTP headers
**Note**: This requires updated DoorPiWeb files
! Web service: Protect against directory traversal attacks
Version: 3.0beta1 (2018-11-06) {{{1
-------------------------------------
+ Ability to run without root privileges
+ Basic systemd support (see below)
~ Rewrite setup routines. Allows packaging
~ Port existing code to Python 3 (not everything tested yet)
Some changes here were done by <https://github.com/Python3pkg>)
~ base_path defaults to current user's $HOME if not yet configured
~ Web service: new default port 50371 (from 80)
- Web service no longer tries to fall back to different ports
- Web service no longer falls back to online resources if local resources are not found
! Various fixes for random coding-related stuff; see commit history if you're interested in details
Notes about systemd:
* Some features require systemd >= 235, which is not available on Raspbian Jessie.
* DoorPi will not run as root anymore. In order to access GPIO pins, the supplementary group `gpio`
will be added to the daemon's set of groups. If your system doesn't use this group, or uses a
different one, you need to modify the service definition accordingly.
**Do NOT just change the User to root.** It should be trivial to find out what kind of permission
is needed to access GPIO (if any at all).
* The systemd service expects the config file to exist at `/etc/doorpi/doorpi.ini`
As DoorPi normally does not (and should not!) have write access there, the configuration web
interface will not be able to save changes. Do not use it, just write to the file directly.
Version: 2.5.1 (2016-08-01) {{{1
---------------------------------
~ version to 2.5.1
+ add bouncetime to pn532 keyboard (#167)
! flapping pn532 keyboard (#167)
! Adjusted a few minot things to make doorpi work with pjsua again (#163)
! fix record_filename bug (#166)
Version: 2.5.0.4 (2016-05-23) {{{1
-----------------------------------
+ add missing changelog entries for Version: 2.5.0.3 (2016-05-23)
Version: 2.5.0.3 (2016-05-23) {{{1
-----------------------------------
+ new action url_call to *surprise*surprise* call a url
```
[EVENT_OnKeyDown_prod.1]
10 = url_call:http://192.168.178.200/config/xmlapi/statechange.cgi?ise_id=12345&new_value=1
```
by https://www.doorpi.org/forum/thread/25-http-request
+ new keyboard PN532 to read NFC Tags
see https://github.com/motom001/DoorPi/blob/master/doorpi/keyboard/from_pn532.py for more informations
Version: 2.5.0.2 (2016-04-07) {{{1
-----------------------------------
+ pifacecommon to requirements.txt
+ signature config for mailto action (default is epilog from metadata) - leave blank to disable signature
settings for SMTP (checked with 1&1 SMTP-Account):
```
[SMTP]
server = smtp.1und1.de
port = 587
username = [email protected]
password = password
from = [email protected]
use_ssl = false
use_tls = true
need_login = true
signature = sent from DoorPi
```
Version: 2.5.0.1 (2016-03-17) {{{1
-----------------------------------
! fix bug for mailto an take_snapshot
send Mail with new pic from PiCam:
```
[EVENT_AfterStartup]
10 = take_snapshot
20 = mailto:[email protected],Mailversand mit Bild,Das ist das Bild als Mailtext,true
```
send Mail with new pic from Webcam:
```
[EVENT_AfterStartup]
10 = take_snapshot:https://www.vvo-online.de/img/webcamimages/carolabruecke-4.jpg
20 = mailto:[email protected],Mailversand mit Bild,Das ist das Bild als Mailtext,true
```
and settings for SMTP (checked with 1&1 SMTP-Account):
```
[SMTP]
server = smtp.1und1.de
port = 587
username = [email protected]
password = password
from = [email protected]
use_ssl = false
use_tls = true
need_login = true
```
Version: 2.4.1.8 (2016-03-12) {{{1
-----------------------------------
/ 20895649e196795734acd9b5016684e7dd6af0f8
~ BASE_PATH set to /usr/local/etc/DoorPi
/ 598f559cb9cfab3fe5533d2cd2ba2d04c6fc6ce1
~ daemon file template with exitcode (for jessie) (thx to Postler)
/ 5f681f10b18fcfcdac84ab06e9ae9a500549450c
! fix "Exception NameError: 'bool' object has no attribute 'upper'" @ doorpi/keyboard/from_gpio.py (thx to cubeschrauber)
/ f24ac1b8df34bfe17f08b3ae78558ab10af2c22d
+ add cat of logfile for test @ travis
/ 047aa727da62262f5b0815222d65ffec123af549
~ change code to PEP8 style
+ add changelog reference to README.rst
~ change behavior of restart daemon: check until doorpi is stopped before to start it again (default sleep between 2 sec) #132
- remove of duplicate parameter start in daemonfile doorpi/docs/daemon/doorpi.tpl
~ change doorpi/docs/daemon/README.md
~ change behavior of doorpi_base_path - is now only /usr/local/etc/DoorPi on posix systems and raise exception if this couldn't create
+ add mkdir and chmod to .travis/install.sh to preserve error on new doorpi_base_path behavior
- remove useless logline when stopping doorpi
/ 7119caffd79cd02322a224df8ae102e1096e9e8a
+ add changelog to README.rst
+ config property keyboard piface pressed_on_keydown #134
~ ATTENTION: changed behavior of keyboard piface event OnKeyPressed from fire with OnKeyUp to fire with OnKeyDown #134
+ config property keyboard gpio pressed_on_keydown #134
+ config property keyboard gpio mode
+ config property keyboard gpio pull_up_down #134
+ config property keyboard filesystem pressed_on_keydown #134
~ try to register keyboard gpio inputpins as list but except TypeError and register it as int (old gpio behavior) #133
~ change code to PEP8 style
/ 50943b5c30cbe5a10678b5ea929afa200916d9a5
- remove sudo for `doorpi_cli --trace --test` for test @ travis in application mode
# vim:set ft= fdm=marker sw=2: