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
f713ef6124
Doorlockd: Replace logfile by logdir
...
In future, we might have several different logfiles.
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-07-20 20:12:46 +02:00
Ralf Ramsauer
34417b8ddb
Cmake: Gcc: do not warn on unused results
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-07-17 22:18:17 +02:00
Ralf Ramsauer
40d871b2d2
Version 1.4
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-04-24 22:16:18 +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
88926613e7
Improve version nomenclature
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-04-24 21:32:56 +02:00
Andreas Augustin
b15e7960cb
Fix boost include bug
...
Signed-off-by: Andreas Augustin <andy.augustin@t-online.de>
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-04-24 01:58:08 +02:00
Andreas Augustin
61c5ce5e5e
Add debugging output to CMakeLists.txt
...
Signed-off-by: Andreas Augustin <andy.augustin@t-online.de>
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-04-24 01:58:08 +02:00
Ralf Ramsauer
76d0491518
Version: 1.3
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-04-11 18:13:29 +02:00
Ralf Ramsauer
5abe7b642c
Doorlockd version 1.2.1
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2016-01-23 12:41:37 +01:00
Ralf Ramsauer
c31deb10dc
Version: 1.2
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-10-11 19:58:04 +02:00
Ralf Ramsauer
4865a6bb9f
Added new wave class to CMakeLists.txt
2015-10-11 19:07:03 +02:00
Ralf Ramsauer
6634d1fd71
Playing different sounds on different actions
...
still bloody beta
2015-10-07 17:42:52 +02:00
Ralf Ramsauer
6af49dcbda
Version: 1.1
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-10-06 01:14:40 +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
28d08ac40b
Added new LED images and removed old templante.png
2015-10-05 22:13:54 +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
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
cde0521d6f
Added ui file for MainWindow
2015-09-30 15:26:28 +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
Ralf Ramsauer
a3bf378458
Added mainwindow.h to CMakeLists.txt
2015-09-29 02:11:29 +02:00
Ralf Ramsauer
fb9f5f835e
Fixed include bug
2015-09-28 17:07:21 +02:00
Ralf Ramsauer
3d7b6fbe08
Moved common code parts to static library
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 16:53:17 +02:00
Ralf Ramsauer
13b0b8744a
Added simple Qt Qr widget
2015-09-25 13:12:07 +02:00
Ralf Ramsauer
404f219b6c
added install rule for doorlock-client
2015-09-25 01:31:39 +02:00
Ralf Ramsauer
cb5de7eba9
First working version of doorlock-client
2015-09-25 00:50:11 +02:00
Ralf Ramsauer
93fccda5d8
Small fix
2015-09-25 00:50:10 +02:00
Ralf Ramsauer
36787b91b3
Some refactoring
2015-09-25 00:50:10 +02:00
Ralf Ramsauer
9b58de4b5d
Added stub for doorlock-client
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:10 +02:00
Ralf Ramsauer
9e4de23dff
Renamed main.cpp to doorlockd.cpp
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:10 +02:00
Ralf Ramsauer
8ed116bf7f
Added proper client and doormessage classes
...
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:10 +02:00
Ralf Ramsauer
4d2bdba703
Simplified version string
2015-09-25 00:50:10 +02:00
Ralf Ramsauer
32ebec327d
Added version information
2015-09-25 00:50:10 +02:00
Ralf Ramsauer
3b7338ea6e
Added proper Response handling
2015-09-25 00:50:09 +02:00
Ralf Ramsauer
d979310893
Added emergency unlock scripts
2015-09-25 00:50:09 +02:00
Ralf Ramsauer
b4d6a46025
removed wiringPi
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
4d965f3614
Added proper json-cpp include directory
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
052f2ff071
Removed LDAP TLS environment variable
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
139e5a8409
Added Pre/Post Lock/Unlock Scripts
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
4f2625525f
added rest of the software
2015-09-25 00:50:07 +02:00