SMF Media Gallery - Old Changelog |
! Fixes + Additions - Removals * Changes @ Notes
Version 2.0.5 December 2, 2009
-----------------------------------------------------------------
! Fixed list of allowed document extensions to remove any extension from other
allowed filetypes (previously, this would break images from showing a preview.)
+ Added error handler for the Flash uploader tool. Previously, errors were
only caught after the tool had handed control back to Javascript.
! Fixed placement of the first item in the mass upload file list
! Fixed broken album creation page layout in SMF2
Version 2.0.4 November 24, 2009
-----------------------------------------------------------------
* Updated getid3 library to be entirely compatible with PHP6
! Yet another attempt at fixing button strips on all themes
! Fixed potential crashes on MySQL servers running in strict mode
! Fixed links in moderation panel
Version 2.0.3 November 14, 2009
-----------------------------------------------------------------
- Removed all remaining bits of the previous Wysiwyg Quick Reply fix
- Removed local fixes for mod_security as they're all handled by the new hack now
- Removed mod_security test from Admin credits area, as it always failed on mod_security servers I had the opportunity
to test
+ Replaced it with a new Ajax-based test within the Settings page, that will always tell you whether you need to enable
the mod_security hack or not
* Moved mod_security hack setting to Main Settings rather than Security Settings -- don't be fooled by the module name!
! Made unbrowsable albums viewable by admins and moderators, as should have been from the start
+ Added a 'Browsing disabled' flag to unbrowsable albums in album lists when they're visible to you (admin/mod/owner)
! Fixed failed embeds on pages where HTML tags aren't in lowercase
! Fixed regression: item editing was broken for non-admins
! Logic error on SMG tag embedding with SMF2
Version 2.0.2 November 3, 2009
-----------------------------------------------------------------
* Removed SMG code from Subs-Editor.php and hopefully fixed the Wysiwyg Quick Reply
incompatibility, by replacing the previous hack with a test for empty($parse_tags)
! Always initialize lightbox headers when using the SMG tag in an external topic, to avoid more
problems when the first tag used doesn't require the headers (this would break the remaining tags)
* An error message when uploading files was confusing, made sure to split it into two
! Autosize (in album settings) was always being wrongfully reported as enabled
! Autosize setting was not taken into account in album pages (only in item pages)
! The mod_security fix was placed too early in the code, thus it was never initialized
+ Implemented tabindex values on form elements, so that richedit
components can be reached with the normal Tab flow
! Album ordering would sometimes not work correctly
! Wrong URL for magnifying glass icon
! Fixed a validation error
* More minor changes/fixes
Version 2.0.1 October 27, 2009
-----------------------------------------------------------------
+ Added new admin setting that should let you fix (once and for all?) mod_security error pages, by
replacing ';id=' links to '&id=' on the fly. You can enable it even if SMG can't figure out whether
mod_security is installed (because sometimes Apache won't even let you know the little monster is there.)
! Fixed a rare bug where a dummy thumbnail was being inserted when the embed code would fail creating one
! Don't create a new media_handler object just for retrieving the extensions list in getEncryptedFilename()
- Removed .htaccess file provided for mod_security hack, now that there's another trick available within SMG
* Moved the... 'move' icons from the... Move Albums section to the left of album names rather than below them
! In rare cases, the output buffer stack wasn't being cleared entirely when requested
! Fixed an error where $context['mgallery_album_list'] would list sub-albums twice
! Retrieving meta data for FLV file dimensions may be more reliable in some cases
! Fixed bug preventing quota profiles from being deleted
! The Reported Items/Comments warning bar was broken
Version 2.0 [Final] October 22, 2009
-----------------------------------------------------------------
* Modified Gallery menu button to always link to the homepage. The unseen area can still be accessed
by clicking the number of unseen items (in SMF 1.1.x) or opening the drop down menu (in SMF 2.0)
! Fixed undefined error when showing audio or doc files in the Unseen area
* Incompatibility with WYSIWYG Quick Reply is still there somehow,
I probably won't be able to solve it without the author's help
! Fixed glitch when rating an item to zero
! Fixed a validation error in Unseen area
Version 2.0 RC3+ October 18, 2009
-----------------------------------------------------------------
! Fixed incompatibility with the WYSIWYG Quick Reply mod
! Fixed broken smileys when posting comments in Wysiwyg mode (editing them was fine, though.)
! Unseen area wasn't retrieving all of the data needed to make on-the-fly previews
! Audio/video items can't be previewed within a lightbox, so don't do it
! Externally embedded images (via the Foxy! add-on) weren't being previewed correctly
* num_items and overall_total album entries are now both used, allowing to show more detailed
numbers of items in album lists, like "5 items, and 6 in sub-albums"
* SMG will now show at most 20 sub-albums in children list (when showing one album per column),
10 when showing 2, 7 when showing 3, etc.
! Fixed number of sub-album items in General albums
! Renamed "Children" to "Sub-albums" where needed
! Fixed a few minor issues in maintenance area
Version 2.0 RC3 October 17, 2009
-----------------------------------------------------------------
Regular, cool additions/fixes:
+ Box-type thumbnails (in album pages, for instance) now launch a lightbox-powered preview when clicked,
instead of leading to the item page. Click the item's title instead to be led to the item page, or click
on the "More details" link when the preview shows up, next to the item's full title.
+ Turned the Document files restriction text field into an actual list of allowed doc file extensions,
which is much more logical and allows you to easily add any non-embeddable (download only) filetype to SMG.
+ Got rid of all the code that added child albums to custom fields. Instead, always assume
a child album inherits custom fields from all of its parents (whatever their level).
+ Added new admin setting, Album Columns, which allows you to choose the number of
albums you want to show per row in album lists. Defaults to 1, but 2 or 3 are just fine too.
* The "Show sub-albums on index" feature now works on all album lists. Disabled, it will show how many
children there are. Enabled, it will list at most 10 children and then the number of remaining children.
* Don't show a folder icon next to sub-albums, instead show the number of items in the sub-albums
* Don't list sub-album children, instead simply point out their existence with a (+) sign
that indicates there are more albums within a particular child
+ Added support for the Foxy! add-on's new feature -- RSS feeds for new items/comments in specific items,
specific albums, specific users or the entire gallery -- by adding RSS icons in several areas
! Yet another tentative fix for some mod_security related issues
Small change, aka Pocket money:
! Fixed (hopefully) a minor bug in getAlbumParents()
* Simplified the album list loading process a great deal
* Profile pages now use getAlbums() like everything else
! Some fixes in the moderation panel's approve functions
! Don't show the previous/next bar in item pages if the album can't be browsed
! More big icon cleanup
* Show whether the album is password-protected when browsing it
! Don't waste time building a linktree if the page is in XML format...
! Added clearfix class to SMG's stylesheet, as it's no longer included in SMF2's Curve theme
! Fixed broken layout with Curve theme in the Unseen area
* Replaced locked/unlocked icons with smaller versions to fit the new smaller size for children albums
* Don't show the page index in search results if there's only one page of results
* Changed mg_large class to be a bit more pleasant to the eye
! Improved smg_cut_string() to deal with BBCode-enabled texts. I'm now parsing them inside
the function, and the resulting html tags are excluded from the length calculations.
* Right-aligned icons in album lists to make them look at bit less messy
* Many minor improvements, mainly to the layout
Version 2.0 RC2 October 3, 2009
-----------------------------------------------------------------
@ Once again, back to the single-developer team...
+ Added some features needed for the Foxy! add-on to offer support for embedding remotely hosted
images. Picasa, Photobucket, Imageshack and other sites like these should be embeddable now.
+ Added a warning in the profile permission page to redirect users to the regular permission area
if they want to set SMG permissions not related to specific albums
+ Added support for RM files in video types
+ Added ability to search an item by album name
* Rewrote Search page layout to make it easier to use. Custom fields are listed on the right side.
* If an album is unbrowsable, it doesn't mean it should be hidden, so show them on item lists, just don't link them
* When embedding a file, if unable to retrieve a default title, take it from the URL instead
! Fixed a hard to spot bug when editing an item and replacing the big icon
! Captions shouldn't be shown on non-image files, except for video/audio
! Posting an item without specifying an album ID was broken in the last release
! The uninstaller failed to remove files... Ever since v1.0! Now that's an epic fail.
! Fixed a logic error in embed_video(), although it never caused a problem to me...
! Fixed support for Javascript-enabled Aeva-powered embeds... Same remark.
! Don't download a thumbnail if it's corrupted
Version 2.0 RC1 September 26, 2009
-----------------------------------------------------------------
@ Okay, seriously, 10 months in beta and 6 public beta versions, that's more than enough... It's pretty stable now,
so I'm going RC ;)
! I believe the $desc part in getEmbedObject() should be htmlspecialchar'ed... Needs to be verified.
+ Giving a try to captions below opened pictures when possible. Might be worth debating it. Please tell me if you
like/dislike them.
! Fixed potential undefined index error in moderation panel
+ Added support for SMF 2.0 RC2's new Wysiwyg editor box system
! SMF2 RC2 now uses addLoadEvent() instead of add_load_event(), so replaced all tests for add_load_event() to
improve compatibility (this may cause issues on the gallery homepage with SMF2 RC1 and earlier if you have other
mods using Javascript, just edit the files if it bothers you.)
* When editing an item, if it has a forced thumbnail, show it below the file browser rather than to the right of it
-- better layout IMHO
! titlebg class can't be used for tall objects in SMF2 RC2 + Curve theme, so replaced it with windowbg in album pages
* A couple of changes to accomodate for mods
The "Dragooon came back for a round, how about sticking around?" fixes: (yes I like to do poetry in changelogs.)
! Users were being shown a misleading error message when trying to delete a permission profile without selecting
a fallback profile for related albums
! In user albums permission area, users were sometimes being shown albums which they did not own
! "Toggle all" option was being displayed even when not needed
! Comments were failing to be deleted from moderation area
Version 2.0 beta 6 September 22, 2009
-----------------------------------------------------------------
Miscellaneous additions/fixes:
* Renamed "hide album" option to "disable browsing" to prevent confusion and enable me to turn them into
pseudo-categories in the future.
+ Giving admins the ability to mass upload in any user album, because, well... They're the boss after all.
+ Added mgal_has_preview flag to videos shown through the smg tag, so that they can also show
their fullsize preview inside the player instead of a small thumbnail
! Don't use sesc as session var input when editing an item, if SMF version is 1.x
! Don't delete previews when forcing a new thumbnail, except where needed
! When deleting thumbnail files, don't bother running a SQL query if the parameter is an array filled with generic icons
! Fixed a typo that was there since v2.0 beta 1, where unapproved albums would still be returned by getAlbums()
when they shouldn't
! Added a check for unbrowsable albums when calling getAlbums() and requiring to return children albums as well
! Thumbnails weren't being moved with the Move feature, because of the clean filenames feature
! Big icon wasn't correctly being removed from the database when removing the file it was based on.
Instead of resetting the big icon entry, I chose to keep the preview instead.
Installer fixes:
! Database installer was using $permission (undefined) variable instead of $perm for SMF 1.x
! Latest SMF revision changed the way some database functions are handled, so I had to update the installer
to try and fit all versions...
FFMpeg additions/fixes:
! Thumbnails created by FFMpeg will now have a JPG extension and be recognized as pictures rather than movies
! Don't create a FFMpeg object if we're showing an old-style FFMpeg-created thumbnail
+ Create a preview for newly uploaded videos if FFMpeg is installed
! Improved Regeneration task to enable regeneration of FFMpeg-created thumbnails and previews
! getInfo() could generate errors if called on audio files when FFMpeg is installed
Admin task additions/fixes:
! Fixed various places in admin where the session ID was put twice into the URL
! When regenerating previews after max preview size was increased, pictures that no longer needed a preview wouldn't
delete the preview ID in the database
! smg_insert_file_id() function didn't save directory and album ID when updating an item (mostly in Regenerate task)
! Fixed Regenerate task to recreate thumbnails whenever possible if they were assigned to a generic icon
! Stupid Internet Explorer doesn't support meta refresh for URLs that have a semicolon in them,
so SMG will now replace these with ampersands before asking IE to refresh to them
* Rewrote the Orphans task from scratch, to be more efficient and fix all bugs. It should now be able to run on huge galleries.
+ Added language strings needed by the Orphans task changes
! Plenty of minor fixes, as usual
Version 2.0 beta 5 September 12, 2009
-----------------------------------------------------------------
Regular, cool additions/fixes:
+ Added new album icon type (bigicon), which will be preview-sized and shown on album pages only (as opposed to
regular thumbnail-sized icons)
+ Added ability to upload to any album (provided you're allowed to upload to them of course) within the single-upload form.
Currently this is only used in the Foxy! add-on's SMG button feature (for uploading items within a message without going
through the gallery), but I will add a generic upload button to the header bar later.
+ If a custom field is searchable, split it into multiple words because then commas are probably there as delimiters
+ Added a new "Check orphans" task, which will find all files that aren't used by the database at all. If the task gives
you an error 500, that's too bad, you have too many files for your server CPU/memory to handle and the task will fail.
It's not that big a deal though.
+ Added test for Safe Mode and mod_security in SMG's About page in the admin area. This should make it easier to tell
people to disable them if they can.
+ Added ability NOT to log accessDenied/album not found/item not found errors
! Documents received an audio icon as their thumbnail instead of their equivalent document thumbnail
! Fixed a couple of cases where a deleted member would generate an error in the gallery if they had posted items in it,
or were a moderator
! When using the smg tag for an item in a hidden album, and specifying the av, box or album type, it returned an error.
Also make sure that any hidden album's item can only be embedded when the message's author is the album owner.
! When embedding an external video and leaving the title empty, use the title returned by Aeva.
The previous behavior was only suitable for local embedded videos.
Small change, aka Pocket money:
! Removed all default values for TEXT fields in the database, to make it strictly compatible
* Converted all rand() calls to mt_rand(), which are more reliable
! Account for the cache system when resetting a member field for everyone
+ Added a new separator in admin area because it started getting confusing...
+ Added a new step to the admin area's "Check for Errors" section, where big icons
are automatically attributed when available. You should run it at least once.
+ Added data_dir_url variable, so that you can specify the gallery folder's URL by yourself
(for clean filenames). SMG will still attempt to guess it by itself.
! Make sure to show clean filenames for album icons in user profiles, if enabled.
* Slightly modified Album page header layout
+ Added an Edit button next to the child album list on Album pages, and user albums on user profiles
! Fixed an undefined index when retrieving pages through cURL
* Simplified coexistence between SMG and its Foxy! add-on with a global variable
+ Modified albumsAllowedTo() to enable it to return a list of quotas for allowed albums.
Enjoy the complexity of the new query, eheh.
+ Automatically update (via Javascript) quota numbers on album-free uploads when choosing a different album
! Replaced eregi with preg_match for PHP 6 compatibility, although the getid3 library still needs to be
updated for full compatibility
* Moved thumbnail clear filename generation function to its own (hidden and resumable) task in the maintenance area
! Emptying a custom field wasn't allowed. Dragooon, if you read this -- was there any reason for doing this?
! "Recent albums" list didn't allow general albums
+ Added links to items where errors were found (find errors maintenance task)
! Fixed a lot of small issues in the Regenerate task
! A couple of issues with the getAlbums() function... I'm afraid I have to "hide" a child album if it's
accessible to you but its parent album isn't. Maybe I'll find a better solution later.
! If clear_thumbnames was enabled, any time you would delete an item manually, its thumbnail wasn't deleted
+ Added page index at the bottom of the user album list.
+ Enlarged settings table data size to 16M instead of 65K, which should allow us to store something like
500.000+ files in the orphans entry... Honestly, SMG is bound to crash much, much earlier than that...
! Use the default thumbnail instead of the first one when embedding YouTube videos
! Don't link to a profile if it's from a guest...
! Regular users editing their items would be refused access due to album profile info not being loaded when
checking for permissions. I don't know if this bug was in beta 4 so I'm putting it into the changelog anyway.
! Fixed various typos and small bugs here and there, as always.
Version 2.0 beta 4 August 10, 2009
-----------------------------------------------------------------
! Ajax rating was broken in SMF1
+ Added number of unseen items in menu, next to the Gallery link. The number is updated automatically.
! Fixed some ffmpeg library's incompatibility with the resize() method, by replacing it with a GD resize.
Needs some testing! I don't have ffmpeg myself...
* Moved "mark as seen" to its own function which has a 20% chance of doing a table optimize
(otherwise it often gets unused space quickly)
+ Call mark as seen function if current user has no outstanding unseen item and hasn't clicked the "mark as seen"
button by him/herself
! Item pages wouldn't validate because w3c wants textarea's to have the cols tag in them, even if empty
* Removed "Your albums" header from "My albums" section -- it was a bit unneeded
* Added a border to subheader divs so that they look more like the admin area's
* Use max title length to limit album length in smg_item_list as well
* Added an id to the tabs, if you want to style it to your taste
! Album name wasn't being shown on the recent items list
! Embedded mp3's had layout slightly broken
! Fixed potential css glitch on Core themes
* Don't allow guests in the Unseen area
Version 2.0 beta 3 August 3, 2009
-----------------------------------------------------------------
! Clean filenames were always on, even when disabled (minor security issue)
! Fallback on failed clean filenames was broken and wouldn't send a correct URL
+ Added support for clean filenames on Search and Unseen areas
Version 2.0 beta 2 August 2, 2009
-----------------------------------------------------------------
Regular, cool additions:
+ Added "clear thumbnail names" setting in admin's SMG security area, which allows you to show an album's thumbnails using
the thumbnail's direct URL, saving your server the cost of a PHP call (which goes through the SMF initialization process),
if you don't mind letting your users be able to share the URL to your thumbnails with anyone.
+ Added a pre-written .htaccess solution to the mod_security problem. It only needs to be found by the swf file itself,
so let's just put it in the mgallery folder and let mod_security do its work on the rest...
+ Added "next" variables to admin area settings, allowing the page to show "Kb", "pixels" or "%" values next to text boxes
+ Rewrote homepage's "Recent Items" feature to allow users to browse through all files uploaded to the gallery,
and choose a sort order for them
* When showing 5 thumbnails in the previous/next section on item pages, clicking on the arrows will now
go to the previous/next page of thumbnails, instead of just going to the next visible thumbnail
* Comment box and report box's textareas will now always fit the resizable window if Highslide is enabled
Related to Foxy! add-on:
! "details" setting in smg tag for Foxy! add-on was always empty
+ Added "no_name" details setting for linked topics (topics are *usually* showing a title already, right?)
The big whoops:
! Search results number was always set to 1, which limited them to one page
! Hidden albums were broken when applying the setting to a general album. In addition to fixing this, I also removed the
warning text which usually shows up on hidden albums, because really the only people that won't be able to view them are
the guests.
Small change, aka Pocket money:
* Added ability to specify several permissions in albumsAllowedTo, just in case...
* Show the preview picture for audio files inside the player when outside the item page, to save some space
* Allowed every membergroup to be checked regardless of the scenario (Dragooon's only contribution to this beta
-- where are you gone, Dragooon?! -- Nao)
! Potential undefined index in Exif code (not our fault :P)
! array_string database type wouldn't work because $connection wasn't initialized
+ Added a short routine that automatically renames thumbnail files to prevent users from guessing the full file's URL.
This is only a dirty implementation -- if you have thousands of thumbnails around, please don't enable the "clear thumbnails"
option as it might crash your server when renaming them all in a single process.
* Added a generic sortbox function for use in Recent Items as well as album listings
! Don't show the area for action icons in album pages if user can't see any of these icons
* Updated prev/next code to show direct thumbnail URLs if this setting is enabled
! Fixed an unclosed div when disabling Javascript
! A typo would break CSS validation
* Slightly updated homepage layout
Things left to do:
@ To do: debug the file deletion area -- seems like not everything's deleted when using clear filenames and deleting an item
@ To do: add a "URL to gallery files" setting in admin area, instead of trying to guess it from the data_dir_path setting
(because of folder aliases, it might not be in the same apparent path as $boarddir -- was the case for me)
@ To do: will need to rename "Recent Items" to something more generic or change it according to the current sort order...
Version 2.0 beta 1 July 5, 2009
-----------------------------------------------------------------
@ v2.0 was a huge project, in the works since after the release of
v1.5 Final. We didn't separate the 2.0 changelog from the 1.5 branch
and, as a result, had to compile it manually from the source files.
Most minor changes, bug fixes and improvements won't be in there.
And believe us when we say there are dozens of them.
The wow-how-could-I-live-without-that stuff:
+ Added custom fields for items
+ Added permission profiles, enabling per-album permissions
+ Added quotas, enabling per-album, per-filetype, per-membergroup upload size control
+ Added another file type, "docs". This is anything but media files enabling gallery to be used as a download manager
+ Added ability to import files via FTP (admins only)
The really, really cool stuff:
+ Added support for PHP Safe mode for unlucky users (check MGallerySafeMode.php)
+ Added moderation center, thus giving more precise control to moderators
+ Added mass download, where you can select individual files in an album and download them as a single zip file
+ Added "hidden albums", which allow authorized users to view item pages within them, but only their owner to browse them
+ Added "allowed members" and "denied members" to per-album settings, to allow/ban specific members from one's albums
+ Added filestack view, mainly for albums that only feature downloadable (document) files
+ Added ability to show an album through the [smg] tag
+ Added ability to show multiple items/albums with a single [smg] tag
+ Added a setting to allow narrower or larger album lists when used inside [smg] tags
+ Added Votes page to profile areas, where one can view the complete list of ratings given by a user
+ Added "Add videos" permission
The neat stuff:
+ Notification for reports, showing a big mean bar on the top if there were reports
+ Previews are now generated where needed when forcing a manual thumbnail update
+ New option in Layout settings lets you set a default size for [smg] tags (thumbnail, preview, full) when none is specified
* Changed the way membergroup selection works, disables all minor membergroups when "Regular members" is selected
+ Added ability to choose audio player width, as well as interface & background colors in audio/video player
+ Added ability to override media player's background color by code
* Don't show last edit's author if it's the comment/item's author
+ Added ability to mass approve/delete items in submissions area
+ Added AJAX ratings, so that the page doesn't need to reload when you rate an item
+ Added ability to hide previous/next items, show text links or show up to 5 thumbnails for previous/next items in item pages.
* Redesigned item description layout
* Improved Unseen area's layout
+ Added owner name (and a link to their albums) in the user albums linktree
* Recompiled JW Player build 157 with several custom fixes.
eg. if thumbnail is smaller than the player canvas, it won't be enlarged.
The who-cares stuff:
* Updated getid3 library to v1.7.9
+ Added support for ogg tag reading (getid3), and removed files for
mod format (which is not supported in the first place)
* Made sure to remove utf8 version of the French language files on uninstall
* Modified templates to always show Preview/Next even if they aren't available, they are just unclickable
* Changes were made to initialisation function, thus improving it and allowing better security
* Subs-MGallery.php was split into 2 files...
* Updated SWFObject to 2.1
+ Added support for 3GP, 3G2 and F4V video formats
* Reorganized file types and Mime listings, allowing users to add file extensions easily (especially document files)
* Improved sanitization in gallery
* Changed/cleaned up getAlbums parameters for more simplicity
!* Many, many other minor improvements and fixes...
Version 1.5.6 April 5, 2009
-----------------------------------------------------------------
! Added preventive fix for Aeva 6.0 (embedded videos wouldn't be centered.)
! Exif data fixes
! User albums with child albums were screwing up pagination count
! Using BBC with apostrophes in title can screw up post in SMF 1
! Don't show HTML embed code if it uses SWFObject
+ Add "User albums" link to linktree if viewing a user album's index
! Fixed Quicktime support
! If Exif year is set to 1970, it's broken, so skip Exif date
! WMV player for Windows triggered an "access denied" error for everyone, apparently because it completely ignores cookies
! Fixed potential undefined error in embed object code
! Wmv files embedded via [smg] would always autoplay
Version 1.5.5 February 21, 2009
-----------------------------------------------------------------
! Double-install check at install time wasn't working correctly
! Readfile was disabled in some hosts, added proper check to fallback to fopen/fread combo
! Fixed remote videos not embedding when AEVA was not installed
!* Improved (rather added) checks for permissions being messed up at mgal_data/albums or mgal_data
! When albums were deleted, the generic folder icon was also getting deleted if it was assigned to it
Version 1.5.4 February 5, 2009
-----------------------------------------------------------------
! Incorrect table name while recounting totals
! Use aeva_onposting() on comments and descriptions if Aeva is installed. This will allow for items to be looked up
!* AEVA 5.2.x compatibility fixes
! Sub-albums of user albums were not getting shown
! Fixed validation issues when a comment was posted by a guest, or was unapproved.
! Users could see images via direct link even if they didn't have mgallery_access permission
! Banned users were not having a check on MGalleryItem.php
! Fixed video thumbnails, and YouTube will now send larger thumbnails (320x240)
Version 1.5.3 January 24, 2009
-----------------------------------------------------------------
* Added checks on installation for previous installations of mod
! Fixed warning triggered when posting a smg tag with an invalid id (0 or non-integer)
! Fixed Javascript issue when album descriptions had html lists in them
+ JW Player will now show the video thumbnail if available, when not playing
! Typo in English language file
! Undefined index "bit_rate" in some cases
* Changed the way Sub-Albums are fetched. This fixes several issues such as album sorting and total count
! Fixed session variable compatibility with SMF 2.0 RC 1
! Caching of embed media was causing "1200" too appear when page was refreshed
! Unapproved items were causing the item's stats to still go down
! Total comments wasn't being set to 0 if there was no comment found in the items in recount
! Added smg_ prefix to deleteItems() and deleteComments() to avoid conflicts with other mods
! Aeva test would fail at embedding time because of a missing global
! Fixed potential id_owner error
* Make sure to avoid further tests in allowedToAccessAlbum() when user owns the album
! User Album owners should *always* be able to view their own albums.
* Refining smg tag layout
! Updated a regex to avoid [smg] parsing issues on some complex posts with several [smg] tags and double quotes.
! $sourcedir was missing in globals in MGal_admin_albums_delete function
! If SMG's cache feature was enabled, local FLV videos would only play once in a while.
Version 1.5.2 December 29, 2008
-----------------------------------------------------------------
* Exif data is now shown as a Highslide popup
* Highslide popups now match your current template's background
* Keywords mention is now hidden properly when none are found
+ Added subtask to Find Errors function, which will fix access groups for
child albums whose parents have more restrictive access
! Album's folders were not getting deleted from mgal_data on album removal
! Users could see items through their embed links even if unapproved
! Fixed WYSIWYG support for item descriptions
! Fixed undefined index lang/image issues
! Edit wait time wasn't working as expected
! IE6 Javascript compatibility improvements
! Items were always being approved
* Item page layout cleanup
Version 1.5.1 December 18, 2008
-----------------------------------------------------------------
+ Added index.php files to album folders to protect their contents
! JW Player would show only one video per page when using [smg] tags
! Item descriptions and comments were limited to 255 bytes, which was
! Fixed redirect link being shown for embedded videos
! Last edit link wasn't pointing to gallery profile
! [smg] tags will no longer parse when BBC is disabled
! Highslide animation duration shouldn't allow negative numbers
! Highslide wasn't working well on IE6 due to a missing semi-colon
! Replaced area with sa for SMF 2 beta 4 in SMG profile links
! Fixed DB error when searching items by user name
! Fixed a new (last?) unapproved items count bug
! Fixed search failing when specifying an album
! Album total items wasn't reset if no items were found during recount
! Make sure max folder size is at least 5 times the max file size
* Applied new regex from Aeva 5.0.21 to avoid potential [smg] crashes
* News dates in admin credits are now translated to your locale
* Thumbnail box borders look better when they're gone
* Replaced SMG admin menu icon to match the SMF2 style
! A couple more bug fixes (not that much, this time!)
Version 1.5 [Final] December 7, 2008
-----------------------------------------------------------------
+ New [smg id=... type=av] option allows you to integrate audio and video, both local and remote (embedded), into your posts
+ Added "Use this file as thumbnail" option to force a thumbnail for an audio/video file that wouldn't get one otherwise
+ Added support for Aeva 5.0 - this new version of Aevac is now made by a SMG dev, so get it, get it!
+ Added ability to retrieve thumbnails via a feed page
+ Added support for Google Video thumbnails via... a feed page (got it?)
+ Adding tentative support for ogg audio files, if you have the browser/player that likes them
+ Added function documentation on most source files
+ Added the ability to choose whether to use the entity conversion process for strings
! Tentative fix for more UTF issues in album names/descriptions and item descriptions
! Fixed long-lived bug where approved/unapproved item stats were wrong
! Fixed a broken [smg] tag issue in SMF2-Wysiwyg mode
+ Added several options to Regenerate: only thumbs, embedded thumbs, or previews
! Fixed more, and more, Regenerate bugs... At this point, I think we're making them up in our sleep.
! More bugs were harmed, and sometimes severely killed, during the making of this final release
Version 1.5 RC 3.2 November 26, 2008
-----------------------------------------------------------------
+ Added a help popup next to the smg tag link in item pages
+ Wrote English and French help files for that help popup
*! Rewrote protection from smg tag for code, html, noembed etc. tags. Should fix all issues.
* Made sure a smg tag without the "align" parameter will not get aligned in any way
! Don't attempt to create a sub-folder if creating the parent folder failed in the first place...
! Fixed "true" error when mass uploading before actually selecting items
! Buggy redirect in admin album delete function
! Fixed checkEmbedLink returning 100% false negative
! Fixed "Undefined index : is_smf2" error
! Fixed embed link for smg tag in item pages
! Now using Metacafe's official URLs for their video thumbnails
Version 1.5 RC 3.1 November 23, 2008
-----------------------------------------------------------------
* Changed the [smg]123[/smg] tag into [smg id=123] and added many options...
+ ...Such as [smg id=123 type=link width=200 align=right caption="Hi, mom!"] (guess what it all means)
+ Added a (long and complicated...) alternative to downloading remote video thumbnails when all existing functions fail.
(Damn you, safe mode!)
! [smg] tag no longer breaks page validation on non-SMG pages (thanks to PHP for output buffer control!)
! Make sure to call SMG's default stylesheet if using the [smg] tag in a non-SMG page
! Fixed ref attribute (instead of rel) in item page comments
! Mass Uploader wouldn't work correctly on Safari and Chrome browsers
! max_thumbs_per_page wasn't taken into account
* Replaced 'time' with 'date' in WhoRatedWhat template
! Fixed mgal_media_handler::$close error
! Fixed support for video sites that are specified only in AEVAC
! Fixed mgallery_gotolink warning message
Version 1.5 RC 3 November 18, 2008
-----------------------------------------------------------------
+ Added "Mark all as seen" button in Unseen area
+* Rewrote Unseen and Search templates to replace the stupid text lists with thumbnail lists, refined several other pages
+ Replaced [img] embed link with a simpler [smg] tag which shows the thumbnail and allows you to enlarge it with Highslide
+! Transparent GIFs and transparent/alpha-enabled PNGs are now saved as transparent PNGs when using GD2
*!+ Completely rewrote the UTF charset conversion system, to use numeric entities and help compatibility
on systems with poor conversion support
! UTF8 filenames are no longer corrupted with question marks when shown on item pages
+ Keywords are now clickable in item pages, and will redirect you to a keyword search
! Keyword (tag) search will now yield many more results (but might be a bit slower, too)
+ Item ratings now use a weighted average algorithm, for more logical sorting
+ Added "Who Rated What?" on item pages (names of all voters and their rating)
! User albums will no longer show child albums as top-level albums
+ Added support for Comments in User Gallery Profiles. Yatta!
! Fixed a couple of potential security holes in Search
+ Implemented some AJAX on approval area
+ Added number of New Comments in Unseen area
*! Replaced FancyUploader with YUI Uploader for crash-free mass uploads, fingers crossed!
+ Audio, video and image file extensions can now be filtered separately inside the mass upload selector
! Replace current album icon with a generic icon if the icon's parent item is being moved to another album
! The "use as album icon" feature in item pages was not calculating correctly when to remove previously used icons
! Update album icon ID if we happen to regenerate it
! Fixed "Denied" album icon bugs once and for all...!
! Generic icons (video, audio...) were not kept as expected when using the Regenerate feature
! Fixed image path for external themes that haven't installed the mgallery image folder
+ Sub-albums now show a small album icon that tells you the number of elements when hovering over it
+ Added "locked" and "unlocked" icons for password-protected albums
*+ Sort user albums by owner, more logical, 'nuff said
! Fixed warnings when adding a new album
+ Added an optional Security Check for file uploads.
+ Quick hack for showing pagination links at the bottom of album pages
! Thumbnails and previews were, most of the time, one pixel smaller than requested
! "Use this thumbnail as album icon" feature can now be used when uploading a new picture
! Useing some beter engrish thanx to sugestions from a nativ engrish speeker, kindred.
Although he said "Unseen" should be "Not viewed", but who wants "Not viewed", eh?
+ Added two clickable links to items & comments in main User Gallery Profile pages
* Moved the Stats link & Stats icon to the gallery homepage, to make more room for item titles
* Show full item titles when hovering over cut titles instead of thumbnails. Makes more sense indeed.
+ Added ability to preview images using Highslide on admin approval page
! Now respecting recent items limit in Gallery user profiles
! Fixed a db error with query_see_album and SMF 1
! Fixed broken layout in database installer
! Fixed logging and statistics issues when deleting an item from submissions page
! Fixed logging issue while unapproving and approving item
Version 1.5 RC 2 November 4, 2008
-----------------------------------------------------------------
+ If the AEVAC mod is installed and detected, use it and all its features, instead of the AEVAC-inspired functions
! Finally got rid of the frakking bug that added backslashes (\) to all titles and descriptions when using SMF 1.x
+ You can now choose, when uploading or editing an item, to use its thumbnail as the new icon for its album
+ Added a download counter, incremented only if you click on the "Download" button
! Fixed General Album membergroup access settings not being saved correctly
* Replaced SWFUpload with FancyUpload to add support for Flash 10 (integrated by Dragooon)
+ Respect the "Maximum time after posting to allow edit" setting from SMF, both for items and comments
* Adding a User album/comment now warns you if it will have to be approved, and always redirects you back to the correct page
! Icons for new albums wouldn't be treated correctly. Poor things!
+ Album titles can now have up to 50 characters (instead of 25)
! Added a setting to allow a clean cut of overlong titles above thumbnails
* Don't show empty stuff on item pages when there is no need to (comments, descriptions, width/height for audio files, etc.)
! Fixed a few links that should have been hidden to guests (although they couldn't access them anyway)
* Optimized js/css files to save bandwidth and thus more trees in rainforests
* Renamed mgal_useralbums to mgal_myAlbums for more consistency, and used "My Albums" in page title as well
! Fixed several Modlog "filter by member" bugs, including crashes, wrong links and a SQL injection security hole
! Fixed another security hole, with album passwords this time...
People could view their items without knowing the password. Silly, eh!
+ Show album passwords to their owners, so they can easily retrieve it to share with more users
! Comment/item reports wouldn't show up in Reports admin area. Bugger.
+ Moderators (or users with auto-approval permission) will now see a request for approval on unapproved item pages
+ Allowed users (item owners and moderators) should now be able to see unapproved items in most, if not all areas
+ User album owners can now view and edit their own albums even before they're approved.
! Fixed "access denied" errors on generic icons when viewed by non-admins. (Subs-MGallery.php)
! Fixed "Will be approved" message appearing on *approved* messages only... Oops!
* Overhauled the Database Installer
! Fixed wrong HTML embed link
! Now using SMF helper variables for UTF manipulation
! Item Edit page now correctly shows the current Description text
+ Added per-album Default Sort Order setting. Neat.
! Comment Edits wouldn't save under SMF 1.x
! Fixed many "undefined index" notices
+ Added default "folder" icon for albums without an icon
+ Added an Approve button on unapproved comments in item pages
* Changed most user profile URLs into user gallery profile URLs
+ Unapproved comments in item pages are now shown in red
! Fixed smileys not appearing in full comment page on SMF 1.x
* Yes we can. Especially Nao with 42 commits out of 50. What a week! Go, go, Obama!
!* And as usual... Dozens of little bug fixes that weren't deemed worthy of being mentioned here
Version 1.5 RC 1 October 30, 2008
-----------------------------------------------------------------
! Added an Edit button inside album pages
! If Unseen area has items with no title, it'll show a placeholder link
+ Implemented thumbnail-sized album icons
! Editing user albums from within the admin area would cause issues
+ Added the ability to automatically unapprove albums and items when users edit their properties
! Fixed a bug in which multiple type options in settings area weren't getting checked/selected
* Renamed "viewuseralbums" action to "vua", and "useralbums" to "mya"
* Started the first steps of merging together the general album & user album home areas
* Slightly rewrote the layout for the user album header
! Stats area would incorrectly count unapproved & user albums in totals
! Don't show the My Albums link if you don't have the right to add user albums...
! Don't show link to user albums if there are no approved albums
- Don't show the Image Handler option in Admin area if there's only one available...
! Exif "Duration" and "Bitrate" are now formatted in a user-friendly way
! Filenames with accents would save with corrupted names when clicking on the Download button
! Fixed video height when using built-in JW Player
* Don't create previews for pictures that are smaller than the maximum preview dimensions
+ Added dewplayer to play MP3 files. Other audio files still use the default system player
! Tentative fix for mgal_total_items warnings due to failed installs
! Fixed "Mass Upload" link appearing to users even if they don't have the permission to use it
!* Many more, as always...
Version 1.5 beta 3 October 28, 2008
-----------------------------------------------------------------
! Fixed mgal_theme_url crash with Profile areas
- Removed str_ireplace from embed_video, it wasn't needed at all
! External embedding wouldn't work in some cases
! Fixed a typo in album icon upload process
* Added a fallback for embedded video thumbnail regeneration
! Fixed a bug where Regenerate Thumbnails and Previews wouldn't assign album IDs
! Fixed Who's online issue
* Redesigned Comments area to match the SMF layout a bit better
! Fixed issue with fixPictureSize and SMF 1.1.x
+ Added tentative support for Metacafe video thumbnails
Version 1.5 beta 2 October 25, 2008
-----------------------------------------------------------------
! Fixed album icon bug
* Overhauled the moderation log
+ Added ability to regenerate thumbnails and previews
+ Added an "unapproved" notice to regular users visiting their own unapproved items
! Fixed Highslide and SWFUpload not working when installing SMG in a custom theme
* Moderators now have more power -- including the ability to view unapproved items and comments
! Fixed a few issues while pruning item
! Fixed lots of recount/statistics bugs
! Youtube/Dailymotion thumbnail download wouldn't work with PHP 4
!* More minor fixes and changes, as usual...
Version 1.5 beta 1.1 October 24, 2008
-----------------------------------------------------------------
! Fixed parse errors in PHP 4
! Fixed undefined function $smcFunc['ucwords'] in SMF 1
! FIxed DB error while installing on SMF 1
Version 1.5 beta 1 October 24, 2008
-----------------------------------------------------------------
The wow-how-could-I-live-without-that stuff:
+ Added Mass Upload feature
+ Added Highslide 4.0 to replace the old lightbox
+ Added Previous and Next links to items -- and they respect the current sort order. SMF doesn't even do that eheh.
+ Can now try to convert uploaded pictures if they are larger than the max width/height/filesize
! Added support for previews (intermediate pictures for use on item pages)
+ Added converter for Coppermine Gallery (bridged mode) (available separately)
* Unified item, preview and thumbnail URLs
+ Added Gallery Profiles in profile area
+ Added "Approve/Unapprove" button on item pages
+ Added Flash video player for FLV files
+ Added embed codes/links on item pages
The really, really cool stuff:
+ Added complete French translation
* Redesigned several pages, including a complete overhaul of the item pages
+ Added tentative support for thumbnails for embedded videos from Youtube
+ Added per-album options, currently mostly for Highslide
* Exifixer removes the need for the PHP-enabled Exif module to get Exif data
+ Tweaked many icons, mainly in item pages and credits area. Added mini icons under thumbnails
* Updated generic icons to 48x48 icons from Gnome Art's DroplineNeu package
+ Can now specify the Jpeg compression level for resized, preview and thumbnail pictures
+ Can now sort albums by date and picture title
+ Added getid3 support to retrieve video dimensions when FFMpeg is not found
! fixPictureSize() function always enlarged thumbnail boxes, even when not needed
! Use file name as title when uploading a single file with no indications
+ Added picture date in thumbnail list
+ Added the ability to check latest version from Gallery ACP
+ Added option to use Exif datetime (if provided) as the upload date
! Fixed several minor security holes
The neat stuff:
* Split settings page into separate areas
+ Added Highslide interface and traditional buttons to the item action buttons
* Cleaned up source code, indentation, SMF-style formatting, removing unneeded code, etc.
! Fixed bug where the user couldn't rate items even if they had the permission
! dlitem function to download a picture without viewing it, was generating warnings in the file headers
* English translation tweaks, unneeded strings removed, etc.
! Fixed caching for pictures
+ Added a function to get the tag list (might come in handy at some point)
* Simplified links for easy integration into PrettyURLs mod (if you know how to do it)
! Item access error is now in a picture, to allow for efficient anti-hotlinking (if you can implement it, too)
* Deleting an item redirects to album now, rather than homepage
* Only show Exif data if it actually exists
- Removed SMF 2 beta 3 compatibility
! Fixed W3C xhtml validation for many pages
! Fixed member lookup in search area
+ Exif metadata "datetime" now returns a human-readable date whenever possible
* Stop the server from compressing pictures again (they don't need it)
! Fixed issue with checkFiles not excluding generic images
! Fixed issue with "No albums" showing stats page under "Top 5 albums by comments" even if there were albums
! Unapproved items were showing in the Unseen area
* Show file names while checking for unneeded extra files in the admin area
+ Recount maintenance ask will now update member names in user albums and pictures
! Fixed a bug with wrong file extensions when downloading pictures using Opera. Had it fixed in SMF as well :D
* Merged several quasi-duplicate edit/creation functions together
* Membergroups in album creation are now shown in SMF style
+ Added notices for unapproved items, comments and albums
* Changed how Exif data can be enabled/disabled in the Admin settings area
! Fixed admin area's stylesheet not loading under IE7
! Fixed some nasty little bugs in the Who's Online list
! Tweaked password field in album edit page to fix an annoying Google Chrome bug
! Fixed a bug that would prevent from generating the right thumbnail dimensions
* Disabled autoplay for embedded files, to avoid overintrusive sounds
!* Many, many other minor improvements and fixes... Pretty busy month, wasn't it?
Version 1.0.2 September 19, 2008
-----------------------------------------------------------------
! Fixed a bug
! Fixed a security flaw
Version 1.0.1 September 14, 2008
-----------------------------------------------------------------
! Minor bug fixes only
Version 1.0 September 10, 2008
-----------------------------------------------------------------
!*+ Initial release
Last Update: December 30, 2009
© Noisen.com & SMF-Media.com |
