Clemens Schwaighofer
a03c7e7319
Class ACL Login and Session update
...
Session:
- can recreate session id periodic (Default never)
- options are set via array like in other classes
- checks for strict session settings on default
ACL Login:
- remove all DEBUG/DB_DEBUG variables, calls, etc
- removed from the EditBase/EditUsers classes too
- switch to UUIDv4 as the session lookup variable
- all session vars are prefixed with "LOGIN_"
- the charset ones are left as DEFAULT_CHARSET, DEFAULT_LOCALE, DEFAULT_LANG
- the old LOGIN_LANG has been removed (deprecated)
- TEMPLATE session has been removed, there is no template data in the edit class
- session is resynced (ACL lookup), default 5min, adjustable via option
- sets strict header options as default
- moves several methods parts into their own classes
- plan to split up class into sub classes for certain actions
- new force logout counter in DB
- edit logger is moved into this class
- plan to move logging into sub class
- all SQL calls user heredoc and params
- update login/change password to new layout for pc/smartphone compatible
- change password will be replaced with reset password in future
- last login success is now set as timestamp
- all old PK lookups for edit access etc are deprecated and replaced with cuid lookups
ArrayHandling:
- add array return matching key
Give any array with key values and a list of keys and only return matching keys
Wrapper for array_filter call
2024-12-13 10:54:20 +09:00
Clemens Schwaighofer
20ee958db9
Session class update with many methods and general clean up
2024-12-05 14:07:39 +09:00
Clemens Schwaighofer
70f78a5f9c
Math update for Matrix multiplications
2024-11-19 12:03:12 +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
94edb7f556
Add unique page name check for edit pages, bug fixes in Form Template Generate and DB Array IO classes
2024-03-21 12:45:39 +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
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
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
027c35f9f0
Bug fix for Edit Order not loading
2023-09-26 18:47:02 +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
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
16e12b5b8f
Bug fixes
2023-06-01 13:08:24 +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
db02bdd102
CoreLibs data update for v8.0.3
2023-03-10 15:11:58 +09:00
Clemens Schwaighofer
f410d761ba
Remove deprecated classes and methods, deprecate all named constants
...
All named constants used inside classes have been deprecated and
must now be set from method calls, class init, etc
2023-03-09 16:41:55 +09:00
Clemens Schwaighofer
0a80abe8a4
PHP 8.1 base version update
2023-02-28 18:04:42 +09:00
Clemens Schwaighofer
1716b2c627
Fix in EditUser Table Array query load for languages
...
Also split all queries into multi line ones
Fixes in Form\Generate for TableArray Interface location move
Update EditBase to new and old edit schema (scheme) file name
2023-02-28 10:41:06 +09:00
Clemens Schwaighofer
a0126f70ab
Bug fix release for TableArray Classes
...
TableArray could not find the Interface class. moved it to a subfolder
nested in the TableArray folder.
2023-02-28 09:07:16 +09:00
Clemens Schwaighofer
cfcd601b3a
Add src files for CoreLibs composer all package
2023-02-16 12:47:43 +09:00