]> git.mxchange.org Git - hub.git/log
hub.git
11 years agoUsed exit() instead of die()
Roland Häder [Tue, 7 Aug 2012 00:21:28 +0000 (00:21 +0000)]
Used exit() instead of die()

11 years agoAdded missing package (Networkable) instance
Roland Häder [Sat, 4 Aug 2012 23:44:09 +0000 (23:44 +0000)]
Added missing package (Networkable) instance

11 years agoNow the package assembler is deocoding the finished stream
Roland Häder [Sat, 4 Aug 2012 23:42:35 +0000 (23:42 +0000)]
Now the package assembler is deocoding the finished stream

11 years agoRenamed more ...
Roland Häder [Sat, 4 Aug 2012 23:30:35 +0000 (23:30 +0000)]
Renamed more ...

11 years agoRenamed methods (MAY BREAK THINGS)
Roland Häder [Sat, 4 Aug 2012 23:29:11 +0000 (23:29 +0000)]
Renamed methods (MAY BREAK THINGS)

11 years agoIntroduced isPackageContentCompleted()
Roland Häder [Sat, 4 Aug 2012 23:20:23 +0000 (23:20 +0000)]
Introduced isPackageContentCompleted()

11 years agoHandle AssertionException and copy the raw data (do not decode partial data)
Roland Häder [Sat, 4 Aug 2012 23:13:14 +0000 (23:13 +0000)]
Handle AssertionException and copy the raw data (do not decode partial data)

11 years agoAlso remove both (opps)
Roland Häder [Sat, 4 Aug 2012 23:10:01 +0000 (23:10 +0000)]
Also remove both (opps)

11 years agoAdded start ([[S]]) and end ([[E]]) marker for BASE64 stream
Roland Häder [Sat, 4 Aug 2012 23:08:16 +0000 (23:08 +0000)]
Added start ([[S]]) and end ([[E]]) marker for BASE64 stream

11 years agoAdded debug line to see the data
Roland Häder [Sat, 4 Aug 2012 22:52:52 +0000 (22:52 +0000)]
Added debug line to see the data

11 years agoAdded MD5 hashes only for debugging purposes
Roland Häder [Sat, 4 Aug 2012 22:44:23 +0000 (22:44 +0000)]
Added MD5 hashes only for debugging purposes

