25 February 2008 ---------------- Testing revealed that the Postgres update routine wasn't working properly. Fixed ready for Drupal 6 release. 18 February 2008 ---------------- base parameter is now passed to built in flash node mark up function so that movies using loadMovie or loadSound behave as expected. 31 January 2008 --------------- - Added
wrapper around flash node generated markup so it can be targetted with CSS. Note - if using SWF Tools markup then it will be wrapped in 29 January 2008 --------------- Changed theme implementation back ported from flash node 6 development as I think it is probably a better / simpler implementation. theme_flashnode now takes an optional parameter to indicate whether a teaser is being prepared. Although flash node does not use this it is provided to allow alternative theme functions the ability to vary their output depending on the display mode (e.g. make teaser output a specific size) Theme functions re-configured so that theme_flashnode now takes care only of manipulating flash node objects to prepare them for presentation, while theme_flashnode_markup now does all the work of producing HTML. This means a custom themer can focus on changing just one part of the presentation process. For example, the teaser size could be customised in theme_flashnode prior to calling theme_flashnode_markup which then returns either javascript or direct embedding markup. theme_flashnode_markup has been left as a theme function so an end user can over-ride the entire markup process if they wish, for example, they could use an alternative to swf tools by over-riding theme_flashnode_markup. 26 January 2008 --------------- Another user has tested bulk import feature and reported it as working, so will commit this and create a new release. Slight code change to import now uses default display mode as configured on settings page. Bug fix - remove reference to FLASHNODE_DEFAULT_HTML_ALT that was accidentally copied from the version 6 module! 23 January 2008 --------------- First attempt at back-porting the bulk import routine from D6 version. Probably a little rough around the edges, but it seems to be working. 22 January 2008 --------------- Backports from D6 development... In response to feature request the default display mode and list of allowed file extensions have been made user configurable. In response to feature request new permissions have been added so that the basic, advanced or display mode settings can be hidden from users. If the basic settings are hidden then uploading a new file forces the height and width to be reset. If the height/width setting is accessible then this action does not occur (which is actually unchanged behaviour). 18 January 2008 --------------- Fix bug with base setting. Leading period is not needed! 05 December 2007 ---------------- Adds some changes to Flash node for Drupal 5 that prepares for upgrade to Drupal 6. In particular there will be a change to the Drupal {files} table that will see nid being dropped. Therefore the {flashnode} table needs to store more data. This update amends existing nodes, and starts storing data for the new system. It also assigns the vid to each entry in the {flashnode} table since this will be needed for version 6 which will be able to handle revisions. Also re-commits changes of 03 October onwards as these appear to have gone astray somewhere! 02 November 2007 ---------------- Back ported "stand alone" mode from Drupal 6 development, so Flash node can now work without needing SWF Tools. However, if SWF Tools is available then Flash node will use it in place of its built in HTML method. Fixed another bug in the macro system that meant content with no scaling didn't appear! Flash node settings now appear under Administer > Site configuration > Flash node, rather than under SWF Tools, since Flash node can be used without SWF Tools. Warning messages generated when creating or displaying flash are now shown with status of warning so they contrast with confirmation messages. At present I don't intend to port back much more from Drupal 6 module! 01 November 2007 ---------------- When updating for Drupal 6 discovered that the scaling feature of flash macros was not working properly (at all!). Fixed. 03 October 2007 --------------- Removed upload check based on reported mime type as this proved to be unreliable and some browsers reported the mime type as unknown/unknown. There may still be a residual issue for some users who seem to be experiencing upload failures associated with the core Drupal upload function but I have not been able to reproduce the error on my test system at this time. 16 August 2007 -------------- Finally got round to some more updates on Flashnode! Added ability to accept flv and mp3 files as upload. These are passed to SWFTools for rendering using the selected player settings. Fixed a bug in flashnode_delete that meant flash files weren't deleted when the parent node was deleted. 4 June 2007 ----------- SWFTools is now available as an official release. Final tweaks to get flashnode ready for next release. As final test it is now uploaded and running on stuartandnicola.com! 27 May 2007 ----------- Added a maximum displayed height / maximum displayed width setting so that the admin can limit the displayed height / width of flash content to prevent page layouts being broken. Movies that are smaller than the limits are displayed as normal - movies that are larger are scaled down as needed. The limits are applied during the display routine, so will be applied to content inserted via the macro format too. The feature can be switched off by setting a limit value of zero. This feature added in response to a user request. 18 May 2007 ----------- Added base as a parameter to allow migration of content. base defaults to the correct path to access the default files directory, but can be over-ridden on a node by node basis if required. 16 May 2007 ----------- Various bug fixes addressed. Comments improved to make code easier to understand (hopefully!) flashnode_content updated so that if called without a filter format it will assume FILTER_FORMAT_DEFAULT (to make calling from PHP easier) 8 May 2007 ---------- As flash node now has the option to use user provided substitution text the macro filter must process the markup through the filters for the node. When displaying flash in its own node this happens as part of flash_view, but the macro returns markup via a different method. We must force the markup check as we don't know if the flash macro is being called first or last. The call to hook_filter provides the appropriate format as a parameter, so we use this to run check_markup(). This means that the substitution content is filtered using the input format that applies to the node where the flash is being rendered, not the parent node where the original file is stored! 6 May 2007 ---------- Installer written that (hopefully) handles migration from flash to flashnode. Installation steps are to disable the old flash module in Drupal. Probably next is best to delete the folder. Then upload flashnode and activate it. Upon installation it should run an update routine that migrates flash to flashnode. The installer proved a little tricky to write since Drupal treats the set up as a first time install of the module, and so the update routines don't run, so we have to force it. Only tested on MySQL as that is my system, but should work on both... 5 May 2007 ---------- Major overhaul of basic code - there were a number of bugs in the way the upload and preview code was working that meant resetting to defaults after previewing was not working correctly. A major headache to fix, but think it is ok now. 1 May 2007 ---------- Migration towards SWFTools integration underway! 21 April 2007 ------------- Slight change to _flash_check_settings() as module is being prepared for addition to Drupal repository and ufo.js cannot be included. check_settings will now check for presence of ufo.js, warn if it is not found, and offer a link the zip file. Where module name is displayed to end user it has been changed to Flash node to bring it in line with the Drupal project name. Internally it is still just flash, but starts migration toward correct project name. Next release will be flashnode both externally and internally. UPDATE.txt instructions added for users coming from the original direct download version of the module. Updating is easiest if the old module is removed first. No content is lost doing it this way! 20 April 2007 ------------- Bug fix: updating a flash node did not reset the filter cache, so nodes that use flash macros did not update to reflect new content. Thanks to Andreas Hennig for reporting this one! 06 April 2007 ------------- Forgot to amend flash.install so it didn't create fid in the first place! Fixed. 04 April 2007 ------------- Discovered that the update routine didn't add the fid column, but then realised fid isn't actually needed, so the update is to drop it if it exists! 16 March 2007 ------------- Some minor changes to the string formatting, to make better use of t('') 24 February 2007 ---------------- First version for Drupal 5.x! Main change is to the code to use the new administration callback. Otherwise module is much as it was before! I guess this makes it version 5.x-1.0 12 December 2006 ---------------- Flash field was not required so it was possible to submit a node without having a flash file linked to it. A file must now be given before you can submit node. Flash field renamed to Flash file to make it clearer what is needed. Flash field had a a weight of -3 which meant it rose to the top when editing - weighting removed so it appears in main flash area now. 06 December 2006 ---------------- Some minor changes and extra comments. Nothing significant. Version number changed to 4.7.x.1.1 to bring in line with Drupal module scheme. 28 November 2006 ---------------- First version for Drupal 4.7! All functionality of original module retained. .install written to automate creation of {flash} table in the database. Ready for release for testing (I think!) 26 April 2006 ------------- Version 1.4 Filter added to allow Flash to be re-used in other nodes. Filter allows various scaling methods to re-size flash content. 18 April 2006 ------------- Code tidied up further, and validation routine made neater. Some minor changes to _load. Probably ready for this to be released and tested fully! 18 April 2006 ------------- Some serious debugging as a few glitches became apparent! Also made it so if version or build are left blank they will reset to the defaults automatically. Error handling made neater so if invalid file loaded other errors should be skipped. 17 April 2006 ------------- Now uses image_get_info to try and determine the flash movie size. If height and width are left blank on the submission form then if the settings can be obtained from the Flash file then they will be used. Changed the configuration page to allow this too, by allowing empty height and width settings. Tries to check the file type was valid. If invalid deletes the uploaded file and sets an error. Cannot submit until a valid upload is given. Done to try and avoid hangs by accidentally loading the wrong type of file! Changed text area title to Body. 17 April 2006 ------------- Tidied up a lot, and removed redundant image.module elements. All flash data combined in $node->flash for ease of understanding. Remove fid from {flash} table - no longer needed. 16 April 2006 ------------- First version for Drupal 4.6 ; $Id: CHANGELOG.txt,v 1.10.2.11 2008-02-26 00:38:42 stuartgreenfield Exp $