summaryrefslogtreecommitdiff
path: root/modules/book.module
Commit message (Collapse)AuthorAge
* - Applied Natrak's "create PHP content" patch.Dries Buytaert2002-11-18
|
* - Made "<root>" translatable. Patch by Stefan.Dries Buytaert2002-11-15
|
* - Some improvements to streamline book maintanance: weights and titles canDries Buytaert2002-11-10
| | | | | | now be changed on the book overview page in the admin page. Editing the "Drupal handbook" (100+ pages?) on drupal.org became a time-consuming process, hence these improvements ...
* - Added printer-friendly links to the book pages.Dries Buytaert2002-11-09
|
* - Applied db_query() fix. Thanks Gerhard and Marco.Dries Buytaert2002-10-30
|
* - sort books by weight, then title in book_render().Kjartan Mannes2002-10-24
|
* - Updated the book module documentation a bit.Dries Buytaert2002-06-09
|
* - 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.
* - 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.
* - updating all nodes to use taxonomy terms.Kjartan Mannes2002-05-19
| | | | | | | - updated node modules not to cause errors when taxonomy module is disabled. - added %date variable to user mail configuration. - added hyperlinks to admin.php?mod=system (site configuration) for easy access. - usual coding style and xhtml fixes.
* - fixing a parse error.Kjartan Mannes2002-05-13
|
* - and I missed one of those l() calls. These things are tricky :)Kjartan Mannes2002-05-12
|
* - messed up the parameters.Kjartan Mannes2002-05-12
|
* - fixed some nav links.Kjartan Mannes2002-05-12
|
* - applied Stevens link patch.Kjartan Mannes2002-05-12
| | | | | | - fixed block permissions. - fixed user admin page errors: http://www.drupal.org/node.php?id=173. - cleaned up common.inc a bit: removed format_info, path_img, field_merge.
* - making sure the nodes call filter().Kjartan Mannes2002-05-04
|
* - bug fixes:Kjartan Mannes2002-04-22
| | | | | | | | | | * fixed mails not being parsed properly. * tracker now shows user name when you view your own recent comments. * link to submission queue now points to the right place. * fixed jabber module. * theme is now activated when changed. - applied Gerhards coding style patch.
* - Applied Marco's big patch, including contributions from Moshe:Dries Buytaert2002-04-20
| | | | | | | | | | | | | | | | | | | | | | + Changed the db_query() API. + Wrapped all links in l(), lm(), la(), ..., drupal_url() functions. + XHTML-ified some HTML. + Wrapped a lot of text in the administrative pages in a t() function. + Replaced all $REQUEST_URI/$PATH_INFOs by request_uri(). + Small bugfixes (eg. bug in book_export_html() and clean-ups (eg. RSS code). + Fixed some bugs in the taxonomy module (eg. tree making bug), added new functionality (eg. new APIs for use by other modules), included Moshe's taxonomy extensions, and some documentation udpates. + ...
* - book log is now saved and shown when necessary.Kjartan Mannes2002-04-17
| | | | - fixed poll title not showing up.
* This is a major change to the system, needs more testing!Kjartan Mannes2002-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Committing Changes by Moshe Weitzman: - admin_user_account(), user_edit(), and user_view() no longer have any hard code for authentication modules. instead authentication modules implement the _user hook. - fixed a couple 'help' typos. - linked the 'REGISTER' text in the login block to the register page. this page now advertises DA better if site employs DA. - admins may now edit everything about a user account (was a feature request). - user #1 may now login immediately, in addition to receiving his password via email. Other changes: - modules and themes are now enabled/disabled in the administrative / settings / modules | themes pages. Requires SQL update and things must be enabled before your site returns to normal. TODO: enable all functionality. (For now just do UPDATE system SET status = 1;) - removed $themes from conf.php. - added a $theme->system() function where theme can specify settings. All themes in the Drupal CVS have been updated to use this. - added _system hook to modules. TODO: update modules to use this. - changed strange use of sprintf to the usual strtr. The disadvantage of sprintf is that it requires translations to keep the string order, which may not be possible in all languages. - an invalid/nonexisting theme in a user profile will now fallback to the BaseTheme instead of crashing.
* - made the user information block into two different blocks. One forKjartan Mannes2002-04-02
| | | | | | | | | | | | | | | | login and one for user information. - added link to help in book module (post-patch, see below). - applied various patches: Patch by Greg Tyrelle <greg@tyrelle.net> - tracker module now shows usernames next to comments. Patch by Moshe Weitzman <moshe@wallaware.com> - book module has a more complete help. - added administrative link to export book to html - fixed non book nodes not showing up in trees. Patch by moshe weitzman <weitzman@tejasa.com> - links can be defined in the configuration file.
* - Included documentation contributed by Moshe.Dries Buytaert2002-03-26
|
* - changed the access on the menu.create link to post content.Kjartan Mannes2002-02-28
| | | | http://www.drupal.org/node.php?id=91
* - 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.
* - Added some more explanations.Dries Buytaert2002-01-12
|
* - Added about 50 title tags.Dries Buytaert2002-01-07
|
* - Fixed a small glitch in book_tree()Dries Buytaert2002-01-01
|
* - 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!
* - "fixed" the code's indentation.Dries Buytaert2001-12-27
|
* - Back-ported Foxen/Revar's improved book_toc() function.Dries Buytaert2001-12-17
|
* - 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.
* - Fixed small form glitches.Dries Buytaert2001-12-08
|
* - 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.
* - Added "add new comment"-link (derived from a patch by Axel)Dries Buytaert2001-12-02
|
* - Added "add new comment"-link (derived from a patch by Axel)Dries Buytaert2001-12-02
|
* 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 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
* - Fixed a bug in node_submit() in that the user name was not alwaysDries Buytaert2001-11-25
| | | | correctly updated.
* - Improvement/bugfix: added a function called "book_revision_load()" toDries Buytaert2001-11-25
| | | | | | load the most recent revision that matches the specified conditions. Like that we can load the last good revision of a book page using the line: book_revision_load($page, array("moderate" => 0, "status" => 1)).
* - fixed new book pages in the queue showing up in the collaborative book.Kjartan Mannes2001-11-24
|
* - 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.
* - book.module:Dries Buytaert2001-11-18
| | | | | | + Re-introduced and re-wrote the book admin pages; there is a separate page for every book and a page with all "orphan pages" (= pages that got de-linked).
* - A couple of new node updatesDries Buytaert2001-11-12
|
* - updated the "update help"-textDries Buytaert2001-11-11
|
* - 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.