############################################### ### ### ### LinPHA 1.0RC2 RELEASE! ### ### ### ############################################### 2005-07-09 bzrudi71 * build_general_config.php: don't show exif/iptc advance settings if disabled global (cleanup) 2005-07-07 bzrudi71 * [ 1232329 ] User mod requires old password and blanks new password --> FIXED! + split into basic account options and a seperate page for changing password. So there is no need to type old and new password for just changing the email address ;-) * [ 1222595 ] Error in select image (stats page) --> FIXED 2005-07-06 bzrudi71 * /docs/*: prepared for RC2 release * /lang/lang.Swedish.php: updated, thanks to Marcus Jaensson * db_api.php: fixed bug with image decription permission setting. (at least with PostgreSQL) * img_view.class.php: fixed some layout issues in commenting system * other.php: fixed bug not highlighting (selected) categories in comment section + fixed bug, categories not working with PostgreSQL * store_comment.php/submit_mod_data.php: fixed bug in blacklist which causes all keywords to be deleted if blacklist was disabled... 2005-07-03 flo * fixed some bugs introduced with switch to group id: - forgot to update folder permissiosn (thanks to bastian) 2005-06-29 flo * fixed bug where admin menu not available during new install 2005-06-26 flo * bug "image descriptions aren't updated on rotating images" fixed 2005-06-24 flo * fixed some bugs introduced with switch to group id: - admin menu not available - error messages in img view 2005-06-24 bzrudi71 * upgrade.php/metadata.class.php/forth_stage_install.php: Added missing INDEX on md5sum in table *_meta_exif (thanks to anonymous ;-)) 2005-06-23 flo * improved edit group members, user memberships feature * don't use group names anymore, but group ids * moved all $_SESSION['user_level'] to in_group('admin') * [ linphga-bugs-1222595 ] Error in select image (stats page) --- fixed 2005-06-21 bzrudi71 * Implemeted new SPAM protection for guestbook and comments based on a blacklist. Blacklist is easy to maintain for both, comments and guestbook section. Enabled by default. 2005-06-20 flo * removed album based permissions in build_perm.php as it is absolutely useless... 2005-06-17 bzrudi71 * Changed image comments field from VARCHAR to TEXT to remove 255 chars limit. NOTE: only updates for mysql DB's will take place, as there is no easy way to make things work for Postgres and Sqlite. But changed it in forth_stage_install.php to be the default for all databases... 2005-06-15 flo * added an additional check for the permission entries and will create them on the fly if some are missingu * upgrade.php: UPDATE ".PREFIX."photos SET level=0 WHERE level is null * permission framework: added additional checks to prevent notices * done most language entries 2005-06-14 flo * added .cvsignore and albums/.cvsignore 2005-06-14 bzrudi71 * [ 1220048 ] SQL error (comments section) --> FIXED! 2005-06-13 flo * remove "(exif)" in description field * exif: add jpeg_comment field and show that entry instead of user_comment * fixed level=0,level=1,level=null bug 2005-06-04 bzrudi71 * upgrade.php: removed all updates for beta3 -> RC1 * Documentation: started outsourcing to DocManager * /docs: removed now obsolete files * img_view.class.php: added set max_length=255 in description field and removed it from the comments area (as we plan to make it text rather than varchar field) 2005-05-17 bzrudi71 * Documentation: added info about search keywords (info button search.php) 2005-05-11 flo * started with adding column jpegcomment to the exif table (on sqlite we cannot use ALTER, we have to: 1. create a temporary table 2. copy the original table into the temporary table 3. delete the original 4. recreate the original with new column definitions 5. copy the contents back 6. delete the temporary table .....) 2005-05-12 bzrudi71 * new option to search for duplicate images in collection (thumbnails EXIF/IPTC) 2005-05-11 bzrudi71 * [ 1196958 ] Plugin: SQL warnings fixed (thanks to quixy) * search.php: removed notice when searching by EXIF date * plugins/plugins.php: make DB Management avail for mysql DB's only, e.g. hide plugin when running PgSQL or SQLite as it's MySQL only... * viewer.php: workarround in random subfolder image query, level IS NULL for MySQL and SQLite, level ='0' for PgSQL... 2005-05-10 flo * show nice error image if image cache directory isn't writable * static link: allow access of image directly with &img=test.jpg parameter and add &pn parameter 2005-05-09 flo * fixed bug in search with magicquotes * fixed bug in adodb cache mentioned in patch "[ 1192656 ] mkdir fix when calling guest book" * viewer.php/other.php allow access like viewer.php?album=albums/holiday and create menu entry "create static link" * show something during batch create of cached images * statistics: elements in cache in percent: only with default resolution to prevent > 100% moved cache stats part from cache.php and build_stats.php as a new function to func.cache.php * add description/add category available in permission framework 2005-04-24 flo * fixed bug with random thumbnail on subfolders mentioned in bug [ 1180737 ] * if subfolder is empty or thumbnails not yet created, don't show "latest image: 1.1.1970" + show nothing instead 2005-04-20 flo * get_thumbs_on_fly.php: fixed bug with different database timestamp + in future use only unix timestamp...! 2005-04-18 flo * build_stats.php: fixed division by zero bug * mailing list plugin: + allow admins to add manually email adresses to the mailing list plugin + added button to add all linpha users to the mailing list (automatically sort out duplicate entries) * forth_stage_install.php: fixed bug with permission framework: + used wrong table ('linpha_' instead of PREFIX) * replaced all addslashes() with linpha_addslashes() except the files adodb/drivers/adodb-postgres64.inc.php and plugins/ftp/index.php + other.php: new function linpha_addslashes() escape on sqlite with ' and not with \ + include/phpmeta/Unicode.php smart_htmlspecialchars() added QUOTES funcionalities (they are needed by sqlite) 2005-04-11 bzrudi71 * Removed all html_entity_decode() in store/delete_comment.php and rotate.php. We do not need this function at all... 2005-04-10 flo * [ linphga-bugs-1179752 ] Error while getting EXIF data in administration --- fixed * search.php fixed bug with prev/next buttons * db_api.php "Notice: Undefined offset: 1 in db_api.php on line 1429" removed for some strang reasons if a table column is null $data has no entry in it at all ############################################### ### ### ### LinPHA 1.0RC1 RELEASE! ### ### ### ############################################### 2005-04-09 bzrudi71 * tagged LinPHA 1.0RC1 :-)) 2005-04-07 bzrudi71 * rotate.php: replaced PHP's html_entity_decode() due new function: remove_htmlentities() for backward compatibility. (html_entity_decode() requires PHP >= 4.3.0 ) 2005-04-04 bzrudi71 * search.php: added info button for EXIF/IPTC (admin mode only, as it's not of interest for any user ;-)) * db_api.php: bugfix! level was "null" instead of "0" in linpha_photos due unset $special_file var. So query for random images in subfolders failed (...AND level <> '0') 2005-04-02 flo * bug fix: db_api.php: update level in linpha_photos during directory update and not while creating thumbnails as exif needs correct level * bug fix: no double inserts of exif data through admin menu * bug fix: metadata.class.php: on mysql 3.x we got an undefined index if exif tags are empty... strange... 2005-04-01 bzrudi71 * upgrade.php/forth_stage_install.php: *major* speed improvements due add of missing indexes on some tables. Also droped some not necesarry indexes which may slowdown the whole thing ;-) Done for MySQL and PostgreSQL, maybe will have a look for SQLite later... (LinPHA is up to 10 times faster (and more) now on most operations) TODO: test installation for MySQL and Postgres... 2005-04-01 flo * adodb/adodb-sqlite.inc.php, forth_stage_install.php use TOP_DIR for open sqlite db instead of workaround with getcwd() as it didn't worked correctly under windows * docs/update.html|txt updated * plugins/ftp/index.php added info in filemanagement section that the images can be uploaded with ftp too 2005-03-31 flo * upgrade.php: remove config entries anon_download anonymous_post printing anon_album_downloads anon_mail_mode 2005-03-31 bzrudi71 * adodb-sqlite.inc.php: fixed windows related bug 2005-03-30 flo * third/forth_stage_install.php: removed not needed fields for sqlite * fixeg bug "ignored files/ext showed in forth level" (db_api.php) * readded danish language file from corrupted files thanks to Klaus Vink Slott and Tage Madsen (https://sourceforge.net/forum/message.php?msg_id=3051655) 2005-03-30 bzrudi71 * Updated all install/update docs to RC1 release * upgrade.php: changed URL for version check 2005-03-29 bzrudi71 * create_all_thumbs.php: fixed broken recreate of exif/iptc data when using sqlite * cronOthumb.php: prevent recreate of iptc/exif data 2005-03-26 bzrudi71 * metadata.class.php: finally managed to make it work with sqlite. Using sqlite it's not enough to just escpape "'" (singlequotes) using "\'" :-( Works for all other DBs but for sqlite. To make it work all single quotes are removed from exif values... This time I found no more sqlite related errors, so we can add it to RC1 2005-03-25 bzrudi71 * submit_new_data.php: made work with sqlite * forth_stage_install.php: fixed sqlite bug which prevents creating of linpha_groups table default entries (admin/friend...) * other.php: fixed bug where fetchRow() misses ADODB_FETCH_ASSOC in build_album_select() + removed warnings * create_cached_images.php: fixed sqlite related timestamp bug * cache/cache.php + watermark/update_settings.php: bugfix! redirect to image cache plugin, rather than watermark plugin if we call delete_all_cached_images() from image cache plugin. * sec_stage_install.php: made SQLite active. Seems to work (beside the exif storage stuff :-( !! HELP ME !! no more ideas ;-)) Tested with PHP4.x and 5.x (Sqlite 2.8.2) * forth_stage_install.php: fixed bug in sqlite tables not autoincrementing some primary keys... 2005-03-24 bzrudi71 * log.php: language entries * other.php: marked function get_timestamp_from_sqldate($date) obsolete due use of $timestamp = $GLOBALS['db']->UnixTimeStamp(datevalue); which should be even more portable. Affects: img_view.class.php / other.php (itself) + fixed sqlite related bug in build_javascript_menu() * viewer.php: speedups and use of $GLOBALS['db']->UnixTimeStamp($result[0]); to get unixtimestamp from db (no longer use mktime) * db_api.php: more speed improvements * mailing.php: added language translation array to make PHPMailer make use of the right language files. (e.g. LinPHA language file naming convention lang.English.php is translated to 'en' for all supported languages) * adodb-sqlite.inc.php: new workarround to make mailing lists work 2005-03-22 bzrudi71 * db_api.php: replaced all DBTimeStamp('date') querys due UnixTimeStamp() as it seems that the return value is not a 'real' UnixTime. This should fix: [ 1168164 ] All pictures are in folder "new images" but requires more testing! (e.g. add/delete/move images) + made "new_images" folder work with all databases * plugins/log/update_setting.php: removed PRIMARY for time value in linpha_log. (causes errors as it's unique and if we write some errors in just a single second) + cleanups and made work with sqlite * forth_stage_install.php: prevent warnings when reinstalling (cache/adocache/tmp dir already exists...) * viewer.php: thanks to xdebug I finally managed to speedup show_subfolders() arround 20-30%!!. (Guess we should have a look for more "slow querys" using xdebug once everything is working as expected) * create_all_thumbs.php: sqlite workarround * metadata.class.php: new function cleansql()! escape sql exif strings using regular expressions. sqlite still fails for some reasons :-( 2005-03-18 bzrudi71 * db_api.php: cleanups + small fixes * adodb-sqlite.inc.php: improved include handling to make plugins work * metadata_class.php: take care of sqlite during exif table create * forth_stage_install.php: generate random name for sqlite db file (security) 2005-03-18 vytautas * Fix online counter not deleting old entries - caused by date handling changes 2005-03-17 bzrudi71 * forth_stage_install.php: added missing 'marked_ignored' column to meta_iptc for all db types... * Fixed a couple of issues introduced due use of ADODB_FETCH_NUM instead of ADODB_FETCH ASSOC. Reverted back, to make use of ASSOC, but this requires change of selects with given table name, e.g. "p.md5sum" must be selected as "p.md5sum AS md5sum" because sqlite returns p.md5sum instead of md5sum, which indeed fails ;-) Most things should work again, not working so far: - counter - "new_images" for postgres - exif data storage in sqlite 2005-03-12 bzrudi71 * Major changes in date and time handling for most querys. This is necesarry to get sqlite working some day. (Yet I already get thumbs and images but also a couple of warnings and notices using sqlite ;-) As this change concerns most of date handling in many files PLEASE have a look for issues related to date operations like counter, photocache, adding and removing images and folders! So here are the common changes: + no need to make a difference between PostgreSQL and MySQL e.g. Till now we used to query date and time (UNIX TIME) this way: if(DB_TYPE=="mysql"){ $rec_time=$GLOBALS['db']->Execute("SELECT UNIX_TIMESTAMP(date) FROM ".PREFIX."photos WHERE name='".addslashes($name)."' AND prev_path='".addslashes($prev_path)."' ORDER BY date DESC"); }else{ $rec_time=$GLOBALS['db']->Execute("SELECT EXTRACT(EPOCH FROM date) FROM ".PREFIX."photos WHERE name='".addslashes($name)."' AND prev_path='".addslashes($prev_path)."' ORDER BY date DESC"); } This is obsolete due use of ADOdb Date functions, new way of date handling: $timestamp = $GLOBALS['db']->DBTimeStamp('date'); $rec_time = $GLOBALS['db']->Execute("SELECT ".$timestamp." FROM ".PREFIX."photos WHERE name='".addslashes($name)."' AND prev_path='".addslashes($prev_path)."' ORDER BY date DESC"); $db_time=$rec_time->FetchRow(); This should work for all DBs. Please remember that there must be no extra quotes for $timestamp, as DBTimeStamp('date') itself returns quoted! For inserts/updates please use the following: $timestamp = $GLOBALS['db']->DBTimeStamp(time()); no longer use NOW()!! * Sqlite is still disabled during install for now, but I'm pretty sure we can get it working in a timely mannor (like to see it in 1.0 final ;-)) 2005-03-07 bzrudi71 * search.php: fixed problem with iptc check "all" button, not respecting the correct number of defined $iptc_search_tags, as it uses $exif_search_tags ;-) 2005-03-06 bzrudi71 * Finished Help stuff (hopefully) * Added cronOthumb.php to CVS to make it easier to maintain and to make sure it won't get lost ;-) (will not be included in stable releases!) * metadata.class.php/metadata.config.php: improvements in IPTC handling and display * other.php: cut_overloaded_strings() made function more intelligent for example: split "hi blala lasdlaslslslslslslsls blalba" into "hi blala lasdlaslsls... blalba" 2005-03-05 bzrudi71 * lang.Czech.php: merged latest updates from petr janecek, thanks alot! * provided new create_all_thumbs script (cronOthumb.php) for cron use (LinPHA FAQ and docu section) requires RC1 or later 2005-03-03 bzrudi71 * build_thumbnail_conf.php: did all lang entries + help * /docs/lang/: Tons of help entry updates and rewrites * build_stats.php: [ 1154969 ] latest comments page should be linkified to images --> DONE! 2005-03-03 vytautas * New Files: phpmailer language files added to /lang * mailing.php: use the phpmailer language files to make any errors more readable. 2005-03-01 vytautas * mailing.php: converted to use phpmailer as the mailing agent also converted plain text to utf8 for international character support. For the list of todos on this plugin see the actual file. * New Files: class.phpmailer.php and class.smtp.php to provide support for the mailing list plugin and possibly later for other functions such as emailing images. 2005-02-28 bzrudi71 * other.php: fixed bug in javascript menu. Edit/delete album comment did not appear in menu, if adodb_cacheing was enabled. * build_general_config.php: (features section) new option to disable LinPHA update check. + update.php: write_config('update_notice','1'); * added some missing help entries (still some missing ;-)) * /actions/build_other.php: renamed to build_thumbnail_conf.php * marked langfiles lang.Danish.php, lang.zh-cn.php and lang.BrazilianPortugese.php currupted, as the language autodetection makes it impossible for users to even install LinPHA cleanly :-( renamed all corrupted.lang.xyz.php so they do no longer appear as availaible languages in selects and during install until fixed. * lang.xyz.php: renamed "Other Options" -> "Thumbnails EXIF/IPTC" (only for languages I'm sure not to destroy the encoding ;-)) * build_general_conf.php: cleanup! provide new single select instead of 2 single config option to set the behaviour off the next/previous button in viewer.php. Removed: "Enable/Disable prev/next mini images as full thumb..." option + drop existing config entries from db (cleanup) + language entries updated/removed 2005-02-27 bzrudi71 * create_all_thumbs.php: do no longer start iptc create over and over again + minor fixes * metadata.class.php: saveIptcData() stores now md5sum for every file, even if it does not contain any IPTC data to prevent recreate each time... * img_view.class.php: improved iptc data handling * upgrade.php: alter table meta_iptc (add marked_ignored) * /phpmeta/Edit_File_Info.php + Edit_File_Info_Example.php + Write_File_Info.php removed for security reasons. Content moved to metadata_editor.php as it's required once we support iptc editing. (not used yet!) 2005-02-27 flo * don't show exif thumbnail and removed files get_*_thumb.php (security) * fixed bug in search, where search returns no results when using new "all" button for IPTC. Works when single options are checked. (may also apply to EXIF search !?) * fixed bug in basket_check_permissions(), needed reset($_POST['img_id']); 2005-02-26 flo * image.php: fixed bug with special video files * other.php: fixed bug in basket_check_permissions() 2005-02-26 bzrudi71 * create_all_thumbs.php: fixed progress info in percentage display + new silent mode (e.g. do not print info for all files progressed. Just show progress in steps of 5%. (no longer blow up browser with 12000 + lines of output if create/recreate 4000+ thumbs and iptc/exif data :-)) * build_other.php: new silent option (checkbox) * TODO: language entries + remove "This is probably not a..." in silent mode 2005-02-25 bzrudi71 * metadata.class.php/img_view.class.php: fixed (hopefully) anoying bug with the less/more/all/exif/iptc info links in viewer.php (this one costs me 3 days of my life ;-)) 2005-02-24 bzrudi71 * sec_stage_install.php: added check for jpeg support in GD if no convert is available + language entries ([ 1145812 ] 1.8+ GD is required) * [ 1150082 ] corrupted downloaded archives -- FIXED (thanks to Techwolf) * create_all_thumbs.php: added progress info in percent + bugfix, see below * /plugins/cache/func.cache.php: fixed bug causing recreate directories to fail in create_all_thumbs.php due function photo_cache_cleanup_by_date() (at least under postgres due wrong timestamp format in query) 2005-02-23 flo * search.php: added "all" buttons for exif and iptc * edit_watermark.php, update_settings.php: fixed bug example image and quality couldn't be changed * sec_stage_install.php: show all db select even if there are not supported by current php config -> the user knows that linpha would support this db type * build_other.php: improved language entries 2005-02-22 flo * /docs/FILES_TO_KEEP: updated * /adodb/adodb-errorhandler.inc.php: do not outcomment "echo $s.'
';" 2005-02-21 bzrudi71 * /docs/FILES_TO_KEEP: new file! contains a list of modified files from 3'rd party software. So we should not overwrite them when udating ;-) 2005-02-19 bzrudi71 * metadata_editor.php: bugfix! added missing $_GET to md5sum var check 2005-02-18 bzrudi71 * img_view.class.php: fixed problem with broken description string in comments page (string was cut when using quotes) * metadata_config.php: added 'keywords' to the list of available search fields * submit_general_changes.php: bugfix! when trying to save settings with disabled "new images" feature, we got an error due unset showNewImagesFolderDays var... * upgrade.php: update 977 -> DROP TABLE IF EXISTS ".PREFIX."exif_data + update 978 -> DROP TABLE IF EXISTS ".PREFIX."facetmap (prevent trouble once we start implementing facetmap, better start from scratch ;-)) * metadata_editor.php: improved security and cleanups * metadata.config.php: new function translateIptcSearchTags() used in search.php and metadata.class.php to convert IPTC tags to human readable format. (e.g. caption_writer is now displayed as Caption Writer) * search.php: make use of translateIptcSearchTags() now + minor layout changes * metadata.class.php: make use of translateIptcSearchTags() now 2005-02-18 vytautas * [ 1009539 ] Messing up of special chars in db --> FIXED * Fixed a problem with double encoding of special chars in various options used a function from the phpmeta\Unicode.php to apply this fix. 2005-02-17 bzrudi71 * create_all_thumbs.php: fixed bug with recreate of IPTC data ($_POST['exif] was used as recreate argument ;-)) 2005-02-17 vytautas * adodb_errorhandler.inc.php: fix a bug that could potentially stop sessions (including image display) from working. 2005-02-16 bzrudi71 * sec_stage_install.php: removed all checks for PHP included EXIF support * /include/read_exif.php: removed, now obsolete * adodb_errorhandler.inc.php: made use of cut_string() instead of cut_overloaded_strings() as it's faster and works better... 2005-02-14 bzrudi71 * [ 1118333 ] exif_data not created (cvs) --> FIXED * rotate.php: changed exif table name in query (linpha_meta_exif instead of linpha_exif_data) Thanks to dayv! * db_api.php: removed now obsolete function store_exif_data() * /plugins/exifer: removed obsolete exifer directory and all files to make sure we make use of the new phpmeta in all places ;-) * /include/phpmeta/index.php: moved to /include/metadata_editor.php as we need DB access to once support IPTC editing. + changed jpeg_fname GET value to make use of md5sum instead (security) + some minor cleanups * include/metadata.class.php: make use of metadata_editor.php + addslashes for IPTC values to prevent query error (thanks Vytautas!) 2005-02-13 bzrudi71 * upgrade.php: cleanups and made it ready for RC1 2005-02-13 flo * added slideshow button in advanced options menu 2005-02-11 bzrudi71 * search.php: fixed problem with search by exif date (query made use of datetime instead of datetimeoriginal) * image.php: fixed bug in linpha_log() causing PosgreSQL query to fail and create_all_thumbs.php to break... (filename needs to be escaped by addslashes when having special chars) * adodb_errorhandler.inc.php: fixed bug in linpha_log function (made use of addslashes() and cut overloaded error messages to 245 chars, as sometimes the error msg is longer 255 chars and does not fit in VARCHAR(255)) 2005-02-06 flo * [ linphga-bugs-1103121 ] Slideshow Doesent work in IE 6 and Opera 7.5 --> fixed partially + workaround for opera browser which has problems with the nextImage.onload = preloadImage_completed; statement -> no preload of images in opera + on WinXP SP2, the popup blocker blocks the popup of the slideshow will have a look if we can code around that the popup works again as soon as i have access to a xp sp2 machine 2005-01-24 bzrudi71 * metadata.class.php/forth_stage_install: fixed bug in table create ("PREFIX" not defined during install) + fixed missing UNIQUE on IPTC md5sum * logger.class.php: fixed parse error when storing DATABASE error events * metadata_config.php: added missing DateTimeOriginal to appear in the list of EXIF options for the search site 2005-01-10 bzrudi71 * metadata.class.php: improved hrefs for exif details (e.g. do not show 'more' href if we are already in level detail stage 3) + added info levels to iptc view (less/more/all) + added link to exif while viewing iptc data (more details (EXIF)) * various: removed not needed config var iptc_default, as it's autodefault if enabled and image contains IPTC info... 2005-01-09 bzrudi71 * db_api.php: do not calculate md5sum if file is video. We have a massiv problem with the default 8MB limit here... 2005-01-08 flo * new version of EXIF_Tags.php which supports now GPS, thanks to Evan Hunter! 2005-01-07 flo * show exif/iptc/user image description and user comment on left side * new settings for create/recreate thumbs * finished create_all_thumbs.php with a new layout md5sums are currently created for all files * search works now with the new exif and iptc tables * new file for exif/iptc definitions for seach and verbosity levels (changable by the user) include/metadata.config.php * forth_stage_install.php create linpha_meta_exif table * image.php: create_video_thumbnail() do the MJPG check not only under windows, but under all systems there are known problems with creating thumbnails for unsupported videos * ignore not supported files rather than insert in db and show broken thumbnail * ignore 4 and more subfolders (forth_lev_func()) * upgrade.php added iptc config * *_generel_conf.php added settings for iptc cleaner layout with substages * img_view.class.php/metadata.class.php prepared to show only iptc or exif * new setting to disable creating video thumbnails with convert * exif: use DateTimeOriginal instead of DateTime 2005-01-07 bzrudi71 * metadata.class.php: made saveItpcData() and showIptcData() work. Minor issues exist but the main parts are working foe now ;-) * upgrade.php: fixed error in postgres table create and changed md5sum length to varchar(32) * forth_stage_install.php: added iptc table for postgres and mysql + cleanups * metadata.config.php: added iptc stuff 2005-01-06 bzrudi71 * upgrade.php: finished table layout for meta_iptc (needs mysql testing) * metadata.class.php: added iptc saving function (not working yet) 2005-01-06 flo * fixed error message in linpha update don't produce warning even if allow_call_time_pass_reference is set to On in php.ini * make_thumb(): use id * create_all_thumbs.php: show errors!! * translation array for exif data in metadata.class.php * new table: linpha_meta_exif todo: forth_stage_install.php * "finished" implementing phpmeta exif read and write modified include statements in EXIF.php and EXIF_Makernote.php 2005-01-04 flo * combined prepare_thumbs() and make_thumbs() to one function because it didn't made sense * don't call make_thumbs() from rw_new_entries() anymore, using get_thumbs.php instead * upgrade.php: fixed errors in create table iptc, remove output of timer, use of linpha_log * if adodb errorhandler is used, the function $db->ErrorMsg() does not work anymore use errorhandler to output the error directly to the screen -> no need anymore for : if(!$create) { echo $GLOBALS['db']->ErrorMsg().'
'; } 2005-01-04 bzrudi71 * Added the 'The PHP JPEG Metadata Toolkit' as a replacement for 'exifer' and the PHP included EXIF parser. This class also allows us to add support for IPTC data found in most 'Photoshop' images. (/include/phpmeta/) TODO: cleanups! For details see here: http://www.ozhiker.com/electronics/pjmt/index.html * /include/metadata.class.php: new file! to handle all the EXIF/IPTC stuff (somewhat empty for now ;-) * upgrade.php: added new table prefix_meta_iptc and prepared prefix_meta_exif 2005-01-03 bzrudi71 * added missing adodb errorhandler file, required for postgres (adodb-error.inc.php) * /log/update_settings.php: some changes to make it work with postgres @flo, please make sure it's still working under mysql, thanks! 2005-01-03 flo * use of dropdown menu for image_resized_view.php, according to patch 990423 thanks to mimkr! * new feature (upgrade.php): check for linpha updates, imagemagick changes, gd lib changes daily and only if in admin group * changed behaviour of including files in header.php now upgrade.php is included after session.php this should be harmless 2005-01-02 flo * permission framework finished * linpha_log(): no need of langauge file anymore 2005-01-01 flo * db_connect_error.html: added TOP_DIR for linpha logo (even if it is a .html file, on errors, it will be included) * permission framework for post image comments, download images, print, mail, album downloads 2004-12-31 flo * changed logger from class to function new use of logger is: linpha_log('filemanager','notice','text...'); there is a check within the function if it is active or not * added adodb error handler to linpha logger errors with adodb are now logged too -> new file include/db_connect.php -> modified file adodb/adodv-errorhandler.inc.php (pay attention on upgrading to new adodb versions to keep this file) * TODO after 1.0: sql/db_connect.php contains only: $username = xxx; $pass = xxx; $db = linpha; $type = mysql; include/db_connect.php does the include of adodb.inc.php and build the dsn string * create linpha_log table only if it is used, and not during installation because most users will never use it * added logging events in rotate.php, prepare_thumbs() * improved get_mem_limit(): take care if php is compiled without memory limit (used in sec_stage_install.php and mail mode) * linpha_session_write_close(): do not backup $_SESSION because it seems that $_SESSION is still available after session_write_close() 2004-12-30 flo * start slideshow from the image it was open (img_view.class.php) * show image nr in slideshow (img_view.class.php) * count images viewed in slideshow (get_thumbs_on_fly.php) * not count images viewed in commenting system (img_view.class.php) * logger plugin: made several changes - log events to multiple methods - change subject in mail - global change of logfile and email headers - moved logger.class.php to plugins/log - TODO: adapt logger in filemanager - TODO: adapt upgrade.php and install.php 2004-12-29 flo * archiver.config.php: new archive application: 7-zip thanks to adrian * use of new function linpha_session_write_close() before exec() in convert_image_convert() and rotate.php * do not escape strings if safemode is on because they are automatically escaped needs testing * image.php: improved error handling for random index image * [ linpha-bugs-999178 ] File download from img_view page --> FIXED * [ linpha-bugs-1073728 ] Pb with Imagemagick and linpha !! --> FIXED * escape_string(): updated to work with safe_mode 2004-12-27 flo * moved database connection error stuff from db_connect.php to db_api.php and removed the previous db check from db_api.php it is better not to have to much stuff in db_connect.php because on updates it isn't funny 2004-12-17 bzrudi71 * [ 1086510 ] exif_default is not updated in the database --> FIXED 2004-12-01 bzrudi71 * Removed all (hopefully) wrong replacements for '&' due $amp; in hrefs which caused most hrefs to be broken. (Indroduced with HTML patch...) 2004-11-30 bzrudi71 * [ 1075078 ] HTML 4.01 Transitional patch -- Thanks alot Jonathan! * /lang/lang_doc.Spanish.php : update from Ruben -- Thanks alot! 2004-11-28 flo * fixed bug in plugins/mail/actions/submit_users.php and func.watermark.php 2004-11-12 bzrudi71 * /sql/db_connect_error.html: new file! If we encounter an DB connection error show up this nice HTML error file instead of LinpHA on white bg ;-) + forth_stage_install.php: added support for error file * ADOdb update to 4.54 (changes in BLOB handling...) * log.php/submit_mod_data.php: hide not required input fields depending on choosen logtype... TODO: make use of some functions for same purposes * ftp/index.php: made fonts readable in shadow theme when changing file permissions + added full logging support for filemanager events like uploads/deletes/rms/cps... * logout.php: added logging event 2004-11-11 bzrudi71 * [ 1063702 ] new users permisions -- FIXED 2004-11-06 bzrudi71 * Added new plugin "logger" kindly provided by Vytautas, thanks alot! + made all changes to support postgres (hopefully) and some fixes TODO: - we should hide the lines (filenname, email, extra headers) in logger plugin page, if select points to "none". In addition the lines should only show up if the desired method needs them, e.g we need no filename if method is db and so on ... (add javascript to the select (like in install.php) for refresh) - support other types of logging: + uploads: track uploads in filemanager + browser: track type of browser - show the logger results in logger plugin page itself 2004-11-05 bzrudi71 * build_my_settings.php: removed the "delete account" button for users not in admin group to prevent trouble. (as requested in forum) 2004-11-02 bzrudi71 * [ 1057983 ] function rw_new_entries -- FIXED (removed obsolete var from querys) 2004-11-01 bzrudi71 * image.php: fixed problem with missing linpha default logo in index.php + fix in href title (paths containing special chars were broken) 2004-10-31 flo * new feature: create all cached images from specified albums + new file: plugins/cache/create_cached_images.php ############################################### ### ### ### LinPHA 1.0beta3 RELEASE! ### ### ### ############################################### 2004-10-31 bzrudi71 * [ 1057300 ] Typo in 4th stage install (CVS) -- FIXED * image.php: cleanups and removal of "navi bar" * lang.zh-tw.php: applied latest changes from bell lu, thanks alot! * updated all docs 2004-10-30 flo * bug fix with random index image * finished language entries for watermark permissions 2004-10-29 flo * fixed bug with imagemagick 6.1.1 rotating for printing didn't work anymore changed behaviour to rotate image only after converting in a separate process * added "delete all cached watermark images" in cache options too * improved statistics * fixed bug with magic_quotes_gpc = On in photo archive title * fixed bug in random index image if no public folders available 2004-10-28 bzrudi71 * Added layout option (select field) in admin section to set the size of the random image in index.php 2004-10-27 flo * updated description for print_permissions() 2004-10-27 bzrudi71 * image.php/index.php: fixed problem with random image scaling if GD is used TODO: set image size in layout section * get_thumbs_on_fly.php/index.php: don't count random images as viewed * watermark.php: finfished language entries + minor layout fixes 2004-10-26 flo * index.php/header.php + don't stripslashes on username + don't show linebreaks if random index image is on * [ linpha-RFE-938672 ] Watermark -- DONE + new permission "framework", can later be used for all permission settings like mail mode, download mode, print mode, etc. + modified files: basket_build_mail.php, build_my_settings.php, db_api.php edit_watermark.php, file_download.php, forth_stage_install.php, func.watermark.php get_thumbs_on_fly.php, image_resized_view.php, index.php, other.php, search.php update_settings.php, upgrade.php, watermark.php 2004-10-26 bzrudi71 * [ linpha-RFE-961809 ] Index page: Random previews? -- DONE added new option to enable random images from your photo collection to be displayed in the index page, rather than the LinPHA logo... default: disabled 2004-10-25 bzrudi71 * img_view.class.php: fixed problem with commenting system (a php notice was printed and stored in DB for image description ;-)) * index.php/header.php: take care of quotes in "full_user_name" 2004-10-25 flo * image.php rotate image with imagerotate(): fixed inverted angle bug * [ linpha-Bugs-1053307 ] Beta 2 - User Management -- FIXED + take care of magic quotes + mysettings and build_user_conf: users now don't need to login again after changing own account + updated set_linpha_cookie() to take care of TOP_DIR to define the correct path in the cookie -> logout.php could now be moved again to the actions/ folder 2004-10-24 flo * [ linpha-Bugs-1053292 ] Filemanager shows nothing for uploaders + added missing include() in admin.php * [ linpha-Bugs-1053136 ] Beta 2 - Deconnect User -- FIXED + move logout.php again from actions folder to root folder because if i'm in the actions folder and i set a cookie, the cookie domains is ../actions and this is invalid... * [ linpha-Bugs-1052475] Slashes missing in "Create directory"-field -- FIXED + replaced array_shift(get_included_files()) with real_path(TOP_DIR) * img_view.class.php linpha comments + simplified javascript functions to show number of entered chars + added language entries + moved 3 back to buttons to 1 in top of page 2004-10-23 flo * [ linpha-Bugs-1052770] User/Group management -- FIXED * [ linpha-Bugs-1052097] Pictures not shown in "secure" album -- FIXED + caused by phpsniff stuff for slideshow + removed transitions effects for IE + include/browser.php, include/phpsniff.class.php, include/phpsniff.core.php, include/client_sniff.js can now be removed! * [ linpha-Bugs-1052475] Slashes missing in "Create directory"-field -- FIXED + replaced PATH_TRANSLATED and SCRIPT_FILENAME with array_shift(get_included_files()) * javascript menu, use