]>
git.mxchange.org Git - core.git/log
Roland Haeder [Tue, 14 Jul 2015 21:20:40 +0000 (23:20 +0200)]
Continued with logger facility:
- Introduced BaseOutput and BaseDebugOutput
- Moved debug/ classes to outut/debug/<type>/ as <type> can be console, error
and web (later for HTML/HTTP output; careful, this may break sending HTTP
headers!)
- Handled over the class' name the logger is being created for (for later
configuration with XMLs)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 4 Jul 2015 04:17:52 +0000 (06:17 +0200)]
Missed this ... :-(
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 4 Jul 2015 04:16:40 +0000 (06:16 +0200)]
Make sure the path can be written to.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 4 Jul 2015 04:11:30 +0000 (06:11 +0200)]
Also check on existence.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 4 Jul 2015 04:09:00 +0000 (06:09 +0200)]
Added missing exception
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 3 Jul 2015 14:59:03 +0000 (16:59 +0200)]
Used more DatabaseWrapperFactory as one instance of each is fine.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 18:15:57 +0000 (20:15 +0200)]
Grrr .... :-(
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 18:13:46 +0000 (20:13 +0200)]
Tpyo fixed ... ;-)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 18:11:16 +0000 (20:11 +0200)]
Now the idle loop time is configurable, please don't set it to low or to high as
both will hurt your application's performance and CPU usage.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 03:12:52 +0000 (05:12 +0200)]
Wrong tests ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 03:09:26 +0000 (05:09 +0200)]
Opps ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 03:05:24 +0000 (05:05 +0200)]
Added some pre-checks.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 00:44:27 +0000 (02:44 +0200)]
Moved from 'hub' project.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 29 Jun 2015 00:39:56 +0000 (02:39 +0200)]
Added protocolName from BaseHubSystem as classes outside 'hub' will need it
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sun, 28 Jun 2015 19:43:52 +0000 (21:43 +0200)]
These are noisy debug lines.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 10 Jun 2015 19:45:35 +0000 (21:45 +0200)]
Added exception from 'hub' project
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 10 Jun 2015 18:10:41 +0000 (20:10 +0200)]
Added accept() and doShutdown() to Taskable as this will always be needed.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 29 May 2015 02:21:24 +0000 (04:21 +0200)]
Moved setter/getter from 'hub' code as also 'city' uses it.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 27 May 2015 02:23:42 +0000 (04:23 +0200)]
Debug infos with var()=%d are for length and can be decimal.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 27 May 2015 01:50:33 +0000 (03:50 +0200)]
Old lost parameter from old template ... :-(
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 27 May 2015 01:41:03 +0000 (03:41 +0200)]
Na, not again ... ;-(
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 27 May 2015 01:32:23 +0000 (03:32 +0200)]
Use of the FrameworkFeature class (which is a manager somehow) +
__callStatic() is now more verbose if NULL or an empty string was used.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 27 May 2015 01:28:27 +0000 (03:28 +0200)]
Method convertToClassName() and convertDashesToUnderscores() are now static as
they don't use any object context.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 27 May 2015 01:17:43 +0000 (03:17 +0200)]
Added new FrameworkFeature class + missing exception:
- Features can be enabled or disabled by the user
- Their availability depends on if the feature is enabled and if all
requirements are found. This can be anything like loaded PHP extensions (PECL)
or anything else.
- Features can have methods that can be called (publicly) where their actual
"feature" is being written.
- This can be again a class with static or non-static methods that will be
called.
- Generally feature classes shall not contain the actual implementation, they
shall only call implementing classes.
- So basicly a feature class "hides" the actual implementation and can be
understood as a generic facade.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 22:45:17 +0000 (00:45 +0200)]
Introduced ConfigValueTypeUnsupportedException
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 22:23:55 +0000 (00:23 +0200)]
Opps, wrong method name ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 22:19:22 +0000 (00:19 +0200)]
Added check for "scrypt feature" (if no config entry is set, it assumed not being there).
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 21:53:33 +0000 (23:53 +0200)]
More usage of FileNotFoundException
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 21:51:59 +0000 (23:51 +0200)]
Introduced FileNotFoundException
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 21:20:25 +0000 (23:20 +0200)]
If the file doesn't exist as it has to be created first, then this exception
would always be thrown, so for a "random access file", this is bad news.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 21:17:41 +0000 (23:17 +0200)]
Expanded log message with Exception and its actual message.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Tue, 26 May 2015 21:13:16 +0000 (23:13 +0200)]
Allow all if open_basedir is not set.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 26 May 2015 19:33:07 +0000 (21:33 +0200)]
Introduced isReachableFilePath() and isReadableFile().
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 22:29:20 +0000 (00:29 +0200)]
Double -> single
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 21:10:34 +0000 (23:10 +0200)]
This should fix it ... ;-)
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 17:55:58 +0000 (19:55 +0200)]
Added post-filter support.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sun, 24 May 2015 02:43:13 +0000 (04:43 +0200)]
Very early write (add) support for file-based stack indexes.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 23 May 2015 19:48:19 +0000 (21:48 +0200)]
Don't forget to increment counter when writing data.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 21 May 2015 01:44:38 +0000 (03:44 +0200)]
Added communicatorInstance from 'hub' project.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 21 May 2015 01:36:41 +0000 (03:36 +0200)]
Some improvements ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 14 May 2015 18:01:22 +0000 (20:01 +0200)]
Adjusted a bit, still not accurate enough and may not reflect inflation
correctly.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 14 May 2015 17:37:26 +0000 (19:37 +0200)]
Added calculation scripts (I know, they might be wrong) + moved some files and
all these scripts are provided AS IS AND WITHOUT ANY WARRANTY.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 14 May 2015 09:42:34 +0000 (11:42 +0200)]
It is now 'main_content'.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 14 May 2015 09:21:13 +0000 (11:21 +0200)]
Some fixes.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Thu, 14 May 2015 08:57:07 +0000 (10:57 +0200)]
getCompiledData() must be public for e.g. mailer classes such as DebugMailer.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 12 May 2015 00:04:07 +0000 (02:04 +0200)]
Added find-bad-php.sh
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 11 May 2015 22:28:42 +0000 (00:28 +0200)]
A little backward-compatiblity ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 11 May 2015 19:23:10 +0000 (21:23 +0200)]
Signatures are no longer produced, instead there is a scrypt hash.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 11 May 2015 19:07:16 +0000 (21:07 +0200)]
Need to rename more.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 11 May 2015 18:57:34 +0000 (20:57 +0200)]
Added scrypt stuff.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 11 May 2015 12:00:21 +0000 (14:00 +0200)]
Continued:
- Several improvements for binary file classes (can't remember all)
- contrib/lfbdb2/<read|write>.php is now using auto-dection of 64-bit systems (very easy check).
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 11 May 2015 11:58:25 +0000 (13:58 +0200)]
inc/classes.php is old and only contains one call, so better remove it entirely.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Wed, 29 Apr 2015 10:22:49 +0000 (12:22 +0200)]
Added some stuff (for testing).
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 25 Apr 2015 22:46:14 +0000 (00:46 +0200)]
Added debug line.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 25 Apr 2015 22:35:20 +0000 (00:35 +0200)]
Sourceable was a strange name ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 25 Apr 2015 22:16:11 +0000 (00:16 +0200)]
Added missing methods and removed methods that have already protected access level.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 18 Apr 2015 11:03:27 +0000 (13:03 +0200)]
More fixes ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 18 Apr 2015 10:27:47 +0000 (12:27 +0200)]
Nope, this way ... :-(
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 18 Apr 2015 10:25:02 +0000 (12:25 +0200)]
Added new factory and fixed confusing between login and actual user classes.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 18 Apr 2015 10:17:02 +0000 (12:17 +0200)]
Old leftover from debugging 'city'.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 18 Apr 2015 10:15:44 +0000 (12:15 +0200)]
This is more flexible so better take it.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 18 Apr 2015 09:58:26 +0000 (11:58 +0200)]
Added new factory (unfinished) + some fixes.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 18 Apr 2015 01:52:56 +0000 (03:52 +0200)]
Introduced isFieldSet().
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 18 Apr 2015 01:39:54 +0000 (03:39 +0200)]
Allowed to set extra instance (for special cases, okay).
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Sat, 18 Apr 2015 00:40:33 +0000 (02:40 +0200)]
Added some new stuff.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Fri, 17 Apr 2015 18:50:53 +0000 (20:50 +0200)]
Added checks for 'command' and 'form' and check if CAPTCHA is enabled.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 22:54:34 +0000 (00:54 +0200)]
Opps, a parser error was introduced last commit.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 22:52:07 +0000 (00:52 +0200)]
Added isGuest() isConfirmed() to BaseUser for wrapping this type of check into
small methods. Also these methods are used to check the user instance before it
is being returned to other classes (see their factory methods).
Also 2 new exceptions has been added for above pre-checks.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 21:22:10 +0000 (23:22 +0200)]
startElement(), finishElement() and characterHandler() must be public as they
are called from XmlParser class.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 21:16:42 +0000 (23:16 +0200)]
Subject line may contain HTML entities and then it needs to be put in
<![CDATA[Blä]]> to get rid of XML parser errors.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 21:10:27 +0000 (23:10 +0200)]
Brought loadEmailTemplate() back to life.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 21:01:03 +0000 (23:01 +0200)]
Fixed parser error ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 20:58:55 +0000 (22:58 +0200)]
Fixed parser error.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 16:46:45 +0000 (18:46 +0200)]
Not so much double quotes for strings (convention).
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 16:33:28 +0000 (18:33 +0200)]
It is better 'menu' + output of full fieldArray if DEVELOPER is defined.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 16:07:54 +0000 (18:07 +0200)]
This is a public method.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 15:45:44 +0000 (17:45 +0200)]
Throwing an NPE here hides the actual exception and it is much harder to track what is wrong.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 14:53:34 +0000 (16:53 +0200)]
Let's see if this works better.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 14:49:47 +0000 (16:49 +0200)]
Updated this as well.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 14:47:51 +0000 (16:47 +0200)]
Updated signature of addCriteria().
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 14:46:04 +0000 (16:46 +0200)]
UpdateCriteria currently needs to overwrite addCriteria().
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 14:40:24 +0000 (16:40 +0200)]
Introduced genericHanleRequestLoginAreaFailedRedirect()
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 14:25:24 +0000 (16:25 +0200)]
Fixed parser error.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 14:24:19 +0000 (16:24 +0200)]
This old stuff needs to be rewritten.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Tue, 7 Apr 2015 14:14:33 +0000 (16:14 +0200)]
No more needed to call parent execute().
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 23:20:58 +0000 (01:20 +0200)]
Nope, no more ShipSimu here ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 23:19:43 +0000 (01:19 +0200)]
Moved from shipsimu project.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 23:13:02 +0000 (01:13 +0200)]
Introduced genericHanleRequestLoginFailedRedirect().
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 23:00:57 +0000 (01:00 +0200)]
Also call initWebOutputInstance() here.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 22:56:48 +0000 (00:56 +0200)]
Added some more missing class fields.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 22:54:39 +0000 (00:54 +0200)]
Added missing field.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 22:51:33 +0000 (00:51 +0200)]
Same for controller (?).
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 22:49:04 +0000 (00:49 +0200)]
Added 'default_image_command' as this is really the default for all applications that create images.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 22:46:06 +0000 (00:46 +0200)]
Gee, found more copy-paste errors ...
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 22:44:02 +0000 (00:44 +0200)]
Don't look for commands in controller resolvers as this confuses the code (maybe).
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 22:40:10 +0000 (00:40 +0200)]
resolveController() was everywhere the same, still you can overwrite it with
your own implementation.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 22:24:58 +0000 (00:24 +0200)]
It is actually a class.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 22:16:11 +0000 (00:16 +0200)]
Added support for template suffix. This allows to load templates such as register_form, etc.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 09:48:07 +0000 (11:48 +0200)]
Sometimes 'page' is wanted, sometimes 'command' but basicly both want a command
instance. So it is better to rename it everywhere to 'command'.
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Haeder [Mon, 6 Apr 2015 00:03:06 +0000 (02:03 +0200)]
Use getResponseTypeFromSystem() to get 'html' or 'console', what is really needed.
Signed-off-by: Roland Häder <roland@mxchange.org>