Changelog for Nailblog-1.x

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nailblog-1.2.2.090219
 * index.php
   Updated the version number.
 * sys/mod_file.php
   Added standard file management tools to the file manager:
    * rename
    * move
    * copy (only for files)
    * delete
 * sys/mod_file.js
   Added a javascript menu for the file management tools.
 * sys/nailblog.php
   Focus is set to the Global settings form even after the settings have been
   changed.
 * sys/mod_rss.php
   Fixed function rss_encode($input) to only replace &nbsp; with &#160; and
   assume the content creator have done the appropriate changes from & to
   &nbsp;, and so on.

Nailblog-1.2.1.090218
 * index.php
   Updated the version number.
 * sys/nailblog.php
   Changed how the Nailblog-specific tags are treated. Instead of
   <nailblog version>, the code <nailblog>version</nailblog> is now the
   one in use.
   This is automaticatilly changed in the global.txt file but you'll have to
   fix all the blog content and whatnot your self.
 * sys/mod_rss.php
   Added Nailblog-tag support to the rss output.
 * sys/mod_blog.php
   Fixed the "Convert to freeform" link so it works even with WISYWIG editors.

Nailblog-1.2.0.090217
 * index.php
   Updated the version number.
   Added variable $nailblog_curvers for storing the global.txt compatibility
   version.
 * sys/mod_rss.php
   Some more work on the RSS module; it now adds a link to the blog header,
   and content is cropped off after 128 characters.
 * sys/mod_honeypot.php
   Added group "honeypotadmin" to the group list.
   Made the admin box output data only when selected.
 * sys/mod_counter.php
   Added group "counteradmin" to the group list.
   Made the counter also count referers; which way visitors got there.
   Made the admin box output data only when selected.
 * sys/mod_blog.php
   Made function blog_view() respect the blog read access rule.
   Made the admin box output data only when selected.
   Replaced a lot of htmlentities-commands with htmlspecialchars, in order to
   make the blog content more compatible with RSS feeds.
   Updated function blog_upgrade() to make 
 * sys/nailblog.php
   Made the admin box output data only when selected.
   Added function nailblog_upgradesets() for upgrading the global.txt format.
 * sys/mod_backup.php
   Made the admin box output data only when selected.
 * sys/mod_file.php
   Made the admin box output data only when selected.
 * sys/mod_frontpage.php
   Made the admin box output data only when selected.
 * sys/mod_menu.php
   Made the admin box output data only when selected.
 * sys/mod_page.php
   Made the admin box output data only when selected.
 * sys/mod_template.php
   Made the admin box output data only when selected.
 * sys/mod_user.php
   Made the admin box output data only when selected.

Nailblog-1.2.beta1.090216
 * index.php
   Instead of replacing %version% with $nailblog_version, index.php now calls
   function nailblog_replacetags($string) from sys/nailblog.php.
   Added variable $nailblog_date which contains the modification date of
   sys/changelog.txt, unless a module replaces the value with the modification
   date of its content.
 * sys/nailblog.php
   Added function nailblog_replacetags($string) which replaces the tags:
    * <nailblog version>
    * <nailblog date>
    * <nailblog ip>
    * <nailblog user>
    * <nailblog userid>
    * <nailblog login>
   with the corresponding data.
   Added a reset button for modules and system.
 * sys/nailblog.js
   Added function nailblog_resetmod(id).
 * sys/mod_backup.php
   Changed backup_admin() to use nailblog_resetmod(id) instead of its own method
   for complete reset.
   Removde function backup_reset().
 * sys/mod_blog.php
   Made blog_main() and blog_view() change the value of $nailblog_date.
 * sys/mod_counter.php
   Finished the visit counter module. It counts unique visitors (identified by
   session variable), and page hits. Bots are not filthered out.
 * sys/mod_template.php
   Finished the dynamic template module. A template admin can now define which
   templates should be allowed for which pages.
 * sys/mod_rss.php
   Finished the RSS module, but it does not post feed links in document headers
   yet.

