summaryrefslogtreecommitdiff
path: root/modules/node.module
Commit message (Collapse)AuthorAge
* - 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.
* - fixing authored dated for new posts.Kjartan Mannes2002-09-27
|
* - Applied Marco's first regex patch.Dries Buytaert2002-09-26
|
* - Applied a (modified) version of Marco's SQL sequence patch.Dries Buytaert2002-08-20
|
* - increased the "Authored by" field to max 60 chars to fit the length of validKjartan Mannes2002-07-21
| | | | usernames.
* - Added missing t() functions. Patch by Ori.Dries Buytaert2002-07-13
|
* - Made node_comment_mode() cache the mode when possible. Patch from Marco'sDries Buytaert2002-06-23
| | | | sandbox.
* - fixing some incorrect l*() calls.Kjartan Mannes2002-06-15
| | | | - fixing node_feed() to work with tax feeds. Thanks Moshe.
* - fixing an error when no DA modules were loaded.Kjartan Mannes2002-06-13
| | | | - indentation issue in node module.
* - improved module descriptions.Kjartan Mannes2002-06-08
| | | | | | | - removed admin options for queue and comment module if the modules are not loaded. - nodes are now auto promoted when queue module isn't enabled. - moderation result block is now visible by the node author.
* - adding descriptions to modules (thanks Joe + Scott).Kjartan Mannes2002-06-01
| | | | | | | | | | - fixed comment flat list view missing 1 comment. - changed update.php around a bit. * security check isn't in effect if the db hasn't been updated. * instructions re-organized. * fixed some minor updates. - updated database.mysql done by UnConeD. - changelog update.
* - Fixed but #197: "Shouldn't going to index.php?or=xxx show all contentDries Buytaert2002-05-30
| | | | | for the term rather than only promoted content?". Reported by Barry, fixed by Revar's patch.
* - cleaning up the access checks in node.module.Kjartan Mannes2002-05-29
| | | | - reverting a taxonomy patch that added $context checking to node/comments.
* - Bugfix: just before submitting a node, one could change the content ofDries Buytaert2002-05-26
| | | | | | | | | | | | | | | | | | | | | | that node to something that would not have passed the preview pages. Patch by Revar: "If you uploaded a valid file, and filled out the form right, you will get a Submit button. The problem comes in when you choose a different file to upload, and then click Submit. The filestore_save() function cannot do proper validation and handling of the form data, as it only returns a list of what node fields to save. On error, a node entry is still created, but with only the nid field set. The user can't be forced to fix their bad entry." "Add a _form_validate() node hook to process and validate any form results. That way even on Submit, the node code would check the validity of the data, and if bad, it could drop you back to the preview screen with the current bad data warnings. Have it return an array of errors that can be passed in as $error to the _form() hook. If it returns a null array, then there's no errors, and the submit can go through."
* - Now all themes use the new taxonomy stuff, we can remove the depricatedDries Buytaert2002-05-24
| | | | function node_index() - it was an empty function.
* - pending user accounts will not be notified to the site_email.Kjartan Mannes2002-05-23
| | | | | | | | | | | | | - fixed access checks on the register form, do this before you enter the _save function. If registrations are disabled the register link will no longer show (again). - changed &#187 to &raquo, using the names of entities are better than the numbers. - fixed user information being set when account is registered (properly this time, really!) - reversed the if(!...) commit. - node_add specifies more defaults. - added link to blog entries from user page.
* - node security fixes.Kjartan Mannes2002-05-22
| | | | - fixing the UI to represent what actually happens when you are an admin.
* - changing sort order.Kjartan Mannes2002-05-20
|
* - Ran the code through 'scripts/code-clean.sh': removed trailing whitespaceDries Buytaert2002-05-20
| | | | (and possibly tabs).