117 Commits

Author SHA1 Message Date
Filip Bucek
9cc150d50b fixing unittest ( update unittest, primary key, camelCase ) 2019-11-19 10:17:22 +01:00
Filip Bucek
e266b8a8b4 Not using Quid 2019-11-19 09:40:40 +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
29f7103ece Merge branch 'fix-collision-with-global-variable' into 'master'
stdout colidate with special variable for Standard output

See merge request spaceti-app/integrations/common/server-sdk!5
2019-11-14 12:18:59 +00:00
Ondřej Fischer
22d45162d4 stdout colidate with special variable for Standard output 2019-11-14 13:09:16 +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 0.2.0 2019-11-13 10:56:31 +01:00
Filip Bucek
6940cad69e update network request 2019-11-13 10:19:44 +01:00
Filip Bucek
3f3af6cfa6 ci: disabling cache 2019-11-13 08:20:38 +01:00
Filip Bucek
549ba2abe2 fixing problem with build 2019-11-13 08:17:15 +01:00
Filip Bucek
4983bbb782 enabling debug for unittesting 2019-11-13 08:13:32 +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
08f7f163d2 added core.h ( which includes <memory> ) 2019-11-12 11:27:06 +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
1cd286dba5 added missing <memory> header 2019-11-11 18:07:34 +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
70e389ab43 Using tst_ in auto tests 2019-11-11 13:12:48 +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
54d7a5c59a used quoted path ( spaces in paths on Windows ) 2019-11-11 09:56:25 +01:00
Filip Bucek
1fc722b751 adding ansible ( to create test database ) 2019-11-11 09:29:42 +01:00
Filip Bucek
8552cc304f updating ci 2019-11-08 18:33:38 +01:00
Filip Bucek
1d947e931b updating ci 2019-11-08 18:28:06 +01:00
Filip Bucek
33950c96fe updating code coverage 2019-11-08 18:19:23 +01:00
Filip Bucek
ee507683c6 updating ci 2019-11-08 17:58:17 +01:00
Filip Bucek
4ded480088 using artifact with dependancy 2019-11-08 17:51:32 +01:00
Filip Bucek
22e281a2a7 using again 'cache' 2019-11-08 17:42:01 +01:00
Filip Bucek
00596d53db using make check 2019-11-08 17:13:59 +01:00
Filip Bucek
8f2fcedeb7 updating code coverage test 2019-11-08 16:36:46 +01:00
Filip Bucek
5618a7d00c updating tests 2019-11-08 16:28:15 +01:00
Filip Bucek
ce9e59d604 adding dependancy 2019-11-08 16:22:30 +01:00
Filip Bucek
01bd3c9753 adding dependancy 2019-11-08 16:21:53 +01:00