Nailblog-1.2.beta1.090215
 * sys/mod_honeypot.php
   Created a working honeypot -> ban module, and an admin tool for unbanning.
 * index.php
   Changed an include reference from helpers.php to nailblog.php.
   Added variable $nailblog_inloop so that a module, such as mod_honeypot,
   can break the function call foreach loop.
 * sys/helpers.js
   Renamed helpers.js to nailblog.js. This makes more sense.
 * sys/nailblog.js
   Renamed helpers.js to nailblog.js. This makes more sense.
 * sys/helpers.php
   Renamed helpers.php to nailblog.php. This makes more sense.
 * sys/nailblog.php
   Renamed helpers.php to nailblog.php. This makes more sense.
   Fixed a bug where raising a module in the module list borks up the global
   settings.
   Changed an include reference from helpers.js to nailblog.js.

Nailblog-1.2.beta1.090214
 * index.php
   Updated the version number.
 * sys/mod_honeypot.php
   Created a frame for a module which should fend off still more bots.
 * sys/mod_rss.php
   Created a frame for a rss syndication module.
 * sys/mod_counter.php
   Created a frame for a visit counter module.
 * sys/mod_template.php
   Created a frame for a dynamic template switching module.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Nailblog-1.1.5.090213
 * index.php
   Updated the version number.
   Made the "No template" output XHTML-correct.
 * sys/mod_blog.php
   Fixed a bug which corrupted the version number in bloglist.txt.
   Implemented the blog read access flag.
 * sys/mod_user.php
   The login form is no longer visible on ?act=user_form when you are
   logged in.
 * sys/helpers.php
   Added "No template" as an option in the Default template select box.
   The anti-bot-password is now only asked for non logged in users.

Nailblog-1.1.4.090213
 * index.php
   Updated the version number.
 * sys/mod_blog.php
   Added more accessability control; you can now prevent users from
   accessing a blog page too.
   Fixed more stuff on the support for WYSIWYG's.

Nailblog-1.1.3.090212
 * sys/helpers.php
   Added function nailblog_relocate($whereto) to replace the
   header("location: ...") statements.
   This fix will make the Nailblog work with Safari.
 * sys/mod_file.php
   Replaced all header("location: ...") with nailblog_relocate("...").
   Added more header stuff into file_download() in an attempt to get past
   a strange quirk in Internet Explorer where it would lock up, or report
   errors when opening a file for download directly (not through a link).
 * sys/mod_blog.php
   Replaced all header("location: ...") with nailblog_relocate("...").
 * sys/mod_backup.php
   Replaced all header("location: ...") with nailblog_relocate("...").
 * sys/mod_frontpage.php
   Replaced all header("location: ...") with nailblog_relocate("...").
 * sys/mod_menu.php
   Replaced all header("location: ...") with nailblog_relocate("...").
 * sys/mod_page.php
   Replaced all header("location: ...") with nailblog_relocate("...").
 * sys/mod_sets.php
   Replaced all header("location: ...") with nailblog_relocate("...").
 * sys/mod_user.php
   Replaced all header("location: ...") with nailblog_relocate("...").

Nailblog-1.1.3.090211
 * index.php
   Fixed so that modules that doesn't exist will not be opened, even if
   they are in the active module list.

Nailblog-1.1.3.090210
 * sys/helpers.php
   Added a functions nailblog_writeaccess() and
   nailblog_getwriteaccesscode() to use with a new anti-bot-method.
 * sys/mod_blog.php
   Changed the anti-bot-method.

Nailblog-1.1.3.090126
 * sys/mod_frontpage.php
   Added some code to support future WYSIWYG editors.
 * sys/mod_page.php
   Added some code to support future WYSIWYG editors.
 * sys/mod_blog.php
   Added some code to support future WYSIWYG editors.
   When no WYSIWYG is activated, new entries and editing entries will be done
   in HTML. Automagic newline to <br/> has been removed. New comments, since
   these doesn't support HTML, are still converted.

