public_html/docs/history
author Dirk Haun <dirk@haun-online.de>
Sat, 07 Nov 2009 18:26:27 +0100
branchHEAD
changeset 7452 3026a81e17b7
parent 7448 16c9168c8360
child 7453 825540f1937d
permissions -rw-r--r--
Merging (and documenting feature request #0000910)
     1 Geeklog History/Changes:
     2 
     3 Nov ??, 2009 (1.6.1rc1)
     4 ------------
     5 
     6 Changes since 1.6.1b1:
     7 - Improved display of the "Sort by" and "Show n results" dropdowns on the
     8   search results page (feature request #0000910) [Sami, LWC]
     9 - Fixed wrong path reported in case of a missing 'data' directory (reported by
    10   Markus Wollschläger) [Dirk]
    11 - When a plugin returns 0 items for the Admins Block, don't display that as
    12   'N/A' (bug #0001025) [Dirk]
    13 - Fixed a bug in the Group Editor that didn't let you add groups to other groups
    14   unless your $_TABLES['groups'] happened to be called "groups" (bug #0000998)
    15   [Dirk]
    16 
    17 - Updated Hebrew language files, provided by LWC
    18 
    19 Static Pages Plugin
    20 -------------------
    21 - Fixed use of wrong CSS class for the entries for the What's New block [Tom]
    22 
    23 
    24 Nov 1, 2009 (1.6.1b1)
    25 -----------
    26 
    27 - The user's time zone selection (from My Account) is actually used now [Dirk]
    28 - Modernized the "timezone hack", made the config option a dropdown, and moved
    29   all timezone-related code into a new TimeZoneConfig class [Dirk]
    30 - Fixed an old bug that could cause SQL errors when a user changed their "Show
    31   & hide boxes" settings [Dirk]
    32 - Searching by author threw an error on PHP 4 (bug #0001008) [Dirk]
    33 - Moved the functionality of the toinnodb.php script into the Database Backups
    34   admin panel [Dirk]
    35 - Added an option to optimze tables to the Database Backups admin panel [Dirk]
    36 - Added a notice about the expiry time for the security token (and the potential
    37   loss of changes) to most editors. This is meant as an intermediate step
    38   until we get around to updating the editors and provide a more user friendly
    39   solution. [Dirk]
    40 - Fixed display of text excerpt for search results on PHP 4 (bug #0001004)
    41   [Dirk]
    42 - The comment speed limit was being ignored (bug #0001003) [Dirk]
    43 - Added an icon to make the plugin update option somewhat more obvious [Dirk]
    44   (icon "stock_update-data.png" taken from Gnome 2.18 icon theme set by
    45   AMAZIGH Aneglus, released under the GPL)
    46 - Allow bigger values for a topic's Sort Order field (feature request #0001011)
    47   [Dirk]
    48 - When a Story Admin did not have permission to edit a story, Geeklog threw a
    49   "call to a member function on a non-object" error when trying to display a
    50   proper "access denied" message (reported by Chase and Cesar) [Dirk]
    51 - Allow external apps to contribute to search results (feature request #0000985)
    52   [Sami]
    53 - Remember current sort/limit in search results (bug #0001007) [Sami]
    54 - Don't display the comment form for a story when comments aren't enabled for it
    55   (bug #0000994) [Dirk]
    56 - Fixed a long-standing quirk of the submission handling where the "Submissions"
    57   entry in the Admins Block wasn't updated after accepting / rejecting a
    58   submission [Dirk]
    59 - Fixed creation of multiple plugin groups in plugin autoinstall [Randy, Dirk]
    60 - Added new option $_CONF['article_comment_close_enabled'] to enable/disable
    61   automatically closing stories for comments after a certain amount of days
    62   (bug #0000959). Changed handling of comment_expire field in gl_stories such
    63   that 0 means the story is always open for comments [Dirk]
    64 - The "Admin Group" checkbox in the Group Editor didn't work (bug #0000995,
    65   reported & fix provided by Tsuchi)
    66 - Setting $_CONF['article_comment_close_days'] to a high value (to work around
    67   bugs with the "Disable Comments" option in 1.6.0) may result in values outside
    68   of the range of the year dropdown for that option, in which case it reverted
    69   to the previous(!) year and caused comments to be closed immediately [Dirk]
    70 - When viewing your own profile page, you now get an "edit" link that take you
    71   to "My Account" [Dirk]
    72 - Additional checks in "Mail Story to a Friend", "Send mail to user", and
    73   "Mail Users" dialogs to make sure users don't enter email addresses into the
    74   name fields (bug #0000992) [Dirk]
    75 - Added an option to send a copy to self to the "Mail Story to a Friend" dialog
    76   and made the look of this and the "Send mail to user" dialogs more consistent
    77   [Dirk]
    78 - Display the number of stories in the current topic in the Topic Editor
    79   (feature request #0000806) [Dirk]
    80 - Call CUSTOM_userCheck from admin/user.php (bug #0000925) [Dirk]
    81 - You can now have one featured story per topic (feature request #0000750,
    82   patch provided by Tom Homer)
    83 - Changing the Post Mode in Advanced Editor mode selected the wrong tab
    84   (bug #0000980, patch provided by dengen)
    85 - Made the former $cc parameter for COM_mail an optional array of additional
    86   email headers (using a string for that parameter still works as CC:) [Dirk]
    87 - Fixed reply notification for the very first comment (bug #0000973)
    88   [dengen, Dirk]
    89 - When an anonymous commenter left a name, use it in the comment notification
    90   email (bug #0000960) [Dirk]
    91 - Removed the CSRF token from all links to edit a comment. We only need it in
    92   the actual comment editor and it caused problems on the moderation page [Dirk]
    93 - For anonymous comments, use the anonymous user's name from the database, not
    94   from the language file (cf. bug #0000960) [Dirk]
    95 - The session and password cookies are now created with the HttpOnly flag set
    96   to make it somewhat harder to read them from JavaScript (requires browser
    97   support) [Dirk]
    98 - Fixed visibility of the "Send Ping" links in the Story Admin's list of stories
    99   and the Story Options block [Dirk]
   100 - The install script was switching back to English in some upgrade scenarios
   101   (bug #0000969, patch provided by taca)
   102 - Added a workaround to not lose the XMLSitemap priorities for Locales where
   103   the comma is used as the decimal separator [Dirk]
   104 - Keep track of actual upper/lowercase spelling of plugin names in the
   105   XMLSitemap plugin [mystral-kk, Dirk]
   106 - Added support for a CUSTOM_renderMenu function when rendering the top menu
   107   (feature request #0000845) [Dirk]
   108 - In the install script, always open db-config.php and siteconfig.php in
   109   binary mode to avoid EOL character mixup on Windows (bug #0000730) [Dirk]
   110 - Avoid SQL error with certain db dumps during migration (bug #0000955) [Dirk]
   111 - Plugin migration was only called when the plugin also needed an upgrade
   112   (bug #0000947) [Dirk]
   113 - The Migrate option in the install script now also works on an existing
   114   database (feature request #0000945) [Dirk]
   115 - Comment notifications used the phrase "Read the full article" when pointing
   116   to the new comment post (bug #0000940) [Dirk]
   117 - Send correct content type and character set header in the install script
   118   (bug #0000964, patch provided by taca)
   119 - The "Remember Me For" option under My Account did not recognize the "(don't)"
   120   option any more (bug #0000961) [Dirk]
   121 - Send a notification when a comment goes into the submission queue [Dirk]
   122 - Added a link back to the story to the "Mail Story to a Friend" form [Dirk]
   123 - Only list [code], [raw] tags when story.* permissions are required [Dirk]
   124 - [page_break] was not listed when all HTML was allowed for Root users [Dirk]
   125 - Added support for meta tags and meta keywords, provided by Tom Homer
   126 - When an error occurs in bigdump.php (during migration) keep the selected
   127   language when sending the user back to migrate.php (bug #0000943) [Dirk]
   128 - Use COM_getUserDateTimeFormat, i.e. the user's preferred format, for
   129   displaying the date and time in search results [Dirk]
   130 - When disabling a feed, delete the feed file [Dirk]
   131 - Moved leftover hard-coded text from admin/sectest.php to the language files
   132   [Dirk]
   133 - When creating Pingback excerpts, convert the other site's content to our
   134   site's character set, when necessary [Dirk]
   135 - New function COM_getTextContent converts HTML into continuous text. Used for
   136   a more accurate "read more" count for articles and to improve the text
   137   excerpts for search results and pingbacks [Dirk]
   138 - Use COM_numberFormat to format the number of registered and anonymous users
   139   displayed in the Who's Online block [Dirk]
   140 - Use $LANG_ADMIN['na'] instead of hard-coding 'N/A' in several places [Dirk]
   141 - For Remote Users, display their service name in the User Editor [Dirk]
   142 
   143 Calendar Plugin 1.1.1
   144 ---------------
   145 - Keep track of the user id for submitted events (bug #0000993) [Dirk]
   146 - Reintroduced {event_begin_anchortag} and {event_end_anchortag} variables
   147   in event.php [Dirk]
   148 - The number of hits for an event was reset when editing the event [Dirk]
   149 - When cloning an event, the number of hits for the clone should be 0 [Dirk]
   150 - Avoid triggering a false spam report when submitting an event with the default
   151   "http://" entry for the link still in place (bug #0000946) [Dirk]
   152 
   153 Links Plugin
   154 ------------
   155 - Display the number of links in the current category in the Category Editor.
   156   Note: Does not (yet) count links in sub-categories [Dirk]
   157 - Link titles in autotags showed up with backslashes before quotes (bug
   158   #0000986) [Dirk]
   159 
   160 Polls Plugin
   161 ------------
   162 - Fixed display of the Polls block when it only contained polls not visible
   163   for anonymous visitors (bug #0000996) [Dirk]
   164 - When upgrading from Geeklog 1.5.2, the length of the poll IDs was not extended
   165   to 40 characters - only fresh installs of Geeklog 1.6.0 and upgrades from
   166   older versions worked correctly (cf. feature request #0000754) [Dirk]
   167 - Added support for meta tags and meta keywords, provided by Tom Homer
   168 - Introduced [poll:], [poll_vote:], and [poll_result:] autotags, allowing to
   169   embed polls where autotags are allowed, provided by Tom Homer
   170 
   171 Static Pages Plugin 1.6.1
   172 -------------------
   173 - Certain types or all Static Pages can now be excluded from the search results
   174   (feature request #0000979, provided by Tom Homer)
   175 - New and updated Static Pages are now listed in the What's New block
   176   (feature request #0000908, provided by Tom Homer)
   177 - Fresh installs of the plugin in Geeklog 1.6.0 accidentally used a wrong name
   178   for the plugin's admin group. Silently fix that during the upgrade [Dirk]
   179 - Made the list of pages sortable by author (feature request #0000978) [Dirk]
   180 - List available autotags in the static pages editor [Dirk]
   181 - Added support for meta tags and meta keywords, provided by Tom Homer
   182 
   183 
   184 Aug 30, 2009 (1.6.0sr2)
   185 ------------
   186 
   187 This release addresses the following security issue:
   188 - Unauthorized file uploads were possible through FCKeditor.
   189   Uploaded files still had to go through FCKeditor's filter, so it was not
   190   possible to upload scripts (and the integrity of the Geeklog site as such was
   191   not in danger). There were, however, reports that this was used to host
   192   malware.
   193   This update prevents use of the upload feature when FCKeditor is disabled and
   194   disables it for anonymous users. It also doesn't allow uploading of archive
   195   files any more. Furthermore, you need some sort of "edit" permission now to
   196   be able to upload files through FCKeditor (this is meant as an interim
   197   measure - we will probably introduce a separate "upload" permission in future
   198   Geeklog versions).
   199 
   200 Not security-related:
   201 - Fixed installation using InnoDB tables [Dirk]
   202 - Links plugin: Fixed wrong function name in the autoinstall.php file
   203   (bug #0000954)
   204 - Fixed an SQL error (due to a missing global declaration; not exploitable) when
   205   the commentcode field was auto-updated (reported by Jokke_K) [Dirk]
   206 
   207 This release also includes updated Hebrew (provided by LWC) and German language
   208 files.
   209 
   210 
   211 Jul 30, 2009 (1.6.0sr1)
   212 ------------
   213 
   214 This release addresses the following security issues:
   215 - Gerendi Sandor Attila reported an XSS in the forms to email a user and to
   216   email a story to a friend.
   217 - The "Mail Story to a Friend" function didn't check story permissions, so that
   218   it was possible to email a story even if you didn't have the permissions to
   219   view it on the site.
   220 
   221 Not security-related:
   222 - Fixed an SQL error (due to a non-initialized variable; not exploitable) when
   223   the story submission queue was off (reported by Dieter Thomas) [Dirk]
   224 - Fixed calls to a nonexistent function COM_outputMessageAndAbort (should have
   225   been COM_displayMessageAndAbort) [Dirk]
   226 
   227 
   228 Jul 19, 2009 (1.6.0)
   229 ------------
   230 
   231 Geeklog 1.6.0 incorporates the following projects implemented during
   232 the 2008 Google Summer of Code:
   233 
   234 + Site migration support and easier plugin installation, by Matt West
   235 + Improved search, by Sami Barakat
   236 + Comment moderation and editable comments, by Jared Wenerd
   237 
   238 Changes since 1.6.0rc2:
   239 - Updated language file for formal German, provided by Markus Wollschläger
   240 - Updated Japanese language file and documentation, provided by the
   241   Geeklog.jp group
   242 
   243 
   244 Jul 12, 2009 (1.6.0rc2)
   245 ------------
   246 
   247 Changes since 1.6.0rc1:
   248 - Updated FCKeditor to version 2.6.4.1 [Dirk]
   249 - Fixed advanced search not using start and end dates (bug #0000924, patch
   250   provided by dengen)
   251 - Fixed auto-detection of table prefix during migration when the SQL dump
   252   contained CREATE TABLE IF NOT EXISTS requests (bug #0000922) [Dirk]
   253 - When an error occurs in bigdump.php (during migration) send the user back to
   254   migrate.php (bug #0000919) [Dirk]
   255 - Fixed warning in migration script when no backups are available (bug #0000918,
   256   patch provided by hiroron)
   257 
   258 - Updated Estonian language files, provided by Artur Räpp
   259 - Updated Hebrew language files, provided by LWC
   260 - Updated Japanese language files and documentation, provided by the
   261   Geeklog.jp group
   262 
   263 
   264 Jun 28, 2009 (1.6.0rc1)
   265 ------------
   266 
   267 Changes since 1.6.0b3:
   268 - Fixed include path for db-config.php in bigdump.php (bug #0000915) [Dirk]
   269 - Improved detection of UTF-8 database dumps in migration (bug #0000916) [Dirk]
   270 - Fixed typos in the install script (bugs #0000913 and #0000914) [Dirk]
   271 
   272 
   273 Jun 21, 2009 (1.6.0b3)
   274 ------------
   275 
   276 Changes since 1.6.0b2:
   277 - Fixed IE6 and Safari compatibility issue with sort and limit combo boxes in
   278   search results (part of bug #0000874) [Sami]
   279 - Fixed HTML in the Configuration (bug #0000907) [Dirk]
   280 - Added a more prominent reminder to remove the install script [Dirk]
   281 - Made the link to a comment's parent object from the comment bar work properly
   282   for plugins [Dirk]
   283 - Allow searching by topic (without a query string) again (reported by Markus
   284   Wollschläger) [Dirk]
   285 - Fixed handling of $_CONF['comment_close_rec_stories'] (bug #0000899) [Dirk]
   286 - Improved selection of text portion displayed in search results [Dirk]
   287 - Fixed an error that occured after deleting a trackback [Dirk]
   288 - Replace autotags in search results (bug #0000887) [Dirk]
   289 - Don't insist on an email address when editing a Remote User (bug #0000885)
   290   [Dirk]
   291 - Added a config option to send an X-FRAME-OPTIONS HTTP header to prevent
   292   "clickjacking" (requires browser support) [Dirk]
   293 - Prevent XSS in the install script (reported independently by Nemesis and MaXe)
   294   [Dirk]
   295 - Removed old plugin API function plugin_commentsupport from the Calendar,
   296   Polls, and Static Pages plugins [Dirk]
   297 
   298 - Updated Japanese language files and Japanese documentation,
   299   provided by the Geeklog.jp group
   300 
   301 Calendar plugin
   302 ---------------
   303 - Fixed leap year check [Sean Clark]
   304 
   305 Polls plugin
   306 ------------
   307 - Implemented PLG_getCommentUrlId [Dirk]
   308 - Update polls comments when changing a poll's ID so the comments don't become
   309   orphaned (part of bug #0000901) [Dirk]
   310 
   311 Static Pages plugin
   312 -------------------
   313 - Another attempt to fix a compatibility issue with PHP 4 (parse error)
   314   [Ben, Dirk]
   315 - Implemented PLG_getCommentUrlId [Dirk]
   316 - Update static pages comments when changing a page's ID so the comments don't
   317   become orphaned (part of bug #0000901) [Dirk]
   318 - When deleting a static page, also delete its comments (bug #0000901) [Dirk]
   319 
   320 XMLSitemap plugin
   321 -----------------
   322 - Add the Polls plugin to the sitemap by default (part of bug #0000898) [Dirk]
   323 - When manually adding or removing plugins, automatically add/remove
   324   corresponding entries for priority and frequency (part of bug #0000898) [Dirk]
   325 
   326 
   327 May 31, 2009 (1.6.0b2)
   328 ------------
   329 
   330 Changes since 1.6.0b1:
   331 - Various fixes to the new search (work in progress) [Sami]
   332 - The list of Comment Submissions now tries to provide a link to a comment's
   333   parent object (article, poll, ...). If not available, it displays an excerpt
   334   from the comment [Dirk]
   335 - Plugin comments lost their type when being saved in the comment submission
   336   queue (they were treated as comments on stories) [Dirk]
   337 - SQL errors now trigger the standard error handler ("Unfortunately, an error
   338   has occurred ..."). Details are available in error.log, as usual [Tony, Dirk]
   339 - Removed the $_CONF['search_no_data'] config option and moved the text to the
   340   language files (bug #0000873) [Dirk]
   341 - All bundled plugins now include a check to see if they support the DBMS the
   342   site is running on [Dirk]
   343 - A fresh install didn't check if the bundled plugins are compatible with the
   344   Geeklog version about to be installed [Dirk]
   345 - Users couldn't change their password or delete their account (reported by
   346   Tom Homer) [Dirk]
   347 - Fixed plugin postinstall from the install script [Dirk]
   348 - Made COM_createImage recognize https:// URLs (bug #0000881) [Dirk]
   349 - Fixed notices in the config class (reported by tgc and others) [Dirk]
   350 - Fixed empty entries in the "Type" dropdown on the Advanced Search page.
   351   Requires an updated search/searchform.thtml template (part of bug #0000874)
   352 - Ensure PLG_templateSetVars (and therefore CUSTOM_templateSetVars) is called
   353   properly when the "Skip Preview" option is disabled (bug #0000880) [Dirk]
   354 - Fixed handling of multi-byte encoded texts when limiting the content of feed
   355   entries to a certain amount of characters (reported by alank) [Dirk]
   356 - Added a verbose logging option to the search class and make it default to off
   357   [Dirk]
   358 - lib-custom.php was missing from the 1.6.0b1 tarball
   359 
   360 - Updated Spanish language file, provided by Juan Pablo Novillo
   361 
   362 Polls plugin
   363 ------------
   364 - Display a message when a plugin comment is queued [Dirk]
   365 - If you knew a poll's ID, you could find out the poll's title even if you did
   366   not have access to the poll [Dirk]
   367 - Fixed (mostly) blank page when calling up a non-existing poll ID (reported
   368   by scarecrow) [Dirk]
   369 
   370 Static Pages plugin
   371 -------------------
   372 - Display a message when a plugin comment is queued [Dirk]
   373 - Fixed handling of "entire page" centerblocks in a multi-language environment:
   374   Need to allow one per language (reported by Norbert Ortmann) [Dirk]
   375 - Fixed a typo that prevented the [staticpage:] autotag from working [Dirk]
   376 
   377 XMLSitemap plugin
   378 -----------------
   379 - Added an option to exclude plugins from inclusion in the sitemap. Defaults
   380   to the Links plugin [Dirk]
   381 - Remove sitemap files when uninstalling the plugin [Dirk]
   382 - Don't include Links in the sitemap.xml automatically [Dirk]
   383 - Fixed "missing argument 2" error when changing config options (reported by
   384   Markus Wollschläger) [Dirk]
   385 
   386 
   387 May 1, 2009 (1.6.0b1)
   388 -----------
   389 
   390 - New XMLSitemap plugin that creates a XML sitemaps file as supported by all
   391   major search engines, provided by mystral-kk
   392 - Don't allow to add/remove users to/from the All Users and Logged-in Users
   393   groups via the group editor (bugs #0000863 and #0000864) [Dirk]
   394 - Cosmetic changes to the form to add/remove users to/from groups, for
   395   consistency with the other admin panels [Dirk]
   396 - Document where CUSTOM_templateSetVars is actually called from (bug #0000862)
   397   [Dirk]
   398 - Added option to search by titles only (feature request #0000840) [Sami]
   399 - The "Plugins" entry in the Admins Block now displays the number of enabled
   400   plugins (previously included the disabled plugins) [Dirk]
   401 - Added a config option to enable/disable automatically turning URLs in text
   402   postings into clickable URLs [Dirk]
   403 - Changed some default settings [Dirk]:
   404   * Webservices are now disabled
   405   * Cronjob emulation is off
   406   * Default sort for topics is alphabetically
   407   * Default comment mode is nested
   408   These settings are _not_ changed when upgrading from an earlier version.
   409 - Experimental: Compress HTML output before sending it to the browser (disabled
   410   by default; has to be supported by both the browser and the webserver) [Dirk]
   411 - Added canonical link for article directory [Dirk]
   412 - Moved hard-coded texts from admin/sectest.php to the language files (bug
   413   #0000716) [Dirk]
   414 - Added an option to send a copy of the email to a user to self (feature request
   415   #0000771, based on a patch by Roshan Singh)
   416 - COM_checkList would use the table name for the name of the checkbox array in
   417   the HTML(!). Added a new parameter for the name (pointed out by Bookoo in
   418   the exploit for usersettings.php, cf. Geeklog 1.5.2sr4) [Dirk]
   419 - Fixed wrong use of COM_allowedHTML and COM_checkHTML in plugins: Functions
   420   were called without specific permissions, so they defaulted to 'story.edit'.
   421   I.e. as a Story Admin, you could use the admin_html set in events, but as a
   422   Calendar admin, you could not ... (bug #0000785) [Dirk]
   423 - Added missing finish() calls for some templates, e.g. header.thtml
   424   (bug #0000855) [Dirk]
   425 - Moved documentation to docs/english so that it can be translated
   426   (feature request #0000770) [Dirk]
   427 - New plugin API function PLG_pluginStateChange [Dirk]
   428 - Fixed dropdown for the "censor mode", which has more than the two options
   429   offered previously (bug #0000692) [Mike, Maciej Cupial]
   430 - Slightly faster template class (feature request #0000760, patches provided
   431   by dengen and mystral-kk)
   432 - Use a more efficient implementation of Story::hasContent (bug #0000858, patch
   433   provided by Maciej Cupial)
   434 - Make sure formerly optional config items can be disabled (bug #0000846) [Dirk]
   435 - New plugin API function PLG_getDocumentationUrl (feature request #0000848)
   436   [Dirk]
   437 - Fresh installs + MySQL only: Changed some tinyint fields that are only used
   438   as flags to tinyint(1) from tinyint(3) (bug #0000857)
   439 - Fixed one of the predefined date format strings (bug #0000854)
   440 - Replace Wiki-style formatting in the Daily Digest and when emailing a story
   441   to a friend (bug #0000837, patch provided by Pawel Szczur)
   442 - New plugin API function PLG_configChange (feature request #0000694) [Dirk]
   443 - Fixed layout of Batch Add and Batch Admin options of the User Manager [Dirk]
   444 - On a login failure, the user registration form showed up even when new user
   445   registration was disabled (bug #0000843)
   446 - The Wiki-style format broke national special characters, e.g. Japanese and
   447   German umlauts (bug #0000823) [Dirk]
   448 - Introduced new plugin API function PLG_migrate [Dirk]
   449 - Allow switching the DOCTYPE from the Configuration. Requires a theme that
   450   uses {doctype} instead of a hard-coded DOCTYPE declaration (feature request
   451   #0000745) [Dirk]
   452 - The notification email about new user submissions didn't include information
   453   about the remote service used (if any) [Dirk]
   454 - Define {xmlns} when using XHTML for XHTML compliance. Updated header.thtml
   455   and article/printable.thtml template files to include that variable [Dirk]
   456 - Fixed wrong use of '&amp;' when sending a trackback (bug #0000825)
   457 - Removed incomplete PDF generator (never enabled in any shipped version) [Dirk]
   458 - Fixed a problem with words being merged together in newsfeeds when the article
   459   was written with CR as the line separator [Dirk]
   460 - Made url rewriting work on setups that only set $_SERVER['ORIG_PATH_INFO']
   461   (bug #0000816)
   462 - Fixed duplicate plugin entries when a plugin has more than one entry for the
   463   admin or user menu (bug #0000820)
   464 - {contributedby_user} and {contributedby_fullname} weren't set in the story
   465   templates (bug #0000821) [Dirk]
   466 - Reinstated old definitions of the {start_contributedby_anchortag},
   467   {end_contributedby_anchortag}, and {contributedby_author} variables, i.e. the
   468   two anchortag variables are set again and _author contains the name only (bug
   469   #0000821) [Dirk]
   470 - Auto-deleting a story didn't delete trackbacks for that story [Dirk]
   471 - Ensure consistent template variable names for the Permission Editor [Dirk]
   472 - Added new permission 'group.assign', now required to be able to assign a user
   473   to a group. Part of the Group Admin (not User Admin) permissions by default
   474   (feature request #0000190) [Dirk]
   475 - Raised minimum required PHP version to PHP 4.3.0 and removed all workarounds
   476   that ensured compatibility with PHP 4.1.0 [Dirk]
   477 - Added a filename mask config option for the names of the database backups
   478   [Dirk]
   479 - Removed $_CONF['pagetitle'] hack. Use COM_siteHeader('menu', $pagetitle)
   480   instead [Dirk]
   481 - Added canonical link for articles [Dirk]
   482 - Moved hard-coded "Reminders" column title to the language file (bug #0000817)
   483 - Hide archive option radiobutton from the story editor when no archive topic
   484   is defined (feature request #0000807) [Dirk]
   485 - Display group names with an uppercase first letter everywhere [Dirk]
   486 - Added an ISO 8601-ish format to the gl_dateformats table [Dirk]
   487 - Let users with user.mail permissions only email groups that they are in
   488   themselves [Dirk]
   489 - Gave the Groups and User editors a facelift. Requires a new template file,
   490   admin/lists/inline.thtml [Dirk]
   491 - Introduced list of "advanced HTML" tags that are allowed when FCKeditor is
   492   enabled. Needed for images (bug #0000757) [Blaine]
   493 - Add new permissions plugin.install and plugin.upload for more fine-grained
   494   control to the plugin admin panel (bug #0000637) [Dirk]
   495 - Introduced new plugin API function PLG_itemDeleted [Dirk]
   496 - Changed API for PLG_itemSaved to make it simpler and easier to use [Dirk]
   497 - Updated FCKeditor to version 2.6.4 [Blaine]
   498 - Usersettings.php - can not change password when custom membership is enabled.
   499   Modified CUSTOM_userCheck to return both a error message string and Error
   500   code. Updated users.php and usersettings,php  (bug #0000776) [Blaine]
   501 - Implemented extended API for PLG_getItemInfo [mystral-kk, Dirk]
   502 - Fixed inconsistencies and various small mistakes when displaying "Access
   503   denied" messages on the admin pages [Dirk]
   504 - Added a print.css stylesheet to be used by the printable template files
   505   (feature request #0000766) [Dirk]
   506 - Re-introduced the path hints in the install script when it can't find
   507   db-config.php [Dirk]
   508 - Added a note about the max. dimensions of a userphoto in the About You pane
   509   of a user's My Account page (feature request #0000629) [Dirk]
   510 - Display a message when no topics exist and don't let the user enter the story
   511   editors (bug #0000738) [Dirk]
   512 - Added a configuration option to control the JPEG quality (Feature request
   513   #0000720) [Dirk]
   514 
   515 - Updated Hebrew language file for the install script, provided by LWC
   516 - New Serbian (Latin) language files, provided by Aleksandar Scepanovic
   517 
   518 Calendar plugin
   519 ---------------
   520 - Added migration support [Dirk]
   521 - Removed extra double quote from upcoming events block (bug #0000827)
   522 - Added auto installation support [Dirk]
   523 - Added support for PLG_getItemInfo, PLG_itemSaved, PLG_itemDeleted [Dirk]
   524 
   525 Links plugin
   526 ------------
   527 - Added migration support [Dirk]
   528 - Added category default permissions [Dirk]
   529 - Added auto installation support [Dirk]
   530 - Added support for PLG_getItemInfo, PLG_itemSaved, PLG_itemDeleted [Dirk]
   531 - Introduced function LINKS_getCategorySQL and fixed visibility of link
   532   categories in the Top 10 Links list and site statistics [Dirk]
   533 - Added an option to allow opening external links in a new window (feature
   534   request #0000693). Use with care, please [Dirk]
   535 - Only external links are marked with class="ext-link" [Dirk]
   536 
   537 Polls plugin
   538 ------------
   539 - Added migration support [Dirk]
   540 - Set the page title when viewing a poll [Dirk]
   541 - Added auto installation support [Dirk]
   542 - Added support for PLG_getItemInfo, PLG_itemSaved, PLG_itemDeleted [Dirk]
   543 - Extended length of poll IDs to 40 characters (feature request #0000754) [Dirk]
   544 
   545 Spam-X
   546 ------
   547 - Added migration support [Dirk]
   548 - Added auto installation support [Dirk]
   549 
   550 Static Pages plugin
   551 -------------------
   552 - Added migration support [Dirk]
   553 - The printable.thtml template file now uses the {xmlns} variable [Dirk]
   554 - Added canonical link [Dirk]
   555 - Added auto installation support [Dirk]
   556 - Added support for PLG_getItemInfo, PLG_itemSaved, PLG_itemDeleted [Dirk]
   557 - The printable.thtml template file uses the HTML Strict doctype and print.css
   558   now [Dirk]
   559 - Display "successfully saved" and "successfully deleted" messages, just like
   560   every other plugin and built-in function does (bug #0000644) [Dirk]
   561 
   562 
   563 Jul 30, 2009 (1.5.2sr5)
   564 ------------
   565 
   566 This release addresses the following security issues:
   567 - Gerendi Sandor Attila reported an XSS in the forms to email a user and to
   568   email a story to a friend.
   569 - The "Mail Story to a Friend" function didn't check story permissions, so that
   570   it was possible to email a story even if you didn't have the permissions to
   571   view it on the site.
   572 
   573 
   574 Apr 18, 2009 (1.5.2sr4)
   575 ------------
   576 
   577 This release addresses the following security issue:
   578 
   579 Bookoo of the Nine Situations Group posted another SQL injection exploit,
   580 targetting an old bug in usersettings.php. As with the previous issues, this
   581 allowed an attacker to extract the password hash for any account and is fixed
   582 with this release.
   583 
   584 
   585 Apr 13, 2009 (1.5.2sr3)
   586 ------------
   587 
   588 This release addresses the following security issue:
   589 
   590 Bookoo of the Nine Situations Group posted another SQL injection exploit, this
   591 time targetting the webservices API. As with the previous issue, this allowed
   592 an attacker to extract the password hash for any account and is fixed with this
   593 release.
   594 
   595 Not security-related:
   596 - Re-introduced function get_SPX_Ver in the install script, which is still
   597   needed when upgrading from old Geeklog releases (reported by Sheila) [Dirk]
   598 
   599  
   600 Apr 4, 2009 (1.5.2sr2)
   601 -----------
   602 
   603 This release addresses the following security issue:
   604 
   605 Bookoo of the Nine Situations Group posted an SQL injection exploit for glFusion
   606 that also works with Geeklog. This issue allowed an attacker to extract the
   607 password hash for any account and is fixed with this release.
   608 
   609 
   610 Mar 30, 2009 (1.5.2sr1)
   611 ------------
   612 
   613 This release addresses the following security issue:
   614 
   615 Fernando Munoz reported a possible XSS in the query form on most admin panels
   616 that we are fixing with this release (bug #0000841).
   617 
   618 
   619 Feb 8, 2009 (1.5.2)
   620 -----------
   621 
   622 - The default replacement text for censored text was supposed to read
   623   "censored", not "censormode" [Dirk]
   624 - Fixed problem with extra backslashes appearing in a story's title during the
   625   story preview when magic_quotes_gpc = On (bug #0000790) [Mike, Dirk]
   626 - Added missing page title when viewing a single comment [Dirk]
   627 - Sort groups in the group dropdowns non-case sensitive [Dirk]
   628 - Display a message when sending the email to report an abusive comment failed
   629   [Dirk]
   630 - Display a message when sending the email for a new password failed [Dirk]
   631 
   632 - Updated Estonian language file for the Calendar plugin, provided by Artur Räpp
   633 - Updated Japanese language file, provided by the Geeklog.jp group
   634 
   635 Static Pages plugin
   636 -------------------
   637 - Fixed parse error when saving a static page (reported by greenteagod). This
   638   problem was only introduced in 1.5.2rc1 [Dirk]
   639 
   640 
   641 Jan 24, 2009 (1.5.2rc1)
   642 ------------
   643 
   644 - Fixed various issues with COM_makeClickableLinks (bug #0000767, #0000793,
   645   #0000796) [Sami]
   646 - The comment submission form didn't show the user's full name when
   647   $_CONF['show_fullname'] was enabled [Dirk]
   648 - Comments were always showing the username, even when $_CONF['show_fullname']
   649   was enabled (reported and patch provided by mystral-kk, bug #0000800)
   650 - Fixed story preview losing the story when the sid already existed (bug
   651   #0000789) [Dirk]
   652 - Fixed wrong use of str_replace in STORY_extractLinks (bug #0000794) [Dirk]
   653 - Added "Send Pings" to the Story Options block (if enabled and allowed for the
   654   current user) [Dirk]
   655 - Don't let the user enable plugins when there's no functions.inc for the
   656   plugin [Dirk]
   657 - When the install script can't find db-config.php, that message was always
   658   displayed in English, i.e. you could not change the language for that screen
   659   [Dirk]
   660 - When upgrading from a Geeklog version prior to 1.5.0, the plugin config.php
   661   files are no longer renamed [Dirk]
   662 - Admin lists allowed non-sortable columns to be sortable (reported and patch
   663   provided by hiroron, bug #0000791)
   664 - Fixed STORY_getItemInfo - need to check the draft flag and for a publish date
   665   in the future [mystral-kk, Dirk]
   666 - Fixed wrong use of COM_isAnonUser in COM_getPermSQL (since 1.5.0) [Dirk]
   667 - When calling COM_getYearFormOptions with a $startoffset parameter, the list
   668   of years was off by one (bug #0000783; patch provided by hiroron)
   669 - Fixed updating feeds after changing topic permissions (bug #0000779) [Dirk]
   670 - The security token was missing from the trackback editor template file
   671   (reported and patch provided by hiroron, bug #0000778)
   672 - Removed rel="tag" from topic links in lib-story.php as that would indicate a
   673   Microformat with a slightly different meaning [Dirk]
   674 - Don't include X-Originating-IP header in emails sent from the site's admin
   675   area (bug #0000701) [Dirk]
   676 - Check if COM_errorLog exists before using it in the config class (for possible
   677   problems during installation, bug #0000768) [Dirk]
   678 - Fixed filling out the Site Email / No-Reply Email fields in the install
   679   script, which was overwriting the correct values from config.php during
   680   upgrades (bug #0000759) [Dirk]
   681 - Set language direction in templates for printable versions of articles and
   682   static pages. Also set $LANG_DIRECTION to 'ltr' now if the language file does
   683   not already define it (bug #0000762) [Dirk]
   684 - Removing an element from the middle of the censorlist caused the censoring
   685   to act up (bug #0000763) [Dirk]
   686 - Saving a story tried to update a feed of type 'geeklog' instead of 'article'
   687   (reported by Tom Homer)
   688 - Delete a feed's file when deleting a feed (bug #0000758) [Dirk]
   689 - When using gdlib, use imagecopyresampled instead or imagecopyresized to scale
   690   images. This should result in better image quality (part of Feature request
   691   #0000720) [Dirk]
   692 - The {start_storylink_anchortag} variable in the story templates was missing
   693   a '>' (reported by Michael Brusletten) [Dirk]
   694 - Display a "Service" column in the Admin's list of users when remote auth is
   695   activated [Dirk]
   696 - Introduced new function COM_showMessageText to display a free-form text in a
   697   "System Message" box (feature request #0000676) [Dirk]
   698 - Introduced new function COM_showMessageFromParameter for easy and consistent
   699   display of messages passed in the URL, including plugin messages (second
   700   attempt to fix bug #0000618) [Dirk]
   701 - Display confirmation message when emailing a story (feature request #0000689)
   702   [Dirk]
   703 - Implemented new function COM_renderWikiText to convert wiki-formatted text
   704   to (X)HTML (feature request #0000643) [Dirk]
   705 - Added support for CUSTOM_formatEmailAddress and CUSTOM_emailEscape functions
   706   (feature request #0000727) [Dirk]
   707 - Fixed 'cookiedomain' being reported as changed in the Configuration
   708   (bug #0000638) [Dirk]
   709 - Reverted fix for bug #0000618 (COM_showMessage automatically picking up a
   710   'plugin' parameter) as it's causing problems when displaying more than one
   711   message on the same page [Dirk]
   712 - Added missing check for allowed IP addresses in downloader class
   713   (bug #0000709) [Dirk]
   714 - Force a refresh after uninstalling a plugin so that the plugin's entry
   715   disappears from the Admins block [Dirk]
   716 - Fixed an issue with story expiry dates on PHP 4/Windows (reported by zeb)
   717   [Mike]
   718 
   719 - Updated Hebrew language file for the install script and Spam-X plugin,
   720   provided by LWC
   721 - Updated Japanese language files, provided by the Geeklog.jp group
   722 - Updated Polish language files, provided by Robert Stadnik
   723 - Updated Slovenian language file for the Links plugin, provided by gape
   724 
   725 Calendar plugin
   726 ---------------
   727 - Fix for calendar plugin - unable to add personal event [Blaine]
   728 - Make {event_url} available in eventdetails.thtml [Dirk]
   729 
   730 Links plugin
   731 ------------
   732 - Missing parentheses my have resulted in incorrect search results [Dirk]
   733 - Added urlencoded versions of {link_actual_url} and {link_name} [Dirk]
   734 - Prevent overwriting existing links when changing the link ID [Dirk]
   735 
   736 Polls plugin
   737 ------------
   738 - Lowered the default number of questions per poll to 5 and the number of
   739   answers per question to 8 to avoid running into Suhosin's default
   740   post.max_vars limit (for new installs only) [Dirk]
   741 - Fixed SQL error when poll questions contained single quotes (bug #0000756)
   742   [Dirk]
   743 - Fixed handling of poll IDs in Polls editor (bug #0000753) [Dirk]
   744  
   745 Static Pages plugin
   746 -------------------
   747 - The owner of a static page changed to the user who last edited it
   748   (bug #0000777) [Dirk]
   749 - Fixed call to WS_makeId when sp_id was longer than STATICPAGE_MAX_ID_LENGTH
   750   (found by Marc Maier) [Dirk]
   751  
   752 
   753 
   754 Sep 22, 2008 (1.5.1)
   755 ------------
   756 
   757 - Fixed protection against direct execution in various include files which may
   758   have failed on non-case sensitive file systems (reported by Mark Evans) [Dirk]
   759 - Saving a story as someone other than the owner will revert the story to your
   760   ownership. (bug #0000742) [Mike]
   761 - Fixed searching for non-installed plugins when open_basedir restrictions are
   762   in effect (bug #0000741)
   763 - Fix for first change of password issue (bug #0000724) [Mike]
   764 - Fixed failure to switch language with new query highlighting URLs
   765   (bug #0000733) [Dirk]
   766 - Fixed bug with HTML Encoding of default comment title for articles
   767   (bug #0000737) [Mike]
   768 - Fixed another case where a duplicate of a story submission was left in the
   769   submission queue after approving the story [Mike]
   770 - Fixed problem with the MySQL class not recognizing UTF-8 when the character
   771   set name was written in uppercase (bug #0000731) [Dirk]
   772 
   773 - Updated Hebrew language files, provided by LWC
   774 - Updated Estonian language files, provided by Artur Räpp
   775 - Updated Japanese language files, provided by the Geeklog.jp group
   776 - Updated Slovenian language files, provided by gape
   777 
   778 
   779 Sep 7, 2008 (1.5.1rc1)
   780 -----------
   781 
   782 - Added missing slash in the install script (bug #0000715) [Dirk]
   783 - CSRF token not passed to draft list (bug #0000726) [Ted Powell]
   784 - If root debugging is enabled, hide anything in the array stack that has a key
   785   containing 'cookie' or 'pass'. And added option to override this.
   786   (bug #0000722) [Mike]
   787 - Prevent direct execution of the FCKeditor upload script (reported by t0pP8uZz)  [Dirk]
   788 - Renamed the "Restore" option in the Configuration to "Enable" [Dirk]
   789 - Provided better error handling for database backups (bug #0000714) [Mike]
   790 - Provided auto-detection of -left and -right overrides for any given block
   791   template. This allows any block to auto-style to left and right for themes
   792   without the need for the theme to work it out, or talk to the database.
   793   ("Bug" #0000684) [Mike]
   794 - Fixed handling of corrupted config value db entries, e.g. after importing
   795   Calendar event_types with the wrong character set (bug #0000690) [Dirk]
   796 - Fixed handling of HTML entities in the Configuration (bug #0000710)
   797   [Sami, Dirk]
   798 - Story image upload: Only add a link to the unscaled image if such an image
   799   actually exists [Dirk]
   800 - Removed unused code from lib-story.php [Dirk]
   801 - COM_siteFooter no-longer creates two sets of right blocks. (bug #0000698)
   802   [Mike]
   803 - Microsummaries work in topics, reported by Joe. [Mike]
   804 - Added DB_checkTableExists and changed INST_checkTableExists to use it. [Mike]
   805 - Changed REPLACE INTO for DB_save for MSSQL compat [Mike]
   806 - Re-introduced function get_SP_Ver in the install script, which is still needed
   807   when upgrading from old Geeklog releases (reported by libexec) [Dirk]
   808 - Fixed issue where you can post a comment to an unpublished story (bug
   809   #0000705) [mystral-kk/Mike]
   810 - Fixed make clickable links with quotes (bug #0000691) plus truncated long
   811   urls. [Sami]
   812 - Fixed table prefix issues with constraints (bug #0000702) [Mike/Sami]
   813 - Fixed error when attempting to highlight a search query that contained a
   814   slash [Dirk]
   815 - Updated FCKeditor to v2.6.3 [Blaine]
   816 - Moved remove() (config JavaScript) to gl_cfg_remove (bug #0000681) [Mike]
   817 - Change for CUSTOM_usercreate to support passing in $batchimport, 
   818   set true if called via the Admin->Users Batch_Add [Blaine]
   819 - Fix for date formatting in RSS fields (bug #0000696) [mystral-kk]
   820 - A small tweak to the Professional theme's commentbar to make the "Post a
   821   comment" option easier to find [Dirk]
   822 - Renamed the syndication feed type "geeklog" to "article" since that's what
   823   they are nowadays [Dirk]
   824 - New option "All Frontpage Stories" for article feeds: skip stories that have
   825   the "Show only in topic" option set (feature request #0000652) [Dirk]
   826 - If there is a feed for a topic, there will now be a "Subscribe to ..." option
   827   in the Story Options block for every story for that topic (feature request
   828   #0000154) [Dirk]
   829 - Cop-out fix for bug #0000671: Don't display the icon for external links when
   830   the text direction is 'rtl' (e.g. Hebrew) [Dirk, Mike]
   831 - Keep letter case intact when highlighting a search query string (patch
   832   provided by Sami Barakat)
   833 - Provide nicer URLs to story search results when URL rewriting is enabled
   834   (bug #0000665, based on a patch by Sami Barakat) [Dirk]
   835 - Better support for plugin messages (bug #0000618) [Blaine]
   836 - Introduced new variable {page_title_and_site_name} for header.thtml so that
   837   we can have "Site Name - Site Slogan" in the frontpage's title again [Dirk]
   838 - Fixed SQL error(s) for story submissions by users with story.submit but no
   839   further Story Admin permissions (reported by Orion) [Dirk]
   840 - End a user's session when they are being banned [Dirk]
   841 - Signatures in HTML-formatted comments weren't XHTML compliant [Dirk]
   842 - Minor cleanups in style.css - no actual layout changes (bug #0000683) [Dirk]
   843 - Allow creation of banned users, i.e. ban the user on account creation [Dirk]
   844 - Minor improvements in the error handling, e.g. preventing Geeklog from
   845   creating error.log files outside the logs directory [Dirk]
   846 - Send a HTTP status code 503 "Service Unavailable" when the site is disabled
   847   [Dirk]
   848 - Hide the database password when the database backup failed and we're logging
   849   the mysqldump command [Dirk]
   850 - Disable OpenID login when new registrations are disabled [Dirk]
   851 - Allow to unset Configuration options again after they have been "restored",
   852   i.e. enabled (bug #0000664) [Dirk]
   853 - Adopted hack to allow multilingual blocks (bug #0000626) [Dirk]
   854 - Fixed SQL error in story submissions (reported by Chase) [Mike]
   855 - Stories with a publishing date in the future and stories with the draft flag
   856   set were accessible if you knew their story id (bug #0000678) [Mike]
   857 - Enabled siteconfig.php to override database config in core, primarily for
   858   rootdebug. [bug 0000673] [Mike]
   859 - Allow remote users to use the webservices (bug #0000640). Due to the
   860   authentication method it is not possible for OpenID users to use the
   861   webservices. Other remote users will have to use username@servicename for
   862   their username when logging in through the webservices [Dirk]
   863 - Fix to template.class to better handle full path being passed in [Blaine]
   864 - Updated PLG_uninstall to supress errors for table drop. [bug 0000668] [Mike]
   865 - Fixed INST_checkTableExists for MS SQL Support. [bug 0000668] [Mike]
   866 - Hardcode an ltr div around HTML tags in the allowed html tag list. Plus minor
   867   HTML compliance issues. [bug  0000669] [Mike]
   868 - Plaintext stories have nl2br applied in syndication feeds to provide correct
   869   formatting in feed readers. [bug 0000662] [Mike]
   870 - Changed SEC_createToken so that it will only return one token per page
   871   (effectively making it a singleton). This fixes the problem of not being able
   872   to delete comments when you also have trackbacks for the same article
   873   [Mike, Dirk]
   874 - Approving a story submission by saving it from the Admin's story editor left
   875   a duplicate in the submission queue, unless you changed the story ID at the
   876   same time [Dirk, Mark Evans]
   877 - Fixed user submission queue (reported by greenteagod) [Dirk]
   878 
   879 - Updated Hebrew language files, provided by LWC
   880 
   881 Calendar plugin
   882 ---------------
   883 - Fixed <brXHTML> tags in the German language files for the Calendar [Dirk]
   884 - Fixed date comparison ("End date is before start date.", bug #0000703) [Dirk]
   885 - Fixed Admin delete links in day and week view (bug #0000680) [Dirk]
   886 - Search for an event's "author" didn't work [Dirk]
   887 - Calendar block now includes events from the current day (in progress or all
   888   day events, bug 0000604, patch from forums) (really) [Mike]
   889 
   890 Links plugin
   891 ------------
   892 - Fixed passing the category on multi-page link lists [Dirk]
   893 - Fixed new category silently overwriting an existing category if they had the
   894   same id (part 2 of bug #0000659) [Dirk]
   895 - Fixed SQL error when trying to change a category id to an already existing id
   896   (part 1 of bug #0000659) [Dirk]
   897 
   898 Polls plugin
   899 ------------
   900 - For multi-question polls, make the "Vote" button read "Start Poll" in the
   901   polls block (bug #0000633) [Dirk]
   902 - Fixed display of "Results" link while a poll is open [Dirk]
   903 
   904 Static Pages plugin
   905 -------------------
   906 - Menu entries were not language-aware (in multi-language setups), i.e. all the
   907   menu entries were always displayed (bug #0000713) [Dirk]
   908 - Removed unused 'config_data' entry from the plugin uninstall function
   909   (bug #0000666) [Dirk]
   910 - Fixed printer friendly version of a static page not working when url_rewrite
   911   is enabled (bug #0000661) [Dirk]
   912 
   913 
   914 June 15, 2008 (1.5.0)
   915 -------------
   916 
   917 Geeklog 1.5.0 incorporates the following projects implemented during
   918 the 2007 Google Summer of Code:
   919 
   920 + New user-friendly install script by Matt West
   921 + New Configuration GUI (replacing config.php) by Aaron Blankstein
   922 + New Webservices API based on the Atom Publishing Protocol by Ramnath R. Iyer
   923 
   924 Changes since 1.5.0rc2:
   925 - Users that used a different theme than the site default would see the site
   926   switch temporarily back to the site's default theme when changing a config
   927   option. This was a side effect of the fix for bug #0000648 [Dirk]
   928 - In a tradeoff between security and convenience, we decided to go with
   929   security: The install script will no longer display the database credentials
   930   from db-config.php. The downside is that you will have to enter them again
   931   when doing a database upgrade or re-running the install (reported by Mark
   932   Evans) [Dirk]
   933 - Links plugin: The word "Root" wasn't taken from the language file for the page
   934   title of the public list of links (reported by Markus Wollschläger) [Dirk]
   935 - Fixed remaining places where the Admin panels had inconsistent layouts:
   936   Calendar list of events, Polls editor (bug #0000650) [Dirk]
   937 
   938 - Updated Hebrew language file, provided by LWC
   939 - Updated German language files, provided by Markus Wollschläger
   940 - Some Korean language files had a mixture of CR/LF and LF as line separators
   941   (bug #0000655) [Dirk]
   942 
   943 
   944 June 8, 2008 (1.5.0rc2)
   945 ------------
   946 
   947 Changes since 1.5.0rc1:
   948 - Hide the | separator for static pages with page format "blank page" (reported
   949   by Tetsuko Komma) [Dirk]
   950 - Hardcoded all URL entry fields in the templates and the date selection in the
   951   calendar plugin to dir="ltr" (reported by LWC) [Dirk]
   952 - Fixed handling of UTF-8 languages in the install script (reported by Tetsuko
   953   Komma) [Dirk]
   954 - Ensure consistent display of the admin lists (bug #0000650) [Dirk]
   955 - Sanitize the language in the install help (reported by Mark Evans) [Dirk]
   956 - Moved the hard-coded CSS for the System Message to the stylesheet [Dirk]
   957 - Added a workaround for the Yulup Atompub client that sometimes sends Text
   958   nodes within XHTML nodes [Dirk]
   959 - Made the Install / Upgrade buttons in the install script a bit wider to
   960   provide more space for the Japanese and German translations [Dirk]
   961 - Fixed bug #0000647: All modifications of usersettings should go through
   962   CUSTOM_usercheck [Blaine]
   963 - Removed hard-coded <ul> tags from the functions for the Admin, User, and
   964   Topics blocks. Added new blockheader-list.thtml, blockfooter-list.thtml
   965   template files for those blocks [Blaine]
   966 - Removed the fake {blockid} for the block templates as it was actually derived
   967   from the block title, resulting in layout changes when you changed the block
   968   title. It also didn't work properly with non-ASCII languages. Updated
   969   style.css and the block templates accordingly [Blaine]
   970 - Fixed setting the site's default language and default theme (bugs #0000646
   971   and #0000648) [Aaron, Dirk]
   972 - The bundled plugins don't need to read their config.php any more. This also
   973   avoids confusion if renaming the old config.php failed during the upgrade
   974   [Dirk]
   975 - Fixed SQL error in the Mail Utility when using the option to override user
   976   settings (reported by Michael Brusletten) [Dirk]
   977 - Fixed problems with the text direction in the install script (reported by LWC)
   978   [Dirk]
   979 
   980 - Updated Estonian language files, provided by Artur Räpp
   981 - Updated Hebrew language files, provided by LWC
   982 - Updated Japanese language files, provided by Takahiro Kambe, Tetsuko Komma,
   983   and the Geeklog.jp group
   984   Note: Only the UTF-8 versions of the Japanese language files are supported
   985   from now on. The euc-jp versions have been removed from the distribution.
   986 - Updated Polish language files, provided by Robert Stadnik
   987 - Updated Slovenian language file, provided by gape
   988 
   989 
   990 May 25, 2008 (1.5.0rc1)
   991 ------------
   992 
   993 Changes since 1.5.0b2:
   994 - Fixed story date/time when using the timezone hack (bug #0000639) [Dirk]
   995 - Fixed MS SQL upgrade [Mike]
   996 - Added code to beautify the language names in the install script [Dirk]
   997 - Ensure the "After Saving ..." options work as advertised [Dirk]
   998 - Fixed handling of empty form submission and display of error messages in the
   999   batch user import [Dirk]
  1000 - Fixed text for the account reminder emails [Dirk]
  1001 - Display value in the "Months since registration" column on the Batch User
  1002   Admin screen without decimals again (as in 1.4.1) [Dirk]
  1003 - Removed unused poll-vote, poll-vote-results classes from the Professional
  1004   theme's stylesheet; added empty required-field, missing-field classes for
  1005   future use (cf. bug #0000635) [Dirk]
  1006 
  1007 - Updated Chinese language files, provided by Samuel M. Stone
  1008 - Updated Estonian language files, provided by Artur Räpp
  1009 - Updated Slovenian language file, provided by gape
  1010 
  1011 Calendar plugin
  1012 ---------------
  1013 - Fixed missing ] in the headline of the day and week view [Dirk]
  1014 - Fixed the template for the personal event editor (extra <td> tag) [Dirk]
  1015 - Bugfix: In some cases, personal events would end up in the submission queue
  1016   for site events [Dirk]
  1017 - Fixed "Delete old entries" option (delete checkboxes were missing) [Dirk]
  1018 
  1019 
  1020 May 20, 2008 (1.5.0b2)
  1021 ------------
  1022 
  1023 Changes since 1.5.0b1:
  1024 - {story_title} is now available in the article.thtml template file [Dirk]
  1025 - Bugfix: When saving a (new) topic with one or more required fields missing,
  1026   don't go back into the topic editor as that would cause a confusing "access
  1027   denied" message [Dirk]
  1028 - Hard-coded the text direction as "ltr" for some input fields and the date/time
  1029   selection in the story editor (bug #0000150). Also removed "text-align:left"
  1030   for the HTML body from the Professional theme's style sheet as it interferes
  1031   with the ability to switch the text direction (reported by LWC) [Dirk]
  1032 - Removed references to config.php from the documentation, some READMEs, and
  1033   some source files (bug #0000627) [Dirk]
  1034 - Don't include the (internal) 'subgroup' and 'fieldset' entries in the $_CONF
  1035   arrays [Dirk]
  1036 - COM_numberFormat wouldn't handle decimals correctly (bug #0000624) [Dirk]
  1037 - Make sure the XHTML constant is defined if the theme doesn't already define
  1038   it (bug #0000622) [Dirk]
  1039 - Fixed invalid <brXHTML> tags in some language files (bug #0000621) [Dirk]
  1040 - The URL sent in a user registration notification contained an &amp; where it
  1041   should have been a simple & [Dirk]
  1042 
  1043 - Updated German language files, provided by Markus Wollschläger
  1044 
  1045 Links plugin
  1046 ------------
  1047 - Fixed the "Validate Links" link from the list of categories [Dirk]
  1048 
  1049 Polls plugin
  1050 ------------
  1051 - Bugfix: When saving a (new) poll with one or more required fields missing,
  1052   don't go back into the polls editor as that would cause a confusing "access
  1053   denied" message [Dirk]
  1054 - Renamed 'open' column in the gl_polltopics table to 'is_open' as "open" is
  1055   a reserved keyword in MS SQL server [Matt]
  1056 - Fixed duplicate sort_order value in the Polls config [Dirk]
  1057 - Cosmetic changes in the Polls topic and results (bug #0000625) [Dirk]
  1058 
  1059 Static Pages plugin
  1060 -------------------
  1061 - Moved the print and edit icons to the bottom of a static page in the default
  1062   staticpage.thtml template file. Also removed the icons from the default
  1063   centerblock.thtml template file and defined the {lastupdate} and {hits}
  1064   variables there (bug #0000628) [Dirk]
  1065 - Removed an extra } from the Static Pages staticpage.thtml template file
  1066   (reported by Markus Wollschläger) [Dirk]
  1067 
  1068 
  1069 
  1070 May 5, 2008 (1.5.0b1)
  1071 -----------
  1072 
  1073 - Updated FCKeditor to v2.6 [Blaine]
  1074 - LDAP remote authentication module, provided by Jessica Blank / MTV Networks
  1075 - The {lang_attribute} can only properly be set in a multi-language setup
  1076   (bug #0000616) [Dirk]
  1077 - Removed Blogger remote authentication option. Blogger.com have changed their
  1078   authentication process, so this module no longer works.
  1079 - Emails sent from Geeklog now have an X-Originating-IP header to help track
  1080   spam or abuse [Dirk]
  1081 - The topic editor allowed you to enter topic IDs with more than 20 characters
  1082   (reported by Markus Wollschläger) [Dirk]
  1083 - Ease restriction that email addresses have to be unique: Remote accounts can
  1084   have non-unique addresses, on-site accounts can't [Dirk]
  1085 - Bug: Email user form doesn't display correctly with " in subject when sending
  1086   is failed due to incomplete fields. [Mike]
  1087 - Bugs: Ensure that site_url, site_admin_url, layout_url and xhtml available to
  1088   all templates. [Mike]
  1089 - Support for [raw][/raw] tag in HTML post mode. All the benefits of code and
  1090   pre, with none of the ugly styling. [Mike]
  1091 - Added an Atom self-link to RSS feeds. Sounds odd, but it is recommended by
  1092   <http://feedvalidator.org/docs/warning/MissingAtomSelfLink.html> [Mike]
  1093 - Improved support for podcasts in portal blocks and fixed an error where REALLY
  1094   long syndication feeds could blow portal blocks up. [Mike]
  1095 - Only use the multi-byte string functions when the current character set is
  1096   UTF-8 (reported by Rick78) [Dirk]
  1097 - COM_hit() is now called from COM_siteFooter() instead of doing the UPDATE SQL
  1098   directly (reported by Joe Mucchiello) [Dirk]
  1099 - New function SEC_encryptPassword() to be used when we have to encrypt a
  1100   password. This is only a wrapper for md5() for now but should it make easier
  1101   for us to use some other method in the future [Dirk]
  1102 - Incorporated patches by Joe Mucchiello for places in the code where the
  1103   template library was used incorrectly.
  1104 - By defining the constant XHTML as ' /', themes can now be XHTML compliant
  1105   (patches provided by dengen from geeklog.jp)
  1106 - Added batch admin feature to send out account reminders [Blaine]
  1107 - Hide "Create Account" link in the story submission form when new account
  1108   registration has been disabled (reported by Markus Wollschläger) [Dirk]
  1109 - Updated COM_startBlock to set a unique {blockid} template variable [Blaine]
  1110 - Fixed checking of "Show Admin lists" in Group Admin when going to 2nd page of
  1111   results [Oliver]
  1112 - Created new function for Admin-Menu display and removed that functionality
  1113   from ADMIN_list-functions. [Oliver]
  1114 - Fixed missing N/A display when no plugin version number was available
  1115   (reported by Machinari) [Dirk]
  1116 - Avoid division by zero error when $_CONF['limitnews'] == 0
  1117   (reported by Samuel M. Stone) [Dirk]
  1118 - Bugfix: Atom always assumes 0.3 and doesn't handle article dates. (Reported by
  1119   mystral-kk on the forums). [Mike]
  1120 - Added OpenID 1.1 support, provided by Choplair
  1121 - Pass site_name into story templates so advanced linking to items like digg.com
  1122   can be templated cross-site. [Mike]
  1123 - Revamped DB Backups option. It now lists all backups (all .sql files), and
  1124   lets you download and delete backups from there [Dirk]
  1125 - Fixed checking for errors when sending Pingbacks or Pings [Mike, Dirk]
  1126 - When receiving a Pingback, optionally create an excerpt from the text of the
  1127   site that sent the Pingback [Dirk]
  1128 - Portal blocks now use the HTTP Last-Modified and ETag headers to only request
  1129   feeds when they have changed [Dirk]
  1130 - The {read_more_class} variable now contains class="story-read-more-link" (if
  1131   defined) for consistency with the class name used in {readmore_link} [Dirk]
  1132 - Changed the Security Check to only check if any Root users have their password
  1133   as "password" [Dirk]
  1134 - Made admin/sectest.php recognize 403 status codes (reported by THX100) [Dirk]
  1135 - All plugin API's, where not doing very, very plugin specific activities now
  1136   call a matching CUSTOM_ function. [Mike]
  1137 - Integrated support for passing parameters to phpblock functions (Patch #643 by
  1138   Joe Mucchiello) [Mike]
  1139 - Fixed numerous HTML errors in admin pages [Oliver]
  1140 - Added a missing blank between the day's name and the date in the Older Stories
  1141   block (reported by Jeruvy's girlfriend, via IRC) [Dirk]
  1142 - fixed bug [#648] sending new password email returns "Ok" message although
  1143   it fails when SMTP Server cannot be reached [Oliver]
  1144 - Need to include parameters in the URL when sending Pingbacks, e.g. to
  1145   Serendipity [Dirk]
  1146 - When sending Pingbacks, also search for <link rel="pingback"> if the linked
  1147   site does not send an X-Pingback header [Dirk]
  1148 - When sending Pingbacks for a story that had identical link texts for different
  1149   URLs, only the last of those links was pinged [Dirk]
  1150 - Implemented new Autouninstall for plugins. Plugins runs a function that passes
  1151   a specific array to a core function that removes all given element of the
  1152   plugin.  The function inside the plugin can handle aditional removals that
  1153   the core code cannot [Oliver]
  1154 - Fixed search by date in Calendar (reported and patch provided by Jeffrey Hare)
  1155 - Only allow autotags in normal blocks (bug #653) [Dirk]
  1156 - Added {story_topic_image_no_align} and {story_anchortag_and_image_no_align}
  1157   in stories so that you have access to the topic image without the alignment
  1158   (feature request #410) [Dirk]
  1159 - Show autotags in story editor to Admin even if all HTML is allowed [Oliver]
  1160 - Allow comments to be closed, i.e. display the existing comments but don't
  1161   accept any new ones [Dirk]
  1162 - Introduced COM_getCharset which returns the currently used character set (to
  1163   avoid code duplication). It should be save to simply use $LANG_CHARSET in
  1164   most cases, though [Dirk]
  1165 - Added optional Wikitext postmode for stories [Oliver]
  1166 - Added optional noreply-email address option to config.php to prevent
  1167   spammers retrieving the admin's email address from registering online [Oliver]
  1168 - Added support for "Microsummaries" to index.php.
  1169   See (http://wiki.mozilla.org/Microsummaries) [Mike]
  1170 - Story "Rewrite" - significant re-structure of story code to fix all issues
  1171   with posting HTML special characters etc. [Mike]
  1172 - Added ability to have Body Text in user submitted stories. To deactivate,
  1173   edit layout\theme\submit\submitstory.thtml and submitstory_advanced.thtml
  1174     [Mike]
  1175 - fixing the dimension-resizing of uploaded images. If an image would be within
  1176   the max width after resizing, the max height might still be off. This is
  1177   solved with the new code. [Oliver]
  1178 - Removed tzcode table and started using PEAR::Date instead since all timezone
  1179   information is stored in there. [Oliver]
  1180 - Added timezone selector to preferences page [Oliver]
  1181 - Fixed COM_getLangSQL() to escape the underscore character '_' which happens
  1182   to be a wildcard character when used with LIKE. In a multi-language setup,
  1183   this may accidentally display unwanted items (reported by Kenji Ito) [Dirk]
  1184 - Addressed problems with the text direction (ltr/rtl) and the hard-coded
  1185   English text in admin/sectest.php (reported by LWC) [Dirk]
  1186 - Due to a language file change, the login form in users.php ("Try Logging in
  1187   Again") now asked for a "new password" (reported by Laugh) [Dirk]
  1188 - Remove the "Are you secure?" (getBent) block from the database as its
  1189   functionality has been moved to admin/sectest.php (reported by LWC) [Dirk]
  1190 - Added config option what should be displayed after user saving [Oliver]
  1191 - Added config option what should be displayed after story saving [Oliver]
  1192 - Images in articles (inc. topic icon) aligned with float [Oliver]
  1193 
  1194 - New Czech language file for the Calendar and Links plugins, provided
  1195   by Ondrej Rusek
  1196 - New Danish language file for the Calendar plugin, provided by dirtyjensen
  1197 - Updated Dutch language files, provided by Ronald Edelschaap
  1198 - New Dutch language file for the Calendar plugin, provided by John van Gaal
  1199 - Updated French Canadian language files for Geeklog and the Static Pages plugin
  1200   and new language files for the Calendar, Links, and Polls plugins, provided
  1201   by Jean-Francois Allard
  1202 - Updated Hebrew language file, provided by LWC
  1203 - Updated Japanese language files for Geeklog and all the plugins, provided
  1204   by the Geeklog Japanese group
  1205 - New Korean language files for Geeklog and most of the plugins, provided
  1206   by Tetsuko Komma and Kim Younghie
  1207 - Updated Spanish (UTF-8) language file and new Spanish (UTF-8) language files
  1208   for all the plugins, provided by Jose R. Valverde
  1209 
  1210 Calendar plugin (1.0.2)
  1211 ---------------
  1212 - Calendar block now includes events from the current day (in progress or all
  1213   day events, bug 0000604, patch from forums)
  1214 - Fixed deleting events submissions from the Events editor [Dirk]
  1215 - The global $_STATES has been removed from Geeklog. The state in an event's
  1216   details is now a simple text entry field.
  1217 - The form to add an event to the personal calendar was missing the site footer
  1218   (reported by Mark Evans) [Dirk]
  1219 - Fixed Calendar feeds: The first parameter to the getFeedContent function is
  1220   the feed's ID, not the feed limit (bug #659) [Dirk]
  1221 - Highlight search queries [Dirk]
  1222 - Autouninstall implemented [Oliver]
  1223 - Added Batch-Delete functionality [Oliver]
  1224 - Added config option what should be displayed after event saving [Oliver]
  1225 
  1226 Links plugin (2.0.0)
  1227 ------------
  1228 - Fixed deleting link submissions from the Links editor (didn't work in at least
  1229   all 1.4.x versions) [Dirk]
  1230 - Added owner_id field to submissions to record submitter and align with
  1231   stories behavior [Oliver]
  1232 - Autouninstall implemented [Oliver]
  1233 - Added "Report Broken Link" function [Oliver]
  1234 - Added Link Verification to Link Admin [Oliver]
  1235 - Added config option what should be displayed after link saving [Oliver]
  1236 - Added Link sub-category options [Euan]
  1237 
  1238 Polls plugin (2.0.1)
  1239 ------------
  1240 - Autouninstall implemented [Oliver]
  1241 - Added Support for multiple questions grouped into a survey [Oliver]
  1242 - Added Support for closing polls [Oliver]
  1243 - Added Support for hiding poll results of open polls [Oliver]
  1244 - Added config option what should be displayed after event poll [Oliver]
  1245 
  1246 Spam-X plugin (1.1.1)
  1247 -------------
  1248 - Fixed the "edit" modules not working with the French language files (reported
  1249   bye Joe) [Dirk]
  1250 - Autouninstall implemented [Oliver]
  1251 - Fixed an error with the SLV module when $_CONF['site_url'] was empty
  1252   (reported by AA6QN) [Dirk]
  1253 - Added support for blocking entire IP ranges, using either CIDR notation or
  1254   simple x.x.x.x-y.y.y.y ranges [Dirk]
  1255 
  1256 Static Pages plugin (1.5.0)
  1257 -------------------
  1258 - Bugfix: In a multi-language setup, we need to be able to see all topics for
  1259   the centerblock option [Dirk]
  1260 - Bugfix: Allow the static pages "page format" setting to override
  1261   $_CONF['show_right_blocks'] (reported by Simon Lord) [Dirk]
  1262 - New Static pages Autotag: staticpage_content to return the contents of a
  1263   static page instead of a link to a static page [Oliver]
  1264 - Now using a template to display static pages [Oliver]
  1265 - Autouninstall implemented [Oliver]
  1266 - The static pages editor was looking for the advanced editor template in the
  1267   wrong place, due to an uninitialized variable (reported by k74) [Dirk]
  1268 - Allow static pages to replace tags also on PHP-generated content [Oliver]
  1269 - Added config option what should be displayed after page saving [Oliver]
  1270 - Added comments feature [Oliver]
  1271 
  1272 
  1273 Dec 31, 2006 (1.4.1)
  1274 ------------
  1275 
  1276 - Changed the default character set in config.php back to iso-8859-1 [Dirk]
  1277 - Removed display of the site URL from admin/sectest.php. On sites not installed
  1278   in the webroot, it did not display the site's actual URL, which only causes
  1279   confusion (reported by Dazzy) [Dirk]
  1280 - Fixed conflict between the Spam-X DeleteComment and SLVreport action
  1281   modules which prevented the count of deleted spams from being incremented
  1282   [Dirk]
  1283 - Fixed max. allowed length for a user's homepage (128) and location (96) in the
  1284   preferences/profile.thtml template file (reported by burjans) [Dirk]
  1285 - Fixed page title after a successful batch import of users (which read "Error")
  1286   [Dirk]
  1287 - Back in Geeklog 1.4.0, a counter was added to the Spam-X plugin to count all
  1288   deleted spam posts. The counter was only added in fresh installs of 1.4.0,
  1289   though, but not when upgrading from an earlier version. Fixed that [Dirk]
  1290 - In lists created from the Links and Calendar plugins, use "links-new-plugin"
  1291   as the CSS class name [Oliver]
  1292 
  1293 - Updated Estonian language file, provided by Artur Räpp
  1294 - Updated Russian language file, provided by Alexander Yurchenko
  1295 - New Russian language file for the Calendar plugin, provided by Alexander
  1296   Yurchenko
  1297 - Updated Turkish language file, provided by Kemal Cellat
  1298 
  1299 
  1300 Dec 17, 2006 (1.4.1rc1)
  1301 ------------
  1302 
  1303 - Improved handling of UTF-8 feeds (feature request #631) [Mike, Dirk]
  1304 - Fixes for the remaining MS SQL issues (bugs #620, #621, #622, #624)
  1305   [Randy Kolenko, Dirk]
  1306 - Initialize SQL request arrays to prevent PHP errors (e.g. with static pages),
  1307   reported by ldfoo [Dirk]
  1308 - Escape the '#' sign in spam checks since we're using it as the separator
  1309   character for the regexp [Dirk]
  1310 - Mark Evans provided a set of patches that let plugins hook into the user
  1311   registration, story and comment submission as well as the contact user and
  1312   email story forms. These hooks can be used to add CAPTCHAs to those forms,
  1313   but may also come in handy for other plugin applications.
  1314   Also modified several template files to include a {captcha} variable to ease
  1315   installation of Mark's CAPTCHA plugin.
  1316 - Update the timestamp for the last run of PLG_runScheduledTask before calling
  1317   the function to minimize the risk of the call being triggered more than once
  1318   (bug #628) [Dirk]
  1319 - In a multi-language setup, allow one static page per language to take over
  1320   the index page (bug #625) [Dirk]
  1321 - sectest.php didn't perform the test for the install script and default
  1322   passwords on some setups (reported by Christian Weiske) [Dirk]
  1323 - Fixed "delete account" option (reported by Paul Lelgemann) [Dirk]
  1324 - Fixed counting of comments in several places where comments were counted
  1325   without taking the type of the parent object into account (e.g. when a story
  1326   and a poll happened to use the same id, their comment counts would have been
  1327   messed up) [Dirk]
  1328 - Editing a story did reset the trackback count (reported by T. Marquez) [Dirk]
  1329 - In the admin's story editor, set the debug option for the image upload only
  1330   when $_CONF['debug_image_upload']  = true (thus avoiding the "Warning: File #x
  1331   on the HTML form was empty" messages in error.log) [Dirk]
  1332 - Renamed [calendar:] autotag back to [event:] for backward compatibility. It
  1333   also makes more sense this way, since it does provide a link to an event, not
  1334   a link to a calendar (bug #619) [Dirk]
  1335 - Need to check if field 'etids' is NULL (for MySQL 4) for the Daily Digest
  1336   (bug #595) [Dirk]
  1337 - Removed the outer table from the layout and merged several style declarations
  1338   into the body-tag declaration [Oliver]
  1339 - The spam check for comment posts did not include the comment title (reported
  1340   by Laugh) [Dirk]
  1341 - When multi-language support is enabled, allow language-specific overrides
  1342   of the locale settings, e.g. $_CONF['date_en'] and $_CONF['date_de'] to
  1343   overwrite $_CONF['date'] depending on the current language [Dirk]
  1344 - When installing the Geeklog database using InnoDB tables, create a
  1345   'database_engine' entry in gl_vars, so that plugins know to use InnoDB for
  1346   their tables. Updated the bundled plugins to act accordingly [Dirk]
  1347 - DB_query will now (optionally) accept an array of SQL request strings from
  1348   which it will pick the one applicable for the currently used database type
  1349   [Vinny, Dirk]
  1350 - Provide some more meta information in header.thtml [Dirk]
  1351   + added optional {lang_id} variable and lang attribute
  1352   + added a hreflang attribute to the feed links
  1353   + added <link rel="home">, <link rel="search">, <link rel="contents"> links
  1354     (via the {rel_links} variable)
  1355 - COM_isFrontpage has been deprecated, as it had its return values inverted
  1356   (returns false when on the site's index page). Use COM_onFrontpage instead
  1357   from now on [Dirk]
  1358 - Fixed check for new stories from archive topic [Dirk]
  1359 - Call PLG_templateSetVars() from STORY_renderArticle() so we can have custom
  1360   variables in the story templates [Dirk]
  1361 
  1362 - Updated Chinese language files (traditional and simplified), provided by
  1363   Samuel M. Stone
  1364 - Updated Japanese language files for Geeklog and all the plugins, provided
  1365   by the Geeklog Japanese group
  1366 - Updated Ukrainian language files (Windows-1251, KOI8-U, and UTF-8 encoding)
  1367   for Geeklog and all the plugins, provided by Vitaliy Biliyenko
  1368 
  1369 
  1370 Nov 5, 2006 (1.4.1b2)
  1371 -----------
  1372 
  1373 - Fixed potential SQL injection in the story editor preview (required Story
  1374   Admin permissions) [Dirk]
  1375 - Added multi-language support in static pages centerblocks and search [Dirk]
  1376 - When cloning a static page, keep the original's "wrap in a block" setting
  1377   [Dirk]
  1378 - Spam-X stats: Removed MT-Blacklist entry, added SLV whitelist entry [Dirk]
  1379 - Don't add empty "No Title" links in portal blocks when the feed has less than
  1380   the configured max. number of entries (bug #610) [Dirk]
  1381 - Added support for COM_mail to use a parm for a CC: distribution list [Blaine]
  1382 - Fixed bug #603, hardcoded mysql_error() [Oliver]
  1383 - Fixed bug #604, delete trackbacks of a story when story is deleted [Oliver]
  1384 - Allow users to switch the language again, even when the default character set
  1385   is not UTF-8. It is, however, not possible to mix UTF-8 and other charsets.
  1386   Also, "UTF-8" is not displayed in the language dropdown any more [Dirk]
  1387 - Corrected SQL for group counting in Admin menu for root admin to fix bug #573
  1388   [Oliver]
  1389 - Properly encode non-ASCII characters in email headers (subject, names),
  1390   loosely based on patch #489 and code from Cal Henderson's book [Dirk]
  1391 - Removed the Calendar styles and moved them to a dedicated file in the
  1392   plugin's directory [Oliver]
  1393 - Sorted all stylesheet definitions alphabetically and split semantics and
  1394   classes [Oliver]
  1395 - When making a topic the archive topic, update all existing stories in that
  1396   topic to "archived" status (and likewise revert that status if the topic
  1397   loses its archive topic status) [Dirk]
  1398 - Don't count archived stories as new stories in the What's New block [Dirk]
  1399 - Moved the defines for STORY_ARCHIVE_ON_EXPIRE and STORY_DELETE_ON_EXPIRE to
  1400   lib-story.php (from config.php) where they make more sense [Dirk]
  1401 - COM_getPermSQL was using the current user's group information when called for
  1402   another user. In Geeklog, this only happens for the Daily Digest, though
  1403   (bug #594) [Dirk]
  1404 - When comments are disabled for a story, don't show any existing comments in
  1405   the What's New block, in search results or via comment.php (bug #597) [Dirk]
  1406 - When trackbacks are disabled for a story, don't list any existing trackbacks
  1407   in the What's New block [Dirk]
  1408 - In the Admin's User Editor, disabled the checkboxes for the All Users,
  1409   Logged-in Users, and Remote Users groups to prevent accidental change of
  1410   group membership [Dirk]
  1411 - When deleting a topic, also delete all Trackbacks attached to stories in that
  1412   topic and update the Older Stories block and the feeds [Dirk]
  1413 - Fixed approve / delete of draft stories from moderation.php [Dirk]
  1414 - Strip blanks from the name of a PHP block function when saving a PHP block
  1415   [Dirk]
  1416 - Fixed / added multi-language support in the article directory, What's New
  1417   block, and the search for stories and comments [Dirk]
  1418 - Fixed an SQL error when changing a story's ID [Dirk]
  1419 - Call SET NAMES 'utf8' when using UTF-8 as the site's character set (with
  1420   MySQL), as pointed out by several people [Dirk]
  1421 - Removed wrong parameter when calling up the comment form again when the
  1422   comment's title was missing. This bug existed for both story and polls
  1423   comments. (bug #591) [Dirk]
  1424 - Users who were only in the Syndication Admin group didn't have access to
  1425   Command and Control (moderation.php) [Dirk]
  1426 - For Block, Group, Polls, Story and Topic Admins only display the number of
  1427   the respective entries they can actually see (instead of the number of all
  1428   entries, e.g. topics, in the system) [Dirk]
  1429 - Fixed highlighting parse error when the search term contained an apostrophe
  1430   (bug #590) [Dirk]
  1431 - Improved (and subsequently fixed) Pingback spam detection which now also uses
  1432   the $_CONF['check_trackback_link'] settings [Dirk]
  1433 - directory.php was still using $LANG30 instead of $LANG_MONTH (bug #583) [Dirk]
  1434 - When upgrading the database from 1.4.0, only update those plugins that are
  1435   actually installed (disabled or not) [Dirk]
  1436 - CSS Changes to support better scaling of Font size - using browser Text-Size
  1437   adjustment. Removed many extra font-size declarations. [Blaine]
  1438 - Don't allow viewing of a Banned user profile unless user admin [Blaine]
  1439 - Only call CUSTOM_loginErrorHandler when custom_registration is enabled
  1440   (bug #584) [Blaine]
  1441 - Fixed SQL error with some older MySQL versions when calling up the Batch User
  1442   Delete option [Oliver]
  1443 - Comments always displayed the comment author's full name, even when
  1444   $_CONF['show_fullname'] was set to 0 [Dirk]
  1445 - Fixed 404 (caused by a request for a file named '(none)') in the user profile
  1446   display when a user doesn't have a userphoto [Dirk]
  1447 
  1448 - New Estonian language files for Geeklog and most of the plugins, provided
  1449   by Artur Räpp
  1450 - Updated Hebrew language file, provided by LWC
  1451 - Updated Japanese language files for Geeklog and all the plugins, provided
  1452   by the Geeklog Japanese group
  1453 - New Russian language files for the Spam-X plugin, provided by Pavel Kovalenko
  1454 - Updated Slovenian language files for Geeklog and all the plugins, provided
  1455   by gape
  1456 
  1457 Calendar plugin
  1458 ---------------
  1459 - Created a dedicated stylesheet file and include the file only if the URL
  1460   contains the word 'calendar' [Oliver]
  1461 - Tweaked the Calendar search result listing: Removed the Event Description
  1462   (usually too long for the result listing), replaced Location (which is only a
  1463   part of the address and not very helpful) with Event Type, minimized Date &
  1464   Time display for events lasting only one day (don't list date twice) [Dirk]
  1465 
  1466 Links plugin
  1467 ------------
  1468 - Renamed classes block-vote-results to poll-vote-results and block-vote to
  1469   poll-vote [Oliver]
  1470 - Removed duplicate "Other" entry from the Link submission form [Dirk]
  1471 - In the Admin's list of links, only display an edit icon for links that the
  1472   current user can actually edit (they did get a proper error message when
  1473   trying to edit such a link, though) [Dirk]
  1474 - Don't return the number of links in the links submission queue if the
  1475   current user does not have links.moderate permissions [Dirk]
  1476 - Filter out special characters from link IDs. They were properly escaped
  1477   before storing them in the database but caused problems when using them
  1478   (bug #565) [Dirk]
  1479 
  1480 
  1481 Sep 17, 2006 (1.4.1b1)
  1482 ------------
  1483 
  1484 - Changes to templates and CSS to remove deprecated HTML (align= and valign=)
  1485   Removed un-used CSS declarations, redundant font-family declarations
  1486   Removed use of font-size percentage and used more acceptable EM units [Blaine]
  1487 - Don't display an "edit" link in a story if the current user doesn't have
  1488   edit permissions for the story's topic (bug #558) [Dirk]
  1489 - Added a new script to check the site's security (admin/sectest.php). This
  1490   replaces the "get bent" PHP block, but also performs additional checks [Dirk]
  1491 - Created a Batch Delete function for users that easily identifies inactive or
  1492   old users and allows mass-deletion of those [Oliver]
  1493 - Updated FCKeditor to version 2.3.1 [Blaine]
  1494 - Added ability to filter out Admin related groups on the Group Admin page
  1495   Allows users to easily see only user groups. When editing non-core groups,
  1496   You can select if this group is an Admin Group [Blaine]
  1497 - Added ability to multi-select submission queue items on the moderation page
  1498   and delete them all at once [Blaine]
  1499 - Always make "Submissions" the first entry in the Admins Only block to keep
  1500   the correspondence between the other entries and the icons on the moderation
  1501   page undisturbed (and because it's an important entry) [Dirk]
  1502 - Fixed 'emailstoriesperdefault' config option (bug #553) [Dirk]
  1503 - Added support for Microsoft SQL Server, provided by Randy Kolenko
  1504 - Introduced $_CONF['disallow_domains'] as a blacklist of domain names that are
  1505   not allowed for new users during signup. Both 'disallow_domains' and
  1506   'allow_domains' can also contain regular expressions [Dirk]
  1507 - Introduced DB_lockTable / DB_unlockTable to encapsulate the LOCK / UNLOCK
  1508   requests when updating the comments table [Dirk]
  1509 - Fixed bug: [#540] Blocking the last Root user or yourself should not be
  1510   possible [Oliver]
  1511 - Fixed bug: [#546] The phrase "Story Stats" is hardcoded [Oliver]
  1512 - Added a spam check to the email user form [Dirk]
  1513 - Use the same piece of code to compare plugin version numbers in lib-admin.php
  1514   and admin/plugins.php to avoid the "update" button not appearing for some
  1515   version numbers (bug #542) [Dirk]
  1516 - Re-implemented $_CONF['allow_domains'] whitelist (when the user submission
  1517   queue is enabled) that was inexplicably missing from 1.4.0 [Dirk]
  1518 - Merged User Preferences and Account information into one page, like the
  1519   Story editor with tabs etc. [Blaine, Oliver]
  1520 - Tried to make "3 new stories in the last 1 day" sound less awkward by going
  1521   back one unit, i.e. "3 new stories in the last 24 hours", in the What's New
  1522   block (likewise for 1 week, 1 month, etc.) [Dirk]
  1523 - Introduced config options to set the default for the story's draft flag
  1524   and frontpage option (feature request #163) [Dirk]
  1525 - Introduced $_CONF['hide_main_page_navigation'] to hide the "Google paging"
  1526   from index.php (may be useful for some layouts) [Dirk]
  1527 - Allow (optional) usage of autotags in "normal" blocks (can be enabled /
  1528   disabled per block) [Dirk]
  1529 - Introduced a {story_counter} variable in the story templates. It's 0 on the
  1530   article page and in previews, but 1 for the first story, 2 for the second,
  1531   etc. on the index page (per page, i.e. starts with 1 again on the second page)
  1532   [Dirk]
  1533 - Require that users enter their current password when changing their password,
  1534   email address or "Remember me for" setting. Redesigned the Account Information
  1535   page and added a note about this requirement. [Dirk]
  1536 - Prevent accidental banning of users when the Admin edits a user's information
  1537   using a theme that wasn't updated for Geeklog 1.4.0+ [Dirk]
  1538 - $_CONF['show_fullname'] now works as expected, i.e. when setting it to = 1,
  1539   a user's full name will be displayed everywhere in Geeklog instead of the
  1540   username (assuming the users entered their full name) [Dirk]
  1541 - Fixed a bug in the article directory where December was not listed when no
  1542   stories had been posted in that month (reported by Kino and Ivy of geeklog.jp)
  1543 - Replace Geeklog's [imageX] tags before extracting the What's Related links
  1544   from a story to prevent the (verbatim) tag to show up in the block [Dirk]
  1545 - Update story ids in the gl_trackback table when a story's id is changed [Mike]
  1546 - Implemented new plugin API function, PLG_spamAction, to perform the spam
  1547   actions in case spam has been detected through some other means (e.g.
  1548   trackbacks from sites that don't link back to us) [Dirk]
  1549 - Implemented new plugin API function, plugin_enablestatechange_, to inform
  1550   plugins when they are about to be enabled / disabled (Patch #405) [Dirk]
  1551 - Support backslashes in comment and submissions in HTML mode [Mike]
  1552 - Added breadcrumb functionality to the navbar class (v1.1) [Blaine]
  1553 - Enhancements to navbar templates and CSS for a more 3D TAB'ed look [Blaine]
  1554 - Changed several <table>s to <div>s + CSS in the Professional theme [Oliver]
  1555 - Introduced generic function to delete a user's photo to avoid code
  1556   duplication and slightly different error handling in various places [Dirk]
  1557 - Made the new user registration form remember the user's input so that they
  1558   don't have to retype everything in case of an error [Dirk]
  1559 - In the Admin's user list, banned users are indicated by striked-through
  1560   entries (based on a hack by Andy Maloney) [Dirk]
  1561 - Added new setting $_CONF['onlyrootfeatures']. This is for sites where two or
  1562   more story admins can feature stories that the other admins cannot see. The
  1563   setting prevents that one admin does not see that there is another recent
  1564   story featured and sets one by himself, "stealing" the feature from the other.
  1565 - Changed "Reply"-button to "Post a comment" [Oliver]
  1566 - Implemented an error handler to supress all PHP level errors and display a
  1567   much more userfriendly error text to the end user. Prevents all path exposure,
  1568   prevents "white error page" mystery debugging fun. [Mike]
  1569 - Full sweep of all code for $_REQUEST/$_GET/$_POST and $_COOKIE use. Made sure
  1570   that COM_applyFilter, or other safe usage is made of the variables. [Mike]
  1571 - Added an option to hide the "No News To Display" message on the index page
  1572   (new config option $_CONF['hide_no_news_msg']) [Dirk]
  1573 - Added an option to check if the sites sending trackbacks are actually linking
  1574   to our site (see $_CONF['check_trackback_link'] in config.php) [Dirk]
  1575 - Made it impossible to save two syndication feeds with identical filenames
  1576   [Oliver]
  1577 - Stories with comments/trackbacks disabled, do not show comment/trackback
  1578   url in RSS feeds [Mike]
  1579 - Added email confirmation fields for new user and usersettings [Oliver]
  1580 - Allow changing of group ownership for "gldefault" blocks. Requires a change
  1581   in admin/block/defaultblockeditor.thtml to enable the group dropdown. On a
  1582   fresh install, all the blocks (with the exception of "Are you secure?") are
  1583   now owned by the Block Admin group [Dirk]
  1584 - Users created by a User Admin should not be queued for approval, even when
  1585   $_CONF['usersubmission'] = 1 [Dirk]
  1586 - Introduced 'syndication.edit' permission and 'Syndication Admin' group so
  1587   that access to the Content Syndication panel no longer requires 'Root'
  1588   permissions [Dirk]
  1589 - For the "Submissions" entry in the Admins Only block, only count story and
  1590   event submissions when the current user has story.moderate or event.moderate
  1591   permissions, respectively [Dirk]
  1592 - On admin/moderation.php, list the stories that have their draft flag set only
  1593   when the current user has story.edit permission [Dirk]
  1594 - Fixed empty lines in a Group Admin's list of groups when that Group Admin
  1595   was not a member of all groups [Dirk]
  1596 - Renamed the misnamed CUSTOM_runSheduledTask function (in lib-custom.php) to
  1597   CUSTOM_runScheduledTask. Don't forget to make that change in your copy of
  1598   lib-custom.php if you're using that functionality! [Dirk]
  1599 - Improved error log contents when unable to acquire a feed reader for a portal
  1600   block. [Mike]
  1601 - Extended plugin API for feed extensions to include feed id and the topic (for
  1602   adding topic/feed specific data) [Mike]
  1603 - Don't attempt to rename a non-existing user photo when
  1604   $_CONF['allow_username_change'] is enabled (reported and fix suggested by
  1605   Yusuke Sakata) [Dirk]
  1606 - Made changes to ensure compatibility with MS SQL, as suggested by
  1607   Randy Kolenko [Dirk]
  1608 - The "last login date" column in the Admin's list of users now uses
  1609   $_CONF['shortdate'] so that it includes the year [Dirk]
  1610 - Fixed batch user import (which set all imported users to status "Awaiting
  1611   Authorization" instead of "Awaiting Activation") [Mike]
  1612 - Fixed admin lists google paging for use in static pages etc. [Oliver]
  1613 - Added support for a custom login error handler function,
  1614   CUSTOM_loginErrorHandler [Blaine]
  1615 - Format the user agent string according to the RFCs 1945 / 2068 / 2616, i.e.
  1616   "Geeklog/1.4.1" when trying to detect a Trackback URL [Dirk]
  1617 - Made the search option on the Admin pages behave like the site search, i.e.
  1618   it doesn't require you to pad queries with '*' any longer [Dirk]
  1619 - In story search results, show/hide the "Author" and "Views" columns based on
  1620   the $_CONF['contributedbyline'] and $_CONF['hideviewscount'] settings [Dirk]
  1621 - Introduced $_CONF['title_trim_length'] to make the max. title length of items
  1622   in the What's New block configurable (feature request #525). Also implemented
  1623   a new function COM_truncate (based on a patch by Yusuke Sakata) that properly
  1624   handles truncation of multi-byte text strings if the mb_ functions are
  1625   available [Dirk]
  1626 - Added a JavaScript confirmation box to most delete buttons/links. If you'd
  1627   rather not have such a confirmation, use {delete_option_no_confirmation}
  1628   instead of {delete_option} in the admin templates [Dirk]
  1629 - Fixed RSS Feed parser to create RFC 822 dates in en_GB or en_US locale as per
  1630   the RFC spec [Mike]
  1631 - Removed obsolete "do not use spaces" warning from user editor (bug #530)
  1632   [Dirk]
  1633 - Show fullname/username according to config.php settings in stories [Oliver]
  1634 - Added possibility to change the css-class for admin list headers and fields
  1635   [Oliver]
  1636 - Added unified new style class to stats.php/style.css to have all lists on
  1637   the page look the same [Oliver]
  1638 - Added multi-language support, based on earlier works by Euan McKay and LWC.
  1639   Also see http://wiki.geeklog.net/wiki/index.php/Multi-Language_Support
  1640 - Changed the default path for topic icons to /images/topics [Dirk]
  1641 - Fixed an SQL error when calling up the Admin's list of stories without any
  1642   topics [Dirk]
  1643 - Removed the public_html/portal.php script, as it is no longer needed [Dirk]
  1644 - Remove uninstalled plugins from the global $_PLUGINS array immediately
  1645   (just in case the array would be used to trigger any actions) [Dirk]
  1646 - The "Topic" column in the list of feeds was empty for feeds that are only
  1647   linked from a topic page [Dirk]
  1648 - Only use the mb_substr workaround in the calendar when the current character
  1649   set is UTF-8 (bug #524) [Dirk]
  1650 - Fixed SQL error on MySQL 5 when listing the members of a group (bug #527)
  1651   [Dirk]
  1652 - When emailing a story, don't include the text "Comment on this story at ..."
  1653   when comments have been switched off for that story [Dirk]
  1654 - Fixed wrong wording of some of the "access denied" messages when trying to
  1655   access Admin panels without proper privileges [Dirk]
  1656 - Fixed display of Admin block for users that only had certain Admin privileges
  1657   [Dirk]
  1658 
  1659 - New Afrikaans language file, provided by Renier Maritz
  1660 - Updated Hebrew language file, provided by LWC
  1661   The Hebrew language file was also renamed to hebrew_utf-8.php for consistency
  1662   with the other UTF-8 language files.
  1663 - Updated Turkish language file, provided by Kemal Cellat
  1664 
  1665 Calendar plugin (1.0.0)
  1666 ---------------
  1667 - Bugfix: Replace autotags in the event description [Dirk]
  1668 - Added an option to switch between 24 hour and 12 hour am/pm mode for entering
  1669   and editing events [Dirk]
  1670 - Implemented plugin_enablestatechange API function to enable/disable plugin
  1671   feeds and blocks when the plugin is enabled/disabled [Dirk]
  1672 - Added calendar plugin initial version [Oliver]
  1673 
  1674 Links plugin (1.0.1)
  1675 ------------
  1676 - Implemented plugin_enablestatechange API function to enable/disable plugin
  1677   feeds when the plugin is enabled/disabled [Dirk]
  1678 - Changed the english language file from "Web Resources" to "Links"
  1679 - Fixed hard-coded link to the "admin" directory when editing a link (reported
  1680   by Ronnie Rigl) [Dirk]
  1681 - Optimized SQL requests for the plugin's What's New section [Dirk]
  1682 - Re-introduced {button_links} header variable [Dirk]
  1683 - Added an option to hide the Top Ten Links on the first page [Dirk]
  1684 - Made the page title on the Web Resources page more informative by adding the
  1685   category and page number [Dirk]
  1686 - The edit icon (only visible for Links Admins) now uses the same image type
  1687   as the current theme (was previously hardcoded to "edit.gif") [Dirk]
  1688 - Hide the "Web Resources" link from the menu when login is required to see
  1689   the links (for consistency with the Polls plugin) [Dirk]
  1690 - Added a title attribute to the links on the site stats page that contains
  1691   the link's actual URL [Dirk]
  1692 - Fixed site link in search results which wasn't using portal.php [Dirk]
  1693 - The Admin's search option now also searches the link description [Dirk]
  1694 - Removed extra <small> tags from the What's New section (bug #526) [Dirk]
  1695 
  1696 Polls plugin (1.1.0)
  1697 ------------
  1698 - Fixed call to undefined function polllist when calling up a non-existing
  1699   poll [Dirk]
  1700 - Implemented plugin_enablestatechange API function to enable/disable the poll
  1701   block when the plugin is enabled/disabled [Dirk]
  1702 - Fixed search [Dirk]
  1703 - Added a remark field for polls answers [Oliver]
  1704 - Re-introduced {button_polls} header variable [Dirk]
  1705 - Added an option to hide the link to the polls from the menu (for consistency
  1706   with the Links plugin) [Dirk]
  1707 - Fixed poll URLs on the site stats page [Dirk]
  1708 - Remove the polls block when uninstalling the Polls plugin (another part of
  1709   bug #520) [Dirk]
  1710 
  1711 Spam-X plugin (1.1.0)
  1712 -------------
  1713 - Added SLV (Spam Link Verification) modules [Dirk]
  1714 - The MT-Blacklist modules are not being shipped with Geeklog any longer. The
  1715   MT-Blacklist entries are removed from the database during the upgrade [Dirk]
  1716 - Allow special characters (e.g. backslashes) in the Admin modules (e.g. the
  1717   Personal Blacklist module) [Dirk]
  1718 - Moved spam actions to plugin_spamaction_spamx API function [Dirk]
  1719 - Fixed potential problems with the checkforSpam function's return code in case
  1720   of unusual configurations (e.g. $_CONF['spamx'] = 0) [Dirk, Tom Willet]
  1721 - Made the plugin's internal log flag a proper config option. So you can now
  1722   disable logging to spamx.log from the plugin's config.php [Dirk]
  1723 - Mass delete by IP now uses stored IP address [Mike]
  1724 
  1725 Static Pages plugin (1.4.3)
  1726 -------------------
  1727 - Make sure autotags are replaced even when execution of PHP code is disabled
  1728   (reported by LWC) [Dirk]
  1729 - Added a help URL for the block display of static pages [Oliver]
  1730 - Added ability in staticpage editor to enable/disable Advanced Editor mode
  1731   so you can use FCKeditor and then if need basic html edit mode [Blaine]
  1732 - Fixed default sorting order for the list of static pages [Dirk]
  1733 - Allow to show/hide update date/time and hits [Oliver]
  1734 - When creating a new page, don't set the default group ownership to the Static
  1735   Page Admin group if the current user is not a member of that group. Instead,
  1736   pick a group with staticpages.edit permission that the user is a member of
  1737   [Dirk]
  1738 - Fixed paging for the list of static pages (bug #528) [Dirk]
  1739 
  1740 
  1741 January 8, 2008 (1.4.0sr6)
  1742 ---------------
  1743 
  1744 MustLive pointed out a possible XSS in the form to email an article to a
  1745 friend that we're fixing with this release.
  1746 
  1747 
  1748 July 23, 2006 (1.4.0sr5-1)
  1749 -------------
  1750 
  1751 This release fixes display problems in the comment preview that were only
  1752 introduced in Geeklog 1.4.0sr5 (as a result of the fix for the XSS).
  1753 
  1754 The complete 1.4.0sr5-1 tarball also includes the following language files:
  1755 
  1756 - New Afrikaans language file, provided by Renier Maritz
  1757 - Updated Hebrew language file, provided by LWC
  1758 - Updated Turkish language file, provided by Kemal Cellat
  1759 
  1760 
  1761 July 16, 2006 (1.4.0sr5)
  1762 -------------
  1763 
  1764 JPCERT/CC informed us about a possible XSS in the comment handling that we're
  1765 fixing with this release.
  1766 
  1767 
  1768 June 30, 2006 (1.4.0sr4)
  1769 -------------
  1770 
  1771 Two exploits have been released by "rgod" for insecure Geeklog installations
  1772 and for a bug in the "mcpuk" file manager that we've been shipping as part of
  1773 FCKeditor in all 1.4.0 releases.
  1774 
  1775 - Some of the files outside of the public_html directory were not protected
  1776   against direct execution. If Geeklog was installed such that those files were
  1777   accessible from a URL (which has always been strongly discouraged in the
  1778   installation instructions) then those files could be used to load and
  1779   execute malicious code from a remote server.
  1780 
  1781   More information: http://www.geeklog.net/article.php/so-called-exploit
  1782 
  1783   In this release, we've added the missing execution prevention for all files
  1784   outside of public_html. We would still, however, suggest that you fix your
  1785   Geeklog install if the files outside of public_html are accessible from a URL.
  1786 
  1787 - The "mcpuk" file manager that we've integrated into FCKeditor allowed the
  1788   upload of arbitrary PHP code (even if FCKeditor was disabled in Geeklog's
  1789   config.php). Depending on your webserver's configuration, it was then possible
  1790   to execute that uploaded code.
  1791 
  1792   More information:
  1793   http://www.geeklog.net/article.php/exploit-for-fckeditor-filemanager
  1794 
  1795   The file manager has been removed from this release. You will therefore no
  1796   longer be able to upload files, e.g. images, through FCKeditor. Future
  1797   versions of Geeklog will ship with an updated version of FCKeditor and its
  1798   included file manager.
  1799 
  1800 
  1801 May 28, 2006 (1.4.0sr3)
  1802 ------------
  1803 
  1804 The Security Science Researchers Institute Of Iran reported the following
  1805 security issues:
  1806 
  1807 - Possible SQL injection and authentication bypass in auth.inc.php
  1808 - Possible XSS in getimage.php
  1809 - Path disclosure in getimage.php and the functions.php of some themes,
  1810   e.g. the Professional theme
  1811 
  1812 An internal code review also revealed a possible SQL injection in story
  1813 submissions.
  1814 
  1815 
  1816 Mar 5, 2006 (1.4.0sr2)
  1817 -----------
  1818 
  1819 Security issues:
  1820 
  1821 - Konstantin Dyakoff found an old bug in the session handling that would allow
  1822   anyone to log in as any user.
  1823 - HTML was not stripped from the Location field in a user's profile.
  1824 
  1825 
  1826 Feb 19, 2006 (1.4.0sr1)
  1827 ------------
  1828 
  1829 Security issues:
  1830 
  1831 - James Bercegay of GulfTech Security Research reported several issues with
  1832   Geeklog's cookie handling that made it vulnerable to SQL injections, arbitrary
  1833   file access, and even injection and execution of arbitrary code.
  1834 
  1835 Bugfixes:
  1836 
  1837 - Fixed bug in page-break combined with url rewrite (bug #521) [Oliver]
  1838 - Fixed Story [page_break] showing only intro on first page [Oliver]
  1839 - Fixed install script for the Spam-X plugin which was trying to include an SQL
  1840   file that doesn't exist - and wasn't needed (part of bug #520) [Dirk]
  1841 
  1842 - Updated Hebrew language file, provided by LWC
  1843 - New Russian language files for the Links and Polls plugins, provided by
  1844   Volodymyr V. Prokurashko
  1845 - Fixed Static pages dutch language file [Oliver]
  1846 - New Polish language file for the Links plugin, provided by Robert Stadnik
  1847 - Added UTF-8 English versions of the Links, Polls, Static Pages, and Spam-X
  1848   language files [Dirk]
  1849 - Added all UTF-8 Language files for core [Oliver]
  1850 
  1851 
  1852 Feb 5, 2006 (1.4.0)
  1853 ------------
  1854 
  1855 - Prevent execution of PHP code in "normal" blocks [Dirk]
  1856 - Added missing navbar images - used for CSS based buttons as part of the
  1857   standard Plugin CSS [Blaine]
  1858 - Set options in FCKConfig to have Firefox browsers by default not using the
  1859   <span> and font tags to format Bold and Italic [Blaine]
  1860 - Fixed another bug in google pagination of admin-lists [Oliver]
  1861 - Fixed "wrap static page in a block" and "exit type" options in the static
  1862   page editor. Also link to the "rewritten" URL from the list of static pages
  1863   when URL rewriting is on [Dirk]
  1864 - Fixed JavaScript error in the Admin's story editor (bug #479) [Dirk]
  1865 - Fixed hard-coded paths in the check.php script and added tests for missing
  1866   directories (reported by Markus Wollschlaeger) [Dirk]
  1867 - A humble attempt to add some semantics [Dirk]
  1868   + Added rel="category tag" to a story's topic link
  1869   + Added rel="self bookmark" for a comment's permalink
  1870 - Cosmetics: Moved the number of links per category out of the actual link to
  1871   the category [Dirk]
  1872 - On MySQL 5, the drop-down list of link categories presented to a user when
  1873   submitting a new link came out wrong (while the one in the Admin's link
  1874   editor worked just fine). Moved the working code into a new function in the
  1875   plugin's functions.inc and changed the code to use it in both cases now [Dirk]
  1876 - Fixed an SQL error when the "length of entries" field in the Feed Editor was
  1877   left empty [Dirk]
  1878 - Fixed date and time defaulting to the current date and time when creating
  1879   a new event as an Admin user (adding a workaround for changes of strtotime()
  1880   behavior in PHP 5) [Dirk]
  1881 - Fixed SQL error on MySQL 5 when creating a new topic (bug #517) [Dirk]
  1882 - In HTTP requests, format the user agent string according to the RFCs 1945 /
  1883   2068 / 2616, i.e. "Geeklog/1.4.0" [Dirk]
  1884 
  1885 - Updated Japanese language files, provided by Yusuke Sakata
  1886 - Updated Ukrainian (Windows-1251) language file, provided by Vitaliy Biliyenko
  1887 
  1888 
  1889 Jan 22, 2006 (1.4.0rc2)
  1890 ------------
  1891 
  1892 - header.thtml now specifies the CSS Class Declaration to use for the body.
  1893   This addresses the issue with FCKeditor when displayed, its CSS was
  1894   over-riding the main site <body> tag and the site margin padding was being
  1895   affected [Blaine]
  1896 - Removed CSS for the Forum plugin from style.css [Blaine]
  1897 - Fixed "Cannot modify header ..." message when logging in from the admin
  1898   pages (reported by Samuel M. Stone). This also fixes confusing intermittent
  1899   displays during the login (e.g. only some of the "Command and Control" icons
  1900   showing up, messages about missing permissions flashing up) [Dirk]
  1901 - Removed Geeklog version number from feed files due to security concerns
  1902   (pointed out by Samuel M. Stone) [Dirk]
  1903 - Login through the admin pages didn't work with register_globals=off [Dirk]
  1904 - Fixed admin lists so pagination works also in static pages [Oliver]
  1905 - Pass GeekLog as user agent when fetching RSS feeds [Mike]
  1906 - Made the image upload work with out-of-the-box PHP 5 configurations [Dirk]
  1907 - Fixed handling of HTML entities in Pingbacks [Dirk]
  1908 - Fixed Spam-X Mass Delete Trackback Spam module to update the story's trackback
  1909   count when deleting trackbacks [Dirk]
  1910 - Fixed a possible SQL error when saving a block (reported by BDUB) [Dirk]
  1911 - Fixed story titles in the What's New block when they contained HTML entities
  1912   (entities where sometimes cut off and/or encoded twice) [Dirk]
  1913 - Fixed a typo in all the plugin install script which set the group description
  1914   to "grp_desc" instead of $grp_desc (found by Ingo Schaefer) [Dirk]
  1915 - Improved autodetect of Trackback URLs [Dirk]
  1916 - The submit story form was not selecting the advanced Editor if user was not
  1917   logged in or did not have Story Editor permissions [Blaine]
  1918 - Added missing CSS class name "list-feed" for portal blocks [Dirk]
  1919 - Fixed user submission queue (reported by Andrew Lawlor) [Dirk]
  1920 - Fixed handling of integer fields in the Admin's story editor (reported by
  1921   Ron Ackerman) [Dirk]
  1922 - Fixed handling of checkboxes in the static pages editor (reported by
  1923   Ron Ackerman) [Dirk]
  1924 - Fixed SQL error when saving a static page that had had more than 1000 hits
  1925   (reported by Euan McKay) [Dirk]
  1926 - Removed visible table border from advanced comment editor form [Blaine]
  1927 - Moved some hard-coded text strings from the advanced editor into the
  1928   language files [Blaine]
  1929 
  1930 - Updated Chinese language files, provided by Samuel M. Stone
  1931 - Updated Japanese language files, provided by Yusuke Sakate
  1932 
  1933 
  1934 Dec 31, 2005 (1.4.0rc1)
  1935 ------------
  1936 
  1937 - Added support for Advanced Editor in the Add Comment Feature [Blaine]
  1938 - Fixed SQL error in search on MySQL 5 (fix suggested by dariball) [Dirk]
  1939 - Added trackback.php and pingback.php to the included robots.txt [Dirk]
  1940 - Added a few more calls to COM_numberFormat all over the place (links and polls
  1941   plugins, Admins Only block, ...) [Dirk]
  1942 - Fixed test for a Geeklog 1.3.9 database in the install script [Dirk]
  1943 - When emailing a story, make sure all fields are filled in [Dirk]
  1944 - Don't lose the current topic selection when a Story Admin uses the Contribute
  1945   link [Dirk]
  1946 - Fixed highlighting of search query in comments when register_globals = off
  1947   [Dirk]
  1948 - When the entries in the Admin's block are not sorted, make sure the icons in
  1949   Command and Control are in the same order as the block entries [Dirk]
  1950 - Allow topic icons to be uploaded to and retrieved from a 'topics' directory
  1951   outside of the document root [Dirk]
  1952 - Added a workaround to produce abbreviated day names in the calendar for UTF-8
  1953   language files (reported by Euan McKay) [Dirk]
  1954 - The Spam-X plugin now uses the same "universal" install script as the other
  1955   three preinstalled plugins [Dirk]
  1956 - Added more allowable HTML tags and attributes if Advanced_Editor enabled
  1957   config.php setting [Blaine]
  1958 - Added logic to detect if Javascript was not enabled and Advanced Editor was
  1959   enabled.
  1960   User will be prompted with alert and able to use the default editor [Blaine]
  1961 - Changed spam handling for Trackbacks and Pingbacks to check for spam on the
  1962   unfiltered Trackback/Pingback content [Dirk]
  1963 - When editing a link submission with a new link category (i.e. the submitter
  1964   selected "other" and entered a non-existing category), make sure that new
  1965   category actually shows up in the links editor [Dirk]
  1966 - In the Admin's list of stories, show the display name of the topic (i.e. the
  1967   same as in the Topics block) instead of the topic ID [Dirk]
  1968 - Hide the edit icon in the Admin's list of stories when the current user
  1969   doesn't have edit access to a story (since they only got a note saying they
  1970   can't edit that story anyway) [Dirk]
  1971 - Fixed alternating row colors in admin lists if one row has no data [Oliver]
  1972 - Made it impossible to switch off blocks if there is no access [Oliver]
  1973 - Fixed handling of items in the submission queues (it was only possible to
  1974   approve / delete the first item in a queue) [Dirk]
  1975 - Grant users with 'plugin.edit' permission access to the plugin editor [Dirk]
  1976 - Changed admin-lists 'default-filter' to require 'AND' [Oliver]
  1977 - Fixed admin lists for events & static pages for non-root users [Oliver]
  1978 - Fixed invalid language string in submit.php [Oliver]
  1979 - Fixed problems with the query highlighting code escaping double quotes [Dirk]
  1980 - In the list of plugins, display only the plugin's current version number as
  1981   long as it's in sync with the code version or the plugin hasn't implemented
  1982   the chkVersion API function [Dirk]
  1983 - Limit length of a new user's username to 16 characters in the
  1984   admin/user/edituser.thtml template file [Dirk]
  1985 - Don't display the current user's userphoto when creating a new user in
  1986   admin/user.php [Dirk]
  1987 - Fixed sanity checks in USER_addGroup and USER_delGroup [Trinity, Dirk]
  1988 - Allowed the Links-entry from the top menu to be hidden by config.php in links
  1989   [Oliver]
  1990 - Fixed small HTML validation issues with adv. editor and admin lists [Oliver]
  1991 - Fixed comment bug that allowed comments to be saved even when user did not
  1992   have the correct story/topic permissions. [Vinny]
  1993 - Send the character set as an HTTP header from COM_siteHeader now [Oliver]
  1994 - Fixed updating Links feeds [Mike]
  1995 - Corrected RSS handling of GUID or LINK [Mike]
  1996 - Fixed date format in Atom feeds [Mike]
  1997 - Fixed loss of sort setting when browsing the user list [Oliver]
  1998 - Fixed block title of the site stats (reported by Tom Willet) [Dirk]
  1999 - Fixed an SQL error when approving the default story submission ("Are you
  2000   secure?") after a fresh install (reported by suvi) [Dirk]
  2001 - Fixed warnings that exposed the full path to Geeklog when attempting SQL
  2002   injections on the advanced search [Mike]
  2003 - The "Mail Users" icon was missing from Command and Control [Dirk]
  2004 - In Command and Control, show the Trackback icon only when at least one of the
  2005   Trackback, Pingback, or Ping features is enabled (in addition to 'story.ping'
  2006   permissions for the current user) [Dirk]
  2007 - Replaced the delete_event.gif icon (in layout/professional/images/icons) with
  2008   a PNG, since the Professional theme uses PNGs now and the icon wouldn't show
  2009   up otherwise [Dirk]
  2010 - The block around the list of backups was missing the title [Dirk]
  2011 - Don't emit the Trackback and Pingback headers when trackbacks have been
  2012   disabled for a story [Dirk]
  2013 - Introduced {lang_trackback_comments_no_link} (in trackback/trackback.thtml)
  2014   so that you can have an article page entirely without links back to itself
  2015   (for picky spiders such as the one for Google News) [Dirk]
  2016 - Call COM_refresh when creating a user with usersubmission = 1 [Mike]
  2017 - Fixed sorting of Trackbacks in the What's New block [Dirk]
  2018 - The search by author or by date switched to searching for everything on
  2019   page 2 of the results [Dirk]
  2020 - For the Links plugin, the "last x days" text in the What's New block was
  2021   missing [Dirk]
  2022 - Fixed an SQL error when creating new blocks [Mike]
  2023 - The feed reader will now also follow redirects [Mike]
  2024 
  2025 - Updated Chinese traditional and simplified language files, and new Chinese
  2026   language files for the Links, Polls, and Static Pages plugins, provided by
  2027   Samuel M. Stone
  2028 - German language files now exist in 4 combinations (formal / informal German,
  2029   ISO-8859-15 / UTF-8 encoding) for Geeklog, the Links, Polls and Static Pages
  2030   plugins [Dirk]
  2031 - Updated Japanese language files, provided by Yusuke Sakate
  2032 - New Ukrainian language files (Windows-1251) for Geeklog and all four plugins,
  2033   provided by Vitaliy Biliyenko
  2034 - New Ukrainian language files (UTF-8 and KOI8-U encoding) for Geeklog, the
  2035   Spam-X, and Static Pages plugins, provided by Yaroslav Fedevych
  2036 
  2037 
  2038 Nov 20, 2005 (1.4.0b1)
  2039 ------------
  2040 
  2041 - Introduced {start_storylink_anchortag} and {end_storylink_anchortag} template
  2042   variables in the story and commentbar template files which only produce a
  2043   link to the story when not on article.php, thus avoiding links back to the
  2044   article page itself, which the spider for Google News doesn't seem to like
  2045   (feature request #486) [Dirk]
  2046 - Added a workaround for image uploads using GD when ImageCreateTrueColor is
  2047   not available (patch #468) [Dirk]
  2048 - Allow a subject to be passed as a parameter for the "contact user" form
  2049   (based on patch #497) [Dirk]
  2050 - Added support for right-to-left languages (based on patch #488) [Dirk]
  2051 - Update Feeds and Older Stories block when changing topic settings [Dirk]
  2052 - Added a hits counter to events and added a Top Ten Events section to the
  2053   site stats [Dirk]
  2054 - Introduced $_CONF['show_topic_icon'], i.e. the default setting whether to
  2055   show topic icons or not [Dirk]
  2056 - The "Older Stories" block now only lists articles that appeared on the
  2057   frontpage (i.e. have not been set to "Show only in topic", bug #408) [Dirk]
  2058 - Fixed problems with query highlighting in stories scrambling links in
  2059   autotags (bug #492) [Dirk]
  2060 - Group names are now unique (as they should have been from the beginning). The
  2061   install script takes care of existing duplicate group names when upgrading
  2062   to 1.4.0 (bug #367) [Dirk]
  2063 - Allow for more topic IDs in the user's preferences (bug #490) [Dirk]
  2064 - Replace autotags in the Daily Digest (bug #484) [Dirk]
  2065 - Explicitly link to /docs/index.html for the documentation link in the Admin's
  2066   block (bug #504) [Dirk]
  2067 - Added an option to enable / disable trackbacks per story (just like you can
  2068   enable / disable comments per story) [Dirk]
  2069 - Changed COM_optionList to check for language arrays which override the text
  2070   strings that are embedded in the database (for comment mode, featured story,
  2071   post mode, etc.) Bug #227 [Dirk]
  2072 - Fixed Bug #174 -- quotes in titles are no longer double htmlentized [Vinny]
  2073 - The default permissions for new objects (stories, topics, blocks, etc.) can
  2074   now be set in config.php (feature request #90) [Dirk]
  2075 - Added an "Active users" entry to the site statistics. If Geeklog is configured
  2076   to track a user's last login, this will display the number of users who
  2077   logged into the site during the last 4 weeks. Otherwise, it displays the
  2078   number of user accounts with status = 3 (i.e. have logged into their account
  2079   at least once and haven't been banned) [Dirk]
  2080 - Introduced a new plugin API function so that the plugin's summary (e.g.
  2081   number of items) can be properly integrated with the "Site Stats" section.
  2082   Modified stats/sitestatistics.thtml, removed stats/stats.thtml, added
  2083   stats/singlesummary.thtml template files [Dirk]
  2084 - Introduced a generic function, USER_getPhoto, which provides the user's photo,
  2085   if available. The function also supports getting the user's avatar from
  2086   gravatar.com (if enabled in config.php) [Dirk]
  2087 - The texts in the What's New block ("x new stories in the last y hours",
  2088   "last 2 weeks", etc.) now properly reflect the actual settings of the
  2089   $_CONF['newXXXinterval'] variables (bug #390) [Oliver, Dirk]
  2090 - Introduced a method to signal a forced update for feeds in case the content
  2091   of one of the feed entries has changed  - so far, we only checked if entries
  2092   had been added or removed (bug #277) [Dirk]
  2093 - Added $_CONF['show_right_blocks'] option which, if set = true, will display
  2094   right-side blocks on all pages (also addresses feature request #31) [Dirk]
  2095 - Fixed bug #454, SQL error when reading comments. [Vinny]
  2096 - Leave off the "page=1" parameter on the "Google paging" navigation bar for
  2097   links that point back to the first page [Dirk]
  2098 - The default feed for a new site is now in RSS 2.0 format and named
  2099   "geeklog.rss" [Mike, Dirk]
  2100 - Added time of the day to the name of the database backups to allow several
  2101   backups a day [Oliver]
  2102 - When the search returns no results, the search form is now pre-populated
  2103   with the last search query, so that it can be changed easily. On successful
  2104   searches, a "refine search" link will appear that also takes you back to a
  2105   pre-populated search form (to refine your search, obviously) [Dirk]
  2106 - Changed search to only return a certain amount of hits per page, thus
  2107   avoiding timeouts on servers where the script execution time is limited
  2108   (bug #274) [Dirk]
  2109   A new config variable, $_CONF['num_search_results'], defines the number of
  2110   search results to be returned per page (and per type). The search form also
  2111   includes a drop-down menu where this can be changed for every search.
  2112   Plugins will have to indicate if they support this "paged" search. Otherwise,
  2113   Geeklog will fake the paging for the plugin, so that the plugin does a full
  2114   search for every page, but Geeklog will only display the hits for the current
  2115   page (such a plugin can therefore still cause a timeout until it is changed
  2116   to support "paged" searching).
  2117 - Added a permanent link to comments (in the professional theme) [Vinny]
  2118 - Added new icons for the admin sections and made sure each admin section
  2119   now has an icon in admin/moderation.php [Dirk]
  2120   The new icons have been taken from the Gnome project (some of them modified
  2121   by Jakub Steiner). They are released under the GPL.
  2122 - Introduced global variable $_IMAGE_TYPE that specifies the image type to
  2123   use. Defaults to 'gif'. Themes can override it to use other images types,
  2124   e.g. PNG, for all images [Dirk]
  2125 - Added option to upload topic icons (Feature Request #415, Patch #423),
  2126   provided by Alford Deeley (machinari)
  2127 - Changed the Admin's "Command and Control" center such that there is an icon
  2128   for every entry in the Admin's block [Dirk]
  2129 - Removed duplicate code for creating a "topic SQL" query in moderation.php
  2130   (use COM_getTopicSQL instead) [Dirk]
  2131 - Added the ability to allow users to login via defined remote services (ships
  2132   with Blogger and LiveJournal support) [Mike]
  2133 - Added the ability to ban users, and to tell when a user has logged in at least
  2134   once [Mike]
  2135 - Added edit-icon, List-Sorting, searching, Limits & alternating row colors
  2136   in admin menus for groups, syndication, staticpages, trackback
  2137   (where not yet done) [Oliver]
  2138 - Added function to allow user-defined scaling of images in articles by using
  2139   [unscaledX] instead of [imageX] [Oliver]
  2140 - Removed $_CONF['whosonline_fullname'] option - use $_CONF['show_fullname']
  2141   instead [Dirk]
  2142 - Fixed bug where extra slashes appeared when previewing comments [Vinny]
  2143 - Removed the "lastvisit" cookies, as they are obviously not used [Dirk]
  2144 - Removed redundant changepwd-button & code from /admin/user.php (Bug #9)
  2145   [Oliver]
  2146 - Added new feature to insert a feed-links into header depending on topic, to
  2147   be chosen from /admin/syndication.php in the form of
  2148   <link rel="alternate" type="application/{format}+xml" ....> [Oliver]
  2149 - Added options to google-Navigation so it can be used by plugins and work with
  2150   url-rewriting (feature request #315). [Oliver]
  2151 - Userlist now also shows Registration Date and if $_CONF['lastlogin']= true it
  2152   shows the last login date instead. [Oliver]
  2153 - Added option in config.php to hide "Viewed: x" line with
  2154   $_CONF['viewscountline'] just as the $_CONF['contributedbyline'] [Oliver]
  2155 - Added function COM_numberFormat to format displayed numbers with custom
  2156   decimal & thousand - separators and fixed decimal places if necessary
  2157   Includes the respecitve 3 new config.php values in locale section.
  2158   (Feature Request #298) [Oliver]
  2159 - Default Blocks showed always in all Topics before. Now you can choose to show
  2160   them in All/only one topic/only on homepage like other blocks (feature #326)
  2161   [Oliver]
  2162 - A Story can now break over several pages in the body-text. The tag
  2163   [page_break] will split the bodytext in pieces that can be opened with the
  2164   std. COM_printPageNavigation. Introtext is removed for pages>1 [Oliver]
  2165 - Added field for old password check in /usersettings.php (bug #230) [Oliver]
  2166 - Added password confirmation to /admin/user.php and /usersettings.php
  2167   (bug #230) [Oliver]
  2168 - Made the alternating row colors in the Admin's trackback functions compatible
  2169   with the scheme used in other places (list of users, etc.). Also changed the
  2170   list of weblog directory services so that editing is now done by clicking on
  2171   the number of the service [Dirk]
  2172 - Stories are no longer forced to be featured _and_ on frontpage (bug #362)
  2173   [Oliver]
  2174 - Changed links locations in User-list, added user-photo indicator [Oliver]
  2175 - Don't update a story's date any more when unchecking the 'draft' flag
  2176   (bug #400) [Dirk]
  2177 - Don't use "rewritten" URLs in the static pages editor any more (bug #403).
  2178   Also updated the list of static pages to use alternating colors for the
  2179   rows [Dirk]
  2180 - Use "\r\n" when sending trackback pings (bug #407) [Dirk]
  2181 - Allow autotags to optionally have a space after the tag name [Blaine]
  2182   Valid tags are:
  2183   [story:20040101093000103 here] or [story: 20040101093000103 here]
  2184 - Fixed inconsistent use of {site_url} and {layout_url} in some of the
  2185   professional theme's admin template files - using {layout_url} everywhere
  2186   now when referring to icons (bug #395) [Dirk]
  2187 - Event titles containing quotes were cut off at the first quote in the event
  2188   editor, i.e. both the admin's event editor and the editor for personal events.
  2189   (bug #399) [Dirk]
  2190 - Modified PLG_templateSetVars API to also check for a custom function [Blaine]
  2191   Users can now set header template using CUSTOM_templatesetvars()
  2192 - Added new CSS declarations as recommened CSS for plugins   [Blaine]
  2193 - Added a basic scheduler Plugin API plugin_runScheduledTask  [Blaine]
  2194   Interval is set in config.php - $_CONF['cron_schedule_interval']
  2195 - Enhanced the Group Admin interface display [Blaine]
  2196 - Enhanced the User Admin display and made the headings sortable [Blaine]
  2197 - Geeklog will now properly handle html special characters (such as quotes and
  2198   ampersands) in comment titles (bug #174) [Vinny]
  2199 - Hide 'edit' option for articles in preview (bug #347) [Dirk]
  2200 - Changed admin/user.php to use file() for the batch import [Dirk]
  2201 - Implemented pinging weblog directory services like blo.gs and weblogs.com
  2202   (Feature Request #35). By default, we ping pingomatic.com [Dirk]
  2203 - Complete overhaul of the Plugin Comment API to reduce the likelyhood of
  2204   plugins introducing security problems.  Older plugins that use the comment
  2205   API will no longer work. [Vinny]
  2206 - Refactored Comment code out of lib-common.php and into lib-comment.php, also
  2207   some changes to comment.php [Vinny]
  2208 - Introduced a 'story.ping' permission that enables users to send Pings,
  2209   Pingbacks, and Trackbacks for a story (or plugin item). Members of the Story
  2210   Admin group have that permission by default.
  2211 - Overhauled install script: It will now abort the installation if the minumum
  2212   requirements (PHP 4.1.0, MySQL 3.23.2) are not met. It also displays a warning
  2213   message if register_long_arrays is off (PHP 5 only, bug #360). Another
  2214   warning message is displayed if "public_html" is part of the URL.
  2215   When upgrading, it now tries to identify the Geeklog version that was used
  2216   previously (only really works for versions 1.3.8 - 1.3.11) [Dirk]
  2217 - Fixed date in comment preview (bug #370) [Dirk]
  2218 - Incorporated the new syndication framework for reading and writing feeds of
  2219   different formats (RSS, RDF, Atom), provided by Michael Jervis (patch #352).
  2220   This contribution also addresses Task #19 ("RSS import class") and Feature
  2221   Request #67 ("Limiting number of entries in RSS feeds").
  2222   Please note that the feed writer classes, system/classes/*.feed.class.php,
  2223   are now obsolete and can be removed. Please also note this adds new PEAR
  2224   package requirements for Net_URL and HTTP_Request.
  2225 - Added support for sending and receiving trackback comments (Feature Request
  2226   #34) Also implemented Pingback support in pretty much the same way. Once
  2227   received, Geeklog treats Trackbacks and Pingbacks the same and stores them
  2228   in the gl_trackback table. [Dirk]
  2229   Both can be switched off in config.php: $_CONF['trackback_enabled'] = false;
  2230   and $_CONF['pingback_enabled'] = false;
  2231 - Added a new script, directory.php, that implements a date-based listing of
  2232   all the stories on a site [Dirk]
  2233   A link to the directory is available as a new option, 'directory', for the
  2234   $_CONF['menu_elements'] config variable, so that it can be added to the menu.
  2235 - The column headline for event search results was not displayed [Dirk]
  2236 - Added logos to syndication feeds. [Mike]
  2237 - Added config option to disable new accounts (Patch #426 from Alford Deeley)
  2238   [Mike]
  2239 - Alphabet Sort on Admin Menu and C&C Block [Mike]
  2240 
  2241 - New Farsi (Persian) language file, provided by Hesam.H
  2242 - Updated Japanese language file, provided by Yusuke Sakata
  2243 
  2244 - New Farsi (Persian) language file for the static pages plugin,
  2245   provided by Hesam.H
  2246 
  2247 Links plugin 1.0.0
  2248 ------------
  2249 - Added ID-editor and Autotags-feature [link: ... ] [Oliver]
  2250 - Added Category-Specific Feeds [Oliver]
  2251 - Added Edit-Icon, List-Sorting, searching, Limits & etc for admin menu [Oliver]
  2252 - Moved links functionality into a plugin [Trinity, Oliver]
  2253 
  2254 Polls plugin 1.0.0
  2255 ------------
  2256 - Polls moved to a plugin [Trinity]
  2257 
  2258 Spam-X plugin 1.0.3
  2259 -------------
  2260 - The LogView module now automatically truncates the Spam-X logfile to 100KB
  2261   [Tom Willet]
  2262 - The IP Blacklist module now supports regular expressions [Mike]
  2263 - Added a Mass Delete module for Trackback comments [Dirk]
  2264 - Added an "admin override" option, so that postings by members of the 'spamx
  2265   Admin' group will not be checked for spam [Dirk]
  2266 
  2267 
  2268 July 16, 2006 (1.3.11sr7)
  2269 -------------
  2270 
  2271 JPCERT/CC informed us about a possible XSS in the comment handling that we're
  2272 fixing with this release.
  2273 
  2274 
  2275 May 28, 2006 (1.3.11sr6)
  2276 ------------
  2277 
  2278 The Security Science Researchers Institute Of Iran reported the following
  2279 security issues:
  2280 
  2281 - Possible SQL injection and authentication bypass in auth.inc.php
  2282 - Possible XSS in getimage.php
  2283 - Path disclosure in getimage.php and the functions.php of some themes,
  2284   e.g. the Professional theme
  2285 
  2286 An internal code review also revealed a possible SQL injection in story
  2287 submissions.
  2288 
  2289 
  2290 Mar 5, 2006 (1.3.11sr5)
  2291 -----------
  2292 
  2293 Security issue:
  2294 
  2295 - Konstantin Dyakoff found an old bug in the session handling that would allow
  2296   anyone to log in as any user.
  2297 
  2298 
  2299 Feb 19, 2006 (1.3.11sr4)
  2300 ------------
  2301 
  2302 Security issues:
  2303 
  2304 - James Bercegay of GulfTech Security Research reported several issues with
  2305   Geeklog's cookie handling that made it vulnerable to SQL injections, arbitrary
  2306   file access, and even injection and execution of arbitrary code.
  2307 - Prevent execution of PHP code in "normal" blocks
  2308 
  2309 
  2310 Dec 12, 2005 (1.3.11sr3)
  2311 ------------
  2312 
  2313 Security issues:
  2314 
  2315 - Fixed comment bug that allowed comments to be saved even when user did not
  2316   have the correct story/topic permissions (reported by LWC) [Vinny]
  2317 - Fixed a path disclosure in case someone tampered with the start date or end
  2318   date in advanced search (reported by r0t3d3Vil) [Mike]
  2319   Feeding malformed dates to the search caused a warning message to be displayed
  2320   that disclosed the path to the Geeklog install on the server. It was NOT
  2321   possible to use this for SQL injections.
  2322 
  2323 Bugfixes:
  2324 
  2325 - Fixed the problems (introduced in 1.3.11sr2) editing static pages when
  2326   $_CONF['url_rewrite'] = true (bug #491) [Dirk]
  2327 - The "Reply" button didn't work when viewing individual comments [Vinny]
  2328 - Fixed the definition of the 'expire' field (in table gl_stories), which
  2329   caused an SQL error when doing a fresh install on MySQL 5
  2330   (reported by Johannes) [Dirk]
  2331 
  2332 - Fixed and updated the Hebrew language file [LWC, Dirk]
  2333 - New Ukrainian language file (Windows-1251), provided by Vitaliy Biliyenko
  2334 - New Ukrainian language files (UTF-8 and KOI8-U encoding) for Geeklog, the
  2335   Spam-X, and Static Pages plugins, provided by Yaroslav Fedevych
  2336 
  2337 
  2338 Oct 9, 2005 (1.3.11sr2)
  2339 -----------
  2340 
  2341 This release provides security enhancements and better spam protection
  2342 originally developed for Geeklog 1.3.12. It also addresses a few bugs where
  2343 the bugfix could be integrated with a reasonable amount of work (other bugfixes
  2344 will have to wait for the 1.3.12 release).
  2345 
  2346 Security and Spam protection:
  2347 
  2348 - Added speedlimit to login attempts, defaults to allowing three tries in a
  2349   five minute period.  [Vinny]
  2350   See new config options $_CONF['login_attempts'] and $_CONF['login_speedlimit']
  2351 - Changed the spam handling to update the speed limit when spam is detected
  2352   (i.e. handle spam posts as if they were successful posts and make the
  2353   submitter wait for the speed limit to expire). Also send a 403 "Forbidden"
  2354   HTTP response code when displaying the "spam detected" message [Dirk]
  2355   To quote RFC2616: "403 Forbidden: The server understood the request, but is
  2356   refusing to fulfill it. Authorization will not help and the request SHOULD
  2357   NOT be repeated."
  2358 - Filter linefeeds in the To:, From:, and Subject: fields of an email in
  2359   COM_mail [Dirk]
  2360 - When a new user account is created and the user submission queue is enabled
  2361   in config.php, ensure that the user is properly "queued" even in the
  2362   unlikely event that the account creation fails halfway through (reported by
  2363   LWC) [Dirk]
  2364 - When $_CONF['emailstoryloginrequired'] = 1, hide the links to the "email
  2365   story" form from anonymous users [Dirk]
  2366 - When emailing a story, check the user's message that is sent with the story
  2367   for spam [Dirk]
  2368 - Added a robots.txt file to the distribution. By default, it excludes
  2369   comment.php, submit.php, and the docs directory from being spidered [Dirk]
  2370 - Added a spam check to the user profile [Dirk]
  2371 - Story, event, and link submissions are now also checked for spam [Dirk]
  2372 - This release also includes the Spam-X plugin version 1.0.2
  2373 
  2374 Please note that MT-Blacklist (used by Spam-X) has recently been discontinued.
  2375 For the time being, we provide the last version of the blacklist for download
  2376 from geeklog.net (the Spam-X plugin as included in this release is configured
  2377 to get it from there for the initial import). There will, however, be no
  2378 updates the blacklist. For details, please see
  2379 http://www.geeklog.net/article.php/mt-blacklist-discontinued
  2380 
  2381 Bugfixes:
  2382 
  2383 - Fixed an error message thrown up by PHP 5.0.5 or later when viewing the
  2384   article page (bug #483) [Dirk]
  2385 - Fixed bug with topic-specific blocks not showing up on the article page when
  2386   URL rewriting was enabled (bug #401) [Dirk]
  2387 - Fixed missing site header when trying to submit an event without required
  2388   fields. Also fixed that it would redirect you to the story submission form
  2389   then (bug #409) [Dirk]
  2390 - Make sure {menu_elements} is rendered using the menuitem_none.thtml template
  2391   when no menu elements are to be displayed (bug #378) [Dirk]
  2392 - Quote names in email addresses as soon as they contain any non-alphanumeric
  2393   characters (apart from the blank). This also addresses bug #368 [Dirk]
  2394 - Allow single quotes in passwords (bug #396, also previously reported as
  2395   bug #349 / #996354) [Dirk]
  2396 - When $_CONF['profileloginrequired'] was set to 1, the actual message that
  2397   you have to log in before being able to see a user profile was not wrapped
  2398   in the Geeklog framework (reported by Sean C) [Dirk]
  2399 - Fix: Made a story's archive/expire date work with the timezone hack [Dirk]
  2400 - COM_applyFilter will now accept negative numbers if the isnumeric parameter
  2401   is true. Needed to fix problems with pollbooth.php (and others) [Vinny]
  2402 - Upgraded included kses class to version 0.2.2 which fixes problems with
  2403   Japanese and Thai characters (among other things), thus addressing bugs #94
  2404   and #119 [Dirk]
  2405 - Fixed SQL error when using the [staticpage:] autotag (bug #373) [Dirk]
  2406 - Added a missing stripslashes call to remove backslashes when a topic's name
  2407   was displayed in the index page's title (bug #369) [Dirk]
  2408 - Link tags are now translated in printer friendly mode (Bug #411) [Mike]
  2409 - Removed the <meta name="ROBOTS"> entry from the Professional theme's
  2410   header.thtml as "INDEX,FOLLOW" is the default anyway. For finer control,
  2411   we now ship a robots.txt [Dirk]
  2412 
  2413 Improvements:
  2414 
  2415 - Don't check for auto-archived stories when no archive topic has been
  2416   defined yet [Dirk]
  2417 - Added support for a custom_usercheck function. Custom registration code that
  2418   requires certain information can now abort the creation of a new account if
  2419   that information is missing. The function is called after Geeklog has checked
  2420   that the username and email address of the new user are okay (valid and not
  2421   in the database yet), but before the user has been added to the database
  2422   [Dirk]
  2423 - Saved one SQL request for a story's printable view [Dirk]
  2424 
  2425 Language files:
  2426 
  2427 - Made sure all language files refer to Geeklog's [image] tags as [imageX],
  2428   [imageX_right], and [imageX_left] (bug #381) [Dirk]
  2429 
  2430 - New Catalan language file, provided by an anonymous user
  2431 - New Russian (UTF-8) language file, provided by Konstantin Boyandin
  2432 - Updated Hebrew language file, provided by LWC
  2433 - Updated Hellenic (Greek) language file, provided by MzOzD
  2434 - Updated Italian language file, provided by Marcello Teodori
  2435 - Updated Japanese (UTF-8) language file, provided by Yusuke Sakata
  2436 - Updated Portuguese (Brazil) language file, provided by Alcides Soares Filho
  2437 - Updated Russian language file, provided by Konstantin Boyandin
  2438 
  2439 - New Japanese (UTF-8) language file for the Static Pages plugin, provided by
  2440   Yusuke Sakata
  2441 - Updated Italian language file for the Static Pages plugin, provided by
  2442   Marcello Teodori
  2443 - Updated Japanese language file for the Static Pages plugin, provided by
  2444   Yusuke Sakata
  2445 
  2446 
  2447 Aug 21, 2005 (Spam-X plugin 1.0.2)
  2448 ------------
  2449 
  2450 - Changed the display name of the plugin to "Spam-X" to avoid potential
  2451   confusion with the email spam filter of the same name.
  2452   "SpamX" is a registered trademark of Hendrickson Software Components.
  2453 - Added a new module to filter posts based on the IP address of the poster
  2454   [Tom Willet]
  2455 - Added  a new module to filter posts based on the IP address of the
  2456   spamvertised site [Tom Willet]
  2457 - Added a new module to filter posts based on characteristics of the HTTP header
  2458   [Dirk]
  2459 - Fixed the Mass Delete Spam Comments module [Tom Willet]
  2460 - The Spam-X plugin's examine modules run the post through html_entity_decode()
  2461   now in case the spammers try to obfuscate their posts by using HTML entities
  2462   [Tom Willet, Dirk]
  2463 - The Mail Admin action module now also reports the HTTP headers of the post
  2464   that triggered the spam filter [Dirk]
  2465 - Added a simple stats function (reports the number of posts deleted as spam,
  2466   and - to the Spam-X Admin only - the number of entries for each module) [Dirk]
  2467 - Implemented an update function for the plugin [Dirk]
  2468 
  2469 - New Farsi (Persian) language file, provided by Hesam.H
  2470 - New Italian language file, provided by Marcello Teodori
  2471 - New Spanish language file, provided by vivi1123
  2472 
  2473 
  2474 Jul 3, 2005 (1.3.11sr1)
  2475 -----------
  2476 
  2477 This release addresses the following security issue:
  2478 
  2479 Stefan Esser found an SQL injection that can, under certain circumstances,
  2480 be exploited to extract user data such as the user's password hash.
  2481 
  2482 
  2483 Dec 31, 2004 (1.3.11)
  2484 ------------
  2485 
  2486 Geeklog 1.3.11 addresses the following security issues:
  2487 
  2488 1. It was possible to submit stories anonymously even if anonymous submissions
  2489    were turned off in config.php (reported by Barry Wong).
  2490    These stories still ended up in the submission queue, though, unless you
  2491    disabled it in config.php.
  2492 2. Some of the parameters in link and event submissions weren't filtered,
  2493    leaving them open to potential SQL injections.
  2494 3. The links for the What's Related block were created from the unfiltered story
  2495    text, opening the possibility of XSS attacks (reported by Vincent Furia).
  2496 
  2497 Bugfixes:
  2498 
  2499 - Added a missing stripslashes() call for the topic name in the What's Related
  2500   block (bug #351) [Dirk]
  2501   (affected file: system/lib-story.php)
  2502 - Fixed problems in the story editor when editing plain-text posts with
  2503   uploaded images (bug #356) [Dirk]
  2504   (affected file: public_html/admin/story.php)
  2505 - When changing a story ID, update the story ID in any comments to that story,
  2506   too (bug #357) [Dirk]
  2507   (affected file: public_html/admin/story.php)
  2508 - Fixed handling of autotags that started with the same substring, e.g. for
  2509   2 tags 'mytag' and 'mytagtwo', the second tag would not be recognized
  2510   (reported by Dr. Shakagee) [Dirk]
  2511   (affected file: system/lib-plugins.php)
  2512 - Fixed caching of $_GROUPS [Dirk]
  2513   (affected files: system/lib-security.php, public_html/lib-common.php)
  2514 - Made a minor optimization to save one SQL request when displaying the comment
  2515   bar for anonymous users [Dirk]
  2516   (affected file: public_html/lib-common.php)
  2517 - Updated Slovenian language file, provided by gape.
  2518   (affected file: language/slovenian.php)
  2519 
  2520 
  2521 Dec 22, 2004 (1.3.11rc1)
  2522 ------------
  2523 
  2524 - Fixed "archive" option being activated too early on certain non-featured
  2525   stories (bug #345) [Blaine]
  2526 - Added missing handling of autotags in static pages being displayed as center
  2527   blocks (reported by Jill) [Dirk]
  2528 - Fixed size of the 'sid' field in the gl_comments table. It should be 40
  2529   characters, to be able to hold the long story IDs introduced in 1.3.10
  2530   (reported by Douglas Santos) [Dirk]
  2531 - When using mogrify (ImageMagick) to resize uploaded images, the name of the
  2532   image is now enclosed in double quotes instead of single quotes, which
  2533   caused the command to fail on Windows [Dirk]
  2534 - The emails sent from the Spam-X plugin's MailAdmin action now also include
  2535   the IP address of the spam poster [Dirk]
  2536 - SEC_getFeatureGroup() should not overwrite $_GROUPS if not operating on the
  2537   current user (bug #331) [Dirk]
  2538 - Introduced a {camera_icon} variable in story and comment templates that
  2539   displays the little camera icon if the author has uploaded a user photo, just
  2540   like in the Who's Online block (suggested by Laurence Whitworth) [Dirk]
  2541 - The parent link in top-level comments took the user to the homepage rather
  2542   than to the article page (bug #346) [Vinny]
  2543 - Stories submitted for the archive topic will automatically be saved with
  2544   frontpage = 0 when approved, i.e. only be displayed in the topic [Dirk]
  2545 - Avoid emitting an extra <br> tag after the last section in the What's New
  2546   block (bug #330) [Dirk]
  2547 - Update comment count in Older Stories block when a new comment is posted
  2548   (bug #317). Also optimized the code to collect the contents of the Older
  2549   Stories block [Dirk]
  2550 - Fixed extra <br> being emitted in the calendar for events that aren't
  2551   visible for the current user (bug #268) [Dirk]
  2552 - (Event) Admins can now delete events directly from the calendar's day and
  2553   week views (just like events in the personal calendar) [Dirk]
  2554 - Fixed usersettings.php so that it displays the "benefits" message again when
  2555   called up by an anonymous user. Also made it go to the user's preferences
  2556   when called without a 'mode' parameter [Dirk]
  2557 - Added {layout_url} to the available theme variables in the submission forms.
  2558   Also added {separator} for those who prefer correct spelling ;-) [Dirk]
  2559 - More parameter filtering and permission checks in submit.php [Dirk]
  2560 - Fixed over-zealous parameter filtering in links.php which prevented
  2561   categories with apostrophes from working [Dirk]
  2562 - Fixed broken URLs when editing a plain-text story that contained uploaded
  2563   images (reported by LWC) [Dirk]
  2564 - The PEAR classes that ship with Geeklog actually require PHP 4.2.x now.
  2565   However, the missing functions in older PHP versions (minimum requirement
  2566   for Geeklog itself is now PHP 4.1.0) are provided by the PEAR PHP_Compat
  2567   package, which we will have to ship with Geeklog from now on. Added the
  2568   necessary code to lib-common.php to load PHP_Compat, if required [Dirk]
  2569   Many thanks to Tom Willet for providing a test setup.
  2570 - Fixed "quick add form" for personal events, so that it stores the new event
  2571   directly now [Dirk]
  2572 - Fixed handling of 12am/pm in events, event submissions, and when passing the
  2573   time from the calendar to the event submission forms [Dirk]
  2574 - Improved handling of personal events / personal calendar, especially for
  2575   (Event) Admins [Dirk]
  2576 - Fixed What's Related links when magic_quotes_qpc = on [Vinny, Dirk]
  2577 - Fixed use of an undefined variable $U in COM_showBlocks and warning messages
  2578   for undefined array indexes in COM_getCurrentURL (reported by irawen) [Dirk]
  2579 - Allow empty search query strings so that the "More by <author>" and "More
  2580   from <topic>" options work again [Dirk]
  2581 - When deleting a poll, also delete any comments to that poll [Dirk]
  2582 - Delete comments and story images when deleting stories from a deleted topic
  2583   (bug #339) [Dirk]
  2584 - When deleting a story, added an extra check for type='article' when deleting
  2585   the story's comments [Dirk]
  2586 - Set current user as the owner when cloning an event (bug #338) [Dirk]
  2587 - Start time, end time, and event location weren't copied over when adding a
  2588   site event to the personal calendar (bug #336) [Dirk]
  2589 - Fixed wrong use of htmlentities() on comment title (bug #335) [Dirk]
  2590 - Changed "read more" word count so that it ignores HTML tags (bug #333) [Dirk]
  2591 
  2592 - Updated Slovenian language file, provided by gape.
  2593 - Updated Dutch language file, provided by Ko de Pree.
  2594 - Updated Dutch language file for the Static Pages plugin,
  2595   provided by Ko de Pree.
  2596 - New French language files for the Spam-X plugin, provided by Alain Ponton.
  2597 
  2598 
  2599 Nov 28, 2004 (1.3.10)
  2600 ------------
  2601 
  2602 - Allow omission of the link text for the [story:], [event:], and [staticpage:]
  2603   autotags. Geeklog will then use the title (of the story / event / static page)
  2604   as the link text [Dirk]
  2605   (affected files: system/lib-plugins.php, plugins/staticpages/functions.inc)
  2606 
  2607 - Updated Chinese language files (all 4 of them), provided by Samuel M. Stone
  2608 
  2609 
  2610 Nov 21, 2004 (1.3.10rc3)
  2611 ------------
  2612 
  2613 - Changed wording of the error message if the "backups" directory is not
  2614   writable [Dirk]
  2615 - Fixed comments for the DB_result (in lib-database.php) and dbResult
  2616   (in mysql.class.php) functions (bug #320) [Dirk]
  2617 - Display a success message when using the "changepw" option in admin/user.php
  2618   [Dirk]
  2619 - When changing a username, make sure to change the name of the user's photo,
  2620   too (bug #321) [Dirk]
  2621 - Links in "plain text" stories and comments are now made clickable (i.e.
  2622   enclosed in <a> tags) when the post is saved instead of when it's displayed,
  2623   as in the previous release candidates. This also fixes bug #308. [Dirk]
  2624 - Added $_CONF['disable_autolinks'] config option to disable autolinks [Dirk]
  2625 - Removed ViewBlacklist.Admin.class.php from the Spam-X plugin [Tom Willet]
  2626 - Overhauled handling of personal events [Dirk]:
  2627   + Fixed deleting personal events (again).
  2628   + The upcoming events block now links to the event details of personal
  2629     events (just like it already did for site events).
  2630   + Added stricter checks for permissions, user IDs, and the personal calendars
  2631     being activated in the first place.
  2632 - Added a check for allow_url_fopen if reading a (RSS) feed fails and report it
  2633   in error.log if it is off [Dirk]
  2634 - When deleting a story (automatically), make sure we're only deleting comments
  2635   belonging to that story (i.e. added a check for type = 'article') [Dirk]
  2636 - Added {event_type}, {lang_event_type}, and {edit_icon} in all the themes'
  2637   calendar/eventdetails.thtml template file [Dirk]
  2638 - Fixed some URLs in the calendar (missing slash) [Dirk]
  2639 - Comment IDs don't have to be numeric (in comment.php) [Vinny]
  2640 - The Static Pages plugin now takes $_CONF['showfirstasfeatured'] into account
  2641   when displaying static pages in center blocks (reported by eyecravedvd) [Dirk]
  2642 - Forgot to declare $_CONF as global when fixing bug #301 (bug #302) [Dirk]
  2643 
  2644 - Updated Chinese language files (all 4 of them), provided by Samuel M. Stone
  2645 - Updated Japanese language files (euc-jp and UTF-8), provided by Yusuke Sakata
  2646 - Updated Polish language file, provided by Robert Stadnik
  2647 - Updated Slovenian language file, provided by gape
  2648 - Updated Spanish language file, provided by Angel Romero
  2649 - Updated Swedish language file, provided by Markus Berg
  2650 
  2651 
  2652 Oct 24, 2004 (1.3.10rc2)
  2653 ------------
  2654 
  2655 - Fixed plugin update function [Blaine]
  2656 - Set the target encoding in Geeklog's RSS parser (bug #301) [Dirk]
  2657 - Set the {topic_icon} variable to an empty string for the "Home" link in the
  2658   Topics block (reported by jhwhite) [Dirk]
  2659 - Fixed News Box Configuration, i.e. the ability to disable blocks [Vinny]
  2660 - In the story template files, the number of comments now only is a link when
  2661   there actually is a comment on the story [Dirk]
  2662 - Hard-coded the English word 'delete' in the URLs to delete a comment [Dirk]
  2663 - For the list of a user's recent comments, use 'mode=view' to link directly
  2664   to a comment now [Dirk]
  2665 - Fixed comment id in comment notification emails [Dirk]
  2666 - Fixed display of the number of static pages that the user has access to (in
  2667   the Admin Block) [Dirk]
  2668 - COM_makeClickableLinks did not recognize links with the 'http:' at the
  2669   start of a line [Dirk]
  2670 - Re-introduced <br> between plugin sections in the What's New block, pretty
  2671   much reverting the change suggested by feature request #292 [Dirk]
  2672 - Introduced function COM_formatEmailAddress that creates a (more or less)
  2673   RFC(2)822 compliant email address from a name and an address [Dirk]
  2674   This function is now used for formatting the site address, as well as for
  2675   addresses entered by the user in profiles.php and admin/mail.php.
  2676 - The Spam-X plugin's MailAdmin action didn't send any email notifications,
  2677   since the call to COM_mail was commented out ... [Dirk]
  2678 - admin/mail.php and admin/group.php use the complete URL to the script in
  2679   the <form action="..."> now (instead of relying on PHP_SELF) [Dirk]
  2680 - Fixed parse error in the Dutch language file (reported by NeoNecro) [Dirk]
  2681 - Allow the dot '.' in IDs (in addition to letters, digits, the dash, and the
  2682   underscore) [Dirk]
  2683 
  2684 
  2685 Oct 17, 2004 (1.3.10rc1)
  2686 ------------
  2687 - Added new functionality to [autotags] - New plugin API's added  [Blaine]
  2688 - Added [autotag] hooks for stories  [Blaine]
  2689 - When a plugin had its icon only in the admin directoy, the plugin editor
  2690   did not find it and displayed a generic icon instead [Dirk]
  2691 - In admin/mail.php, apply htmlspecialchars() on the email addresses before
  2692   displaying them, as the '<foo@example.com>' part will be interpreted as
  2693   HTML by some browsers (pointed out by LWC) [Dirk]
  2694 - When using gdlib for image resizing, GIF images were converted to PNG, but
  2695   Geeklog was still trying to display the GIF (reported by Tom Willet). Since
  2696   the LZW patent has now expired (see http://www.unisys.com/about__unisys/lzw),
  2697   it is safe to use GIF images again, so the PNG conversion was dropped [Dirk]
  2698 - Fixed link to the Anonymous user's profile in comment/thread.thtml [Dirk]
  2699 - Added Location field to the user profile [Blaine]
  2700 - In the light of bug #293, removed all variable names from the language files,
  2701   leaving only the $_CONF config variables [Dirk]
  2702 - Fixed an error message when plugins didn't return an array from
  2703   plugin_getmenuitems_xxx (reported by computerade) [Dirk]
  2704 - When sending emails from the admin/mail.php, some user's names weren't set
  2705   in their email address (reported by LWC) [Dirk]
  2706 - Removed an extra <br> from before and between data provided by plugins in
  2707   the What's New block (feature request #292) [Dirk]
  2708 - When creating a new user from admin/user.php, don't determine the uid before
  2709   actually creating the database entries to avoid race conditions / collisions
  2710   with other user accounts created at the same time (bug #243) [Dirk]
  2711   Also took the opportunity to refactor and move the almost identical code
  2712   from users.php and admin/user.php into a new function USER_createAccount in
  2713   system/lib-user.php.
  2714 - usersettings.php was missing a default case for unsupported values of 'mode'
  2715   (bug #287). This only displayed a blank page and was not exploitable [Dirk]
  2716 - Fixed hard-coded default group names in the Admin sections (e.g. when a user
  2717   had story.edit permissions but was not in the Story Admin group, any new
  2718   story created by that user would default to being owned by the Story Admin
  2719   group nonetheless) [Dirk]
  2720 - Introduced new plugin API functions plugin_user_changed_xxx and
  2721   plugin_group_changed_xxx to inform plugins when a user's information
  2722   (profile or settings) or a group (new, edit, delete) has been changed [Dirk]
  2723 - COM_checkHTML and COM_allowedHTML now accept an additional parameter in form
  2724   of a comma-separated list of permissions. If the current user has at least
  2725   one of those permissions, they are assumed to be an "Admin" and the functions
  2726   will use the $_CONF['admin_html'] list of HTML tags for them (bugs #114 and
  2727   #118) [Dirk]
  2728 - COM_allowedHTML now has an option to only return the list of allowed HTML
  2729   tags without the "Allowed HTML" text (bug #118) [Dirk]
  2730 - For the poll block, always use the block title stored in the database (bug
  2731   #205) [Dirk]
  2732 - It is now again possible to have a different number of stories per page
  2733   for individual topics. Users have to set their preferred number of stories
  2734   per page to 0 (zero) in their preferences, though, as the user preferences
  2735   will always override this setting (bug #190) [Dirk]
  2736 - The Professional theme, kindly provided by Victor B. Gonzalez, is our new
  2737   default theme now.
  2738 - In the calendar's day and week view, event permissions weren't checked
  2739   properly, so that some events were displayed to user who shouldn't have
  2740   been able to see them (reported by Willem Jan) [Dirk]
  2741 - Don't update a story's hit counter as long as the draft flag is set or the
  2742   publishing date is in the future (feature request #282) [Dirk]
  2743 - Introduced new function COM_sanitizeID() to filter special characters out of
  2744   user-editable IDs as used for stories, polls, topics, and static pages (also
  2745   fixes bug #181). Allowed characters are letters a-z (both upper and lower
  2746   case), digits 0-9, the dash '-', and the underscore '_' [Dirk]
  2747 - The Upcoming Events block didn't use the help URL, even if it was set
  2748   (reported by Wolfgang M. Schmitt) [Dirk]
  2749 - Geeklog now comes with Tom Willet's Spam-X plugin pre-installed. The plugin
  2750   now stores the blacklists in the database and uses a new plugin API
  2751   function to filter comment posts [Tom Willet, Tony, Blaine, Dirk]
  2752 - Plugins can now offer their own tags to allow easy linking to their content.
  2753   These tags take the form [name:id link text], where 'name' is a name
  2754   associated with the plugin, 'id' is a unique id referring to one of the
  2755   objects under the plugin's control, and 'link text' is text used in the <a>
  2756   tag that Geeklog creates from these tags.
  2757   Built-in tags are [story:] to link to a story and [event:] to link to an
  2758   event [Blaine, Dirk]
  2759   Example: [story:email-bug About the email bug] would be translated into
  2760   <a href="http://example.com/article.php/email-bug">About the email bug</a>
  2761 - portal.php now sends a 301 HTTP status code for the links instead of a 302.
  2762   While a 302 status code would actually make more sense, Google does have a
  2763   tendency to list search results with the URL of the portal script but with
  2764   the content of the linked site, thus giving the impression that the content
  2765   is actually located on another site. Sending a 301 avoids this problem [Dirk]
  2766 - Group Admins should not even see the groups of which they are not a member
  2767   (bug #280) [Dirk]
  2768 - Prevent Group Admins from listing the members of a group unless they are a
  2769   member of that group themselves [Dirk]
  2770 - Introduced $_CONF['left_blocks_in_footer'] config option that makes the
  2771   {left_blocks} variable available in footer.thtml (disabling it in header.thtml
  2772   at the same time). This is really only useful for two-column layouts where
  2773   you want the side blocks in the right column [Dirk]
  2774 - Polls linked from the stats page now display the result of the poll instead
  2775   of letting the user vote on them (feature request #267) [Dirk]
  2776 - In the Admin's list of events and stories, don't list items for which the
  2777   Admin doesn't have read access (bug #269). [Dirk]
  2778 - Story IDs are now editable (just like the IDs of static pages). [Dirk]
  2779   Important: Update the story editor template (admin/story/storyeditor.thtml)!
  2780 - Fixed a bug that reset every user's password request as soon as some user
  2781   changed their account information (bug #265) [Dirk]
  2782 - Added support for URL rewriting to portal.php [Dirk]
  2783 - The links for the What's Related block are stored in the 'related' field in
  2784   the gl_stories table again. Parsing the story for links every time it is
  2785   rendered uses too much CPU power (with apologies to groklaw.net) [Dirk]
  2786 - Added theme variable {story_link} to commentbar.thtml to link back to original
  2787   story the comments are derived from. [Vinny]
  2788 - Introduced new file system/lib-story.php for story-related functions and
  2789   moved COM_article, COM_whatsRelated, COM_extractLinks, as well as the code
  2790   to delete article images into that file (functions were renamed accordingly:
  2791   STORY_renderArticle, STORY_whatsRelated, STORY_extractLinks) [Dirk]
  2792 - Fixed URLs to userphotos and story images when $_CONF['path_images'] had been
  2793   changed (but was still inside of $_CONF['path_html']) [Dirk]
  2794 - Added a script to convert an existing database to InnoDB tables (if the MySQL
  2795   version supports them): admin/install/toinnodb.php [Dirk]
  2796 - Added missing closing </a> tag in story search results (bug #260) [Dirk]
  2797 - Added a second parameter to function COM_makeList that is used as a CSS
  2798   class name in the list it returns (use {list_class_name} to get the actual
  2799   class name, and {list_class} to get class="classname"). Changed the existing
  2800   calls to COM_makeList to include class names, so that you can now use the
  2801   following class names in your stylesheet to style lists: list-feed,
  2802   list-new-comments, list-new-links, list-new-plugins, list-older-stories,
  2803   list-personal-events, list-site-events, list-story-options, list-whats-related
  2804   (the names should be self-explanatory) [Dirk]
  2805 - Moved the docs directory to public_html/docs and added a link to it from the
  2806   Admin's block (can be switched off in config.php by setting the new option
  2807   $_CONF['link_documentation'] = 0) [Dirk]
  2808 - Replaced 'ppmtojpeg' with 'pnmtojpeg' when using NetPBM for scaling
  2809   uploaded JPEG images (bug #257) [Dirk]
  2810 - Added a check (and a warning message) for PHP 4.1.0 to the install script,
  2811   as that is our new minimum requirement [Dirk]
  2812 - Rewrote install/success.php and added a link to install/check.php [Dirk]
  2813 - Added the 'data' and 'pdfs' directory to install/check.php [Dirk]
  2814 - Integrated the "welcome email hack": If the file 'welcome_email.txt' exists
  2815   in the 'data' directory, the contents of that file are sent out as the
  2816   welcome email to new users (instead of the hard-coded welcome message) [Dirk]
  2817 - Introduced a 'data' directory ($_CONF['path_data'], defaulting to
  2818   /path/to/geeklog/data) and use it for the batch user import, as Geeklog's
  2819   base directory may not be writable on some setups (bug #77) [Dirk]
  2820 - Sort list of older polls by date (newest first) and added paging [Dirk]
  2821 - Make sure the old userphoto is deleted when uploading a new one (bug #228).
  2822   So far, the old photo was not removed when the file type changed (e.g. from
  2823   .gif to .jpg) [Dirk]
  2824 - Don't assume the uploaded file in usersettings.php is always the userphoto -
  2825   it may in fact belong to a plugin (bug #179). This bug prevented plugins from
  2826   uploading their own files through the plugin API [Dirk]
  2827 - Fixed repeating events in the personal calendar's day view (bug #232) [Dirk]
  2828 - COM_siteHeader() now accepts a page title (to go between the page's
  2829   <title>...</title> tags) as the second parameter, replacing the
  2830   $_CONF['pagetitle'] hack (which still works but should be avoided) [Dirk]
  2831 - In the site's page title, replace the site slogan with more meaningful
  2832   information, where possible, e.g. "Submit a Story" on the story submission
  2833   form, "Search Results", etc. (feature request #95) [Dirk]
  2834 - Fixed deleting events from the personal calendar (bug #199) [Dirk]
  2835 - Carry over the date and time from the calendar when Admins add a new event
  2836   (bug #132) [Dirk]
  2837 - Don't display "Site Events" headline in the Upcoming Events block when
  2838   personal calendars are off (feature request #151) [Dirk]
  2839 - Removed hard-coded am/pm formatted hours from the calendar's day view
  2840   (calendar/dayview/dayview.thtml) and replaced them with {xx_hour} variables,
  2841   where 'xx' is 0-23, which will be replaced with the hours formatted
  2842   according to the $_CONF['timeonly'] config variable [Dirk]
  2843 - Themes can now use a couple of CSS class names to style the small calendar (of
  2844   the previous and next month) in month view: .smallcal, .smallcal-headline,
  2845   .smallcal-week-even, .smallcal-week-odd, .smallcal-week-empty,
  2846   .smallcal-day-even, .smallcal-day-odd, and .smallcal-day-empty [Dirk]
  2847 - Improvements to the Story Archive Feature, UI tweaks, Language Extraction,
  2848   Added new field to the topics table. Admin now sets the archive topic in
  2849   the Topic Editor. Only one topic can be used - logic enforced. [Blaine]
  2850 - Don't emit the <br><br> in article.php when the story's body text is empty
  2851   (based on patch #147, provided by Andy Maloney) [Dirk]
  2852 - Set {article_url} variable when displaying the story in article.php [Dirk]
  2853 - Fixed missing </select> tags for the comment display mode and sort order
  2854   drop-down menus in usersettings.php (patch #255, provided by machinari) [Dirk]
  2855 - Hard-coded the names of the pseudo image tags in story.php, i.e. they are
  2856   always [imageX], [imageX_left], and [imageX_right] now, independent of
  2857   the current language file (bug #139) [Dirk]
  2858 - Added the Auto-Archive Management feature. Optionally allows the Story Editor
  2859   to archive or delete a story when the expire date is reached [Blaine]
  2860 - Improved the commentbar to logically support comments viewed from comment.php
  2861   [Vinny]
  2862 - Removed a bug in comment.php that allowed a story/comment mismatch during
  2863   display.  This was not exploitable.  [Vinny]
  2864 - Integrated the timezone hack to compensate for time differences when your
  2865   webserver is located in another timezone (original timezone hack by Yew Loong,
  2866   with additions by "Joe" as well as several other geeklog.net users) [Dirk]
  2867 - The calendar can now be configured so that the week starts on either a
  2868   Sunday or a Monday - see new config variable $_CONF['week_start']
  2869   (based on a patch by bond_anton) [Dirk]
  2870 - Sort the admin's list of events by date (newest first). Also added paging,
  2871   a row number and parameter filtering. Paging and the row number require
  2872   theme changes in admin/event/eventlist.thtml and listitem.thtml [Dirk]
  2873 - Incorporated a patch provided by Drago Goricanec to sort the Admin's user
  2874   list by uid [Dirk]
  2875 - Introduced 2 config options for the Who's Online block:
  2876   - $_CONF['whosonline_fullname'] will display the user's full name,
  2877   - $_CONF['whosonline_anonymous'] does not display the names of registered
  2878     users to anonymous visitors of the site.
  2879   Both options are disabled by default [Dirk]
  2880 - Added support for single quotes and nested tags to COM_extractLinks [Vinny]
  2881 - The admin_html and user_html are now merged recursively (bug #240) [Vinny]
  2882 - Remove colons from email addresses, as they have a special meaning,
  2883   according to RFC(2)822, that we didn't intend (bug #6) [Dirk]
  2884 - Fixed compilation of regexp if the search query ended or started with a
  2885   space (the resulting error message would also expose the path to article.php),
  2886   (bug #251) [Dirk]
  2887 - Sort the admin's list of polls by date (newest first). Also added paging,
  2888   a row number and parameter filtering. Paging and the row number require
  2889   theme changes in admin/poll/polllist.thtml and listitem.thtml [Dirk]
  2890 - Added paging to the plugin editor (for more than 25 installed plugins).
  2891   A {google_paging} variable is needed in admin/plugins/pluginlist.thtml for
  2892   the paging links to show up [Dirk]
  2893 - Emails sent from the Admin's mail form (admin/mail.php) were always sent
  2894   with the site name and site email address, even if you entered something else
  2895   in the form. Also made admin/mail/mailform.thtml slightly less ugly [Dirk]
  2896 - When deleting a topic, keep the blocks assigned to that topic (bug #247).
  2897   They're assigned to 'all topics' and disabled, but kept around now. The same
  2898   applies for topic feeds, which weren't handled at all before [Dirk]
  2899 - Make sure upload errors for user photos and story images are displayed in a
  2900   Geeklog block, not on a blank screen [Dirk]
  2901 - Fixed description of DB_insertId() in lib-database.php and dbInsertId() in
  2902   mysql.class.php: The functions take a resource, describing the opened link to
  2903   the database, not a record set (pointed out by lgonze on IRC). [Dirk]
  2904 - Plugins are now getting the key type passed to their search function, so that
  2905   they can perform a search for "exact phrase", "all of these words", or
  2906   "any of these words" as selected from the search form. [Dirk]
  2907 - Use URL rewriting for the link to a story's printer-friendly version, when
  2908   activated (bug #201) [Dirk]
  2909 - Resizing an image didn't work when the image height exceeded the max. height
  2910   but the image width was still below the max. width (bug #242) [Dirk]
  2911 - Keeping the unscaled image when using GDlib didn't work (bug #197) [Dirk]
  2912 - Added a workaround for the Zeus webserver so that blocks marked "homeonly"
  2913   properly appear there (bug #244) [Dirk]
  2914 - Previewing a story submission from admin/story.php before saving it left the
  2915   original story submission in the submission queue while also adding it as a
  2916   new story. This has been fixed now [Dirk]
  2917 - Added {article_url} variable for article/printable.thtml so that we can
  2918   print the proper URL to the article if URL rewriting is on [Dirk]
  2919 - Added filtering for the $order parameter in article.php [Dirk]
  2920 - Added {link_actual_url} variable in links.php, holding the actual URL of
  2921   a link (not Geeklog's redirect URL via portal.php). Updated template
  2922   file links/linkdetails.thtml in all default themes to use {link_actual_url}
  2923   in a title attribute for the links [Dirk]
  2924 - The event description now honors linefeeds to allow some basic text
  2925   formatting [Dirk]
  2926 - Escape all PCRE special characters in the code to highlight search query
  2927   words (bug #200). Also moved the code to its own function, COM_highlightQuery,
  2928   in lib-common.php [Dirk]
  2929 - The contents and order of the menu entries, i.e. of the {menu_elements}
  2930   variable in header.thtml, is now configurable in config.php (new config
  2931   variable $_CONF['menu_elements']). It also includes an option to add custom
  2932   entries by implementing a function CUSTOM_menuEntries() that returns the
  2933   additional entries [Dirk]
  2934 - Use an UPDATE request when increasing the number of times a story has been
  2935   emailed [Dirk]
  2936 - When an error occurs while creating a backup, the complete command line
  2937   used to call mysqldump is now added to error.log [Dirk]
  2938 - Added 'view' mode to allow links directly to a single comment (and optionally
  2939   its children) in comments.php.  [Vinny]
  2940 - Added a few variables to be used in the eventdetails.thtml template file:
  2941   {event_state_name} (full name of the state), {event_state_only} and
  2942   {event_state_name_only} (abbreviated and full state name without the comma),
  2943   {event_edit} (link to edit the event, if allowed for the current user),
  2944   {edit_icon} (same, but with the edit icon instead of a text link),
  2945   {lang_event_type} and {event_type} for the event type [Dirk]
  2946 - Registered users can now report abusive comments to the site admin (inspired
  2947   by Feature Request #171, which actually requested this for the forums).
  2948   Requires new text strings in the language files and a new template file,
  2949   comment/reportcomment.thtml [Dirk]
  2950 - Bugfix: New users created through the batch import didn't get the email with
  2951   their password [Dirk]
  2952 - Moved function to create and send a password to lib-user.php to avoid having
  2953   identical code in users.php, admin/user.php, and admin/moderation.php [Dirk]
  2954 - Added {topic_image} variable (available in the topicoption.thtml and
  2955   topicoption_off.thtml template files) so that you can use topic images in
  2956   the Topics block (feature request #152) [Dirk]
  2957 - COM_undoSpecialChars() now also handles &nbsp; (bug #192) [Dirk]
  2958 - Fixed handling of HTML entities in [code] sections (bug #159) [Dirk]
  2959 - Added an option to look up IP addresses (new variable $_CONF['ip_lookup'] in
  2960   config.php, pointing to a service that does IP address lookups) [Dirk]
  2961 - Fixed problems with the database backup when there were spaces in the path to
  2962   the backups directory (bug #185). [Dirk]
  2963 - Added email notification for new comments (feature request #155) [Dirk]
  2964 - Added tracking of IP addresses of comment posters (as suggested by Michael
  2965   Jervis) [Dirk]
  2966 - Altered COM_article to improve performance by reducing queries. [Vinny]
  2967 - Reduced DB queries in COM_showTopics to improve performance. [Vinny]
  2968 - Cached enabled plugins to reduce db queries and improve performance. [Vinny]
  2969 - Fixed SEC_inGroup not using $_GROUPS cache in several instances. [Vinny]
  2970 - mysql.class.php now only runs mysql_connect once per page load.  [Vinny]
  2971 - The "Google paging" now has additional links to jump to the first and last
  2972   page (patch provided by Niels Leenheer). [Dirk]
  2973 - Introduced function COM_makeClickableLinks to turn URLs in text-only posts
  2974   into clickable links (i.e. it's adding <a> tags around URLs). [Dirk]
  2975 - Changed the comment insert, delete, display algorithms for improved
  2976   efficiency. They now use a modified preorder tree traversal method. [Vinny]
  2977 - Comment limit now applies to all the comments displayed, not just the top
  2978   level comments. [Vinny]
  2979 - Added pagination ability to comments ({pagenav} template variable in
  2980   startcomment.thtml). [Vinny]
  2981 - Fixed typo in timer.class.php that broke the ->restart() function. [Vinny]
  2982 - Make sure the database backup files are always sorted by (last modified) date
  2983   (found & fixed by Alexander Schmacks). [Dirk]
  2984 - Make sure the user's preferred comment limit is used when changing the
  2985   comment display via the comment bar (bug #176). [Vinny]
  2986 - When URL rewriting is activated, the "rewritten" URLs are now also used
  2987   in all (RSS) feeds containing links to articles. [Dirk]
  2988 - Experimental: On a fresh install, use InnoDB tables (instead of MyISAM) if
  2989   the MySQL version running on the server supports them (usually as of
  2990   MySQL 4.0). This should avoid locks on tables where hit counters and the
  2991   actual data are stored in the same table, e.g. stories (suggested by
  2992   Marc Von Ahn). [Dirk]
  2993 - Fixed bug in the install script when upgrading from 1.3.8 or earlier:
  2994   Check to see if the static pages plugin is installed before attempting to
  2995   update its tables (reported by Rob Griffiths). [Dirk]
  2996 - Implemented a change to DB_fetchArray, suggested by Niels Leenheer:
  2997   Geeklog will now, by default, only return associative array indices. In case
  2998   the numeric indices are needed, a new (optional) second parameter for
  2999   DB_fetchArray has to be set to "true". [Dirk]
  3000 - Removed extra quotes in SQL statements in admin/block.php to ensure
  3001   compatibility with old MySQL versions (reported by Elmer Masters). [Dirk]
  3002 - In admin/database.php, if the is_executable function is not available (e.g.
  3003   on Windows), do at least a file_exists to check if the mysqldump executable
  3004   exists in the path given in config.php. [Dirk]
  3005 - Introduced function COM_getTopicSQL which returns part of an SQL request to
  3006   check for a user's topic access [Dirk]
  3007   (This was actually introduced in 1.3.9sr1 but missing from the changelog)
  3008 
  3009 Language files
  3010 --------------
  3011 - New Bosnian language file, provided by Kenan Hodzic
  3012 - Updated Croatian language file, provided by Roberto Bilic
  3013 - New Indonesian language file, provided by Piotr Sobis
  3014 - Updated Norwegian language file, provided by Torfinn Ingolfsen
  3015 
  3016 Static Pages Plugin 1.4.1
  3017 -------------------------
  3018 - Added a printable version for static pages (based on a concept by
  3019   Jannetta S Lewis). Requires a new template file, printable.thtml, located
  3020   in the static pages' template directory [Dirk]
  3021 - Added support for autolinks and provide a [staticpage:] autotag [Dirk]
  3022 - Added an option to sort the static pages that are added to a site's menu
  3023   (see {plg_menu_elements} in header.thtml) by id, label, title, or date [Dirk]
  3024 - The block templates used to wrap a static page in a block can now be
  3025   overridden, using '_staticpages_block' and '_staticpages_centerblock' as the
  3026   index for the $_BLOCK_TEMPLATE array [Dirk]
  3027 - The plugin now checks for template files in the current theme's directory
  3028   (layout/THEMENAME/staticpages) first before using the default template files
  3029   from plugin/staticpages/templates [Dirk]
  3030 - When displaying a static page, the plugin no longer checks if the current
  3031   user is a member of the Root group, so that "Root" users shouldn't see static
  3032   pages that are for anonymous users only [Dirk]
  3033   This change was actually supposed to be in Static Pages 1.4 (Geeklog 1.3.9),
  3034   but somehow didn't make it ...
  3035 - For center blocks, ignore the "blank page" setting, unless it's for a page
  3036   that is supposed to replace the entire frontpage (bug #234) [Dirk]
  3037 - The static pages editor doesn't display a "delete" button for new and
  3038   cloned pages any more (since, obviously, you can't delete what hasn't been
  3039   saved yet ...). [Dirk]
  3040 - Bugfix: Fresh installs of Geeklog 1.3.9 only allowed 20 characters for the
  3041   static page ID, while installs upgraded from an earlier version allowed up
  3042   to 40 characters [Dirk]
  3043 - New Portuguese (Brazil) language file, provided by Alcides Soares Filho.
  3044 
  3045 
  3046 Mar 5, 2006 (1.3.9sr5)
  3047 -----------
  3048 
  3049 This release addresses the following security issues:
  3050 
  3051 - Konstantin Dyakoff found an old bug in the session handling that would allow
  3052   anyone to log in as any user.
  3053 - James Bercegay of GulfTech Security Research reported several issues with
  3054   Geeklog's cookie handling that made it vulnerable to SQL injections, arbitrary
  3055   file access, and even injection and execution of arbitrary code.
  3056 - Prevent execution of PHP code in "normal" blocks
  3057 
  3058 
  3059 Jul 3, 2005 (1.3.9sr4)
  3060 -----------
  3061 
  3062 This release addresses the following security issue:
  3063 
  3064 Stefan Esser found an SQL injection that can, under certain circumstances,
  3065 be exploited to extract user data such as the user's password hash.
  3066 
  3067 
  3068 Dec 31, 2004 (1.3.9sr3)
  3069 ------------
  3070 
  3071 This release addresses 2 security issues:
  3072 
  3073 1. It was possible to submit stories anonymously even if anonymous submissions
  3074    were turned off in config.php (reported by Barry Wong).
  3075    These stories still ended up in the submission queue, though, unless you
  3076    disabled it in config.php.
  3077 2. Some of the parameters in link and event submissions weren't filtered,
  3078    leaving them open to potential SQL injections.
  3079 
  3080 
  3081 Oct 8, 2004 (1.3.9sr2)
  3082 -----------
  3083 
  3084 This release addresses 2 security issues:
  3085 
  3086 - Fixed a cross site scripting vulnerability caused by using the $topic
  3087   variable in the language files ($LANG05[3]) where it should have been
  3088   using '%s' instead (bug #293) [Vinny, Dirk]
  3089 - It was possible to post comments to stories or polls for which comment
  3090   posting had been switched off [Dirk]
  3091   This was only a problem if you allowed anonymous posts or when spammers
  3092   went through the trouble of actually signing up for an account before
  3093   posting.
  3094 
  3095 Non-security related fixes:
  3096 
  3097 - Fixed lib-plugins.php to be compatible with PHP 5 [Dirk]
  3098 - Includes updated PEAR packages to resolve email problems some users were
  3099   having (especially with safe_mode being on).
  3100 
  3101 
  3102 Jun 1, 2004 (1.3.9sr1)
  3103 -----------
  3104 
  3105 This release addresses the following security issues:
  3106 
  3107 - It was possible to post anonymous comments, even when anonymous comment
  3108   posting had been switched off in config.php [Vinny, Dirk]
  3109 - Added additional speed limit checks for comments and submissions [Vinny]
  3110 - It was still possible to read the comments to stories, even when the user
  3111   didn't have access to the story's topic (provided they knew the story id)
  3112   [Vinny, Dirk]
  3113 - If none of the topics were visible for anonymous users, the site's index
  3114   page may still have displayed some stories for anonymous users, depending on
  3115   the stories' permissions [Vinny, Dirk]
  3116 - Users still got Daily Digest emails for topics from which they had been
  3117   removed (bug #178) [Dirk]
  3118 - It was possible to subscribe to the Daily Digest for all topics, even if the
  3119   user did not have access to certain topics [Dirk]
  3120 - Don't list stories or comments in the user profile if the current user isn't
  3121   allowed to see the topics they were posted under (bug #208) [Dirk]
  3122 
  3123 Non-security related fixes:
  3124 
  3125 - Fixed an SQL error in COM_showTopics if users excluded topics in their
  3126   preferences (reported by Rob Young) [Dirk]
  3127 - Fixed sporadic "Duplicate entry '...' for key 1." messages in error.log
  3128   (caused by the handling of pseudo-session ids for anonymous users) [Dirk]
  3129 - Fixed incorrect author names in Daily Digest (bug #207) [Dirk]
  3130 - The plugin_profileblocksedit_<plugin-name> Plugin API function wasn't working
  3131   due to a missing piece of code in usersettings.php [Dirk]
  3132 - COM_extractLinks will now ignore anchor tags that do not contain "href"
  3133   (bug #183) [Vinny]
  3134 
  3135 
  3136 Mar 14, 2004 (1.3.9)
  3137 ------------
  3138 
  3139 - Custom Registration function hook to custom_useredit added in the edituser()
  3140   when creating a new user from the admin screen. The custom function was not
  3141   being called if this was a new user [file: admin/user.php].
  3142 - Fixed wrong use of DB_count in COM_showPoll in lib-common.php. This may have
  3143   prevented people from voting on other polls once they voted on any poll on
  3144   a site [file: lib-common.php].
  3145 
  3146 - Updated Danish language file, provided by ZooN.
  3147 - Updated Hebrew language file, provided by Tal Vizel (please note that this
  3148   file was made for 1.3.8-1 and is missing a few of the texts added in 1.3.9).
  3149 
  3150 
  3151 Mar 7, 2004 (1.3.9rc3)
  3152 -----------
  3153 
  3154 - Fixed call to CUSTOM_mail and added a sample implementation in
  3155   lib-custom.php (commented out by default).
  3156 - Made an attempt to recover from duplicate session ids for anonymous users.
  3157 - Adding new topics always resulted in a "Please fill in the Topic ID and Topic
  3158   Name fields" error message, even if you did fill in both fields (this bug was
  3159   only introduced in 1.3.9rc2).
  3160 - Filter out backslashes.
  3161 - Comment titles were cut off at the first single or double quote (when
  3162   submitting a new comment).
  3163 - The text string $LANG04[89] in all language files must be enclosed in
  3164   double quotes, not single quotes.
  3165 
  3166 - Updated Hebrew language file, provided by Tal Vizel.
  3167 - Updated Polish language file, provided by Robert Stadnik.
  3168 - Updated Polish language file for the Static Pages plugin, provided by
  3169   Robert Stadnik
  3170 - Updated Russian language file, provided by Denis Kuznetsov.
  3171 - Updated Slovenian language file, provided by gape.
  3172 - Included UTF-8 versions of the Croatian and Japanese language files,
  3173   provided by Samuel Stone.
  3174 
  3175 
  3176 Feb 29, 2004 (1.3.9rc2)
  3177 ------------
  3178 
  3179 - The new Admin interface for handling blocks (introduced in 1.3.9rc1) will
  3180   renumber the block order in steps of 10, which can lead to order numbers
  3181   > 255 if you have many blocks. Changed the 'blockorder' field in the
  3182   "gl_blocks" table from TINYINT to SMALLINT to compensate.
  3183   If you are upgrading from 1.3.9rc1, you will need to run the following SQL
  3184   request manually:
  3185 
  3186       ALTER TABLE gl_blocks CHANGE blockorder blockorder smallint(5) unsigned NOT NULL default '1';
  3187 
  3188   Replacing "gl_blocks" with the proper table name, if you are using a table
  3189   prefix other than 'gl_'. This step is not necessary when upgrading from 1.3.8
  3190   or earlier versions.
  3191 - The Group Admin restrictions introduced in 1.3.9rc1 didn't even let the
  3192   Admin assign unassigned features to groups (e.g. there was no way to add
  3193   the staticpages.PHP feature to the Static Page Admin group on a fresh
  3194   1.3.9rc1 install).
  3195 - When normal users tried to submit an event, they were redirected to the
  3196   story submission form (this bug was only introduced in 1.3.9rc1).
  3197 - Cosmetic changes in the beautifying of language names (in the user's
  3198   preferences).
  3199 - Fixed COM_extractLinks to work with links that follow [IMAGE] tags and more
  3200   generally handle the extraction of links better and more efficiently.
  3201 - If a function CUSTOM_mail() exists, it will be called instead of COM_mail(),
  3202   to allow users to implement their own function to send emails, if necessary.
  3203 - The Static Pages plugin now supports the "exact phrase", "all of these words",
  3204   and "any of these words" search options.
  3205 - Included a simplified custom registration example and made the naming
  3206   convention for the custom registration functions more consistent.
  3207 - Fixed display problems with comments in nested and threaded mode.
  3208   Please note that the template file comment/comment.thtml has changed (again)
  3209   since 1.3.9rc1!
  3210 - Don't rely on the Who's Online block being active when handling sessions
  3211   for anonymous users.
  3212 - Removed some unused code that handled the obsolete "layout" blocks.
  3213 - Try to guess the correct path separator when running on PHP < 4.3.0.
  3214 - When upgrading from a pre-1.3.9 install, the install script choked on
  3215   single quotes in the site name or site slogan.
  3216 - More parameter filtering.
  3217 
  3218 - Included UTF-8 versions of the English, German, Finnish, and Chinese
  3219   (traditional and simplified) language files, provided by Samuel Stone.
  3220 - Added new Croatian language file, provided by Roberto Bilic.
  3221 - Added new Finnish language file, provided by Jussi Josefsson.
  3222 - Added new Hebrew language file, provided by Tal Vizel.
  3223 - Updated Dutch language file, provided by Wim Niemans.
  3224 
  3225 
  3226 Feb 16, 2004 (1.3.9rc1)
  3227 ------------
  3228 
  3229 - Use COM_getYearFormOptions() etc. for the event submission form in
  3230   submit.php, thus avoiding duplicated code.
  3231 - Plugins can now add their new entries to the What's New block by implementing
  3232   the new plugin_whatsnewsupported and plugin_getwhatsnew API functions.
  3233   This section can be enabled/disabled with the new $_CONF['hidenewplugins']
  3234   config variable.
  3235 - When a user is deleted, make sure we assign any objects that require Admin
  3236   access (blocks, topics, ...) to a user from the Root group.
  3237 - Slightly revamped the install script and made it catch (or silently ignore)
  3238   the most popular problems with the path to Geeklog ...
  3239 - Removed the hard-coded &nbsp; from {welcome_msg} and added it to the
  3240   header.thtml of the Classic, XSilver, and Yahoo themes (the other themes
  3241   either look fine without it or didn't use {welcome_msg} anyway).
  3242 - Added a missing stripslashes() call for link titles returned from a search.
  3243 - Fixed bug when highlighting search queries that contained a '*' (reported
  3244   by wlparks).
  3245 - Fixed a bug/typo introduced in 1.3.8-1sr4 that prevented you from deleting
  3246   story submissions from the Admin's story editor (reported by James Bothe).
  3247 - Changed all url fields in the database to hold up to 255 characters per URL.
  3248   Please note that the template files in most themes will limit the max.
  3249   number of characters to 96 or 128 characters. See docs/theme.html for more
  3250   information on how to update the themes.
  3251 - Fixed problems batch-importing users with single quotes in their names
  3252   (bug #141).
  3253 - The permissions for the "Group Admin" group have been changed such that
  3254   members of that group now only have access to groups of which they themselves
  3255   are a member of. When creating new groups, the rights (permissions) to chose
  3256   from are also limited to those that the Group Admin users have themselves.
  3257   These changes should make the Group Admin group more useful.
  3258   Note: Group admins can still see all the existing groups and who is a member
  3259   of those groups.
  3260 - Fixed search class so that the simplified and the advanced search return
  3261   the same results (as long as none of the advanced options are used).
  3262 - Added new config variable $_CONF['allowed_protocols'] which lets you specify
  3263   the protocols that are allowed to be used in a link (feature request #109).
  3264   Note: The kses class has a hard-coded list of allowed protocols to which
  3265   the above will be added. It is currently not possible to remove any of the
  3266   predefined protocols.
  3267 - Introduced variable {allowed_menu_elements} in header.thtml which only
  3268   includes those menu elements that the current user is allowed to use
  3269   (i.e. honoring the $_CONF['XXXloginrequired'] settings).
  3270 - COM_accessLog() now logs the user's uid and IP address automatically.
  3271 - The option to stay logged in for 1 year has been removed and an option to
  3272   not stay logged in (after the session has expired) has been added.
  3273 - Fixed display of default blocks in the user preferences.
  3274 - If the user chose not to see certain topics (by selecting them from the
  3275   "Excluded Items" list in the preferences) then don't list those topics in
  3276   the Topics block.
  3277 - After saving your account information, you are now redirected to your
  3278   profile page, so that you can see your changes as they would be displayed
  3279   for other users of the site.
  3280 - Integrated Vincent Furia's patches to use Geeklog's URL rewriting for links
  3281   to stories (i.e. article.php).
  3282 - In the story templates, you can now use {article_url} as the URL to the
  3283   article.php with the current story (e.g. for a "link to this story" link).
  3284 - There is a new file, system/lib-user.php, for user-related code that is
  3285   used by usersettings.php, admin/user.php, and admin/moderation.php.
  3286 - All template files that let you enter a URL are now using {max_url_length}
  3287   for the maxlength attribute.
  3288 - Access to admin/mail.php is now granted to all users with 'user.mail'
  3289   permissions (previously, users with that permission without being in the
  3290   'Mail Admin' group would see the "Mail Users" entry in the Admin block but
  3291   were refused access to it).
  3292 - The list of group names in the Mail Users form is now sorted alphabetically.
  3293 - Any unauthorized attempts to access the admin pages are now properly logged
  3294   in access.log.
  3295 - Fixed problems when resizing userphotos for user names that have spaces in
  3296   them (reported by Per on geeklog-users).
  3297 - Now accomodate strict webhosts who don't allow file uploads to the standard
  3298   image directory, you can now set a new configuration variable,
  3299   $_CONF['path_images'] to point to a directory outside of your webtree where
  3300   article images and user profile pictures will be saved and served from.
  3301 - Don't append a '-' to the page title if $_CONF['site_slogan'] is empty
  3302   (feature request #88).
  3303 - COM_getMonthFormOptions() now always lists the month names instead of only
  3304   the numbers. COM_getYearFormOptions() also lists the previous year.
  3305 - Changed admin/event.php to use the COM_getMonthFormOptions() etc. functions
  3306   from lib-common.php, thus avoiding duplicated code.
  3307 - In the calendar/calendar.thtml template file, you can now use {start_block}
  3308   and {end_block} to wrap the calendar in a block.
  3309 - Fixed a few display problems in case of errors in calendar_event.php. Also
  3310   made calendar.php display messages sent from calendar_event.php.
  3311 - Make sure the custom registration form is properly called from all relevent
  3312   places (bug #57).
  3313 - Single quotes are now silently stripped from topic IDs (bug #113).
  3314 - Fixed search displaying all the links for an empty search string, e.g. when
  3315   searching for "more from" some user (bug #87).
  3316 - Fixed link from search results that contained a '/' (bug #115).
  3317 - Comments from a story that has been marked as "draft" are no longer returned
  3318   from a search (bug #128).
  3319 - The Admin's link list now uses "google paging", 50 links per page (bug #104).
  3320   Note: Requires a change in the admin/link/linklist.thtml template file.
  3321 - (Block)Admins can now change the order of blocks and enable / disable blocks
  3322   directly from the Admin's list of blocks (based on a concept by stratosfear).
  3323 - An alternative interface to adding (multiple) users to a group is now
  3324   available from the Admin's list of groups. This feature requires JavaScript.
  3325 - Fixed display of permissions in the "Access" column of the Admin's list of
  3326   stories (didn't take Topic permissions into account).
  3327 - Fixed handling of "0" as a poll answer (bug #73).
  3328 - Added a check and warning message in admin/moderation.php if register_globals
  3329   is "off".
  3330 - Changed function COM_isEmail() to use PEAR::Mail/RFC822 to check for valid
  3331   email addresses.
  3332 - Added an edit icon to each theme (images/edit.gif). Variable {edit_icon} can
  3333   be used as an alternative to {edit_link}, i.e. as an icon that Story Admins
  3334   can click on to edit a story.
  3335 - You can now enable debug messages (to error.log) for the image upload by
  3336   setting $_CONF['debug_image_upload'] = true in config.php.
  3337 - When deleting a group, delete all references to that group from the
  3338   group_assignments table (bug #50). The install script will remove any
  3339   orphaned entries when upgrading the database to 1.3.9.
  3340 - The option to delete comments was only available to users in the Root group
  3341   (e.g. Admin). Since comments don't have permissions, comments can now be
  3342   deleted by users with Story Admin permissions for the story they are
  3343   commenting on (or Poll Admin permissions for comments on polls; bug #27).
  3344 - Display a generic (and localised) error message when there is a problem
  3345   importing an (RSS) feed - details will be available in error.log. Also checks
  3346   for empty (but existing) feeds now.
  3347 - When the user submission queue is activated, you now have an "edit" link
  3348   that takes you to the Admin's user editor (the profile link is now on the
  3349   username). Contributed by Ed Magin.
  3350 - COM_siteHeader() now uses output buffering for the eval(), preventing the
  3351   header from being output directly.
  3352   Note: This may require changes in 3rd party scripts, e.g. the Geeklog/Gallery
  3353   integration.
  3354 - The install script will set the 'date' field for links to sensible values
  3355   now (reconstructed from the date that's encoded in the link id).
  3356 - The author exclusion list in the preferences is now a (multi-select) listbox.
  3357 - A proper error message is now displayed if the Admin creates a new user or
  3358   changes an existing account with an email address that already exists (that
  3359   test was already introduced in 1.3.8-1 but the error message was confusing),
  3360   thus closing bug #24. Also checks for valid email addresses now.
  3361 - You can now use {author_fullname} and {author_photo} variables in comment
  3362   templates (feature request #35).
  3363 - Remove extra backslashes from new links in What's New block (bug #59).
  3364 - The [code] tag is now displayed in the list of allowed HTML tags.
  3365 - Image upload can now use the GD library (contributed by Rob Coenen).
  3366   If possible, GIF images will be converted to PNGs during upload. However,
  3367   some versions of the GD library may not allow to read GIF images at all.
  3368 - Geeklog now uses PEAR::Mail to send all emails.
  3369   In config.php, you can select whether emails should be sent via PHP's mail()
  3370   function, sendmail, or SMTP.
  3371 - Introduced /path/to/geeklog/system/pear as the directory to hold the PEAR
  3372   packages used by Geeklog. Currently, those are PEAR, Mail, Net_SMTP, and
  3373   Net_Socket. These packages will be included in the releases from now on.
  3374 - Introduced function COM_mail(). From now on, all Geeklog email will be sent
  3375   from this function (instead of using PHP's mail() function directly).
  3376 - When users try to register with an empty username or invalid email address,
  3377   make sure we're displaying a custom registration form (if one exists) when
  3378   displaying the error message (part 1 of bug #57).
  3379 - Prevent users from registering with an empty username (bug #56).
  3380 - Use $_CONF['emailstoriesperdefault'] when batch-adding users. Until now,
  3381   new users were subscribed to the Daily Digest automatically (bug #55).
  3382 - Added an 'edit' link to links/linkdetails.thtml, so that (Link) Admins can
  3383   edit links easily (contributed by Euan McKay).
  3384 - What's Related applied COM_checkHTML() on the entire block instead of on the
  3385   individual items, thus stripping out HTML from the template file (bug #52).
  3386 - Words from a search query are now properly highlighted in comments when the
  3387   words occured only in the comments (but not in the story).
  3388 - Integrated Vincent Furia's new comment code to use templates for comments
  3389   (instead of hard-coded HTML).
  3390   New template files: comment/comment.thtml, comment/thread.thtml.
  3391   Updated: comment/startcomment.thtml
  3392 - New Admin interface for content syndication (RSS feeds etc.). This lets you
  3393   create feeds for all the stories and per topic as well as for links and
  3394   (upcoming) events. Plugins can also provide feeds (through extensions of the
  3395   Plugin API). Additional feed formats (other than RSS 0.91) can be implemented
  3396   as new classes (xxx.feed.class.php).
  3397   Includes new admin/syndication template directory.
  3398 - Don't display the "delete" button in the Admin's Event editor when we're
  3399   editing a new event (reported by Simon Lord).
  3400 
  3401 Static Pages Plugin 1.4
  3402 -----------------------
  3403 
  3404 - It is now possible to disable the use of PHP in static pages entirely by
  3405   setting $_SP_CONF['allow_php'] = 0 in the static pages' config.php file.
  3406   If you don't plan on using PHP in static pages, it is recommended that you
  3407   do that as an additional security measure.
  3408 - You can now use "plain PHP" code in a static page, i.e. it doesn't need to
  3409   be written such that it returns all output in a 'return' statement. The
  3410   PHP checkbox has been replaced with a dropdown menu offering "do not execute
  3411   PHP", "execute PHP (return)" [that's the old way], and "execute PHP" [new].
  3412 - The ID of a static page can now have up to 40 characters.
  3413 - When displaying a static page, the plugin no longer checks if the current
  3414   user is a member of the Root group, so that "Root" users shouldn't see static
  3415   pages that are for anonymous users only.
  3416 - The option to wrap static pages in a block can now be applied to each page
  3417   individually. $_SP_CONF['in_block'] is only used as the default setting
  3418   for new pages.
  3419 - Static pages to be displayed after the featured story (in a center block) are
  3420   now displayed even if there is no featured story (after the static pages to
  3421   be displayed at the top of the page).
  3422 - Static pages are not wrapped in a block when the page format is set to "blank
  3423   page" (bug #60).
  3424 - Added a "Cancel" button in the static pages editor.
  3425 - Bugfix: Depending on the permission settings, the "Edit" link was sometimes
  3426   displayed for users without them having edit permissions for the static page.
  3427   It wasn't possible to edit the page, though, but the link shouldn't have
  3428   been there in the first place.
  3429 - For security reasons, the Static Page Admin group does not include
  3430   'staticpages.PHP' permissions by default any more.
  3431 - When a user is deleted, static pages created by that user can now either be
  3432   deleted or assigned to a Root user (see $_SP_CONF['delete_pages'] option).
  3433 
  3434 Please see docs/staticpages.html for details.
  3435 
  3436 
  3437 Oct 8, 2004 (1.3.8-1sr6)
  3438 -----------
  3439 
  3440 This release addresses 2 security issues:
  3441 
  3442 - Fixed a cross site scripting vulnerability caused by using the $topic
  3443   variable in the language files ($LANG05[3]) where it should have been
  3444   using '%s' instead (bug #293) [Vinny, Dirk]
  3445   Note: german.php was not affected and is therefore not included.
  3446 
  3447 - It was possible to post comments to stories or polls for which comment
  3448   posting had been switched off [Dirk]
  3449   This was only a problem if you allowed anonymous posts or when spammers
  3450   went through the trouble of actually signing up for an account before
  3451   posting.
  3452 
  3453 
  3454 Jun 1, 2004 (1.3.8-1sr5)
  3455 -----------
  3456 
  3457 This release fixes a bug due to which it was possible to post anonymous
  3458 comments even when anonymous comment posting had been switched off in
  3459 config.php.
  3460 
  3461 To upgrade from Geeklog 1.3.8-1sr4 to 1.3.8-1sr5, simply upload the included
  3462 comment.php, replacing the file of the same name on your webserver.
  3463 
  3464 
  3465 January 26, 2004 (1.3.8-1sr4)
  3466 ----------------
  3467 
  3468 This release addresses the following security issues:
  3469 
  3470 1. It was possible for users in the Group Admin and User Admin groups to
  3471    become a member of the Root group (reported by Samuel M. Stone, bug #135).
  3472 2. Being admin for a certain area (e.g. Story Admin for stories) made it
  3473    possible to delete all objects in that area (e.g. stories) even if the
  3474    user was not supposed to have access to them, provided the id of the object
  3475    was known.
  3476 3. It was possible to delete other people's personal events if you knew the
  3477    event ID.
  3478 4. It was possible to browse through the comments of a story even if the user
  3479    did not have access to the actual story (reported by Peter Roozemaal).
  3480 5. Due to an XSS issue, it was possible to change someone's account settings
  3481    (including the password) if you got them to click on a specially crafted
  3482    link (reported by Jelmer, fix suggested by Vincent Furia).
  3483 6. The comment display suffered from the possibility of an SQL injection
  3484    (reported by Jelmer).
  3485 7. It was possible to inject Javascript code in the calendar (reported by
  3486    Jelmer).
  3487 8. It was possible to execute (but not save) Javascript code in the comment
  3488    preview (reported by Jelmer).
  3489 
  3490 
  3491 December 5, 2003 (1.3.8-1sr3)
  3492 ----------------
  3493 
  3494 This release addresses the following security-related issues:
  3495 
  3496 1. As "dr.wh0" pointed out, the category field for link submissions was not
  3497    filtered at all. Although you probably can't cause too much harm with
  3498    those 32 characters, this has now been fixed.
  3499 2. Vincent Furia found that the restrictions for the form to email users
  3500    could be circumvented and could even be used to spam users.
  3501    In addition to fixing theses issues, there is now also a speed limit
  3502    on that form (defaults to the speed limit for story submissions).
  3503 3. There was a way to post comments anonymously even when posting for
  3504    anonymous users had been disabled.
  3505 4. It was possible to post comments under someone else's username.
  3506 
  3507 
  3508 October 14, 2003 (1.3.8-1sr2)
  3509 ----------------
  3510 
  3511 Jouko Pynnonen found a way to trick the new "forgot password" feature,
  3512 introduced in 1.3.8, into letting an attacker change the password for _any_
  3513 account. This release addresses this issue - there were no other changes.
  3514 
  3515 The only thing you need to do is to replace the file users.php on your site
  3516 with the file that comes with this tarball. It's suggested that you change
  3517 the version number in your config.php to '1.3.8-1sr2' afterwards.
  3518 
  3519 Please note that only Geeklog 1.3.8, 1.3.8-1, and 1.3.8-1sr1 are affected,
  3520 as this feature did not exist in earlier versions.
  3521 
  3522 
  3523 October 12, 2003 (1.3.8-1sr1)
  3524 ----------------
  3525 
  3526 This release is intended to address some of the security issues reported in
  3527 September and early October 2003.
  3528 
  3529 1. Includes Ulf Harnhammar's kses HTML filter to address possible Javascript
  3530    injections and CSS defacements.
  3531 
  3532    When upgrading from an earlier version, please make sure to copy over the
  3533    $_CONF['user_html'] and $_CONF['admin_html'] arrays from the included
  3534    config.php to your own copy of that file.
  3535 
  3536 2. While almost all of the alleged SQL injection issues could not be
  3537    reproduced, this release includes an update to the MySQL class to not
  3538    report SQL errors in the browser any more (but only in Geeklog's error.log).
  3539    This will avoid disclosing any sensitive information as part of the error
  3540    message.
  3541 
  3542    Please note that at the moment we do NOT recommend to use Geeklog with
  3543    MySQL 4.1 (which, at the time of this writing, is in alpha state and should
  3544    not be used on production sites anyway).
  3545 
  3546    An upcoming release of Geeklog will address the remaining SQL issues,
  3547    including any problems with MySQL 4.1.
  3548 
  3549 Other fixes (not security-related):
  3550 - When trying to guess the value of $_CONF['cookiedomain'], we need to remove
  3551   the port number from the URL, if there is one (bug #75).
  3552 - The full 1.3.8-1sr1 tarball also includes updated French (Canada) and
  3553   Turkish language files.
  3554 
  3555 
  3556 August 9, 2003 (1.3.8-1)
  3557 --------------
  3558 
  3559 - When upgrading, the install script will now default the version selection to
  3560   the last version in the list (currently: 1.3.7) instead of the first one
  3561   (1.2.5-1).
  3562 - Don't allow HTML in static page titles (bug #26).
  3563 - Display the search form again if the query returned no results.
  3564 - Make sure we're not attempting to send a Daily Digest email to Anonymous.
  3565 - Prevent admin from changing a user's email address to one that's already used
  3566   by someone else (bug #24). The error message you get when you try this may
  3567   be confusing, though ("The username you tried saving already exists.") since
  3568   I don't want to introduce new texts in the language file at this point. To
  3569   be corrected later.
  3570 - Fixed a problem with the cookie timeout: When a user edited his/her profile
  3571   for the first time, the cookie timeout defaulted to 1 hour, while the default
  3572   in config.php was usually much longer (default: 1 week). So after editing
  3573   their profile for the first time, users didn't stay logged in as long as
  3574   before (unless they noticed that and changed the cookie timeout accordingly
  3575   themselves).
  3576 - Fixed problems in the install script when trying to find out the MySQL
  3577   version number.
  3578 - Fixed a problem collecting links for the What's Related block when the article
  3579   contained (uploaded) images.
  3580 - Words from a search query are now hightlighted in comments as well.
  3581 - You can now use variables {rss_url} and {rdf_file} in both the site header
  3582   and footer. Both variables hold the URL to the RSS feed.
  3583 - Fixed an occassional "call to member function of non-object" error message
  3584   in lib-plugins.php.
  3585 - Make sure the RSS feed and Older Stories block are updated when a story is
  3586   deleted.
  3587 - The language selection will only list files that end in .php and do not
  3588   start with a '.'.
  3589 - Fixed links to a user's comments from the Last 10 Comments block in the user
  3590   profile.
  3591 - Removed '&query=' from links in search results if the query was empty.
  3592 - Anonymous users couldn't use the advanced search even if
  3593   $_CONF['searchloginrequired'] was not set.
  3594 - Fix to disallow access to the extended search for anonymous users (i.e.
  3595   $_CONF['searchloginrequired'] works again as it did in 1.3.7)
  3596 - Fixed search by date.
  3597 - Template variable {uid_value} was always empty in the user's profile edit
  3598   form (in usersettings.php).
  3599 
  3600 - New French (Canada) language file, provided by Jean-Francois Allard.
  3601 - Updated Dutch language file, provided by W. Niemans.
  3602 - Updated Bulgarian language file, provided by Vassil Simeonov and Itso Banov.
  3603 - Updated Spanish language file, provided by Angel Romero.
  3604 
  3605 - New French (Canada) language file for the Static Pages plugin, provided by
  3606   Jean-Francois Allard.
  3607 - New Dutch language file for the Static Pages plugin, provided by W. Niemans.
  3608 
  3609 
  3610 July 17, 2003 (1.3.8)
  3611 -------------
  3612 
  3613 - Added Blaine's sample code for the custom registration to lib-custom.php
  3614   (there's also an accompanying sample template file, memberdetail.thtml).
  3615 - "No new links" wasn't displayed in the What's New block when you didn't
  3616   have any links in the database or when the current user didn't have access
  3617   to any of them (reported by krove).
  3618 - Applied a patch by Tatsumi Imai to fix problems with Japanese characters
  3619   when editing polls (bug #17).
  3620 - Hide those story submissions from moderators that don't have access to the
  3621   topic.
  3622 - Use $HTTP_SERVER_VARS['PATH_INFO'] instead of $PATH_INFO for the url_rewrite
  3623   feature, since the latter doesn't seem to work on some setups (reported by
  3624   Peter Sieradzki).
  3625 
  3626 - Updated Slovenian language file, provided by gape.
  3627 - Updated Polish language file for the Static Pages plugin, provided by
  3628   Robert Stadnik
  3629 
  3630 
  3631 July 6, 2003 (1.3.8rc2)
  3632 ------------
  3633 
  3634 - When failing to delete an image for a story (from the Admin's story editor),
  3635   only log this problem in the error.log but don't abort the script (reported
  3636   by Rob).
  3637 - When editing a story that used double quotes in the title, the title was cut
  3638   off after the first quote sign.
  3639 - Story Admins could edit stories in a topic they didn't have access to, if
  3640   they somehow found out the story id.
  3641 - When $_CONF['listdraftstories'] was enabled, moderation.php listed all stories
  3642   that had the "draft" flag set without checking for topic permissions (this
  3643   option was only introduced in 1.3.8rc1).
  3644 - For Story Admins, the Admin menu may have listed a greater number of stories
  3645   than the user actually had access to (didn't check for topic permissions).
  3646 - Fixed "Google paging" on the Admin's list of stories when the current user
  3647   didn't have access to all the topics (paging was only introduced in 1.3.8rc1).
  3648 - Try to prevent "illegal access" messages in error.log, caused by the plugin
  3649   page looking for uninstalled plugins.
  3650 - Upcoming events (in the block of the same name) are now sorted by start date
  3651   and start time, which makes more sense than the old start date, end date
  3652   sort order (reported by Peter Sieradzki).
  3653 - Fixed description of function DB_count() in lib-database.php (reported by
  3654   jose on IRC).
  3655 - Changed the "getBent" block to test the real admin directory in case it has
  3656   been renamed (bug #762881).
  3657 - Saving the user profile also saved the privacy options, setting them all to
  3658   "off" (reported by Dwight Trumbower).
  3659 - Check the topic permissions when doing a search on stories and comments.
  3660 - Check the topic permissions when displaying the new stories and comments in
  3661   the What's New block.
  3662 - Need to use date_sub() in the SQL request for the display=new mode on the
  3663   index page to ensure compatibility with old versions of MySQL (reported by
  3664   Markus Guske).
  3665 - New users created manually from the Admin's User menu were assigned a
  3666   random password, even when the Admin entered one (reported by TechFan).
  3667   This bug was only introduced in 1.3.8rc1.
  3668 - The printer-friendly version of a story in HTML format should not call
  3669   nl2br() on the story text (bug #762636).
  3670 - When attempting to edit a submission, check that it still exists in the
  3671   submission queue (since another Admin could already have handled it),
  3672   avoiding an SQL error (reported by Simon Lord).
  3673 
  3674 - New language file for formal German (addressing the user as "Sie" instead of
  3675   "Du"), provided by Philip Sack.
  3676 - Updated Italian language file, provided by quess65.
  3677 - Updated Japanese language file, provided by Yusuke Sakata.
  3678 - Updated Polish language file, provided by Robert Stadnik.
  3679 - Updated Spanish language file, provided by Angel Romero.
  3680 - Updated Swedish language file, provided by Markus Berg.
  3681 
  3682 - New formal German language file for the Static Pages plugin.
  3683 - New Italian language file for the Static Pages plugin, provided by quess65.
  3684 - New Japanese language file for the Static Pages plugin, provided by Yusuke
  3685   Sakata.
  3686 - New Swedish language file for the Static Pages plugin, provided by Markus Berg
  3687 
  3688 
  3689 June 29, 2003 (1.3.8rc1)
  3690 -------------
  3691 
  3692 - Fixed SQL error when using quotes in a group description.
  3693 - Fixed bug where blocks assigned to a topic disappeared when viewing articles.
  3694 - Add new Plugin API PLG_getHeaderCode, Used to return JS Functions or other
  3695   Header Meta Tags required by the plugin. Added new variable {plg_headercode}
  3696   to the template header.thtml files.
  3697 - New search: You can search for the exact phrase, all of the words, or any of
  3698   the words from the query. Search words are highlighted in stories. Also,
  3699   results in stories and comments are listed separately.
  3700 - Added new block "Privacy Options" to the Preferences:
  3701   + chose to receive email from admins and/or other users
  3702   + chose to show up in Who's Online block
  3703   (Feature requests #609758 and #609759)
  3704 - New config option $_CONF['hide_author_exclusion'] to hide the author
  3705   exclusion list from the user's preferences (useful e.g. when it's a rather
  3706   long list but hardly used by the users of your site).
  3707 - Added tracking of users lastlogin to the userinfo table.
  3708   New $_CONF['lastlogin'] added to config.php - SESSION SETTINGS area
  3709 - Added an option in admin/group.php to list all the users belonging to a group.
  3710 - Added adminoption_off.thtml template file (for current entry in the Admin
  3711   menu) and topicoption.thtml and topicoption_off.thtml files (for entries in
  3712   the Topics/Sections menu).
  3713 - Geeklog will not accept topic ids containing spaces any more.
  3714 - Added new config option $_CONF['allow_account_delete'] to allow users to
  3715   delete their account (from their Account Information page).
  3716 - Posts (stories and comments) from deleted users will now be reassigned to
  3717   user "Anonymous".
  3718 - Removed the Geeklog version number from the footer of the default themes.
  3719   Instead, the version number is now displayed in the headline of the "Command
  3720   and Control" block (moderation.php) and next to the "GL Version Test" entry
  3721   in the Admin's functions block.
  3722 - New Norwegian language file, provided by Torfinn Ingolfsen.
  3723 - Introduced new config.php variable $_CONF['mysqldump_options'] that holds
  3724   additional options to be used when Geeklog calls mysqldump to do a backup
  3725   of the database.
  3726 - Added a check for an existing email address in the user's profile so that
  3727   users can't change their email address to one that's already in use for
  3728   another account.
  3729 - Pick up the 'postmode' default setting for the Admin's story editor.
  3730 - Stories in the Daily Digest are now sorted by date (newest first, as on the
  3731   index page).
  3732 - Changed handling of plugin comments slightly: Plugins will have to do the
  3733   'delete' operation on their comments on their own now since Geeklog can't
  3734   possibly know which (if any) permissions are needed to delete a comment.
  3735   The 'id' parameter in the call to plugin_handlecomment_<type> will now
  3736   always be the comment id.
  3737 - In another attempt to solve the various issues regarding "www vs. non-www"
  3738   URLs and related login problems:
  3739   + Made sure all setcookie() calls use all 6 parameters
  3740   + Try to guess the correct value for $_CONF['cookiedomain'] if it isn't set
  3741   + Removed the redirection attempt from index.php
  3742 - When requesting a new password for your account, you can now enter either
  3743   your username or the email address you used to register with the site.
  3744 - Added a speed limit for requests for a new password (defaults to 5 minutes
  3745   between requests).
  3746 - The commentspeedlimit and submitspeedlimit tables have been replaced with a
  3747   general speedlimit table and three new functions operating on it have been
  3748   introduced (in lib-common.php). The new table has a 'type' field, so plugins
  3749   could easily implement their own speed limits.
  3750 - Introduced new "forgot password" functionality: When requesting a new password
  3751   for an account, the user will now receive an email with a link that s/he has
  3752   to click on. It will take the user to a form where s/he can enter a new
  3753   password (a unique id is contained in the URL and checked when entering the
  3754   new password, thus preventing misuse). The old password remains valid until a
  3755   new password is entered from this form, so the email can simply be ignored in
  3756   case the user didn't request a new password (cf. Feature Request #567979).
  3757 - Removed unused commentheader.thtml file from all default themes.
  3758 - Fixed the redirect after posting a comment to a poll (should return to the
  3759   poll, not to the index page).
  3760 - You can now "clone" events, i.e. make a copy of an existing event. This comes
  3761   in handy if you have a lot of similar events (e.g. repeating events).
  3762   Template files admin/event/eventlist.thtml and admin/event/listitem.thtml
  3763   need to be updated or the "clone" option will not show up ...
  3764 - Fixed a bug in the Admin's poll editor which let you enter more than
  3765   $_CONF['maxanswers'] answers for a poll. You may need to adjust your setting
  3766   of $_CONF['maxanswers'] or you may lose an answer when editing such a poll
  3767   (found & fixed by Tom Willet).
  3768 - Moved hard-coded HTML for the poll block and poll results to new template
  3769   files.
  3770 - When the theme uses a replacement function for COM_siteHeader and/or
  3771   COM_siteFooter, we need to pass it the same parameter that the replaced
  3772   function was being called with.
  3773 - Fixed "Last 10 comments by user" in the user's profile which was missing the
  3774   comments to polls.
  3775 - When a new user registers, we need to check for a valid email address
  3776   first (before searching the database to see if that address is already in use)
  3777 - You are now taken back to the moderation page after editing a story submission
  3778 - Fixed 'previous' link on the Admin's list of stories. Alternatively, you can
  3779   now use {google_paging} there (requires a change in the template).
  3780 - Added -Q option to the mysqldump call when doing a database backup. This will
  3781   enclose database names in quotes and thus prevent problems with special
  3782   characters in table names as used by some plugins (bug #712901).
  3783 - Set the max length of the input field for the event URL to 128 characters
  3784   (was 96) in the default themes (other themes may need adjusting).
  3785 - Fixed localisation of the date of all-day events in the event details.
  3786 - Added missing {event_location} variable in calendar/eventdetails.thtml
  3787   template files.
  3788 - Fixed display of events spanning several days in the personal calendar.
  3789 - Moved hard-coded HTML for the login form in the User Functions block to a new
  3790   template file.
  3791 - The Sections block now uses the useroption.thtml and the new
  3792   useroption_off.thtml template files for the list of topics. You can also use
  3793   $_CONF['hide_home_link'] to hide the "Home" link from the Sections block.
  3794 - New config option $_CONF['keep_unscaled_image'] allows you to keep the
  3795   original, unscaled image after upload (in stories only, for now). The smaller,
  3796   scaled image will be used as a thumbnail and link to the original image
  3797   (based on code provided by Alexander Schmacks).
  3798 - In admin/database.php:
  3799   + Made sure we really display the last 10 backups (fix by Alexander Schmacks)
  3800   + Display total number of backups in the directory
  3801   + Moved hard-coded HTML for the list of backups to template files
  3802   + Replaced $PHP_SELF with $_CONF['site_admin_url']/database.php since
  3803     $PHP_SELF seems to cause problems in some environments
  3804 - You can now make one topic the default topic. The topic selection in the
  3805   story submission form will then default to this topic.
  3806 - When clicking on the "contribute" link from the topic index page, the new
  3807   story will now default to the topic you just viewed.
  3808   This only works with themes that use the {menu_elements} variable in
  3809   header.thtml. Other themes can use the new variable {current_topic} which
  3810   holds '&topic=<topicid>' when a topic is selected (and is empty otherwise).
  3811 - Integrated Vincent Furia's improvements for COM_exportRDF. You can now use
  3812   $_CONF['rdf_limit'] to limit the number of stories in the RDF file by
  3813   setting this to a number (e.g. 10) or a number of hours (e.g. 24h).
  3814   $_CONF['rdf_storytext'] lets you add the story's introtext to the RDF feed.
  3815   Also fixed a bug with un-escaped special characters in the feed's title.
  3816 - Added paging to the list of Static Pages (for more than 50 pages).
  3817 - Fixed problem with the Older Stories block disappearing when it was edited
  3818   (e.g. moved from left to right), bug #670673.
  3819 - Fixed "late" update of portal blocks (bug #681855).
  3820 - Fixed mixing of comments from different plugins, found & fixed by Alan McKay.
  3821 - A theme can provide its own functions to render the site header and footer
  3822   (this is not a new feature). Geeklog now expects those functions to be named
  3823   <themename>_siteHeader and <themename>_siteFoote, respectively. Until now,
  3824   it was, however, looking for the wrong function names ...
  3825 - Added the piece of code that is needed to make the Theme Tester work to
  3826   lib-common.php (won't do anything without the Theme Tester block).
  3827 - Fixed SQL query for displaying new comments in the What's New block, provided
  3828   by Marc Von Ahn (with some help from Rob Griffiths).
  3829 - Changes to make Geeklog install and work again on old versions of MySQL
  3830   (e.g. MySQL 3.22). Special thanks to Markus Guske for providing the fixes
  3831   for the What's New block and for testing the new install.
  3832 - Feb 13/03: (Blaine) Added new Plugin function to support Center Blocks
  3833   Included call to PLG_showCenterblock in index.php
  3834 - The user's signature is now appended to messages sent to another user.
  3835 - Feb 6/03: (Blaine)  Added support for custom user registration and account
  3836   profile: Added hooks to users.php, usersettings.php  and admin/user.php and
  3837   new $_CONF parm to enable
  3838   Developer is responsible for code to handle new form processing, account
  3839   record save, update and delete.
  3840 - The list of blocks now includes a column indicating whether the block is
  3841   enabled or disabled (will need changes in admin/block/listblocks.thtml and
  3842   listitem.thtml template files of custom themes).
  3843 - Variable {rdf_url} (available in footer.thtml) holds the URL of the RDF file.
  3844 - What's Related block is now created dynamically.
  3845 - Top Ten Commented Stories didn't count comments on stories submitted by
  3846   anonymous users (found & fixed by Laurence Whitworth).
  3847 - Allow users to change their username if $_CONF['allow_username_change'] is
  3848   set to 1.
  3849 - Jan 18/03: (Blaine) Corrected problem in mysql.class.php where the checks in
  3850   dbdelete, dbchange, dbcount and dbcopy for a passed value of 0 were not
  3851   sufficient. If the parameter was 0 - it was assuming it was empty.
  3852   Consequence: The dbdelete would delete all records or dbcount would return
  3853   count(*)
  3854 - Display Preferences and Comment Preferences have been merged. There is now
  3855   only one option, Preferences, in the User Functions block.
  3856 - Hard-coded HTML for the Display Preferences, Comment Preferences, and
  3857   Account information has been moved to template files (new "preferences"
  3858   directory).
  3859 
  3860 Static Pages Plugin 1.3
  3861 -----------------------
  3862 - Integrated (and extended) the Static Pages plugin 1.2 (originally started by
  3863   Phill Gillespie and later supported by Tom Willet). This "combined" version
  3864   is now called Static Pages 1.3.
  3865   Use Geeklog's install script to upgrade from any previous version (1.1 or 1.2)
  3866 - Supports the use of PHP in static pages.
  3867 - You can now edit the ID of a static page to create more readable URLs like
  3868   http://yoursite/staticpages/index.php?page=about
  3869   In combination with Geeklog's $_CONF['url_rewrite'] option, the URL can even
  3870   look like http://yoursite/staticpages/index.php/page/about
  3871 - You can now "clone" static pages, i.e. make a copy of an existing page.
  3872 - Removed the "static pages on frontpage" hack and changed the plugin to use
  3873   the new Center Block API instead:
  3874   A static page can now be displayed on the top of the front page, on the
  3875   bottom, or after the featured story. It can also replace the front page
  3876   entirely. Instead of using special label names (like "frontpage"), the
  3877   display mode and position can now be selected from drop-down menus in the
  3878   static pages editor.
  3879 
  3880 Please see docs/staticpages.html for details.
  3881 
  3882 
  3883 January 26, 2004 (1.3.7sr5)
  3884 ----------------
  3885 
  3886 This release addresses the following security issues:
  3887 
  3888 1. It was possible for users in the Group Admin and User Admin groups to
  3889    become a member of the Root group (reported by Samuel M. Stone, bug #135).
  3890 2. Being admin for a certain area (e.g. Story Admin for stories) made it
  3891    possible to delete all objects in that area (e.g. stories) even if the
  3892    user was not supposed to have access to them, provided the id of the object
  3893    was known.
  3894 3. It was possible to delete other people's personal events if you knew the
  3895    event ID.
  3896 4. It was possible to browse through the comments of a story even if the user
  3897    did not have access to the actual story (reported by Peter Roozemaal).
  3898 5. Due to an XSS issue, it was possible to change someone's account settings
  3899    (including the password) if you got them to click on a specially crafted
  3900    link (reported by Jelmer, fix suggested by Vincent Furia).
  3901 6. The comment display suffered from the possibility of an SQL injection
  3902    (reported by Jelmer).
  3903 7. It was possible to inject Javascript code in the calendar (reported by
  3904    Jelmer).
  3905 8. It was possible to execute (but not save) Javascript code in the comment
  3906    preview (reported by Jelmer).
  3907 
  3908 
  3909 December 5, 2003 (1.3.7sr4)
  3910 ----------------
  3911 
  3912 This release addresses the following security-related issues:
  3913 
  3914 1. As "dr.wh0" pointed out, the category field for link submissions was not
  3915    filtered at all. Although you probably can't cause too much harm with
  3916    those 32 characters, this has now been fixed.
  3917 2. Vincent Furia found that the restrictions for the form to email users
  3918    could be circumvented and could even be used to spam users.
  3919 3. There was a way to post comments anonymously even when posting for
  3920    anonymous users had been disabled.
  3921 4. It was possible to post comments under someone else's username.
  3922 
  3923 
  3924 October 12, 2003 (1.3.7sr3)
  3925 ----------------
  3926 
  3927 This release is intended to address some of the security issues reported in
  3928 September and early October 2003.
  3929 
  3930 1. Includes Ulf Harnhammar's kses HTML filter to address possible Javascript
  3931    injections and CSS defacements.
  3932 
  3933    When upgrading from an earlier version, please make sure to copy over the
  3934    $_CONF['user_html'] and $_CONF['admin_html'] arrays from the included
  3935    config.php to your own copy of that file.
  3936 
  3937 2. While almost all of the alleged SQL injection issues could not be
  3938    reproduced, this release includes an update to the MySQL class to not
  3939    report SQL errors in the browser any more (but only in Geeklog's error.log).
  3940    This will avoid disclosing any sensitive information as part of the error
  3941    message.
  3942 
  3943    Please note that at the moment we do NOT recommend to use Geeklog with
  3944    MySQL 4.1 (which, at the time of this writing, is in alpha state and should
  3945    not be used on production sites anyway).
  3946 
  3947    An upcoming release of Geeklog will address the remaining SQL issues,
  3948    including any problems with MySQL 4.1.
  3949 
  3950 
  3951 May 26, 2003 (1.3.7sr2)
  3952 ------------
  3953 
  3954 Security issues:
  3955 
  3956 1. It was possible to obtain valid session ids for every account (reported by
  3957    SCAN Associates).
  3958 2. Using Internet Explorer, it was possible to upload an image with embedded
  3959    PHP code and execute it (reported by SCAN Associates).
  3960 3. Story permissions could override topic permissions, resulting in the display
  3961    of stories to users who shouldn't have access to them (reported by Andrew
  3962    Lawlor).
  3963    Note: This was already fixed with the new index.php, released 2003-05-15.
  3964 4. Added a warning in config.php that adding any of the following tags to the
  3965    list of allowable HTML can make the site vulnerable to scripting attacks:
  3966    <img> <span> <marquee> <script> <embed> <object> <iframe>
  3967    (pointed out by Joat Dede)
  3968 
  3969 - Fixed the bug in several of the admin areas (blocks, events, links, polls,
  3970   stories, topics) where admins without root access got a message stating
  3971   that they did not have the proper permissions when trying to save an object.
  3972 - Fixed a typo in lib-sessions.php that caused the creation of unnecessary
  3973   sessions (pointed out by Kobaz).
  3974 - Fixed malformed cookie (used $_CONF['site_url'] instead of
  3975   $_CONF['cookiedomain']) in lib-sessions.php, found & fixed by Jon Evans.
  3976 - Fixed a bug that prevented certain right blocks from showing up when there
  3977   were no stories for a topic.
  3978 - The "Google paging" on the index page may have displayed the wrong number
  3979   of pages for users who disabled topics in their display preferences.
  3980 
  3981 - Updated Dutch language file, provided by Claudio.
  3982 - Updated French language file, provided by Jaques.
  3983 - Updated Hellenic (Greek) language file, provided by Access-=-Denied Networks
  3984 - Updated Spanish and Spanish (Argentina) language files,
  3985   provided by Fernando Bernardini
  3986 - New Portuguese language file, provided by Mario Seabra
  3987 - New Bulgarian language file, provided by lachko
  3988 - New Turkish language file, provided by Sinan Ussakli
  3989 - New Slovenian language file, provided by gape
  3990 - New Slovak language file, provided by Rado
  3991 - New Romanian language file, provided by Dan Gheorghitza
  3992 - New Chinese language file (gb2312 encoding), provided by Crocodile King
  3993 - New Czech language file, provided by Hermes Trismegistos
  3994 
  3995 
  3996 January 13, 2003 (1.3.7sr1)
  3997 ----------------
  3998 
  3999 Security issues:
  4000 
  4001 1. Javascript code could be used in the homepage link of a user's profile
  4002    (reported by Jin Yean Tan).
  4003 2. Javascript code could be injected in several URLs so that these could then
  4004    be used for a cross-site scripting attack (reported by Jin Yean Tan).
  4005 3. Anybody could delete comments, provided they knew the comment id.
  4006 4. A StoryAdmin could manipulate any story, even if permissions should have
  4007    prevented that. The same applied to Admins for links, events, polls, topics,
  4008    and blocks (reported by Kobaz).
  4009 
  4010 - The new user notification email was always sent out, even if 'user' was not
  4011   listed in $_CONF['notification'].
  4012 - In admin/database.php, added a check to test if function is_executable() is
  4013   available (since it is not available on Windows).
  4014 - {copyright_notice} in the site's footer (footer.thtml) will now use the
  4015   current year for the copyright notice. You can override this by setting
  4016   $_CONF['copyrightyear'] to the year you want.
  4017   Also, new variables {lang_copyright} and {current_year} as well as {site_name}
  4018   and {site_slogan} are now available in footer.thtml so that you can build a
  4019   customised copyright notice from them.
  4020 - Fixed incomplete links to search results from poll comments.
  4021 - Fixed wrong link to the week view from the last week of the month view.
  4022 - Fixed bug where links was not using the date field - being stored as null.
  4023 - Fixed image resizing when using ImageMagick.
  4024 - Added the actual and max. image dimensions in the error message that is
  4025   displayed when an image exceeds the max. image dimensions and no imagelib
  4026   is configured.
  4027 - The Admin menu will now be displayed for users which have Admin access to
  4028   a plugin but not to a core Geeklog Admin feature.
  4029 - The redirect in index.php (when a site is called up with a URL other than
  4030   the one configured in $_CONF['site_url']) now checks for the existence of
  4031   $HTTP_SERVER_VARS['HTTP_HOST']. Also, the server name comparison is done
  4032   case-insensitive now.
  4033 - New config option $_CONF['emailstoriesperdefault']: Set to 1 if new users
  4034   should be subscribed to the daily digest automatically. Defaults to 0 (no
  4035   automatic subscribtion), thus restoring the behaviour of Geeklog prior to
  4036   1.3.7.
  4037 - Removed some unused / outdated files (include and etc directories)
  4038 - Updated URLs to point to www.geeklog.net and lists.geeklog.net instead of the
  4039   now outdated places on Sourceforge.
  4040 - Updated Dutch language file, provided by R.F. van der Veen
  4041 - New Danish language files (for Geeklog and for the Static Pages plugin),
  4042   provided by Steen Broelling
  4043 
  4044 
  4045 December 16, 2002 (1.3.7)
  4046 -----------------
  4047 
  4048 - In all Admin editors, the hard-coded default group permissions have been
  4049   changed from 3 (read/write) to 2 (read-only).
  4050 - Make sure an error message is displayed when a StoryAdmin tries to edit a
  4051   story s/he does not have access to.
  4052 - Hide topics from the Admin's list of stories that the current (Story)Admin
  4053   has no access to.
  4054 - Tom Willet found a problem in admin/user.php that sometimes mangled user
  4055   names, especially on sites hosted on sourceforge.net.
  4056 - Fixed an SQL error when using single quotes in a block title.
  4057 - When updating events in the master calendar, make sure copies of such events
  4058   in the personal calendars are updated as well (including deleting them when
  4059   the original event is removed from the master calendar).
  4060 - Fixed PRIMARY KEY for table personal_events, so that more than one user can
  4061   add an event to his/her personal calendar.
  4062 
  4063 - New Hellenic (Greek) language file, provided by Access-=-Denied Networks
  4064 - New Spanish language file, provided by LeChuck
  4065 - Updated Polish language file, provided by Robert Stadnik
  4066 - Updated Italian language file, provided by quess65
  4067 - Updated Japanese language file, provided by Yusuke Sakata
  4068 
  4069 
  4070 December 3, 2002 (1.3.7rc1)
  4071 ----------------
  4072 
  4073 - Modifed savesubmission() to better handle Plugin return - Bug ID 642106
  4074 - Modified Comment Plugin API Comment call - PLG_handlePluginComment now passes
  4075   $operation to indicate a 'save' or 'delete'.
  4076 - Fixed problems with the portal.php redirect for links (bug #579221).
  4077 - Fixed a problem when uploading images with certain versions of Opera.
  4078 - When deleting a topic, also remove stories for that topic from the submission
  4079   queue.
  4080 - Added a redirect in index.php when the site was called up with the "wrong"
  4081   URL (i.e. not the one that has been set in $_CONF['site_url']), thus
  4082   fixing the "www vs. non-www" problem where people showed up in Who's Online
  4083   but did not get the User Functions block.
  4084 - The topic selection in the daily digest now defaults to "on" for all topics,
  4085   i.e. when the daily digest is activated ($_CONF['emailstories'] = 1) and
  4086   a user has not selected any topics yet, s/he will receive a digest for all
  4087   topics. This ensures that new topics are automatically added to the daily
  4088   digest (bug #573305).
  4089 - Fixed a permission problem with the daily digest where users could get a
  4090   digested version of a story they didn't have access to.
  4091 - Fixed permission problems in the statistics where story titles, links, and
  4092   events where listed even when the current user did not have access to them.
  4093 - Added the Top Ten Links to the links page (only when links are displayed
  4094   per category).
  4095 - When sending emails, Geeklog now uses \r\n in the mail headers which should
  4096   resolve problems under Windows.
  4097 - Resolved a couple of stripslashes() issues.
  4098 - The static pages plugin can now be uninstalled using the "delete" option
  4099   from the plugin editor. Note that this will only remove the plugin's tables
  4100   and data from the database, not remove any files.
  4101 - Added a simple email notification when a new story, link, or event has been
  4102   submitted or a new user has registered. See $_CONF['notification'] for details
  4103 - Added a separate set of config variables for the max. dimensions of user
  4104   photos ($_CONF['max_photo_width'] etc.).
  4105 - Fixed a problem when resizing GIF images using the netpbm tools.
  4106 - Check the topic permissions when presenting a list of topics in the Admin
  4107   story editor (since the StoryAdmin may not have access to all topics).
  4108 - Removed the Normal / Archive / Refreshing drop down menus from the admin
  4109   story and poll editors since they're not used anyway.
  4110 - In the links section, do not display link categories when the current user
  4111   does not have access to the links in those categories (bug #612869).
  4112 - Fixed problems when using quotes in the title of an HTML-formatted comment
  4113   (including confusing error messages and wrong speed limit alerts).
  4114 - Changed the way how Geeklog checks if it's currently displaying the site's
  4115   front page, thus fixing the problem with disappearing "homeonly" blocks.
  4116 - Fixed double line spacing in HTML-formatted comments and [code] sections when
  4117   running on PHP 4.2.0 and up.
  4118 - Fixed problems with slashes and HTML entities in emails sent out by Geeklog
  4119   (Send story to friend, daily digest, Admin mail utility).
  4120 - Added new config variable 'showfirstasfeatured' which, when set to 1, will
  4121   render the first story on _any_ page like it was a featured story.
  4122 - Added admin/plugins/newpluginlist.thtml and newlistitem.thml template files
  4123   for the list of plugins not installed yet. These files are optional, i.e.
  4124   the list will be formatted using hard-coded HTML when they don't exist.
  4125 - Removed unused template file admin/plugins/installform.thtml.
  4126 - The plugin menu will now list all plugins which exist in the file system
  4127   but haven't been installed (yet) with a link to their install script for
  4128   easy installation (based on code provided by Blaine Lang).
  4129 - New plugin API function PLG_callCommentForm() and improvements for the use of
  4130   comments in plugins, provided by Blaine Lang.
  4131 - The Older Stories block did not take stories into account which were to be
  4132   published in the future. Therefore, the block sometimes listed stories that
  4133   were still on the first index page.
  4134 - Added variable {contributedby_photo} (user photo of story author) for use in
  4135   story templates.
  4136 - Users couldn't disable display of the Older Stories block in their preferences
  4137 - The contents of the Older Stories block was deleted whenever you changed it
  4138   (e.g. moving it from the left to the right column).
  4139 - The static pages editor displayed a blank page when the title and/or content
  4140   field of a new static page were not filled in (will display an error message
  4141   now).
  4142 - Implemented fixes for plugins using the submission queue, suggested by
  4143   Vincent Furia.
  4144 - Following the link "X stories in last 24 hours" from the What's New block
  4145   will now display only the new stories on the index page.
  4146 - When $_CONF['searchloginrequired'] = 2, the search is completely blocked
  4147   for anonymous users (1 will only block the advanced search).
  4148 - Added a check to test for a valid date format when searching by date.
  4149 - Added $_CONF['skip_preview'] to allow submission of comments and stories
  4150   without previewing (defaults to off).
  4151 - Search queries with less than 3 characters are now rejected to reduce server
  4152   load.
  4153 - (Event)Admins couldn't add events directly to their personal calendar
  4154   (found & fixed by Kenn Osborne).
  4155 - Fixed a nasty bug in SEC_inGroup() (in lib-security.php) that let a user
  4156   admin change the password of a root user, so that effectively every user
  4157   admin could become a root user ...
  4158 - Topics are now sorted alphabetically by the topic name instead of by topic id.
  4159 - Added several new variables which can be used in the story template files.
  4160 - New config options $_CONF['dateonly'] and $_CONF['timeonly'] which hold the
  4161   format string for day + month (to be used in the Upcoming Events and Older
  4162   Stories blocks) and the time (to be used for event details).
  4163 - Fixed calls to unknown function printErrorMsgs in the file upload class.
  4164 - New options in config.php:
  4165   $_CONF['upcomingeventsrange'] = no. of days to look ahead for upcoming events
  4166   $_CONF['emailstoryloginrequired'] = disallow "send story be email" for
  4167   anonymous users
  4168   $_CONF['hideemailicon'], $_CONF['hideprintericon'] = hide email / printer
  4169   icon from stories (and from Story Options block)
  4170   $_CONF['hidenewstories'], $_CONF['hidenewcomments'], $_CONF['hidenewlinks'] =
  4171   hide new stories / comments / links from What's New block
  4172 - User photos are now resized according to the image dimensions in config.php
  4173   (if an imagelib is configured - otherwise images exceeding those dimensions
  4174   are rejected).
  4175 - Added a check for the proper permissions on the admin page of the Static
  4176   Pages plugin.
  4177 - Plugins can now return "false" (or an empty array) from
  4178   plugin_cclabel_<plugin-name> so that the plugin's icon does not show up
  4179   in moderation.php if the user does not have the proper access rights for the
  4180   plugin. Changed the Static Pages plugin to do exactly that.
  4181 - Fixed problems when using multiple [code] ... [/code] sections.
  4182 - PHP blocks which return an empty string are not displayed any more. This
  4183   allows PHP blocks to "hide" themselves.
  4184 - Searching for links caused an SQL error on installs that were upgraded
  4185   from Geeklog 1.1 (missing "date" field in links table). However, links don't
  4186   use that field anyway, so searching by date was removed (the "date" field
  4187   will be added when upgrading the database to 1.3.7).
  4188   Also, the search results are now sorted by link title.
  4189 - The calendar displayed an empty last week (in month view) for some months,
  4190   e.g. November 2002.
  4191 - COM_pollResults() will not use the side block templates when called from
  4192   pollbooth.php (thus allowing different block layouts for the poll results
  4193   in a side block and in pollbooth.php).
  4194 - Allow for theme-based topic icons by using the $_THEME_URL variable as the
  4195   base directory for topic icons (if that variable is set).
  4196 - Fixed display (or lack thereof) of $ signs in portal blocks.
  4197 - lib-common.php didn't use $_CONF['path_language'] to include the default
  4198   language file.
  4199 - What's Related block
  4200   + content is now set for all user submitted stories (previously, links where
  4201     only added in stories submitted by the Admin or user submissions edited by
  4202     the Admin)
  4203   + block is not displayed when it's empty
  4204   + now uses COM_makeList() (i.e. the list.thtml and listitem.thtml template
  4205     files) instead of hard-coded <li> tags
  4206 - The What's Related and Story Options blocks can now be used independent of
  4207   each other in the article/article.thtml template file - use {whats_related},
  4208   {story_options} or {whats_related_story_options}.
  4209 - Theme authors can now use the $_BLOCK_TEMPLATE "hack" for the What's Related
  4210   and Story Options blocks as well (using 'whats_related_block' and
  4211   'story_options_block' as the block names).
  4212 - Fixed the "noboxes" feature where all blocks (with the exception of the
  4213   section, login / user functions, and admin blocks) are hidden.
  4214 - Changed admin/link/listitem.thtml so that the URLs in the Admin's list of
  4215   links are clickable.
  4216 - Fixed an SQL error when calling search.php and there were no stories and no
  4217   comments in the system.
  4218 - Fixed an SQL error in the user profile when there were no stories and no polls
  4219   in the system.
  4220 - Fixed date bug when previewing stories to be posted around the noon hour in
  4221   the admin story editor.
  4222 - Added sanity checks in admin/story.php to prevent possible loss of stories
  4223   when using an incomplete language file (or manipulating the URL).
  4224 - Fixed a variable in admin/plugins/editor.ththml of the Smooth Blue theme.
  4225 - Fixed a typo and a grammatical error in english.php
  4226 - Fixed problems with the "static page as frontpage" hack:
  4227   + will now check if the static pages plugin is installed and enabled
  4228   + uses sp_format (i.e. display blocks as specified in the static pages editor)
  4229   + added a missing stripslashes() call
  4230   New: When you have $_SP_CONF['in_block'] == 1 and the label of the static
  4231   page is neither empty nor "nonews" then that label is used as the block title
  4232   for the static page.
  4233 - The "userevent" table is back in lib-database.php. Geeklog doesn't use this
  4234   table any more, but the name is needed when upgrading from old versions.
  4235 
  4236 Localisation:
  4237 - New Chinese language file (Big 5 encoding), provided by Jacky Chan
  4238 - New Swedish language file, provided by Markus Berg
  4239 - Updated Dutch language file, provided by R. F. van der Veen
  4240 - Updated French language file, provided by Florent Guiliani
  4241 - The German language file now uses the proper national special characters
  4242   (umlauts) instead of HTML entities.
  4243  _ New Polish language file for the Static Pages plugin, provided by Robert Stadnik
  4244 - New Spanish language file for the Static Pages Plugin, provided by gorka
  4245 
  4246 
  4247 September 20, 2002 (1.3.6)
  4248 ------------------
  4249 - Images in stories can now be resized automatically during upload, provided
  4250   you have either ImageMagick or netpbm installed. See the image settings in
  4251   config.php for details.
  4252 - If you create a static page with the title "Frontpage" then the content of
  4253   this static page will be displayed above the first story on the front page
  4254   of your site. If you additionally set the label of this static page to
  4255   "nonews", then the static page will completeley replace the news on the front
  4256   page of your site.
  4257   You may want to wrap static pages in a block - set $_SP_CONF['in_block'] = 1;
  4258   in /path/to/geeklog/plugins/staticpages/config.php
  4259 - A user assigned only to the Mail Admin group wasn't able to use the "Mail
  4260   Users" function.
  4261 - The filter to disable Javascript onXXX events also changed certain links in
  4262   HTML postings. This should be fixed now.
  4263 - The poll uses a POST instead of a GET request now to at least prevent
  4264   primitive manipulation attempts ...
  4265 - Events on the same day were displayed in the order they were entered, not
  4266   in the order they were scheduled (occured in day, week, and month view).
  4267 - The user function and admin blocks weren't using the proper templates when
  4268   the theme was using the $_BLOCK_TEMPLATE trick, as outlined in
  4269   <http://www.geeklog.net/article.php?story=20020429092841722>.
  4270 - When the first character of the content of a block is a '<' it is now
  4271   assumed that the block contains HTML and nl2br() is not applied to the
  4272   block content. This allows proper HTML usage and even the use of Javascript
  4273   in blocks.
  4274 - Sanity checks have been added to the admin editors (including the editor
  4275   for static pages) to prevent possible damage to the database in case of
  4276   incomplete translations (language files) or invalid IDs.
  4277 - The delete button in the plugin editor, which was unused since the removal
  4278   of the automated plugin install (in Geeklog 1.3.4), will now cause a function
  4279   plugin_uninstall_<plugin name> to be called. This allows plugins to uninstall
  4280   themselves (if possible).
  4281 - The author's name was missing from emailed stories. Also changed it so that
  4282   the author's name is only included when $_CONF['contributedbyline'] == 1.
  4283   The daily digest now also includes the author's name.
  4284 - Fixed the "1054: Unknown column 'deleted' in 'where clause'" SQL error that
  4285   some people were getting when logging out.
  4286 - Submitted stories will now pick up the permissions from the topic they were
  4287   posted under (instead of using default permissions).
  4288 - Added new features story.submit, link.submit, event.submit which, when
  4289   assigned to a group, allow members of that group to post directly (skipping
  4290   the submission queue) even when the submissione queue is active.
  4291 - Fixed issues with backslashes in block titles, as suggested by Neil Darlow.
  4292 - The page navigation is now wrapped in a <div class="pagenav"> so that it
  4293   can be formatted by a theme using CSS.
  4294   Because of this change, the template files admin/user/userslist.thtml and
  4295   links/links.thtml had to be changed, because they wrapped the page navigation
  4296   in a <p>.
  4297 - Submission of links and events by anonymous users failed when the link
  4298   submission queues were switched off.
  4299 - Anonymous users were able to submit comments even when $_CONF['loginrequired']
  4300   was set to 1.
  4301 - Fixed a search bug introduced in 1.3.6rc1 when searching by author.
  4302 - When updating from an earlier version, the install script will no longer try
  4303   to rename the staticpage table when no prefix is used in the database.
  4304 - PLG_getUserOptions() will no longer return empty menu options.
  4305 - Updated Italian language file, provided by quess65
  4306 - Changed some wording in the German language file
  4307 - Fixed spelling errors in the English language file
  4308 
  4309 
  4310 August 28, 2002 (1.3.6rc1)
  4311 ---------------
  4312 - Problems with using the dollar sign in stories, comments, and their titles
  4313   have been fixed.
  4314 - Fresh installations now have a "Are you secure?" block pre-installed
  4315   that only the Admin can see and which does some (very simple) tests whether
  4316   the site is secure or not.
  4317 - Fixed the page navigation in (admin's) user list.
  4318 - Using the preview in the admin story editor will now keep the topic icon
  4319   and the time will not revert from pm to am any more.
  4320 - The links section now includes a list of the link categories at the top.
  4321   The list of links is now also separated into pages (10 links per page by
  4322   default, configurable in config.php).
  4323   To get back the old (pre-1.3.6) style of the links section, just set both
  4324   $_CONF['linkcols'] and $_CONF['linksperpage'] (in config.php) to 0.
  4325   These changes are based on code provided by Tom Willett.
  4326 - Fixed the SQL syntax for some requests ("count(*) AS count" instead of
  4327   "count(*) count") which seems to have caused problems with some (older)
  4328   versions of MySQL.
  4329 - A proper error message is now displayed when attempting to use "Mail Users"
  4330   but not filling out all the fields.
  4331 - Editing a portal block shouldn't make it disappear any more ...
  4332 - The somewhat random order of poll answers has been fixed.
  4333 - The site can be disabled by setting $_CONF['site_enabled'] = false; in
  4334   config.php. $_CONF['site_disabled_msg'] can either contain a message to be
  4335   displayed in that case or a URL (has to start with http:) to which all
  4336   requests will be redirected.
  4337 - Fixed various access rights / privacy issues where users could see (but
  4338   not access) information even when they shouldn't ...
  4339   + Search returns only those stories, comments, links, and events to which the
  4340     user has the proper access rights
  4341   + What's New block counts stories and comments according to access rights
  4342     now (this should also fix the problems some people had when New Comments
  4343     were not displayed for anonymous users). New Links also take access rights
  4344     into account.
  4345   + Upcoming events are only visible to those with the proper rights.
  4346   + Topics are not available for submissions without proper rights.
  4347   + Topic selection in the user preferences also follows access rights.
  4348   + "Last 10 comments" (and the new "Last 10 stories too, of course) in profile
  4349     takes proper rights into account
  4350 - Story display and paged navigation weren't working properly when some stories
  4351   were only accessible to certain users.
  4352 - Fixed a bug where users weren't able to use the site when their theme had
  4353   been removed (until they cleared their cookies).
  4354 - New installations now have only two default accounts: The Admin account (as
  4355   before) and a Moderator account that has access to the story, links, and
  4356   events submission queues.
  4357 - The Older Stories block should work again.
  4358 - The submission queues for stories, links, events, and users can now be
  4359   switched off separately (in config.php), i.e. items submitted by users will
  4360   then be visible to everybody immediately.
  4361 - The database backup is more verbose now, especially when there are problems
  4362   (changes provided by Blaine Lang).
  4363 - Fixed a bug where the admin's user photo overwrote a user's photo when the
  4364   admin was editing the user's account information.
  4365 - Group editor:
  4366   + Could not create new groups when using a non-english language file.
  4367   + Once you've added one group to another (by checking off an option from
  4368     the "Security Groups" list), there was no way to uncheck it again.
  4369   + The message after saving/deleting a group said that the topic(!) had been
  4370     saved/deleted ...
  4371 - Changes in search:
  4372   + Should be faster now.
  4373   + Search by date did not work (mostly because the date format recommended to
  4374     be used in a search is really YYYY-MM-DD and not MM-DD-YYYY).
  4375   + List of authors is now sorted by username.
  4376   + Search results for links are now routed via portal.php, too, so that the
  4377     links are counted when clicked.
  4378   + When no results are returned for a search, then the search form will now
  4379     be displayed below that message again.
  4380 - The static pages plugin uses the table prefix now (databases created with
  4381   Geeklog 1.3.5 or older need to be upgraded).
  4382 - A user submission queue has been added. When activated in config.php
  4383   ($_CONF['usersubmission'] = 1;), new users will not get their password
  4384   emailed until they are approved by an admin.
  4385   You can, however, let users from certain domains be approved automatically
  4386   by adding their domain names to the comma-separated list of domains in
  4387   $_CONF['allow_domains'].
  4388 - Fixed problems with quotes in poll question and answers.
  4389 - The default value for the number of stories per page for a new user is now
  4390   taken from $_CONF['limitnews'] (was hard-coded to 10).
  4391 - The user profile has been extended to include
  4392   + last 10 stories by that user
  4393   + total number of stories and comments posted by that user
  4394   + link to search for all postings by that user
  4395 - The title of an article is now displayed in the page title (again).
  4396 - New configuration option $_CONF['allow_user_language'] to allow / prevent
  4397   to change the language. When set to 0, the option to switch the language
  4398   is hidden from the user preferences.
  4399 - The message "You have successfully logged out" should not show up any more
  4400   when you log out and log in again.
  4401 - The blocks stating that the search returned no results (e.g. for links) are
  4402   now switched off by default but can be switched on again with the new
  4403   configuration variable $_CONF['showemptysearchresults'].
  4404 - Fixed the list of authors in the search form (did not list all authors).
  4405 - Fixed search results for links and events: They always displayed only one
  4406   result, even when there where more hits. Also, when searching for authors,
  4407   no hits amongst the links and events will be returned (since they have
  4408   no author).
  4409 - In the admin menu, the count of available submissions is now displayed
  4410   according to the admin's access rights (e.g. don't count story submissions
  4411   for someone who's only a link admin).
  4412 - Links in the What's New block are now counted when clicked (for the site
  4413   statistics).
  4414 - Fixed a stray "(N/A)" that would show up in the admin menu for admins which
  4415   were not static pages admins.
  4416 - You can now block anonymous users from accessing any part of a Geeklog site
  4417   or you can block them from certain parts, e.g. block anonymous access to the
  4418   calendar (via a new set of XXXloginrequired flags in config.php).
  4419   Please note that $_CONF['loginrequired'] is now used to require login to all
  4420   areas. To require login for submissions, use $_CONF['submitloginrequired'].
  4421 - New RDF/RSS parser, provided by Roger Webster. This should now properly
  4422   import even those RDF feeds which Geeklog previously refused to display.
  4423 - Updated language files:
  4424   + Italian, provided by quess65
  4425   + Japanese, provided by Yusuke Sakata
  4426   + Polish, provided by Robert Stadnik
  4427 - Various fixes for the consistent use of $_CONF['site_admin_url'] instead of
  4428   $_CONF['site_url']/admin, provided by Gene Wood.
  4429 - The static pages plugin can now wrap static pages in a block
  4430   (available as an option in staticpages.cfg)
  4431 - You can now use [code] ... [/code] in stories and comments (HTML formatted
  4432   only) to mark portions of the text as containing code of any form (HTML, PHP,
  4433   any other programming language). Geeklog will then reproduce this section
  4434   verbatim, i.e. not interpreting any special characters in that section.
  4435 - Fixed type pulldown menu in search when more than one plugin was used.
  4436 - Signatures in comments are working again.
  4437 - The daily digest uses $_CONF['shortdate'] now
  4438 - New configuration variable $_CONF['emailstorieslength'] to specify the length
  4439   of stories sent in the daily digest: 0 = only the title and a link to the
  4440   story are included, 1 = entire introtext is included (default), any other
  4441   number = cut off text after that amount of characters.
  4442 - The selection of the user theme is now hidden from the user's preferences
  4443   when 'allow_user_themes' is turned off in config.php
  4444 - The links "Add To My Calendar" are now hidden when personal calendars are
  4445   turned off in config.php
  4446 - Fixed a bug where the number of submissions was displayed in the sections
  4447   block even when that was turned off.
  4448 - New variable $_CONF['adminhtml'] allows (Story)Admin to use a wider variety
  4449   of HTML tags than the ordinary user.
  4450 - Fixed COM_exportRDF so that only articles that anonymous users have access to
  4451   show up.
  4452 - Search: User drop down only shows users that have posted a comment or a story.
  4453 - Fixed bug with double quotes in title of story submission.
  4454 - The upcoming events block uses the list templates now.
  4455 - The story option block uses the list templates now.
  4456 - The (Event)Admin could not delete events (delete button was missing).
  4457 - The calendar class reverted to using the english day and month names as
  4458   soon as you called setCalendarMatrix().
  4459 - Added {edit_link} in story templates in Classic theme.
  4460 - All admin editors have the save / cancel / delete buttons at the bottom now.
  4461 - The link to the plugin homepage did not work from the plugin editor.
  4462 - Added $_CONF['default_charset'] in config.php and $LANG_CHARSET in the
  4463   language files to specify a character set to be used for the web pages (use
  4464   {charset} in header.thtml) and email sent by Geeklog.
  4465 - Changes in the themes and the admin editors, moving lots of hard-coded
  4466   english texts to the language files.
  4467   This affects most of the files in the admin and calendar directories within
  4468   the themes directories.
  4469 - The static pages plugin will now pick the language automatically, based on
  4470   the user / default setting for the language. Currently, only English and
  4471   German language files are included.
  4472 - New variables that can be used in footer.thtml: {execution_textandtime},
  4473   {powered_by}.
  4474 
  4475 
  4476 July 8, 2002 (1.3.5sr2)
  4477 -------------
  4478 - New installation instructions (now back in docs/install.html).
  4479   Please note that some of the other documentation may be out of date ...
  4480 - Display of stories in older stories block was off by one day.
  4481 - Number of guest users in Who's online block should now be reset properly.
  4482 - Added some scripts in admin/install to help with the installation:
  4483   + info.php just does a phpinfo()
  4484   + check.php will check the file and directory permissions
  4485   + configinfo.php will display the contents of config.php
  4486   Note: It is now even more important that you remove the install directory
  4487   after the installation went through (or at least block read access to this
  4488   directory).
  4489 - Disable all onXXX Javascript events in HTML postings (stories and comments).
  4490 - Fill in user name and email address when writing an email to a user (via
  4491   the 'send email' form from the user profile).
  4492 - Make sure that the first comment to a story has the 'title' field filled in
  4493   (previously, only comments to comments took over the title).
  4494 - Cut off the subject at the first linefeed when sending email to a user,
  4495   thus preventing the injection of additional email headers.
  4496 - Added a test for register_globals=off in the install script (and display a
  4497   warning if it is off). Also added a hint what the current path is and tries
  4498   to guess the /path/to/geeklog.
  4499 - Fixed the "12pm bug": Posting a story between 12 and 1 pm would result in
  4500   the story being posted with a date in 1969.
  4501 - Use mysql_connect() instead of mysql_pconnect() in MySQL class.
  4502 - The redirect after submitting a story always went to /index.php
  4503 - HTML tags are now stripped out of search queries.
  4504 - Removed the logging of all search queries to error.log.
  4505 - Fixed a wrong link from personal events in the upcoming events block.
  4506 - The "Home" link in the section block was not active on pages > 1. It was,
  4507   however, always active on the home page when the Geeklog site was not
  4508   located in the DocumentRoot.
  4509 
  4510 
  4511 June 10, 2002 (1.3.5sr1)
  4512 -------------
  4513 - This release addresses security issues recently discovered by the people at
  4514   olympos.org. These issues allow for the injection of malicious javascript
  4515   code (which could be used to access the admin's cookie) and the injection
  4516   of MySQL code which could be used to access and even damaged the database
  4517   (under certain circumstances). Details will be available in a report on
  4518   the Bugtraq list shortly after this release is out.
  4519 - The following bugs from the 1.3.5 release have also been fixed:
  4520   + missing field 'emailfromadmin' in userprefs table (fresh installs only)
  4521   + fixed a typo that prevented the page navigation from working
  4522   + fixed batch user import
  4523   + fixed logo size and path to search in XSilver theme
  4524   + optimized size of image files in XSilver theme
  4525   + fixed path to search in Clean theme
  4526 
  4527 
  4528 April 24, 2002 (1.3.5)
  4529 --------------
  4530 - Change installation so that server configuration is manual, DB configuration is scripted
  4531 - Search page now properly generates the right link to search comments
  4532 - Comments to polls now show up in whats new block
  4533 - You can now specify the order the poll results show up in in config.php.  You can either sort by
  4534   voteorder (highest number of votes -> lowest) or by the order they were saved in admin/poll.php
  4535 - You can now move /admin somewhere else in web tree.  This should help out folk where ISP's use /admin
  4536   for their administration stuff.
  4537 - if you go to submit.php as an admin we will try to send you to the admin/ page for the type of thing you
  4538   are trying to submit (e.g. story, link, event)
  4539 - fixed calendar.php so month view now shows events spanning multiple days on months other than the current
  4540 - admin/event.php now saves am/pm and allday properly
  4541 - PollAdmin group can now properly add a new poll.
  4542 - fixed SEC_getUserGroups() so that it always returns an array even if no groups are returned (e.g.
  4543   empty array
  4544 - fixed moderation.php so post mode is saved properly from storysubmission to story table.
  4545 - killed 1064 bug in admin/event.php
  4546 - set error_reporting() so uninitialized variables don't show up (common in poorly configured PHP installs)
  4547 - gldefault blocks now actually use permissions assigned to them in admin/block.php
  4548 - Added all sorts of shit to english.php.  Translators will need to really take their time
  4549   with this file.
  4550 - Added $_CONF['maximagesperarticle'] to config.php
  4551 - install.php was reworked a bit for upcoming release
  4552 - lib-common.php has changed.  can't even begin to note all the changes there
  4553 - admin/user.php has a very simple batch import utility.  You can now create multiple
  4554   accounts by importing a tab-delimited file.  See that page for file format specs
  4555 - story.php was reworked a bit to be simplified and to correctly do paging (old
  4556   paging feature had a bug where one article would never show up.
  4557 - admin/user.php now allows for paging and searching.  Check it out, you'll see what I mean ;-)
  4558 - blocks can now be disabled in admin/block.php
  4559 - added support for images in articles
  4560 - complete overhauled upload.class.php for ease of use, better security, better logging
  4561   and for use in putting images in articles.
  4562 - fixed bug in users.php that allows accounts with same email addresses yet different
  4563   usernames to be created.
  4564 - New strings in english.php (and german.php):
  4565   $LANG02: 15 (moved from calendar_event.php)
  4566   $LANG04: 74, 75, 76 (moved from usersettings.php)
  4567   $LANG08: 31, 32, 33, 34 (moved from lib-common.php)
  4568   These strings need to be added to the other language files!
  4569 - Fixed user selection of emailed topics (usersettings.php) and removed the
  4570   hard coded texts for the daily digest from lib-common.php (again).
  4571 - Slightly changed display of event block: The type of event is no longer
  4572   underlined and the event date is displayed as 03-Apr etc.
  4573 - Added Russion Translation
  4574 - Fixed bug #531483 where $_CONF['commentsloginrequired'] was set to 'on' or
  4575   'off' instead of '1' or '0'.
  4576 - Fixed bug #529621 and added the variable layout_url in COM_endBlock in
  4577   lib-common.php
  4578 - (Sort of) fixed bug #530142: {geeklog_blocks} is now set to an empty string
  4579   in lib-common.php
  4580 - Fixed bug #531018: {contributedby_use} had an 'r' too many in lib-common.php
  4581 - There have been lots of minor changes in the themes so that they now contain
  4582   valid HTML. Nearly all those change fall into one of the following categories:
  4583   + changed '&' in URLs to '&amp;'
  4584   + added alt="" to <img> tags
  4585   + changed the script tags to <script type="text/javascript">
  4586   + changed the DOCTYPE to HTML 4.01 (there is a bug in the HTML 4.0
  4587     specification which prevents the use of 'name' attributes in forms).
  4588   + added '#' signs in front of colour values (mostly in the Classic theme)
  4589   These kinds of changes have also been applied to index.php and lib-common.php
  4590 - During those changes for valid HTML, some typos were corrected:
  4591   + Classic/header.thtml: added a missing <b> before {welcome_message}
  4592   + Classic/storytext.thtml: added a missing 'n' in {end_contributedby_anchortag}
  4593   + Yahoo/header.thml referred to a non-existent file "spec.gif"
  4594   + Yahoo/footer.thml: there was an extra quote after align="right"
  4595   + Digital_Monochrom/admin/plugins/editor.thml: file was missing - copied
  4596     over from the Classic theme)
  4597   + Digital_Monochrom/footer.thtml: added a missing ';' after &nbsp
  4598 - admin/install/install.php had two <body> tags but was missing the </head>
  4599 
  4600 March 7, 2002
  4601 -----------------
  4602 - Fixed broken older stories block (lib-common.php)
  4603 - Fixed problems with saving rights to a group in admin/group.php (admin/group.php)
  4604 - Fixed bug in admin/user that would reset user's settings when admin made a change (admin/user.php)
  4605 - Fixed bug in index.php.  There were two FOR loops, one nested inside the other both interating
  4606   on the variable $i.  This caused problems only for users who went into display preferences and
  4607   selected only the topics they wanted to get articles for (index.php)
  4608 - Fixed bug in story admin that would prevent the date edit from prepopulating right when admin hit
  4609   the preview button (admin/story.php)
  4610 - Modified admin/plugin.php to reflect change in how plugins are installed.  Because of platform
  4611   dependance issues, all plugins will have a simple but manual installation process.  This should
  4612   work across all platforms. (admin/plugin.php, layout/Yahoo/admin/plugins/pluginlist.thtml,
  4613   layout/Classic/admin/plugins/pluginlist.thtml, layout/Digital_Monochrome/admin/plugins/pluginlist.thtml)
  4614 - Alter the database to force all stories to show on the frontpage by default.  This will make the
  4615   moderation of articles work as expected.  Before if you approved an article it would show up only
  4616   in the topic and not on the frontpage (mysql_tableanddata.sql, table.sql, mysql_1.3.3_to_1.3.4.sql)
  4617 
  4618 March 1, 2002
  4619 -----------------
  4620 - Admins can now manually edit the publish date of an article.  This include the ability
  4621   to set the date for a time in the future.  In that case the article is completely
  4622   ignored by COM_exportRDF, stats.php, search.php and the email digest
  4623 - Rudimentary support for database backups (one per day at most).  There is no restore
  4624   capability at this time.
  4625 - Modified the display preference so we store the blocks a user doesn't want to see instead
  4626   of the ones they do want to see.  This will allow any new block to show up by default as
  4627   expected.
  4628 - Removed hardcoded english from COM_emailUserTopics
  4629 - Fixed minor security bug with whats new block. It would display items the user didn't have access too (however, if they click them they would correctly get the access denied message)
  4630 - Topic administration page now default the group to 'Topic Admin' properly
  4631 - Topic administration now save anonymous permissions properly
  4632 
  4633 February 22, 2002
  4634 -----------------
  4635 - Removed some outdated themes (hence the 1.3.2-1 version number)
  4636 
  4637 February 22, 2002
  4638 -----------------
  4639 - Added Canadian French, German and Polish translations
  4640 - Fixed bug that kept front page with multiple polls from working right
  4641 - Added missing help field to block table
  4642 - Added block to usersettings where user can pick topics to receive articles for in an
  4643   email digest
  4644 - Fixed bug with the contact link in the header of some themes
  4645 - Fixed bug that caused the admin block to disappear
  4646 - Fixed bug that caused save of story as admin to go to http://someurl/draft_flag
  4647 - Fixed bad relative paths in calendar
  4648 - block type now defaults properly when showing prepopulated data
  4649 
  4650 January 11, 2001
  4651 -----------------
  4652 - Two security fixes, one major one.  This release addes a users MD5 password to a cookie that is checked when using the permanent cookie.  Prior to this you could change the permanent cookie to any user and get their access rights.  Second security fix addresses an orphaned group_assignments record that, one new Geeklog installations, would give the very first user to register with the site access to the GroupAdmin and UserAdmin groups
  4653 - In admin/block.php you can now specify the URL to a help file.  This is usefully in providing site help to your users
  4654 - Many bugfixes to the calendar in both the UI and the administration
  4655 - Added who's online block
  4656 - Fixed bug that was keeping users registration date from being saved.
  4657 - Fixed bugs in usersettings.php that keep user options from saving
  4658 - Added two database indexes that really speed things up
  4659 - Coded some performance-related enhancements
  4660 - Fixed bug that kept user-defined themes from working
  4661 - Fixed bug in links.php that caused the first link category to report over and over
  4662 - Started updating some of the documents
  4663 
  4664 November XX, 2001
  4665 -----------------
  4666 - Added user-defined themes via PHPLib's template class library
  4667 - Update the Geeklog security model from numeric Security Levels to a *nix-like model that
  4668   can be used by plugins
  4669 - Added support for plugins. Plugins can be downloaded from http://geeklog.sourceforge.net and uploaded and installed remotely or manually
  4670 - Updated most places where dates are used to use the user-defined format in their display preferences
  4671 - Updated session management to use a long-term cookie that is fully configurable. If desired, users can specify how long their long-term cookie will persist for.
  4672 - Update blocks so that admins can specify the side and order a block shows up on.
  4673 - Seperated common.php into the following libraries: lib-database.php, lib-common.php, lib-sessions.php lib-security.php
  4674 - Started moving Geeklog to use PHP's OO features with the addition of a timer class, a calendar class, a MySQL database class.
  4675 - Fixed bug with output of Geeklog RDF file that allowed story drafts to be included.
  4676 - Updated most of the codebase to use the Geeklog Coding Standard (a subset of the PEAR standard).
  4677 
  4678 August 21, 2001
  4679 -----------------
  4680 
  4681 - Updated configuration documentation
  4682 - Added the ability for article author's username to be hidden (via 'contributedbyline' option in config.php)
  4683 - Fixed a bug with the Google-like paging feature where it would only work if the GeekLog site was in the root dir
  4684 - Fixed a bug which caused slashes to appear before apostrophes in the older stuff block and in the search results
  4685 - Fixed overlapping/bad HTML in index.php and common.php
  4686 - Fixed the bug in the sections block that showed submission cue numbers to non-logged in people
  4687 - Added workaround for problem where users (after following link in e-mail after registration) would still see the login page after logging in
  4688 - Created phrase IDs for previously hard-coded English in common.php and story.php
  4689 - Fixed a bug which caused draft stories to be counted as new stories in the What's New block
  4690 - Fixed a bug with the upcoming events block where it would only work if the GeekLog site was in the root dir
  4691 - Stroked the cat
  4692 
  4693 August 17, 2001
  4694 -----------------
  4695 - Released 1.3b
  4696 - Added in support for plugins and has been test for *nix and *should* work for windows
  4697 - A few bug fixes
  4698 
  4699 August 3, 2001
  4700 ----------------
  4701 - Released 1.2.2
  4702 - Added the ability for admins to save drafts of stories
  4703 - Fixed a bug with in calendar_event.php when adding event to user calendar
  4704 - Fixed a bug with the search bar in header.php
  4705 
  4706 August 1, 2001
  4707 ----------------
  4708 - Released 1.2.1
  4709 - a few minor bug fixes
  4710 - Added google-like paging feature
  4711 - fixed all references to newsgeeks to point to geeklog.org
  4712 - when you login when on users.php you are routed to index.php when successfully logged in
  4713   instead of back to users.php
  4714 
  4715 July 19, 2001
  4716 ----------------
  4717 - Released 1.2 stable.
  4718 - Added personalized calendars
  4719 - Fixed a number of bugs from 1.2b
  4720 - Fixed MySQL 3.23 incompatibility issues
  4721 - Added alt_header.php which is the same as header.php minus the left hand side
  4722 
  4723 May 29, 2001
  4724 ----------------
  4725 
  4726 - Released 1.2b.  Changes are below:
  4727 -Fixed security error in usersettings.php with PGP key
  4728 -Now allows posts that don't go to front page
  4729 -Added new calendar
  4730 -Whether the count of stories and submissions shows up in the Sections block is driven in config.php
  4731 -Add ability to sort topics in Section block by number or alpha (specified in config.php)
  4732 -Renamed header.inc and footer.inc to have the php extension to avoid letting nosy people see the code
  4733 -Added field called limitnews to topics table.  This is the same as limitnews in the config.php but applys to only that topic (i.e. you can control the number of stories that show up in each topic
  4734 -changed userindex.maxstories to default to null.  This is so that the order of precedence for the number for articles that show up will be 1) userindex.maxstories 2) topic.limitnews 3) $CONF["limitnews"]
  4735 -added config variable called $CONF["minnews"] which specifies the minimum number of stories per page regardless of topic (i.e. it overrides topics.limitnews)
  4736 -an anonymous user can now email a story to a friend and they can enter some text to accompany the message
  4737 -fixed bug that allowed users to post comments to non-existent articles through article.php
  4738 -added the Get Geeklog Articles in Your Mailbox feature.  This is dependent on cron and a shelled php script.  This can be turned off in the config file
  4739 -session management has been improved
  4740 -moved "appears on homepage" setting on poll administraction screen to the top of the form to
  4741 keep from having to scroll down all the way.
  4742 -Added messages to various user actions (i.e. notification that submission was sent, confirmation that user data was saved, etc)
  4743 -Added Upcoming events block
  4744 -Fixed MySQL 3.23 incompatibilities
  4745 -added account creation date to user table along with other useful information (aim, yim, etc)
  4746 -added email gl users/admins feature
  4747 -fixed checkhtml function so that strings to gain extra spaces
  4748 -added file custom_code.php.  This is where admins should put all custom code (not addon code).  GL admins should never touch common.php moving forward
  4749 -added version checking system to let admins check for current version
  4750 -added $CONF["OS"] for use by Geeklog Addons (Use PHP OS variable).  It represents the operating system that Geeklog is running on and is useful for producing useful error messages should a user be trying to use an addon that is OS specific
  4751 
  4752 
  4753 September 24, 2000
  4754 ---------------------------------------
  4755 
  4756 - Tar'ed it up and shipped 1.1 out the door!
  4757 
  4758 September 24, 2000
  4759 -----------------
  4760 
  4761 - Date in moderation now shows the correct
  4762   submission date.
  4763 - Maxstories now counts a feature as a story.
  4764 - Saving user information now returns you the
  4765   the edit screen.
  4766 
  4767 September 18, 2000
  4768 -----------------
  4769 
  4770 - Fixed comment post mode preview bug.
  4771 - If a block is empty, it will not be displayed.
  4772 - Fixed a user creation error.
  4773 - Fixed the submission scripts to add and remove
  4774   slashes in all the right places.
  4775 
  4776 September 13, 2000
  4777 -----------------
  4778 
  4779 - Added a limit check to index.php to ensure stories
  4780   are displayed.
  4781 - If block order is between 1 and 9 it is a default
  4782   block.  Anything greater than 9 will not be displayed
  4783   without the user configuring thier settings for it.
  4784 - Added bolding to the display preferences screen for
  4785   default blocks.
  4786 
  4787 September 12, 2000
  4788 -----------------
  4789 
  4790 - If a user sets maxstories to less than 5, max stories
  4791   will be 5.
  4792 - If a story id and poll id are the smae they will
  4793   share comments and the poll will be displayed on the
  4794   stories article page.
  4795 - Poll results box is now linked to comments.
  4796 - Added stripslashes to the links description.
  4797 - Made HTML the default posting format.
  4798 - Updated the user authentication to address a login bug.
  4799 - Added a 404 script.
  4800 - Updated the admin user editor to create all the new
  4801   user tables when creating a user.
  4802 - Updated the What's Releated function to better parse
  4803   for links.
  4804 - Updated comment functions to update the comment counter
  4805   more often.
  4806 - Finished the addition of a "smart" style sheet!  It will
  4807   now format the font size according to the users browser
  4808   an platform.
  4809 
  4810 September 9, 2000
  4811 -----------------
  4812 
  4813 - Updated some missing to language in english.php.
  4814   Thanks to Hidekazu SHIOZAWA.
  4815 - Updated the stats script.
  4816 - Added post modes, the user can now select plain
  4817   text or HTML.
  4818 - Added user preferences for date format.
  4819 
  4820 September 8, 2000
  4821 -----------------
  4822 
  4823 - Fixed a few more issues surronding the
  4824   $CONF["site_url"] placement. Thanks to Hidekazu SHIOZAWA.
  4825 - Added sig to user accounts.
  4826 - Added a system hit counter
  4827 - Fixed a poll comment bug.
  4828 - Comments can now be enabled on a per story basis.
  4829 - Comments can now be enabled on a per poll basis.
  4830 
  4831 September 7, 2000
  4832 -----------------
  4833 
  4834 - Fixed the // uri issue.
  4835 - Fixed a few issues surronding the $CONF["site_url"]
  4836   placement in links.
  4837 - Began work on new user customization system!
  4838         - Index Configuration
  4839         - Comment Configuration
  4840         - Story Configuation
  4841         - User Configuration
  4842 - Fixed the link submission script so it now
  4843   actually works.
  4844 
  4845 September 6, 2000
  4846 -----------------
  4847 
  4848 - Updated the email story to a friend to use the
  4849   db widgets.
  4850 - Fixed the "More by author" search links from the
  4851   article page.
  4852 - Fixed the article editor to be able to delete
  4853   submissions.
  4854 - Fixed translation issues by adding two more
  4855   strings to english.php.  Added $LANG01[61] and
  4856   $LANG01[62].
  4857 - Fixed a formating error on the links page.
  4858 - Fixed the admin user editor to allow blanking
  4859   on non-essential fields.
  4860 - Removed moderation option from config.  If you
  4861   want an unmoderated site there are better
  4862   applications out there like UBB and FreeLinks.
  4863 - Updated the user profile page to put all
  4864   descriptors at the top of the cell for the
  4865   about and PGP key boxes.
  4866 - Updated INSTALL.HTML
  4867 
  4868 September 5, 2000
  4869 -----------------
  4870 
  4871 - Olderstuff() will now parse special charactors.
  4872 - Fixed the admin story editor to properly parse
  4873   the special charactors in the text for editing.
  4874 - Fixed article() to stripslashes from the title.
  4875 
  4876 September 4, 2000
  4877 -----------------
  4878 
  4879 - Fixed a logout bug effecting Netscape users.
  4880 - Fixed a change password bug effecting Netscape
  4881   users.
  4882 - Fixed references to speck.gif, spec.gif was
  4883   referenced incorrectly.
  4884 - Fixed the story submission to correctly
  4885   record the user instead of Anonymous.
  4886 - Added multiple previews when submitting a
  4887   story.
  4888 - Update to english.php
  4889 - Updated the blockparser to use str_replace()
  4890   instead of strtr().  The use of strtr() was
  4891   causing issues on some platforms using
  4892   earlier versions of PHP4.
  4893 - Added a sample httpd.conf Apache configuration
  4894   file to the distribution.
  4895 - Updated INSTALL.HTML
  4896 - Updated README
  4897 
  4898 September 1, 2000
  4899 -----------------
  4900 
  4901 - Fixed a bug in the database upgrade scripts.
  4902 
  4903 RELEASE!!!  1.0!!! - August 29, 2000
  4904 ------------------------------------
  4905 
  4906 - Tar'ed it up and shipped 1.0 out the door!
  4907 
  4908 August 29, 2000
  4909 ---------------
  4910 
  4911 - Fixed a bug in the command and control center
  4912   which didn't allow the display to be completely
  4913   updated after a batch moderation.
  4914 
  4915 August 28, 2000
  4916 ---------------
  4917 
  4918 - Completed the command and control center
  4919   functionality.
  4920 - Completed new search engine.
  4921 - Fixed language display bug in story submission
  4922   form.
  4923 
  4924 August 27, 2000
  4925 ---------------
  4926 
  4927 - Fixed a login bug that occoured under FreeBSD.
  4928 
  4929 August 26, 2000
  4930 ---------------
  4931 
  4932 - Fixed a bug that allowed anyone logged in to
  4933   delete a comment.
  4934 
  4935 August 22, 2000
  4936 ---------------
  4937 
  4938 - Fixed a nasty delete everything bug with the
  4939   link editor.
  4940 - Continued with search engine update.
  4941 
  4942 August 21, 2000
  4943 ---------------
  4944 
  4945 - Fixed a bug with the link counter.
  4946 - Reworked the olderstuff block.
  4947 - Updated the search engine.
  4948 - Fixed the speed limit warnings so they show the
  4949   number of seconds since the last post.
  4950 - Updated the index page to show date of last
  4951   comment.
  4952 
  4953 August 20, 2000
  4954 ---------------
  4955 
  4956 - Cleaned out now defuct class settings.
  4957 - Comments can now be set to force login to post.
  4958 - Block list is now sorted by type
  4959 - Email forms updated.
  4960 - Fixed the no from info bug in the password email.
  4961 - Fixed the topic editor background bug.
  4962 - Postions of the olderstuff and poll blocks is now
  4963   configurable.
  4964 - Olderstuff block can now be turned off.
  4965 - Olderstuff block now shows 2x the news limit.
  4966 - Updated the install instructions.
  4967 
  4968 August 19, 2000
  4969 ---------------
  4970 
  4971 - Modified the polls, you can now set then maximum
  4972   number of possible answers in config.php.
  4973 - Fixed edit link bug.
  4974 - Updared english.php for the new admin files.
  4975 - Modified the cookies to have a configurable
  4976   expiration time for users and admins.  This can
  4977   be set in config.php.
  4978 
  4979 August 18, 2000
  4980 ---------------
  4981 
  4982 - Reworked the default interface.
  4983 - Fixed numerous bugs.
  4984 
  4985 August 14, 2000
  4986 ---------------
  4987 
  4988 - Began moving portions of the HTML in to blocks
  4989 - Updated the english.php file.
  4990 
  4991 August 13, 2000
  4992 ---------------
  4993 
  4994 - Updated how polls are shown.
  4995 - Updated the poll adminstration interface, this was
  4996   the last old piece of code to be re-worked.
  4997 
  4998 August 12, 2000
  4999 ---------------
  5000 
  5001 - Completed new submission forms.
  5002 - Completed added base path to all references.
  5003 - Completed scripts for user account creation.
  5004 - Completed comment intergration with user
  5005   accounts.
  5006 - Added comment posting speed limit.
  5007 
  5008 
  5009 August 11, 2000
  5010 ---------------
  5011 
  5012 - Completed new story editor and managment
  5013   functions.
  5014 - Completed database widgets.
  5015 - Began work on reworking the poll editor
  5016   and managment.
  5017 - Removed the following functions that have
  5018   become obsolete:
  5019         - countx
  5020         - topicsel
  5021         - getTopic
  5022         - saveuser
  5023         - rot13
  5024 - Removed the following array used to set
  5025   premissions in older versions
  5026         - $ADMIN
  5027 - Began work on intergrating comments with
  5028   user accounts.
  5029 
  5030 August 7, 2000
  5031 --------------
  5032 
  5033 - More work on user accounts and database
  5034   widgets.
  5035 - Minor cosmetic fixes.
  5036 - Began re-working the administration forms.
  5037 
  5038 August 7, 2000
  5039 --------------
  5040 
  5041 - More work on new submission engine and
  5042   database widgets.
  5043 - Implemented submission speed limit.
  5044 
  5045 August 6, 2000
  5046 --------------
  5047 
  5048 - Added command and contol center to admin and
  5049   moderate submissions.
  5050 - Added ability for users to submit links.
  5051 - Added ability for users to submit events.
  5052 - Began intergrating user accounts.
  5053 - Began intergration of a help system.
  5054 
  5055 August 5, 2000
  5056 --------------
  5057 
  5058 - Created new database function templates.  Began
  5059   updating all the scripts to use these new
  5060   database calls.
  5061 
  5062 BETA RELEASE!!!  0.5!!! - August 3, 2000
  5063 ----------------------------------------
  5064 
  5065 - Tar'ed it up and shipped 0.5 BETA out the door!
  5066 
  5067 August 2, 2000
  5068 --------------
  5069 
  5070 - Getting ready for 0.5 release!!
  5071 - Parent links no longer show up on top level
  5072   comments.
  5073 - Story moderation now show the "new story" button
  5074   even if no stories exist.
  5075 - Story contribution preview now displays the date
  5076   correctly.
  5077 - Comment preview now displays the date correctly.
  5078 - Made the log path configurable.
  5079 - Fixed false "no stories" error in index.php.
  5080 - Fixed the topic highlighting in showtopics.
  5081 - Fixed comments so that the posting and delete
  5082   work properly again.
  5083 - Events (calander) now properly parses special
  5084   charactors.
  5085 - Links now properly parses special charactors.
  5086 - Mail to a friend should work better now.
  5087 
  5088 July 30, 2000
  5089 -------------
  5090 
  5091 - Moved all date functions to using strftime and
  5092   locale settings for display of dates and times
  5093   in local languages and formats.  These are also
  5094   configurable in the config.php file.
  5095 
  5096 July 27, 2000
  5097 -------------
  5098 
  5099 - Finished move admin strings to english.php.
  5100 
  5101 July 26, 2000
  5102 -------------
  5103 
  5104 - Added the featured article functionality.
  5105 - Fixed a special charactors problem in the
  5106   comments, you can now use special charactors.
  5107 - Made some changes to the email story function
  5108   to provide a statement on this isn't spam!
  5109 - Added parent function to comments.
  5110 
  5111 July 25, 2000
  5112 -------------
  5113 
  5114 - Began moving strings from the admin files in to
  5115   english.php
  5116 - Finished up printable story and email story
  5117   functions.
  5118 - More minor bug fixes to the comment engine.
  5119 
  5120 July 24, 2000
  5121 -------------
  5122 
  5123 - Fixed encoding bugs in comments.  Slashes are now
  5124   being stripped properly.
  5125 - Fixed the comment control bar, the title and
  5126   number of comments are now showing up correctly.
  5127 - Fixed the url encoding in the reply links.  The
  5128   title of a reply now copies over in to the form.
  5129 - Bought more vodka!  The vodka shortage is over!
  5130 - Adjusted the comment spacing.
  5131 - Began to add the printable story and email story
  5132   functions.
  5133 
  5134 July 23, 2000
  5135 -------------
  5136 
  5137 - Added comment count to olderstuff block.
  5138 - Reworked the polls for better display
  5139 - Worked more on the comment engine, all comment
  5140   modes (none, flat, threaded, nested) work at
  5141   one level or another.  This is really shaping up
  5142   well and we have unchained the monkies from
  5143   their typewriters...  But no novel yet...
  5144 - Out of vodka and can't buy any more since it is
  5145   illegal to sell alcohol on Sundays in Georgia.
  5146 
  5147 July 22, 2000
  5148 -------------
  5149 
  5150 - Changed password functions to use md5, crypt()
  5151   is becoming to unreliable.  Running the dat
  5152 
  5153 <editor problems, change log for 0.4.1.2 - 0.4.1.1 lost>
  5154 
  5155 BETA RELEASE!!!  0.4.1!!! - July 19, 2000
  5156 -----------------------------------------
  5157 
  5158 - Tar'ed it up and shipped 0.4.1 BETA out the door!
  5159 
  5160 July 19, 2000
  5161 -------------
  5162 
  5163 - RDF fetch bug fixed.  The rdfimport routine was
  5164   not correctly identifying if the file open didn't
  5165   work correctly.
  5166 - Poll Dispaly bug fixed.  Poll wouldn't display if
  5167   there wern't at least two user defined blocks.
  5168 - Added word count to the read more display.
  5169 - Move all strings for public side functions to
  5170   a resource bundle called english.php.  Geeklog can
  5171   now be translated.  If you do translate Geeklog
  5172   please send me your resource file!  Great thanks
  5173   goes to Mischa Polivanov for his work on this
  5174   project!
  5175 - When moderating a story, it now returns you to
  5176   the submissions que when your done.
  5177 
  5178 BETA RELEASE!!!  0.4.0!!! - July 8, 2000
  5179 ----------------------------------------
  5180 
  5181 - Tar'ed it up and shipped 0.4.0 BETA out the door!
  5182 
  5183 July 8, 2000
  5184 ------------
  5185 
  5186 - Update the poll to restrict votes by IP.  This
  5187   function only creates a table of IP addresses
  5188   pollids and timestamps, votes are NOT tracked!
  5189   Addresses are deleted after an admin specified
  5190   peroid of time set with the config.php variable
  5191   $CONF["polladdresstime"].
  5192 - Added $CONF["pollcookietime"] to config.php to
  5193   allow you to set the amount of time the poll
  5194   cookies will exist for the user.
  5195 - Changed poll to only show a % in the smaller
  5196   index window.  Graphs are now only on the full
  5197   view of the results.
  5198 - Added SQL query interface for admins.  This was
  5199   added for those that don't have shell access or
  5200   shell access isn't alaways avaiable for
  5201   troubleshooting.  Be VERY careful with this!
  5202 - Fixed a really nasty bug with the RDF import
  5203   HTTP calls!  This was causing the server to
  5204   lock up under certian circumstances.
  5205 - Update showblocks() to now order polls and
  5206   olderstuff as well.  Here's the new method:
  5207     - show blockoder = 0 to 1
  5208     - show the polls
  5209     - show blockorder = 2
  5210     - show olderstuff
  5211     - show remaining blocks
  5212 - Reworked the calendar layout a bit.
  5213 - Added two new doc files dbschema.html and
  5214   dbschema.png to document the database.
  5215 
  5216 July 5, 2000
  5217 ------------
  5218 
  5219 - New admin menu as well as more admin checks
  5220   in editing of stories and blocks.  In stories
  5221   only the owner or someone with a seclev of 200
  5222   or higher can edit a story.  Blocks seclev's
  5223   are now being enforced.
  5224 - More stats stuff
  5225 - Access logging is now working!  It reports on
  5226   admin access and illegal operations in
  5227   /logs/access.log
  5228 - Found some more bugs released to stricter PHP
  5229   syntax guidelines in blocks.php and users.php.
  5230   They've been fixed!
  5231 - Added the beginings for threaded comments, but
  5232   it is NOT working yet.
  5233 - Refined different aspects of the database, this
  5234   is going to be the bigest DB update script yet!
  5235 - Calendar has been rewored as events, since I can
  5236   see Security Geeks using this functionality for
  5237   things other than a calendar.  Hmm, what is he
  5238   thinking?
  5239 - Adding CSS references where needed when I find
  5240   them.
  5241 
  5242 July 4, 2000
  5243 ------------
  5244 
  5245 - Added additional security checks for admins
  5246   as well as adding additional admin tracking.
  5247 - REMOVAL: function isAdmin() is being removed.
  5248 - Created a new story format and parser.  The
  5249   story text is now broken in to two blocks, an
  5250   introtext block and bodytext block.  Introtext
  5251   is all that is displayed on the index page.
  5252   Both introtext and bodytext are displayed on
  5253   an article page.  There are many other neat
  5254   things that have changed to go along with this,
  5255   too many to mention!  An example is "read more"
  5256   is only displayed when there is data in bodytext.
  5257 - Added comment and poll stats to the stats page.
  5258 
  5259 BETA RELEASE!!!  0.3.0!!! - July 3, 2000
  5260 ----------------------------------------
  5261 
  5262 - Tar'ed it up and shipped 0.3.0 BETA out the door!
  5263 
  5264 July 3, 2000
  5265 ------------
  5266 
  5267 - Fixed poll division by zero error. (xix)
  5268 - Added the calander.  This also involved adding
  5269   lines to config.php and style.css.
  5270 - Added next a previous links to the stories list.
  5271   Security Geeks has almost 2000 stories now.  We
  5272   needed a better way to view this information
  5273   without killing the SQL server!
  5274 - Fixed a parsing bug on the contrib form. (richpav)
  5275 - Fixed a bug in which votes were not being saved
  5276   if the first answer has 0 votes in the poll
  5277   editor. (richpav)
  5278 
  5279 July 2, 2000
  5280 ------------
  5281 
  5282 - Fixed a rouge <xmp> tag in contrib.php.
  5283 - Added a new function to check email addresses.
  5284 - Fixed a problem with the checking of <a href=>
  5285   tags. (frank)
  5286 - Moved more of the layout to CSS.  Giving some
  5287   though to creating a CSS editor for the site.
  5288 - Added additional error checking on submissions.
  5289 - Evaluated the security of the file layout, file
  5290   premissions, cookies and made some minor changes
  5291 - Added the RDF import capibilty to the blocks.
  5292   Woo-hoo!  Half way there to 0.3.0!
  5293 - Fixed a bunch of function calls that are now
  5294   considered errors in PHP 4.0.1pl2 (richpav)
  5295 
  5296 BETA RELEASE!!!  0.2.1!!! - July 1, 2000
  5297 ----------------------------------------
  5298 
  5299 - Tar'ed it up and shipped 0.2.1 BETA out the door!
  5300   The bugs fixed here are pretty signifant.  This
  5301   has none of the 0.3.0 features.
  5302 
  5303 July 1, 2000
  5304 ------------
  5305 
  5306 - Cleaned up the all of the PHP scripts and added
  5307   missing ;'s. (macole)
  5308 - Fixed some table layouts for comment and story
  5309   submissions.
  5310 
  5311 June 30, 2000
  5312 -------------
  5313 
  5314 - Fixed an bug in the story submit functions.  It
  5315   seems addslashes was droped when putting in the
  5316   content checking.  It's back now!
  5317 - Added a line to display the allowable HTML in the
  5318   story editor and submission form.
  5319 
  5320 BETA RELEASE!!!  0.2.0!!! - June 29, 2000
  5321 -----------------------------------------
  5322 
  5323 - Tar'ed it up and shipped 0.2.0 BETA out the door!
  5324 
  5325 June 29, 2000
  5326 -------------
  5327 
  5328 - Bugs Found Score: Women:28 Men:13
  5329 - Security hole regarding user cookies.  The
  5330   user cookie contined the site key, this 33%
  5331   is part of the information needed to forge
  5332   a admin site key.  This has been fixed.
  5333 - Also fixed a problem in the user cookie where
  5334   some of Jason's (the other Jason) info for
  5335   his site was coded in there.
  5336 - Added the ability to specify your own salt
  5337   value for the encryptor.
  5338 - Added filters that are admin configurable to
  5339   strip out unwanted HTML tags and key words.
  5340   These options are configurable in the
  5341   config.php file.
  5342 - Blocks are now topic aware.
  5343 - Change sid to char(20) in the database tables
  5344   stories and comments.  This was in order to
  5345   create compatibilty between stories, comments
  5346   and polls.
  5347 - Poll comments!
  5348 - Added a blockorder field to the blocks table. You
  5349   can now modify the display order of blocks.
  5350 - Fixed a bug in the link generation in stats.php.
  5351 - Changed the description field in the links
  5352   tables from varchar(255) to text to allow for
  5353   longer descriptions.
  5354 - Preview now uses article() function.  Shows a
  5355   true preview!
  5356 - Fixed a bug in comment.php that still may the
  5357   user type in a user name email even if if the
  5358   anonymous option was chosen.  It never actually
  5359   saved the info, just asked for it.  Now it no
  5360   longer asks. :-)
  5361 
  5362 June 28, 2000
  5363 -------------
  5364 
  5365 - Correct setting of a user cookie in comment.php,
  5366   contrib.php and profile.php.  The cookie was not
  5367   being set to remember a users infomation if they
  5368   selected to do so.
  5369 - Fixed the CSS layout for the comment bar, this
  5370   wasn't working properly under Netscape.
  5371 - Fixed an error in the change password function.  It
  5372   was displaying a error even when the change was
  5373   successful.
  5374 - Made total votes a caculated field in the poll
  5375   editor, this is also a easy way to reset the count
  5376   in the case of SQL errors.
  5377 - Fixed topic sorting bug, topics sort themselves now.
  5378   This also involved a change to the config.php file
  5379   in which $CONF["topicssort"] was changed to
  5380   $CONF["topicsort"].
  5381 - Added feature to track which admin moderated a
  5382   story and posted it to the site.
  5383 
  5384 BETA RELEASE!!!  0.1.0!!! - June 27, 2000
  5385 -----------------------------------------
  5386 
  5387 - Tar'ed it up and shipped 0.1.0 BETA out the door!
  5388 
  5389 June 27, 2000
  5390 -------------
  5391 
  5392 - Added the ability to delete comments.  NOTE: I do
  5393   not plan on the abilty to edit comments.  Just
  5394   a personal thing, thats all.
  5395 
  5396 June 26, 2000
  5397 -------------
  5398 
  5399 - Created search engine that searched stories,
  5400   comments and links.
  5401 - Update comments and how they are displayed.
  5402 - Created new form for submitting comments.
  5403 - Enhansed a bunch of the forms.
  5404 - Removed some obsolete stuff, cleaned things up a bit.
  5405 - Added some additional error checking to submits.  Also
  5406   moved all error checking to the server side.  I was
  5407   testing the use of JavaScript but too many people
  5408   like to turn it off!  I know I do! :-)
  5409 
  5410 June 25, 2000
  5411 -------------
  5412 
  5413 - Squashed 23 bugs with the help of my wife!  Now if
  5414   only Frank would get his bug reports in!
  5415 - Created interface for editing, creating and deleting
  5416   links.
  5417 - Cleaned PHP procedures out of inc files.
  5418 - Updated and tested SQL statements to refelct DB
  5419   changes.
  5420 - DB changes frozen for release and the beta testers
  5421   rejoiced!
  5422 
  5423 June 24, 2000
  5424 -------------
  5425 
  5426 - Created interface for editing, creating and deleting
  5427   users.
  5428 - Figgin problem with polls deleting themselves seems
  5429   to be fixed now.
  5430 - Created interface for editing, creating and deleting
  5431   topics.
  5432 - Created interface for editing, creating and deleting
  5433   blocks.
  5434 - Created interface for moderation, editing and posting
  5435   of stories by admin.  This worked out well!
  5436 
  5437 June 23, 2000
  5438 -------------
  5439 
  5440 - Finished up additions to the datebase, need to change
  5441   the forms now so the site can use the new fields.
  5442   Some of the new feilds are for future use as well.
  5443 - Added descriptions to the Links page.
  5444 - Fixed the search page so its now formated correctly.
  5445 - Finished up the pollbooth functions (edit and delete).
  5446 - Optimized some of the HTML in the scripts, further
  5447   optimization later!
  5448 
  5449 June 21, 2000
  5450 -------------
  5451 
  5452 - Created a new layout format using all external CSS
  5453   calls.  Let the client do the work!
  5454 - Finished moving configuration to config.php
  5455 - Weeded out some functions in common.php.  Move
  5456   functions that are only used by one script to that
  5457   script.  Combined other similar functions in to one
  5458   function.  Smaller...  Faster... More Stable!
  5459 - Only 6 more items on the to do list for 0.1.0.0
  5460 
  5461 June 20, 2000
  5462 -------------
  5463 
  5464 - Created admin functions for the pollbooth.  Seems the
  5465   other authors on the site don't like hand entering SQL!
  5466   I don't like them having shell accounts!  -grin-
  5467 - Update the Header feild in the Stories block to be a
  5468   little bigger.  This should let wordy authors emblish
  5469   their titles more!
  5470 - Created a more robust errorlog routine.  Now has the
  5471   options of output to a log, the screen or both!
  5472 
  5473 June 19, 2000
  5474 -------------
  5475 
  5476 - Created a pollbooth for voting.  All user functions are
  5477   in pollbooth.php.  There are no admin functions yet as I
  5478   just love hand entering SQL!
  5479 
  5480 June 18, 2000
  5481 -------------
  5482 
  5483 - Optimizations made to the SQL connections and calls.  Too
  5484   much done here to talk about, but part of it was moving
  5485   the site configuration to a flat file.  These changes
  5486   should decrease the usage of the SQL server a great deal.
  5487   This took up most of my day.
  5488 - Variable usage optimizations.  Made many, many chnages in
  5489   the way variables were being used.  This should result in
  5490   cleaner, faster code that _may_ use a little less memory?
  5491   Hey, if I can save 2k per hit, thats a big deal! :-)
  5492 - Updated all code and tested to ensure php4 compatibility.
  5493   So from now on only php4 will be run on the Geeks web
  5494   servers.  So I changed all the extentions and links from
  5495   .php3 to .php to mark this moment.
  5496 - Restructured the directory layout so I can implement some
  5497   new security settings on the files.  Hmmm, I bet you
  5498   wondering "what is this mad-man thinking?"
  5499 
  5500 June 17, 2000
  5501 -------------
  5502 
  5503 - Initial announcement, running this new code on the Geeks
  5504   web servers.
  5505 - Special thanks to Jason Hines and phpWebLog! His work
  5506   inspired much of my efforts!  Unfortunatly phpWebLog is
  5507   taking a different direction that the Geeks sites needed.
  5508   However, all the code I am writing here will be published
  5509   in the hopes that Jason and others may find these functions
  5510   useful.  If you looking for a weblog software that is cool,
  5511   configurable and supported by someone I would recommend you
  5512   check out http://phpweblog.org and party on dudes!