11 years agoRe-enabled even more debug lines (that is why you should never delete your debug...
Roland Häder [Sat, 4 Aug 2012 22:29:51 +0000 (22:29 +0000)]
Re-enabled even more debug lines (that is why you should never delete your debug-lines, so you can easily re-enable them)

11 years agoAdded another one ...
Roland Häder [Sat, 4 Aug 2012 22:25:36 +0000 (22:25 +0000)]
Added another one ...

11 years agoRewrote debug lines (even more), re-enabled debugging lines in socket layer
Roland Häder [Sat, 4 Aug 2012 22:22:55 +0000 (22:22 +0000)]
Rewrote debug lines (even more), re-enabled debugging lines in socket layer

11 years agoAdded debug line
Roland Häder [Sat, 4 Aug 2012 22:14:37 +0000 (22:14 +0000)]
Added debug line

11 years agoAdded switch to disable (default=disable) publishing of internal (private) IP address...
Roland Häder [Fri, 3 Aug 2012 19:53:18 +0000 (19:53 +0000)]
Added switch to disable (default=disable) publishing of internal (private) IP address. You MUST use this when you run a bootstrap node on your LAN

11 years agoIntroduced self::createDebugInstance()
Roland Häder [Tue, 31 Jul 2012 22:12:18 +0000 (22:12 +0000)]
Introduced self::createDebugInstance()

11 years agoFix for InvalidXmlNodeException (my-session-id)
Roland Häder [Sat, 21 Jul 2012 09:32:37 +0000 (09:32 +0000)]
Fix for InvalidXmlNodeException (my-session-id)

11 years agoMove array initialization into constructor to allow usage of constants
Roland Häder [Tue, 17 Jul 2012 18:51:02 +0000 (18:51 +0000)]
Move array initialization into constructor to allow usage of constants

11 years agoImportant todo added
Roland Häder [Tue, 17 Jul 2012 18:26:07 +0000 (18:26 +0000)]
Important todo added

11 years agoOpps ...
Roland Häder [Tue, 17 Jul 2012 18:11:36 +0000 (18:11 +0000)]
Opps ...

11 years agoThe announcement answer is now half handled, registration (more update) of the node...
Roland Häder [Tue, 17 Jul 2012 18:10:50 +0000 (18:10 +0000)]
The announcement answer is now half handled, registration (more update) of the node is implement, handling the answer status is not yet finished

11 years agoHub project continued: (I have now a little more time)
Roland Häder [Sat, 7 Jul 2012 23:40:20 +0000 (23:40 +0000)]
Hub project continued: (I have now a little more time)
- Added generting of a private key and its hash. This private key will be used
  instead of the node id for encryption and decryption.
- Fixed updating node information table (a search instance is needed for
  "UPDATE")
- TODOs.txt updated

11 years agoFix for missing external IP address. This way makes it still possible to set an own...
Roland Häder [Tue, 3 Jul 2012 21:28:13 +0000 (21:28 +0000)]
Fix for missing external IP address. This way makes it still possible to set an own one, like dynamic hostnames

11 years agoSet it only when empty to allow custom entries again
Roland Häder [Mon, 2 Jul 2012 19:42:26 +0000 (19:42 +0000)]
Set it only when empty to allow custom entries again

11 years agoBetter proxy support, detection of external IP moved to application helper class...
Roland Häder [Mon, 2 Jul 2012 19:14:49 +0000 (19:14 +0000)]
Better proxy support, detection of external IP moved to application helper class, fixed instancing configuration class

11 years agoANNOUNCEMENT_DATA_ANSWER_STATUS added
Roland Häder [Wed, 27 Jun 2012 17:24:31 +0000 (17:24 +0000)]
ANNOUNCEMENT_DATA_ANSWER_STATUS added

11 years agoIntroduced updateNodeData() to update/refresh node data ... ;)
Roland Häder [Wed, 27 Jun 2012 17:17:06 +0000 (17:17 +0000)]
Introduced updateNodeData() to update/refresh node data ... ;)

11 years agoI forgot what this was
Roland Häder [Tue, 26 Jun 2012 15:37:28 +0000 (15:37 +0000)]
I forgot what this was