Nailblog-1.1.3.090125
 * index.php
   Updated the version number.
 * sys/mod_gallery.php
   Fixed the gallery. It broke after the mod_file.php update.
 * sys/helpers.php
   Made modules raiseable in the module list. I.e. the gallery module should
   be placed after the file module.

Nailblog-1.1.2.090121
 * sys/sets.php
   Added $nailblog_opendata for specifying a folder which is openly readable
   from the Internet.

Nailblog-1.1.2.090118
 * sys/mod_file.php
   Changed how mime types are handles; it is now possible to add file handling
   abilities with extra modules.

Nailblog-1.1.2.090115
 * index.php
   Updated the version number.
   Added a call to function force().
 * sys/mod_page.php
   Added a simple module for showing static pages with.
 * sys/mod_page.js
   Added a javascript file for mod_page.php to use.
 * sys/helpers.php
   Added nailblog_preselect($var1,$var2) for setting up a select list.
 * sys/mod_blog.php
   Fixed a critical flaw in the blog administration; deleting a blog corrupted
   the blog list which made another blog unavailable.
 * sys/mod_backup.php
   Removed the automatic logout function. You do not have to login each time
   you restore from backup.
   Removed the automatic reset function. This enables incremental backups for
   system with a smaller max upload size limit, however you'll now need to
   klick the complete reset link in order to make sure you don't have any old
   data layin around.
 * sys/mod_file.php
   Changed the thumbnails to add black frames instead of cropping if an image
   were to have a different aspect ratio than the thumbnail.
 * sys/templates/default/template.php
   Fixed an encoding error which caused w3c's page validator to puke.

Nailblog-1.1.1.090114
 * sys/sets.php
   Added a sets.php version number.
   Added the function force().
 * sys/mod_user.php
   Added text to the titlebar indicating which page is being viewed.
 * sys/mod_sets.php
   Added text to the titlebar indicating which page is being viewed.
 * sys/mod_gallery.php
   Added text to the titlebar indicating which page is being viewed.
 * sys/mod_frontpage.php
   Added text to the titlebar indicating which page is being viewed.
 * sys/mod_file.php
   Added text to the titlebar indicating which page is being viewed.
 * sys/mod_chat.php
   Added text to the titlebar indicating which page is being viewed.
   Removed the Rename link. It was not working properly.
 * sys/mod_blog.php
   Added text to the titlebar indicating which page is being viewed.

Nailblog-1.1.1.090112
 * index.php
   Updated the version number.
 * sys/mod_menu.php
   Fixed a bug which borked the entire menu if an existing menu entry was
   edited and saved.
 * sys/mod_chat.php
   Added a simple chat room.
 * sys/mod_chat.js
   AJAX functions and such fun required for the chat room.

Nailblog-1.1.0.090111
 * index.php
   Updated the version number.
   Renamed variables and changed how things work. See readme.txt.
   Moved all functions to sys/helpers.php.
 * sys/helpers.php
   Moved all non-module specific functionality from index.php to helpers.php.
 * sys/templates/darknail
   Removed template darknail.
 * sys/templates/winternail
   Removed template winternail.
 * sys/templates/default
   Completely rewrote template default to be non-graphical and support all the
   content positions Nailblog-1.1.x will use.
 * readme.txt
   Added a readme file with module and template guidlines.
 * sys/mod_backup.php
   Updated to work with new variable names and function call rules.
 * sys/mod_blog.php
   Updated to work with new variable names and function call rules.
 * sys/mod_file.php
   Updated to work with new variable names and function call rules.
 * sys/mod_frontpage.php
   Updated to work with new variable names and function call rules.
 * sys/mod_gallery.php
   Updated to work with new variable names and function call rules.
 * sys/mod_menu.php
   Updated to work with new variable names and function call rules.
 * sys/mod_sets.php
   Updated to work with new variable names and function call rules.
 * sys/mod_user.php
   Updated to work with new variable names and function call rules.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Nailblog-1.0.5.090106
 * index.php
   Updated the version number.
 * sys/mod_sets.php
   Users can now change their own passwords... Again.
 * sys/templates/darknail/style.css
   Made the text in tables and lists more visible.
   Added a style for class alert.
 * sys/templates/default/style.css
   Added a style for class alert.
 * sys/templates/winternail/style.css
   Added a style for class alert.
 * sys/mod_blog.php
   The page switcher is now only visible if there are more then one page.
 * sys/mod_file.php
   Files and folders are now ordered alphabetically.

