Ralf Ramsauer
d04ba6ef63
doorlock-client: add mainwindow.showFullscreen() call
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-08-01 21:51:55 +02:00
Ralf Ramsauer
d1d0d5b160
Fix QT quirk
...
So far, we used QT interfaces in a wrong way. QT is not thread safe, so
use its signal/slot concept and move network communication stuff to a
separate QThread.
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-07-31 15:48:19 +02:00
Ralf Ramsauer
4ccf8e4f24
doorlock-client: refactor run to app_run
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-07-21 20:57:31 +02:00
Ralf Ramsauer
48d0fcaf6f
doorlock-client: be even more verbose
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-07-21 20:50:32 +02:00
Ralf Ramsauer
42f168ff19
doorlick-client: remove misleading comment line
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-07-21 20:40:45 +02:00
Ralf Ramsauer
ee481009e1
doorlock-client: Add more error output
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-07-21 20:40:32 +02:00
Ralf Ramsauer
474d941918
clientmessage: Refactor token to web_address
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-07-17 22:57:54 +02:00
Ralf Ramsauer
99feb14036
Use aplay command for playing sounds
...
This basically reverts 5c8ca78c99
.
Using libao + sndfile was a bad idea...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-04-24 22:08:21 +02:00
Ralf Ramsauer
5c8ca78c99
Cached playback of audio files
...
doorlock_client now caches wave files in memory for faster playback.
LibAO is used for audio playback and libsndfile for wave file header
parsing.
2015-10-11 19:33:19 +02:00
Ralf Ramsauer
70a4b3de03
Bugfix & logical change
...
- Improved doormessage
- Moved isOpen from Doormessage to Logic
2015-10-05 23:30:25 +02:00
Ralf Ramsauer
7874dafd3a
Improved GUI
2015-10-02 19:39:47 +02:00
Ralf Ramsauer
54f22393a4
Improved Logging
...
- removed daemon.cpp
- Added additional output logfile to Logger class
2015-10-02 17:25:16 +02:00
Ralf Ramsauer
2b620d37e9
automatic shutdown & reconnection
2015-10-01 22:57:01 +02:00
Ralf Ramsauer
6181412d7b
Automatic reconnect
2015-10-01 22:31:10 +02:00
Ralf Ramsauer
49a5b88f6c
Big rewrite of several things
...
- Data type Token changed from uint64_t to std::string
- Added new class "Request" that describes a JSON TCP request
- Classes may now throw Responses for proper error handling
- Removed JSON parsing from Logic
- proper Error handling everywhere
- Many small fixes
- removed unnecessary includes
- removed using namespace std everywhere
2015-10-01 22:09:55 +02:00
Ralf Ramsauer
abf69d70fa
Fixed typo
2015-10-01 18:02:25 +02:00
Ralf Ramsauer
765e41afd5
Switched to asynchronous asio handling
2015-09-30 15:21:41 +02:00
Ralf Ramsauer
b2244ed9be
Fix segfaults
2015-09-30 00:44:06 +02:00
Ralf Ramsauer
2b2ec56a9b
Bugfix
2015-09-29 15:00:36 +02:00
Ralf Ramsauer
b1ea4426a9
Some improvements
2015-09-29 14:55:20 +02:00
Ralf Ramsauer
60ed23486b
Improved directory structure
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-29 14:33:53 +02:00