66 Commits

Author SHA1 Message Date
Filip Bucek
e4673cf66a clang: fix warning + making TABLE_PROPERTY private 2019-12-02 10:02:09 +01:00
Filip Bucek
ec406abc6f clang: fixing warnings without impact on function 2019-12-02 09:55:59 +01:00
Filip Bucek
dbe8aa5775 changed info message for applogger to debug 2019-11-28 11:53:33 +01:00
Ondřej Fischer
2041fed9fa send request in finish signal 2019-11-28 10:47:33 +01:00
Filip Bucek
61feac4632 removed Q_ASSERT for validation opened database
When error database contains information about url etc.
2019-11-27 14:16:09 +01:00
Filip Bucek
2e574f7b49 adding timeout to postgresql connection 2019-11-27 12:35:32 +01:00
Filip Bucek
9623578997 fix missing const 2019-11-25 16:28:08 +01:00
Filip Bucek
99089d1b12 emitting error when SQL error 2019-11-25 16:24:33 +01:00
Filip Bucek
eddfc401b0 request manager: outputting error 2019-11-25 12:58:15 +01:00
Filip Bucek
38a7da300d disabled color output for Windows 2019-11-25 08:46:59 +01:00
Filip Bucek
5025a68891 WIP: better logger output 2019-11-20 17:57:57 +01:00
Filip Bucek
f387b600f7 DatabaseTable new method primaryKey 2019-11-19 14:15:40 +01:00
Filip Bucek
c038568124 adding filtered methods 2019-11-19 13:53:05 +01:00
Filip Bucek
7f369b075d unitest -> filteredJson ( maybe make universal ) 2019-11-19 13:40:19 +01:00
Filip Bucek
9cc150d50b fixing unittest ( update unittest, primary key, camelCase ) 2019-11-19 10:17:22 +01:00
Ondřej Fischer
583a652cff add create query 2019-11-19 09:15:45 +01:00
Ondřej Fischer
7071d874b0 fix error caused by using toCamelCase 2019-11-18 17:06:49 +01:00
Filip Bucek
793bfde1de Example in tst_databasetable how to handle different Json / Table data
+ camel case handling
2019-11-18 10:41:24 +01:00
Filip Bucek
4dfd4227cb Merge branch 'refs/heads/master' into possible-change
# Conflicts:
#	src/serversdk/databaseutils.h
2019-11-14 14:56:13 +01:00
Ondřej Fischer
34d112062c add function for UPDATE, needs to be edited 2019-11-14 14:46:44 +01:00
Filip Bucek
ad68c85086 fixing previous build: now using DatabaseUtils to get data from table
QSqlQuery selectSQL = db.execPlainSql("SELECT * FROM names");
auto list = utils.tableFromQuery<Names>(selectSQL);
2019-11-14 14:37:47 +01:00
Filip Bucek
8821dfc9b2 removed TABLE_PROPERTY form default class
+ had to subclass
+ removed unused code
2019-11-14 13:33:17 +01:00
Filip Bucek
5ea2b6f3e1 ZLIB enabled only for UNIX based systems 2019-11-14 12:51:28 +01:00
Filip Bucek
886cc3c777 added comment about subclassing DataTable 2019-11-14 10:54:02 +01:00
Filip Bucek
dfe6d3bb03 fix isSelect ( QSqlQuery::isSelect() does not work as expected ) 2019-11-13 14:56:22 +01:00
Filip Bucek
f1d78192f7 Adding test for colnod -> TokenManager -> getTokenUpdated 2019-11-13 10:56:31 +01:00
Filip Bucek
6940cad69e update network request 2019-11-13 10:19:44 +01:00
Filip Bucek
b92095a459 SQL type based command move to DatabaseTable 2019-11-13 07:51:15 +01:00
Filip Bucek
16fe2db973 added support for Postgresql database 2019-11-12 17:42:54 +01:00
Filip Bucek
c4c51e5099 updated comments to DatabaseTable 2019-11-12 16:59:41 +01:00
Filip Bucek
136ee8300a added missing <memory> header file 2019-11-12 16:29:12 +01:00
Filip Bucek
493d82896b added missing <memory> header file 2019-11-12 16:22:42 +01:00
Filip Bucek
eb2a6c92fa Possible to INSERT and SELECT from database 2019-11-12 16:16:39 +01:00
Filip Bucek
174ede92ee fixing unittests ( using guiless app ) 2019-11-12 14:13:39 +01:00
Filip Bucek
30925777b4 DatabaseTable can read and write data to JSON + manager can ignore ssl errors 2019-11-12 13:11:30 +01:00
Filip Bucek
a80552654b added status() and networkReply() to Request 2019-11-12 12:02:50 +01:00
Filip Bucek
a7831cae9c updated json handling in databasetable 2019-11-12 11:37:37 +01:00
Filip Bucek
d467feb7b9 SQLite with create and insert based on defined struct 2019-11-12 11:25:01 +01:00
Filip Bucek
995898c00c cppcheck: explicit constructor 2019-11-11 18:09:44 +01:00
Filip Bucek
d98ddf6c5f Adding database Table class for automated handling tables 2019-11-11 18:04:56 +01:00
Filip Bucek
b04332059f Adding SQLite test ( open database ) 2019-11-11 15:39:25 +01:00
Filip Bucek
d54da50d5e moved SDK_TEST_PATH and SDK_ROOT definition to test subproject 2019-11-11 10:34:49 +01:00
Filip Bucek
8c137c391f updated comments 2019-11-08 15:43:56 +01:00
Filip Bucek
0e2922f673 disabled http/2 - does not work on Qt 5.9.8 also for SoapRequest 2019-11-08 14:13:35 +01:00
Filip Bucek
1c2d69786c disabled http/2 - does not work on Qt 5.9.8 2019-11-08 14:11:17 +01:00
Filip Bucek
aeb98c0f06 updated unitests 2019-11-08 14:08:58 +01:00
Filip Bucek
ea042620b1 SOAP is working with tests 2019-11-08 13:32:34 +01:00
Filip Bucek
02caeb86c9 lineending: fixed 2019-11-08 11:01:30 +01:00
Filip Bucek
6909ae182c added compression with tests 2019-11-08 09:31:46 +01:00
Filip Bucek
0c7887d944 removing unnecessary code 2019-11-08 08:06:56 +01:00