summaryrefslogtreecommitdiff
path: root/modules/node
Commit message (Collapse)AuthorAge
* - 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
|
* - Put back the node table paging.Dries Buytaert2002-12-29
|
* - Added table rendering functions. As an example, I changed the node moduleDries Buytaert2002-12-29
| | | | to take advantage of it.
* - Added a "submit new content" link to the admin page. Suggested by Amy.Dries Buytaert2002-12-27
| | | | (Temporary solution only - probably needs better integration?)
* - Refactored the administration pages.Dries Buytaert2002-12-24
|
* - Fixed typo: "Allow users comments" -> "Allow user comments"Dries Buytaert2002-12-24
| | | | - By default, "Allow user comments" is set to "read-write".
* - fixing doctype in rss feeds.Kjartan Mannes2002-12-21
|
* - Switched the "short version" and the "long version" on the preview page.Dries Buytaert2002-12-21
| | | | | | | | | - Removed a broken filter which caused some line breaks to be stripped. - It is now possible to create short teasers and the '---' delimiter can be outside the allowed range but not more than a factor two. - Fine-tuned teaser extraction in absence of the '---' delimiter.
* - Added DOCTYPE.Dries Buytaert2002-12-15
|
* - Committed Marco's pager improvements.Dries Buytaert2002-12-14
| | | | - Fixed another annoyance with editing content.
* - Bugfixes by Marco.Dries Buytaert2002-12-12
| | | | - Attempt to fix linebreak handling.
* o Permission improvements:Dries Buytaert2002-12-10
| | | | | | | | | | | | | | | | | | | | | | + Removed the "post content" permission and replaced it by more fine-grained permissions such as "maintain static pages", "maintain personal blog", "maintain stories", etc. o Usability improvements to teasers: + Teaser forms are no more. Teasers are extracted automatically but can also be instructed using a delimiter "---". Furthermore, when a post it too short for a teaser, the user won't be bother with teaser stuff anymore. + Added an option to set the teaser length, or to disable teasers all together. + When previewing a post, both the short (if any) and the full version of a post are shown. This addresses a common complaint; for example, when writing a book page there was no way you could preview the short version of your post. + Forum posts can be teasered now. This is particularly helpful in the context of drupal.org where we promote forum topics. o Bugfix: replaced all PHP short tags (<?) with long tags (<?php). o Bugfix: removed hard-coded dependence on comment module. o Bugfix: when the queue module was disabled, it was not possible to approve updated book pages. o Bugfix: applied modified version of Marco's node_teaser() fix.
* - Fixed node revisions.Dries Buytaert2002-12-02
|
* - Fixed "Allow user comments: disabled" no longer works and so on. Patch byDries Buytaert2002-12-02
| | | | Marco.
* - Applied Jeremy's statistics module patches:Dries Buytaert2002-11-26
| | | | | | | | | + Fixed "recent users" title/timestamps. + Added statistics_node_delete() function. - Applied Jeremy's node module patches: + Added call to statistics_node_delete(). + Fixed call to taxonomy_node_delete().
* Patch based on work of Kjartan:Dries Buytaert2002-11-17
| | | | | | | | | | | | | | - Changed cache API. - Fixed caching bug in comment.module. Odd this hasn't been reported yet. - Fixed caching bug in forum.module. - Fixed caching bug in system.module. - Fixed caching bug in block.module. - Simplified caching support in forum.module thanks to improved cache API.
* Applied Moshe's patches:Dries Buytaert2002-11-11
| | | | | | | | | | | | - Adds more title info to each line in the block: now showing author and number of comments in a unified way accross all modules. - Added pager support to blog module. - Blog module now uses standard node view, not its own hack which is more theme friendly (http://www.drupal.org/node.php?id=133). - Blog module now uses node_feed() function for making RSS feeds. since all feeds are now consolidated, a couple tweaks to node_feed() and format_rss_* would lead us to support new RSS formats easily. - Fixed bugs where unpublished entries were displayed.
* - Fixing read more link showing when teaser is empty.Kjartan Mannes2002-11-10
|
* * Added Jeremy's pager:Dries Buytaert2002-11-09
| | | | | | | | | | | | | | | | | | | | | | | "This is a simple, generic pager for Drupal-CVS. It is designed to be easily themeable and expandable. The code is highly-commented to enhance readability." "Pagers are constructed by combining the provided pieces (all of which can be easily modified to display the text or image you prefer) into your custom pager." * Statistics module fixes by Jeremy: - removed superfluous check for existence of watchdog() - saving changes in admin page displays status and returns same page - no longer return 1971/01/01 in "view statistics" table - switched from "!=" to "<>" in SQL queries for ANSI-SQL compliance - switched from "MAX(timestamp) as timestamp" to "MAX(timestamp) as max_timestamp" moving towards ANSI-SQL compliance. * Added a "theme_item_list" function to format itemized lists. Also changed a couple of modules to take advantage of it. Makes for a more consistent UI.
* - Fixed glitch in block module: the admin links were not composedDries Buytaert2002-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | correctly. Patch by Stefan. - Added missing t() functions and improved the %x directives for better readability and to ease the process of translating your site. Patches by Stefan. - Made two small additions to the 'code-clean.sh' script; it will now remove patch related junk. NOTES: - I removed the &middot; related bits. Let's tackle these later on in a separate patch after we got some sort of consensus. - I removed the 'module_exist("drupal")' check in the user module; I *think* it is incomplete and therefore incorrect. - Stefan, try using quotes in your translations and check whether everything still works. Example: translate the "Create account" button to "Create \"haha\" account \'hihi\'" and see if you can still create new accounts. Maybe automate this using a quick hack in the locale module ...
* - Committed Marco's block rewrite:Dries Buytaert2002-10-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | + Blocks are not longer called if not rendered: major performance improvement. + Fixed some bugs (preview option was broken, path option was broken). + Removed "ascii"-type blocks. + Added permission to for "PHP blocks" + ... NOTES: + You'll want to run "update.php": ALTER TABLE blocks DROP remove; ALTER TABLE blocks DROP name; + You'll want to update your custom modules as well as the modules in the contrib repository. Block function should now read: function *_block($op = "list", $delta = 0) { if ($op == "list") { return array of block infos } else { return subject and content of $delta block } }
* - Wrapped some hardcoded colors in "theme_invoke()"s; we can still createDries Buytaert2002-10-22
| | | | | | | | a drupal_error() later on but I think we better get used to theme_invoke(). - Fixed translation bug. Patch by Moshe. - Fixed PHP warning. Patch by ax.
* - fixing the logic for populating $node when adding a new node. Title, teaser,Kjartan Mannes2002-10-17
| | | | | body will now be set correctly, or be left unset if no values are included in the request.
* - submit page will now use $edit[teaser/body] if available in the initial ↵Kjartan Mannes2002-10-15
| | | | request.