]> git.mxchange.org Git - core.git/log
core.git
15 months agoContinued:
Roland Häder [Tue, 28 Feb 2023 04:44:20 +0000 (05:44 +0100)]
Continued:
- added more debug lines
- changed existing to sprintf() (mask)

15 months agoContinued:
Roland Häder [Tue, 28 Feb 2023 04:03:53 +0000 (05:03 +0100)]
Continued:
- added more debug lines

15 months agoContinued:
Roland Häder [Mon, 27 Feb 2023 12:18:44 +0000 (13:18 +0100)]
Continued:
- added more checks on parameter
- added more debug lines

15 months agoContinued:
Roland Häder [Mon, 27 Feb 2023 10:47:39 +0000 (11:47 +0100)]
Continued:
- more references to the deprecated 'selector' application removed

15 months agoContinued:
Roland Häder [Mon, 27 Feb 2023 05:02:17 +0000 (06:02 +0100)]
Continued:
- commented out to noisy debug lines

15 months agoContinued:
Roland Häder [Mon, 27 Feb 2023 04:59:23 +0000 (05:59 +0100)]
Continued:
- added more checks on parameter
- added more debug lines

15 months agoContinued:
Roland Häder [Sun, 26 Feb 2023 14:21:00 +0000 (15:21 +0100)]
Continued:
- DatabaseConnection::createDatabaseConnection() now only needs a backend class
- added some debug lines
- added some checks on parameter

15 months agoContinued:
Roland Häder [Sun, 26 Feb 2023 12:44:47 +0000 (13:44 +0100)]
Continued:
- added a lot more debug lines
- added more checks on parameter

15 months agoContinued:
Roland Häder [Sun, 26 Feb 2023 09:17:50 +0000 (10:17 +0100)]
Continued:
- invoke CryptoHelper::getSelfInstance() rather than creating new instances
  over ObjectFactory
- this also removed the overhead of initialization

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 23:58:45 +0000 (00:58 +0100)]
Continued:
- added way (!) more thrown exceptions
- added more debug lines
- configuration variable 'html_template_type' is now statically "cached"

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 12:39:13 +0000 (13:39 +0100)]
Continued:
- RegistryIterator was still looking for SubRegistry, maybe later further
  expansion needed?
- commented-out debug lines

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 11:37:16 +0000 (12:37 +0100)]
Continued:
- tried to fix NPE, still not working?
- added debug log
- better logging

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 11:22:31 +0000 (12:22 +0100)]
Continued:
- "imported" FrameworkInterface
- fixed mask

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 11:19:00 +0000 (12:19 +0100)]
Continued:
- used traceMessage() and it's friends instead of deprecated debugOutput()

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 11:17:40 +0000 (12:17 +0100)]
Continued:
- enabled more debug lines

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 11:15:43 +0000 (12:15 +0100)]
Continued:
- ops, mixed both registries ...

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 11:04:05 +0000 (12:04 +0100)]
Continued:
- added missing constant EXCEPTION_BAD_METHOD_CALL

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 10:44:05 +0000 (11:44 +0100)]
Continued:
- factory-based registries have their own key space

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 09:45:25 +0000 (10:45 +0100)]
Continued:
- fixed E_NOTICE

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 09:34:42 +0000 (10:34 +0100)]
Continued:
- getRegistry() now have a mandatory parameter

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 08:49:01 +0000 (09:49 +0100)]
Continued:
- introduced ObjectRegister (interface) and ObjectRegistry (class) for
  instance-registry related stuff

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 06:55:36 +0000 (07:55 +0100)]
Continued:
- commented out debug lines (very noisy)
- added more debug lines

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 06:51:20 +0000 (07:51 +0100)]
Continued:
- na, I don't like these multiple-type variables from PHP ...
- it surely later needs rewrite to array-only return values or exceptions in
  case of errors
