hub.git
8 years agoAdded more debug stuff + $content needs to be a package hash generated for.
Roland Haeder [Mon, 11 May 2015 23:48:36 +0000 (01:48 +0200)]
Added more debug stuff + $content needs to be a package hash generated for.

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoWrong naming ... :-(
Roland Haeder [Mon, 11 May 2015 23:39:04 +0000 (01:39 +0200)]
Wrong naming ... :-(

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoAlso these must be changed to associative.
Roland Haeder [Mon, 11 May 2015 23:38:04 +0000 (01:38 +0200)]
Also these must be changed to associative.

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoChecking package hash can only be done when the message has been decoded and decompre...
Roland Haeder [Mon, 11 May 2015 23:36:32 +0000 (01:36 +0200)]
Checking package hash can only be done when the message has been decoded and decompressed.

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoAdded missing parameter 2 + wrong hash taken (script dies there).
Roland Haeder [Mon, 11 May 2015 23:29:01 +0000 (01:29 +0200)]
Added missing parameter 2 + wrong hash taken (script dies there).

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoAlso this ... :-(
Roland Haeder [Mon, 11 May 2015 23:22:12 +0000 (01:22 +0200)]
Also this ... :-(

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoOpps, missed this ...
Roland Haeder [Mon, 11 May 2015 23:21:01 +0000 (01:21 +0200)]
Opps, missed this ...

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoRewrote determineSenderPrivateKeyHash() to accept whole raw data array.
Roland Haeder [Mon, 11 May 2015 23:17:35 +0000 (01:17 +0200)]
Rewrote determineSenderPrivateKeyHash() to accept whole raw data array.

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoAdded private key hash distribution in announcement and answer.
Roland Haeder [Mon, 11 May 2015 23:04:27 +0000 (01:04 +0200)]
Added private key hash distribution in announcement and answer.

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoGet the private key hash from sender's session id and not the local node's hash.
Roland Haeder [Mon, 11 May 2015 22:47:16 +0000 (00:47 +0200)]
Get the private key hash from sender's session id and not the local node's hash.

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoAlso this constant is not reachable through "self" from this class.
Roland Haeder [Mon, 11 May 2015 22:39:35 +0000 (00:39 +0200)]
Also this constant is not reachable through "self" from this class.

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoThis constant is now no longer available through "self" from these classes.
Roland Haeder [Mon, 11 May 2015 22:34:08 +0000 (00:34 +0200)]
This constant is now no longer available through "self" from these classes.

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoUpdated 'core' + added cleanup.sh
Roland Haeder [Mon, 11 May 2015 22:29:11 +0000 (00:29 +0200)]
Updated 'core' + added cleanup.sh

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoInstance 'miner' is now added to registry in BaseHubMiner.
Roland Haeder [Mon, 11 May 2015 22:13:23 +0000 (00:13 +0200)]
Instance 'miner' is now added to registry in BaseHubMiner.

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoRewrote processMessage() to accept whole arrays + added filter for handling
Roland Haeder [Mon, 11 May 2015 21:16:33 +0000 (23:16 +0200)]
Rewrote processMessage() to accept whole arrays + added filter for handling
hash + sender over to the miner for "mining" the hash.

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoNow scrypt hashes are generated for each message that is being sent. "Mining" them...
Roland Haeder [Mon, 11 May 2015 19:24:07 +0000 (21:24 +0200)]
Now scrypt hashes are generated for each message that is being sent. "Mining" them will later be possible.

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoinc/classes.php is no longer used.
Roland Haeder [Mon, 11 May 2015 12:02:02 +0000 (14:02 +0200)]
inc/classes.php is no longer used.

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoMerge branch 'refacuring/protocol_handler' of git.mxchange.org:/var/cache/git/repos...
Roland Haeder [Sat, 2 May 2015 19:53:26 +0000 (21:53 +0200)]
Merge branch 'refacuring/protocol_handler' of git.mxchange.org:/var/cache/git/repos/hub into refacuring/protocol_handler

Signed-off-by: Roland Haeder <roland@mxchange.org>
8 years agoMerge branch 'refacuring/protocol_handler' of /var/cache/git/repos/hub into refacurin...
Roland Häder [Sat, 2 May 2015 19:51:20 +0000 (21:51 +0200)]
Merge branch 'refacuring/protocol_handler' of /var/cache/git/repos/hub into refacuring/protocol_handler

8 years agoMerge branch 'master' of /var/cache/git/repos/hub into refacuring/protocol_handler
Roland Häder [Sat, 2 May 2015 19:50:57 +0000 (21:50 +0200)]
Merge branch 'master' of /var/cache/git/repos/hub into refacuring/protocol_handler

8 years agoSerializing data to a JSON array string is much faster than using serialize().
Roland Haeder [Wed, 29 Apr 2015 09:00:03 +0000 (11:00 +0200)]
Serializing data to a JSON array string is much faster than using serialize().

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoThis call needs to be moved into BaseHubNode.
Roland Haeder [Sat, 25 Apr 2015 23:04:03 +0000 (01:04 +0200)]
This call needs to be moved into BaseHubNode.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoFixed a lot stuff for cruncher (missing methods, etc.)
Roland Haeder [Sat, 25 Apr 2015 22:49:23 +0000 (00:49 +0200)]
Fixed a lot stuff for cruncher (missing methods, etc.)

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoFixes for crawler:
Roland Haeder [Sat, 25 Apr 2015 22:30:13 +0000 (00:30 +0200)]
Fixes for crawler:
- Removed 2nd parameter $crawlerInstance as this can be get from object registry
- Other improvements

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoUpdated 'core' + added missing config entries (one was renamed).
Roland Haeder [Sat, 25 Apr 2015 22:17:57 +0000 (00:17 +0200)]
Updated 'core' + added missing config entries (one was renamed).

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoUpdated 'core'.
Roland Haeder [Sat, 11 Apr 2015 14:50:05 +0000 (16:50 +0200)]
Updated 'core'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years ago'page' and 'command' were both the same (command), so better name it same way.
Roland Haeder [Mon, 6 Apr 2015 09:52:12 +0000 (11:52 +0200)]
'page' and 'command' were both the same (command), so better name it same way.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoOpps, typo ...
Roland Haeder [Sun, 5 Apr 2015 23:07:14 +0000 (01:07 +0200)]
Opps, typo ...

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoRenamed method.
Roland Haeder [Sun, 5 Apr 2015 23:04:37 +0000 (01:04 +0200)]
Renamed method.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued:
Roland Haeder [Sun, 5 Apr 2015 22:07:26 +0000 (00:07 +0200)]
Continued:
- Removed 'shutdown' methods as the new 'core' provides it
- Added missing method assignExtraTemplateData()
- Updated 'core' to latest commit

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoFixed a lot broken stuff:
Roland Haeder [Mon, 30 Mar 2015 00:03:10 +0000 (02:03 +0200)]
Fixed a lot broken stuff:
- All handler (expanding BaseHandler) and task classes no longer extends
  BaseHubSystem which caused missing setters and getters. Yes, it is stupid
  to set a log instances as this way these classes are interlocked more
  tighter. Better is to have them more indepently from each other.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMoved Taskable to 'core'.
Roland Haeder [Tue, 24 Mar 2015 22:51:19 +0000 (23:51 +0100)]
Moved Taskable to 'core'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMoved all to 'core' project.
Roland Haeder [Tue, 24 Mar 2015 20:36:40 +0000 (21:36 +0100)]
Moved all to 'core' project.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMoved DefaultIterator to 'core'.
Roland Haeder [Tue, 24 Mar 2015 20:24:44 +0000 (21:24 +0100)]
Moved DefaultIterator to 'core'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMoved ListGroupList to 'core'.
Roland Haeder [Tue, 24 Mar 2015 20:22:12 +0000 (21:22 +0100)]
Moved ListGroupList to 'core'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMoved interface to 'core'.
Roland Haeder [Tue, 24 Mar 2015 20:19:55 +0000 (21:19 +0100)]
Moved interface to 'core'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMoved stuff to 'core'.
Roland Haeder [Tue, 24 Mar 2015 20:18:13 +0000 (21:18 +0100)]
Moved stuff to 'core'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMoved 'HandleableTask' to 'core'.
Roland Haeder [Tue, 24 Mar 2015 20:14:21 +0000 (21:14 +0100)]
Moved 'HandleableTask' to 'core'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoTaskHandler and BaseHandler are now 'core'.
Roland Haeder [Tue, 24 Mar 2015 20:11:43 +0000 (21:11 +0100)]
TaskHandler and BaseHandler are now 'core'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMoved more methods to 'core' as they are now more generalized.
Roland Haeder [Tue, 24 Mar 2015 19:58:01 +0000 (20:58 +0100)]
Moved more methods to 'core' as they are now more generalized.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoOutput system is now no longer initialized by loading a centralized
Roland Haeder [Tue, 24 Mar 2015 18:19:32 +0000 (19:19 +0100)]
Output system is now no longer initialized by loading a centralized
inc/output.php as this was a stupid idea and sometimes the same application
has a console and web part.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agogetResponseTypeFromSystem() is now static.
Roland Haeder [Tue, 24 Mar 2015 17:35:46 +0000 (18:35 +0100)]
getResponseTypeFromSystem() is now static.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued:
Roland Haeder [Tue, 24 Mar 2015 17:19:17 +0000 (18:19 +0100)]
Continued:
- Moved classes from wrapper to database/frontend
- Removed BaseSate class as this now is in 'core'
- Updated 'core' to latest commit

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMoved and renamed 'wrapper' to 'database/frontend'.
Roland Haeder [Tue, 24 Mar 2015 17:02:25 +0000 (18:02 +0100)]
Moved and renamed 'wrapper' to 'database/frontend'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoUpdated 'core' to latest commit including index.php
Roland Haeder [Tue, 24 Mar 2015 01:18:11 +0000 (02:18 +0100)]
Updated 'core' to latest commit including index.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoRenamed classes to fit naming scheme + removed obsolete code.
Roland Haeder [Mon, 23 Mar 2015 14:09:37 +0000 (15:09 +0100)]
Renamed classes to fit naming scheme + removed obsolete code.

Updated 'core'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoUpdated copyright
Roland Haeder [Sun, 22 Mar 2015 19:53:38 +0000 (20:53 +0100)]
Updated copyright

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'latest-core/crawler' into refacuring/protocol_handler
Roland Haeder [Sun, 22 Mar 2015 00:12:57 +0000 (01:12 +0100)]
Merge branch 'latest-core/crawler' into refacuring/protocol_handler

9 years agoUpdated 'core' + copyright year.
Roland Haeder [Sun, 22 Mar 2015 00:11:27 +0000 (01:11 +0100)]
Updated 'core' + copyright year.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'latest-core/crawler' into refacuring/protocol_handler
Roland Haeder [Sat, 21 Mar 2015 21:19:42 +0000 (22:19 +0100)]
Merge branch 'latest-core/crawler' into refacuring/protocol_handler

9 years agoUpdated 'core' to latest commit.
Roland Haeder [Sat, 21 Mar 2015 21:10:32 +0000 (22:10 +0100)]
Updated 'core' to latest commit.

Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
core

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'refacuring/protocol_handler' into latest-core/crawler
Roland Haeder [Sat, 21 Mar 2015 21:17:13 +0000 (22:17 +0100)]
Merge branch 'refacuring/protocol_handler' into latest-core/crawler

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoChecked change of access level protected -> private:
Roland Haeder [Sat, 21 Mar 2015 21:14:16 +0000 (22:14 +0100)]
Checked change of access level protected -> private:
- All class fields must be private and *should always* have protected setters
  as changing "internal" fields (data, in particular object instances) can lead
  to unexpected behaviour and then it is *very, very* hard to trace those bugs.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoUpdated 'core' to latest commit.
Roland Haeder [Sat, 21 Mar 2015 21:10:32 +0000 (22:10 +0100)]
Updated 'core' to latest commit.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoUpdated 'core' to latest commit (closeFile() is now lesser noisy).
Roland Haeder [Thu, 19 Mar 2015 00:49:08 +0000 (01:49 +0100)]
Updated 'core' to latest commit (closeFile() is now lesser noisy).

Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
core

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoUpdated 'core' to latest commit (closeFile() is now lesser noisy).
Roland Haeder [Thu, 19 Mar 2015 00:49:08 +0000 (01:49 +0100)]
Updated 'core' to latest commit (closeFile() is now lesser noisy).

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoSmall rewrite for better use of closeFile():
Roland Haeder [Wed, 18 Mar 2015 00:40:49 +0000 (01:40 +0100)]
Small rewrite for better use of closeFile():
- closeFile() is now no longer be callable publicly. If a file needs to be
  closed, it can simply be set to NULL (or unset). Class fields which points to
  such objects (e.g. pointerInstance) should always be set to NULL and not
  removed as this may cause checks with is_null() to trigger an E_NOTICE:

<?php
error_reporting(E_ALL);

class Object {}

$var = new Object();

$isNull = is_null($var);
var_dump($isNull);

unset($var);

$isNull = is_null($var);
var_dump($isNull);
?>

  Being set to NULL or completly unset is a different thing.
- Updated 'core' to latest commit

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'refacuring/protocol_handler' into latest-core/crawler
Roland Haeder [Tue, 17 Mar 2015 21:24:00 +0000 (22:24 +0100)]
Merge branch 'refacuring/protocol_handler' into latest-core/crawler

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded really lame script to update copyright year.
Roland Haeder [Tue, 17 Mar 2015 21:18:32 +0000 (22:18 +0100)]
Added really lame script to update copyright year.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoUpdated copyright year as this software has been changed in this year.
Roland Haeder [Tue, 17 Mar 2015 21:21:07 +0000 (22:21 +0100)]
Updated copyright year as this software has been changed in this year.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded really lame script to update copyright year.
Roland Haeder [Tue, 17 Mar 2015 21:18:32 +0000 (22:18 +0100)]
Added really lame script to update copyright year.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoUpdated 'core'.
Roland Haeder [Tue, 17 Mar 2015 21:18:14 +0000 (22:18 +0100)]
Updated 'core'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoUpdated 'core'.
Roland Haeder [Tue, 17 Mar 2015 21:08:15 +0000 (22:08 +0100)]
Updated 'core'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued with crawler:
Roland Haeder [Sat, 7 Mar 2015 22:07:11 +0000 (23:07 +0100)]
Continued with crawler:
- Added class constant STACKER_NAME_URLS for stacker name 'urls'
- enrichCrawlerQueueData() is still unfinished as there *must* be added more entries
- Updated 'core' to latest commit

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued with crawler:
Roland Haeder [Sat, 7 Mar 2015 18:18:44 +0000 (19:18 +0100)]
Continued with crawler:
- initUrlSourceTask() cannot be called in constructor as this would lead to a
  missing entry in seachTask() method
- Renamed crawler classes from *UrlGetterTask to *UrlCrawlerTask
- Added new field urlSourceInstance which requires an interface UrlSource
- TODOs.txt updated

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoRegister the task handler after it has been created as some tasks may need it
Roland Haeder [Sat, 7 Mar 2015 18:04:42 +0000 (19:04 +0100)]
Register the task handler after it has been created as some tasks may need it
during initialization phase.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued with crawler:
Roland Haeder [Sat, 7 Mar 2015 17:54:54 +0000 (18:54 +0100)]
Continued with crawler:
- Renamed method processStack() to fillUrlStack() to reflect its purpose
- Added isUrlStackEmpty() to interface as it is now public
- Added new base class BaseUrlSourceTask which will initialize all such tasks
  by creating the proper URL source instance
- Contants belong to top of classes

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued with crawler:
Roland Haeder [Fri, 6 Mar 2015 23:26:35 +0000 (00:26 +0100)]
Continued with crawler:
- The indexed array needs to be converted to assoziative as other URL sources
  may use index X for something else.
- Renamed $isLoaded to $isAdded as it fits more
- Updated 'core' to latest commit

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoFixed parser error ... :-(
Roland Haeder [Fri, 6 Mar 2015 01:39:47 +0000 (02:39 +0100)]
Fixed parser error ... :-(

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoNow all URL sources (stacks) are initialized in a loop. This config entry will
Roland Haeder [Thu, 5 Mar 2015 22:02:04 +0000 (23:02 +0100)]
Now all URL sources (stacks) are initialized in a loop. This config entry will
later be used by the crawlers to "look" for pending crawl jobs.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued with crawler:
Roland Haeder [Thu, 5 Mar 2015 21:07:22 +0000 (22:07 +0100)]
Continued with crawler:
- Made some noisy debug lines quiet (commented out)
- Added parseCsvEntry() as a stub (only debug lines)
- Some other minor improvements

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued with crawler:
Roland Haeder [Thu, 5 Mar 2015 02:01:10 +0000 (03:01 +0100)]
Continued with crawler:
- Renamed parseCsvEntry() to parseCsvFile() as it reads a CSV file
- Added check method if a CSV entry is stacked
- Updated 'core' to latest commit

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoConverted an assertion into a more informative backtrace, if $unlInstance is not
Roland Haeder [Sun, 1 Mar 2015 02:24:41 +0000 (03:24 +0100)]
Converted an assertion into a more informative backtrace, if $unlInstance is not
implementing the expected interface 'LocateableNode'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoImproved exception message a little (external and internal UNLs are now clearly
Roland Haeder [Sun, 22 Feb 2015 18:01:35 +0000 (19:01 +0100)]
Improved exception message a little (external and internal UNLs are now clearly
separated).

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoNeed to set back the "internal" (LAN) address in config as this is later needed
Roland Haeder [Wed, 18 Feb 2015 17:52:24 +0000 (18:52 +0100)]
Need to set back the "internal" (LAN) address in config as this is later needed
in announcement.xml template (please refer there).

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoImproved some comments + added commented-out debug lines.
Roland Haeder [Wed, 18 Feb 2015 17:35:12 +0000 (18:35 +0100)]
Improved some comments + added commented-out debug lines.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoCommented out some noisy lines.
Roland Haeder [Wed, 25 Feb 2015 00:22:34 +0000 (01:22 +0100)]
Commented out some noisy lines.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoIt is 'CALLED' + commented some noisy lines out + 'core' updated
Roland Haeder [Thu, 19 Feb 2015 12:28:36 +0000 (13:28 +0100)]
It is 'CALLED' + commented some noisy lines out + 'core' updated

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoLesser noisy debug messages + updated 'core'.
Roland Haeder [Thu, 19 Feb 2015 10:41:36 +0000 (11:41 +0100)]
Lesser noisy debug messages + updated 'core'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoImplementation of isOwnAddress() basicly finished:
Roland Haeder [Thu, 19 Feb 2015 10:26:47 +0000 (11:26 +0100)]
Implementation of isOwnAddress() basicly finished:
- ... which will check if the currently saved UNL is the same as own external
  or internal UNL (internal only returns IP!!!).
- Introduced getCurrentUniversalNodeLocator()
- Updated 'core'

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued with refacturing:
Roland Haeder [Fri, 30 Jan 2015 00:34:18 +0000 (01:34 +0100)]
Continued with refacturing:
- Deleted deprecated stuff, such as the ConnectionRegistry class as there is
  now only a SocketRegistry.
- More cleanups (e.g. no longer used config entry and many more)
- Use more ShareableInfo class which main contain a Listenable or
  ConnectionHelper instance. If both is missing, please report this.
- Updated 'core'

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued with refactoring:
Roland Haeder [Thu, 29 Jan 2015 20:53:48 +0000 (21:53 +0100)]
Continued with refactoring:
- Added ShareableInfo interface
- Added ConnectionInfo class which can be filled by Listenable classes and
  ConnectionHelper classes. This fixes a bug that isSocketRegistered(),
  registerSocket() and so on, are only accepting a Listenable class and not
  the other.
- Updated 'core'
- UNFINISHED!

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued rewrite:
Roland Haeder [Fri, 23 Jan 2015 20:58:12 +0000 (21:58 +0100)]
Continued rewrite:
- Added discoverListenerInstance() to inteface
- Introduced new generic class BaseIpV4ConnectionHelper
- ... and moved some methods to it
- Other rewrites + more debug lines added (mostly commented out)
- Updated 'core'

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued a little:
Roland Häder [Tue, 20 Jan 2015 09:20:35 +0000 (10:20 +0100)]
Continued a little:
- Renamed method as shortcuts are not wanted
- Updated to latest "core"

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years agoContinued refacturing:
Roland Haeder [Fri, 16 Jan 2015 23:22:56 +0000 (00:22 +0100)]
Continued refacturing:
- Added new exception InvalidUnlException
- Added very basic validation of UNLs (only regex)
- Updated 'core'
- TODOs.txt updated

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued with refacturing:
Roland Häder [Mon, 12 Jan 2015 08:00:48 +0000 (09:00 +0100)]
Continued with refacturing:
- Added missing method getConnectionType() + a few commented out debug lines

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years agoContinued rewrite:
Roland Haeder [Sun, 11 Jan 2015 23:53:19 +0000 (00:53 +0100)]
Continued rewrite:
- New base class added for IPv4 protocol handler.
- Some improvements here and there
- TODOs.txt updated

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoUpdated to latest 'core'.
Roland Haeder [Sun, 11 Jan 2015 23:23:21 +0000 (00:23 +0100)]
Updated to latest 'core'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into refacuring/protocol_handler
Roland Haeder [Sun, 11 Jan 2015 20:55:35 +0000 (21:55 +0100)]
Merge branch 'master' into refacuring/protocol_handler

Now with latest "core".

Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
application/hub/main/source/urls/class_CrawlerUploadedListUrlSource.php
core

9 years agoContinued with crawler (won't work with out-dated core):
Roland Haeder [Sun, 11 Jan 2015 20:51:25 +0000 (21:51 +0100)]
Continued with crawler (won't work with out-dated core):
- Added new method to check stack size for added CSV files
- Added empty stub for adding entries from loaded CSV file

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoUpdated 'core'.
Roland Haeder [Fri, 26 Dec 2014 18:00:32 +0000 (19:00 +0100)]
Updated 'core'.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoA lot changes for refacturing protocol handler
Roland Haeder [Wed, 24 Dec 2014 14:07:04 +0000 (15:07 +0100)]
A lot changes for refacturing protocol handler

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued with refacturing:
Roland Haeder [Tue, 23 Dec 2014 12:55:43 +0000 (13:55 +0100)]
Continued with refacturing:
- Removed no longer needed port which was only for TCP/UDP connections
- Added UniversalNodeLocator class
- Some parts are now "basicly finished", still there is a lot work to do
- Updated 'core' to latest commit id

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoNope, that commit does not fork with this old master.
Roland Häder [Tue, 16 Dec 2014 10:10:42 +0000 (11:10 +0100)]
Nope, that commit does not fork with this old 

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years agoUsed correct commit id (again?).
Roland Haeder [Mon, 15 Dec 2014 23:07:58 +0000 (00:07 +0100)]
Used correct commit id (again?).

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued rewriting:
Roland Haeder [Mon, 15 Dec 2014 20:23:31 +0000 (21:23 +0100)]
Continued rewriting:
- IPs are a little "static" which means that you only connect to Internet nodes.
  Universal node locators (UNL) give you the ability to connect also to node
  which are not available over the internet, such as "fax nodes".
- Updated core
- Added new script for finding bad scripts
- Added more stuff towards refacturing to protocol handler
- Introduced discoverUniversalNodeLocatorByConfiguredAddress()
- Introduced resolveUniversalNodeLocatorFromConfigKey()
- Other rewrites

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoContinued with refacturing:
Roland Haeder [Mon, 15 Dec 2014 18:30:01 +0000 (19:30 +0100)]
Continued with refacturing:
- renamed some variables
- expanded bootstrap node with protocol to fit UNL scheme (protocol://address[:port])
- added another die() as this part needs overworking, too
- introduced detectOwnUniversalNodeLocator()

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoCorrect logger name
Roland Haeder [Mon, 15 Dec 2014 18:19:36 +0000 (19:19 +0100)]
Correct logger name

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoNow this should work with master branch.
Roland Häder [Mon, 8 Dec 2014 08:13:51 +0000 (09:13 +0100)]
Now this should work with master branch.

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>
9 years agoUsed older 'core' for master (only the refacturing branch will use latest core).
Roland Häder [Mon, 8 Dec 2014 08:05:07 +0000 (09:05 +0100)]
Used older 'core' for master (only the refacturing branch will use latest core).

Signed-off-by: Roland Häder <haeder@hmmdeutschland.de>