You are here

CHANGELOG.txt in AutoFloat 7

Same filename and directory in other branches
  1. 6.2 CHANGELOG.txt
  2. 6 CHANGELOG.txt
#1676038#comment-6474406 by klausi:
  Added a section "Related projects" to the project page, linking to the Float
  filter module.
  autofloat_install(): no user provided input is involved here, removed
  filter_xss_admin().
  autofloat_install(): using placeholders with t() instead of concatenating
  variables into translatable strings. Same in _autofloat_filter_settings().

By lolandese:
  Changed the comment references in the CHANGELOG.txt to use the id instead of
  the sequential short number.
  
#1676038#comment-6434710 by lord_of_freaks:
  Removed drupal_set_message() from autofloat.admin.inc because:
  - it could never be called after a return statement
  - Drupal takes care of displaying a message already after saving the settings.

#1676038#comment-6364684 by dwieeb:
  In .module file in the drupal_add_css() function added options to group the
  css with other modules (CSS_DEFAULT) and set the 'every_page' flag option to
  TRUE.
  Changed some enclosing of strings from double to single quotes.
  Removed all markup out of t() functions.
  In .module file using the l() function to get rid of the markup in the
  t() function.
  In .css files added #content to target the body besides .content. Inspecting 
  several drupal themes, this should cover most cases. Nevertheless added a note
  about it in the README.txt and inline comments in the css files.
  In the .install file avoided variable with markup and direct markup in $t()
  function.
  In the .install file added a line to clear the variable cache after uninstall.
  
#1676038#comment-6287048 by sanchi.girotra:
  In .install file used db_delete to delete all the variable starting
  with "autofloat_%", although this method should be avoided for modules that
  might get extended by other modules and therefore might use the same variable
  prefix. Variable cache should be cleared with this method.
  In autofloat.admin removed autofloat_admin_settings_submit() as return
  system_settings_form($form) will accordingly save content in the variable
  table.
  In .module file wrapped up the conditional drupal_add_css() into a
  hook_init().
  In .module file access argument "administer site configuration" replaced with
  "administer text formats and filters". Makes more sense.

#1676038#comment-6219676 by drupaldrop:
  Added a 'Configure' link to the .info file to make the settings accessible
  from the modules overview page. Also added a notice with a link in the
  AutoFloat settings on the text format configuration page: "AutoFloat Filter
  settings are shared by all the text formats where it is enabled".

#1676038#comment-6216646 by lolandese:
  Changed regex delimiting character from '~' to '@'.
  Enhanced readability of the regex, added an x-modifier to be able to split it
  over multiple lines and add inline comments. More info at
  http://net.tutsplus.com/tutorials/php/advanced-regular-expression-tips-and-
  techniques/#more-11011
  Added other inline comments to explain better the different parts of code.
  Added a right-to-left css file to swap floats on sites where both ltr and rtl
  versions of pages exist.

By lolandese:
  Added CHANGELOG.txt.

File

CHANGELOG.txt
View source
  1. #1676038#comment-6474406 by klausi:
  2. Added a section "Related projects" to the project page, linking to the Float
  3. filter module.
  4. autofloat_install(): no user provided input is involved here, removed
  5. filter_xss_admin().
  6. autofloat_install(): using placeholders with t() instead of concatenating
  7. variables into translatable strings. Same in _autofloat_filter_settings().
  8. By lolandese:
  9. Changed the comment references in the CHANGELOG.txt to use the id instead of
  10. the sequential short number.
  11. #1676038#comment-6434710 by lord_of_freaks:
  12. Removed drupal_set_message() from autofloat.admin.inc because:
  13. - it could never be called after a return statement
  14. - Drupal takes care of displaying a message already after saving the settings.
  15. #1676038#comment-6364684 by dwieeb:
  16. In .module file in the drupal_add_css() function added options to group the
  17. css with other modules (CSS_DEFAULT) and set the 'every_page' flag option to
  18. TRUE.
  19. Changed some enclosing of strings from double to single quotes.
  20. Removed all markup out of t() functions.
  21. In .module file using the l() function to get rid of the markup in the
  22. t() function.
  23. In .css files added #content to target the body besides .content. Inspecting
  24. several drupal themes, this should cover most cases. Nevertheless added a note
  25. about it in the README.txt and inline comments in the css files.
  26. In the .install file avoided variable with markup and direct markup in $t()
  27. function.
  28. In the .install file added a line to clear the variable cache after uninstall.
  29. #1676038#comment-6287048 by sanchi.girotra:
  30. In .install file used db_delete to delete all the variable starting
  31. with "autofloat_%", although this method should be avoided for modules that
  32. might get extended by other modules and therefore might use the same variable
  33. prefix. Variable cache should be cleared with this method.
  34. In autofloat.admin removed autofloat_admin_settings_submit() as return
  35. system_settings_form($form) will accordingly save content in the variable
  36. table.
  37. In .module file wrapped up the conditional drupal_add_css() into a
  38. hook_init().
  39. In .module file access argument "administer site configuration" replaced with
  40. "administer text formats and filters". Makes more sense.
  41. #1676038#comment-6219676 by drupaldrop:
  42. Added a 'Configure' link to the .info file to make the settings accessible
  43. from the modules overview page. Also added a notice with a link in the
  44. AutoFloat settings on the text format configuration page: "AutoFloat Filter
  45. settings are shared by all the text formats where it is enabled".
  46. #1676038#comment-6216646 by lolandese:
  47. Changed regex delimiting character from '~' to '@'.
  48. Enhanced readability of the regex, added an x-modifier to be able to split it
  49. over multiple lines and add inline comments. More info at
  50. http://net.tutsplus.com/tutorials/php/advanced-regular-expression-tips-and-
  51. techniques/#more-11011
  52. Added other inline comments to explain better the different parts of code.
  53. Added a right-to-left css file to swap floats on sites where both ltr and rtl
  54. versions of pages exist.
  55. By lolandese:
  56. Added CHANGELOG.txt.