Nailblog-1.0.4.081229
 * index.php
   Updated the version number.
   Removed a password protection function which will be handled by the modules
   instead.
 * sys/mod_blog.php
   Added page switcher to bottom of page.
   Fixed comments.
 * sys/mod_backup.php
   Added "Are you sure?"-questions to the data erasing functions.
 * sys/mod_user.php
   Moved some password protection functionality from index.php to here.

Nailblog-1.0.3.081221
 * sys/mod_blog.php
   Added a simple page separation. It's now fixed to 6 entries per
   page (can be changed manually by editing sys/mod_blog.php: blog_main().
   Changed blog_outputcont() and blog_addcomment() to make it harder for bots
   to add comments now.
   Deleting comments in View entry mode now works.
 * sys/mod_blog.js
   Fixed blog_deletentry() to support View entry mode.
 * sys/mod_user.php
   Removed the group "user" added last time. It was defined in mod_sets.php.
 * sys/templates/darknail/*
   Added a dark version of the default template.
 * sys/templates/winternail/*
   Added a wintery version of the default template, this one a bit wider too.
 * index.php
   Fixed the Default template select box to reflect the currently set option.
   Changed the version number.

Nailblog-1.0.2.081216
 * sys/mod_frontpage.php
   Fixed a bug where magic quotes weren't stripped when saving the frontpage.
 * sys/mod_user.php
   User data is not saved in the data directory until it is edited.
   Added group "user" to list of suggested groups.
 * sys/mod_backup.php
   Added a module for backup and recovery.
 * index.php
   Changed the version number.

Nailblog-1.0.1.081215
 * sys/mod_menu.php
   Menu data is not saved in the data directory until it is edited.
   Fixed a bug where a path is already set in the link field when creating new
   entries.
   When creating or editing menu entries and clicking cancel, the menu admin
   tool is now open.

Nailblog-1.0.1.081212
 * sys/sets.php
   Change the content of sets.php to only contain the reference to the data
   directory. All else is done through the CMS.
 * index.php
   Added stuff which previously was found in sets.php.
   Changed the version number.
 * sys/helpers.js
   Created a javascript file for practical functions.
 * sys/templates/default/style.css
   Added a class (.adminbox) to use on the admin page.
   Removed the width: 95%; from table.
   Added a class (.contedit) which applies the table width instead.
 * sys/mod_blog.php
   Changed the admin page to use the .adminbox class.
 * sys/mod_file.php
   Changed the admin page to use the .adminbox class.
 * sys/mod_menu.php
   Changed the admin page to use the .adminbox class.
 * sys/mod_user.php
   Changed the admin page to use the .adminbox class.

Nailblog-1.0.0.081211
 * index.php
   Fixed the version number (still said beta4).
 * sys/mod_blog.php
   Removed a few extra htmlentities from blog_editentry which was adding &amp;
   to the author, title, date and summary every time you edit an entry.
 * sys/mod_sets.php
   Fixed a reference to a wrong encryption key which prevented users from
   changing their passwords.

Nailblog-1.0.0.081210
 * index.php         - script core
 * sets.php          - core settings
 * template: default - ported design from NailBlog-0.6.5
 * mod_user          - user authentication and administration
 * mod_menu          - main menu plus administration
 * mod_sets          - user settings editor
 * mod_blog          - blog plus editor and administration
 * mod_file          - file browser plus uploads and sharing
 * mod_gallery       - gallery view

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

http://www.waxjism.org/nail/