11 years agoRe-renamed :(
Roland Häder [Tue, 26 Jun 2012 15:35:22 +0000 (15:35 +0000)]
Re-renamed :(

11 years agoSome renames
Roland Häder [Tue, 26 Jun 2012 14:50:55 +0000 (14:50 +0000)]
Some renames

11 years agoFix for non-bootstrap node that is going to announce to upper nodes
Roland Häder [Tue, 26 Jun 2012 14:35:08 +0000 (14:35 +0000)]
Fix for non-bootstrap node that is going to announce to upper nodes

11 years agoNoisy debug line commented out, adding to much 'upper hubs' will result in a warning...
Roland Häder [Sat, 2 Jun 2012 22:29:08 +0000 (22:29 +0000)]
Noisy debug line commented out, adding to much 'upper hubs' will result in a warning message and abort

11 years agoAdded search (criteria) instance to updateNodeByMessageData() to make updates possible
Roland Häder [Wed, 30 May 2012 21:26:47 +0000 (21:26 +0000)]
Added search (criteria) instance to updateNodeByMessageData() to make updates possible

11 years agoDon't miss it ... :(
Roland Häder [Wed, 30 May 2012 21:15:23 +0000 (21:15 +0000)]
Don't miss it ... :(

11 years agoIntroduced (currently not used as type-hints) new interfaces:
Roland Häder [Wed, 30 May 2012 21:02:55 +0000 (21:02 +0000)]
Introduced (currently not used as type-hints) new interfaces:
- Interface 'NodeInformationWrapper' introduced, this may help other developers to implement their own classes
- Interface 'NodeListWrapper' introduced with same intension
- TODOs.txt update

11 years agoFixed :(
Roland Häder [Sun, 27 May 2012 15:00:31 +0000 (15:00 +0000)]
Fixed :(

11 years agoSome noisy debug lines commented out
Roland Häder [Sun, 27 May 2012 14:50:11 +0000 (14:50 +0000)]
Some noisy debug lines commented out

11 years agoExternal IP is now auto-detected
Roland Häder [Sun, 27 May 2012 14:45:08 +0000 (14:45 +0000)]
External IP is now auto-detected

11 years agoOpps ...
Roland Häder [Sat, 26 May 2012 23:07:52 +0000 (23:07 +0000)]
Opps ...

11 years agoMissing configuration data is now temporary being copied
Roland Häder [Sat, 26 May 2012 23:06:44 +0000 (23:06 +0000)]
Missing configuration data is now temporary being copied

11 years agoNot this
Roland Häder [Sat, 26 May 2012 22:48:35 +0000 (22:48 +0000)]
Not this

11 years agoUse 'my_' prefix for 'my' (local) node's data
Roland Häder [Sat, 26 May 2012 22:45:27 +0000 (22:45 +0000)]
Use 'my_' prefix for 'my' (local) node's data

11 years agoAlso these
Roland Häder [Sun, 20 May 2012 12:33:16 +0000 (12:33 +0000)]
Also these

11 years agoAlso this :( #3
Roland Häder [Sun, 20 May 2012 12:30:47 +0000 (12:30 +0000)]
Also this :( #3

11 years agoRenamed all 'node-foo' to 'my-foo' and 'other-bar' to 'your-bar' to make them more...
Roland Häder [Sun, 20 May 2012 12:30:20 +0000 (12:30 +0000)]
Renamed all 'node-foo' to 'my-foo' and 'other-bar' to 'your-bar' to make them more clear

11 years agoError code 'empty_data' is now fully removed and empty data is being silently ignored...
Roland Häder [Sun, 20 May 2012 12:21:34 +0000 (12:21 +0000)]
Error code 'empty_data' is now fully removed and empty data is being silently ignored, some noisy lines commented out

11 years agoAdded message handler for received announcement answer (not yet fully functional...
Roland Häder [Sun, 20 May 2012 12:16:03 +0000 (12:16 +0000)]
Added message handler for received announcement answer (not yet fully functional + die() in method)

11 years agoMessage helper for receiving announcement answers added (not fully finished, the...
Roland Häder [Sun, 20 May 2012 12:04:26 +0000 (12:04 +0000)]
Message helper for receiving announcement answers added (not fully finished, the XML nodes are currently all dropped)

11 years agoWas also very noisy
Roland Häder [Sat, 19 May 2012 20:26:01 +0000 (20:26 +0000)]
Was also very noisy

11 years agoVery noisy function if failing.
Roland Häder [Sat, 19 May 2012 18:36:55 +0000 (18:36 +0000)]
Very noisy function if failing.

11 years agoThis line was required to test previous fix for missing call of resetSerialNumber...
Roland Häder [Sat, 19 May 2012 18:16:37 +0000 (18:16 +0000)]
This line was required to test previous fix for missing call of resetSerialNumber(). RESULT: FIXED

11 years agoOpps :(
Roland Häder [Sat, 19 May 2012 18:14:29 +0000 (18:14 +0000)]
Opps :(

11 years agoAdded debugging, added missing (IMPORTANT) call of resetSerialNumber()
Roland Häder [Sat, 19 May 2012 18:13:25 +0000 (18:13 +0000)]
Added debugging, added missing (IMPORTANT) call of resetSerialNumber()

11 years agoDebug line is really noisy
Roland Häder [Sat, 19 May 2012 17:11:59 +0000 (17:11 +0000)]
Debug line is really noisy

11 years agoRemoved generic array handling, always have special arrays. Added verification of...
Roland Häder [Sat, 19 May 2012 17:10:27 +0000 (17:10 +0000)]
Removed generic array handling, always have special arrays. Added verification of connection type to getSocketsByConnectionType()

11 years agoVerification of server socket improved
Roland Häder [Sat, 19 May 2012 16:58:52 +0000 (16:58 +0000)]
Verification of server socket improved

11 years agoAdded verfication of connection type in addPeer(), added more debug
Roland Häder [Sat, 19 May 2012 16:56:47 +0000 (16:56 +0000)]
Added verfication of connection type in addPeer(), added more debug

11 years agoTypo fixed
Roland Häder [Sat, 19 May 2012 16:33:48 +0000 (16:33 +0000)]
Typo fixed

11 years agoAgain :( #2
Roland Häder [Sat, 19 May 2012 16:29:37 +0000 (16:29 +0000)]
Again :( #2

11 years agoNow incoming, outgoing and 'server' pools are possible
Roland Häder [Sat, 19 May 2012 16:29:13 +0000 (16:29 +0000)]
Now incoming, outgoing and 'server' pools are possible

11 years agoAgain :(
Roland Häder [Sat, 19 May 2012 15:39:33 +0000 (15:39 +0000)]
Again :(

11 years agoMore debugging (yupp, more is required), rewrote isSocketRegistered()
Roland Häder [Sat, 19 May 2012 15:39:22 +0000 (15:39 +0000)]
More debugging (yupp, more is required), rewrote isSocketRegistered()

11 years agoMoved registration of socket with fake package data array to listener
Roland Häder [Sat, 19 May 2012 14:18:42 +0000 (14:18 +0000)]
Moved registration of socket with fake package data array to listener

11 years agoTypo fixed :(
Roland Häder [Sat, 19 May 2012 14:09:47 +0000 (14:09 +0000)]
Typo fixed :(

11 years agoAdded experimental registration of sockets which have just appeared with a fake array
Roland Häder [Sat, 19 May 2012 14:07:11 +0000 (14:07 +0000)]
Added experimental registration of sockets which have just appeared with a fake array

11 years agoAlso just for debugging purposes
Roland Häder [Sat, 19 May 2012 13:55:15 +0000 (13:55 +0000)]
Also just for debugging purposes

11 years agoEven more debug lines added, check for SocketContainer added
Roland Häder [Sat, 19 May 2012 13:53:17 +0000 (13:53 +0000)]
Even more debug lines added, check for SocketContainer added

11 years agoUsed factory instead of direct class
Roland Häder [Sat, 19 May 2012 11:22:05 +0000 (11:22 +0000)]
Used factory instead of direct class

11 years agoAlways forgot this :(
Roland Häder [Sat, 19 May 2012 10:54:27 +0000 (10:54 +0000)]
Always forgot this :(

11 years agoMore debugging lines enabled (need to hunt down those bugs already :( ), added check...
Roland Häder [Sat, 19 May 2012 10:54:02 +0000 (10:54 +0000)]
More debugging lines enabled (need to hunt down those bugs already :( ), added check if peer state is 'active' or 'reachable'

11 years agoRewrote many parts, made sockets from socket_accept() blocking IO (see comment why)
Roland Häder [Fri, 18 May 2012 23:03:18 +0000 (23:03 +0000)]
Rewrote many parts, made sockets from socket_accept() blocking IO (see comment why)

11 years agoFirst bind(), then listen(), then settings
Roland Häder [Fri, 18 May 2012 22:10:00 +0000 (22:10 +0000)]
First bind(), then listen(), then settings

11 years agoMoved some socket initializations before socket_bind(), made setErrorCode() public
Roland Häder [Fri, 18 May 2012 22:07:10 +0000 (22:07 +0000)]
Moved some socket initializations before socket_bind(), made setErrorCode() public

11 years agoAlso always update this, is there an auto-executing hook available on client-side?
Roland Häder [Fri, 18 May 2012 21:28:26 +0000 (21:28 +0000)]
Also always update this, is there an auto-executing hook available on client-side?

11 years agoMore debugging, ignore *.serialized in node_list
Roland Häder [Fri, 18 May 2012 21:27:29 +0000 (21:27 +0000)]
More debugging, ignore *.serialized in node_list

11 years agoTo much noisy, sorry guys
Roland Häder [Fri, 18 May 2012 20:25:49 +0000 (20:25 +0000)]
To much noisy, sorry guys

11 years agoAlso this ... :(
Roland Häder [Fri, 18 May 2012 20:24:56 +0000 (20:24 +0000)]
Also this ... :(

11 years agoAlso this ...
Roland Häder [Fri, 18 May 2012 20:21:15 +0000 (20:21 +0000)]
Also this ...

11 years agoAdded internal IP handling (unfinished), added package tags
Roland Häder [Fri, 18 May 2012 20:20:56 +0000 (20:20 +0000)]
Added internal IP handling (unfinished), added package tags

11 years agoOpps ... :(
Roland Häder [Thu, 17 May 2012 21:59:25 +0000 (21:59 +0000)]
Opps ... :(

11 years agoAgain #2 ... :(
Roland Häder [Thu, 17 May 2012 21:50:24 +0000 (21:50 +0000)]
Again #2 ... :(

11 years agoAgain ... :(
Roland Häder [Thu, 17 May 2012 21:49:45 +0000 (21:49 +0000)]
Again ... :(

11 years agoOpps ...
Roland Häder [Thu, 17 May 2012 21:48:54 +0000 (21:48 +0000)]
Opps ...

11 years agoAdded announcement answer XML, template engine and acceptance of announcements
Roland Häder [Thu, 17 May 2012 21:47:29 +0000 (21:47 +0000)]
Added announcement answer XML, template engine and acceptance of announcements

11 years agoPlease don't call addArrayToDataSet() in class NodeMessageSelfConnectHandler, this...
Roland Häder [Thu, 17 May 2012 19:54:29 +0000 (19:54 +0000)]
Please don't call addArrayToDataSet() in class NodeMessageSelfConnectHandler, this is never supported

11 years agoAdded missing node state 'reachable'
Roland Häder [Thu, 17 May 2012 19:26:44 +0000 (19:26 +0000)]
Added missing node state 'reachable'

11 years agoAdded method nodeHasSelfConnected() which changes the state to 'reachable' which...
Roland Häder [Thu, 17 May 2012 19:22:53 +0000 (19:22 +0000)]
Added method nodeHasSelfConnected() which changes the state to 'reachable' which is true from the node's self-view

11 years agoAdded basicly finished (except TODO) handling of self-connect messages
Roland Häder [Thu, 17 May 2012 19:16:44 +0000 (19:16 +0000)]
Added basicly finished (except TODO) handling of self-connect messages

11 years agoMakes more sense ... opps
Roland Häder [Thu, 17 May 2012 19:09:17 +0000 (19:09 +0000)]
Makes more sense ... opps

11 years agodie() expanded with __METHOD__, wrong things removed from NodeMessageSelfConnectHandl...
Roland Häder [Thu, 17 May 2012 19:08:21 +0000 (19:08 +0000)]
die() expanded with __METHOD__, wrong things removed from NodeMessageSelfConnectHandler's method

11 years agoAdded class for handling self-connect messages
Roland Häder [Thu, 17 May 2012 19:05:31 +0000 (19:05 +0000)]
Added class for handling self-connect messages

11 years agoAdded 'registering of other nodes' ability, added protocol name to relevant method...
Roland Häder [Thu, 17 May 2012 18:56:15 +0000 (18:56 +0000)]
Added 'registering of other nodes' ability, added protocol name to relevant method signatures

11 years agoAdded handler for announcement messages (not yet functional)
Roland Häder [Thu, 17 May 2012 15:23:05 +0000 (15:23 +0000)]
Added handler for announcement messages (not yet functional)

11 years agoOpps ... :(
Roland Häder [Thu, 17 May 2012 13:46:06 +0000 (13:46 +0000)]
Opps ... :(

11 years agoWhile self-connect is running, it might be already announced which is fine
Roland Häder [Thu, 17 May 2012 13:42:21 +0000 (13:42 +0000)]
While self-connect is running, it might be already announced which is fine

11 years agoAdded *REQUIRED* call compileConfigInVariables(), added missing config entry 'node_id'
Roland Häder [Thu, 17 May 2012 11:48:48 +0000 (11:48 +0000)]
Added *REQUIRED* call compileConfigInVariables(), added missing config entry 'node_id'

11 years agoAdded missing method readSelfConnectData()
Roland Häder [Thu, 17 May 2012 10:28:01 +0000 (10:28 +0000)]
Added missing method readSelfConnectData()

11 years agoOpps ...
Roland Häder [Thu, 17 May 2012 10:26:21 +0000 (10:26 +0000)]
Opps ...

11 years agoAdded filter for self-connect attempts
Roland Häder [Thu, 17 May 2012 10:25:03 +0000 (10:25 +0000)]
Added filter for self-connect attempts