| /[drupal]/contributions/modules/node_expire/node_expire.module |
Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
New features: * Node expiration REQUIRE option
New features: * Max expiration date.
Improvements: * Better interface when the user have the 'administer nodes' permission
Bugs fixed: * #365379 by brmassa: Fatal Error on Cron Run (when no rule trigger created)
New features: * Complete module rewrite. It now uses Rules module in order to allow admins to perform a customizable list of actions with expired nodes. Also export all data to Views (if enabled) and uses jQuery UI DatePicker plugin (if enabled). NOTE: not yet compatible with previous versions
Bugs fixed: * Several small UI problems
Internals: * Some unused code removed
Improvements: * User's entered Node Expire data for Book nodes were overwritten when saving. Its not needed anymore, since users cannot change these data
Improvements * 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
Improvements: * The node form now adds the node expire values even if the user has no permission to modify it.
Improvements: * _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
Improvements: * Simplify the 'insert' and 'update' operation on hook_nodeapi().
Improvements: * Simplify the 'prepare' operation on hook_nodeapi().
Improvements: * Check if the Node Expire feature is enabled for the given nodetype before execute any operation on hook_nodeapi().
Internals: * 'expiration_type' PHP variable renamed to 'expiremode' for consistency to the DB field
Internals: * 'expire' DB field renamed to 'expire_timefrom' for consistency to the rest of the PHP code
Improvements: * hook_nodeapi()'s 'view' operation removed * hook_nodeapi()'s 'load' operation added
Improvements: * 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).
Internals: * Simplify the access for outdated nodes' list
Bugs fixed: * url() function changed the argument list on D6 * SQL statement with ambiguous fields
Improvements: * hook_cron() unpublish nodes' code is somewhat optimized
Improvements: * Strings related to a list of periods now uses arguments for the sake of translators
Improvements: * Better 'expired nodes' admin page code * 'expired nodes' now uses theme function
Internals: * Since date functions are not standardized thru DBMS, node_expire now uses normal timestamp integers to represent dates
Internals: * Since date functions are not standardized thru DBMS, node_expire now uses normal timestamp integersto represent dates
Improvements: * Code organization * Minor performance improvements
Improvements: * Code organization
Improvements: * Code organization
Bugs fixed: * A menu item definition was wrong
Bugs fixed: * Correct access callback function
Bugs fixed: * Parameters to drupal_mail() have changed
Improvements: * in most cases (when dealing with potential Unicode strings), replace the string function with the drupal_ equivalent string functions
Improvements: * in most cases (when dealing with potential Unicode strings), replace the string function with the drupal_ equivalent string functions
Improvements: * 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.
Bugs fixed: * Small PHP code error
Bugs fixed: * db_num_rows() has been deprecated
Bugs fixed: * Page access on Drupal 6 changed.
Improvements: * Move non hook functions to a specific file, reducing the module footprint * Code organization
Improvements: * Move more settings/admin functions to a specific file, reducing the module footprint
Improvements: * Move settings/admin functions to a specific file, reducing the module footprint
Bugs fixed: * Since DB table does not use enum values anymore, we needed to replace it by numbers and constants
Improvements: * Drupal code standards compliance: The first parameter to t() should be a literal string. There should be no variables, concatenation, constants or other non-literal strings there.
Improvements: * Drupal code standards compliance: In format_plural(), the singular and plural strings should be literal strings. There should be no variables, concatenation, constants or even a t() call there.
Improvements: * Drupal code standards compliance: Use ANSI standard <> instead of !=
Improvements: * Drupal code standards compliance: string concatenation should be formatted with a space separating the operators (dot .) and non-quote terms
Improvements: * Drupal code standards compliance: string concatenation should be formatted without a space separating the operators (dot .) and a quote
Bugs fixed: * hook_form_alter() parameters have changed
Improvements: * Drupal code standards compliance: use $form_state['values'] instead, which is where the values are stored after a submit
Improvements: * Drupal code standards compliance: The parameters for form validation and submission functions have changed to $form, &$form_state.
Improvements: * Drupal code standards compliance: use $form_state['values'] instead, which is where the values are stored after a submit
Improvements: * Drupal code standards compliance: Missing period
Improvements: * Drupal code standards compliance: Format should be * Implementation of hook_foo().
Improvements: * Drupal code standards compliance: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
Improvements: * Drupal code standards compliance: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
Improvements: * Drupal code standards compliance: Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE
Improvements: * "&&" replaced by "and" for readability
Improvements: * Drupal code standards compliance: Use "elseif" in place of "else if"
Improvements: * Fixed the comment style, according the Drupal code standards
Bugs fixed: * hook_menu for Drupal 6 has several changes. All done
Improvements: * Better Drupal coding standard compliance: file Id correctly placed
Added the email template variable "!section_unpublishdate" (request #186209)
Updated the PostgreSQL date fix to take up less space, and be more efficient.
- Added more time options for "Timeout for automatic unpublishing" (request #175158) - Switched setting forms to use Drupal's system_settings_form function. - Removed MySQL-independent queries to just use ANSI SQL for better future support.
Fixed bug where updating the expiration of a node and its children would fail if no parent data was found. (bug #167957) Fixed bug where the node parent wasn't being honored for the node being edited.
Added optional JSCalendar integration
* Minor alterations were made to the node_expire table for better performance. * MyISAM declaration removed * Experimental PostgreSQL support added (http://drupal.org/node/160612) * Fixed typo in upgrade script for HEAD to 5.0 support * Fixed function names for upgrader which caused node_expire not to be detected. * Tag "!section_editlink" was returning a link to the node rather than the node edit page. * Tag "!section_nodelink" was added to allow previous users to get the same results they were getting before. * Minor gramatical changes were made to the settings page. * Default sort order for the "Currently Expired Node" page was changed from Descending to Ascending
Fix for bug #150006. Fixes incompatibility with pre-MySQL v4.1.1.
Implemented patch #147380 by Wim Leers. Also added missing t() wrappers on related arrays.
Fixed typo causing only 1 expired node to be recorded as having its notification sent causing several notices to be sent out for a single expired node.
Fixed minor typo preventing user's from disabling book inheritance.
Added ability for the admin to choose the defaults for each node type. Moved per-node enabling to the default page as well. Feature request: http://drupal.org/node/143379
Added ability for the admin to choose the defaults for each node type. Moved per-node enabling to the default page as well. Feature request: http://drupal.org/node/143379
Added requested feature to hide the expiration settings on a per-node basis. Request: http://drupal.org/node/142592
Added requested feature to hide the expiration settings on a per-node basis. Request: http://drupal.org/node/142592
Added requested feature to hide the expiration settings on a per-node basis. Request: http://drupal.org/node/142592
Added validation to the CC address field.
Module rewrite for Drupal 5 and extra features.
adding node_expire module
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |