| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Refs #28
|
|
|
|
| |
Refs #28
|
|
|
|
| |
Fixes #48
|
|
|
|
| |
Refs #47
|
|
|
|
| |
I am soooooo lazy.
|
|
|
|
|
| |
When the check for subscribing to a subscription twice was added, the wrong comparison operator was used (==), instead of (!=)
which wasn't allowing any new subscriptions to be added. Fixes #45
|
|
|
|
|
| |
With the addition of a new return value in sendFromUpdate(), the Update Server should know when Verification fails and thus
to resend the request. Refs #44
|
|
|
|
| |
Verification IDs in Central and Update can now be between 0 and 2147483647. Closes #37
|
|
|
|
| |
Refs #25
|
|
|
|
| |
See [127]. Refs #10
|
|
|
|
|
|
| |
Now Central Servers will refuse to receive items with the category of "instadisc". However, the Client has to be modifed to send
this data to the Central Server. Also added the Central Server Update Notice subscription to the database and provided a
subscription file. Refs #26
|
| |
|
| |
|
|
|
|
|
| |
Previously, semantics was an array, but apparently XML-RPC only allows arrays
of xmlrpcvals, so it was changed to a serialized array (string).
|
|
|
|
|
| |
There was a small typo the method signature of requestRetained(), so
whenever it was called, the verification would fail. Fixes #14.
|
|
|
|
|
|
|
|
|
| |
Previously, it was thought that the Client was spawing two identical
HandleItemThreads, but the real reason was that the Central Server was sending
the item twice because the subscribement was in the database twice, once
because for ownership, the second for subscribement. Now the Central Server
has been fixed to prevent this error when a user is subscribed to a
subscription they own. Fixes #15.
|
| |
|
|
|
|
|
|
|
|
| |
For some reason, instadisc.php was accidentally replaced with xmlrpc.php and
commited. It has been reverted now. Also, xmlrpc.php has been using
$_SERVER['HTTP_HOST'], but that variable returns the server's address PLUS the
port number. $_SERVER['SERVER_NAME'] is much more appropriate for this
instance.
|
| |
|
|
|
|
| |
Closes #4
|
| |
|
|
|
|
|
| |
Previously ([37]), MySQL query strings were updated to use the MySQL escape function mysql_escape_string(). Now, to add even more protection, the function
mysql_real_escape_string() is used instead.
|
| |
|
|
|
|
| |
This functions retrives a single configuration value out of the database.
|
|
|
|
| |
For some reason, this function was not implemented earlier with the rest of the XML-RPC interface.
|
|
|
|
|
| |
Completed the instaDisc_sendDatabase() library function and the
InstaDisc.sendDatabase() XML-RPC function.
|
|
|
|
| |
Wrapped strings in MySQL queries with mysql_escape_string() to prevent errors and XSS-attacks.
|
| |
|
|
|
|
|
|
| |
Added the library method signatures for XML-RPC used functions to the library,
and also implemented a instaDisc_sendUpdateNotice() and instaDisc_addItem().
Refs #3.
|
|
|
|
| |
Forgot to do this in the previous commit. This is [15] all over again.
|
|
|
|
|
| |
Molded the verification checking into one library functions so the each and every XML-RPC function wouldn't have to implement. Also added the InstaDisc.sendUpdateNotice
and InstaDisc.askForDatabase functions.
|
|
|
|
| |
With the new usage of 'functions_parameters_type = "phpvals"', all parameters are stored as PHP values, and thus arrays are usable.
|
|
|
|
| |
The next step is to implement the instaDisc_* functions and complete the Central Server.
|
|
|