| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
Changed the password field (which was a JTextField) in Step 2 to a JPasswordField which has getText() deprecated in favor of getPassword(), which returns the password in a char[]. Since I currently cannot be bothered parsing a char[], I've left it using the deprectated getText(). This must be fixed at some point.
|
| |
|
|
|
|
| |
Fixed the Add Subscription form so that it downloads, parses and adds a Subscription if you give it the correct URL. Also synchronized all of the Database-accessing methods in Database.Wrapper because before the database was deadlocking all of the time.
|
|
|
|
| |
Added an icon to the System Tray that shows a message whenever a new Item is recieved.
|
|
|
|
| |
Instead of requiring a script (or human intervention) to place BDB's Environment, it is instead initalized to a folder in the current user's home directory called ".instadisc". This way, not only can each user on a computer can use InstaDisc seperatly, this rids the need to provide command-line arguments to InstaDisc (with the exception of -r, for external invoking of retained requesting).
|
|
|
|
| |
Added the frontend for the Add Subscription form, as well as some menus for InstaDiscView. However, the Add Subscription form doesn't do anything yet, and the menus don't open anything yet.
|
|
|
|
| |
These errors would have been prevented if SOMEONE had looked over the modified source BEFORE committing. This is a message to all future VCS users.
|
|
|
|
| |
Finally, the Item has the ability to be displayed on the Form. However, the Client now also requires to keep a list of the active Subscriptions and verify each incoming Item against it, which means that a method of subscribing to subscriptions must be implemented before further testing.
|
| |
|
|
|
|
| |
Moved required classpath JARs into a SVN controlled folder so that they are available to anyone who wishes to help develop InstaDisc. Note that the Appframework and Spring-worker JARs were not encapsulated. If you wish to help develop InstaDisc, you'd best be off using NetBeans.
|
| |
|
|
|
|
| |
Because of the lack of SQLite Java wrappers, InstaDisc instead uses a BDB database.
|
|
|
|
| |
After recieving an Item, InstaDisc Client now checks the item for a status of being Well-Formed, as in, it has all of the required headers, the category exists, the category's required semantics are present and the verification is valid.
|
|
|
|
| |
The Client now listens for connections on port 4444, allowing multiple connections at once. Once a connection iis found, the Cliet waits until the connecton is broken, then downloads the sent dat, parses it into headers and passes it to the Item class.
|
| |
|
| |
|
|
|
|
|
|
| |
New technique is to use XML-RPC hooks instead of a pre-built HTML interface so people
who host Central Servers will not have to use the default interface, instead allowing
them to create their own.
|
| |
|
| |
|
| |
|
|
|