Clemens Schwaighofer
7cced63c4b
Update the Admin\Backend edit log call with query params and different data compressors
...
All queries uses now Params
On load checks for valid write types for edit log write, eg if bzip and lzip compression
are avaiable
adbEditLog:
Also add JSON type encoding for data outside STRING/SERIAL and BINARY/BZIP (bzip compressed)
Add ZLIB as altnerative to BZIP
Add alert if invalid type was set
Auto fallback to JSON if other write types are not available
adbLiveQueue:
Also convert the live queue query to a params style call
v9.17.3
2024-10-16 16:21:51 +09:00
Clemens Schwaighofer
06c2ea5e0d
Admin\Backend: make sure we do not access unset ->action vars
v9.17.2
2024-10-16 12:34:48 +09:00
Clemens Schwaighofer
2e9239ec23
Ingore node_modules/ folder
v9.17.1
2024-10-16 12:18:51 +09:00
Clemens Schwaighofer
0c89840dba
Admin\Backend move _POST action read to sub function and trigger not auto loading it
...
On default it still auto loads the _POST vars for backwards compatible, but add a load class
flag to ignore it "init_action_vars"
also add a get vor tha "acl" array adbGetAcl()
2024-10-16 12:15:19 +09:00
Clemens Schwaighofer
db144493f3
Message system: allow warning level to be logged
...
Like error messages, they are written to the log if debug is on or the
flag is explicit set
v9.17.0
2024-09-24 15:10:53 +09:00
Clemens Schwaighofer
5cec54d508
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.
v9.16.0
2024-09-20 13:33:19 +09:00
Clemens Schwaighofer
8e60c992f1
Fixes phan/phpstan
2024-09-03 12:06:01 +09:00
Clemens Schwaighofer
1b5437b675
Add testing for new added bom utf8 replace
2024-09-03 11:58:36 +09:00
Clemens Schwaighofer
ef80cba561
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
2024-09-03 09:49:01 +09:00
Clemens Schwaighofer
2d71e760e8
Composer update
2024-08-21 11:45:17 +09:00
Clemens Schwaighofer
a8d07634ff
Add soba.egplusww.jp as local development host, jshint esversion update to 11
2024-08-07 13:41:09 +09:00
Clemens Schwaighofer
aa2b60973e
HTML::htmlent and HTML::checked updates
...
Changed Params form ENT_COMPAT | ENT_HTML401 to ENT_QUOTES | ENT_HTML5
Flags can be overwritten on call
Logic clean up for return flow
HTML::checked gets logic updated with less nested ifs
v9.13.3
v9.14.0
2024-08-05 13:24:37 +09:00
Clemens Schwaighofer
554dd5f73c
Fix not closed <head> block in all admin test files
2024-08-05 12:53:48 +09:00
Clemens Schwaighofer
e6f9559fbb
DB IO: placeholder fix for JSON/JSONB lists
v9.13.2
2024-07-29 16:30:48 +09:00
Clemens Schwaighofer
770d6f30a4
DB\IO Placeholder regex fix for json queries, test data updates
...
Some doc typo fixes
test updates with remove of not used sub calls
DB IO Placeholder regex now checks for any JSON/JSONB operators
v9.13.1
2024-07-29 15:55:38 +09:00
Clemens Schwaighofer
f94f6cbe87
Add .shellcheckrc, move phpstan tmp folder to repository temp folder
2024-07-19 18:40:24 +09:00
Clemens Schwaighofer
9b69390fa2
Merge branch 'development' into NewFeatures
v9.13.0
2024-05-22 10:47:12 +09:00
Clemens Schwaighofer
0524d8ac1b
Update Symmetric Encryption
...
Can be used as a class with central key set.
for old static calls:
encrypt -> encryptKey
decrypt -> decryptKey
2024-05-22 10:43:54 +09:00
Clemens Schwaighofer
e933022671
Phive update
2024-05-22 10:27:20 +09:00
Clemens Schwaighofer
c549d34e65
phive tools update
2024-05-15 17:06:09 +09:00
Clemens Schwaighofer
f4ff31721b
phpunit test add php 8.3, remove special code for mb_encode_mimeheader
...
In the past we had a special function to do mb_encode_mimeheader correctly.
Since PHP 8.2 this works perfectly fine, so all the code was removed and
replaced with just the normal "mb_encode_mimeheader" call with the same
settings as before:
- set global encoding to parameter
- run encoding with charset, 'B' for transfer and use the line break given in parameter
- reset the global encoding to previous set
v9.12.2
2024-04-17 10:08:12 +09:00
Clemens Schwaighofer
21ac91d2e6
Composer update for Smarty v4.5.2
2024-04-16 18:27:55 +09:00
Clemens Schwaighofer
2d98d26d0b
phive update
2024-04-16 16:32:48 +09:00
Clemens Schwaighofer
3fda1bef60
Move Symmetric Encryption Key generation into its own method
...
Test update for future class based encryption system without static
methods
2024-03-27 11:58:53 +09:00
Clemens Schwaighofer
4f1104c36e
phive tools update
v9.12.1
2024-03-21 12:38:43 +09:00
Clemens Schwaighofer
db1007ef12
Smarty Update v4.6.1, Bug fixes in DB\Extended\ArrayIO and Form\Generate
2024-03-19 10:43:12 +09:00
Clemens Schwaighofer
13c76efcef
Fix new layout path location
...
Was "www/layout/admin|frontend/..." now is
www/frontend/layout and www/admin/layout
v9.12.0
2024-03-07 14:53:00 +09:00
Clemens Schwaighofer
f59c325b05
Bug fix in string path slash fix
...
if null error return original path
2024-03-07 14:37:05 +09:00
Clemens Schwaighofer
aac5157173
phive update
2024-03-07 14:33:30 +09:00
Clemens Schwaighofer
abc2705c64
Bug fix in Form Generate load list generation
...
For binary 1/0 blocks make sure we use the actual data and not just the
wrong binary 0/1 source
Also add auto translations for all strings in there
2024-03-07 14:31:30 +09:00
Clemens Schwaighofer
e2fff45b16
Composer update Smarty v4.4.1
2024-03-06 18:44:41 +09:00
Clemens Schwaighofer
b6ae3f99d9
Layout folder move to admin and frontend
2024-02-27 12:02:03 +09:00
Clemens Schwaighofer
a377ab4b61
Strip multiple slashes in CoreLibs Convert Strings
2024-02-14 12:26:17 +09:00
Clemens Schwaighofer
ec9275d8d3
Add mime type get to the Check\File class
2024-01-11 16:15:08 +09:00
Clemens Schwaighofer
10ed5b3ea0
phive packages updates
2024-01-10 17:04:20 +09:00
Clemens Schwaighofer
5f290419c6
Minor php cs fixes
2024-01-10 17:03:18 +09:00
Clemens Schwaighofer
0152af6e65
add php code sniffer xml
2023-12-05 17:37:55 +09:00
Clemens Schwaighofer
4adb9fba30
DB IO Bug Fix for parameter detect after <>, DateTime code fix
...
Query Parameters where not detected after a <> unequal check
DateTime fix for last element, use array_pop instead of $array[count - 1]
v9.11.1
2023-11-29 10:44:21 +09:00
Clemens Schwaighofer
672931ee67
phive packages update
2023-11-29 10:36:49 +09:00
Clemens Schwaighofer
373a9aff2f
Add local eslintrc and jsconfig
2023-11-28 11:34:29 +09:00
Clemens Schwaighofer
4e3ceecac8
Phive update
2023-11-02 14:05:49 +09:00
Clemens Schwaighofer
8bf694b2b2
ArrayHandler: find next or previous key in array and return it
...
get next or previous key in array
v9.11.0
2023-11-02 14:01:47 +09:00
Clemens Schwaighofer
caf03421a7
Bug fix for DB\IO param prepare call with wrong param array check
...
The global param array in the class instead of the param array passed
to the method was checked
v9.10.1
2023-10-31 10:18:44 +09:00
Clemens Schwaighofer
facf8adaf7
DB\IO move dbReturn params set before first abort
2023-10-31 10:05:43 +09:00
Clemens Schwaighofer
c8158c8224
Remove echo from phpunit test file
2023-10-23 17:11:06 +09:00
Clemens Schwaighofer
7b9a0043d3
Add Support::getCallStack
...
returns full call stack for call (excluding self)
v9.10.0
2023-10-23 16:59:14 +09:00
Clemens Schwaighofer
6517747fef
Move old intervalStringFormat into the class_test.datetime.php file
...
For current reference testing, will be removed later.
Update phpunit tests (ongoing)
2023-10-18 13:12:48 +09:00
Clemens Schwaighofer
fb7071adc4
Basic used Exception documentation
...
What PHP Exception is used for what
NOTE: Subject to change
2023-10-18 10:59:15 +09:00
Clemens Schwaighofer
d96c92f9ef
Update phpunit tests for Byte class with new exception names
2023-10-18 09:32:36 +09:00
Clemens Schwaighofer
d7c0054ea0
Change default Exception to proper named Exceptions
...
Byte: InvalidArgumentException for parameters
Image: RunetimeException for cannot write file to system
2023-10-18 09:30:08 +09:00