Maintenance task for trimming the visitor log has been completed (finally! This has been missing for a while!)
- AaronGraves Fri Apr 12 16:33:12 UTC 2013 (69.4.5.254)
Maintenance task for purging old archives has been written. One caveat: It uses stat to pull the file mod time to determine if the archive is older than $TimeStamp - $PurgeArchives. This works great in theory, but in practice it's a terrible idea. The file mod time will be whenever that archive file was moved to the archive - in other words, when the next revision pushed it. This task needs to be re-written to place a call to GetFile() and read the ts record, then compare that to $TimeStamp - $PurgeArchives.
- AaronGraves Fri Apr 12 18:38:59 UTC 2013 (69.4.5.254)
DoMaintPurgeOldRevs() now reads the file in and checks the ts record to insure the highest level of accuracy when removing old revisions.
- AaronGraves Mon Apr 15 17:32:31 UTC 2013 (69.4.28.21)
The way displaying old revisions of a page has changed. Previously, the request would be the pagename, a period, and the revision number (HomePage.5 as an example). Now the request would look like "?do=revision;page=HomePage;rev=5". To facilitate this, a new command was added to %Commands called revision, which points to DoRevision(). All the other code has been commented for now, will be swept out in version 0.30.
- AaronGraves Mon Apr 15 19:52:28 UTC 2013 (69.4.28.21)
As a side effect of changing the way revisions are done, it's now possible for page names to contain periods.
- AaronGraves Mon Apr 15 20:37:32 UTC 2013 (69.4.28.21)
404's should be fully done now!
- AaronGraves Tue Apr 16 14:20:23 UTC 2013 (69.4.28.21)
I've written a plugin that implements shortcodes (as mentioned on Future). I don't see any reason why I can't merge the code into the main source tree for version 0.20 release.
-- AaronGraves Fri Apr 19 21:17:47 UTC 2013 (69.4.28.21)
I discovered a rather unfortunate error in the code that handles reverting a page to a previous revision. The procedure did not check if editing was allowed (by calling CanEdit()), and thus it was triggered by a spider crawling the history page. The check on CanEdit() has been added, as well as the "revert" link was changed to a form button, so it could not be triggered by a web spider anymore.
-- AaronGraves Tue Apr 23 18:43:06 UTC 2013 (69.4.28.21)