Change Log
December 2, 2008 (SVN 832)
This was a big update and needs a lot of supporting file updates:
- Ruby 1.8.6 (Ruby 1.8.4 might still work but was not tested)
- Gem 1.3.0 [gem update --system]
- Rails 2.1.2 [gem install rails -v 2.1.2] (Don't go to Rails 2.2.2)
- Rake 0.8.3 [gem update rake]
- Mongrel 1.1.5 [gem update mongrel]
- WillPaginate 2.2.2 [gem install will_paginate]
In addition, make the following edit:
- In file config/local_environment.rb: change "server_setting" to "smtp_setting"
November 30, 2008 (SVN )
- Removed Board Member link from the volunteer options
November 16, 2008 (SVN 818)
- Modifications for TCLL 2009 season. Added volunteer job selection survey and adjusted fees
November 11, 2008 (SVN 816)
- Changed simple layout (used for printing) to specify a div id of "middle_column" so that styles would match
October 27, 2008 (SVN 814)
- Fixed problem when editing a left page that has a different link than main page
October 23, 2008 (SVN 813)
- Added print command using "_action/wiki/print/PageName" (Took out old ?print option)
October 23, 2008 (SVN 812)
- Added ability to edit the page name and link from the page info edit screen
October 22, 2008 (SVN 811)
- Enhanced blog posts so a line of 5 dashes or more like this: ----- on a line by itself will truncate the post at that point on the blog summary page and add a "Read more..." link
October 20, 2008 (SVN 809)
- Fix for blog paging by adding "__page_2" to link name. Number of posts per page now controlled by environment variable and the default is 10
- Caching also now works on subsequent blog pages
October 16, 2008 (SVN 808)
October 11, 2008 (SVN 806)
- Folder names now sorted in FCK image browser
October 10, 2008 (SVN 805)
- Updated fee and year for 2009 baseball players
September 26, 2008 (SVN 804)
- Updated to WYSIWYG FCKEditor 2.6.3 which fixes numerous issues
It is important that all users clear their browser's cache to use this upgrade. Firefox in particular is annoyingly good at caching JavaScript. To clear the cache in Firefox, go to Tools -> Clear Private Data and select Cache.
September 26, 2008 (SVN 803)
- Fix for security issue showing remote IP
September 24, 2008 (SVN 802)
- Big update to separate page links from page name.
- Enhanced blog capability
- Added Admin function to delete old sessions
- Updated to Rails 1.2.6
Upgrade Instructions:
- If upgraded the DB to version 34, roll this back with:
rake db:migrate VERSION=33
- Run
svn update on main directory
- Run
svn update on maxwiki plugin directories (if multi-host)
- Rename vendor/plugins/maxwiki_webdav_auth/init.rb to init.rb.hide
- Run
db:migrate
Note: This version of rails needs rake 0.7.3, later versions will give an error
September 5, 2008 (SVN 791)
- Updated Google Map helper. See Editing Maps for instructions.
August 21, 2008 (SVN 788)
- Set permissions on file uploads so they are not world writable
June 20, 2008 (SVN 785)
- Added ability for Admin to delete or edit the author and creation time of any page on the "All Pages" screen
- Show "created" date on blog entries
April 4, 2008 (SVN 782)
- Added migration 34 to add page links (this was not used until SVN 795)
March 29, 2008 (SVN 781)
- If one search result, still show result page rather than jumping to that page
- Top menu now supports two levels (See NoHo site for style sheet entries needed)
- Menus now show all parents recursively. This is useful if blogs are on a 2nd level menu
- Other minor changes
- Fixed bugs with two-level menus
March 11, 2008 (SVN 769)
- Added "Import Event" feature
- In a form, if there is a field that includes "form_name" this will be used in the subject of the email sent like this: "Site Name - Form Name"
- Baseball roster shows last name and phone number if logged in as Editor or higher
February 12, 2008 (SVN 763)
- Enabled parent_page choice when editing that sets the _left column to the same as the parent.
- Allow => in erb to substitute for => which interferes with HTML
- Updated player_list (roster) format
- Added button "Add Player" to reg_admin List Player
January 31, 2008 (SVN 756)
- Added "mark and print next" to player
- Updated player show and print so that it would print on one page
- Added "Delete All" button for emails
- Allow editing of player info_checked field
December 29, 2007 (SVN 745)
- Baseball registration - shows better message when players have been paid
- Improved orphan report
- Orphan check: delete orphan players
- Fix bug in Export Player when household doesn't exist for a player
November 24, 2007 (SVN 739)
- Updated baseball registration dates and fees
November 8, 2007 (SVN 736)
- Change format of Amazon drag-and-drop to a small image that floats left. Also cleaned up some other drag-and-drop issues.
November 8, 2007 (SVN 735)
- Updated to Scriptaculous 1.8 and Prototype 1.6. This fixed a recursion problem with media drag-and-drop.
November 8, 2007 (SVN 733)
- Fixed a bug in FCKEditor 2.5beta that would pop-up a security paste dialog when trying to drag-and-drop from the File Upload plugin
November 7, 2007 (SVN 731)
- Added the Insert/Edit Image icon in the editor toolbar
- Took out the paste from Word icon in the editor toolbar
November 6, 2007 (SVN 730)
- Update FCKEditor to version 2.5beta which supports Safari and Opera
- Added a page browser and fixed uploads in FCKEditor
October 26, 2007 (SVN 728)
- Allows comma delimited lists of email address in the configuration "Signups CC" field so signup notifications can go to more than one email address
- Email forms now use the email address in "Signup CC" rather than "Emails From"
- Email forms can have a hidden field "email_to" and the form will be emailed to those email addresses.
- The "email_to" domain must be the same as the domain of an address in "Signups CC" or "Emails From" for security reasons.
- Note: if using three or more emails in the "email_to" field, separate them with commas and no space like this: "mail1@test.com,mail2@test.com,mail3@test.com"
October 19, 2007 (SVN 723)
- Enhanced file uploads to use Ajax so it stays in edit window during the upload
- Misc other file upload enhancement
October 19, 2007 (SVN 722)
- Allow alternate syntax for ERB commands using square brackets so they are visible in normal edit window
- Fixed SQL problems in WikiReference that would sometimes produce an exception when looking at a page revision
- Took out category code that wasn't being used
- Took out wiki param to WikiReference.link_type and using current_wiki instead
October 11, 2007 (SVN 718)
- Patched a security hole with file uploads
- Enhanced file uploads so that the upload directory can be specified in local_environment.rb and doesn't need to be in separate directories for each page
- When dragging a picture onto the page, it now is shown full size rather than being constrained to 50 pixels
October 10, 2007 (SVN 717)
- Orphan list is now correct - it only shows pages that can't be reached from the main pages. However for existing sites, it is necessary to convert left_menu to list format (SVN 711) and save any existing _menu or _left pages in order for the orphan list to be updated correctly.
October 10, 2007 (SVN 716)
- Enhanced left_menu so that if a link has an ID, then that will be used in a regular expression for selecting the menu item. For instance, if there is a menu item "Adopted" and page names "Adopted", "Adopted 1", "Adopted 2", then by setting the ID of the menu item to "adopted" (case insensitive) then when any of these pages is shown, the "Adopted" menu item will be selected.
October 9, 2007 (SVN 715)
- Navigation now has separate menu items for All Pages, Orphans and Wanted, and the latter two only appear when the user has at least an Editor role. This makes the All Pages page more suitable for a site-map.
October 8, 2007 (SVN 712)
- Added support for an icon to appear in the browser address bar (favicon). To use this feature place in the site directory (i.e.: /files/maxwiki") a "favicon.ico", "favicon.gif", or a "favicon.png" image (the latter two should be sized 16x16).
October 8, 2007 (SVN 711)
- When saving a page, href or src links that start with "../../" will have this deleted. This is necessary for file uploads on and sometimes when copying-and-pasting HTML.
- ERB method "left_menu" now deprecated, use list with class "left_menu" instead.
- Refactored Revision display_content and update_references.
- Fixed bug that sometimes caused includes to be rendered in Revision and sometimes through the ERB helper.
- Added current_wiki.current_page_name that gets set to the main page name that is being processed so Revision knows this when processing left_menu lists to select the correct list item
Instead of:
< %= left_menu 'About Us', 'Team', 'Contact' % >
Build a list whose source looks like:
<ul class="left_menu">
<li class="submenu"><a href="/About Us">About Us</a></li>
<li><a href="/Team">Team</a></li>
<li><a href="/Contact">Contact</a></li>
</ul>
Note that after creating the list, you will need to add class="left_menu" to the ul tag and add class="submenu" to the first li item.
October 5, 2007
- Enhanced the "All Pages" page (/_action/wiki/list) to not show the _left, _right and _menu pages
October 4, 2007
- The FCK link editor now puts in a slash '/' in front of the page name
- Updated the FCK link editor dialog to show "MaxWiki Page" rather than just "Wiki"
- Changed the FCK stylesheet to main.css so the styles in the editor window will look better (regression)
- Added MY_CONFIG[:hide_byline_author_link] config param so author info in the byline will not appear as page links
October 3, 2007
- Any text on the page that looks like an email link will be converted to an encoded mailto link to protect against spam harvesters
- Existing mailto links will not be converted