Clemens Schwaighofer
513b115d57
Composer update
2023-05-30 18:31:24 +09:00
Clemens Schwaighofer
eb16f433e8
Composer updates
2023-05-24 15:54:53 +09:00
Clemens Schwaighofer
8f94201478
admin files updates
2023-05-18 15:18:57 +09:00
Clemens Schwaighofer
1b2359a934
Commposer update
2023-05-18 15:18:09 +09:00
Clemens Schwaighofer
d6187005f4
Composer update
2023-04-26 15:41:39 +09:00
Clemens Schwaighofer
f0e6b5b8e9
Composer package update
2023-04-26 14:45:48 +09:00
Clemens Schwaighofer
6b400978ac
ComposerLib update
2023-04-11 11:02:26 +09:00
Clemens Schwaighofer
2754a718fa
Composer test upgrades
2023-04-10 14:36:37 +09:00
Clemens Schwaighofer
37c3b6afeb
Update corelibs for composer test
2023-04-10 09:05:07 +09:00
Clemens Schwaighofer
516b11f2f1
Composer test update
2023-04-03 15:05:22 +09:00
Clemens Schwaighofer
75a42558fd
CoreLibs update v8.1.2
2023-03-29 10:02:20 +09:00
Clemens Schwaighofer
48271a8659
Composer update
2023-03-28 16:48:36 +09:00
Clemens Schwaighofer
35d3032df5
CoreLibs DB\IO params methods
2023-03-28 15:39:13 +09:00
Clemens Schwaighofer
7be8bb06c9
CoreLibs update
2023-03-13 09:30:32 +09:00
Clemens Schwaighofer
2aab94a842
CoreLibs composer v8.0.5 update test
2023-03-10 15:29:38 +09:00
Clemens Schwaighofer
1cbe4e5c06
Composer CoreLibs update
2023-03-09 17:00:10 +09:00
Clemens Schwaighofer
137fb9a986
Composer path composer packages update
2023-02-28 18:08:57 +09:00
Clemens Schwaighofer
e1357f5d39
Composer install updates
2023-02-28 12:06:28 +09:00
Clemens Schwaighofer
8766d4db77
Reinstall smarty with fixed autoloader
2023-02-17 13:01:41 +09:00
Clemens Schwaighofer
b696338324
Install Smarty Composer package
2023-02-17 11:23:53 +09:00
Clemens Schwaighofer
43e66edfd1
Composer installed CoreLibs
2023-02-16 17:13:30 +09:00
Clemens Schwaighofer
0e99700bbe
Composer vendor name change
2023-02-16 13:04:20 +09:00
Clemens Schwaighofer
2f0b9fb360
Move Fonts folder from lib to includes
2023-02-16 12:32:15 +09:00
Clemens Schwaighofer
c7cc3c2938
Move all dev tools from www composer to outside master composer
2023-02-13 16:36:51 +09:00
Clemens Schwaighofer
f508b607a6
Add new class for auto set vars to certain types or null
...
Convert\VarSetType for always return type expected (eg string will be string)
or Convert\VarSetTypeNull to return string or null on failure
The return value for failure if not matching type can be set for both, but
only for Convert\VarSetTypeNull the return value can be set to null.
2023-02-08 12:12:46 +09:00
Clemens Schwaighofer
f94b350ba4
Install phan/phpstan local
2023-02-08 12:02:18 +09:00
Clemens Schwaighofer
53eef03387
Fixes in DB\IO query detection regex
...
- start with allow whitespace in front
- returning allows more white space types between keyword and parameter list
2023-02-02 10:27:07 +09:00
Clemens Schwaighofer
5a81445a28
DB\IO table match regex fix
...
UPDATE with SET can have spaces with variable length before
2023-01-27 11:31:26 +09:00
Clemens Schwaighofer
4bbbd653cd
DB\IO fix for regex query detection
...
Fix for basic query detection:
Simeple starts with
SELECT/WITH/SHOW
INSERT INTO/UPDATE/DELETE FROM
UPDATE
Above does no complex query detection, just if the string starts with this
Fix form table detection for primary key auto set trial.
2023-01-27 11:12:46 +09:00
Clemens Schwaighofer
4c28e6d0ec
Change DB\IO Returning check regex
...
Better regex to only get last returning in query, with proper parameter
check
2023-01-26 16:37:22 +09:00
Clemens Schwaighofer
66b7e81463
Bug fix in DB\IO for EOM string build queries with returning
...
on EOM string build queries it was not checked that RETURNING could have
no space in front.
Fixed and updated test calls
2023-01-25 16:47:31 +09:00
Clemens Schwaighofer
cf58f86802
Remove not needed ?? '' in ACL\Login
2023-01-16 14:29:25 +09:00
Clemens Schwaighofer
ff644310cd
Readme file update
2023-01-11 09:22:18 +09:00
Clemens Schwaighofer
58988b9c0f
Rename edit schemes pages to schemas
2023-01-11 09:12:56 +09:00
Clemens Schwaighofer
fe75f1d724
Add missing table arrays and name fix schim
...
missed two table arrays as class EditVisibleGroup and EditAccess
also fix wrong name for EditSchemas (wrong: EditSchemes) with a shim
lookup.
edit_schemes.php file will stay the same for now.
2023-01-11 07:06:28 +09:00
Clemens Schwaighofer
0607cdc3be
Add logger $log public entry in Form class
...
We need that for sub calls to debugger from TableArray loads
2023-01-10 18:19:20 +09:00
Clemens Schwaighofer
6cb14daf49
Move includes/table_arrays to class Output\Form\TableArrays
...
also remove the legacy edit_base.LEGACY.php file
All previous includes/table_arrays load via include are now moved to a
class system so we have all implemented in one folder and can easy update
and add unit tests to it.
2023-01-10 18:04:29 +09:00
Clemens Schwaighofer
330582f273
Add $this identifier to class in array_edit_users
2023-01-10 16:42:42 +09:00
Clemens Schwaighofer
b0293b52bd
Fix edit_users load problem with removed globals
...
acl_admin/base_acl_leve
Added public access methods to read this when array_* files are included.
2023-01-10 16:01:02 +09:00
Clemens Schwaighofer
00591deb00
Add Check Color class
...
checks html/css color string for valid
eg, hex #, hex alpha #, rgb/rgba, hsl/hsla
2023-01-10 15:43:33 +09:00
Clemens Schwaighofer
737f70fac5
Fix phpdoc Exception name with missing \
2023-01-10 14:40:16 +09:00
Clemens Schwaighofer
0328ccd2fe
Convert\Colors fixes for from HSB/HSL Hue 360
...
If hue 360 is given, it is no longer an error but internally converted to 0
2023-01-10 14:07:01 +09:00
Clemens Schwaighofer
eba1e2885f
Convert\Byte add exception
...
And exception is thrown for invalid flags
2023-01-10 14:06:09 +09:00
Clemens Schwaighofer
53813261fb
Form\Generate update
...
- remove auto load _POST vars
- Update color settings to # leading 6/8 digit hex code
- remove any global variable calls/requests
- fix some isset/empty clean ups (isset + set = !empty)
- fix on delete of reference data that loaded data was not shown again
- fix on reference data save error that wrong data is still shown and not removed
2023-01-10 11:25:51 +09:00
Clemens Schwaighofer
df2ae66942
Bug fix for loading after new/save/delete
2023-01-06 15:16:01 +09:00
Clemens Schwaighofer
78e1d73cd9
Move code from edit_base.php to class file
2023-01-06 15:07:15 +09:00
Clemens Schwaighofer
620a5878c1
Update dotenv reader from Composer package
2023-01-06 10:51:12 +09:00
Clemens Schwaighofer
5a0b09a916
Add DB\IO get prepare cursor array entries
2023-01-05 17:26:26 +09:00
Clemens Schwaighofer
98c6033c75
mo to js script set exectueable
2023-01-05 15:31:35 +09:00
Clemens Schwaighofer
6dcebc9b67
mo to js shell script
2023-01-05 15:30:51 +09:00
Clemens Schwaighofer
c97520e186
Update flatpickr javascript lib
2023-01-05 15:14:08 +09:00
Clemens Schwaighofer
764ca1f098
fix Generate\Form test with missing session init
2023-01-05 11:32:39 +09:00
Clemens Schwaighofer
3d23e5b066
Composer update
2023-01-05 10:55:01 +09:00
Clemens Schwaighofer
90e418ba24
Smarty update to 4.3.0
2023-01-05 10:38:51 +09:00
Clemens Schwaighofer
b6a0937e0c
autoloader update
2022-12-28 17:46:40 +09:00
Clemens Schwaighofer
b3f6f8ef18
Raname Progressbar.php to ProgressBar.php
2022-12-28 16:14:38 +09:00
Clemens Schwaighofer
d9d5400498
Add Test for get run times for unrun queryies
2022-12-28 11:31:39 +09:00
Clemens Schwaighofer
b1be681afb
Bug fix in DB\IO for wrong array check
...
Did not use empty to check if query called hash entry exists
2022-12-28 11:26:56 +09:00
Clemens Schwaighofer
8ef309d479
PHP unit 8.2, cel builder br/input fix, doctype add, sync .user.ini
...
- do not sync .user.ini file in sync template
- add PHP 8.2 for test target phpunit
- cel/phfo builder update to not close br or img tags (besides input)
- psalm settings update
- add doctype to all base templates
2022-12-27 16:58:51 +09:00
Clemens Schwaighofer
6e59b63791
DB\IO phpdoc and phpstan fixes
2022-12-14 14:18:33 +09:00
Clemens Schwaighofer
9c7b3cea83
SQL Interface docstring fix
2022-12-14 13:53:54 +09:00
Clemens Schwaighofer
26af6a07f4
PHP unit tests updates for class changes
2022-12-09 16:53:10 +09:00
Clemens Schwaighofer
b7c6d4b478
DB\IO add unescape bytea data
2022-12-09 16:33:58 +09:00
Clemens Schwaighofer
9936fc04da
Convert\Byte class fix string in abs call
2022-12-09 16:33:47 +09:00
Clemens Schwaighofer
1e0dfa2106
Update documentation for Convert\Byte Class
...
add more info in parameters flag
2022-12-09 13:43:15 +09:00
Clemens Schwaighofer
3af6f6a8f0
edit interface, hard set edit.css style sheet
2022-12-07 06:56:47 +09:00
Clemens Schwaighofer
1e793c0d16
Switch all SQL from tab to spaces
2022-12-06 09:27:08 +09:00
Clemens Schwaighofer
5be34453ce
Fix in Smarty Template class and PAGE WIDTH set
2022-11-10 10:26:59 +09:00
Clemens Schwaighofer
7773b78e17
Fix in CoreLib Bytes for null to trim
2022-11-09 18:11:14 +09:00
Clemens Schwaighofer
2a3798c8c2
Create mo file update, basic edit css/javascript updates
2022-10-25 16:48:34 +09:00
Clemens Schwaighofer
bc8303fe5f
Composer update
2022-10-25 16:48:12 +09:00
Clemens Schwaighofer
ba89b188d9
Mo create script update, phpstan fixes, document updates
...
create_mo:
set auto base folder bases on current location so we do not need do
adjust paths in script
phpstan fixes:
edit_base.php
CoreLibs/Basci.php
CoreLibs/DB/SQL/PgSQL.php
Update documentation in method headers
CoreLibs/Combined/DateTime.php
2022-10-12 09:48:22 +09:00
Clemens Schwaighofer
d15618cde4
Add JS_TRANSLATE file to smart template flow
2022-10-04 17:35:46 +09:00
Clemens Schwaighofer
0fd89727e9
Update Output\Form to allow ACL controlled edit/view entries
...
Fixed phpunit test runs with encoding test run and not resetting the
subsitute character back to default
Note: There are mime encoding failures for php 7.4 and 8.0 and one ACL
login failure test for php 7.4
2022-09-06 11:17:03 +09:00
Clemens Schwaighofer
a8e75d158b
Update composer installed packages
2022-09-06 11:16:33 +09:00
Clemens Schwaighofer
4b3fbaa309
Updates based on latest phpstan run
2022-09-02 17:00:22 +09:00
Clemens Schwaighofer
1a6c65df0e
Minor test updates, comment typo updates, DB_CONFIG_SET for default
...
$DB_CONFIG_SET is now default current selcted db config instead of
$DB_CONFIG so to not overwrite the array itself
2022-08-05 12:43:57 +09:00
Clemens Schwaighofer
24f553a17e
Update comments for split element counter
2022-07-29 13:20:54 +09:00
Clemens Schwaighofer
9a3ea2f7db
update strings class with split counter method
2022-07-29 13:19:45 +09:00
Clemens Schwaighofer
bcdb877d90
Phan/phpstan fixes
2022-07-29 11:06:53 +09:00
Clemens Schwaighofer
6d0e528c38
Combined\Datetime date/number to weekday conversion
...
Convert functions for date or weekday number to weekday name or date to
weekday number
2022-07-29 11:02:25 +09:00
Clemens Schwaighofer
7e6474195b
String split format fix for non ascii characters
...
Currently just abort and return string as is
2022-07-29 10:38:32 +09:00
Clemens Schwaighofer
1795d3ba6c
String convert class added
...
Currently with one method: splitFormatString
Converts a string to a string with separater characters based on a
format string
2022-07-29 07:00:02 +09:00
Clemens Schwaighofer
e1340acf55
Class header info string fix
2022-07-29 06:59:33 +09:00
Clemens Schwaighofer
b5ead3e266
Minor code block comment clean ups
2022-07-15 17:42:38 +09:00
Clemens Schwaighofer
f5daaca598
Fixes for Create\Email docstrings
2022-07-08 17:25:45 +09:00
Clemens Schwaighofer
6b4f310cd2
Email\Sending add dedicated kv folding flag
...
kv folding is now done via flag and only if an encoded is detected that
is japanese or UTF-8
2022-07-04 15:45:51 +09:00
Clemens Schwaighofer
7b5bddb529
Create\Email fixes
...
Remove not needed reaplce content count for first global replace
Move logger out of test only and log if a logger class is attached
2022-07-01 08:57:14 +09:00
Clemens Schwaighofer
0a6fdf1248
Use logged encoding from JSON debug block for non UTF-8 tests
2022-06-30 18:18:17 +09:00
Clemens Schwaighofer
3220180d58
Bug fix in Email for encoding subject/body with empty replace
...
Also store encoding in json log if test and debug print is given
2022-06-30 18:16:28 +09:00
Clemens Schwaighofer
8c8f14ec74
Fix logging per run to be setable not only on start
...
Move per run set into method.
Add set/get method and add set method override (set new) flag
Update phpUnit testing and move providers to test methods
2022-06-30 18:15:36 +09:00
Clemens Schwaighofer
643991c3fd
Update Debug\Support, add Create\Email
...
update debug support to add html escape for html strings on request.
Default is keep as is. debugString gets new third parameter for this as
bool flag.
Add Create\Email to send basic text emails to several too addresses.
Content replace in subject and body is possible with {} entries.
Default encoding is UTF-8 but others can be set and content will be
converted to this.
The dynamic replace works on all data or can be set per receiver.
2022-06-28 17:29:31 +09:00
Clemens Schwaighofer
c81c46d426
Move read_env_file.php to deprecated folder
2022-06-23 14:46:19 +09:00
Clemens Schwaighofer
d97b173ee7
ACL\Login move public var to private: login
...
the former public var $login is now private and if it is set can be
checked with loginActionSet (true if login_login was in _POST as login
action.
Some info update for phpUnit ACL\Login test file
2022-06-23 09:12:46 +09:00
Clemens Schwaighofer
b61152f10e
Skipped/Incomplete tests update
2022-06-23 07:09:19 +09:00
Clemens Schwaighofer
0c68ebe652
Login\ACL revalidate flow fixes
...
- DB function had wrong column name
- Queries in ACL\Login had wrong column name
- Renamed from login_user_id_last_login to login_user_id_last_revalidate
to make it more clear what this column is
- add edit_user admin page output for this column
- add phpUnit test case for revalidate is needed and login with next
loginUserId is ok again
2022-06-23 06:50:07 +09:00
Clemens Schwaighofer
31d0cdb8ad
Fix revalidate after flow in ACL\Login
...
After revalidate time was reached, it was never reset because it used
the original loginUserId set date.
A new column has been added that gets reset every time the user logs in
with username and password if a loginUserId is set in the database
2022-06-22 19:38:03 +09:00
Clemens Schwaighofer
0f823bd283
Just minor line length fixes in ArrayIO class
2022-06-22 18:10:23 +09:00
Clemens Schwaighofer
6385a48824
add back unique constraint because null login_user_id are allowed
2022-06-22 16:56:51 +09:00
Clemens Schwaighofer
a754d897cf
Bug fixes for emptynull type in ArrayIO, Form\Generate interval
...
Form\Generate for intervals also allows day(s), month(s), year(s), call
case insensitive
ArrayIO fix for missing escale literal for
date/datetime/interval/emptynull text type
2022-06-22 16:17:16 +09:00