36 Commits

Author SHA1 Message Date
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
03004bb232 adding clean build 2019-11-07 14:50:17 +01:00
Filip Bucek
5505da2ba8 server-sdk using static lib for all project 2019-11-07 14:47:04 +01:00
Filip Bucek
7ebe6bb0ea WIP: adding SoapRequests 2019-11-06 16:59:06 +01:00
Filip Bucek
42d2fd58d1 namespace core -> serversdk 2019-11-06 15:03:21 +01:00
Filip Bucek
5b0a83059e renaming core to serversdk 2019-11-06 14:52:09 +01:00