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