| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Yet ANOTHER [15]. Refs #25
|
|
|
|
| |
Refs #25
|
|
|
|
| |
Refs #25
|
|
|
|
| |
Refs #25 and #35
|
|
|
|
| |
Refs #25
|
|
|
|
| |
Refs #25
|
|
|
|
|
|
|
|
|
|
| |
Borrowed the Four Island templating system code so as to ease the creation of frontends. index.php and activate.php have already been converted, and install.php will not
be converted (because it would be too difficult, and who would want to skin it anyway?)
NOTICE: The Four Island Templating system source code is copyrighted by Starla Insigna (c) 2008. All rights reserved. Use of this code in part or in whole apart from the
InstaDisc Central Server is a direct violation of copyright law. You have been warned.
Refs #25
|
|
|
|
| |
Refs #10
|
|
|
|
| |
See [127]. Refs #10
|
|
|
|
| |
Fixes #27
|
|
|
|
| |
Accidentally provided the Subscription URI instead of the Subscription File's URL in the last commit.
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
The default frontend is based on Four Island's. Perhaps at some point a templating system may be introduced to make frontending
a little easier. Refs #25
|
|
|
|
|
| |
include('class.phpmailer.php'); had been neglected and thus the installation
failed.
|
|
|
|
|
| |
Now, the installation script checks the SMTP details entered to ensure that they are valid so as to avoid errors like #23.
Also modified return for instaDisc_activateAccount(). Refs #23
|
| |
|
| |
|
|
|
|
|
|
|
| |
If a colon is before a space in any value sent from the Central Server to the
Client, it will be interpreted as a NAME-VALUE divider and mess up the Item.
So, any wild colon-spaces have been escaped as "__INSTADISC__". Next step is to
unescape them when they reach the Client.
|
|
|
|
|
| |
For some reason, my reference book lists the deserialization function as
deserialize(), but the online docs say unserialize()
|
| |
|
|
|
|
|
| |
Previously, semantics was an array, but apparently XML-RPC only allows arrays
of xmlrpcvals, so it was changed to a serialized array (string).
|
|
|
|
|
| |
Now, every time the Client contacts the Central Server, the Central Server checks to see if its IP address has
changed, and if it has, the Central Server updates it in its records. Refs #21.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
For some reason, some of the string concatenation was being done by + operators
instead of . operators (probably after using Java too much), so they were
replaced.
|
| |
|
| |
|
| |
|
|
|
|
| |
Closes #4
|
| |
|
|
|
|
| |
Closes #5
|
|
|
|
|
| |
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.
|
|
|
|
| |
Documentation for currently available functions is located at CentralServerFrontendFunctions. Refs #5.
|
|
|
|
|
|
| |
Also added the phpMailer class from Codeworxtech, its SMTP module and a snippet
in db.php which kills execution of the Central Server if the PHP "curl"
extension is not installed and loaded.
|
|
|
|
| |
Closes #3
|
|
|
|
|
| |
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.
|