You are here

CHANGELOG.txt in Flash Node 6.3

22 Feburary 2009
----------------
Added code to initialise an empty flashnode when creating new content. This
suppresses the notice errors that were otherwise generated. Also adds in empty
_height and _width parameters when editing an existing node, for the same
reason. As a result of this change flashnodes are now initialised with their
default settings in this code, which is clearer.

21 February 2009
----------------
Discoved that database doesn't store NULL when height and width are not
specified, but it casts NULL to (int)0. A recent fix to SWF Tools to clear up
some notice errors means that these zeroes are taken as the actual height and
width and prevented display of the content. For now, when a node is loaded, if
the height and/or width are zero then they are reset to NULL to prevent this.
It means that you can't actually set flash node content to a true width of 0,
but I don't see when you'd actually want to do that. This issue is reported
on the Drupal forums and may be fixed in Drupal 7, at which time the module
can be changed to support both NULL and 0.

Realised that the default base path was being generated during node load, so
if a node has its bath field left blank, but you then edit the node, then the
CURRENT base path gets stored. If you then moved the site this content would
retain the wrong base path. Code moved so the base path is generated at the
point immediately prior to rendering.

Fix two uses of .= in output generation function to eliminate notice errors.

12 November 2008
----------------
#333076 - Permissions for flash node are inconsistent with the general way
that Drupal permissions are assigned because selecting them *prevents*
something from happening, rather than granting it. Patch from Grugnog2
(user/19668) fixes this.

Basic and display options not working as expected meaning it was not possible
to see just the display settings. Fixed so you can see just basic settings or
just the display settings.

31 October 2008
---------------
Views should join flash node and node table on vid, not nid, so that it
properly responds to nodes that have revisions. If the join is made on
nid then a single node can have multiple flash nodes that join it.

28 October 2008
---------------
#243343 - Spaces in filenames continue to cause problems, so fix suggested by
Hakulicious (user/324696) has been added, which replaces spaces with under
scores. For flash node 6 this needs a bit more work as it's not quite right
for handling previews that haven't yet been saved.

27 October 2008
---------------
Views 2 support.
Trapped potential divide by zero error when using macros with content for
which a specific size cannot be determined (e.g. mp3 or flv content)

19 October 2008
---------------
#322973 - Validation check to prevent submission of flash nodes with no upload
not working. Also fixed flashnode_load to suppress the error that occurs in
the event of a 'faulty' upload, and to present a more helpful message.

09 October 2008
---------------
Encode spaces in filenames to enable SWF Tools to play back media correctly.

04 October 2008
---------------
Changed detection of presence of SWF Tools to be a bit "neater" by checking if
the "SWFTOOLS_INSTALLED" constant is defined, rather than testing it for a
value when it may not actually exist.

03 October 2008
---------------
#316100 - W3C Compliance: Mark up produced when using a flash node macro was
not W3C compliant due to the <div> appearing inside a <p> tag. Using similar
code to SWF Tools this is fixed, for macros that appear on a line by themself.
As with SWF Tools "inline" macros will not validate since the <p> tags are not
stripped in this case.

02 October 2008
---------------
Flash node changed so it passes a fully qualified url. This is necessary to
work with a change to SWF Tools that was made in order to fix the use of
remote media paths.
Better fix for detecting if SWF Tools is installed by properly testing for
the constant.

09 September 2008
-----------------
Detection of SWF Tools was failing, causing flash node to not work if SWF Tools
was not installed. Reverted to earlier method of detecting SWF Tools.

10 August 2008
--------------
Added ability to send an arbitrary set of parameters to the flash
player when using SWF Tools. E.g. can specify bgcolor or allow/
deny fullscreen on a node-by-node basis. Update 6001 must be run
to add a new column to {flashnode} table.

03 August 2008
--------------
Updated in preparation for use with new SWF Tools 6.
Format of swf() function changed to use array.
Base now defaults to local file system by leaving it as a blank.
Support for private file system added.

24 July 2008
------------
Test animation now only displayed if SWF Tools is enabled.
Support for private file system added.

06 March 2008
-------------
Fix #228731 - under some versions of PHP5 the import function failed as a
trailing slash was appended to the file path when calling realpath(). This
formed bad paths which broke the import routine. This is now fixed. Thanks to
wildwildwaist (drupal.org/user/251357) for reporting and helping with the
debugging of this one.

