================================= Wacintaki Poteto Revision History ================================= ===================================================================== v1.5.2 - July 18, 2010 CHANGES: - Finally fixed broken Chinese Traditional language pack (encoding corruption). - Fixed incorrect count of active members in memberlist. - Mass mail can now send messages only to active members (default setting for activity is 6 months). - Active login status can be changed in hacks file. - Changed log message when filetype errors occur. Occasional errors mean a corrupt upload (client issue). Frequent errors mean there's a problem with the server. - Fixed incorrect "$lang['realname']" entry for English language pack. ===================================================================== v1.5.1 - April 18, 2010 NOTES: - "Modders" don't have to update to the new applet screens. The footer is for free server accounts that require ads. CHANGES: - Upload screen now shows same WIP reminders as Draw screen. - Changed MySQLi database detection. Even if MySQLi is available, it doesn't mean PHP is configured properly to use it. - Fixed undefined MySQLi contants when the extension is not available. - Improved db_result() so it handles the native offset pointer. MySQLi and MySQL should now behave identically. - Fixed dimensions not being checked when uploading files (not the applets). - Updated control panel subtext regarding stored pictures. - Disk space usage on diagnostics page is a bit more accurate. - Added footer to paint applet screens to help people with ad-sponsored hosts. ===================================================================== v1.5.0 - March 4, 2010 KNOWN ISSUES: - Chinese language packs temporarily suspended. Character encoding has become corrupt over the last few versions of Wacintaki and needs to be cleaned up. CHANGES: - New database layer supports updated MySQL 5 authentication (mysqli). MySQL compatibility should now be better in the future. - New database error reporting makes diagnostics and installation easier. Moving towards PostgreSQL support. - Moved regular maintenance into "maint.php". Todo: refactor into a cron manager. - Fixed default password issue with uploader and strict syntax with MySQL 5. - Fixed very strange problem with duplicate names being added to online list if pages are refreshed very quickly, particularly with the mailbox (?!) - Removed some "windows-1252" charset codes from comments (PHP may output garbage even when codes are commented out). - New debug added to paintsave which helps to identify upload issues on servers with bizarre security policies. - JavaScript is no longer needed for pop-up windows (such as the online list). - Language selector will no longer show index files if one is in the language folder. - Fixed two undefined index issues with the avatar editor. - Simplified updater, and fixed a few issues with version detection for 1.3.x updates. FEATURES: - PHP 6 compatible (fixed NiftyToo and short tag support, plus userflag parsing). - New function-based language system improves translation and prevents missing translations. - Language system now supports basic plurals, as well as the singular zero cluase. - Editing old comments now redirects to the correct page/post. - Cleaned up guest IP/Host output so it can be copy/pasted to a text file. - Picture recovery now shows friendlier dates and time remaining until WIP deletion. - Comments now allowed in ban list, to help identify users and reasons for banning. - SQL direct call script makes tech support easier (removable, available to owner only). "U-DO-IT": - For a tool to convert old language files to the new format, check the NineChime products page. - Language usage as follows: Using the new t() function: echo "{$langop_something}\n"; echo ''.t('something')."\n"; The tt() function replaces echo() and short PHP tags: Don't use tt() when concatenating: Substitutions: // 'report_vars' = "There are {1} of type {2} available." t('report_vars', $number, $name); Easily change the order of substitutions in the language files: // 'report_vars' = "Type {2}: {1} available." t('report_vars', $number, $name); Plurals: // {p?x:y} where p is the parameter number, x is singular, and y is plural $lang['something'] = '{1} {1?member:members}' found.'; $lang['something'] = 'There {1?is:are} {1} {1?value:values} found.'; $lang['something'] = 'Set {1} {1?value:values}' on {2} {2?system:systems}'; // Embedding WILL NOT work: $lang['something'] = 'There {1?is {1} value and it is:are {1} values and they are} useless.'; // Simplify sentence structure to avoid gotchas. // Zero can be set to singular in language config (example: French uses singular zero) $lang['cfg_zero_plural'] = 0; ===================================================================== v1.4.3 - September 7, 2009 HOTFIX 1/3/10: - Fix for code that tries to disable magic quotes. Some servers have this disabled when they force magic quotes to be off. CHANGES: - Applet code now disables DirectDraw support with Java. Hopefully, this will fix the zoom, erase, and Bezier curve problems with PaintBBS and ShiPainter. - Fixed admin edits not disabling "Edited On" text when editing pictures (comment edits were fine). - Reducing picture storage now removes more pictures immediately (up to 500 at a time). - Deleting safety saves no longer reduces a member's picture count. - Adjusted for bug in Firefox 3.5 where windows smaller than ~680 pixels will have no scrollbar. Windows are 700px minimum for Mozilla browsers. - Updated the manual. FEATURES: - Default subject line when e-mailing admins. - Finally, the board logs IP addresses properly when people register/login (database updated). ===================================================================== v1.4.2b - July 31, 2009 CHANGES: - Fixed updater having to run after fresh installation. ===================================================================== v1.4.2 - May 5, 2009 HOTFIX 6/4/09: - By request, some of the max values allowed for control panel settings have been increased. CHANGES: - Memberlist now filters out blank results when calculating search totals. - PHP code in notice now limited to owners by default. May be enabled for superadmins (hacks.php file updated). - Reducing the number of pictures stored now requires confirmation. - Fixed new window opening when submitting chat comments. - Post times for current day now added to chat room. - Fixed username escape issue with mass mail. - Fixed missing in comment.php. - "Stupid Name" hack now supports HTML code. - "Special" section of profile viewer now shows admin/general flags more clearly. - Age code now shows birthdays properly (USA Eastern Standard Time only). - Updated multiple files to accommodate new moderator account. - Fixed a few more undefined variables (functions, mailsend). - UTF-8 override added to hacks file. Use with caution, as the paint applets cannot use usernames with UTF-8 characters! FEATURES: - At long last, all post comments now show up on the comment screen. - Lytebox support. It should be easy to switch to Floatbox, Slimbox, or your Lightbox clone of choice. - Profile option to enable/disable Lytebox (requires database update). - New moderator account, most actions logged. Permissions include: Edit picture info Edit comment Delete comment Upload Lock thread Post in locked thread WIP picture (not delete) Adult flag toggle Bump - Draw screen now remembers settings in a web browser cookie. - Window close confirmation helps prevent applets from being closed accidentally. - Templates now rebuild automatically if the template is newer than the CSS (admin logins only). ERRATA: - Added new JNLP Java resource files to help fix new Direct3D slowdown issues with Java 1.6.0_12. Unfortunately, they can cause problems with canvas restoration, and therefore are not being enabled by default. Copy them from the documentation folder to the oekaki folder if you want to use them to speed up Java. ===================================================================== v1.4.1 - August 12, 2008 CHANGES: - Fixed Chibi Paint layers file not always being read into applet with regular image. - Old Chibi Paint layer files will now be removed from the pictures folder if not updated when retouching. - Profile viewer will now hide location and chat information from non-members. - Slight XHTML update for URLs shown in profile viewer. ===================================================================== v1.4.0 - August 2, 2008 CHANGES: - Chat now prints guest IP/host only for admins. - Chat comments limited to 200 characters. - Slight cleanup of code layout in memberlist. - Memberlist now properly encodes web site URLs. - Fixed picture recovery not properly deleting WIP post files. - Changed subject line from nifty2_convert() to w_html_chars() in mailread.php. - Fixed XSS issue with language and template selections. - Fixed url encoding of JavaScript parameter in mailout.php. - Changed HTML filtering in functions to prevent double-encoding of comments. - DB row count added to editpic.php and comment.php. - Fixed missing in editavatar.php. - Fixed missing in niftyusage.php. - Fixed leftover tag in addusr.php. - Cleaned up NiftyToo markup system to handle HTML encoding without breaking URLs. - Corrected anti-spam test to handle/count BBCode links. - Owners can now change profiles without having to change age statement. - Birth year capped to > 1900 || < 3000. - Fixed PaintBBSCallback() issue with noteBBS.php and paintBBS.php. - Minor NoteBBS JavaScript cleanup. - Rearranged order of applets in draw.php and upload.php. - Removed some error masking in paintsave.php to help diagnose GDlib problems with large picture uploads. - Fixed userflag assignment when an admin edits another user's profile. - Increased cutoff in clean_picture_slots() from 10 to 30. - Update to paintsave.php to handle Chibi Paint layers file cleanup (incomplete). - Fixed old bug where picture recovery could not play animations. - Owners may now change permissions of other owners directly in modflags.php (for diagnostic reasons). FEATURES: - The Chibi Paint layers file is now supported, which makes retouching much easier. - Diagnostics screen now shows statistics about pictures folder, including space used. - Board now allows custom background color with thumbnails (in the hacks file) so images with an alpha channel won't be black. - NiftyToo now works more like BBcode, so you can use both '=' and ':'. - NiftyToo now supports quoted, big, and small text, and double brackets. - Chinese simplified language pack fully updated by Kevin (http://3eye.ws/blog/). - Current picture now added to editpic.php. - Save routine now checks for truncated PNG files. ===================================================================== v1.3.14 - July 6, 2008 Hotfix 7/12/08: - Fixed major problem with URL encoding that prevented some people from posting pictures with PaintBBS or ShiPainter. These applets are not compatible with encoded URLs. - Corrected updater so verification of 1.3.12 database completes without printing version conflict error. - Changed memberlist to restrict number of searchable fields in database. - Default sorting in memberlist fixed. - Memberlist now supports sort by e-mail and rank. CHANGES: - Corrected a number of old HTML/CSS compliance issues w/HTML Tidy. - Rewrote all applet parameters to be properly URL/HTML encoded. - Fixed excess table tags and missing alt attributes in profile viewer. - Fixed table parsing bugs in memberlist, mailbox, and mailout. - Fixed longstanding encoding bug with canvas imports and public retouch. - Added more bad characters to the badChars() filter. - E-mail address and URL filters integrated into w_gcp(). - Removed logging of empty functions.php requests. - Closed several XSS attacks. The code is now pretty clean, thanks to the XHTML rewrite. - Size cap for comments and titles, so pages won't break. Needs to be expanded. - Stand-alone scripts (which do not use header.php) now set charset server headers. - Fixed log issue when archiving pictures. - Spam link count marker changed from "h://" to "://" to allow for video links and SSL. - Updated the manual and readme files. Fixed some links, added Chibi Paint info. FEATURES: - Chibi Paint support! Yes, a new applet! Caution: some people are having trouble when using JTablet with Chibi Paint. - Wacintaki is now XHTML Transitional, so Lightbox/Slimbox mods are supported. - Purge button added to View Pending list. - Confirmation when deleting comments on index page. - Hacks override for comment delete dialog. ===================================================================== v1.3.13 - June 8, 2008 CHANGES: - Started converting board to be PHP6 compatible. - Draw screen shows proper default dimensions with custom canvas previews. - Header now shows current artist being searched (previously omitted as an interface feature). - w_exit() wrapper for exit() closes database if open. - Log now tracks self-bumps on retouch. - Added more testing for troublesome passwords when editing profiles. - Removed old PHP "MAX_FILE_SIZE" flag from animation uploader, since it is a global flag and doesn't really do anything. - Fixed some HTML encoding issues with the pending registration list, memberlist, and profile viewer. - Updated the Wacintaki manual with some new info and clarifications. - Verified updater to handle Wax 5.6.0 updates to Wacintaki. Wax and Wacintaki now have identical config/db/hacks resources. - Fixed artist and sort encoding when using drop-down menus. - Closed several XSS attacks. - Removed logging of empty functions.php requests. - Removed new_chat system. New browsers won't work with it anymore due to HTML parsing issues. ===================================================================== v1.3.12 - May 5, 2008 CHANGES: - New hacks.php file (still 1.2.0 compatible). - Picture upload now works properly with multiple WIPs. - Picture count now works correctly when deleting WIPs. - Adjusted humanity test so first option (the default) will never be the correct answer. - Corrected JavaScript error with Maximize applet (no CSS units). - Small change to "comment.php" to allow control over how many smilies are displayed. - Updater cleaned up, fixed a very old version detection bug. - Updated error reporting when trying to post a comment on a picture that does not exist. - Updated ban code to ignore hosts file if host lookup fails or is disabled. - Improved reminders when members have more than one WIP saved. - Confirmation for install and update script removal. - Changed variable reference usage in common.php and paintsave.php. - Fixed cookie corruption issue when changing password in profile editor. - Finally fixed the "new window" code so pop-ups have toolbars, since Firefox's tabbed browsing feature causes flow issues. - Changed cookie/login handling in paint capture code (again) to help prevent PHP errors from interfering with return codes for applets. - Members may now upload animations if they have animation access. Previously, only admins could upload animations. - 404 returned when posting comment on non-existent picture to help kick spambots. - Updated the Wacintaki manual to cover new features. - Updated the .htaccess file to include short tag support. FEATURES: - New resize buttons on paint screens allow applets to be bigger than the screen. - Admins may now edit member profiles and avatars via the Modify Permissions menu, and the profile viewer. - Profile option to hide e-mail. - Profile option to disable smilies. - New logging system tracks system/admin/member activity, including deletes, edits, bumps, archives, and more. - Registration form now enforces age declaration. - Minimum age for adult browsing is now adjustable in hacks.php file. Default is still 18. - Registrations may now be rejected without sending rejection e-mail (anti-spam measure). ===================================================================== v1.3.11 - January 2, 2008 NOTES: - "Modders" don't have to update to the new header.php or footer.php. CHANGES: - Adjusted orphaned file cleanup in updater for better accuracy with JPEGs. - Forced registration will now login properly before redirecting to profile editor. - "Time invested" on upload screen now allows values higher than just 3 hours (bug). - Updated credits in footer to correct a spelling error. - Corrected some variable scope issues with noteBBS.js. - 1.3.8b: header.php now uses updated JavaScript