summaryrefslogtreecommitdiff
path: root/modules/node/node.module
Commit message (Collapse)AuthorAge
* - Made the calendar module accept a $date parameter such that youDries Buytaert2002-01-31
| | | | | | | | | | | | | | | | | | | | | | can jump directly to a certain date in the archives. Also made the calendar link to itself such that it is self-contained. - Code beautifications: quoted a lot of arrays, removed dead code and simplified a few things. - Replaced the Calendar class by one function "calendar_display": using a class (or class instance, or object) doesn't make sense in the archives' case. - Renamed "calendar.module" to "archive.module". - Fixed a /problem/ with node settings not always being saved like expected. - Reorganized the user menu: renamed a couple of links for clarity and structure. - Fixed a few typos.
* - nodes can now be set to static which will pin them to the front page asKjartan Mannes2002-01-31
| | | | | long as they are promoted and/or static. - needs an sql update.
* - increased the max limit for the HTML filter config textfield to 255.Kjartan Mannes2002-01-14
|
* - Updated some of the descriptions.Dries Buytaert2002-01-11
|
* - Added about 50 title tags.Dries Buytaert2002-01-07
|
* - Added "x new comments" feature. Requires a SQL update.Dries Buytaert2001-12-31
| | | | - Tidied up some comment related code in node.module.
* - Small improvement to the exported RSS feed.Dries Buytaert2001-12-30
|
* - import.module:Dries Buytaert2001-12-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Improved input filtering; this should make the news items look more consistent in terms of mark-up. + Quoted all array indices: converted all instances of $foo[bar] to $foo["bar"]. Made various other changes to make the import module compliant with the coding style. - theme.inc: + Fixed small XHTML glitch - comment system: + Made it possible for users to edit their comments (when certain criteria are matched). + Renamed the SQL table field "lid" to "nid" and updated the code to reflect this change: this is a rather /annoying/ change that has been asked for a few times. It will impact the contributed BBS/forum modules and requires a tiny SQL update: sql> ALTER TABLE comments CHANGE lid nid int(10) NOT NULL; + Moved most (all?) of the comment related logic from node.php to comment.module where it belongs. This also marks a first step towards removing/reducing "node.php". + Added a delete button to the comment admin form and made it so that Drupal prompts for confirmation prior to deleting a comment from the database. This behavior is similar to that of deleting nodes. + Disabled comment moderation for now. + Some of the above changes will make it easier to integrate the upcomcing mail-to-web and web-to-mail gateways. They are part of a bigger plan. ;) - node system: + Made it so that updating nodes (like for instance updating blog entries) won't trigger the submission rate throttle. + Fixed a small glitch where a node's title wasn't always passed to the $theme->header() function. + Made "node_array()" and "node_object()" more generic and named them "object2array()" and "array2object()". + Moved most (all?) of the comment related logic from node.php to comment.module where it belongs. This also marks a first step towards removing/reducing "node.php". - misc: + Applied three patches by Foxen. One to improve performance of the book module, and two other patches to fix small glitches in common.inc. Thanks Foxen!
* - Made some improvements to the line break filter/formater.Dries Buytaert2001-12-22
|
* - Fixed preview glitch in node_preview() as reported by ax.Dries Buytaert2001-12-18
|
* - Added a "queue for moderation"-toggle to a node's admin form andDries Buytaert2001-12-09
| | | | updated the node modules to support this.
* - node system:Dries Buytaert2001-12-08
| | | | | | | | + made a small change in the node overview page in the admin section such that it lists both new and updated pages by default. + reworked the filter-mechanism: it is not 100% finished yet but it sure is taking shape.
* - Working on the filter code: removed the "filter()" statemets from theDries Buytaert2001-12-08
| | | | | | | node.module; I'll move this to the individual modules as they are the only one's who know what to do best with it. - Merged node.inc and node.module.
* - book.module:Dries Buytaert2001-12-06
| | | | | | | | | | | | | | | | | | | + Added (1) support for "PHP pages" (dynamic pages), and (2) made it possible to link other node types into the book's tree/outline. It works just fine, yet the only (obvious) downside of (2) is that the navigation tree/links gets "interrupted" when you view non-book pages in the book. [SQL update required, see update.php] + Tidied up the book table. [SQL update required, see update.php] - various updates: + Fine-tuned the new node system. + Updated the inline/code documentation. + Improved teaser handling of all node types. + Made several small usability improvements to the node admin pages.
* - Fixed a small glitch in node_preview() which made adding PHP pages ratherDries Buytaert2001-12-06
| | | | annoying.
* - Bugfix: you can no longer add non-existant node types. Thanks barry.Dries Buytaert2001-12-05
| | | | - Moved all comment related logic from node.module to comment.module.
* Node and book updates:Dries Buytaert2001-12-01
| | | | | | | - Fixed a glitch in the book overview in the admin section. - When updating a book page through the admin section, no new revision is created unless explictely specified. - Improved the usability of the node and book pages a little.
* - Fixed a glitch in the news feeds.Dries Buytaert2001-11-28
|
* - fixed pass by reference errors. PHP only allows declaration of &$vars, notKjartan Mannes2001-11-26
| | | | | passing them that way. For more info: http://no.php.net/manual/en/language.references.pass.php
* - By default, spaced the "Allowed HTML tags" so that they will wrap nicelyDries Buytaert2001-11-25
| | | | without screwing with the site's layout.
* - Fixed a bug in node_submit() in that the user name was not alwaysDries Buytaert2001-11-25
| | | | correctly updated.
* - Made the search result of node.module context sensitive: it will onlyDries Buytaert2001-11-25
| | | | | | link to the admin pages if you searched from within the admin pages. - Added checks for "post content" permission (reported by Natrak).
* - Bugfix: when updating a book page, the name of the author did not change.Dries Buytaert2001-11-24
| | | | | | | | | | | | | | - Bugfix: the "Edit comments" part of the node administration pages did not display the correct comments. - Bugfix: somethimes, update in a book page would mess up the book. - Improvement: when "node administrators" update a book page through the "update this book page"-link (like regular users do), their update will be subject to moderation. - Improvement: made some intermediate changes to the filter mechanism. Needs more work.
* A set of updates to the "_link" system:Dries Buytaert2001-11-24
| | | | | | | | | | | | | - Made the /comment links/ jump to the comments instead of to the top of the page. - Replaced the "Add comment"-button by a "add new comment"-link. (This should make UnConeD jump up and down of wild excitement.) - Moved all comment related logic from theme.inc and node.module to comment.inc and comment.module (where they belong). - Added some links to ease the site's usability/navigation.
* - node module:Dries Buytaert2001-11-24
| | | | + bugfix: made it possible for users to delete their blog entries
* - modified node_save so that revisions are not validated using check_input,Kjartan Mannes2001-11-23
| | | | | | | | as this breaks revisions. - modified link_node() to take a third parameter $main, which will be passed on to _link hooks. This lets modules decide which links a node will get when shown on the main page, or when not. - updated themes to use the new syntax.
* - fixed the line filter: it should not strip v's.Dries Buytaert2001-11-20
|
* - Revised and documented the "change author"-logic used in the node formsDries Buytaert2001-11-20
| | | | | of node administrators. Fixed a bug: it was not possible to change the name to "anoymous user" (or vice versa).
* - added a "line" filterDries Buytaert2001-11-20
|
* - fixed bug with minimum teaser/blog/story sizeDries Buytaert2001-11-18
|
* - Replaced some (if not all) "Nodes" by more meaningful names/texts.Dries Buytaert2001-11-18
|
* - node system:Dries Buytaert2001-11-18
| | | | | | | | + Made the filters work again! + There is one strange thing that I can't track down though: for some reason, "^M" characters (?) are padded after newline ("\n" and / or "\r") characters.
* - A couple of new node updatesDries Buytaert2001-11-12
|
* - Made a small change to the submission rate throttleDries Buytaert2001-11-12
|
* - node system:Dries Buytaert2001-11-07
| | | | | | | | | | | | + Added the "delete node"-link: apparently it got lost during the last commit. Odd. + Changed "Edit node" to "Edit <node_name>" on the 'edit node'-page of the admin section. (There a 4 "Node"s that still need to be removed though.) + Updated the initial submission page (the old submit.php) to include some descriptions.
* - node.module:Dries Buytaert2001-11-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Changed node_form() to use good ol' tables instead of div/CSS-tags. + Revised the "revision API": I think we have both an easy and powerful API now that should make everyone happy. + Improved the usability of the rollback functionality a bit. + Removed the "view node" link from the "node overview" page in the admin section and added a "delete node" link instead. + Added a few missing translations; there might be missing more translations though. - book.module: + Made the book module use the "revision API" instead of having it poke and use the innards and underlying details of the revision system. - queue.module: + Made the queue module use the improved revision number. - module.inc: + Applied Moshe's patch: added more arguments to module_invoke() - mail-to-sql.pl: + Added support for more header fields and for folded fields Notes: - no database updates required
* - Another batch of updates. The most important bit is that the moderationDries Buytaert2001-11-04
| | | | | queue should be functional again. It's not ready yet but I'll be tuning it for the next two evenings or so.
* - node system:Dries Buytaert2001-11-04
| | | | | | | | | | | | | | | | | | + fixed a typo in node_load(): it should be faster now - book module: + removed the functions book_parent() and book_parent_query() as they were no longer needed. Gerhard & co: this should fix the occasional SQL errors you get, and should improve performance. + made the "next", "previous" and "up" links work correctly ... + XHTML-ified the code + added some missing translations I'm working on the book module now to make it possible to update book pages.
* - Made the node forms support "help texts": it is not possible to configureDries Buytaert2001-11-03
| | | | | | | | | | | | | | | | | | | | | | | Drupal to display submission guidelines, or any other kind of explanation such as "NO TEST POSTS", for example. - Added node versioning: it is possible to create revisions, to view old revisions and to roll-back to older revisions. You'll need to apply a SQL update. I'm going to work on the book module now, so I might be changing a few things to enable collaborative, moderated revisions - but feel free to send some first feedback, if you like. - Added some configuration options which can be used to set the minimum number of words a blog/story should consist of. Hopefully this will be usefull to stop the (almost empty) test blogs. - Various improvements: + Fine-tuned new node permission system. + Fine-tuned the functions in node.inc. + Fine-tuned some forms. + XHTML-ified some code.
* - Added error handling support to the <node>_form hook.Dries Buytaert2001-11-01
|
* - Another batch of updates/improvements:Dries Buytaert2001-11-01
| | | | | | | | | | | | | | | + introduced basic node permissions ("create", "delete", "update" and "view") at the node level: it's up to the "<$node->type>_module" to hide gory details (if any). + made the "blog it"-feature in the blog and import module work with the new node system, in specific with the new centralized forms. + made it possible to update blogs. + made the page module work with the new node system. + various smaller improvements.
* - A large batch of updates, amongst them a rewritten node system. MoreDries Buytaert2001-11-01
| | | | information available on the mailing list.
* - added the CVS keyword $Id$ to all files to make future version trackingKjartan Mannes2001-10-20
| | | | easier. Also changed the <? tag to <?php in some cases.
* - Removed a node's link ID (lid) as discussed on the mailing list. SeeDries Buytaert2001-10-16
| | | | | | | | | | | | | | 'updates/3.00-to.x.xx.mysql' for the required MySQL updates. - Renamed some "author" fields to "uid" fields for sake of consistency. - Fixed the coding style of some PHP files. - Fixed the moderation queue (fairly untested though). - Re-introduced the temporary SQL table in _node_get(). - Added a missing 'auto_increment' to 'updates/3.00-to-x.xx.mysql'.
* - added sequence tablesDries Buytaert2001-10-11
| | | | | | | | - fixed bug in node_page() - fixed bug in db_result() - fixed rss glitch
* - PEAR-ification of Drupal by claw: you can now host Drupal on a wideDries Buytaert2001-10-09
| | | | | | | range of databases including MySQL, PostgreSQL, MSSQL, and others. For additional information and an 'how to upgrade', check the mails sent to the mailing list.
* - fixed 2 bugs that where introduced by moving the index.php to node_page()Dries Buytaert2001-10-05
| | | | in node.module.
* - Improved search architecture derived from Axel's new search patches.Dries Buytaert2001-10-03
| | | | | | | (There is room for improvement so let's go from these ... and build on them.) - Removed some $status's by calls to node_status().
* - bugfix: renamed 'conf_default' to 'system_default'Dries Buytaert2001-10-01
|
* - fixed small glitch in node_del()Dries Buytaert2001-09-28
| | | | | | | | | | | | | | | | | | | | | - fixed small glitch in comment_del() - changed the API of the form() function. The first parameter, the "action"-attribute in the <form>-tag has been made optional. By default, it will be set to "$REQUEST_URI". Why? Because in 98% of the cases we would do: global $REQUEST_URI; $form = form($REQUEST_URI, $form_content); while we can do: $form = form($form_content); now. Update your modules (and sorry for the inconvenience)!