summaryrefslogtreecommitdiff
path: root/modules/node.module
Commit message (Collapse)AuthorAge
* - 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)!
* - a batch of updates, including some experimental changes to the moderationDries Buytaert2001-09-27
| | | | of comments and nodes.
* - Enhancement: added better help and translations to node.module.Dries Buytaert2001-09-26
| | | | (patch by Alex)
* Bug fixes mostlyKjartan Mannes2001-09-26
| | | | | | | - fixed book.module not generating next/prev links properly - re-added default node options to the admin page - fixed a potential bug in node.php. Nodes with same titles were confusing it at times, should fix the bug reported by Gerhard Killesreiter.
* - added node_page() to list what index.php used to list.Kjartan Mannes2001-09-25
| | | | | - made the front page of the system configurable. Now any <node>_page() can be set as the default page. Default is node_page().
* - bugfix #1: fixed the line that accidentically got cut off by incorrectlyDries Buytaert2001-09-25
| | | | | | | | | | | | | applying a patch. Mea culpa. (reported by Axel) - bugfix #2: incorrect deactivation of the delete link in node_links(). (patch by Axel) - improvement: added confirmation page upon deletion of a node ("Do you really want to delete this node?"), and removed the old and confusing "node has to be blocked first". (patch by Axel)
* - Fixed translation bugs (reported by Alexander Schwartz)Dries Buytaert2001-09-24
|
* - fixed HTML/XHTML typosDries Buytaert2001-09-21
|
* - Added the new user module!Dries Buytaert2001-09-16
|
* node.moduleKjartan Mannes2001-08-30
| | | | - fixed a listing bug.
* - fixed bug in node.listing as reported by JulianDries Buytaert2001-08-27
|
* - fixed some bugsDries Buytaert2001-08-16
|
* - node.module:Dries Buytaert2001-08-15
| | | | | + fixed author names not being displayed. + XHTML-ified the code.
* - Added some 'header("Content-Type: text/xml")' as suggested by Julian.Dries Buytaert2001-08-14
|
* - Changed the authentication and login scheme as discussed on the mailingDries Buytaert2001-08-11
| | | | | | list. - Fixed the export function in book.module (patch my Julian). - Fixed the comment alignment (comments got truncated).
* node.moduleKjartan Mannes2001-08-02
| | | | - some minor modifications to node_link()
* - node.module:Dries Buytaert2001-07-18
| | | | | | | + added missing t()-functions (reported by Nick). - locale.module: + renamed '$lang' to '$language' (reported by Nick).
* page.moduleKjartan Mannes2001-07-17
| | | | | | | | | | | | - added a links option so pages can be displayed on the links of the site in an easy way. (Requires an SQL update.) - made HTML and text type pages be $theme->box()ed again. - made the page body hidden in a comment during editing, in case things crash you should still be able to retrieve your code. Will keep working on a better solution. node.module - made all node types be listed in the node listings.
* - Various updates, mostly related to our RDF/RSS backend.Dries Buytaert2001-07-15
|
* - Various updates, mostly related to our RDF/RSS backend.Dries Buytaert2001-07-15
|
* - theme system:Dries Buytaert2001-07-14
| | | | | | | | | | | | | + added $theme->images() - blog.module: + improved user-friendliness and rewrote most of the output routines + made quoted text /italic/ by default + integrated discussion system like it should + ... - marvin.theme: + small visual improvements
* - common.inc:Dries Buytaert2001-07-03
| | | | | | | | | | | | | | + Made '$na' translatable on popular demand. - node.module: + replaced a confusing configuration description, as suggested by Remco. - statistics.module: + Added a 'most recent referers'-table sorted by timestamp. - drupal.module: + Small update of the links.
* - Made search.php a module, being search.module.Dries Buytaert2001-06-30
| | | | | | - Updated the permission names to be more consistent. - Small improvement to node.php.
* Extremely large commit:Dries Buytaert2001-06-29
| | | | | | | | | | | | | | | | | | - Fixed tiny quote problem in account.php. - Fixed tiny bug in comment.inc. - Fixed tiny bug in comment.module. - Fixed tiny bug in meta.module. - Simplified user_access() API. - Rewrote link system: still needs fine-tuning and testing so don't upgrade if you are running a production site. ;) Updated all modules and themes to reflect this change. All other themes and modules need updating too!
* - Fixed bug node.module bug:Dries Buytaert2001-06-27
| | | | | | | | | | | + the node scheduler did not un-schedule a node! - Fixed comment bugs (as a result of the formification): + no signatures where being attached to the comments. + check_input was used where is should have been check_output, with broken filters as the immediate result.
* - Fixed conf_save bug in node.module (reported by Jared).Dries Buytaert2001-06-25
|
* - Added a brand-new access.module which allows you to manage 'roles'Dries Buytaert2001-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | (groups) and 'permissions' ... (inspired by Zope's system). + Once installed, click the help-link for more information. + See updates/2.00-to-x.xx.sql for the SQL updates. - Modified loads of code to use our new access.module. The system still has to mature though: new permissions have to be added and existing permissions need stream-lining. Awaiting suggestions. - As a direct result of the new access system, I had to rewrite the way the top-level links in admin.php are rendered and displayed, and xhtml-ified admin.php while I was at it. TODO - Home-brewed modules need updating, home-brewed themes not. (Examples: file.module, trip_link.module) - As soon we *finished* the refactoring of the user system (KJ has been working on this refactoring already) we should consider to embed this role and permission code into account.module ...
* - block.module:Dries Buytaert2001-06-18
| | | | | | | | | | | | + renamed 'overview' to 'preview' as suggested by Kristjan. - meta.module: + renamed 'verify' to 'preview' to make it consistent with block.module. + fixed comma-bug with attribute list reported by Kristjan. - node.module: + fixed typo: "id$nid" should have been "id=$nid"
* - Merged "system settings" and "module settings" into one page. IMHODries Buytaert2001-06-17
| | | | | | | | | | it wasn't a good idea to split them up in first place, and it turned out to be quite hard to decide where to put some variables. Also moved some variables around and even renamed a few variables while doing so. - Added a page_header() and page_footer() to all top-level .php pages.
* Oops, a rather large commit:Dries Buytaert2001-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Changed meta.module, node.module and index.php to use comma-seperated lists of attributes rather then "foo=a,bar=b" lists. This makes it a a lot easier to use both modules. In addition, error handling can be discarded as it can't be made any simpler, really ... It fits rather nicely in Drupal's design so I'm getting more and more happy with this meta.module (but we are not 100% there yet). - node.module, node.inc: + Improved the node-related admin interface so that navigating back and forth the administrative menus is made both easier and faster. + Removed some redundant database fields from the node table. See 2.00-to-x.xx.sql! + Added 2 news hooks called "node_insert" and "node_update". Just like this is the case with the existing hook "node_delete" these new hooks will automatically get called when a node has been inserted or udpated. Note that this is an optional call-back that only needs to be implemented when required. With the addition of these two hooks, the node mechanism (version 1) is pretty well completed. - watchdog.module: + Fixed bug whit the 'regular messages' query in the watchdog.module. - book.module: + Fixed bug in book.module: the 'parent' was not set properly when updating a book page. + Made it so that older versions of a book page are automatically reactived upon deletion of the most recent version, i.e. when doing a version roll-back. - comment.inc: + Undid Remco's patch to comment.inc; it does not work in some cases. - conf.module: + Fine-tuned some of the options in conf.module a bit. - marvin.theme: + Visual changes to make it look better on Windows browsers. Mind to give some feedback on this? + Fixed 3 HTML typos/bugs. + XHTML-ified the theme at a best effort basis; I didn't carry the XHTML specification with me. + Made use of the theme_slogan variable to display the site's slogan. + As soon we have at least one valid XHTML theme we can wonder on how to integrate other XML namespaces (cfr. MathML story at drop.org). - database.mysql: + Updated database.mysql so that it contains all the latest "database patches".
* - Replaced um...flashy... nodelisting colors with something a bit more neutral.Steven Wittens2001-06-14
|
* - changed $this->timestamp = $node[attributes]; toKjartan Mannes2001-06-12
| | | | | $this->attributes = $node[attributes]; Makes more sense this way :-)
* - More updates to index.module.Dries Buytaert2001-06-11
|