- also fixed issue here

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 06:48:37 +0000 (07:48 +0100)]
Continued:
- used more exception codes
- moved one to FrameworkInterface
- removed no longer used (was old code anyway)

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 06:35:09 +0000 (07:35 +0100)]
Continued:
- ops, missing this one
- tpzo fixed

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 06:30:59 +0000 (07:30 +0100)]
Continued:
- finally removed more (by the PHP group) already removed mcrypt stuff
- added more debug lines

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 05:52:30 +0000 (06:52 +0100)]
Continued:
- added more debug lines
- used lesser deprecated debugOutput() and more propper logging level methods

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 04:03:41 +0000 (05:03 +0100)]
Continued:
- zero can be an indexed array key, so it is valid, only below zero isn't

15 months agoContinued:
Roland Häder [Sat, 25 Feb 2023 02:27:31 +0000 (03:27 +0100)]
Continued:
- added more debug message
- FrameworkConfiguration cannot invoke methods from StringUtils while debug
  lines are active:
---------------
PHP Fatal error:  Uncaught Error: Class
'Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware' not found in
/home/.../core/framework/main/classes/class_BaseFrameworkSystem.php:623
---------------

15 months agoContinued:
Roland Häder [Fri, 24 Feb 2023 10:01:39 +0000 (11:01 +0100)]
Continued:
- rather check for extension being loaded than found functions
- checks on resource or object is no longer needed

15 months agoContinued:
Roland Häder [Fri, 24 Feb 2023 06:00:09 +0000 (07:00 +0100)]
Continued:
- added more debug lines
- commented some out again

15 months agoContinued:
Roland Häder [Thu, 23 Feb 2023 05:26:25 +0000 (06:26 +0100)]
Continued:
- FrameworkBootstrap::loadInclude() now checks if SplFileInfo is referencing
  to a PHP script
- added some more debug lines

15 months agoContinued:
Roland Häder [Wed, 22 Feb 2023 07:40:52 +0000 (08:40 +0100)]
Continued:
- commented out some debug lines
- added some more (also commented out)

15 months agoContinued:
Roland Häder [Wed, 22 Feb 2023 02:28:06 +0000 (03:28 +0100)]
Continued:
- introduced ConsoleTools::acquireHostname() which acquires own host's name
- some methods of ConsoleTools are now "caching" their being "expensively"
  determined and then returned values
- added more unit tests
- added more debug lines

15 months agoContinued:
Roland Häder [Sun, 19 Feb 2023 07:02:18 +0000 (08:02 +0100)]
Continued:
- more debug logging added
- rewrote old $this->outputLine() "logging" to logger middleware
- added more checks on parameter

15 months agoContinued:
Roland Häder [Sun, 19 Feb 2023 04:32:49 +0000 (05:32 +0100)]
Continued:
- updated composer dependency file

15 months agoContinued:
Roland Häder [Sun, 19 Feb 2023 00:17:11 +0000 (01:17 +0100)]
Continued:
- moved partialStub() method to DebugMiddleware

15 months agoContinued:
Roland Häder [Sat, 18 Feb 2023 23:49:57 +0000 (00:49 +0100)]
Continued:
- exit; means normal exit of program

15 months agoContinued:
Roland Häder [Sat, 18 Feb 2023 22:51:31 +0000 (23:51 +0100)]
Continued:
- no need for initializing the debug sub-system with an empty message string

15 months agoContinued:
Roland Häder [Sat, 18 Feb 2023 22:46:28 +0000 (23:46 +0100)]
Continued:
- rewrote logger system away from monolithic methods in BaseFrameworkSystem
  class which later allows more "backend" loggers being supported
- DebugMiddleware::output() is now private

15 months agoContinued:
Roland Häder [Sat, 18 Feb 2023 20:54:06 +0000 (21:54 +0100)]
Continued:
- checked more parameter
- added more debug messages (stub messages will come)

15 months agoContinued:
Roland Häder [Sat, 18 Feb 2023 04:09:31 +0000 (05:09 +0100)]
Continued:
- updated year to 2023

