This revision includes the following changes:
- [1] admin/api.php has been updated to correct one of the labels on the
form input elements.
- [2] admin/approve.php now includes a nice notification when there
aren't any book covers to approve.
- [3] admin/processing/api.php now includes a catch all in the try/catch
block.
- [4] admin/processing/cron.php now includes a catch all in the
try/catch block.
- [5] admin/processing/reload.php now includes all of the exception
catching that the reload() function may throw, and it also denies access
to all but Administrators.
- [6] admin/processing/settings.php now includes a catch statement to
handle a case were a non-administrator may try to run this script, and a
catch all in the try/catch block.
- [7] admin/processing/size.php now includes all of the exception
catching that the getSize() function may throw, and it also denies
access to all but Administrators.
- [8] admin/styles/admin.css now styles the text which is displayed on
the Book Cover Approval page when there aren't any book covers to
approve.
- [10] sell-books/index.php includes a few minor syntax changes to the
code.
- [11] ajax/delete.php will now catch errors which are thrown when
failing to connect to IndexDen.
- [12] ajax/purchase.php has an improved method for handling IndexDen
communication errors.
- [13] ajax/restore.php will now catch errors which are thrown when
failing to connect to IndexDen.
- [14] ajax/search.php has an improved method for handling IndexDen
communication errors.
- [15] book-exchange.php had its version number updated to be consistent
with Github version numbers. The CDN URL has been generalized for later
configuration, if necessary.
- [16] the Login_Failed class had its comment at the top of the script
updated, since it is also thrown when a user tries to execute a script
which requires Administrator privileges.
- [17] the API_Process class has been updated to remove and migrate some
of its general functionality to the Processor_Base class which it
extends.
- [18] the Approve_Process class has been updated to remove and migrate
some of its general functionality to the Processor_Base class which it
extends.
- [19] the Delete_Process class has been updated to remove and migrate
some of its general functionality to the Processor_Base class which it
extends.
- [20] the Processor_Base class now calls require_once() on a larger set
of scripts to provide a greater set of functionality to be automatically
available to all classes which include this script. It also includes a
function to check and throw an exception if the current user is not an
administrator.
- [21] the Purchase_Process class has been updated to remove and migrate
some of its general functionality to the Processor_Base class which it
extends.
- [22] the Restore_Process class has been updated to remove and migrate
some of its general functionality to the Processor_Base class which it
extends.
- [23] the Sell_Book_Process class has been updated to remove and
migrate some of its general functionality to the Processor_Base class
which it extends.
- [24] the Settings_Process class has been updated to remove and migrate
some of its general functionality to the Processor_Base class which it
extends.
- [25] .htaccess was added to prevent users from viewing the plugin
directory structure and denying access to all files in the plugin.
Exceptions are granted on an as-needed basis in specific directories.
- [26] admin/processing/.htaccess grants public access to this
directory.
- [27] admin/scripts/.htaccess grants public access to this directory.
- [28] admin/scripts/admin.superpackage.min.js has been added to
encapsulate all of the JavaScripts which run in the Book Exchange
Administration.
- [29] admin/styles/.htaccess grants public access to this directory.
- [30] app/system/.htaccess grants public access to this directory.
- [31] data/.htaccess grants public access to this directory.
- [32] the Installer class has been added to install the Book Exchange
into the database whenever the user presses the "Activate" link beside
this plugin in the Wordpress Administration section of the site.
- [33] all other scripts which were not mentioned above simply had their
@since Javadoc attribute updated from 3.0 to 3.0.0 to be more consistent
with the Github version numbers.