core.git
10 years agoIntroduced isValidGenericArrayKey()
Roland Häder [Sun, 23 Jun 2013 19:25:05 +0000 (19:25 +0000)]
Introduced isValidGenericArrayKey()

10 years agoFix for wrong method call
Roland Häder [Sun, 23 Jun 2013 19:17:13 +0000 (19:17 +0000)]
Fix for wrong method call

10 years agoPatches for making new generic array working
Roland Häder [Sun, 23 Jun 2013 19:00:53 +0000 (19:00 +0000)]
Patches for making new generic array working

10 years agoFixes and double->single converted
Roland Häder [Sun, 23 Jun 2013 03:32:52 +0000 (03:32 +0000)]
Fixes and double->single converted

10 years agoMade lower to upper case:
Roland Häder [Fri, 31 May 2013 20:03:19 +0000 (20:03 +0000)]
Made lower to upper case:
- NULL
- FALSE
- TRUE

As these are constants and the lower-case varriants are keywords

10 years agoSame as before
Roland Häder [Sat, 4 May 2013 16:32:36 +0000 (16:32 +0000)]
Same as before

10 years agoFixed missing array
Roland Häder [Sat, 4 May 2013 16:30:47 +0000 (16:30 +0000)]
Fixed missing array

11 years agoUse array_push() instead of []
Roland Häder [Sun, 3 Mar 2013 22:35:01 +0000 (22:35 +0000)]
Use array_push() instead of []

11 years agoAdded line number to debug lines as this will become the default
Roland Häder [Mon, 25 Feb 2013 07:58:05 +0000 (07:58 +0000)]
Added line number to debug lines as this will become the default

