about summary refs log tree commit diff stats
path: root/central/trunk/instadisc.php
Commit message (Collapse)AuthorAgeFilesLines
* Central: Escape ": "sKelly Rauchenberger2008-08-061-1/+4
| | | | | | | 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.
* Central: Fixed deserializationKelly Rauchenberger2008-08-061-1/+1
| | | | | For some reason, my reference book lists the deserialization function as deserialize(), but the online docs say unserialize()
* Central: Tweaked deserializationKelly Rauchenberger2008-08-061-2/+7
|
* Central: Changed semantics' typeKelly Rauchenberger2008-08-061-1/+7
| | | | | Previously, semantics was an array, but apparently XML-RPC only allows arrays of xmlrpcvals, so it was changed to a serialized array (string).
* Central: Added automatic IP address updateKelly Rauchenberger2008-08-051-0/+6
| | | | | 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.
* Central: Fixed bug in Verification systemKelly Rauchenberger2008-08-041-1/+1
|
* Central: Reverted instadisc.phpKelly Rauchenberger2008-08-041-193/+281
| | | | | | | | 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.
* Central: Fixed up a few errors in QAKelly Rauchenberger2008-08-041-281/+193
|
* Central: Fixed string concatenationKelly Rauchenberger2008-08-041-1/+1
| | | | | | 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.
* Central: Fixed instaDisc_activateAccountKelly Rauchenberger2008-08-041-1/+1
|
* Central: Wrote installation scriptKelly Rauchenberger2008-08-041-7/+7
| | | | Closes #4
* Central: Fixed minor errorsKelly Rauchenberger2008-08-031-2/+2
|
* Central: Added checks to Subscription ownership functionsKelly Rauchenberger2008-08-031-10/+34
| | | | Closes #5
* Central: Updated MySQL escape wrappersKelly Rauchenberger2008-08-031-30/+30
| | | | | 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.
* Central: Added Subscription ownership functionsKelly Rauchenberger2008-08-031-0/+106
|
* Central: Added "xmlrpc" field to centralServersKelly Rauchenberger2008-08-021-2/+3
|
* Central: Added instaDisc_getConfig()Kelly Rauchenberger2008-08-021-8/+17
| | | | This functions retrives a single configuration value out of the database.
* Central: Started library frontend functionsKelly Rauchenberger2008-08-021-0/+102
| | | | Documentation for currently available functions is located at CentralServerFrontendFunctions. Refs #5.
* Central: Fixed [wiki:Verification] systemKelly Rauchenberger2008-08-021-7/+28
| | | | | | 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.
* Central: Completed instaDisc_sendItem() functionKelly Rauchenberger2008-08-011-0/+27
| | | | Closes #3
* Central: Added sendDatabase functionsKelly Rauchenberger2008-08-011-0/+22
| | | | | Completed the instaDisc_sendDatabase() library function and the InstaDisc.sendDatabase() XML-RPC function.
* Central: MySQL-escaped query stringsKelly Rauchenberger2008-08-011-4/+4
| | | | Wrapped strings in MySQL queries with mysql_escape_string() to prevent errors and XSS-attacks.
* Central: Added library skeletonKelly Rauchenberger2008-08-011-0/+38
| | | | | | Added the library method signatures for XML-RPC used functions to the library, and also implemented a instaDisc_sendUpdateNotice() and instaDisc_addItem(). Refs #3.
* Central: Centrallized verification checksKelly Rauchenberger2008-08-011-0/+22
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.