15 months agoContinued:
Roland Häder [Sat, 18 Feb 2023 02:10:06 +0000 (03:10 +0100)]
Continued:
- changed to generic exceptions
- introduced EXCEPTION_BAD_METHOD_CALL exception code

15 months agoContinued:
Roland Häder [Sat, 18 Feb 2023 00:50:52 +0000 (01:50 +0100)]
Continued:
- moved EXCEPTION_UNSPPORTED_OPERATION to FrameworkInterface

15 months agoContinued:
Roland Häder [Sat, 18 Feb 2023 00:44:39 +0000 (01:44 +0100)]
Continued:
- introduced new exception code EXCEPTION_LOGIC_EXCEPTION

15 months agoContinued:
Roland Häder [Sat, 18 Feb 2023 00:03:09 +0000 (01:03 +0100)]
Continued:
- also turned 'quiet_resolver' into a is_*_enabled entry

15 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 23:52:54 +0000 (00:52 +0100)]
Continued:
- removed .htaccess files and added .gitkeep, you have to make this now sure by
  yourself
- developer_mode_enabled renamed to is_developer_mode_enabled and invoked method
  isEnabled() instead
- fixed writing class/list cache files
- more debug lines added

15 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 21:03:03 +0000 (22:03 +0100)]
Continued:
- added more debug lines
- added checks on parameter

15 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 20:06:03 +0000 (21:06 +0100)]
Continued:
- arrays can be serialized and stored in files (ops)
- added debug line

15 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 19:52:04 +0000 (20:52 +0100)]
Continued:
- no attributes of an XML element is very common (ops)
- fixed variable in debug line
- added more debug lines

15 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 19:39:57 +0000 (20:39 +0100)]
Continued:
- added more debug lines
- added more checks on parameters

15 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 18:44:10 +0000 (19:44 +0100)]
Continued:
- renamed getPrimaryKeyValue() to generatePrimaryKey()
- added more debug lines
- added more checks for parameter

15 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 18:16:45 +0000 (19:16 +0100)]
Continued:
- removed deprecated files

15 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 18:03:23 +0000 (19:03 +0100)]
Continued:
- removed .htaccess file, please protect applications/, db/, framework/ by
  yourself
- this makes this script more independent from the used web server

15 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 16:18:07 +0000 (17:18 +0100)]
Continued:
- also check if root_base_path + relative path from parameter is a
  readable directory
- applications/tests/tests/ is redudant here

15 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 06:49:38 +0000 (07:49 +0100)]
Continued:
- HelperGroupAlreadyCreatedException is redundant to BadMethodCallException
- added a lot more debug lines

15 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 04:00:07 +0000 (05:00 +0100)]
Continued:
- renamed method requestIsValid() to propper setter name
- also renamed class field to proper name

15 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 03:40:27 +0000 (04:40 +0100)]
Continued:
- scrypt (PECL) has only documentation files here
- removed akismet (see "All Your Data Belongs To Akismet")

15 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 02:57:40 +0000 (03:57 +0100)]
Continued:
- introduced exception code for InvalidArgumentException

15 months agoContinued:
Roland Häder [Fri, 17 Feb 2023 01:34:39 +0000 (02:34 +0100)]
Continued:
- deprecated no longer needed files (they are deprecated to use anyway)
- added unit tests for FrameworkConfiguration->isEnabled() method

15 months agoContinued:
Roland Häder [Thu, 16 Feb 2023 19:28:30 +0000 (20:28 +0100)]
Continued:
- added more type-hints
- added more checks on parameter
- changed old array() to "new" [] style
- added some debug lines

15 months agoContinued:
Roland Häder [Thu, 16 Feb 2023 19:20:08 +0000 (20:20 +0100)]
Continued:
- added more checks on parameter

