Skip to content
  1. Feb 25, 2011
  2. Dec 10, 2008
    • Bruno Massa's avatar
      Bugs fixed: · adcc65fe
      Bruno Massa authored
      * Several small UI problems
      6.x-1.0
      adcc65fe
    • Bruno Massa's avatar
      Internals: · 0a1d0c3d
      Bruno Massa authored
      * Some unused code removed
      0a1d0c3d
    • Bruno Massa's avatar
      Improvements: · 96698f66
      Bruno Massa authored
      * User's entered Node Expire data for Book nodes were overwritten when saving. Its not needed anymore, since users cannot change these data
      96698f66
    • Bruno Massa's avatar
      Improvements · e7291e96
      Bruno Massa authored
      * SQL queries where redundant in order to check if a given node already had Node Expire feature data. Its now loaded only once.
      * Several optimizations on hook_nodeapi(). Its now about 50% of the original size and its much faster
      e7291e96
    • Bruno Massa's avatar
      Improvements: · 2a4c17a5
      Bruno Massa authored
      * The node form now adds the node expire values even if the user has no permission to modify it.
      2a4c17a5
    • Bruno Massa's avatar
      Improvements: · e068598b
      Bruno Massa authored
      * Code organization on _node_expire_propagate_book()
      e068598b
    • Bruno Massa's avatar
      Improvements: · 7e52b4d2
      Bruno Massa authored
      * _node_expire_propagate_new() renamed to _node_expire_propagate_book() for consistency
      * Move _node_expire_propagate_book() to a specific file since its not needed on every page load. It make the module lighter
      7e52b4d2
    • Bruno Massa's avatar
      Improvements: · 71a75be3
      Bruno Massa authored
      * Simplify the 'insert' and 'update' operation on hook_nodeapi().
      71a75be3
    • Bruno Massa's avatar
      Improvements: · c327eb4e
      Bruno Massa authored
      * Simplify the 'prepare' operation on hook_nodeapi().
      c327eb4e
    • Bruno Massa's avatar
      Improvements: · 5a3087df
      Bruno Massa authored
      * Check if the Node Expire feature is enabled for the given nodetype before execute any operation on hook_nodeapi().
      5a3087df
    • Bruno Massa's avatar
      Internals: · 92ad3af0
      Bruno Massa authored
      * hook_update code to convert 'expiration_type' variable into 'expiremode'
      92ad3af0
    • Bruno Massa's avatar
      Internals: · a341afff
      Bruno Massa authored
      * 'expiration_type' PHP variable renamed to 'expiremode' for consistency to the DB field
      a341afff
    • Bruno Massa's avatar
      Internals: · b8dbdfed
      Bruno Massa authored
      * 'expire' DB field renamed to 'expire_timefrom' for consistency to the rest of the PHP code
      b8dbdfed
    • Bruno Massa's avatar
      Improvements: · 1e474557
      Bruno Massa authored
      * hook_nodeapi()'s 'view' operation removed
      * hook_nodeapi()'s 'load' operation added
      1e474557
    • Bruno Massa's avatar
      Improvements: · 73307e94
      Bruno Massa authored
      * Cron functions are now placed in a specific file. Its better to remove Cron's code from .module file because it wont be needed on every single page. It reduces the module footprint (memory consumption).
      73307e94
    • Bruno Massa's avatar
      Bugs fixed: · efb70033
      Bruno Massa authored
      * When there was no outdated node, an PHP error message was showing up
      efb70033
    • Bruno Massa's avatar
      Internals: · 837f769e
      Bruno Massa authored
      * Simplify the access for outdated nodes' list
      837f769e
    • Bruno Massa's avatar
      Bugs fixed: · a5614c96
      Bruno Massa authored
      * url() function changed the argument list on D6
      * SQL statement with ambiguous fields
      a5614c96
    • Bruno Massa's avatar
      Improvements: · 69b22ec1
      Bruno Massa authored
      * hook_cron() unpublish nodes' code is somewhat optimized
      69b22ec1
    • Bruno Massa's avatar
      Improvements: · 81d194e2
      Bruno Massa authored
      * node_expire_default_settings_form() now uses system_settings_form() to manage saving and reseting variables
      * node_expire_default_settings_form() validation and submit functions improved
      81d194e2
    • Bruno Massa's avatar
      Improvements: · 9eaf0f7b
      Bruno Massa authored
      * node_expire_settings_form() now uses system_settings_form() to manage saving and reseting variables
      9eaf0f7b
    • Bruno Massa's avatar
      Improvements: · ce8db787
      Bruno Massa authored
      * Strings related to a list of periods now uses arguments for the sake of translators
      ce8db787
    • Bruno Massa's avatar
      Improvements: · 8ebc186b
      Bruno Massa authored
      * Better 'expired nodes' admin page code
      * 'expired nodes' now uses theme function
      8ebc186b
    • Bruno Massa's avatar
      Internals: · e606aa7e
      Bruno Massa authored
      * Since date functions are not standardized thru DBMS, node_expire now uses normal timestamp integers to represent dates
      e606aa7e
  3. Dec 09, 2008
    • Bruno Massa's avatar
      Internals: · 0f56c866
      Bruno Massa authored
      * Since date functions are not standardized thru DBMS, node_expire now uses normal timestamp integersto represent dates
      0f56c866
    • Bruno Massa's avatar
      Improvements: · 98f2d7bb
      Bruno Massa authored
      * Code organization
      * Minor performance improvements
      98f2d7bb
    • Bruno Massa's avatar
      Internals: · 1bf1e1ef
      Bruno Massa authored
      * Use PHP's strtotime() function instead a custom-made algorithm on hook_update
      1bf1e1ef
    • Bruno Massa's avatar
      Improvements: · 7d810f42
      Bruno Massa authored
      * Code organization
      7d810f42
    • Bruno Massa's avatar
      Improvements: · 7a61a1f6
      Bruno Massa authored
      * Code organization
      7a61a1f6
    • Bruno Massa's avatar
      Bugs fixed: · 90661964
      Bruno Massa authored
      * A menu item definition was wrong
      90661964
    • Bruno Massa's avatar
      Improvements: · 86ad21dc
      Bruno Massa authored
      * Newly created DB columns are now set as indexes too
      86ad21dc
  4. Dec 08, 2008
    • Bruno Massa's avatar
      Improvements: · 87a01f04
      Bruno Massa authored
      * hook_install() now convert all DB data to the new schema
      * hook_schema() changed to reflect the new "expire" value
      87a01f04
    • Bruno Massa's avatar
      Bugs fixed: · 3d2ebfb4
      Bruno Massa authored
      * Correct access callback function
      3d2ebfb4
    • Bruno Massa's avatar
      Bugs fixed: · b541d772
      Bruno Massa authored
      * Schema data was not being returned.
      b541d772
    • Bruno Massa's avatar
      Bugs fixed: · 5b7606c5
      Bruno Massa authored
      * Parameters to drupal_mail() have changed
      5b7606c5
    • Bruno Massa's avatar
      Improvements: · df85c8f2
      Bruno Massa authored
      * in most cases (when dealing with potential Unicode strings), replace the string function with the drupal_ equivalent string functions
      df85c8f2
    • Bruno Massa's avatar
      Improvements: · b5227170
      Bruno Massa authored
      * in most cases (when dealing with potential Unicode strings), replace the string function with the drupal_ equivalent string functions
      b5227170
    • Bruno Massa's avatar
      Improvements: · f1b05f94
      Bruno Massa authored
      * SQL query handling data in a potentially insecure way by using the %s placeholder without wrapping it in single quotes. This is a potential source of SQL injection attacks when the value can come from user data.
      f1b05f94
  5. Dec 06, 2008