# ChangeLog for yasuck # Copyright (c)2004 badpenguins.com; Distributed under the GPL v2 # *yasuck-0.1.0 (08 Oct 2005) 16 Oct 2005; Mike Green docs/ChangeLog, includes/app.functions.php, patch-0.1.0-02: Added hack to determine high message id when the message list is broken. If the message list cannot be downloaded, fall back to retrieving the last high message and parse the last msg id from it. Removed extraneous "f" from app.functions.php, added some debugging messages. 08 Oct 2005; Mike Green docs/ChangeLog, includes/app.functions.php, patch-0.1.0-01: Changed behavior of --exporthtml. Dumps to a directory structure based on the message dates so that directory reads will not be out of control when listing hundreds of thousands of files. Removed extraneous spaces from line endings. *yasuck-0.0.9 (17 Jul 2005) 08 Oct 2005; Mike Green docs/ChangeLog, docs/README, includes/app.functions.php, includes/globals.php, yasuck, patch-0.0.9-01: Added quoting to all define() statements. Added --exporthtml function that will dump html copies of posts to a spool directory for spidering. Converted nntpSpoolLog() and nntpSpoolUnlock to generic spoolLock() and spoolUnlock() functions. Fixed bug in runUpgrades(), was not returning false if checkDatabase() failed. Probably need to fix this elsewhere. Bumped version to 0.1.0. *yasuck-0.0.8 (5 Jan 2005) 17 Jul 2005: Mike Green docs/ChangeLog, includes/app.functions.php, includes/globals.php, yasuck, patch-0.0.8-02: Bug brought to my attention by ColonelZen. Posts with no/invalid authors or subjects were assumed to be non-existant. Actually these posts did have valid messages. Fixed it to enter !!UNKNOWN AUTHOR!! or !!NO SUBJECT!! in these cases. Removed --listgaps option since I cannot recall what purpose it served and it did not appear to produce useful results. Added --listmissing to list msgids that are missing from the database as a replacement. Bumped version to 0.0.9. 06 Jan 2005: Mike Green docs/ChangeLog, docs/README, includes/app.functions.php, includes/globals.php, patch-0.0.8-01: Added newsd compatibility. If NNTP_USE_NEWSD is defined as true, when spool directories are created the .config file will be created, and when nntp messages are dumped the .info file will be updated with the correct counts. Created nntpSpoolLock and nntpSpoolUnlock functions to handle spool locking. Changed default fetch timeout back to random periods between 1 and 4 seconds. *yasuck-0.0.7 (29 Sep 2004) 05 Jan 2005: Mike Green docs/ChangeLog, docs/README, includes/app.functions.php, includes/globals.php, yasuck, patch-0.0.7-01: Added --exportnntp and --dumpnntp switches and code to dump messages to nntp spool directory. Does not include text of posts by default, only links to original posts due to a-hole groklaw supporter cdbaric threatening ckx board members with hints of lawsuits. Full text can be including by setting NNTP_COPY_TEXT to true in globals.php (would not suggest non-private access to this). Meant to be compatible with newsd at http://www.easysw.com/~mike/newsd/. Bumped version up to 0.0.8. *yasuck-0.0.6 (29 Sep 2004) 04 Oct 2004: Mike Green docs/ChangeLog, includes/app.functions.php, patch-0.0.6-03: Got rid of the poorly implemented last_msg column and replaced it with num_msg column. This upgrade will break any version of yaview prior to version 0.0.5. Cleaned up the counter and poster statistics code. Started to modularize any code that performs database updates/inserts/deletes so that DRYRUN can be utilized easier. Bumped version up to 0.0.7. 29 Sep 2004: Mike Green docs/ChangeLog, includes/app.functions.php, yasuck, patch-0.0.6-02: Added --plugholes argument, to fetch messages in the database that are blank. Basically to fix the results of the bug that was patched by patch-0.0.6-01. 29 Sep 2004: Mike Green docs/ChangeLog, include/apps.functions.php, patch-0.0.6-01: Fixed bug that was skipping message text entries. *yasuck-0.0.5 (24 Sep 2004) 29 Sep 2004: Mike Green docs/ChangeLog, includes/app.functions.php, yasuck, patch-0.0.5-02: Added poster stats table and --refresh argument to go along with it. Keeps track of number of posts, number of recs, highest recs, average recs, etc.. Added code to upgrade tables automatically. Bumped version up to 0.0.6. 29 Sep 2004: Mike Green docs/ChangeLog, includes/app.functions.php, includes/globals.php, yasuck, patch-0.0.5-01: Added --merge to merge another database into the existing one. Started lots of code cleanups in preparation for an official 1.0.0 release. Rewrote argument checking, "functionalized" everything to flow more smoothly, altered checkDatabase() to allow for merging, changed checkStatus() to accept a board name or board id, added --drop to drop a board out of the database. Created patch for it all. *yasuck-0.0.4 (19 Sep 2004) 24 Sep 2004: Mike Green docs/ChangeLog, includes/app.functions.php, includes/globals.php, yasuck, patch-0.0.4-03: Added versioning information and arguement to check version (--version). Turned off the automatic initialization of boards when calling queryBoardInfo from arguments that shouldn't initialize boards. Reordered processing of arguments. Added --unlock argument to override a lock on a board. Added --listgaps argument to query messages and display gaps in message ids, to find missing message ranges. Changed default FETCHSLEEP to 1 to see if it will pass the yahoo filters without looking like a DoS attack. Created patch-0.0.4-03. Bumped version level to 0.0.5. 24 Sep 2004: Mike Green docs/ChangeLog, includes/app.functions.php, yasuck, patch-0.0.4-02: Fixed typo that was causing updates to fail, added call to sanityCheck() that should have been there all along! 24 Sep 2004: Mike Green docs/AUTHORS, docs/ChangeLog, docs/README, includes/app.functions.php, includes/globals.php, yasuck, patch-0.0.4-01: Spam-obscured email addresses. Added new arguments: --quiet to quelch non error messages and --recs to update recommendations only. Sanitized text output. Added code to retrieve recommendations and created function to only deal with recommendations. Fixed a problem with the ini_set call when setting the user agent. Added to sanityCheck() a call to runUpgrades(), which will check for upgrade tasks like adding table columns etc... Changed default values of FETCHSLEEP to 1,4, testing for yahoo lockout on those numbers. Created patch for all of this and updated ChangeLog. *yasuck-0.0.3 (19 Sep 2004) 20 Sep 2004: Mike Green docs/ChangeLog, includes/app.functions.php, patch-0.0.3-01: Oops, fixed bug that was hardcoding DRYRUN. Nothing was being saved to the database. Bumped version to 0.0.4. *yasuck-0.0.2 (18 Sep 2004) 19 Sep 2004; Mike Green docs/ChangeLog, includes/app.functions.php, includes/globals.php, yasuck, patch-0.0.2-01: Added code to detect yahoo unavailable messages since yasuck was catching them as missing instead of unavailable. Added --dumphtml for debugging, will create html files of each page retrieved into the current working directory. Aligned output of helpMessage(). Set FETCHSLEEP default to between 2 and 5 seconds. Turned off RANDOMIZE_UA by default. Corrected perms on files. Updated ChangeLog. Bumped version to 0.0.3. *yasuck-0.0.1 (17 Sep 2004) 18 Sep 2004; Mike Green docs/ChangeLog, includes/app.functions.php, patch-0.0.1-02: Added --dryrun and beginning of code to add previous/next message link information. Bumped version to 0.0.2. 17 Sep 2004; Mike Green docs/ChangeLog, includes/app.functions.php, includes/globals.php, yasuck, patch-0.0.1-01: Added --skipmsgs, --poster, and --subject arguments. These arguments skip adding the entire message text to the database and allow searchs on the poster or subject. Added MAXMISSES to abort if it is determined that the network may be down. Updated ChangeLog and created patch. 17 Sep 2004; Mike Green docs/ChangeLog: First rough cut release.