Clemens Schwaighofer
de2ed8be3d
EditBase SmartyExtended class call update
2024-12-27 17:07:44 +09:00
Clemens Schwaighofer
9d65f5d7c1
phpunit script update, SmartyExtended allow load of plugins
...
- phpunit has better options set for testdox/php version
- SmartyExtended has logger class as option (argument 2) and options
- SmartyExtneded can via option set html escape and load of plugins
- plugin array is set of
- file: path to plugin file
- type: what type this is
- tag: tag name
- callable: the callable for the tag name
- will throw exceptions on plugin load
- for all other things will set warning only and skip read
- fix the Smarty call with the logger option
- fix password test for PHP 8.4 password hash change
*IMPORTANT*
SmartyExtended($l10n, $logger, $cache_id, $compile_id)
The second argument is now the Logger class, this MUST be updated for all calls
2024-12-27 14:00:12 +09:00
Clemens Schwaighofer
fbe827e989
Update Smarty Extended for Smarty-extended v5 upgrade
2024-12-27 11:30:55 +09:00
Clemens Schwaighofer
c778a4eb81
Add phive back in for static tools like phpunit instead of using the composer package
2024-12-27 09:32:54 +09:00
Clemens Schwaighofer
ce1c72a0bc
Bug fix for DB IO parameters in CASE calls
v2.25.3
v9.25.3
2024-12-24 12:43:30 +09:00
Clemens Schwaighofer
10319ef728
Fix throws type for AsymmetricAnonymousEncryption in the phpdoc part
2024-12-23 12:56:57 +09:00
Clemens Schwaighofer
8d0036eaac
Fix phpdoc return types
v9.25.2
2024-12-23 11:26:50 +09:00
Clemens Schwaighofer
d1e65c702e
Allow Seession settings to be changed
...
eg set the auto write + others
or set/unset can be chagned for single sets
2024-12-20 18:48:00 +09:00
Clemens Schwaighofer
7248906da7
Allow chaining of key set functions for encryption
2024-12-20 15:13:22 +09:00
Clemens Schwaighofer
7f9a4dc04f
Merge branch 'Feature-AsymmetricEncryption' into NewFeatures
v9.25.1
2024-12-18 10:52:29 +09:00
Clemens Schwaighofer
10935214eb
Fix Class file name for asymmetric anonymous encryption
2024-12-18 10:50:27 +09:00
Clemens Schwaighofer
41e116f7d4
phpstan checks for level 9
v9.25.0
2024-12-18 10:11:47 +09:00
Clemens Schwaighofer
881c93c343
Asymmetric Anoymouse Encryption phpunit tests
2024-12-18 09:56:48 +09:00
Clemens Schwaighofer
185d044a0b
Symmetric encryption key set tests
2024-12-17 18:23:10 +09:00
Clemens Schwaighofer
cc067cc202
Update symmetric encryption with compare/get key, empty key test, unset on end
...
All key and messages are set SensitiveParameter type
On end, unset the key parameter with sodium mem zero
Get/Compare key set methods
Additional check on empty key
Add missing sodium mem zero for inner function variable clean up
2024-12-17 15:18:06 +09:00
Clemens Schwaighofer
37e2e54b2a
Add asymmetric anonymous encryption
...
Private/Public key encryption for anonymous messages (not receipient)
2024-12-17 15:16:48 +09:00
Clemens Schwaighofer
711b3bfe97
Remove E_STRICT from error reporting, it is deprecated
2024-12-13 18:45:27 +09:00
Clemens Schwaighofer
3bd21c75d8
Make the font-size for ACL Login template a bit smaller
...
1.5em was too large, 1.3em is better
2024-12-13 13:58:56 +09:00
Clemens Schwaighofer
4971f62490
ecuid name fix in test file
v9.24.1
2024-12-13 11:42:45 +09:00
Clemens Schwaighofer
1cf4fdf31a
Fix column named for edit_log to eu prefixed
...
as eucuid and eucuuid
2024-12-13 11:37:52 +09:00
Clemens Schwaighofer
d16b920966
Update arrayReturnMatchinKeyOnly description
2024-12-13 11:29:37 +09:00
Clemens Schwaighofer
ab52bf59b5
phan/phpstan fixes
v9.24.0
2024-12-13 10:38:24 +09:00
Clemens Schwaighofer
a8dd076aac
Merge branch 'NewFeatures' into Feature-LoginClassAddUuidv4
2024-12-13 10:27:49 +09:00
Clemens Schwaighofer
c17ca1f847
Merge branch 'development'
2024-12-13 10:21:41 +09:00
Clemens Schwaighofer
e349613d60
phpunit updates
...
Add testsuits for default run
Fix wording in testdox
add a fallback in the Debugging Support test suit
2024-12-13 10:17:28 +09:00
Clemens Schwaighofer
e9cfdb4bf0
Remove all deprecated tests
2024-12-13 09:35:54 +09:00
Clemens Schwaighofer
f966209e0a
phpstan param declration fix for ACL Login user status
2024-12-12 21:20:09 +09:00
Clemens Schwaighofer
c13934de99
Fix for wrong key handling in Symmetric encryption
v9.23.3
2024-12-12 21:09:41 +09:00
Clemens Schwaighofer
1e90bb677e
Fix Symmetric encryption with wrong key handling
...
- static call encrypt: do not check pre set key
- indirect call: set new if key is different
2024-12-12 21:07:17 +09:00
Clemens Schwaighofer
540269e61f
Fix update script for now to clock_timestamp
2024-12-12 19:04:21 +09:00
Clemens Schwaighofer
e793c3975b
Change all db now to clock_timestamp for triggers
2024-12-12 12:02:49 +09:00
Clemens Schwaighofer
7d4c9724fe
Fix session options argument declaration for phpstan
2024-12-11 21:10:00 +09:00
Clemens Schwaighofer
d1c4611431
Indent fix for ACL Login
2024-12-11 21:06:59 +09:00
Clemens Schwaighofer
8d3882a6fe
Session and ACL Login Class update
...
Session:
regenerate session id after some time or random.
Default is 'never', can be 'interval' form 0 to 1h and random from always to 1 in 100
Session also checks that strict session settings are enabled
Login class:
Automatic re-read of acl settings after some time (default 5min, can be chnaged via option).
Default set strict headers, can be turned off via option
Moved various parts into their own methods and cleaned up double call logic.
Login is now recorded in the last login entry
no more debug flags are read from the database anymore
All options are set via array and not with a single option (was auto login)
2024-12-11 21:05:56 +09:00
Clemens Schwaighofer
2b0434e36b
Merge branch 'NewFeatures' into Feature-AclLoginClassUpdateTokenCheckWithUuidV4
2024-12-11 10:36:57 +09:00
Clemens Schwaighofer
ba11a936db
DB IO remove debug placeholder output
v9.23.2.1
2024-12-11 10:36:31 +09:00
Clemens Schwaighofer
df591659cb
Merge branch 'NewFeatures' into Feature-AclLoginClassUpdateTokenCheckWithUuidV4
2024-12-11 10:35:19 +09:00
Clemens Schwaighofer
5343034768
Fix DB IO placeholder detect and count regex
...
comment regex: (?:\-\-[^\r\n]*?\r?\n)*
Which is AFTER the element search as the comment can appear anywhere after the tag trigger
2024-12-11 10:30:41 +09:00
Clemens Schwaighofer
dec56c9559
Merge remote-tracking branch 'all/NewFeatures' into Feature-AclLoginClassUpdateTokenCheckWithUuidV4
2024-12-10 15:28:59 +09:00
Clemens Schwaighofer
880f15ac6f
Merge branch 'development'
2024-12-10 15:26:24 +09:00
Clemens Schwaighofer
a46601fe03
Sync folder is master and not trunk
2024-12-10 15:25:17 +09:00
Clemens Schwaighofer
022c39e791
Add missing phpunit test folder for deprecated session var load test
2024-12-10 15:24:45 +09:00
Clemens Schwaighofer
fdefaca301
Missing php unit test path for locale check
2024-12-10 15:22:59 +09:00
Clemens Schwaighofer
46e44c19bf
edit log table column order update
2024-12-10 14:44:42 +09:00
Clemens Schwaighofer
41cb6358f9
phpunit checks update, update edit_log logging sets
2024-12-10 14:40:07 +09:00
Clemens Schwaighofer
23142a4549
Merge branch 'Bug-DBIOWrongParamCountWithCommentBeforeParam' into Feature-AclLoginClassUpdateTokenCheckWithUuidV4
2024-12-10 13:37:43 +09:00
Clemens Schwaighofer
a7742bd5c8
DB IO count params fix for comments
v9.23.2
2024-12-10 13:36:57 +09:00
Clemens Schwaighofer
50f83b822c
Merge branch 'Bug-DBIOWrongParamCountWithCommentBeforeParam' into Feature-AclLoginClassUpdateTokenCheckWithUuidV4
2024-12-10 12:02:31 +09:00
Clemens Schwaighofer
78591d6ba4
Fix Param regex lookup
...
Query was not counting params after "--" comment strings
2024-12-10 12:01:06 +09:00
Clemens Schwaighofer
e8299a123b
Update Edit Log with JSONB blocks
...
all action data goes into a JSON block and the old action columns will be deprecated
Same for ip, new ip address block with all possible ip addeses
Additional HTTP_ data goes into the http_data block
new request_schema column to get if the request was done to http or https
2024-12-10 10:06:49 +09:00