PDA

View Full Version : LIST OF FIXES IN 2.02


Pekka
11th of December 2006 (Mon), 20:12
It's now 4 am here and 2.02 is ready but I want to check the files in the package couple of times when awake so you will have it tomorrow. Meanwhile here is the list of fixes in 2.02.

Misc stuff:
- fixed mysql error reporting's source names in multiple files.
- deleted folder admin/output and all in it.
- changed performance storage rows to float.
- deleted ee_commerce/required -folder.
- EE Commerce bugs fixed.
- copied x.gif from /graphs to admin/graphs folder.
- in path editor highlighted ftp server OFF to make it easier to understand its significance (i.e. something needs attention).
- lots of changes to "retrieve photo sizes" functions, speed and layout. Now usable with tens of thousands of photos.
- upload page refreshing made more robust.
- removed public side http header cache control alltogether. This might fix the problem with IE6 disappearing thumb problem, it definitely fixes occasional random login cookie loss in IE7 (IE7 team has confessed that http header related problem in their site).

admin/SCRIPT_system_check.php
- added a check to see index.php exists in UPLOAD folder and a check that "SCRIPT_reset_username_and_pass.php exists" does not exists in admin folder.

admin/EDITOR_report.php (User breakdown)
- added command to clear invalid hanging sessions: "Clear all sessions which have exceeded user's maximum inactivity time."

admin/RESIZE_gd.php
- fixed png transparency in 8 and 24 bit watermark, jpeg (nontransparent) supported as watermark image.

admin/EDITOR_preview_gd.php
- fixed png transparency in 8 and 24 bit watermark, jpeg (nontransparent) supported as watermark image.

admin/EDITOR_category.php
- added editor display sorting choice.

admin/EDITOR_ftp_servers.php
- fixed PHP Module passive mode tick box bug.

basecode/SCRIPT_settings_global.php
- HTTP address to gallery autofixed (trailing slash, scheme).

basecode/SCRIPT_guestbook.php
- fixed comment submit interval problem (time check stored and compared using Mysql server time only).
- added homepage url cleaner/fixer.

basecode/SCRIPT_comments.php
- fixed comment submit interval problem (time check stored and compared using Mysql server time only).
- added homepage url cleaner/fixer.
- fixed missing html anchor.

outputstyles/infocard.php
- fixed keyword display problem.

basecode/SETUP_settings.php
- setting $s_remove_xhtml_multispaces removed as troublesome and not really useful at all (memory usage vs. real value ratio bad, most servers have gzip).

basecode/FTP_ee_library.php
- fixed upload block mode bugs.

admin/PHOTODATA_datahandler.php
- reversed shutter speed xmp/exif order.
- added conversion from decimal shutter speeds to closest conventional fractional representation.

admin/SCRIPT_editor_functions.php
- ee_extract_xmp_data function improved by DavidW.

empty.php
- acts now as a working example of custom page.

Multiple files (almost all files):
- major change in slash handling. Immunity to "magic_quotes_sybase = on" setting, Magic Quotes do not have any effect. This fixes also many "can not save form X" bugs. Note for programmers: all addslashes(), stripslashes() and ee_stripslashes() are removed and not to be used anywhere. ee_addslashes() must be used for SQL query variable items.

basecode/SCRIPT_photodetails.php
- fixed linefeeds to validate in xhtml (reported by Jeronimo).

admin/EDITOR_report.php
- fixed reported spelling errors.

REMOVED FILE admin/RESIZE_imagick.php
- not used at all: removed.

admin/EDITOR_resize_methods.php
- fixed reported spelling errors.
- added watermark header info to GD.

basecode/SETUP_settings.php
- added settings:

$s_index_exhibition_max_thumbsize_width = "130";
$s_index_exhibition_max_thumbsize_height = "130";

$s_index_exhibition_max_microthumbsize_width = "45";
$s_index_exhibition_max_microthumbsize_height = "45";