15 months agoContinued:
Roland Häder [Wed, 15 Feb 2023 22:39:53 +0000 (23:39 +0100)]
Continued:
- added commented-out debug line

15 months agoContinued:
Roland Häder [Wed, 15 Feb 2023 20:40:30 +0000 (21:40 +0100)]
Continued:
- added method FrameworkConfiguration::isEnabled() which requires configuration
  keys like 'is_foo_enabled' while you can just invoke
  $configInstance->isEnabled('foo')
- Added some debug lines
- added missing configuration entries
- Configuration entries like is_<form-name>_captcha_secured_enabled are still missing

15 months agoContinued:
Roland Häder [Fri, 10 Feb 2023 16:22:58 +0000 (17:22 +0100)]
Continued:
- no more needed (until later maybe)

15 months agoContinued:
Roland Häder [Fri, 10 Feb 2023 16:19:29 +0000 (17:19 +0100)]
Continued:
- ops, $criteriaType wasn't here
- also $configEntry wasn't here
- debug line added

15 months agoContinued:
Roland Häder [Fri, 10 Feb 2023 16:13:02 +0000 (17:13 +0100)]
Continued:
- empty($element) is the culpit here, '0' will be FALSE, 0 will be false and
  all needs to be true, so let's check $element === '' and it is solved

15 months agoContinued:
Roland Häder [Fri, 10 Feb 2023 16:08:44 +0000 (17:08 +0100)]
Continued:
- let's try string for a moment, empty(0) gives FALSE back, but we need
  this for the first indexed array key

15 months agoContinued:
Roland Häder [Fri, 10 Feb 2023 16:06:20 +0000 (17:06 +0100)]
Continued:
- enabled debug lines
- added one more

15 months agoContinued:
Roland Häder [Fri, 10 Feb 2023 15:57:00 +0000 (16:57 +0100)]
Continued:
- thanks to type-hints, I was able to find out that
  appendStringToGenericArrayElement() was invoked wrong here, it must be
  setGenericArrayElement() instead which makes sense from addCriteria()
  method's scope

15 months agoContinued:
Roland Häder [Fri, 10 Feb 2023 15:48:12 +0000 (16:48 +0100)]
Continued:
- maybe wrong name?

15 months agoContinued:
Roland Häder [Fri, 10 Feb 2023 15:43:18 +0000 (16:43 +0100)]
Continued:
- BASE-CRITERIA is okay here

15 months agoContinued:
Roland Häder [Fri, 10 Feb 2023 15:41:58 +0000 (16:41 +0100)]
Continued:
- added more debug lines
- added more thrown exceptions
- rewrote assert() lines to thrown exceptions

15 months agoContinued:
Roland Häder [Fri, 10 Feb 2023 07:48:08 +0000 (08:48 +0100)]
Continued:
- added more checks on parameter and thrown proper exceptions

15 months agoContinued:
Roland Häder [Thu, 9 Feb 2023 18:34:30 +0000 (19:34 +0100)]
Continued:
- converted more old array() to "new" [] way
- also added more debug lines
- throw more exceptions on bad parameters

15 months agoFixed:
Roland Häder [Thu, 9 Feb 2023 17:34:13 +0000 (18:34 +0100)]
Fixed:
- wrong function used, must be strlen()

15 months agoContinued:
Roland Häder [Thu, 9 Feb 2023 17:32:21 +0000 (18:32 +0100)]
Continued:
- added more checks on parameters
- added mroe debug lines
- converted some old array() to new []

20 months agoContinued:
Roland Häder [Sat, 17 Sep 2022 02:40:24 +0000 (04:40 +0200)]
Continued:
- imported missing interface

20 months agoContinued:
Roland Häder [Wed, 7 Sep 2022 14:07:37 +0000 (16:07 +0200)]
Continued:
- removed deprecated files
- updated TODOs.txt

22 months agoContinued:
Roland Häder [Wed, 20 Jul 2022 16:22:06 +0000 (18:22 +0200)]
Continued:
- added some parameter checks