01 March 2008
-------------
Message on import function always said "unpublished" irrespective of setting
on the the configuration page. Changed to make it dynamic to reflect the
configured setting.

26 February 2008
----------------
Documentation updated ready for release.

25 February 2008
----------------
Install routine updated ready for release. Tested on MySQL and Postgres.
Installer now makes some adjustments to {flashnode} when updating from
version 5 as the schema module was indicating a table mis-match.
Updaters from version 5 removed from installer as they are not needed.

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.

02 February 2008
----------------
Ability to scale / limit the size of teasers introduced. This is configured
as a global setting on flash node settings. When in teaser view content is
first scaled, and then constrained according an optional max height / width
setting.
Settings page re-organised in to sections as it was getting unwieldy, in
particular with the addition of teaser scaling and sizing options!

31 January 2008
---------------
- Added <div class="flashnode"></div> 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 <div class="swftools-wrapper"></div>

30 January 2008
---------------
- Publish status of imported nodes is now user selectable from settings page
- Default node settings now assigned (sticky, promote) when running an import
- Default flash path is now a constant to improve legibility of code
- Default extensions constant renamed to be consistent with other constants
  (was FLASHNODE_EXTENSIONS_DEFAULT, now FLASHNODE_DEFAULT_EXTENSIONS)

28 January 2008
---------------
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.

27 January 2008
---------------
Installing Postgres on my test system revealed an error in the syntax for
some of the new SQL queries. MySQL handled them, but Postgres didn't. Fixed
to use "proper" syntax!

26 January 2008
---------------
- Implemented file upload limits. For now this shares the same settings as
upload.module since the file system check is run against all files. Request
posted to drupal.org to try and get some advice on most appropriate way of
runnin this check.
- Allowable file extensions made configurable on a per role basis (again like
upload.module, but in this case not shared)
- Default extension types added as a constant to tidy up code
- flashnode_validate_extensions function deleted as no longer needed
- Import function uses configured default view setting for new nodes


23 January 2008
---------------
- Form generation simplified - after build function no longer required
- Node access permissions refined to control deletion of nodes

22 January 2008
---------------
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).
Fixed watchdog entry that was in Drupal 5 format.

21 January 2008
---------------
Ongoing work to update the module for Drupal 6. Further key changes
- Preview function now working under D6
- Mass import routine written in response to feature request
- Various bug fixes as part of port to D6
- Tidy up some routines to simplify code

02 November 2007
----------------
Some fairly major changes!
- Flash node now supports revisions.
- Fall back HTML added so you can use Flash node without SWF Tools
- flashnode_content function rewritten to use node_load
- flashnode_display replaced with theme_flashnode so output can be over-ridden
  if wanted
- Flash content no longer added to $node->content['body']['#value'] but
  handled more appropriately as a separate element $node->content['flashnode']
- Settings form includes a weight so you can float Flash content above or
  below other node content (acts on a global basis)
- Flash macro amended to handle fact PHP filter is now a separate module
- Bugs in macro system ironed out
- Warning messages now output using 'warning' class to distinguish them from
  other messages
- Various redundant functions removed as a result of new file handling system

01 November 2007
----------------
Updated to Drupal 6 - first version. Appears to be working as expected but
needs testing! Does not yet have migration script from Drupal 5 format so
not ready to be used on upgraded sites, but suitable for a clean install.

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

File

