Commit Graph

80 Commits

Author SHA1 Message Date
f5cd71cfbc Release: v9.1.0 2023-06-13 11:57:30 +09:00
1203164d7e DB\IO: add convert types to php type (TTD-606)
Convert DB types to PHP types
Current settings:
- off
- on: int/bool on;y
- json: json strings to array
- numeric: and real/float to php float (possible precision loss)
- bytea: convert PostgreSQL bytea strings to php data strings
v9.1.0
2023-06-13 11:54:53 +09:00
b82e08ba05 Release: v9.0.8 2023-06-05 18:32:58 +09:00
6dfb68a6da Logging: internal fixes v9.0.8 2023-06-05 09:34:29 +09:00
5b944cd12d Release: v9.0.7 2023-06-05 09:32:12 +09:00
65cac4c6e2 Logging bug fixes for per_date/per_run flags v9.0.7 2023-06-02 17:45:21 +09:00
1c1ace58db Release: v9.0.6 2023-06-01 13:10:28 +09:00
16e12b5b8f Bug fixes v9.0.6 2023-06-01 13:08:24 +09:00
73063d28b2 Release: v9.0.5 2023-06-01 12:05:03 +09:00
e80d8006a2 print_r methods use mixed paramter v9.0.5 2023-06-01 12:03:38 +09:00
d648e4339a Must give go flag for publish 2023-06-01 11:09:37 +09:00
4b084f8785 Release: v9.0.4 2023-06-01 11:06:36 +09:00
d0d088b354 DB\IO bug fixes v9.0.4 2023-06-01 11:05:25 +09:00
e0d42af1d2 Release: v9.0.3 2023-06-01 09:17:33 +09:00
c1d26f122e phpunit tests updates v9.0.3 2023-06-01 09:16:06 +09:00
2c2826ac24 Bug fixes and clean ups 2023-06-01 08:47:40 +09:00
72f0810898 Release: v9.0.2 2023-05-31 18:49:58 +09:00
b69539b340 Merge branch 'development' v9.0.2 2023-05-31 18:48:58 +09:00
0b133133dd Release: v9.0.1 2023-05-31 18:48:55 +09:00
8fbe855fd4 Logger\Logger Excpetion calls update 2023-05-31 18:48:00 +09:00
d7410dfe78 Merge branch 'development' v9.0.1 2023-05-31 18:46:02 +09:00
5d36ac2f3e CoreLibs update v9.0.1 2023-05-31 18:45:47 +09:00
2e4ace1a39 Release: v9.0.0 2023-05-31 16:52:59 +09:00
aa5c3b9dcc composer add psr/log v9.0.0 2023-05-31 16:50:21 +09:00
24f7a903ef Composer json update for psr\log required 2023-05-31 16:42:55 +09:00
72993925f0 ACL\Login settings fix 2023-05-31 16:31:44 +09:00
29d5ef92d4 Updates for v9.0 release 2023-05-31 16:27:50 +09:00
f66f8f282e Release: v8.5.0 2023-05-24 16:02:05 +09:00
c010673705 CoreLibs add Security\SymmetricEncryption v8.5.0 2023-05-24 16:00:49 +09:00
b16ff4c613 Release: v8.4.0 2023-05-18 15:21:50 +09:00
e9c791c164 Add better error reporting to DB\IO for query with params
On error with query with params the query was sent to the server and
if ther query itself is ok but there is a problem with the parameters
a wrong error message ($1 not found) will be returned

Add pg_last_error reporting to catch this too.

Update both error reporting to return not string and prefix combined
but prefix + error string in array

In error return check that both strings are not equal, so we do not
return the same error string twice.

Also default set dbh variable in the PgSQL class to false so it will
skip last error report if there is no dbh set yet.

Bug fix for db query with params debug output. if there are more than 9
entries the $1 of eg $10 is replaced with $1 entry again. Changed to
'#' instead '$' to avoid this.

Other:
ACL\Login: replace EOM with HTML
config.master: replace list() with []
Add single DB tester where we can test single db calls without adding
more to the general test run
v8.4.0
2023-05-18 15:20:36 +09:00
c7ec1300b7 Published: v8.3.1 2023-04-26 15:43:11 +09:00
064710324e Bug fix in arraySearchKey path reset v8.3.1 2023-04-26 15:41:56 +09:00
e0356dcadf Release: v8.3.0 2023-04-26 14:56:11 +09:00
62a5992e3a Array combined: new arraySearchKey method
Also update publish script and move URLS to .env file
v8.3.0
2023-04-26 14:54:13 +09:00
6bb957fcb3 Publish v8.2.2 2023-04-11 11:04:41 +09:00
0c1f060759 Merge branch 'development' v8.2.2 2023-04-11 11:03:24 +09:00
aad46ec80a DB\IO: add missing debug query, clean up not needed code
in dbReturn with params on not matching param the system exited on fail
without printing the query making it hard to find where the error is.
Added debug output in case the params count is not matching.
Same move in the dbExecute call

removed param count check from dbReturnRow/dbReturnArray as this check
is done in the dbExecParams call anyway
2023-04-11 11:03:04 +09:00
f5e9f0610d Publish: v8.2.1 2023-04-10 17:24:47 +09:00
14a5250cd7 DB\IO: Bug fix for missing query params replacement in debug messages v8.2.1 2023-04-10 17:23:27 +09:00
6e6edef57d Release: v8.2.0 2023-04-10 14:38:50 +09:00
d3810db965 Add ACL\Login additional acl fields to export acl array v8.2.0 2023-04-10 14:37:44 +09:00
187a012284 Published v8.1.4 2023-04-10 09:05:35 +09:00
b3d2662fd2 DB\IO params detection fix v8.1.4 2023-04-07 14:39:00 +09:00
1189aecae9 New release v8.1.3 2023-04-03 15:08:43 +09:00
024d6d2d7a Bug fix in DB\IO returning call check v8.1.3 2023-04-03 15:07:29 +09:00
f2d5377347 Release v8.1.2 2023-03-29 10:07:12 +09:00
af11bd8199 DB\IO dbReturn and dbReturnParams set NO_CACHE as default v8.1.2 2023-03-29 10:05:09 +09:00
0e6a43a2c2 Release v8.1.1 2023-03-28 16:49:55 +09:00
94eeaaaa51 DB\IO Debug output update for parameter queries v8.1.1 2023-03-28 16:49:06 +09:00