| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Wordpress now sends InstaDisc items whenever a post is published. However, there seems to be yet
ANOTHER strange error with the client because it is, once again, not recieving any items. Refs #6.
|
|
|
|
|
| |
Also added subscription.php to source control, which should have been done in the previous commit.
Yet another [15]. Refs #6 and #17.
|
|
|
|
|
|
|
| |
Currently, a seperate php file generates the subscription files. This is a bad scheme as it requires
the subscription URL (as in, the URL you use to subscribe, the URL to the Subscription File) is long
and winds down the Wordpress plugin directory. Hopefully, an alternate to this method will be found.
Refs #6.
|
|
|
|
|
| |
Plugin now contains header info (for display at plugin table) and an
admin panel. Refs #6.
|
|
|
|
|
| |
For some reason, this wasn't included in the previous commit ([69]).
This is yet another [15]. Refs #6.
|
|
|
|
| |
Refs #6.
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
Previously, the XML-RPC request for the retained items would take place before the InstaDiscThread started, thus causing an error when the remote server attempted sending an item. Now it is run after the InstaDiscThread starts.
|
|
|
|
| |
Now, the client always checks for retained items on startup. The -r flag is now used instead to say that you don't want to open the client, just check for retained items.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This really should have happened in [59]. It's [37] all over again.
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
In revision 9, it was discovered that WellFormedItem.java contained my
password, so it was obliberated from VCS and it needs to be added back
in.
|
| |
|
|
|
|
| |
This functions retrives a single configuration value out of the database.
|
|
|
|
| |
Renamed function sendItem() to use the general prefix (instaDisc_) to prevent include file confusion.
|
|
|
|
| |
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.
|
|
|
|
| |
Fixes #2
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Previously, after subscribing to a subscription, the client would do nothing to notify the Central Server of this change. Now, an XML-RPC function is sent to it.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Previously, forms used <BR> tags to break labels into lines, but it was discovered that a better effect could be generated by keeping the <HTML> tag at the beginning, removing all of the <BR>s, and resizing the JLabel.
|