added gpl license
added gpl license
Remote Debugging Updated

Added the option to allow remote debuggers to change the debug level and
mode for the current session, which provides greater flexibility in
troubleshooting.
Partial BBCode parsing for JSON GUI

Functions for parsing [img] and [link] BBCode tags were added to the
JSON GUI interface. Parsing of the other BBCode tags (e.g. [b], [color],
etc.) will come later.
Minor typo fix

Oops? I forgot to escape a couple of characters!
Conditional PDO support added, major bug fixes

1.) Added PDO support for PHP versions that support it (and have it
enabled),
with a fallback to the original MySQL functions if no PDO support is
detected
2.) Finally found the problem with template-side <that> tags not being
displayed
correctly. Special thanks to Tom (AKA Slow Putzo) for the assist with
this!
3.) Also fixed the long-standing bug with pattern-side <that> tags not
being
scored and chosen correctly. Once again, Thanks Tom! :D
4.) Removed the DB stats page from the admin. It was more or less a
failed
experiment, and really needed to be removed.
5.) Also removed the scripts to upgrade from version 2.0 to 2.3 - If you
have any
version of Program O that's older than 2.3.1, you need to do a fresh
install
and more or less start from scratch. Sorry, but that's just the way it
is.
6.) Other miscellaneous, minor bug fixes, mainly dealing with
unnecessary error
log entries.
oops?

Forgot to change the version file! :O
Major bug fix

Removed some orphaned calls to db_close() that were causing issues with
several admin pages.

Also actually enabled PDO support checking/enabling.
Refactor for PDO support, added SRAI lookup

1.) Refactored the code that deals with DB access to completely remove
the last of the mysql_* functions, including "fallback support".
2.) Added an additional table to the database to handle looking up
previously used calls to <srai> tags.
forgot to change version.txt again
Refactor for PDO support, refinement of srai_lookup

Cleaned up the remaining PDO calls that were causing errors, and changed
the default fetch mode to return associative arrays, thus reducing
memory requirements. Also altered the install script to look for the
srai_lookup table, and add it if necessary. This eliminates the need to
re-install to an empty DB. The script still does not add entries to the
srai lookup table when a usable candidate is found (that's next on the
agenda). I may write a separate script to insert them, and include it in
a "toolkit", or even add it to the admin pages. Still weighing options
there.
Added SRAI lookup insertion script

Added a script that searches the AIML table for templates that contain
SRAI tags, and when found, checks the validity of the SRAI pattern and
then looks for matching AIML categories. Again, if found, the script
inserts the SRAI pattern and AIML category id into the srai_lookup
table.
Bug Fix - Won't install, can't log in.
Bug Fix - SRAI lookup table

Corrected a bug that prevented the script insert_srai_lookup.php from
inserting data into the new lookup table. Also changed the checkbox on
the upload page of the admin to default to clearing AIML categories for
the file(s) being uploaded.
Various bug fixes
Bug fixes, AIML validation, SRAI Lookup Admin

Added Local AIML Validation and SRAI Lookup Admin
1.) Added a "local" AIML validator script, specifically designed to
validate
AIML files for Program O and Pandorabots.
2.) Added a new page to the admin to work with the new SRAI lookup
table. For
now, the page only fills the lookup table with direct matches to
existing
SRAI calls within the AIML table, but soon it will also include
functionality
for searching the lookup table, finding "inderect match" patterns, and
the
ability to edit the templates for matched SRAI calls.
3.) Several minor bug fixes, including one that limited the number of
characters
that the admin username could have (without any warning of the limit).
The
new limit is 255 characters, instead of the previous 10.
oops? Missed a few version number changes
Minor bug fix to srai lookup script
Bug Fix

Corrected a typo in a SQL query that was causing internal server errors.
SRAI Lookup refactor

Refined the code for SRAI lookup to include looking for matches for a
bot's parent in parent/child situations, and cleaned up some function
calls that were passing information twice. Also removed some orphaned
code and reformatted some functions to make them easier to read.