Commit Graph

2532 Commits

Author SHA1 Message Date
silverqx 612437e8f2 tests used constants 2023-01-11 18:00:10 +01:00
silverqx f63ebf9f19 bugfix tests use charset and collate from env.
When the DB_MYSQL_CHARSET or DB_MYSQL_COLLATION was changed then tests
started failing, so to verify queries use these values from
env. variables.
2023-01-11 17:57:18 +01:00
silverqx 5cf8b1dd28 workflows removed tmate 2023-01-10 16:49:28 +01:00
silverqx 1873f2446b workflows add MySQL lib/ on the system path 2023-01-10 16:49:09 +01:00
silverqx 5975e9dd3b workflows moved debug tmate debug to bottom 2023-01-10 15:49:24 +01:00
silverqx d6e7ff4d82 bugfix MySQL 5 missing include 2023-01-10 15:47:43 +01:00
silverqx 198b969acd workflows debug msvc2019-qt5 2023-01-10 14:51:55 +01:00
silverqx 477a43a0bb workflows enabled matrix 2023-01-10 14:12:58 +01:00
silverqx bf4ba6803a workflows bugfix pwsh env. variable 2023-01-10 14:12:16 +01:00
silverqx 470a5ef796 workflows used secrets for charset and collation 2023-01-10 14:01:10 +01:00
silverqx 20b6312f38 workflows fixed MySQL collate for MySQL 5.7 2023-01-10 13:56:32 +01:00
silverqx e62172140a workflows used default auth. plugin for MySQL 5.7 2023-01-10 13:43:53 +01:00
silverqx 4210f982af workflows bugfix MySQL quotes 2023-01-10 13:42:39 +01:00
silverqx f4a72c9634 workflows reverted pipe with sudo 2023-01-10 13:42:14 +01:00
silverqx 404fcfed2b workflows pipe strings to mysql and psql 2023-01-10 13:11:08 +01:00
silverqx c88a803602 workflows testing disabled matrix 2023-01-10 12:50:29 +01:00
silverqx a0611d569e workflows testing disabled matrix 2023-01-10 12:17:12 +01:00
silverqx 8ffecf0947 workflows MySQL grant select to TZ tables 2023-01-10 12:16:16 +01:00
silverqx c3cf434124 workflows forced caching_sha2_password on MySQL 5 2023-01-10 12:15:41 +01:00
silverqx 94bdd3cacc workflows renamed Linux MySQL server config. 2023-01-10 12:13:46 +01:00
silverqx cb803fede6 tests added MySQL quotes 2023-01-10 12:07:12 +01:00
silverqx d31a9dc810 workflows linux-qt5 test 2023-01-10 10:10:34 +01:00
silverqx 7156fe1475 workflows debug linux-qt5 2023-01-10 09:56:05 +01:00
silverqx 65c28c299e workflows create MySQL user for all Qt5 action
Created a separate MySQL user that has access only to
the q_tinyorm_test_1 database.

Also added my.ini and crystal_client.cnf MySQL config. for clients that
defines --host argument.
2023-01-10 09:11:55 +01:00
silverqx bb053ca3e4 workflows fixed MySQL SSL env. variables 2023-01-10 09:03:43 +01:00
silverqx 3cb5adf562 workflows renamed my.ini template file for Windows 2023-01-10 09:02:45 +01:00
silverqx 03af350e78 workflows forced MySQL caching_sha2_password 2023-01-10 08:09:50 +01:00
silverqx e48e649a21 workflows renamed MySQL SSL client config. file 2023-01-10 08:05:36 +01:00
silverqx 47020fea31 workflows removed accidentally added file 2023-01-10 08:04:41 +01:00
silverqx f42bae0382 workflows add missing SSL env. variables 2023-01-10 08:01:43 +01:00
silverqx 3f305358d8 workflows added missing my.ini template files
- also changed working-directory paths, removed leading ./
2023-01-10 07:38:33 +01:00
silverqx bca03ea441 workflows forced TLS connection
I have forced TLS connections even on localhost to correctly test SSL
connections.

Only the msvc2022-qt6 and linux-qt6 actions use TLS connections
everywhere, also for creating database and user.

Because of that I have added a new environment variable
DB_MYSQL_HOST_SSL, but this variable is passed down through workflow
environment as DB_MYSQL_HOST, I have removed c++ code that also accepted
the DB_MYSQL_HOST_SSL env. variable.

Also the new user that has access only to the test database was created
for these two changed actions. Other actions are using root account to
access database, I'm going to change it in next commits.
2023-01-10 07:34:12 +01:00
silverqx e06fa1c017 workflows renamed env. variable 2023-01-09 20:21:05 +01:00
silverqx 760e324f42 workflows linux enabled VCPKG_FIXUP_ELF_RPATH 2023-01-07 09:44:12 +01:00
silverqx a83dd8ce50 suppressed clang tidy warnings
Primarily in models and in one test case.
2023-01-06 21:22:18 +01:00
silverqx eae7e12981 removed unused #include 2023-01-06 19:30:09 +01:00
silverqx 636b4d1ead added support for SSL connections
If the DB_MYSQL_SSL_CERT/KEY/CA env. variables are set then used them
for the MySQL SSL connections in all tests, tom, and tom_testdata.
2023-01-06 19:12:35 +01:00
silverqx 7639a3c8e7 workflows forced caching_sha2_password for MySQL 2023-01-06 19:09:57 +01:00
silverqx 8a3f673e6b bump version to TinyORM v0.26.3
- fixed the TINY_NO_INCOMPLETE_UNORDERED_MAP macro
v0.26.3
2023-01-01 16:36:05 +01:00
silverqx 84e275de5e bugfix detection of gcc 12.1
Detection for the TINY_NO_INCOMPLETE_UNORDERED_MAP macro.
2023-01-01 14:51:38 +01:00
silverqx be0034e683 bump version to TinyORM v0.26.2
- small fixes
v0.26.2
2022-12-27 09:39:21 +01:00
silverqx 0653ebcbc0 wrapped using alias in #ifdef 2022-12-26 22:38:01 +01:00
silverqx 4594a39794 added constant using alias
Is needed is ORM is disabled because ormtypes.hpp is not included.
2022-12-26 11:18:45 +01:00
silverqx 6f882c476e added section comments 2022-12-26 11:17:28 +01:00
silverqx ad5f4bcf73 whitespaces 2022-12-26 11:17:12 +01:00
silverqx 4145de89a9 wrapped include in macro 2022-12-20 16:15:44 +01:00
silverqx cb21d3901f removed useless include 2022-12-20 16:15:19 +01:00
silverqx 42887d1f59 bump version to TinyORM v0.26.1 v0.26.1 2022-12-19 19:58:05 +01:00
silverqx 528be2b3dc used std::ranges::sort() 2022-12-19 19:55:28 +01:00
silverqx 57bdb0286c fixtypo 2022-12-19 19:54:32 +01:00