11 years agoOpps :( #3
Roland Häder [Fri, 22 Feb 2013 08:13:34 +0000 (08:13 +0000)]
Opps :( #3

11 years agoOpps :(
Roland Häder [Fri, 22 Feb 2013 08:10:51 +0000 (08:10 +0000)]
Opps :(

11 years agoIntroduced unsetCriteria()
Roland Häder [Fri, 22 Feb 2013 08:08:13 +0000 (08:08 +0000)]
Introduced unsetCriteria()

11 years agoOpps :(
Roland Häder [Fri, 22 Feb 2013 07:55:19 +0000 (07:55 +0000)]
Opps :(

11 years agoUpdated core:
Roland Häder [Fri, 22 Feb 2013 07:54:02 +0000 (07:54 +0000)]
Updated core:
- Make use of new interface IoHandler (as type-hint and class implementation)
- Used optional parameter to give all database "rows" unique name

11 years agoAdded interface IoHandler
Roland Häder [Fri, 22 Feb 2013 07:51:21 +0000 (07:51 +0000)]
Added interface IoHandler

11 years agoFixed handling of cache keys as empty results caused cache keys to exist. :(
Roland Häder [Fri, 22 Feb 2013 07:36:43 +0000 (07:36 +0000)]
Fixed handling of cache keys as empty results caused cache keys to exist. :(

11 years agoFixed searched criteria handling #3
Roland Häder [Fri, 22 Feb 2013 06:32:16 +0000 (06:32 +0000)]
Fixed searched criteria handling #3

11 years agoAnother fix attempt for search criteria
Roland Häder [Fri, 22 Feb 2013 05:26:08 +0000 (05:26 +0000)]
Another fix attempt for search criteria

11 years agoFixed search criteria handling, added more asserts, 'my-/_' prefix is not allowed
Roland Häder [Fri, 22 Feb 2013 05:14:56 +0000 (05:14 +0000)]
Fixed search criteria handling, added more asserts, 'my-/_' prefix is not allowed

11 years agoRemoved die()
Roland Häder [Fri, 22 Feb 2013 03:26:19 +0000 (03:26 +0000)]
Removed die()

11 years agoFixed criteria handling
Roland Häder [Fri, 22 Feb 2013 03:20:56 +0000 (03:20 +0000)]
Fixed criteria handling

11 years agoOpps :(
Roland Häder [Fri, 22 Feb 2013 01:34:52 +0000 (01:34 +0000)]
Opps :(

11 years agoTried to write an hostname extraction methods tries to get rid of comment lines ...
Roland Häder [Fri, 22 Feb 2013 01:33:30 +0000 (01:33 +0000)]
Tried to write an hostname extraction methods tries to get rid of comment lines (#) and key=value pairs as seen on Gentoo Linux

11 years agoIgnore local config
Roland Häder [Fri, 22 Feb 2013 00:56:00 +0000 (00:56 +0000)]
Ignore local config

11 years agoMake it public now :(
Roland Häder [Mon, 18 Feb 2013 05:06:36 +0000 (05:06 +0000)]
Make it public now :(

11 years agoThis seems to fit most cases
Roland Häder [Mon, 18 Feb 2013 05:05:24 +0000 (05:05 +0000)]
This seems to fit most cases

11 years agoUse this?
Roland Häder [Mon, 18 Feb 2013 05:02:43 +0000 (05:02 +0000)]
Use this?

11 years agoFixed variable group handling by unsetting right index
Roland Häder [Mon, 18 Feb 2013 04:50:06 +0000 (04:50 +0000)]
Fixed variable group handling by unsetting right index

11 years agoUsed self::createDebugInstance(__CLASS__)->debugOutput() instead of $fooInstance...
Roland Häder [Wed, 13 Feb 2013 20:47:08 +0000 (20:47 +0000)]
Used self::createDebugInstance(__CLASS__)->debugOutput() instead of $fooInstance->debugOutput() as this is the newer approach

11 years agoRewrote search criteria matching:
Roland Häder [Wed, 13 Feb 2013 02:01:54 +0000 (02:01 +0000)]
Rewrote search criteria matching:
- Allows now 'exclude' rules (if found, result will be FALSE) and choice (if
  one is found, result will be TRUE)
- Rewrote LocalFileDatabase class to above added method
- Expanded interface LocalSearchCriteria will all public methods

11 years agoUpdate queries can now also be unlimited (limited in rows)
Roland Häder [Wed, 13 Feb 2013 01:38:01 +0000 (01:38 +0000)]
Update queries can now also be unlimited (limited in rows)

11 years agoAdded 2 more methods
Roland Häder [Wed, 13 Feb 2013 01:33:58 +0000 (01:33 +0000)]
Added 2 more methods

11 years agoAdded assert, all arrays are empty initialized now
Roland Häder [Wed, 13 Feb 2013 01:25:11 +0000 (01:25 +0000)]
Added assert, all arrays are empty initialized now

11 years agoDebug out for whole array
Roland Häder [Wed, 13 Feb 2013 01:23:11 +0000 (01:23 +0000)]
Debug out for whole array

11 years agoAlso this was double
Roland Häder [Wed, 13 Feb 2013 01:09:30 +0000 (01:09 +0000)]
Also this was double

11 years agoOpps :(
Roland Häder [Wed, 13 Feb 2013 01:08:03 +0000 (01:08 +0000)]
Opps :(

11 years agoAdded methods for 'choice' and 'exclude' criteria
Roland Häder [Tue, 12 Feb 2013 22:30:41 +0000 (22:30 +0000)]
Added methods for 'choice' and 'exclude' criteria

11 years agoRewrote the static call to dynamic
Roland Häder [Sat, 9 Feb 2013 18:39:13 +0000 (18:39 +0000)]
Rewrote the static call to dynamic

11 years agoOpps :(
Roland Häder [Fri, 8 Feb 2013 17:28:02 +0000 (17:28 +0000)]
Opps :(

11 years agoAdded optional $requestInstance parameter
Roland Häder [Fri, 8 Feb 2013 17:24:41 +0000 (17:24 +0000)]
Added optional $requestInstance parameter

11 years agoAdded interface AddableCriteria
Roland Häder [Fri, 8 Feb 2013 17:19:55 +0000 (17:19 +0000)]
Added interface AddableCriteria

11 years agoUse PHP_EOL instead of chr(10)
Roland Häder [Thu, 7 Feb 2013 22:08:02 +0000 (22:08 +0000)]
Use PHP_EOL instead of chr(10)

11 years agoUse interface DatabaseWrapper instead of generic class BaseDatabaseWrapper as a typ...
Roland Häder [Thu, 7 Feb 2013 21:47:26 +0000 (21:47 +0000)]
Use interface DatabaseWrapper instead of generic class BaseDatabaseWrapper as a typ-hint

11 years agoAdded public methods from BaseDatabaseWrapper
Roland Häder [Thu, 7 Feb 2013 20:19:18 +0000 (20:19 +0000)]
Added public methods from BaseDatabaseWrapper

11 years agoNow with wrapper :(
Roland Häder [Thu, 7 Feb 2013 20:13:40 +0000 (20:13 +0000)]
Now with wrapper :(

11 years agoAdded generic wrapper (next commit)
Roland Häder [Thu, 7 Feb 2013 20:13:12 +0000 (20:13 +0000)]
Added generic wrapper (next commit)

11 years agoUse 'self' here
Roland Häder [Thu, 7 Feb 2013 20:06:38 +0000 (20:06 +0000)]
Use 'self' here

11 years agoAdded DHT instance (Distributable interface)
Roland Häder [Mon, 4 Feb 2013 19:54:07 +0000 (19:54 +0000)]
Added DHT instance (Distributable interface)

11 years agoAdded example local configuration file
Roland Häder [Thu, 31 Jan 2013 23:51:13 +0000 (23:51 +0000)]
Added example local configuration file

11 years agoBetter this way
Roland Häder [Thu, 31 Jan 2013 18:40:01 +0000 (18:40 +0000)]
Better this way

11 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

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

11 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

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

11 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

11 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

11 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

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

11 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

11 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

11 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

11 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

11 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)

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

11 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 ...

11 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

11 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

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

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

11 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

11 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

11 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

11 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?!

11 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()

11 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

11 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 ...

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

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

11 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

11 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

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

11 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

11 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

11 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! :-)

11 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

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

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

11 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

11 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

11 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

11 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

11 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)

11 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

11 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

11 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

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

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

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

11 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

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