Clemens Schwaighofer
d19842007c
ACL Login cuid and cuuid update and add
2024-12-03 13:29:50 +09:00
Clemens Schwaighofer
e580e5430c
Add ECUID (edit user cuid) to session and return in acl array
2024-12-02 17:18:34 +09:00
Clemens Schwaighofer
6c6b33cacc
add uuidv4 verify method
2024-12-02 15:54:35 +09:00
Clemens Schwaighofer
3450b6263b
Fixes in SQL PgSQL for identity column
2024-11-27 14:42:04 +09:00
Clemens Schwaighofer
3ac57e05b0
DB SQL placeholder code updated
2024-11-20 22:52:15 +09:00
Clemens Schwaighofer
70f78a5f9c
Math update for Matrix multiplications
2024-11-19 12:03:12 +09:00
Clemens Schwaighofer
6140bd8671
Color converter update with full sRGB/CieLab/OkLab conversion
2024-11-18 15:02:05 +09:00
Clemens Schwaighofer
9818410889
Local phan/phpstan install and config update, merge in UrlRequest changes
2024-11-07 11:39:33 +09:00
Clemens Schwaighofer
1bb4d5f426
UrlRequest curl class added
2024-11-06 18:56:17 +09:00
Clemens Schwaighofer
39de680b66
Extend Error Message collector print warning log
2024-09-24 15:15:23 +09:00
Clemens Schwaighofer
61782be11c
Various updates as follows
...
* commit 5cec54d508fd4a34de509b3ac28d6277b6abc090 (HEAD -> master, all/master, all/development, all/NewFeatures)
| log size 644
| Author: Clemens Schwaighofer <clemens.schwaighofer@egplusww.com >
| Date: 2024-09-20 13:33:19 +0900
|
| Add "Success" to message logging levels, fixes for PHP 8.4, other preg_match fixes
|
| The Logger/MessageLevel gets "success" as level 110 to something a bit
| heigher than "ok" which is the general "OK" for anything ending without
| an error. The "success" is currently only used in file uploads with the
| java script ajax file uploader
|
| Fix any "type $var = null" with correctly "?type $var = null" for PHP 8.4 (phphan)
|
| Fix preg match no return catches for DB IO compare version and for language
| look up.
|
| 4dev/tests/Logging/CoreLibsLoggingErrorMessagesTest.php | 5 +++++
| www/admin/class_test.html.php | 1 +
| www/admin/class_test.php | 2 +-
| www/admin/layout/javascript/edit.jq.js | 2 +-
| www/lib/CoreLibs/Admin/Backend.php | 6 +++---
| www/lib/CoreLibs/Basic.php | 2 +-
| www/lib/CoreLibs/Convert/Extends/SetVarTypeMain.php | 6 +++---
| www/lib/CoreLibs/Convert/SetVarTypeNull.php | 6 +++---
| www/lib/CoreLibs/DB/IO.php | 24 ++++++++++++++++++------
| www/lib/CoreLibs/Language/GetLocale.php | 4 ++--
| www/lib/CoreLibs/Logging/Logger/MessageLevel.php | 2 ++
| www/lib/CoreLibs/Output/Form/Elements.php | 12 ++++++------
| www/lib/CoreLibs/Template/HtmlBuilder/Element.php | 4 ++--
| 13 files changed, 48 insertions(+), 28 deletions(-)
|
* commit 8e60c992f109993b40d9e5ec9354ffb7d7db9f79
| log size 123
| Author: Clemens Schwaighofer <clemens.schwaighofer@egplusww.com >
| Date: 2024-09-03 12:06:01 +0900
|
| Fixes phan/phpstan
|
| phpstan.neon | 6 +++---
| www/lib/CoreLibs/Get/System.php | 2 +-
| www/lib/CoreLibs/Template/HtmlBuilder/Block.php | 4 ----
| 3 files changed, 4 insertions(+), 8 deletions(-)
|
* commit 1b5437b675f6ceda4318f19522d47a08f28f95a8
| log size 147
| Author: Clemens Schwaighofer <clemens.schwaighofer@egplusww.com >
| Date: 2024-09-03 11:58:36 +0900
|
| Add testing for new added bom utf8 replace
|
| 4dev/tests/Convert/CoreLibsConvertStringsTest.php | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
| 4dev/tests/Convert/data/UTF8.csv | 1 +
| 4dev/tests/Convert/data/UTF8BOM.csv | 1 +
| 4dev/tests/Get/CoreLibsGetSystemTest.php | 23 +++++++++++++++++++++++
| www/admin/class_test.system.php | 4 +++-
| 5 files changed, 76 insertions(+), 1 deletion(-)
|
* commit ef80cba5610b8acae8fc11d3f0a441c1f5a03735
| log size 659
| Author: Clemens Schwaighofer <clemens.schwaighofer@egplusww.com >
| Date: 2024-09-03 09:49:01 +0900
|
| Add new functions: get IPs, strip UTF8 BOM from text, text updates
|
| Add the following new static methods
|
| Convert\Strings::stripUTF8BomBytes: removes the UTF8 BOM bytes from the beginning of a line
| Used for CSV files created in Excel for the first header entry (line 0/row 0)
|
| Get\Systen::getIpAddresses: gets all IP addresses for the the current access user
| and returns an array
|
| Moved the frontend folder detection from the first load config to the config.path.php
|
| Cleaned up the translations JS scripts
|
| 4dev/bin/create_mo.sh | 9 +++++----
| 4dev/bin/mo_to_js.sh | 63 +++++++++++++++++++++++++++++++++++----------------------------
| www/configs/config.path.php | 16 +++++++++++++++-
| www/configs/config.php | 15 +--------------
| www/lib/CoreLibs/Convert/Strings.php | 12 ++++++++++++
| www/lib/CoreLibs/DB/IO.php | 2 +-
| www/lib/CoreLibs/Get/System.php | 23 +++++++++++++++++++++++
| www/lib/CoreLibs/Template/HtmlBuilder/Block.php | 37 ++++++++++++++++++++++++++-----------
| 8 files changed, 118 insertions(+), 59 deletions(-)
|
* commit 2d71e760e8fb7b4b0a5552a2f62bedffad928f4f
| log size 120
| Author: Clemens Schwaighofer <clemens.schwaighofer@egplusww.com >
| Date: 2024-08-21 11:45:17 +0900
|
| Composer update
|
| www/composer.lock | 12 ++++++------
| www/lib/CoreLibs/Template/SmartyExtend.php | 3 ++-
| www/vendor/composer/installed.json | 14 +++++++-------
| www/vendor/composer/installed.php | 6 +++---
| www/vendor/gullevek/dotenv/Readme.md | 23 +++++++++++++++++++++++
| www/vendor/gullevek/dotenv/src/DotEnv.php | 13 ++++++++++---
| 6 files changed, 51 insertions(+), 20 deletions(-)
|
* commit a8d07634ffaf961a37557437aac1f202ae18fa6e
| log size 182
| Author: Clemens Schwaighofer <clemens.schwaighofer@egplusww.com >
| Date: 2024-08-07 13:41:09 +0900
|
| Add soba.egplusww.jp as local development host, jshint esversion update to 11
|
| www/admin/layout/javascript/edit.jq.js | 2 +-
| www/configs/config.host.php | 28 +++++++++++-----------------
| 2 files changed, 12 insertions(+), 18 deletions(-)
|
2024-09-20 13:40:20 +09:00
Clemens Schwaighofer
561be4bce6
Update with get address method and utf8 bom replacer
2024-09-03 12:12:11 +09:00
Clemens Schwaighofer
fec1c5ad57
Symmetric Encryption class update to standard class and static call type
2024-05-22 11:03:44 +09:00
Clemens Schwaighofer
d54a6cbdf5
Remove mb encode mimeheader special code and replace it with default function call
2024-04-17 10:13:32 +09:00
Clemens Schwaighofer
8c607ae610
tools update, bug fix Strings to return path if null, Fix form list loader, fix paths
2024-03-07 15:01:19 +09:00
Clemens Schwaighofer
b6ef3b29f6
ArrayHandler add next/prev key search
2023-11-02 14:06:31 +09:00
Clemens Schwaighofer
428c10b547
new Support::getCallStack, new DateTime::intervalStringFormat, exception updates Convert\Byte, Output\Image
2023-10-23 17:13:23 +09:00
Clemens Schwaighofer
13602bdd73
DB\IO update with better error reporting and auto update for placeholders in queries
2023-10-16 15:02:30 +09:00
Clemens Schwaighofer
4ab382990e
Output\Image Exceptions update
2023-10-12 17:12:15 +09:00
Clemens Schwaighofer
4edacc0d13
phpunit tools symlink fix, phpunit boostrap update
2023-10-04 15:01:23 +09:00
Clemens Schwaighofer
128d6533fc
Remove composer install phan/phpstan/etc and switch to phive install
2023-10-04 14:49:49 +09:00
Clemens Schwaighofer
64e60d97e7
Logging\ErrorMsg fix for jump target list return array
2023-10-02 17:33:49 +09:00
Clemens Schwaighofer
71c9fd401d
Logging\ErrorMsg add jump target list
2023-10-02 14:04:59 +09:00
Clemens Schwaighofer
dad6b797e0
ErrorMsg auto log if log level is debug, Form\Generate split out DBArrayIO class
2023-10-02 12:29:50 +09:00
Clemens Schwaighofer
fb8216ae86
ErrorMessage add notice level
2023-09-27 11:43:12 +09:00
Clemens Schwaighofer
e10987ce8b
ErrorMsg update with target_style
2023-09-15 18:32:55 +09:00
Clemens Schwaighofer
67fd7b172a
ErrorMessage: flag to also log 'error' level messages to log
2023-09-11 13:37:58 +09:00
Clemens Schwaighofer
b939edac3f
Logging\ErrorMessage rename setError to setMessage
2023-09-08 21:01:05 +09:00
Clemens Schwaighofer
3b8583de61
Rename ErrorMessage method from setErrorMsgLevel to setError for backend
2023-09-08 18:49:58 +09:00
Clemens Schwaighofer
7b49394c5a
Logging/ErrorMessage class
2023-09-08 18:38:19 +09:00
Clemens Schwaighofer
52a7f1197b
Fixs in SetType class for string/int/numeric
2023-09-05 14:30:03 +09:00
Clemens Schwaighofer
c57e798591
Add proper Exceptions to class instead of false return on critical problems
2023-09-01 18:32:57 +09:00
Clemens Schwaighofer
11de4f9915
Logging update for class/method trace
2023-08-22 13:34:43 +09:00
Clemens Schwaighofer
53c7dda9a0
JSON Array to convert fix, bool/false return fix
2023-08-02 16:34:57 +09:00
Clemens Schwaighofer
2eaf80b1bd
new Combined\DateTime method dateRangeHasWeekend
2023-07-04 11:46:34 +09:00
Clemens Schwaighofer
edcc77a6ab
HtmlBuilder classes
2023-06-28 15:33:12 +09:00
Clemens Schwaighofer
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
2023-06-13 11:54:53 +09:00
Clemens Schwaighofer
6dfb68a6da
Logging: internal fixes
2023-06-05 09:34:29 +09:00
Clemens Schwaighofer
d0d088b354
DB\IO bug fixes
2023-06-01 11:05:25 +09:00
Clemens Schwaighofer
c1d26f122e
phpunit tests updates
2023-06-01 09:16:06 +09:00
Clemens Schwaighofer
2c2826ac24
Bug fixes and clean ups
2023-06-01 08:47:40 +09:00
Clemens Schwaighofer
5d36ac2f3e
CoreLibs update v9.0.1
2023-05-31 18:45:47 +09:00
Clemens Schwaighofer
29d5ef92d4
Updates for v9.0 release
2023-05-31 16:27:50 +09:00
Clemens Schwaighofer
c010673705
CoreLibs add Security\SymmetricEncryption
2023-05-24 16:00:49 +09:00
Clemens Schwaighofer
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
2023-05-18 15:20:36 +09:00
Clemens Schwaighofer
62a5992e3a
Array combined: new arraySearchKey method
...
Also update publish script and move URLS to .env file
2023-04-26 14:54:13 +09:00
Clemens Schwaighofer
d3810db965
Add ACL\Login additional acl fields to export acl array
2023-04-10 14:37:44 +09:00
Clemens Schwaighofer
af11bd8199
DB\IO dbReturn and dbReturnParams set NO_CACHE as default
2023-03-29 10:05:09 +09:00
Clemens Schwaighofer
46b2b60718
CoreLibs DB\IO dbExec*, dbReturn* params methods add
2023-03-28 15:41:02 +09:00
Clemens Schwaighofer
db02bdd102
CoreLibs data update for v8.0.3
2023-03-10 15:11:58 +09:00