22 months agoContinued:
Roland Häder [Sun, 10 Jul 2022 11:30:51 +0000 (13:30 +0200)]
Continued:
- added missing type-hints

22 months agoContinued:
Roland Häder [Sun, 10 Jul 2022 11:12:39 +0000 (13:12 +0200)]
Continued:
- old-lost method BaseFrameworkSystem::replaceControlCharacters() removed

22 months agoContinued:
Roland Häder [Sun, 10 Jul 2022 10:31:37 +0000 (12:31 +0200)]
Continued:
- AlreadyInitializedStackerException was an already deprecated method, as
  BadMethodCallException can do perfectly the same job

22 months agoUpdated .gitattributes
Roland Häder [Sun, 10 Jul 2022 09:48:34 +0000 (11:48 +0200)]
Updated .gitattributes

23 months agoContinued:
Roland Häder [Thu, 16 Jun 2022 07:23:55 +0000 (09:23 +0200)]
Continued:
- better filter large files through LFS

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoPlease cherry-pick:
Roland Häder [Sun, 6 Mar 2022 05:26:33 +0000 (06:26 +0100)]
Please cherry-pick:
- updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 6 Mar 2022 05:25:38 +0000 (06:25 +0100)]
Continued:
- updated framework's (and testing application's) copyright year
- also for tests copyright year has been updated

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 6 Mar 2022 05:25:10 +0000 (06:25 +0100)]
Continued:
- updated copyright year

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Wed, 2 Mar 2022 02:56:15 +0000 (03:56 +0100)]
Continued:
- updated composer dependencies

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoPlease cherry-pick:
Roland Häder [Wed, 2 Mar 2022 02:55:59 +0000 (03:55 +0100)]
Please cherry-pick:
- described an if() block why and when that condition may happen (rarely seen)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Wed, 2 Mar 2022 02:55:41 +0000 (03:55 +0100)]
Continued:
- ignored patch/diff files
- added type-hints

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 6 Feb 2022 18:42:48 +0000 (19:42 +0100)]
Continued:
- let's not mess up logfiles with \n characters

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 6 Feb 2022 18:41:05 +0000 (19:41 +0100)]
Continued:
- no, same result as fgets() is being invoked
- get_class() did the trick here

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 6 Feb 2022 18:32:08 +0000 (19:32 +0100)]
Continued:
- (maybe) fixed warning "bad file descriptor", it was flooding logfiles

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Thu, 30 Dec 2021 03:03:43 +0000 (04:03 +0100)]
Continued:
- caching config entry here saves a lot invocations

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Thu, 16 Dec 2021 14:31:24 +0000 (15:31 +0100)]
Continued:
- some exception messages changed (more generalized)

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Thu, 16 Dec 2021 11:52:42 +0000 (12:52 +0100)]
Continued:
- Better check against SplFileObject instead of is_object(). First one is a
  keyword (instanceof), later is a function call
- More debug logging
- Added missing "import" lines
- Replaced more array() with []

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Mon, 13 Dec 2021 17:49:35 +0000 (18:49 +0100)]
Continued:
- renamed methods to make their purpose more clear

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 12 Dec 2021 09:09:22 +0000 (10:09 +0100)]
Continued:
- "cached" more configuration entries to class fields to avoid "expensive"
  invocations on FrameworkConfiguration->getConfigEntries()
- rewrote some "soft" assertions to hard exceptions as this cannot be let through

Signed-off-by: Roland Häder <roland@mxchange.org>
2 years agoContinued:
Roland Häder [Sun, 12 Dec 2021 07:44:25 +0000 (08:44 +0100)]
Continued:
- "cached" configuration entry 'developer_mode_enabled' and
  'debug_*_output_timings' into class fields to avoid "expensive" calls all over
  again to FrameworkConfiguration->getConfigEntry()

Signed-off-by: Roland Häder <roland@mxchange.org>