2007-12-10 Dirk Frederickx (dirk.frederickx@gmail.com) * Added selenium-core (selenium.core.version=0.8.3, selenium.core.revision=1879) with few patches for mootools compatibility. (see http://forum.mootools.net/viewtopic.php?id=1639) * Added first set of web unit tests based on Selenium. Read the tests/selenium-tests/readme.txt for more instructions how to run them manually. Automated testruns from ant still need to be setup. 2007-12-05 Janne Jalkanen * 2.5.166 * [JSPWIKI-78]: It's no longer possible to recover password based on user account name - you need the email address. Props to Ounce Labs. * Contents of login.lostpw.help, login.lostpw.name have changed. Updated English and Finnish translations accordingly. * [JSPWIKI-65]: InsertTag now protects against a problematic XSS injection. Thanks to Ounce Labs. 2007-12-04 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.165 * [JSPWiki-88] Fixed js bug to tab to group or profile in IE6 2007-12-01 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.164 : various xss vulnerablilities * Wrong Password Error Message May increase Credential Guess [JSPWIKI-85] * GROUP parameter validation [JSPWIKI-69] * Input Validation of editors pararmeter [JSPWki-67] * Resolve commonheader.jsp xss vulnerabilities wrt skins [JSPWIKI- 66] * Various wiki tags improvements [JSPWiki-63] * Author Tag and Asserted Username [JSPWiki-60] 2007-11-25 Janne Jalkanen * 2.5.163 * Rolled back fix to JSPWIKI-74, since a) it's not necessary, and b) it kills the performance of the save process. * [JSPWIKI-84]: Added note to the jspwiki.properties. 2007-11-?? Andrew Jaquith * 2.5.162 * Fixed [JSPWIKI-82]. We were failing to properly close JDBC connections in JDBCUserManager and JDBCGroupManager. Credit: Ounce Labs. * Fixed [JSPWIKI-74]. SpamFilter now uses SecureRandom. Credit: Ounce Labs. 2007-11-25 Janne Jalkanen * Same version, don't want to bump too many times in one day :) * [JSPWIKI-46]: it's no longer possible to do redirection on nextPage when uploading. Thanks to Ounce for letting us know. * [JSPWIKI-53]: Added patch from Dave Wolf to turn a missing policy file -NPE to a proper exception (with explanations). 2007-11-25 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.161 * IE wide images also fixed on PREVIEW mode; * Stack overflow on IE for login page fixed [JSPWiki-51] * %%collapse rendering was incorrect with larger default font-sizes. Adapted to height of the colllapse bullets. [JSPWiki-34] * Minor adjustment of the smart skin: alignment of search-box and header/footer widths. 2007-11-25 Janne Jalkanen * 2.5.160 * Applied patch from Harry Metske to slightly speed up PageTimeComparator. * [JSPWIKI-47]: SecurityConfig.jsp now ships off by default, but can be enabled by setting jspwiki-x.securityconfig.enable=true. The page also has instructions on how to accomplish that, when you try to access it. 2007-11-22 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.159 * IE fixes for fluid template with very wide images. (cont'd) Also fixes a bug introduced in v2.5.155 wrt image formatting. [JSPWiki-15, JSPWiki-52] 2007-11-22 Andrew Jaquith * 2.5.158 * Ant build script for webtests is now much smarter. Web tests now perform a "pre-flight" check to make sure preconditions are satisfied before launching. If you've wanted to run web tests before but "couldn't get them working." the new script should set things right. 2007-11-18 Janne Jalkanen * 2.5.157 * [JSPWIKI-21]: Password hash now uses UTF-8 instead of platform default. * Cleaned JSPWikiToCreoleTranslator to conform to coding rules * CommentedProperties was also storing with platform default encoding. In most cases this would work, but it would create an unwelcome incompatibility between regular property files and these property files. It now explicitly uses ISO-8859-1 encoding. * Fixed a couple of wrong entities in Spanish and Finnish translations. * [JSPWIKI-29]: Per-page RSS links should now be correct again. 2007-11-17 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.156 * Removed the error prefix from the successfull LossPassword information message. [JSPWIKI-26] * Small searchbox improvements: search icon now appears inside the search box; an empty search is really empty and does not search for the string 'Quick Navigation' anymore. * Fixed the search Highlight to cooperate well with AJAX based searches. 2007-11-16 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.155 - IE6 wide images * Fix funny indenting of collapsable list when %%collapse are nested [JSPWiki-34] * (finally) Fixing wide image support for ie6 in fluid templates. [JSPWiki-15] For IE6 browsers, a
will be inserted around each image. This
gets a specific overflow-x:auto style, activating proper scrolling for this famous browser. * Added a correction to the fixed width template Vanilla-1024x768, to support wide images on ie6 here as well. [reported by Harry Metske] 2007-11-12 Juan Pablo Santos (juanpablo.santos@gmail.com) * 2.5.154 * Added support for JMeter (v. 2.3) tests in build.xml & webtests.xml, two new properties must be set up at your build.properties: tomcat.protocol and @jmeter.home@. * Added jmeter-tests.jmx with simple login and logout web tests and jmeter-init-workbench.jmx, which contains initial nodes to start recording new tests. * JWebUnit tests are no longer running when executing the target. You can keep running them inside your IDE as normal JUnit test or uncomment the appropiate section in the target. 2007-11-10 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.153 * Form element focus was failing on preferences pages in IE [JSPWiki-24] * Added TitleBox to the template. When creating a page 'TitleBox', it's contents will be included at the top of the header of the wiki site. This allows you to put a title message or specific announcements or newsflashes on your site. [Suggested by Murray & Janne] * Added a new skin PlainVanilla 1024x768, which has a fixed width layout iso the fluid layouts used in the default PlainVanilla skin. This new skin allows to better support IE browsers when showing wide images. (IE has terrible float support) 2007-11-09 Janne Jalkanen * 2.5.152 * [JSPWIKI-19]: Fixed localization which was encoding HTML entities even though there was no need. * [JSPWIKI-12]: Fixed localization. * Added Murray's patch for WikiPageRenameEvent. * [JSPWIKI-28]: LinkParser was failing dismally with interwiki links. Added a new unit test to catch these, and rewrote LinkParser interwiki link parsing. * LuceneSearchProvider.getAttachmentContent() is now protected for subclassers. * ClassUtil is now a bit more verbose. 2007-11-07 Janne Jalkanen * 2.5.151 * [JSPWIKI-11]: It's now possible to set mail.smtp.starttls.enable also from the property file. Previously it would always default to true, making it fail when there was a self-signed certificate at the other end. * Added an UTF-8 check to SpamFilter to catch bots which munge UTF-8 and cause major breakage... * Fixed some issues with the password recovery email localizations. 2007-11-3 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.150 - small template fixes * IE6 stuff: fixed the height of actionsTop * Smart skin: searchbox didn't show up, several style alignments with vanilla template * Finish, Spanish, German I18n : removed some obsolete
tags [JSPWiki-17] 2007-11-1 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.149 - various ie6 fixes in css and javascript * The Accordion style now support dynamic content. Iow, accordion sections will dynamically grow/shrink with dynamic content such as collapsible lists or boxes. * The body of a page and the Info tab have gotten a css overflow:auto style. to support wide pages. When contents becomes too wide (eg wide tables) the pagecontent will overflow horizontally with scrollbars at the bottom of the page. Add small ie6 fix for wide preformatted {{{blocks}}} For ie6, specific proprietary overflow-x style is used. * Long values in table filter dropdowns are trimmed to maximum 32chars. This will reduce the occurance of wide tables in eg Page Info tab. * Added slimbox icon gifs for ie only. * IE6 Collapsible List is working again. (finally) * IE6 Layout of the Edit and More tabs is now properly aligned with the rest of the page border * Fixed the mouse-selection bug on the edit textarea, for ie6. * Improved editor toolbar handling for ie6, with better handling of selected text in the textarea. [BUGZILLA BUG 118] 2007-10-30 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.148 - ie6 fixes cont'd * Replacing several .png icons by .gif variants, which are better supported across browsers. The warning and error icons were swapped. (reported by Murray) * Added a small fix on wide pages with {{{blocks}}} 2007-10-29 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.147 - more IE6 fixes * Pages with wide preformatted {{{text blocks}}} where not overflowing correctly on ie6. [JSPWiki-2] * More updates on collapsible lists for ie6. More testing required. * Fixed the SearchBoxMenu to ensure proper width on ie6 2007-10-27 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.146 - more IE6 fixes and small gui updates * Refactored collapsible lists in view of ie compatibility. * Improved layout consistentcy of the quick navigation action buttons * Resolved double loading of print.css. (commonheader.jsp) 2007-10-26 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.145 - many IE6 fixes and small gui updates * Heading rendered wrong in IE6, because IE doesn't like floats with margins. [JSPWIKI-4] * By default, the more-menu is hidden by default, to avoid bumpy screen rendering for slower page loads. [JSPWiki-9] * TabbedSections in IE6 had annoying additional spacing between tab and body * BUGZILLA 115: URL Constructor compatibility is fixed for Ajax enabled searches. * Align look n feel of collapsible lists, boxes and accordions. All hovered actions now get a consistent, neutral color, instead of the previous orange tint. (reported by Murray Altheim) * CollapsibleBox update: you can now click anywhere on the title of a collabsible box to open or close it. Previously, you had to hit the +/- collapse button. * The %%category now supports any url constructor type. (was failing on jspwiki.org) The look 'n feel of the category popup has been aligned with Tip-Style. (no more orange, but transparent dark grey) * The Redo/Undo buttons are moved to the top of the Edit.jsp form, because they function irrespective of the search functions. * TOC has become a floating element, such that commentboxes and toc's can nicely float next to each-other. Downside is that, when entering text right after a TOC, the text will float next to the toc. To prevent this, you can always enter a \\ (wiki linebreak) which will nicely push the contents under any float. (clear:both) [JSPWiki-1] * added 2 new i18n resources javascript.slimbox.previous=«Previous javascript.slimbox.next=Next» 2007-10-24 Janne Jalkanen * 2.5.144 * SpamFilter now has the ability to check against all the tests by setting score. 2007-10-13 Janne Jalkanen * 2.5.143 * Some additional improvements to SpamFilter, which now keeps track of user sessions and stores some data in it (yes, I'm being a bit vague here on purpose). * 2.5.142 * Combined edittime and addr fields into one hash value. * Also improved edit process slightly to catch bots. * SpamFilter now also matches against the IP address. 2007-09-25 Janne Jalkanen * 2.5.141 * Added Murray's patch to allow better extensibility for LuceneSearchProvider. 2007-09-23 Janne Jalkanen * 2.5.140 * Fixed issue with deploy/redeploy - removed a thrown exception in WatchDog, and made the AdminBeans properly unregister upon shutdown. 2007-09-19 Janne Jalkanen * Updated Finnish localization 2007-09-18 Juan Pablo Santos (juanpablo.santos@gmail.com) * Fixed a pair of typos: use of tomcat.host & port instead of localhost:8080 in build.xml + cvs.root property pointing to cvs.jspwiki.org instead of grey.ecyrd.com and one more localized string at CoreResources.properties, - markupparser.link.create = Create '{0}' 2007-09-16 Janne Jalkanen * 2.5.139 * [BUG 136]: Fixed several XSS vulnerabilities in plain.jsp, commonheader.jsp, GroupContent.jsp, EditGroupContent.jsp, InfoContent.jsp, NewGroupContent.jsp, VariableTag, UserProfileTag and MessagesTag. Reported by Jason Kratzer. * Fixes a local path disclosure vulnerability in BasicAttachmentProvider. Reported by Jason Kratzer. * Updated Finnish localization * Also fixed a number of instances of apostrophe (') use in localization files - better to use ' to avoid loads of nastiness with certain constructions. 2007-09-14 Juan Pablo Santos (juanpablo.santos@gmail.com) * 2.5.138 * Localized Referring Pages and Current Time plugins (again, strangely enough, the plugins' texts were already in the resource file.). Updated referringpagesplugin.more localized text, it was looking for two parameters and the plugin uses only one. * Localized also Forms Plugins, JSPWikiMarkupParser, PluginContent, TranslatorReader and PluginManager. New localized strings: + CoreResources.properties # JSPWikiMarkupParser - markupparser.error.invalidset = Invalid SET found: {0} - markupparser.error.nointerwikiref = No InterWiki reference defined in properties for Wiki called '{0}'! - markupparser.error.parserfailure = Parser failed: {0} - markupparser.error.javascriptattempt = Attempt to output javascript! + PluginResources.properties # Forms Plugins - formclose.noneedtoshow = (no need to show close now) - forminput.namemissing = Input element is missing parameter 'name'. - forminput.noneedtoshow = (no need to show input field now) - formopen.missingparam = The FormOpen element is missing the '{0}' parameter. - formopen.postorgetonly = Method must be either 'post' or 'get' - formopen.noneedtoshow = (no need to show form open now) - formoutput.missingargument = Argument '{0}' required for Form plugin - formselect.namemissing = Select element is missing parameter 'name'. - formtextarea.noneedtoshow = (no need to show textarea field now) - formtextarea.namemissing = Textarea element is missing parameter 'name'. * Web tests no longer require the servlet container to be running at http://localhost:8080/. Now you can set host & port at the build.properties file indicated in build.xml 2007-09-09 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.137 * Few javascript fixes for improved URL constructor compatibility [ BUG 115 ] The generated links in the ajax search dropdown are now compatible with the selected URL constructor. * More IE fixes to improve rendering of floats. ( ref. IE6 peekaboo bug ) 2007-09-08 Janne Jalkanen * 2.5.136 * D'oh, due to some debug code left in CookieAuthenticationLoginModule, it was expiring sessions in 30 seconds. * AdminUI now shows all known plugins and whether they are compatible with this version of JSPWiki. WikiWizard also gains an AdminBean (though it doesn't do anything). 2007-09-04 Janne Jalkanen * 2.5.135 * [Bug 135]: Turned out to be a faulty quote in Finnish translation. * [Bug 134]: Ditto. 2007-09-03 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.134 * Fixed the JSON-RPC url, to be independent on the url constructor 2007-09-02 Juan Pablo Santos (juanpablo.santos@gmail.com) * 2.5.133 * [Bug 133]: Release.isOlderOrEqual() was not comparing revisions properly and, in the end, Editors were not registering. Something similar was happening with Release.isNewerOrEqual(), fixed as well. * [Bug 122]: Partly fixed. Preferences for default template are now readed from jspwiki.properties instead of being hardcoded in com.ecyrd.jspwiki.preferences.Preferences. Cfr. with jspwiki.properties.tmpl lines 258 - 261. * Updated es_ES locales 2007-09-02 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.132 * Fixed search menu for Smart skin. (improve compat. with IE) 2007-09-01 Janne Jalkanen * 2.5.131 * [Bug 131]: Added Harry Metske's patch to allow "excludeattachments" on UnusedPagesPlugin for those who need it. * Updated Finnish localization. 2007-09-01 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.130 * Fixed missing html attrib in LostPassword tab * The Edit findSuggestionMenu has been moved into the Favorites, so it nicely accomodates with Left or Right position of the favorites block. * [ BUG 132 ] Collapsable lists and boxes now also are rendered in preview mode * [ BUG 123 ] Added a confirm box in case you click aways from the page without saving. When you leave the edit session without first saving your changees (eg clicking the Info tab, clicking any page link, etc.) a popup window asks you to confirm. javascript.edit.areyousure=Without clicking the Save button, your changes will be lost. \ Are you sure you want to exit this page? * [ BUG 126 ] Remove 'spurious' css errors. 2007-08-28 Janne Jalkanen * 2.5.129 * Fixed a number of bugs in the SpamFilter, and added automatic bot detection according to idea from http://www.modernbluedesign.com/web-design-blog/fighting-spam-with-css/ * SpamFilter captcha is now user-settable. Possible options are "none" and "asirra". * 2.5.128 * Added SearchManagerBean to the admin UI. It's now possible to force a reindex of all pages, either from your MBean manager or the Admin UI. 2007-08-27 Janne Jalkanen * 2.5.127 * Login redirections were failing; fixed with some bubble gum. 2007-08-26 Janne Jalkanen * 2.5.126 * Performance optimizations: PagePermission constructor no longer uses String.split() but StringUtils.split(). String.split() is a regexp function, and they're always expensive. 2007-08-26 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.125 * Add UserBox.jsp * Spaces should not break action buttons such as 'Log In' or 'My Prefs'. (reported by Murray Altheim) * [Bug 120] : Fix unbalanced JSP single or double quote's. (eg on Websphere or BEA) 2007-08-25 Janne Jalkanen * 2.5.124 * [Bug 89]: Removed Test plugin (now that IfPlugin can do all the same things). * [Bug 32]: LuceneSearchProvider now also indexes the page with all the non-letters removed. * [Bug 121]: RSS.rdf is now only generated of pages to which the Anonymous user has access to. 2007-08-24 Janne Jalkanen * 2.5.123 * Added Murray's patch to allow static calling of IfPlugin. 2007-08-22 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.122 * [Bug 113]: Error with 'join wiki now!' link creating new accounts 2007-08-22 Janne Jalkanen * 2.5.121 * [Bug 10]: Fixed. * Made findSuggestionMenu transparent since it sometimes blocks the view. Also reduced fontsize a bit. 2007-08-21 Janne Jalkanen * 2.5.120 * [Bug 89]: Added support also for [{If var='xyssy' exists='true'}], requested by Dirk. * Localized WeblogEntryPlugin (strangely enough, the plugin text was already in the resource file.) * [Bug 39]: Fixed the login issue, but many things still remain. * Fixed issue with login email sending which was using a hard-coded URL. 2007-08-19 Janne Jalkanen * 2.5.119 * [Bug 89]: Added "exists" parameter to IfPlugin. 2007-08-19 Janne Jalkanen * 2.5.118 * [Bug 110]: WikiContext.checkAccess() was doing double encoding, and therefore pages with spaces would be returning wrong login URLs. Reported by Alex Samad. * Fixed a bunch of failing unit tests - the change of "editpage" to "createpage" had for some reason slipped everyone's attention. 2007-08-17 Juan Pablo Santos * 2.5.117 - Page renaming caused a NullPointerException under some circumstances, filed as Bug 85. Fixed, seemed to be caused when renaming a non-existing page (cfr. with http://bugs.jspwiki.org/show_bug.cgi?id=85). Added some JUnit tests to check this. 2007-08-15 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.116 - More fixes for IE * More fixes for collapsable lists and the Greeting box. * Positioning of popup menu's now also correct on IE. * CSS-classes were added reflect anonymous, asserted, authenticed status. The SMART skin has user icons reflecting the login status. (suggested by Murray Altheim) 2007-08-12 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.115 - More IE fixes (more to come) * Collapsable lists were not working in the current STRICT DTD mode, due to a remarkable IE bug (ref. http://mt-olympus.com/emmett/bug_overflow_positionrelative.php ) * The USER greeting box needed an fix, for IE. * Fixed the visibility of the Attachment Tab for IE * The handling of the user profile Creation (under login context) and user profile modifications (under Pref context) has been fixed. Errors during creation or update are now routed back to the correct contexts. 2007-08-06 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.114 - Few IE fixes * Some annoying IE layout issues fixed: TAB layouts and positioning of User greeting & login & prefs. There is still a major bug on the positioning of the popup menu's in IE which makes the More menu and Navigation menu's not usable. Ongoing. * Checkboxes for Tab-completion and Smart-typing-pairs are not functional in IE, so now they are hidden in that browser. (BUG 103) * Added the LoginHelp page. * Ensure xhtml compliance when suppressing the PageActionsTop in 'login' and 'prefs' context 2007-08-04 Janne Jalkanen * 2.5.113 * Added "localheader.jsp", which is included from commonheader.jsp. The idea is that it is an "empty" header file which can be safely overridden in your local template without having to change commonheader.jsp * Updated Finnish localization. 2007-08-05 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.112 - Login/LostPassword/Register user fixes * Fixed 'show-all' search results in Find. Only display of blocks of 20 was working. * Renamed the css class 'editpage' to 'createpage' because that's actually what it is. (BUG 55) * Login/LostPassword/Register jsp's clean up and bugfixes: Handling of Lost/Reset Password is now properly covered by template jsps. (BUG 38) Still todo: the handling of Create/Modify User Profile (part of UserPreference and Login flow) need to be refactored. When creating a new user profile in the Login screens, the error handling get's processed by UserPrefs. Confusing. Some i18n resources where shifted to the right CoreResources or templates.default bundle. (this still needs to be done for all language specific resource files !!) # Login.jsp (moved from template.default to CoreResources) login.error.capslock=Invalid login (please check your Caps Lock key) login.error.password=Not a valid login. login.error.noaccess=It seems you don't have access to that. Sorry. # moved from CoreResources to template.default (NOTE: lostpwd changed to lostpw !) login.lostpw.reset.clickhere=Click here login.lostpw.reset.login={0} to log in once you retrieve your new password. * PageActionsTop.jsp was updated to hide the More menu from 'non-page' related contexts. The More menu will only be shown in view, edit, comment, diff, info, preview, upload & find * The SearchPageHelp was extended with some Lucene hints. 2007-08-04 Janne Jalkanen * Updated Finnish localization. 2007-08-05 Juan Pablo Santos * i18nized some JSPs with hard-coded text. New localizable strings: - GroupTab.jsp (default.properties) grp.createdon grp.lastmodified grp.groupnames.title grp.newgroupname grp.savegroup grp.savenewgroup grp.cancel grp.deletegroup grp.deletegroup.confirm grp.formhelp grp.allgroups (grp.by removed due to proper use of MessageFormat) - NewGroupContent.jsp (default.properties) newgroup.creategroup - PreferencesContent.jsp (ProfileTab.jsp, default.properties) prefs.roles prefs.groups prefs.creationdate prefs.profile.lastmodified - UserProfileTag (coreresources.properties) userprofile.nogroups userprofile.noroles * Updated spanish (es_ES) translation. 2007-08-04 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.111 * Closing final final XHTML compliancy issues (Closing BUG 9) * More menu is now extendable (BUG 20) A new page called 'MoreMenu' can now be used to extend the More menu with extra stuff, such a links to Recent Changes, Page Index, System Info, About, Site Map, etc. The behaviour is similar as for the LeftMenu. It is only functional when JS is turned on in your browser. Otherwise the more menu is an ordinary dropdown. * Fixed Favorites position (left/right) in Edit and Upload view * Removed font resizing stuff. No real add value. (and not working in IE anyway) 2007-08-04 Janne Jalkanen * "ant war" now compresses jspwiki-edit.js, jspwiki-common.js and jspwiki-prefs.js using the Rhino library. This should bring in considerable savings to bandwidth and response. 2007-08-03 Janne Jalkanen * 2.5.110 * Added patch from Murray to provide property cascading from system properties. * Added patch from Murray to provide setting of AclManager (use jspwiki.aclManager=). 2007-07-30 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.109 - internal cleanup of JSP's, few bugfixes (one for IE) * Added new Tag to get rid of java hacking in InfoContent.jsp and AJAXSearch.jsp. Fixed a few bugs on pagination as well. Now pagination does show up properly at version=20. (reported by Milt Taylor) * New marker defined 'jslocalizedstrings' to cleanup commonheader.jsp. Some refinement is still needed, but it works for now. * Fixed IE crash in jspwiki-edit.js causing edit toolbars not to be rendered. (as reported by Milt Taylor) * Bugfix: Attachment upload was not working anymore (introduced in 2.5.107) 2007-07-30 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.108 - template changes & usability * The 'Edit' button is now back in its previous position. (after recent popularity poll ;-) The 'More' button now has a little down-icon as visual clue that it's actually a dropdown. The GoTo-Bottom triangle has been removed (reduce screen clutter, not used much anyway) The GoTo-Top button is still there. The 'Login', 'Logout' and 'My prefs' are put below Greeting, which is more natural. (with still 2 different approachs in the default and Smart skin) * New preference added to select Left/Rigth position the Favoristes menu. The position of the 'More' menu and 'Find/Recentchanges' dropdowns is now calculated on the fly. prefs.user.orientation=Favorites style prefs.user.orientation.left=Left prefs.user.orientation.right=Left * Smart and OrderedList skins are now aligned with latest GUI changes * After setting new UserPreferences, you get now redirected back to the page you came from. (similar to login) * XHTML compliance improvements. Border settings have been removed from img elements. (RecentChangesPlugin, RSSCoffeeCupLinkTag, TranslatorReader) Replace all in default.properties by editor.plain.name=Your name editor.plain.email=Homepage or email actions.edit=Edit actions.editparent=Edit parent page actions.prefs=My Prefs actions.prefs.title=Manage user preferences [ p ] * The attachment img viewers now alos supports capitalised extensions (eg both jpg and JPG can be reviewed) * Small refactorings on the Tabbed Sections. (simplified TabTag html) All content inside a tab, also the floated content, will nicely fit inside the tab. (ref bug 101) 2007-07-24 Juan Pablo Santos * Updated spanish (es_ES) translation. 2007-07-24 Janne Jalkanen * Just updated Finnish translation and fixed some entity names in English translation. 2007-07-23 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.107 * Many 'usability' improvements based on many many inputs from Claudia, Murray, Alex and Janne. Hope you like them :-) All screens now consistenty show 3 TABS (view, attach and info) The Edit action has become a 'pseudo' TAB positioned right next to the standard set of tabs, but visually different. For the time being, Add-Comment remains hidden in the More dropdown as it is less frequently used. The More action has been visually adjusted as a kind of 'button'. The Link tab and Diff tabs are incorporated in the Info screen as collapsable boxes, and are only shown depending on the context. This brings back all page info (links, version history) back under one single place. A new --USER-- bar is added with UserName, Login/Register, Prefs and Logout actions. These actions are not anylonger in the top pageactions sections. This USER bar is positioned at the top of the screen (PlainVanilla skin) or in the Favorites sections (SMART skin) The bottom page actions have been simplified to the max. When clicking the 'goto TOP' triangle, you are just one click away from all remaining actions and buttons. (this was the most easiest for now ;-) Pending stuff: allow configurable 'quick-links' to be added next to and inside the More... menu. Skins may not yet be up to date with all changes - expect some glitches here and there. * Added link to 'View source page' to the More menu. New i18n property:` actions.rawpage=View Page Source * Fixed the Diff dropdown selectors when no parameters (r1 and r2) are provided. * Editor/Posteditor improvements: Checkboxes were added to turn on/off the Tab Completion and Smart TypingPairs. Your settings are cookie-fied. Some new i18n keywords added: editor.plain.smartpairs= Smart Typing Pairs editor.plain.smartpairs.title= Auto pairing of () [] {} "" '' editor.plain.tabcompletion=Tab Completion (keyword+Tab) editor.plain.tabcompletion.title=Auto expansion of keyword to Wiki Markup All posteditor functions are now also undo-able. The Posteditor now correctly handles Shift+right-arrow in Firefox. (Bug 91) * Fixed Bug 86 Commentbox and Tabbedsection not playing well (reported by Alex Samad) 2007-07-20 Janne Jalkanen * 2.5.106 * Fixes an XSS vulnerability with evilly formed links. Reported by Igor Minar. 2007-07-18 Janne Jalkanen * 2.5.105 * AdminUI has now rudimentary user management - it's now possible to add, change and remove user accounts using the adminUI. AdminUI is reachable through admin/Admin.jsp. 2007-07-18 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.104 * The "Home" link now get's the actual name of the home/front page (suggested by Claudua Frers) Remove the key='actions.home' from i18n properties * Fixed floating issue between TabbedSections and CommentBoxes inside pages. (reported by Alex Samad) * More xhtml fixes on PreferncesTab and default.properties. 2007-07-18 Janne Jalkanen * 2.5.103 * [Bug 21]: Turned out to be a problem of self-referencing pages. * [Bug 85]: Added an extra check for this case. It still throws an exception, but at least it's a lot more useful to debug. * [Bug 25]: Was related to Bug 21. Added test cases and fixed. * Added IfPlugin; thanks to Scott A. Bybee who explained to me how useful conditional wikitext can be. * [Bug 87]: Login process now returns you to the same page where you chose to login. 2007-07-17 Janne Jalkanen * Updated Finnish localization. 2007-07-17 Dirk Frederickx (dirk.frederickx@gmail.com) * No version bump -- some small fixes only. * Few small IE6 tweaks: position of actionmenu popup, position of triangle icons for top and bottom link * Remaining xhtml issues (empty are not allowed) (BUG 9) All pages of xhtml compliant, excpet UserPreferences. 2007-07-17 Christoph Sauer (sauer@hs-heilbronn.de) * 2.5.102 * Bug 13 fixed. Chuck found that by using WikiWizard 1.1.1 instead of 1.1, it would load properly. However, it would not import the text with JavaScript due to a new security mechanism built into Mac OS X. To remedy this problem, we added scriptable="true" to the applet tag and it should work now. * Added missing german localisations. Added a class called MissingTranslations that helps diff the ressource property files. Adapt it to your localisation and run it directly in your IDE. 2007-07-14 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.101 * Few more xhtml issues resolved. * Default Template is now fixed for IE6. * Edit Assist toolbar tips localized. New localisable items, since v2.5.100 editor.plain.posteditor=Enter Keyword+Tab: editor.plain.posteditor.title=shift+enter for next next field editor.plain.editassist=Edit Assist editor.plain.editassist.title=Toggle Edit Assist buttons editor.plain.tbLink.title=link - Insert wiki link editor.plain.tbH1.title=h1 - Insert heading1 editor.plain.tbH2.title=h2 - Insert heading2 editor.plain.tbH3.title=h3 - Insert heading3 editor.plain.tbHR.title=hr - Insert horizontal ruler editor.plain.tbBR.title=br - Insert line break editor.plain.tbPRE.title=pre - Insert preformatted block editor.plain.tbDL.title=dl - Insert definition list editor.plain.tbB.title=bold editor.plain.tbI.title=italiceditor.plain.tbMONO.title=mono - monospace editor.plain.tbSUP.title=sup - superscript editor.plain.tbSUB.title=sub - subscript editor.plain.tbSTRIKE.title=strike - strikethrough editor.plain.tbTOC.title=toc - Insert table of contents editor.plain.tbTAB.title=tab - Insert tabbed section editor.plain.tbTABLE.title=table - Insert table editor.plain.tbIMG.title=img - Insert image editor.plain.tbCODE.title=code - Insert code block editor.plain.tbQUOTE.title=quote - Insert quoted block editor.plain.tbSIGN.title=sign - Insert your signature 2007-07-14 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.100 * Finalising xhtml fixes. I hope to close (BUG 9) really soon now. * The Frontpage variable can not be use cause it is not always set. Falling back to engine.getFrontPage() (BUG 82) * The Edit Assist and the resize bar are now also availble in the Add Comment page * The Edit Assist buttons have been improved. Pressing a button will replace the selected text properly, instead of just overwriting it. (EG, select a word and press the BOLD button to replace theword by __word__) Also the handling of newline has been improved as some markup should always appear at the start of a new line. (EG, headers, tables, ...) (ref also BUG 83) * Experimental, but looks promising ;-) When JSPWiki rendered on a narrow screen, (eg 200x320px) page-tabs were overlapping with page-actions, and not usable anymore. Now, the tabs nicely shift below the page-actions when the screen is very small. This will help JSPWiki to be usable on mobile divices such as S60 or iPhone. (BUG 80) As always:: please test this on IE browsers and feedback. Testing was done FF, Safari, Opera and Camino ok. * The Smart and OrderList skin have now aligned with latest pageactions changes 2007-07-14 Janne Jalkanen * 2.5.99 * [Bug 77]: We were starting two FilterManagers - apps were registering to the other one, and events were fired with the other one... Heh. * Startup now outputs a lot more useful info about the environment (enabled by setting WikiEngine to DEBUG). * WebSphere Community Edition (WSCE 1.0) was crashing at startup, due to AuthenticationManager.hasCookieAuthentication() assuming non-null JAAS lists. * TestHttpServletRequest now returns a sane locale (so that no NPE's occur anymore in tests). * Updated Finnish localization up-to-date. 2007-07-14 Juan Pablo Santos * Checked in spanish (es_ES) translation. * Added localization for validateNotNull at InputValidator, one new localizable string in CoreResources: - validate.cantbenull 2007-07-13 Christoph Sauer * checked in missing /com/ecyrd/jspwiki/plugin/PluginResources german translation. [Bug 74] closed. 2007-07-12 Christoph Sauer * 2.5.98 * Added jspwiki.basicAttachmentProvider.disableCache property. It takes a regex that let you define for which filename patterns to disable the browser cache. See more on this in the jspwiki.properties.tmpl comment * Fixed Bug in CreolePageFilter: Two tables seperated by a blank line where rendered as one table * Checked in German localisation for CoreResources 2007-07-12 Janne Jalkanen * 2.5.97 * Changed "validate.unsafechars" i18n pattern to fix a fatal bug with it. Also deleted "validate.invalidid", since it's no longer needed. * Updated Finnish localization (fi). 2007-07-11 Janne Jalkanen * 2.5.96 * Added a bunch of missing localizations, reported by Youheng Hu. New localizable strings in CoreResources are: - security.error.createprofilebeforelogin - security.error.blankpassword - security.error.passwordnomatch - security.error.illegalfullname - security.error.illegalloginname - security.user.loginname - security.user.fullname - security.user.email - validate.unsafechars - validate.invalidemail - validate.invalidid * WikiSession gains getLocale() method, which provides a cached locale object. 2007-07-10 Janne Jalkanen * [BUG 81] Added the _en resource bundles to the JAR build by copying the default bundles in build.xml. No bump, no functionality change. 2007-07-09 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.95 * Stabilising 2.5.94. * Remove editor type selector from CommentContent.jsp * Bugfix on tab switching in the Login and UserPreferences pages * Bugfix: the SIGN shortcut was not working in Edit Assist * Bugfix: typo in commonheader.jsp caused jspwiki-edit.js to be loaded twice * Bugfix: z-index adjusted for More.. menu to satisfy IE editors. * Fixed remaining xhtml issues. (BUG 9) 2007-07-08 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.94 * Cookie handling has been refactored. JSPWikiUserPrefs is now JSON based. Also the height of the edit textarea is 'cookiefied', so jspwiki remembers your prefered height of the editor area. (BUG 67) The RecentSearches memory has been added to the JSPWikiUserPrefs and doesn't require an additional cookie. (less cookie dirt) * Replace all hardcoded references to 'Main' by 'wiki.frontPage' (BUG 42) * Improved the loading of additional Javascript chunks. jspwiki-edit.js is now only loaded with plain.jsp, so no more interference with WikiWizard (BUG 78) * Major refactoring of the 'More...' dropdown menu. It now perfectly runs on Firefox, Opera, Camina, Safari and (i hope ;-) on IE. Plse test test test on IE6 and IE7 and report bugs. The new menu is also XHTML compliant. Many improvements have been done on the remaining XHTML compliancy issues. * The Editor type selector is now moved to the UserPreferences page, instead of the Edit.jsp. Changing the editor type during an edit session was dangerous, as changes to the page are not saved. Now you can set your preferred editor in MyPrefs. * The editor textarea has been boosted with Posteditor (see http://icebeat.bitacoras.com/mootools/posteditor/ for a demo) The textarea now supports the TAB key, smart 'typing pairs' (suchs as () [] {} ) and has some fancy tab-completion of commonly used commands. Try entering toc+TAB to see the effect. The PostEditor is only functional on non-IE browsers, and if Javascript is on. * The Editor assist toolbar provides a set of buttons to assist newbies in entering wiki markup. Supports both non-IE as IE, only if Javascript is on. 2007-07-06 Janne Jalkanen * 2.5.93 * RESOURCE_HTTPHEADER didn't work if adding dates. * AdminBeanManager is now a bit more robust if a bean is already registered. Thanks to Alex Samad for the patch. 2007-07-04 Janne Jalkanen * 2.5.92 * DiffProviders are now localized. Unfortunately, this meant an API change, so WikiEngine.makeDiff() now takes a WikiContext as a parameter. I don't think many people were using it, though, so it's not a major issue. * New localizations in CoreResources-bundle: - diff.traditional.added - diff.traditional.changed - diff.traditional.removed - diff.traditional.oneline - diff.traditional.lines 2007-07-03 Janne Jalkanen * 2.5.91 * There have been loads and loads of fixes to Checkstyle warnings. * Added RESOURE_HTTPHEADER from Alex Samad. Thanks! 2007-06-30 Janne Jalkanen * 2.5.90 * [Bug 71]: Login.jsp is now localized. All localizers, please note that there are three new strings to localize in "templates.default" -bundle: - login.error.capslock - login.error.password - login.error.noaccess * In addition, there are further localization done in top-level JSPs. New strings in CoreResources are: - security.error.noaccess.logged - security.error.noaccess - security.error.wrongip - rename.empty - rename.error.title - rename.error.reason - rename.identical - rename.exists - rename.unknownerror - lostpwd.newpassword.email - lostpwd.newpassword.subject - lostpwd.nouser - lostpwd.nomail - lostpwd.emailed - lostpwd.reset.title - lostpwd.reset.clickhere - lostpwd.reset.login - lostpwd.reset.unable - lostpwd.reset.blurb - lostpwd.reset.submit * Updated English and Finnish localizations (and fixed a couple of sillinesses in the Finnish localization) 2007-06-23 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.89 * Cookie handling has been refactored. JSPWikiUserPrefs is now JSON based. Also the height of the edit textarea is 'cookiefied', so jspwiki remembers your prefered height of the editor area. (BUG 67) * Fixed handling of form focus() logic. JSPWiki now correctly puts the focus on the first visible form element. This also resolves a JS crash on IE. * Some improvement on XHTML compliance (BUG 9) Still some refactoring needed on dropdown menu to improve compliance. * Added UTF8 support to AJAXSearch.jsp 2007-06-18 Janne Jalkanen * 2.5.88 * [Bug 24]: BugReportHandler no longer talks about "bug reports", but pages. Reported by Gregor Hagedorn. 2007-06-16 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.87 * BUG 62 resolved: no sensitve info in LeftMenu during Login. * Fix some SkinName issue relate to the new preferences object. * BUG 52 resolved: Diff.jsp and PageInfo.jsp should not be indexed * TextArea resize bar image. 2007-06-16 Janne Jalkanen * 2.5.86 * [Bug 29], search path is now trim()med properly. Thanks to David Au. * A couple of fixes to warnings courtesy of Alex Samad. * [Bug 12], AM/PM are now correct in preferences. * Created new Preferences object, and refactored some old preferences code from commonheader.jsp into it. This also means that instead of using ${prefTimeZone} you would use ${prefs["TimeZone"]} in your variables. This is far more extensible and future-proof than before. The HttpSession now gets a Preferences object under the name "prefs". There are also some utility methods in the Preferences class which abstract this away. (It's also a lot faster because we do not parse the cookie every single time.) * [Bug 63]: The default eclipse coding style file now has .xml suffix. * Checkstyle config under doc/eclipse also now gains a .xml suffix. 2007-06-14 Janne Jalkanen * 2.5.85 * Bug fix: Bug 58, BreadcrumbsTag.java does not compile under JDK 6 2007-06-13 Janne Jalkanen * 2.5.84 * Bug fix: Bug 8, Multiple spaces in page names are not cleaned 2007-06-11 Janne Jalkanen * Added Finnish localization. No version bump, as there is no functionality change. 2007-06-11 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.83 * Fixed blocking IE javascript bug. 2007-06-11 Christoph Sauer (sauer@hs-heilbronn.de) * 2.5.82 * Added German localisation. * Added missing i18n tags in PageInfo and UserPreferences 2007-06-10 Janne Jalkanen * 2.5.81 * Fixed a couple of localization issues (diff tab was not localized properly). 2007-06-09 Dirk Frederickx (dirk.frederickx@gmail.com) * Several XHTML STRICT compliance issues fixed. 2007-06-09 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.80 * Refactoring of SubmitOnce functionality, such that is doesn't harm when javascript is off. Wiki.SubmitOnce() prevents you from pressing submit buttons multiple times. Editing is now possible (and login etc.) while javascript is off. (ref. http://bugs.jspwiki.org/show_bug.cgi?id=3) * Added experimental GroupTab. * Info tab added to Upload.jsp * Minor missing i18n fixed. Small css fixes 2007-06-09 Janne Jalkanen * 2.5.79 * Fixed minor issue with default template saying "go" instead of "find". * First alpha release of JSPWiki 2.6. 2007-06-09 Andrew Jaquith * 2.5.78 * Even more little fixes to remove Checkstyle issues. 2007-06-09 Janne Jalkanen * 2.5.77 * Refactored EditorIteratorTag; Added editor changes to the UserPreferences. 2007-06-09 Dirk Frederickx (dirk.frederickx@gmail.com) * Info tab is back, now making use of the new tab url parameter. * Stylesheets of the Smart and OrderedList skins have been refactored. * Submit of the quick Navigation menu now defaults back to the advanced Search page. The same applies to clicking the looking-glass icon. * Upgraded to mootools v1.11 2007-06-05 Christoph Sauer (sauer@hs-heilbronn.de) * 2.5.76 * JSPWiki now supports WikiCreole 1.0: Checked in CreoleToJSPWiki renderer plus CreolePageFilter. This will allow users to operate JSPWiki in WikiCreole mixed mode. see http://www.wikicreole.org for more infos about WikiCreole. 2007-06-03 Dirk Frederickx (dirk.frederickx@gmail.com) * Same version * Progress bar fixed to run on Safari or Opera as well. It uses now css style visibility:hidden iso display:none. * Minor css fixes. 2007-06-04 Janne Jalkanen * 2.5.75 * JSON interface now actually checks whether the user has permission to call the methods. This was a relatively major security hole... :-) * Performance optimization to JSONSearch. 2007-06-03 Janne Jalkanen * 2.5.74 * Remaining patches from David to FCK editor support. 2007-06-03 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.73 * In-page Upload Progress Bar has been added based on jsonrpc backend. (i'm not yet 100% sure on the cross browser compatibility - can anybody check this on ie win ?) This replaces the Progress.Popup jsp. * Cookie handling fixed. Bug caused text-area size to be mixed up with font size. * New sort-icons added. Sortable tables have a better visibility now. 2007-06-02 Janne Jalkanen * 2.5.72 * D'oh, David's patch didn't make it completely to CVS. Now it should be there. 2007-06-01 Janne Jalkanen * 2.5.71 * Added UserManager.JSONUserModule * Fixed Admin.jsp such that it can no longer be invoked accidentally (don't expect it to be available in initial alphas). Turn on "jspwiki-x.adminui.enable=true" to see how it works. * Added initial, non-functional user management tab in Admin.jsp. * Added new AjaxWiki object to jspwiki-common.js to simplify AJAX calls (mootools is nice, but their AJAX API is insanely complex). * Added Murray's patch to enable event monitoring. * Added David Au's patch to fix remaining issues in FCK integration. * fckconfig.js: Disabled 'Insert Flash' button. * FCK.jsp: Fixed issue where image attachments would not be displayed when accessing JSPWiki via https. * PluginContent.java: Fixed issue where plugin error messages were appearing in FCK's editor area. * WysiwygEditingRenderer.java: Fixed issue where pagenames were appearing in their URL-encoded format in the href. * XHtmlElementToWikiTranslator.java: Beautify the generated wiki markup by printing a newline character after a linebreak. Fixed issue when generating wiki links with spaces in the pagename. Don't print a extraneous space after a link or an image anymore. * WysiwygEditingRendererTest.java: Added tests for pagenames with spaces. * HtmlStringToWikiTranslatorTest.java: Fixed several unit tests broken by this latest set of changes. 2007-05-30 Andrew Jaquith * 2.5.70 * Many, many little fixes to remove Checkstyle issues. * Removed the two-argument constructor from GroupPrincipal and its associated "wiki" field. This interacted in a very subtle way with LocalPolicy to prevent GroupPrincipal privilege grants from being processed correctly. We concluded that this "feature", while intended to be used with multi-wiki environments, was fatally broken from the start. This change is purely "under the covers" and users will not notice the difference or need to do anything special. * Minor tweaks to SessionMonitor and AuthorizationManager that should slightly reduce memory leak potential. * Introduced a new exception called DecisionRequiredException that denotes when an operation cannot complete because a person must make a decision. It is thrown by WikiEngine.saveText() and UserManager.setProfile(). 2007-05-29 Janne Jalkanen * 2.5.69 * Renamed TEST plugin as Test to be more in line with Java class naming conventions. Updated jspwiki_module.xml to still use TEST as an alias. * Tiny tweaks to some tests, who should now tell you what to do if they cannot connect to a database. 2007-05-29 Andrew Jaquith * 2.5.68 * Fixed a bug in the Ant script that were causing tests to refuse to run sometimes because of an (erroneous) Hypersonic error. * As of this build, we have eliminated the need to sign JSPWiki JARs for 95% of most users' deployments. The only case where you need to sign them, now, is when you wish to create a JVM-wide, consolidated security policy. We have retained an Ant target "signjar" for that purpose. If you are upgrading from an earlier version of JSPWiki and are using a customized policy, however, you MUST MUST MUST remove any "signedBy jspwiki" and "keystore" references, otherwise JSPWiki might act odd. * The container-specific/JVM-wide parts of the Java security policy have been moved to a new file, etc/jspwiki-container.policy. This is NOT bundled into the WAR because it isn't needed there in any event... 2007-05-28 Dirk Frederickx (dirk.frederickx@gmail.com) * SMART skin updated. Few bugfixes 2007-05-27 Janne Jalkanen * 2.5.67 * WeblogPlugin now considers ACLs - if the user does not have view permission on an entry, it's ignored on display. Also refactored the WeblogPlugin slightly to be more legible. * 2.5.66 * Added "url" parameter to TabTag to allow for Javascript-less tabs. * Removed WikiEventManager.WikiEventDelegate.m_client field, as it was not used anywhere. * UploadTemplate.jsp now uses the "url" parameter so that it's not possible to get broken URLs anymore (i.e. it looks just like a regular page view, but the URL says "Upload.jsp"). This would be pretty confusing to an user if you sent the wrong URL in email, and the recipient didn't e.g. have access to Upload.jsp, but did to Wiki.jsp... * Added doc/eclipse/jspwiki-checkstyle Checkstyle Eclipse preferences. * Added patch from Juan Pablo Santos Rodriques to add i18n targets to build.xml. 2007-05-26 Andrew Jaquith * 2.5.65 * Lots of little fixes for bugs FindBugs found. 2007-05-26 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.64 - 4th Brushed Template commit (still more to come) * Font size fixed. Various css enhancements. Skins not yet finished. * Enhanced Find page, including search scope (author, pagename, attachement), and on/off checkbox for find details. Find page is now ajax driven, but also functions properly when javascript is off. * Edit textarea is resizeable, with a cool drag effect. * GoToBottom and GoToTop links have icons instead of >> and << * Refactoring of Collapse and CollapseBox. New icons (+ and -) are being used. * Bugfixes on Tips JSPWiki style * Test Plugin added, to enhance use of JSPWiki variables. EG you can now use [{TEST name="context" match="edit" ...some body... }] for specific content in your leftmenu. More info at http://www.jspwiki.org/wiki/BrushedConditionalPlugin 2007-05-25 Janne Jalkanen * 2.5.63 * Fixed a couple of typos in default template (thanks to Frank Fischer). * Fixed a couple of typos in code (thanks to Murray Altheim). * Fixed HTML editor crashing when editing (thanks to David Au). 2007-05-22 Janne Jalkanen * 2.5.62 * Added CookieAuthenticationLoginModule. This module stores an UID in the user's browser, and automatically logs the user in, if the cookie exists. This can be a security hazard, so it is a good idea to disable it in jspwiki.jaas, if you are worried about local users being able to spoof identities. For this reason, it's by default disabled in jspwiki.jaas * Modified LoginContent.jsp to contain "Remember me?" checkbox. 2007-05-20 Andrew Jaquith * 2.5.61 * Fixed the last of the failing JWebUnit tests. Also added a new one that verifies that profile renaming operations correctly re-set group memberships and page ACLs. 2007-05-20 Janne Jalkanen * 2.5.60 * New, improved SpamFilter with Captcha recognition, if we suspect you to be a spammer. Captcha system is currently based on Microsoft Research's Asirra, though we will probably want to make it pluggable. I have to admit that this required far too much surgery in Edit.jsp to be nothing but a hack, but I have to get it off my hard drive. In addition, commenting does not work, if spam is detected. 2007-05-19 Janne Jalkanen * 2.5.59 * Again, a number of CheckStyle issues fixed. * Switched to new HttpMultipartRequest library (2.00b9) * Added upload progress bar. Unfortunately, it's still kinda kludgy, but we'll try to fix it. The backend stuff works; it's just the UI which looks like a brick of legos built by a two-year old. * New package: com.ecyrd.jspwiki.ui.progress, which manages different kinds of progress systems. 2007-05-14 Dirk Frederickx (dirk.frederickx@gmail.com) * i18n default.properties included, inline with last BrushedTemplate commit 2007-05-11 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.58 - 3nd Brushed Template commit (still more to come) * Quick Navigation box has been refactored and now uses the new RPC-JSON in the backend. Search icon added. * Update of all Editors, including FCK and WikiWizard. (i18n alignment) you can now also use wysiwyg editors in the Comment.jsp. There is still a widht/heigh bug in the combination WikiWizard & FireFox (visible in Comment.jsp) * Font-size is based on the default browser settings. For FF this is pretty large. You can now adjust the font-size in the UserPreferences. * Many bugfixes: e.g cookie handling. 2007-05-13 Janne Jalkanen * Installed "FindBugs" and "Checkstyle", and found about 1500 problems. This update fixes a number of minor code style issues. No functionality changes, therefore no revision bump. 2007-05-11 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.57 - 2nd Brushed Template commit (more to come) * Remove Info tab from all screens, as it causes overload on the wiki server, but also to avoid confusion when similar screens are served from different URLs. The info page has back it own existence, with small optimalisations. * Mootools library upgraded to v1.1, just released * Added code prettifier from Google. (use %%prettify around code blocks) * Several smaller refactorings on jsp's and i18n default.properties The new more-info menu gets replaced by dropdown when browser has javascript on. * Bugfix on numberformat reported by Frank Fisher. See http://www.jspwiki.org/wiki/BugAttachmentAndInfoTabsAreBlank 2007-05-08 Janne Jalkanen * 2.5.56 * Tiny refactorings all over the place; removing unnecessary imports, renaming fields, removing compiler warnings, that sort of stuff. * Removed jmxri.jar and jmxtools.jar from the distro - since we require 1.5 anyway to compile, there's not much point in putting them in here. Most J2EE containers already ship with a JMX implementation anyway. 2007-05-08 Janne Jalkanen * 2.5.55 * Tiny optimization for PageManager, improving the performance for pageExists(String,int), if CachingProvider is in use. This should help considerably in listing page histories. 2007-05-07 Janne Jalkanen * 2.5.54 * Several performance optimizations, including: * Added PermissionFactory, which caches the permissions using a WeakHashMap. Creation of PagePermissions is relatively expensive due to permissions parsing, so this should help a lot. All routines should be using the PermissionFactory.getPagePermission(), if possible. * Refactored AbstractCommand constructor so that it no longer uses String.replaceAll(), which is a very expensive operation due to regular expressions. It's still expensive, but the biggest pain point is now resolved. * InfoTab just lists ReferringPages one deep - three-level deep nesting ended up using something like 30% of all CPU power on a moderately link-heavy page. * Bug fix: if the user updated his account (e.g. by requesting a new password) AND his account was created in the old days when XMLUserDatabase was using platform default formatting for dates, the dates were in different formats, causing XMLUserDatabase to behave irrationally. * ReferredPagesPlugin now allocates a bigger buffer for creating html to avoid allocation overhead. Ditto for TabbedSectionTag. 2007-05-06 Andrew Jaquith * 2.5.53 * Changed the behavior of the UserDatabase and GroupDatabase classes so that the save/delete methods are atomic. Consequently, the commit() methods in these classes are deprecated and will be removed in a future release. The reason for this change is simple: the commit() methods made no sense and were never *not* used. Also, added a new method, rename(), that permits renaming of profile login names. References to commit() were removed from all classes, including test classes. * Recently added status flags for UserCheckTag were moved to UserProfileTag and renamed. The new property values are "canChangePassword" and "canChangeLoginName" and are used in ProfileTab.jsp to selectively display input fields. These properties also allow negation too (e.g., !canChangePassword). * UserManager receives final tweaks to allow profile renaming. Modified ProfileTab.jsp slightly to accommodate this new feature. * Minor de-stringification and anal-retentive i18n tweaks. * Fixed several failing web unit tests. A few still fail, though. 2007-05-05 Janne Jalkanen * 2.5.52 * Fixed TemplateManager.listSkins() so that it returns only directories, not everything. * Added SearchManager.JSONSearch.findPages(), though be warned that it can be really slow. An API change to SearchProvider needs to be done before this can be fixed. * Reformatted ChangeLog to word wrap at column 80 to make it more readable... * A major commit of new Admin.jsp and AdminTemplate.jsp and all the related paraphernalia. It's not yet complete, but the framework is getting there. Due to the use of JMX, JSPWiki now requires JDK 1.5 to compile (though it should happily continue to run under 1.4 as well). 2007-05-03 Dirk Frederickx (dirk.frederickx@gmail.com) * 2.5.51 - Brushed Template incorporated. * Bulk commit of Brushed Template. Expect things to be broken :-) JSPWiki now has a tabbed-user interface, skins, slimbox attach-viewer, improved jspwiki-styles suchs as table-filters, accordions, tips, etc. etc... Look 'n feel is still very ikea like. Read the jspwiki.css to change color scheme. Additional menu items are now visible via a "More...." dropdown. * Javascript is based on the mootools library. * Many JSPs are now driven by JSTL's EL. Not yet 100% completed. * Only plain editor has been updated. No work done yet on WikiWizard, FCK * The JSPWiki template has been tested on safari and FF. Feedback on IE 6.x and 7.x. is appreciated. * RecentChanges plugin now sets colspan correctly. (formatting of recent changes page) * Two skins added: Smart and OrderedList. These skins are not yet tested 100%. 2007-05-01 Andrew Jaquith * Enhancement: checked in back-end code that removes the restriction on changing login names and user names ("full names") after registration. To do this, UserManager emits a new WikiSecurityEvent called PROFILE_NAME_CHANGED that signals when the login name or user name changes. PageManager and GroupManager listen for this event, and will make all appropriate changes to page ACLs and groups that contain the old user name(s). The front-end changes (JSP tweaks) are nearly finished and will be checked in shortly. * Added a new method for AclManager, setPermissions(), that persists Acls. The DefaultAclManager (which extracts Acls from wiki page markup) implements setPermissions() by injecting the [{ALLOW ....}] markup into the wiki page. * Synchronized thread-sensitive methods in the AclImpl/AclEntryImpl class. 2007-04-28 Andrew Jaquith * Enhancement: user profile JSPs no longer request a distinct wiki name when a user registers. The wiki name is now computed automtically; it is the user name without any whitespace. This change should make registration even easier. In the various user manager/database classes, UserProfile/DefaultUserProfile.setWikiName() is hereby deprecated and will be removed in a future release. However, getWikiName() remains, as does the UserDatabase method findByWikiName(). The UserDatabase classes do not change their public APIs, and they still persist WikiNames so that they can be searched. However, when UserManager loads a profile from the UserDatabase, it always re-computes the wiki name. * Tweaked i18n resource file to remove references to "wiki names" in favor of just plain old "names." Typographically correct curly quotes were substituted wherever needed. 2007-04-23 Christoph Sauer * 2.5.48 - Bugfix * Bugfix: NullPointer Exception on initReferenceManager, reason was that it indirectly uses the filterManager -> m_filterManager has to be initialized before. 2007-04-23 Andrew Jaquith * 2.5.47 aka the JavaMail refactoring release * Enhancement: To increase security, MailUtil gains the ability to use container-managed JNDI JavaMail session factories, in addition to the standalone factory configured via jspwiki.properties. JNDI is now the preferred method of obtaining mail sessions, and will always be attempted first before falling back to the stand-alone method. See the JavaDocs for MailUtil. All of MailUtil's internal code, test properties and JavaDocs were also totally refactored. A sample JNDI block for JavaMail was added to web.xml; it is commented out by default. * Enhancement LostPassword.jsp now uses POST for form submission. * Enhancement: Profile registrations now automatically trigger an e-mail confirmation to the user, if an e-mail address was supplied. * Bug fix: page-save workflow does no longer sends rejection SimpleNotifications to users unless they have already authenticated when they save the page. Also, the submitter's authentication status is added as a Fact for the approver to consider. * WorkflowBuilder.buildApprovalWorkflow now interprets a null value for the rejectedMessageKey parameter as meaning "don't send a notification" upon rejection. * MailTest moved to the *.util package, which was where it belonged. 2007-04-22 Janne Jalkanen * 2.5.46 - my birthday release! * PermissionTag now allows a list of permissions just like CheckRequestContextTag, as well as negative permissions. Based on an idea by Dirk Frederickx (whose last name I will learn to spell one of these days). 2007-04-17 Andrew Jaquith * 2.5.45 * Checked in workflow support for user profile creation. Now, new profiles can be routed for approval before they become active. The name of the user, role or group that approves new profiles is contained in jspwiki.properties under the property jspwiki.approver.workflow.createUserProfile. If not supplied (the default), user profiles are created without requiring approval. * UserManager receives a proper unit test, at long last. We test with approval workflows turned on and off. * Minor bug fixes to the Fact and WorkflowBuilder classes. 2007-04-15 Andrew Jaquith * 2.5.44 * Found the b*****d. VariableManager makes an unsafe assumption that WikiContexts will always have an associated request and HttpSession. This isn't always true with a WikiContext passed along in a Workflow, which will come from an earlier point in, and from a potentiallly different, Http session. We now check explictly for the presence of the HttpSession before querying it for wiki variables. 2007-04-15 Andrew Jaquith * 2.5.43 * Many incremental changes to the workflow package to increase ease of use. A new WorkflowBuilder class includes a factory method for composing simple approval workflows. SaveWikiPageWorkflow and the workflow.impl package goes away, and instead the workflow code for saving pages moves to inner classes in PageManager (it is now much smaller because it uses WorkflowBuilder). * Unit tests for the page-save workflow now simulate PageFilter failures so that proper propagation of exceptions is verified. Should help Janne a lot. * Workflow.jsp receives minor UI tweaks, notably the replacement of submit buttons with a JavaScript-driven dropdown. The default.properties localization file receives properties in preparation for the new user profile workflow (not checked in yet, because it isn't debugged). * The UI for approving workflows currently contains a nasty, intermittent NPE that is resisting my best efforts to debug. It usually occurs when selecting the 'approve' option. It results in Decisions being removed from the workflow inbox, and the page does save correctly -- so it is essentially "cosmetic". However, it's ugly and we need to fix it. Assistance is most welcome. * If you are a US citizen, it is that time of year again. Many happy returns. 2007-04-09 Andrew Jaquith * 2.5.42 * Modified the PagePermission implies() algorithm so that the "rename" permission no longer implies "modify" (or "upload"). This will allow separation of uploading attachments from page edit/rename actions. Thanks to Tim Koop for the suggestion. * Added WikiContext.MESSAGE to support workflows and other processes that need to send a non-exception-related UI message in response to user events. Also added a top-level Message.jsp and template. Changed DisplayMessage.jsp slightly to use the tag, which gives us protection against cross-site scripting. * Added 'throws WikiException' to all methods meant to be implemented by workflow subclases: notably Step.start(), Decision.decide(), Workflow.start()/restart(). Now, if these methods encounter exceptions they will abort the workflow and propagate the exceptions to callers. * Many tiny little Javadoc fixes. * Fixed failing PageRenamerTest. 2007-04-10 Janne Jalkanen * 2.5.41 * Added David Au's new set of patches for WYSIWYG editing. * WikiEngine.scanWikiLinks() no longer renders the page; it just parses it. This should provide some speedup at startup. * Changed the default template resource bundle from webdocs/templates/DefaultResources.properties to etc/i18n/templates/default.properties (more logical). * Added class remapping ability. See etc/ini/classmappings.xml and ClassUtil.java for further information. This is not yet a complete feature, but it brings some simple AOP to JSPWiki. * Javascript is now localized. The key-string mappings reside in templates/