core.git
8 years agoRewrites to use config entry 'hostname_file' to allow e.g. Gentoo's way /etc/conf...
Roland Häder [Thu, 31 Jan 2013 18:35:03 +0000 (18:35 +0000)]
Rewrites to use config entry 'hostname_file' to allow e.g. Gentoo's way /etc/conf.d/hostname

9 years agoMinor: Comments improved
Roland Häder [Thu, 29 Nov 2012 16:48:33 +0000 (16:48 +0000)]
Minor: Comments improved

9 years agoCheck against interface Compressor, not for methods
Roland Häder [Thu, 29 Nov 2012 16:37:26 +0000 (16:37 +0000)]
Check against interface Compressor, not for methods

9 years agoBetter comments
Roland Häder [Tue, 25 Sep 2012 21:33:39 +0000 (21:33 +0000)]
Better comments

9 years agoGenerating the FQFN (full-qualified file name) may fail in the future
Roland Häder [Thu, 20 Sep 2012 17:49:47 +0000 (17:49 +0000)]
Generating the FQFN (full-qualified file name) may fail in the future

9 years agoCore continued:
Roland Häder [Tue, 18 Sep 2012 13:52:46 +0000 (13:52 +0000)]
Core continued:
- Used str_pad() instead of own method
- Method prependStringToString() removed

9 years agoAdded better description, as the mind map in 'contrib/mindmaps/' suggest, a new
Roland Häder [Mon, 17 Sep 2012 21:29:12 +0000 (21:29 +0000)]
Added better description, as the mind map in 'contrib/mindmaps/' suggest, a new
and fully from group up redesigned database will be added. More (if done ;) )
in the wiki: http://wiki.ship-simu.org

9 years agoMINOR: Missing empty line
Roland Häder [Sun, 2 Sep 2012 11:57:47 +0000 (11:57 +0000)]
MINOR: Missing empty line

9 years agoNow use 'instanceof' keyword instead of checking for existing methods
Roland Häder [Sun, 2 Sep 2012 11:53:31 +0000 (11:53 +0000)]
Now use 'instanceof' keyword instead of checking for existing methods

9 years agoRewrote all TODO lines, 'hooks.php' is now fully deprecated and emptied
Roland Häder [Mon, 27 Aug 2012 21:03:06 +0000 (21:03 +0000)]
Rewrote all TODO lines, 'hooks.php' is now fully deprecated and emptied

9 years agoRewrites
Roland Häder [Sun, 26 Aug 2012 21:45:10 +0000 (21:45 +0000)]
Rewrites
- Added method createUuid() which will check if the PECL extension uuid is
  loaded and use that for e.g. more entropy
- RandomNumberGenerator is now singelton (to save memory)
- TODO added

9 years agoMoved constants to generic class for later database layer classes
Roland Häder [Sun, 26 Aug 2012 18:43:53 +0000 (18:43 +0000)]
Moved constants to generic class for later database layer classes

9 years agogetArrayFromKey() now requires two parameters (see docu)
Roland Häder [Wed, 22 Aug 2012 19:01:11 +0000 (19:01 +0000)]
getArrayFromKey() now requires two parameters (see docu)

9 years agoMinor: Improved comments
Roland Häder [Sun, 19 Aug 2012 21:30:09 +0000 (21:30 +0000)]
Minor: Improved comments

