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
Clemens Schwaighofer
10c320f60c
Rename all ACL Login session vars to LOGIN_, remove debug enties
...
All ACL\Login loaded _SESSION vars are now prefixd with LOGIN_
only the language one stay as "DEFAULT_"
Removed DEBUG_ALL/DB_DEBUG as they are now fully removed from everywhere
- removed the edit user entries
- removed from the edit user table
The LANG direct loaded language entries is removed too. We only use locale and encoding.
No more LOCALE_PATH and DEFAULT_DOMAIN _SESSION are set during the option set
2024-12-09 19:37:23 +09:00
Clemens Schwaighofer
eeca138192
Remove the debug/db_debug flag from the edit user edit interface
...
These settings are deprecated and do nothing. keep the DB default values for now, but update table create to remove them.
They are set to 0
2024-12-09 19:22:54 +09:00
Clemens Schwaighofer
65715ea9c3
Add Array function to return only array entries based on matching key
...
A simple key based array filter
2024-12-09 19:13:03 +09:00
Clemens Schwaighofer
a56cbd8e97
ACL Login update layout to work with PC/Smartphone
...
Updated login template and password change template block
2024-12-09 16:20:21 +09:00
Clemens Schwaighofer
fe50a988a0
Switch session ACL Login user load check to cuuid
...
Update tests too for using edit user cuuid instead of the primary key
2024-12-06 20:11:28 +09:00
Clemens Schwaighofer
a84ab86e31
Various fixes for ACL Login methods with deprecated calls
...
make all calls that go through primary keys as deprecated
create CUID calls for all of them
Update phpunit tests with new cuid tests, keep old deprecated tests
2024-12-06 18:07:06 +09:00
Clemens Schwaighofer
b044999772
ACL Login query update to params and heredoc
...
All queries are in Params and all SQL is in heredoc blocks
Disable 1011 error entry, this is no longer used
2024-12-06 16:31:20 +09:00
Clemens Schwaighofer
98bf3a40cd
Add logout button to class.test.php for logout test, ANY placeholder db test
2024-12-06 14:54:09 +09:00
Clemens Schwaighofer
cbd47fb015
edit log table update, Change all DB tests serial to identity for primary key
2024-12-05 14:59:49 +09:00
Clemens Schwaighofer
5f89917abd
Add composer keywords
2024-12-05 14:30:12 +09:00
Clemens Schwaighofer
eeaff3042e
phpstan config file update with phpVersion information
2024-12-05 14:16:57 +09:00
Clemens Schwaighofer
d070c4e461
phan min php set to 8.2
v9.23.1
2024-12-05 13:59:20 +09:00