summaryrefslogtreecommitdiff
path: root/modules/node/node.module
Commit message (Collapse)AuthorAge
* Removed node_get_node_from_nid() and modified node_load() to take an ↵Dries Buytaert2003-06-01
| | | | optional 2nd arguments to return a specified revision. Patch be Kjartan.
* - Committed Al's rollback fixes and the title improvements. Thanks again.Dries Buytaert2003-05-31
|
* - Michael Frankowski's excellent help text improvements!Dries Buytaert2003-05-29
|
* - Fixed braino. Reported by Remco as bug #1787.Dries Buytaert2003-05-28
|
* - Fixed validate problem. Patch by Ax.Dries Buytaert2003-05-26
|
* - Removed check_output() from the theme system layer.Dries Buytaert2003-05-26
|
* - Undid Kjartan's latest change (it breaks the feeds) and fixed it properly.Dries Buytaert2003-05-25
|
* - Moved the theme("header") call in node_page outside the access check so theKjartan Mannes2003-05-24
| | | | page renders properly when a user does not have access to content.
* - Updated Drupal to use "on output" filters. Derived from Gerhard's patch.Dries Buytaert2003-05-24
|
* - Fixed typo in URL(). Patch by Al.Dries Buytaert2003-05-23
| | | | | - Added a filter option to disable/enable the rewrite_old_urls() filter. See task #1542.
* - Some fields can be passed through the $_GET array (eg. to make the "blogDries Buytaert2003-05-19
| | | | it" modules work). Patch by Ax.
* - Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski.Dries Buytaert2003-05-13
| | | | | | | | | | | | | - Fixed a typo in the MSSQL database scheme. Patch by Michael Frankowski. - Removed dependency on "register_globals = on"! Patches by Michael Frankowski. Notes: + Updated the patches to use $foo["bar"] instead of $foo['bar']. + Updated the INSTALL and CHANGELOG files as well. - Tiny improvement to the "./scripts/code-clean.sh" script.
* - Added an option to make "node previews" optional. Patch by n8. SeeDries Buytaert2003-05-10
| | | | "site configuration > modules > node".
* - Fixed the function prototypes of the newly introduced theme_user_list(),Dries Buytaert2003-05-02
| | | | | theme_node_list(), and theme_menu_list(). This will fix the excessive gap between lists and avoids generating empty <b></b> constructs.
* - Committed Adrian's item patch. It would be nice if one or more of theDries Buytaert2003-04-29
| | | | standard themes could be updated to demonstrate the possibilities.
* - Fixed some PHP "notices".Dries Buytaert2003-04-21
|
* - Fixed bug #1545: incorrect sequence tables on PostgreSQL. Patch by Neil.Dries Buytaert2003-04-20
| | | | | In addition, I have updated update.php so it makes the corresponding changes for MySQL users.
* - Node API improvements by Moshe:Dries Buytaert2003-04-15
| | | | | | | | | | | | | | | "implemented pieces of kjartan's original nodeAPI patch. the mingling of other modules into node.module logic decreases (a good thing). for example, the string "taxonomy" now appears nowhere in node.module - moved the saving of taxonomy terms when submitting a node out of node.module and into taxonomy.module - moved the deletion of comments while deleting a node out of node.module and into comment.module - improved usability of node forms by including node type in the title of the box and page"
* A batch of changes:Dries Buytaert2003-04-14
| | | | | | | | | | | | | | | | | - Renamed '---' to '<!--break-->'. - Removed hard-coded call to the statistics module from the node module. Patch by Gerhard. - Removed tables from poll module. Modified patch by Al. Changes to Al's patch are: "polltext" -> "poll-text" "pollfg" -> "poll-foreground" "pollbg" -> "poll-background" - Changed some 'statistics.foo's to 's.foo's. Patch by Gary. [If this closes any bug reports, please update them on drupal.org.]
* - Fixed some SQL query directives.Dries Buytaert2003-03-29
|
* - Bugfix: deleting a node should flush the cache.Dries Buytaert2003-03-16
|
* - All LIMIT queries must go through the pager or through db_query_range().Dries Buytaert2003-03-16
| | | | | | | | | | | | | | | The syntax for db_query_range() was enhanced so it matches db_query(). So you may pass extra arguments of the SQL statement which are checked via check_query() and then substituted into the SQL statement. After these optional arguments, you always pass $from and $count parameters which define your range. Most often, the $from is 0 and the count is the max number of records you want returned. Patch by Moshe. - The pager_query() function for PEAR was enhanced so that it adds proper GROUP BY statement counting the number of records to be paged. Patch by James Arthur. - MSSQL database scheme by Moshe.
* - Modified patch of Moshe. Enhances the tracker module so it displayes recentDries Buytaert2003-03-14
| | | | | | *nodes* in addition to comments. This will be helpful for tracking down new book nodes, blog posts, news items, and other stuff which isn't interesting enough to be promoted to the home page.
* - Fixing typos.Kjartan Mannes2003-03-11
|
* - Added another security layer.Kjartan Mannes2003-03-10
| | | | - Modified some moderation logic to make it more workable.
* - Ahem , trailing spaces.Kjartan Mannes2003-03-09
|
* - Moved moderation logic back into node module.Kjartan Mannes2003-03-09
| | | | | | | | | | * After having a chat with Dries we have agreed on the logics (or more specifically he told me how its supposed to work). The queue module is just a method to make moderation public, but its not necessarily the only way. This brings the power back. - Minor interface tweaks (names, case changes, etc). - Fixed error that would show when you tried to view the profile of a blocked user.
* - Changed _nodeapi("conf") to _nodeapi("settings").Kjartan Mannes2003-03-08
| | | | | - Changed node settings page to use table(). - Minor code beautification here and there.
* - Renamed "form.admin" to "form admin".Kjartan Mannes2003-03-07
| | | | | | | | | | - Added node_admin_settings() to let users set node defaults. * Added _nodeapi("conf") - Modified form_checkbox() to unset options. (Modified the patch from Ax.) - Removed the _save() hook. - Fixed a logical flaw in field_get() and field_set() which would break moderation. - Moved some admin menus around and cleaned up some typos.
* - Removed the path_uri() function in favor of the $base_url variable andDries Buytaert2003-03-07
| | | | fixes a handful of bugs introduced by the clean URL patch.
* - Fixed the "adminster" link at the bottom of every node's display. PatchDries Buytaert2003-03-02
| | | | by Al.
* - Fixed some typos spotted by Al Maw.Dries Buytaert2003-02-25
|
* - Fixed typo. Patch by Garym. (Something went wrong with my earlier commit.)Dries Buytaert2003-02-23
|
* *** empty log message ***Dries Buytaert2003-02-23
|
* - New menu houskeeping. Prototyped by Zbynek.Dries Buytaert2003-02-20
| | | | | | | | | | | | | | | | The following modules need updating: * glossary module * feed module (Breyten's version) * mailhandler module * notify module * project module * smileys module * admin module * style module * taxonomy_dhtml module To avoid unexpected problems menu_add() is deprecated (it will print an error message when used) and menu() should be used instead.
* - Added function node_invoke_all($hook, &$node, $op, $arg = 0).Kjartan Mannes2003-02-16
| | | | | | | | | | | | - Added a _nodeapi hook that in time will replace the _node hook. Trying to make as few changes to existing code as possible until the new api is stabilized. - Modified node_form() to add administration options from other modules using the _nodeapi hook. - Modified node_save() to fetch which fields should be saved to the node table from the _nodeapi hook. - Moved comment and queue options from node_form() and node_save() to the modules _nodeapi hooks.
* - Everything is using theme("function") now instead of $theme->function().Dries Buytaert2003-02-15
|
* - See http://lists.drupal.org/pipermail/drupal-devel/2003-February/021824.html.Dries Buytaert2003-02-11
|
* - Applied Alastair's date patch.Dries Buytaert2003-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | - Removed all instances of '$user->nodes'. - Committed Moshe's taxonomy patch - minus the node_compact_list() bit. It needs a bit more thought/work. This patch changes the links of taxonomy pages/feeds so update your custom code and themes accordingly! Themes should now use "taxonomy_link("taxonomy terms", $node)" to get an array of taxonomy term links. The old construct is deprecated and should be changed. // old theme blob: if (function_exists("taxonomy_node_get_terms")) { foreach (taxonomy_node_get_terms($node->nid) as $term) { $terms[] = l($term->name, NULL, array(), "or=$term->tid"); } } // new theme blob: if (module_exist("taxonomy")) { $terms = taxonomy_link("taxonomy terms", $node); } // old URL: http://foo.com/index.php?or=1,2 // new URL: http://foo.com/?q=taxonomy/page/or/1,2
* - Removed redundant code.Dries Buytaert2003-02-02
|
* - Renamed "Allow HTML tags" to "Filter HTML tags" for clarity. Reported byDries Buytaert2003-01-29
| | | | Ax.
* - Moved the filter()s back to the individual node modules as it used to be.Dries Buytaert2003-01-23
|
* - Tidied up XHTML. Patch by Ulf.Dries Buytaert2003-01-23
| | | | - Added missing t() function. Patch by Stefan.
* - Small improvement to the admin menu based on feedback from Michael.Dries Buytaert2003-01-14
|
* - Fixed a typo that caused quite a few redundant SQL queries.Dries Buytaert2003-01-12
|
* - Code improvement: forgot to update an URL to the clean URL scheme.Dries Buytaert2003-01-09
|
* - Clean URL patch.Dries Buytaert2003-01-06
|
* - Added an extra parameter to watchdog() which lets you specifiy an "action"Dries Buytaert2003-01-04
| | | | | | | | | or "operation" link. - Made the main page of the administration section show an overview of all watchdog entries with such action link. - Fixed typo in PostgreSQL database scheme.
* - Tidied up the use of check_output(). Might make rendering pages a bitDries Buytaert2002-12-31
| | | | snappier (performance improvement).
* - Some small improvements/fixes to the node system. Suggested by Marco.Dries Buytaert2002-12-30
|