$s_index_group_max_thumbsize_width = "130";
$s_index_group_max_thumbsize_height = "130";

$s_index_group_max_microthumbsize_width = "45";
$s_index_group_max_microthumbsize_height = "45";

Added -strip command to Imagemagick server setup
- kudos to DavidW for the tip

admin/SECURITY_check_authorization.php
- added cookie delete when no match, to prevent $ee_ident change mess with login so that manual cookie delete was required before relogin.

admin/SCRIPT_exhibition_breakdown.php
- added exhibition owner info.
- considerable listing speedup.

viewerstyles/VIEWERSTYLE_ftp_retrieve.php
- fixed bug: leftover debug print commands.
- fixed several bugs, now not available image is shown correctly in ftp unavailable, cleanup is not done if ftp unavailable, both ftp engines supported, etc.

admin/EDITOR_styles.php
- fixed a bug: save global style reseted editor style selection.
- fixed a bug: guestbook_layout link pointed to wrong file.

basecode/SCRIPT_indexfunctions.php
- fixed indexpage "ghost thumbnail".
- popular thumbs selection is now "selection of best rated photos from exhibitions in this group" and works that way.
- all group thumb choices' amount logic works as: "chosen photos picked from all exhibitions in this group, then list is randomized and required number shown".

EDITOR_settings_indexpage.php
- removed commented code which caused display corruption.

SCRIPT_system_check.php
- fixed a typo "must be 4.10 or greater" -> "must be 4.1.0 or greater".

EDITOR_workflow.php
- added workflow id validity checker (transparent, no separate command).

stylesheet.php
- improved style tag removal code (thanks to DavidW for regexp help).

admin/EDITOR_camera.php & basecode/SCRIPT_camera.php
- fixed empty output in specs form (thanks wkitty42).

added/fixed default templates

- fixed owner position:
/templates/pages/ee_2_default/exhibition/embedded/default_XHTML_content.php

alternative: exhibitions displayed by row:
/templates/pages/ee_2_default/exhibition/embedded/default_XHTML_content_horsort.php

alternative: sizemenu dropdown instead of frame text:
/templates/pages/ee_2_default/photo/default_XHTML_content_sizemenu.php
/templates/pages/ee_2_default_UDM/photo/default_XHTML_content_sizemenu.php

added demo content:
\templates\pages\ee_2_default\custom
\templates\pages\ee_2_default_UDM\custom


photo.php
- added ee_css_select_size_field CSS class in $sizemenu_html.


all font templates.
- added global CSS class

.ee_css_select_size_field {
font-family: <?php print $font_family; ?>;
font-size: 11px;
}


templates/colors/dark_green.php
- added global CSS class

.ee_css_select_size_field {
color: #ffffff;
background-color: #413a54;
padding: 0px;
margin: 0px;
border-top: 1px solid #5a5772;
border-left: 1px solid #5a5772;
border-right: 0px solid #666666;
border-bottom: 1px solid #333333;
}


templates/colors/white.php
- added global CSS class

.ee_css_select_size_field {
color: #666666;
background-color: #f3f2ed;
padding: 0px;
margin: 0px;
border-top: 1px solid #<?php print ee_hexcolorshifter("f3f2ed",".8"); ?>;
border-left: 1px solid #<?php print ee_hexcolorshifter("f3f2ed",".96"); ?>;
border-right: 0px solid #<?php print ee_hexcolorshifter("f3f2ed",".9"); ?>;
border-bottom: 1px solid #<?php print ee_hexcolorshifter("f3f2ed",".9"); ?>;
}


basecode/SCRIPT_common_functions.php
- spelling error in input_eecommerceform function.
- fixed html special character printing in function ee_print_thumbs.


upgrade/upgrade.php
- fixed problems with MySQL 4 or older compatibility.

Pekka
12th of December 2006 (Tue), 18:17
Package can be downloaded from http://photography-on-the.net/forum/showthread.php?p=2391208#post2391208