CHANGELOG.txt
View source
  1. 22 Feburary 2009
  2. ----------------
  3. Added code to initialise an empty flashnode when creating new content. This
  4. suppresses the notice errors that were otherwise generated. Also adds in empty
  5. _height and _width parameters when editing an existing node, for the same
  6. reason. As a result of this change flashnodes are now initialised with their
  7. default settings in this code, which is clearer.
  8. 21 February 2009
  9. ----------------
  10. Discoved that database doesn't store NULL when height and width are not
  11. specified, but it casts NULL to (int)0. A recent fix to SWF Tools to clear up
  12. some notice errors means that these zeroes are taken as the actual height and
  13. width and prevented display of the content. For now, when a node is loaded, if
  14. the height and/or width are zero then they are reset to NULL to prevent this.
  15. It means that you can't actually set flash node content to a true width of 0,
  16. but I don't see when you'd actually want to do that. This issue is reported
  17. on the Drupal forums and may be fixed in Drupal 7, at which time the module
  18. can be changed to support both NULL and 0.
  19. Realised that the default base path was being generated during node load, so
  20. if a node has its bath field left blank, but you then edit the node, then the
  21. CURRENT base path gets stored. If you then moved the site this content would
  22. retain the wrong base path. Code moved so the base path is generated at the
  23. point immediately prior to rendering.
  24. Fix two uses of .= in output generation function to eliminate notice errors.
  25. 12 November 2008
  26. ----------------
  27. #333076 - Permissions for flash node are inconsistent with the general way
  28. that Drupal permissions are assigned because selecting them *prevents*
  29. something from happening, rather than granting it. Patch from Grugnog2
  30. (user/19668) fixes this.
  31. Basic and display options not working as expected meaning it was not possible
  32. to see just the display settings. Fixed so you can see just basic settings or
  33. just the display settings.
  34. 31 October 2008
  35. ---------------
  36. Views should join flash node and node table on vid, not nid, so that it
  37. properly responds to nodes that have revisions. If the join is made on
  38. nid then a single node can have multiple flash nodes that join it.
  39. 28 October 2008
  40. ---------------
  41. #243343 - Spaces in filenames continue to cause problems, so fix suggested by
  42. Hakulicious (user/324696) has been added, which replaces spaces with under
  43. scores. For flash node 6 this needs a bit more work as it's not quite right
  44. for handling previews that haven't yet been saved.
  45. 27 October 2008
  46. ---------------
  47. Views 2 support.
  48. Trapped potential divide by zero error when using macros with content for
  49. which a specific size cannot be determined (e.g. mp3 or flv content)
  50. 19 October 2008
  51. ---------------
  52. #322973 - Validation check to prevent submission of flash nodes with no upload
  53. not working. Also fixed flashnode_load to suppress the error that occurs in
  54. the event of a 'faulty' upload, and to present a more helpful message.
  55. 09 October 2008
  56. ---------------
  57. Encode spaces in filenames to enable SWF Tools to play back media correctly.
  58. 04 October 2008
  59. ---------------
  60. Changed detection of presence of SWF Tools to be a bit "neater" by checking if
  61. the "SWFTOOLS_INSTALLED" constant is defined, rather than testing it for a
  62. value when it may not actually exist.
  63. 03 October 2008
  64. ---------------
  65. #316100 - W3C Compliance: Mark up produced when using a flash node macro was
  66. not W3C compliant due to the
    appearing inside a

    tag. Using similar

  67. code to SWF Tools this is fixed, for macros that appear on a line by themself.
  68. As with SWF Tools "inline" macros will not validate since the

    tags are not

  69. stripped in this case.
  70. 02 October 2008
  71. ---------------
  72. Flash node changed so it passes a fully qualified url. This is necessary to
  73. work with a change to SWF Tools that was made in order to fix the use of
  74. remote media paths.
  75. Better fix for detecting if SWF Tools is installed by properly testing for
  76. the constant.
  77. 09 September 2008
  78. -----------------
  79. Detection of SWF Tools was failing, causing flash node to not work if SWF Tools
  80. was not installed. Reverted to earlier method of detecting SWF Tools.
  81. 10 August 2008
  82. --------------
  83. Added ability to send an arbitrary set of parameters to the flash
  84. player when using SWF Tools. E.g. can specify bgcolor or allow/
  85. deny fullscreen on a node-by-node basis. Update 6001 must be run
  86. to add a new column to {flashnode} table.
  87. 03 August 2008
  88. --------------
  89. Updated in preparation for use with new SWF Tools 6.
  90. Format of swf() function changed to use array.
  91. Base now defaults to local file system by leaving it as a blank.
  92. Support for private file system added.
  93. 24 July 2008
  94. ------------
  95. Test animation now only displayed if SWF Tools is enabled.
  96. Support for private file system added.
  97. 06 March 2008
  98. -------------
  99. Fix #228731 - under some versions of PHP5 the import function failed as a
  100. trailing slash was appended to the file path when calling realpath(). This
  101. formed bad paths which broke the import routine. This is now fixed. Thanks to
  102. wildwildwaist (drupal.org/user/251357) for reporting and helping with the
  103. debugging of this one.
  104. 01 March 2008
  105. -------------
  106. Message on import function always said "unpublished" irrespective of setting
  107. on the the configuration page. Changed to make it dynamic to reflect the
  108. configured setting.
  109. 26 February 2008
  110. ----------------
  111. Documentation updated ready for release.
  112. 25 February 2008
  113. ----------------
  114. Install routine updated ready for release. Tested on MySQL and Postgres.
  115. Installer now makes some adjustments to {flashnode} when updating from
  116. version 5 as the schema module was indicating a table mis-match.
  117. Updaters from version 5 removed from installer as they are not needed.
  118. 18 February 2008
  119. ----------------
  120. base parameter is now passed to built in flash node mark up function so that
  121. movies using loadMovie or loadSound behave as expected.
  122. 02 February 2008
  123. ----------------
  124. Ability to scale / limit the size of teasers introduced. This is configured
  125. as a global setting on flash node settings. When in teaser view content is
  126. first scaled, and then constrained according an optional max height / width
  127. setting.
  128. Settings page re-organised in to sections as it was getting unwieldy, in
  129. particular with the addition of teaser scaling and sizing options!
  130. 31 January 2008
  131. ---------------
  132. - Added
    wrapper around flash node generated
  133. markup so it can be targetted with CSS. Note - if using SWF Tools markup
  134. then it will be wrapped in
  135. 30 January 2008
  136. ---------------
  137. - Publish status of imported nodes is now user selectable from settings page
  138. - Default node settings now assigned (sticky, promote) when running an import
  139. - Default flash path is now a constant to improve legibility of code
  140. - Default extensions constant renamed to be consistent with other constants
  141. (was FLASHNODE_EXTENSIONS_DEFAULT, now FLASHNODE_DEFAULT_EXTENSIONS)
  142. 28 January 2008
  143. ---------------
  144. theme_flashnode now takes an optional parameter to indicate whether a teaser is
  145. being prepared. Although flash node does not use this it is provided to allow
  146. alternative theme functions the ability to vary their output depending on the
  147. display mode (e.g. make teaser output a specific size)
  148. Theme functions re-configured so that theme_flashnode now takes care only of
  149. manipulating flash node objects to prepare them for presentation, while
  150. theme_flashnode_markup now does all the work of producing HTML. This means a
  151. custom themer can focus on changing just one part of the presentation process.
  152. For example, the teaser size could be customised in theme_flashnode prior to
  153. calling theme_flashnode_markup which then returns either javascript or direct
  154. embedding markup.
  155. theme_flashnode_markup has been left as a theme function so an end user can
  156. over-ride the entire markup process if they wish, for example, they could use
  157. an alternative to swf tools by over-riding theme_flashnode_markup.
  158. 27 January 2008
  159. ---------------
  160. Installing Postgres on my test system revealed an error in the syntax for
  161. some of the new SQL queries. MySQL handled them, but Postgres didn't. Fixed
  162. to use "proper" syntax!
  163. 26 January 2008
  164. ---------------
  165. - Implemented file upload limits. For now this shares the same settings as
  166. upload.module since the file system check is run against all files. Request
  167. posted to drupal.org to try and get some advice on most appropriate way of
  168. runnin this check.
  169. - Allowable file extensions made configurable on a per role basis (again like
  170. upload.module, but in this case not shared)
  171. - Default extension types added as a constant to tidy up code
  172. - flashnode_validate_extensions function deleted as no longer needed
  173. - Import function uses configured default view setting for new nodes
  174. 23 January 2008
  175. ---------------
  176. - Form generation simplified - after build function no longer required
  177. - Node access permissions refined to control deletion of nodes
  178. 22 January 2008
  179. ---------------
  180. In response to feature request the default display mode and list of allowed
  181. file extensions have been made user configurable.
  182. In response to feature request new permissions have been added so that the
  183. basic, advanced or display mode settings can be hidden from users. If the
  184. basic settings are hidden then uploading a new file forces the height and
  185. width to be reset. If the height/width setting is accessible then this action
  186. does not occur (which is actually unchanged behaviour).
  187. Fixed watchdog entry that was in Drupal 5 format.
  188. 21 January 2008
  189. ---------------
  190. Ongoing work to update the module for Drupal 6. Further key changes
  191. - Preview function now working under D6
  192. - Mass import routine written in response to feature request
  193. - Various bug fixes as part of port to D6
  194. - Tidy up some routines to simplify code
  195. 02 November 2007
  196. ----------------
  197. Some fairly major changes!
  198. - Flash node now supports revisions.
  199. - Fall back HTML added so you can use Flash node without SWF Tools
  200. - flashnode_content function rewritten to use node_load
  201. - flashnode_display replaced with theme_flashnode so output can be over-ridden
  202. if wanted
  203. - Flash content no longer added to $node->content['body']['#value'] but
  204. handled more appropriately as a separate element $node->content['flashnode']
  205. - Settings form includes a weight so you can float Flash content above or
  206. below other node content (acts on a global basis)
  207. - Flash macro amended to handle fact PHP filter is now a separate module
  208. - Bugs in macro system ironed out
  209. - Warning messages now output using 'warning' class to distinguish them from
  210. other messages
  211. - Various redundant functions removed as a result of new file handling system
  212. 01 November 2007
  213. ----------------
  214. Updated to Drupal 6 - first version. Appears to be working as expected but
  215. needs testing! Does not yet have migration script from Drupal 5 format so
  216. not ready to be used on upgraded sites, but suitable for a clean install.
  217. 03 October 2007
  218. ---------------
  219. Removed upload check based on reported mime type as this proved to be
  220. unreliable and some browsers reported the mime type as unknown/unknown.
  221. There may still be a residual issue for some users who seem to be
  222. experiencing upload failures associated with the core Drupal upload function
  223. but I have not been able to reproduce the error on my test system at this
  224. time.
  225. 16 August 2007
  226. --------------
  227. Finally got round to some more updates on Flashnode! Added ability to accept
  228. flv and mp3 files as upload. These are passed to SWFTools for rendering using
  229. the selected player settings.
  230. Fixed a bug in flashnode_delete that meant flash files weren't deleted when
  231. the parent node was deleted.
  232. 4 June 2007
  233. -----------
  234. SWFTools is now available as an official release. Final tweaks to get
  235. flashnode ready for next release. As final test it is now uploaded and
  236. running on stuartandnicola.com!
  237. 27 May 2007
  238. -----------
  239. Added a maximum displayed height / maximum displayed width setting so that
  240. the admin can limit the displayed height / width of flash content to
  241. prevent page layouts being broken. Movies that are smaller than the limits
  242. are displayed as normal - movies that are larger are scaled down as needed.
  243. The limits are applied during the display routine, so will be applied to
  244. content inserted via the macro format too. The feature can be switched off
  245. by setting a limit value of zero. This feature added in response to a user
  246. request.
  247. 18 May 2007
  248. -----------
  249. Added base as a parameter to allow migration of content. base defaults to
  250. the correct path to access the default files directory, but can be
  251. over-ridden on a node by node basis if required.
  252. 16 May 2007
  253. -----------
  254. Various bug fixes addressed.
  255. Comments improved to make code easier to understand (hopefully!)
  256. flashnode_content updated so that if called without a filter format it will
  257. assume FILTER_FORMAT_DEFAULT (to make calling from PHP easier)
  258. 8 May 2007
  259. ----------
  260. As flash node now has the option to use user provided substitution text the
  261. macro filter must process the markup through the filters for the node. When
  262. displaying flash in its own node this happens as part of flash_view, but the
  263. macro returns markup via a different method. We must force the markup check
  264. as we don't know if the flash macro is being called first or last. The call
  265. to hook_filter provides the appropriate format as a parameter, so we use this
  266. to run check_markup(). This means that the substitution content is filtered
  267. using the input format that applies to the node where the flash is being
  268. rendered, not the parent node where the original file is stored!
  269. 6 May 2007
  270. ----------
  271. Installer written that (hopefully) handles migration from flash to flashnode.
  272. Installation steps are to disable the old flash module in Drupal. Probably next
  273. is best to delete the folder. Then upload flashnode and activate it. Upon
  274. installation it should run an update routine that migrates flash to flashnode.
  275. The installer proved a little tricky to write since Drupal treats the set up as
  276. a first time install of the module, and so the update routines don't run, so
  277. we have to force it. Only tested on MySQL as that is my system, but should work
  278. on both...
  279. 5 May 2007
  280. ----------
  281. Major overhaul of basic code - there were a number of bugs in the way the
  282. upload and preview code was working that meant resetting to defaults after
  283. previewing was not working correctly. A major headache to fix, but think it
  284. is ok now.
  285. 1 May 2007
  286. ----------
  287. Migration towards SWFTools integration underway!
  288. 21 April 2007
  289. -------------
  290. Slight change to _flash_check_settings() as module is being prepared for
  291. addition to Drupal repository and ufo.js cannot be included. check_settings
  292. will now check for presence of ufo.js, warn if it is not found, and offer a
  293. link the zip file.
  294. Where module name is displayed to end user it has been changed to Flash node
  295. to bring it in line with the Drupal project name. Internally it is still
  296. just flash, but starts migration toward correct project name. Next release
  297. will be flashnode both externally and internally.
  298. UPDATE.txt instructions added for users coming from the original direct
  299. download version of the module. Updating is easiest if the old module is
  300. removed first. No content is lost doing it this way!
  301. 20 April 2007
  302. -------------
  303. Bug fix: updating a flash node did not reset the filter cache, so nodes that use
  304. flash macros did not update to reflect new content. Thanks to Andreas Hennig for
  305. reporting this one!
  306. 06 April 2007
  307. -------------
  308. Forgot to amend flash.install so it didn't create fid in the first place! Fixed.
  309. 04 April 2007
  310. -------------
  311. Discovered that the update routine didn't add the fid column, but then realised
  312. fid isn't actually needed, so the update is to drop it if it exists!
  313. 16 March 2007
  314. -------------
  315. Some minor changes to the string formatting, to make better use of t('')
  316. 24 February 2007
  317. ----------------
  318. First version for Drupal 5.x!
  319. Main change is to the code to use the new administration callback.
  320. Otherwise module is much as it was before!
  321. I guess this makes it version 5.x-1.0
  322. 12 December 2006
  323. ----------------
  324. Flash field was not required so it was possible to submit a node without having
  325. a flash file linked to it. A file must now be given before you can submit node.
  326. Flash field renamed to Flash file to make it clearer what is needed.
  327. Flash field had a a weight of -3 which meant it rose to the top when editing -
  328. weighting removed so it appears in main flash area now.
  329. 06 December 2006
  330. ----------------
  331. Some minor changes and extra comments.
  332. Nothing significant.
  333. Version number changed to 4.7.x.1.1 to bring in line with Drupal module scheme.
  334. 28 November 2006
  335. ----------------
  336. First version for Drupal 4.7!
  337. All functionality of original module retained.
  338. .install written to automate creation of {flash} table in the database.
  339. Ready for release for testing (I think!)
  340. 26 April 2006
  341. -------------
  342. Version 1.4
  343. Filter added to allow Flash to be re-used in other nodes.
  344. Filter allows various scaling methods to re-size flash content.
  345. 18 April 2006
  346. -------------
  347. Code tidied up further, and validation routine made neater.
  348. Some minor changes to _load.
  349. Probably ready for this to be released and tested fully!
  350. 18 April 2006
  351. -------------
  352. Some serious debugging as a few glitches became apparent!
  353. Also made it so if version or build are left blank they will reset to the defaults automatically.
  354. Error handling made neater so if invalid file loaded other errors should be skipped.
  355. 17 April 2006
  356. -------------
  357. Now uses image_get_info to try and determine the flash movie size.
  358. 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.
  359. Changed the configuration page to allow this too, by allowing empty height and width settings.
  360. 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!
  361. Changed text area title to Body.
  362. 17 April 2006
  363. -------------
  364. Tidied up a lot, and removed redundant image.module elements.
  365. All flash data combined in $node->flash for ease of understanding.
  366. Remove fid from {flash} table - no longer needed.
  367. 16 April 2006
  368. -------------
  369. First version for Drupal 4.6