You are here

CHANGELOG.txt in Flash Node 5.3

11 November 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.

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

02 October 2008
---------------
Changed so that flash node passes a full url to SWF Tools. This is needed as a
result of a change in SWF Tools to correct a handling error when using a remote
media path to connect to files.

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
-------------
When the import function describes the path it will check when importing the
base path was not included, making the path a little bit cryptic. Added
base_path() to the displayed text to clarify this.

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 <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>

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

File

CHANGELOG.txt
View source
  1. 11 November 2008
  2. ----------------
  3. #243343 - Spaces in filenames continue to cause problems, so fix suggested by
  4. Hakulicious (user/324696) has been added, which replaces spaces with under
  5. scores. For flash node 6 this needs a bit more work as it's not quite right
  6. for handling previews that haven't yet been saved.
  7. 09 October 2008
  8. ---------------
  9. Encode spaces in filenames to enable SWF Tools to play back media correctly.
  10. 02 October 2008
  11. ---------------
  12. Changed so that flash node passes a full url to SWF Tools. This is needed as a
  13. result of a change in SWF Tools to correct a handling error when using a remote
  14. media path to connect to files.
  15. 06 March 2008
  16. -------------
  17. Fix #228731 - under some versions of PHP5 the import function failed as a
  18. trailing slash was appended to the file path when calling realpath(). This
  19. formed bad paths which broke the import routine. This is now fixed. Thanks to
  20. wildwildwaist (drupal.org/user/251357) for reporting and helping with the
  21. debugging of this one.
  22. 01 March 2008
  23. -------------
  24. When the import function describes the path it will check when importing the
  25. base path was not included, making the path a little bit cryptic. Added
  26. base_path() to the displayed text to clarify this.
  27. 25 February 2008
  28. ----------------
  29. Testing revealed that the Postgres update routine wasn't working properly.
  30. Fixed ready for Drupal 6 release.
  31. 18 February 2008
  32. ----------------
  33. base parameter is now passed to built in flash node mark up function so that
  34. movies using loadMovie or loadSound behave as expected.
  35. 31 January 2008
  36. ---------------
  37. - Added
    wrapper around flash node generated
  38. markup so it can be targetted with CSS. Note - if using SWF Tools markup
  39. then it will be wrapped in
  40. 29 January 2008
  41. ---------------
  42. Changed theme implementation back ported from flash node 6 development as I
  43. think it is probably a better / simpler implementation.
  44. theme_flashnode now takes an optional parameter to indicate whether a teaser is
  45. being prepared. Although flash node does not use this it is provided to allow
  46. alternative theme functions the ability to vary their output depending on the
  47. display mode (e.g. make teaser output a specific size)
  48. Theme functions re-configured so that theme_flashnode now takes care only of
  49. manipulating flash node objects to prepare them for presentation, while
  50. theme_flashnode_markup now does all the work of producing HTML. This means a
  51. custom themer can focus on changing just one part of the presentation process.
  52. For example, the teaser size could be customised in theme_flashnode prior to
  53. calling theme_flashnode_markup which then returns either javascript or direct
  54. embedding markup.
  55. theme_flashnode_markup has been left as a theme function so an end user can
  56. over-ride the entire markup process if they wish, for example, they could use
  57. an alternative to swf tools by over-riding theme_flashnode_markup.
  58. 26 January 2008
  59. ---------------
  60. Another user has tested bulk import feature and reported it as working, so
  61. will commit this and create a new release. Slight code change to import now
  62. uses default display mode as configured on settings page.
  63. Bug fix - remove reference to FLASHNODE_DEFAULT_HTML_ALT that was accidentally
  64. copied from the version 6 module!
  65. 23 January 2008
  66. ---------------
  67. First attempt at back-porting the bulk import routine from D6 version.
  68. Probably a little rough around the edges, but it seems to be working.
  69. 22 January 2008
  70. ---------------
  71. Backports from D6 development...
  72. In response to feature request the default display mode and list of allowed
  73. file extensions have been made user configurable.
  74. In response to feature request new permissions have been added so that the
  75. basic, advanced or display mode settings can be hidden from users. If the
  76. basic settings are hidden then uploading a new file forces the height and
  77. width to be reset. If the height/width setting is accessible then this action
  78. does not occur (which is actually unchanged behaviour).
  79. 18 January 2008
  80. ---------------
  81. Fix bug with base setting. Leading period is not needed!
  82. 05 December 2007
  83. ----------------
  84. Adds some changes to Flash node for Drupal 5 that prepares for upgrade to
  85. Drupal 6. In particular there will be a change to the Drupal {files} table
  86. that will see nid being dropped. Therefore the {flashnode} table needs to
  87. store more data. This update amends existing nodes, and starts storing
  88. data for the new system. It also assigns the vid to each entry in the
  89. {flashnode} table since this will be needed for version 6 which will be able
  90. to handle revisions.
  91. Also re-commits changes of 03 October onwards as these appear to have gone
  92. astray somewhere!
  93. 02 November 2007
  94. ----------------
  95. Back ported "stand alone" mode from Drupal 6 development, so Flash node can now
  96. work without needing SWF Tools. However, if SWF Tools is available then Flash
  97. node will use it in place of its built in HTML method.
  98. Fixed another bug in the macro system that meant content with no scaling didn't
  99. appear!
  100. Flash node settings now appear under Administer > Site configuration > Flash
  101. node, rather than under SWF Tools, since Flash node can be used without
  102. SWF Tools.
  103. Warning messages generated when creating or displaying flash are now shown with
  104. status of warning so they contrast with confirmation messages.
  105. At present I don't intend to port back much more from Drupal 6 module!
  106. 01 November 2007
  107. ----------------
  108. When updating for Drupal 6 discovered that the scaling feature of flash
  109. macros was not working properly (at all!). Fixed.
  110. 03 October 2007
  111. ---------------
  112. Removed upload check based on reported mime type as this proved to be
  113. unreliable and some browsers reported the mime type as unknown/unknown.
  114. There may still be a residual issue for some users who seem to be
  115. experiencing upload failures associated with the core Drupal upload function
  116. but I have not been able to reproduce the error on my test system at this
  117. time.
  118. 16 August 2007
  119. --------------
  120. Finally got round to some more updates on Flashnode! Added ability to accept
  121. flv and mp3 files as upload. These are passed to SWFTools for rendering using
  122. the selected player settings.
  123. Fixed a bug in flashnode_delete that meant flash files weren't deleted when
  124. the parent node was deleted.
  125. 4 June 2007
  126. -----------
  127. SWFTools is now available as an official release. Final tweaks to get
  128. flashnode ready for next release. As final test it is now uploaded and
  129. running on stuartandnicola.com!
  130. 27 May 2007
  131. -----------
  132. Added a maximum displayed height / maximum displayed width setting so that
  133. the admin can limit the displayed height / width of flash content to
  134. prevent page layouts being broken. Movies that are smaller than the limits
  135. are displayed as normal - movies that are larger are scaled down as needed.
  136. The limits are applied during the display routine, so will be applied to
  137. content inserted via the macro format too. The feature can be switched off
  138. by setting a limit value of zero. This feature added in response to a user
  139. request.
  140. 18 May 2007
  141. -----------
  142. Added base as a parameter to allow migration of content. base defaults to
  143. the correct path to access the default files directory, but can be
  144. over-ridden on a node by node basis if required.
  145. 16 May 2007
  146. -----------
  147. Various bug fixes addressed.
  148. Comments improved to make code easier to understand (hopefully!)
  149. flashnode_content updated so that if called without a filter format it will
  150. assume FILTER_FORMAT_DEFAULT (to make calling from PHP easier)
  151. 8 May 2007
  152. ----------
  153. As flash node now has the option to use user provided substitution text the
  154. macro filter must process the markup through the filters for the node. When
  155. displaying flash in its own node this happens as part of flash_view, but the
  156. macro returns markup via a different method. We must force the markup check
  157. as we don't know if the flash macro is being called first or last. The call
  158. to hook_filter provides the appropriate format as a parameter, so we use this
  159. to run check_markup(). This means that the substitution content is filtered
  160. using the input format that applies to the node where the flash is being
  161. rendered, not the parent node where the original file is stored!
  162. 6 May 2007
  163. ----------
  164. Installer written that (hopefully) handles migration from flash to flashnode.
  165. Installation steps are to disable the old flash module in Drupal. Probably next
  166. is best to delete the folder. Then upload flashnode and activate it. Upon
  167. installation it should run an update routine that migrates flash to flashnode.
  168. The installer proved a little tricky to write since Drupal treats the set up as
  169. a first time install of the module, and so the update routines don't run, so
  170. we have to force it. Only tested on MySQL as that is my system, but should work
  171. on both...
  172. 5 May 2007
  173. ----------
  174. Major overhaul of basic code - there were a number of bugs in the way the
  175. upload and preview code was working that meant resetting to defaults after
  176. previewing was not working correctly. A major headache to fix, but think it
  177. is ok now.
  178. 1 May 2007
  179. ----------
  180. Migration towards SWFTools integration underway!
  181. 21 April 2007
  182. -------------
  183. Slight change to _flash_check_settings() as module is being prepared for
  184. addition to Drupal repository and ufo.js cannot be included. check_settings
  185. will now check for presence of ufo.js, warn if it is not found, and offer a
  186. link the zip file.
  187. Where module name is displayed to end user it has been changed to Flash node
  188. to bring it in line with the Drupal project name. Internally it is still
  189. just flash, but starts migration toward correct project name. Next release
  190. will be flashnode both externally and internally.
  191. UPDATE.txt instructions added for users coming from the original direct
  192. download version of the module. Updating is easiest if the old module is
  193. removed first. No content is lost doing it this way!
  194. 20 April 2007
  195. -------------
  196. Bug fix: updating a flash node did not reset the filter cache, so nodes that use
  197. flash macros did not update to reflect new content. Thanks to Andreas Hennig for
  198. reporting this one!
  199. 06 April 2007
  200. -------------
  201. Forgot to amend flash.install so it didn't create fid in the first place! Fixed.
  202. 04 April 2007
  203. -------------
  204. Discovered that the update routine didn't add the fid column, but then realised
  205. fid isn't actually needed, so the update is to drop it if it exists!
  206. 16 March 2007
  207. -------------
  208. Some minor changes to the string formatting, to make better use of t('')
  209. 24 February 2007
  210. ----------------
  211. First version for Drupal 5.x!
  212. Main change is to the code to use the new administration callback.
  213. Otherwise module is much as it was before!
  214. I guess this makes it version 5.x-1.0
  215. 12 December 2006
  216. ----------------
  217. Flash field was not required so it was possible to submit a node without having
  218. a flash file linked to it. A file must now be given before you can submit node.
  219. Flash field renamed to Flash file to make it clearer what is needed.
  220. Flash field had a a weight of -3 which meant it rose to the top when editing -
  221. weighting removed so it appears in main flash area now.
  222. 06 December 2006
  223. ----------------
  224. Some minor changes and extra comments.
  225. Nothing significant.
  226. Version number changed to 4.7.x.1.1 to bring in line with Drupal module scheme.
  227. 28 November 2006
  228. ----------------
  229. First version for Drupal 4.7!
  230. All functionality of original module retained.
  231. .install written to automate creation of {flash} table in the database.
  232. Ready for release for testing (I think!)
  233. 26 April 2006
  234. -------------
  235. Version 1.4
  236. Filter added to allow Flash to be re-used in other nodes.
  237. Filter allows various scaling methods to re-size flash content.
  238. 18 April 2006
  239. -------------
  240. Code tidied up further, and validation routine made neater.
  241. Some minor changes to _load.
  242. Probably ready for this to be released and tested fully!
  243. 18 April 2006
  244. -------------
  245. Some serious debugging as a few glitches became apparent!
  246. Also made it so if version or build are left blank they will reset to the defaults automatically.
  247. Error handling made neater so if invalid file loaded other errors should be skipped.
  248. 17 April 2006
  249. -------------
  250. Now uses image_get_info to try and determine the flash movie size.
  251. 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.
  252. Changed the configuration page to allow this too, by allowing empty height and width settings.
  253. 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!
  254. Changed text area title to Body.
  255. 17 April 2006
  256. -------------
  257. Tidied up a lot, and removed redundant image.module elements.
  258. All flash data combined in $node->flash for ease of understanding.
  259. Remove fid from {flash} table - no longer needed.
  260. 16 April 2006
  261. -------------
  262. First version for Drupal 4.6