9 years ago:( Had forgotten to comment it out ...
Roland Häder [Fri, 17 Aug 2012 20:17:51 +0000 (20:17 +0000)]
:( Had forgotten to comment it out ...

9 years agoAdded debug message, commented one out
Roland Häder [Fri, 17 Aug 2012 20:16:25 +0000 (20:16 +0000)]
Added debug message, commented one out

9 years agoMoved back to 'hub' project
Roland Häder [Fri, 17 Aug 2012 19:46:20 +0000 (19:46 +0000)]
Moved back to 'hub' project

9 years agoMinor fixes
Roland Häder [Fri, 17 Aug 2012 19:24:37 +0000 (19:24 +0000)]
Minor fixes

9 years agoNo HTML in exceptions
Roland Häder [Wed, 8 Aug 2012 20:20:09 +0000 (20:20 +0000)]
No HTML in exceptions

9 years agoMoved generic base classes from 'hub' project to core
Roland Häder [Tue, 7 Aug 2012 15:41:32 +0000 (15:41 +0000)]
Moved generic base classes from 'hub' project to core

9 years agoAdded exceptions for BAS64-encoded data
Roland Häder [Tue, 7 Aug 2012 15:33:27 +0000 (15:33 +0000)]
Added exceptions for BAS64-encoded data

9 years agoUsed exit() (also app_die()->app_exit()) because die() is an alias of exit nowadays
Roland Häder [Tue, 7 Aug 2012 00:10:51 +0000 (00:10 +0000)]
Used exit() (also app_die()->app_exit()) because die() is an alias of exit nowadays

9 years agoReverted last commit, better use filter pattern?!
Roland Häder [Sun, 5 Aug 2012 00:18:04 +0000 (00:18 +0000)]
Reverted last commit, better use filter pattern?!

9 years agoRewrote both interfaces to implement streamNetworkData()
Roland Häder [Sun, 5 Aug 2012 00:08:46 +0000 (00:08 +0000)]
Rewrote both interfaces to implement streamNetworkData()

9 years agoRewrote core:
Roland Häder [Tue, 31 Jul 2012 22:11:43 +0000 (22:11 +0000)]
Rewrote core:
- LocalFileDatabase refactured to use FileIoHandler, please DELETE all your
  db/*/*.serialized database files, this "new" file format is incompatible and
  thanks to hashing it is a little more secure.
- A lot other renames/fixes

9 years agoRenamed frontend to backend because it is a backend ...
Roland Häder [Tue, 31 Jul 2012 14:40:01 +0000 (14:40 +0000)]
Renamed frontend to backend because it is a backend ...

9 years agoAdded proxy support
Roland Häder [Mon, 2 Jul 2012 19:13:54 +0000 (19:13 +0000)]
Added proxy support

9 years agoTo noisy, opps
Roland Häder [Wed, 27 Jun 2012 16:58:21 +0000 (16:58 +0000)]
To noisy, opps

9 years agoRenamed variables, removeVariable() does not expect indexes
Roland Häder [Wed, 27 Jun 2012 16:57:40 +0000 (16:57 +0000)]
Renamed variables, removeVariable() does not expect indexes

9 years agoDon't need this for now
Roland Häder [Wed, 30 May 2012 22:32:00 +0000 (22:32 +0000)]
Don't need this for now

9 years agoAlso for UPDATE
Roland Häder [Wed, 30 May 2012 22:30:55 +0000 (22:30 +0000)]
Also for UPDATE

9 years agoSearch criteria with no entries (= no limitation on query) is now also accepted
Roland Häder [Wed, 30 May 2012 22:30:08 +0000 (22:30 +0000)]
Search criteria with no entries (= no limitation on query) is now also accepted

9 years agoTemporary added very noisy debug lines
Roland Häder [Wed, 30 May 2012 22:16:24 +0000 (22:16 +0000)]
Temporary added very noisy debug lines

9 years agoSome fixes/improvements:
Roland Häder [Wed, 30 May 2012 21:59:44 +0000 (21:59 +0000)]
Some fixes/improvements:
- Fixed bug in recursive directory scanning mechanism
- Added more debug lines
- Use NULL instead null to make Midnight Commander's CoolEdit happy! :-)

9 years agoUse single-quotes instead of double
Roland Häder [Wed, 30 May 2012 21:25:08 +0000 (21:25 +0000)]
Use single-quotes instead of double

9 years agoSome rewrites
Roland Häder [Wed, 30 May 2012 20:43:54 +0000 (20:43 +0000)]
Some rewrites

9 years agoOpps
Roland Häder [Sun, 27 May 2012 14:41:43 +0000 (14:41 +0000)]
Opps

9 years agoNow all dashes are converted to underscores in config class
Roland Häder [Sat, 26 May 2012 23:12:36 +0000 (23:12 +0000)]
Now all dashes are converted to underscores in config class

9 years agoRemoved some anoying HTML code
Roland Häder [Sun, 20 May 2012 20:53:27 +0000 (20:53 +0000)]
Removed some anoying HTML code

9 years agoAdded stripTags (default: false) to allow stripping out HTML tags
Roland Häder [Sun, 20 May 2012 12:47:20 +0000 (12:47 +0000)]
Added stripTags (default: false) to allow stripping out HTML tags

9 years agoCommented out all debug lines in template engine
Roland Häder [Sat, 19 May 2012 17:55:20 +0000 (17:55 +0000)]
Commented out all debug lines in template engine

9 years agoAdded commented out very noisy debug line, nbproject is now ignored (NetBeans)
Roland Häder [Sat, 19 May 2012 17:50:07 +0000 (17:50 +0000)]
Added commented out very noisy debug line, nbproject is now ignored (NetBeans)

9 years agoacquireSelfIPAddress() does now return IP address
Roland Häder [Sat, 19 May 2012 17:48:04 +0000 (17:48 +0000)]
acquireSelfIPAddress() does now return IP address

9 years agoGeneric arrays are now supported
Roland Häder [Sat, 19 May 2012 16:47:15 +0000 (16:47 +0000)]
Generic arrays are now supported

9 years agoAdded hexval() which really stupid regex
Roland Häder [Sat, 19 May 2012 15:30:33 +0000 (15:30 +0000)]
Added hexval() which really stupid regex

9 years agoAdded ifSocketResourceMatches()
Roland Häder [Sat, 19 May 2012 14:53:51 +0000 (14:53 +0000)]
Added ifSocketResourceMatches()

9 years agoJust for debugging purposes ...
Roland Häder [Sat, 19 May 2012 13:54:52 +0000 (13:54 +0000)]
Just for debugging purposes ...

9 years agoWrong order
Roland Häder [Sat, 19 May 2012 13:40:06 +0000 (13:40 +0000)]
Wrong order

9 years agoRemove unneeded array elements to save some memory
Roland Häder [Sat, 19 May 2012 12:50:23 +0000 (12:50 +0000)]
Remove unneeded array elements to save some memory

9 years agoRenamed
Roland Häder [Sat, 19 May 2012 11:20:44 +0000 (11:20 +0000)]
Renamed

9 years agoMore debug lines and renamed ->
Roland Häder [Sat, 19 May 2012 10:52:12 +0000 (10:52 +0000)]
More debug lines and renamed ->

9 years agoAdded handling of NPE (which is fine here)
Roland Häder [Fri, 18 May 2012 20:23:58 +0000 (20:23 +0000)]
Added handling of NPE (which is fine here)

9 years agoUsed convertDashesToUnderscores()
Roland Häder [Fri, 18 May 2012 20:07:20 +0000 (20:07 +0000)]
Used convertDashesToUnderscores()

9 years agoMissing fields may debugging
Roland Häder [Fri, 18 May 2012 20:03:08 +0000 (20:03 +0000)]
Missing fields may debugging

9 years agoOpps ...
Roland Häder [Fri, 18 May 2012 19:25:40 +0000 (19:25 +0000)]
Opps ...

9 years agoMoved last exception thing to BaseDatabaseFrontend so it will become available for...
Roland Häder [Fri, 18 May 2012 18:54:24 +0000 (18:54 +0000)]
Moved last exception thing to BaseDatabaseFrontend so it will become available for all other database 'frontends'

9 years agogetLastError() is now fully obsolete, you can get the same message by calling getLast...
Roland Häder [Fri, 18 May 2012 18:47:17 +0000 (18:47 +0000)]
getLastError() is now fully obsolete, you can get the same message by calling getLastException(), checking for if not NULL and if so call ->getMessage() on the instance

9 years agoAdded method unsetConfigEntry()
Roland Häder [Fri, 18 May 2012 18:35:59 +0000 (18:35 +0000)]
Added method unsetConfigEntry()

9 years agoMust be abstract ...
Roland Häder [Thu, 17 May 2012 21:52:36 +0000 (21:52 +0000)]
Must be abstract ...

9 years agodie() expanded with __METHOD__
Roland Häder [Thu, 17 May 2012 19:07:33 +0000 (19:07 +0000)]
die() expanded with __METHOD__

9 years agoMade all dashes to underscores for criteria keys
Roland Häder [Thu, 17 May 2012 18:55:06 +0000 (18:55 +0000)]
Made all dashes to underscores for criteria keys

9 years agoRewrote debug lines to ->debugOutput()
Roland Häder [Thu, 17 May 2012 11:48:09 +0000 (11:48 +0000)]
Rewrote debug lines to ->debugOutput()

9 years agoUpdate also these copyrights
Roland Häder [Wed, 16 May 2012 20:26:20 +0000 (20:26 +0000)]
Update also these copyrights

9 years agoCopyright updated
Roland Häder [Wed, 16 May 2012 20:22:49 +0000 (20:22 +0000)]
Copyright updated

9 years agoMade readVariable() protected again, if you need access to this method, implement...
Roland Häder [Wed, 16 May 2012 20:06:33 +0000 (20:06 +0000)]
Made readVariable() protected again, if you need access to this method, implement a public method in your template engine which calls this method.

9 years agoSome minor improvements
Roland Häder [Tue, 15 May 2012 19:26:16 +0000 (19:26 +0000)]
Some minor improvements

9 years agoMade readVariable() public, used single-quotes instead of double
Roland Häder [Tue, 15 May 2012 16:54:47 +0000 (16:54 +0000)]
Made readVariable() public, used single-quotes instead of double

9 years agoMinor comment changes
Roland Häder [Mon, 14 May 2012 21:51:31 +0000 (21:51 +0000)]
Minor comment changes

9 years agoWarning made more clear
Roland Häder [Mon, 14 May 2012 21:14:55 +0000 (21:14 +0000)]
Warning made more clear

9 years agoAdded FilterChain::getFilters()
Roland Häder [Mon, 14 May 2012 20:56:41 +0000 (20:56 +0000)]
Added FilterChain::getFilters()

9 years agoCnstants first, than class attributes/fields
Roland Häder [Mon, 14 May 2012 20:55:13 +0000 (20:55 +0000)]
Cnstants first, than class attributes/fields

9 years agoThe FilterChain class is now registerable
Roland Häder [Mon, 14 May 2012 20:26:09 +0000 (20:26 +0000)]
The FilterChain class is now registerable

9 years agoRefactured 'BaseRegistry::getInstance()' a little
Roland Häder [Mon, 14 May 2012 20:18:23 +0000 (20:18 +0000)]
Refactured 'BaseRegistry::getInstance()' a little

9 years agoAnd 'public' also ...
Roland Häder [Mon, 14 May 2012 20:14:15 +0000 (20:14 +0000)]
And 'public' also ...

9 years ago'static' please ...
Roland Häder [Mon, 14 May 2012 20:11:22 +0000 (20:11 +0000)]
'static' please ...

9 years ago'core' enchanced:
Roland Häder [Mon, 14 May 2012 20:04:13 +0000 (20:04 +0000)]
'core' enchanced:
Method BaseRegistry::getRegistryKeyFromArray() added which allows to generate
prefixed registry keys from arrays. This does mostly call implode() with a
standard glue.

9 years agoCheck for config variables first, than general to avoid a bug: If the same
Roland Häder [Sun, 6 May 2012 00:43:29 +0000 (00:43 +0000)]
Check for config variables first, than general to avoid a bug: If the same
variable is set in general and config. This needs fixing! :(

9 years agoSorted fields/attributes and setter/getter to top, except realClass. That always...
Roland Häder [Sat, 28 Apr 2012 08:57:20 +0000 (08:57 +0000)]
Sorted fields/attributes and setter/getter to top, except realClass. That always remains on top of all

9 years agoAllowed debugBackTrace() to not exit (default is to exit)
Roland Häder [Fri, 27 Apr 2012 14:27:12 +0000 (14:27 +0000)]
Allowed debugBackTrace() to not exit (default is to exit)

9 years agoRemoved deprecated scripts (please delete them even if you get conflicts)
Roland Häder [Wed, 25 Apr 2012 18:28:12 +0000 (18:28 +0000)]
Removed deprecated scripts (please delete them even if you get conflicts)

9 years agoAdded type-hint 'array' for $onlyKeys because this should only be an array.
Roland Häder [Sun, 22 Apr 2012 21:44:48 +0000 (21:44 +0000)]
Added type-hint 'array' for $onlyKeys because this should only be an array.
Please report any problems related to this change!

9 years agoChanged/fixed/added properties
Roland Häder [Sun, 22 Apr 2012 20:33:38 +0000 (20:33 +0000)]
Changed/fixed/added properties

9 years agoAdded method stubs to satisfy interface
Roland Häder [Sun, 22 Apr 2012 20:05:14 +0000 (20:05 +0000)]
Added method stubs to satisfy interface

9 years agoHack to prevent 'array to string conversion' message
Roland Häder [Sun, 22 Apr 2012 20:00:30 +0000 (20:00 +0000)]
Hack to prevent 'array to string conversion' message

9 years agoFixed a typo
Roland Häder [Sat, 24 Mar 2012 08:27:18 +0000 (08:27 +0000)]
Fixed a typo

9 years agoForgot this :(
Roland Häder [Fri, 23 Mar 2012 20:35:14 +0000 (20:35 +0000)]
Forgot this :(

9 years agoAssert only if requested so :(
Roland Häder [Fri, 23 Mar 2012 20:34:23 +0000 (20:34 +0000)]
Assert only if requested so :(

9 years agoResurrected "legendary" function bigintval() from mailer 0.2.1-FINAL code with some...
Roland Häder [Wed, 21 Mar 2012 22:00:17 +0000 (22:00 +0000)]
Resurrected "legendary" function bigintval() from mailer 0.2.1-FINAL code with some modifications for the core project

9 years agoSome minor cleanups, used single-quote instead of double
Roland Häder [Wed, 21 Mar 2012 21:35:28 +0000 (21:35 +0000)]
Some minor cleanups, used single-quote instead of double

9 years agoSome hacks for missing extensions and XP:
Roland Häder [Wed, 14 Mar 2012 14:09:17 +0000 (14:09 +0000)]
Some hacks for missing extensions and XP:
- used mb_convert_encoding() as fall-back solution if extension recode is not
  found.
- At least on my XP box at work 'COMPUTERNAME' did work

9 years agoSingle quotes instead of double
Roland Häder [Sun, 4 Mar 2012 22:52:47 +0000 (22:52 +0000)]
Single quotes instead of double

9 years agoDouble->single quotes converted
Roland Häder [Tue, 28 Feb 2012 17:48:24 +0000 (17:48 +0000)]
Double->single quotes converted

9 years agoFix, opps :(
Roland Häder [Sun, 26 Feb 2012 00:28:01 +0000 (00:28 +0000)]
Fix, opps :(

9 years agoFix :(
Roland Häder [Sun, 26 Feb 2012 00:23:38 +0000 (00:23 +0000)]
Fix :(

9 years agoAdded the ability to create hashes without the fixed (extra) salt
Roland Häder [Sun, 26 Feb 2012 00:22:19 +0000 (00:22 +0000)]
Added the ability to create hashes without the fixed (extra) salt

9 years agoAdded hashString() which simply calls mhash() function with SHA256 hash function
Roland Häder [Sun, 26 Feb 2012 00:17:22 +0000 (00:17 +0000)]
Added hashString() which simply calls mhash() function with SHA256 hash function

9 years agoMultiple-line comment rewritten
Roland Häder [Sat, 25 Feb 2012 18:08:00 +0000 (18:08 +0000)]
Multiple-line comment rewritten

9 years agoChanged to generic interface Handleable to allow all types of handlers, not just...
Roland Häder [Thu, 16 Feb 2012 22:30:24 +0000 (22:30 +0000)]
Changed to generic interface Handleable to allow all types of handlers, not just network data handler

9 years agoAdded renamed exception, TODOs.txt updated
Roland Häder [Sat, 11 Feb 2012 16:03:14 +0000 (16:03 +0000)]
Added renamed exception, TODOs.txt updated

9 years agoRenamed 'seperator' to 'separator'
Roland Häder [Sat, 11 Feb 2012 16:02:26 +0000 (16:02 +0000)]
Renamed 'seperator' to 'separator'