summaryrefslogtreecommitdiff
path: root/modules/forum/forum.module
Commit message (Collapse)AuthorAge
* - Bugfix: charset fixes/clean-up. Patch #52 by Al.Dries Buytaert2003-06-12
| | | | | | | | | | - Improvement: renamed some theme functions of the forum module for sake of consistency/readability. Patch #2 by Kristjan. - Improvement: usability improvements to the Xtemplate theme. Patch #3 by Kristjan. - Improvement: CSS'ified the book module pages. Patch #3 by Al. (I simplified the "l ocation" part. Al's approach gave you a bit more power but I'm not sure anyone wants to change that. Besides, this will change as soon we integrate the menu system so I kept it easy for now.)
* - Documentation improvements: improved and updated the block module ↵Dries Buytaert2003-06-10
| | | | | | | | | | | | | | | | documentation. Patch #44 by Al. We should add some real-life path examples! - Fixed the "blog it" image size. Patch #49 by Al. - Some SQL performance improvements to the forum module. This should also be more PostgreSQL safe. Patch by me. mysql> SELECT n.nid, n.created AS timestamp, u.name AS name, u.uid AS uid FROM forum f, node n LEFT JOIN users u ON n.uid = u.uid WHERE f.tid = 2 AND n.nid = f.nid AND n.type = 'forum' AND n.status = 1 ORDER BY timestamp DESC LIMIT 1, 0; ==> 0.63 sec changed to: mysql> SELECT n.nid, n.created AS timestamp, u.name AS name, u.uid AS uid FROM forum f LEFT JOIN node n ON n.nid = f.nid LEFT JOIN users u ON n.uid = u.uid WHERE f.tid = 2 AND n.nid = f.nid AND n.type = 'forum' AND n.status = 1 ORDER BY timestamp DESC LIMIT 1, 0; ==> 0.00 sec
* - Fixed various forum module queries such that they work with PostgreSQL.Dries Buytaert2003-06-08
|
* - WOOOT! Patch by Al.Dries Buytaert2003-06-06
|
* - Bugfix: better charset support for non-ISO-8859-1 languages. Patch ↵Dries Buytaert2003-06-05
| | | | | | | | | | | | | | | | | | 0029.charset.fixes.patch by Al. Could East Asia test this please. - Bugfix: made the "moderate" field behave. Patch 0030.queue.module.help.and.settings.form.patch by Al. - Documentation: revised a large part of the help texts / documentation! Al's 0024.* patches. - Documentation: added a glossary to the help module. Patch 0025.help.module.glossary.patch by Al and Michael. - Usability: first step towards unifying the terminology used in the cloud module. Patch by 0028.site.cloud.rationalize.name.patch Al. - Usability + CSS improvements: revamped the node form and removed all tables. Patch 0027.node.form.rewrite.patch by Al. - CSS improvements: patch 0026.admin.css.small.improvement.patch by Al. - Updated the MAINTAINERS file.
* - Bugfix: renamed the SQL field 'types' to 'nodes' because 'types' is a ↵Dries Buytaert2003-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reserved keyword in MySQL 4. This fixes critical bug #1618. Patch by Marco. ==> This fix requires to run update.php! - Bugfix: made sessions work without warnings when register_globals is turned off. The solution is to use $_SESSION instead of session_register(). This fixes critical bug #1797. Patch by Marco. - Bugfix: sometimes error messages where being discarded when previewing a node. Patch by Craig Courtney. - Bugfix: fixed charset problems. This fixes critical bug #1549. Patch '0023.charset.patch' by Al. - Code improvements: removed some dead code from the comment module. Patch by Marco. - Documentation improvements: polished the node module help texts and form descriptions. Patch '0019.node.module.help.patch' by Al. - CSS improvements all over the map! Patch '0021.more.css.patch' by Al. - GUI improvements: improved the position of Druplicon in the admin menu. Patch '0020.admin.logo.patch' by Al. - GUI improvements: new logos for theme Marvin and theme UnConeD. Logos by Kristjan Jansen. - GUI improvements: small changes to the output emitted by the profile module. Suggestions by Steven Wittens. - GUI improvements: small fixes to Xtemplate. Patch '0022.xtemplate.css.patch' by Al. TODO: - Some modules such as the buddy list module and the annotation module in the contributions repository are also using session_register(). They should be updated. We should setup a task on Drupal. - There is code emitting '<div align="right">' which doesn't validate. - Does our XML feeds validate with the charset changes? - The forum module's SQL doesn't work properly on PostgreSQL.
* - Bugfix: the forum module's "view" function should also call check_output().Dries Buytaert2003-05-31
|
* - Al's CSS patches. This commit improves the themability of some coreDries Buytaert2003-05-29
| | | | | | components such as lists, form items, removes an ugly hack from the archive module and should fix the poll problem (although it doesn't Opera/Konqueror).
* - Michael Frankowski's excellent help text improvements!Dries Buytaert2003-05-29
|
* - Updated Drupal to use "on output" filters. Derived from Gerhard's patch.Dries Buytaert2003-05-24
|
* - Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski.Dries Buytaert2003-05-13
| | | | | | | | | | | | | - Fixed a typo in the MSSQL database scheme. Patch by Michael Frankowski. - Removed dependency on "register_globals = on"! Patches by Michael Frankowski. Notes: + Updated the patches to use $foo["bar"] instead of $foo['bar']. + Updated the INSTALL and CHANGELOG files as well. - Tiny improvement to the "./scripts/code-clean.sh" script.
* - Applied Michael Caerwyn's "%s -> %d" patch.Dries Buytaert2003-05-07
| | | | - Changed all occurences of '%d' to %d as suggested on the mailing list.
* - Fixed some PHP "notices".Dries Buytaert2003-04-21
|
* - Bugfix: removed 'width="100%"' attributes from table tags. Patch by Al.Dries Buytaert2003-04-04
| | | | | | | "IE has a bug with tables inside divs with width=100%. I see no reason why the forum tables should be 100% - they are pretty much naturally padded to 100% as soon as anyone puts any content in them. Removing them doesn't affect functionality and improves layout compatibility on IE."
* - Added missing title description. Patch by Stefan.Dries Buytaert2003-03-25
|
* - All LIMIT queries must go through the pager or through db_query_range().Dries Buytaert2003-03-16
| | | | | | | | | | | | | | | The syntax for db_query_range() was enhanced so it matches db_query(). So you may pass extra arguments of the SQL statement which are checked via check_query() and then substituted into the SQL statement. After these optional arguments, you always pass $from and $count parameters which define your range. Most often, the $from is 0 and the count is the max number of records you want returned. Patch by Moshe. - The pager_query() function for PEAR was enhanced so that it adds proper GROUP BY statement counting the number of records to be paged. Patch by James Arthur. - MSSQL database scheme by Moshe.
* - The name of a forum node is a "forum topic", not a "discussion forum".Dries Buytaert2003-03-12
|
* - Removing some trailing whitespace I forgot to clean up.Kjartan Mannes2003-03-09
|
* - 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.
* - Fixed typo: $node->tid -> $node->tid[].Dries Buytaert2003-03-04
|
* - Theme options patch. See mailing list.Dries Buytaert2003-02-17
|
* - 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
|
* - Made it possible to print forum submission guidelines. Patch by Moshe.Dries Buytaert2003-02-02
|
* - 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.
* Patch by Marco:Dries Buytaert2003-01-15
| | | | | | | | | | | | | | | | | | - forum: fixed link to new topic - forum: new topic shows default forum correctly - forum: first_new is back; the anchor didn't consider multiple pages - forum: use standard pager, needed some changes/fixes to pager.inc - forum: some cleanup - forum: taxonomy hook - renamed first_new to simply new - added an optional parameter to pager_query for the count query - used the optional count param for paging forum topics - internal change: moving a topic doesn't duplicate the node anymore but just changes the forum (term); no change in functionality, and shadow still works (suggested by Dries). This probably also made some queries somewhat lighter. - bug fixed: anonymous users always saw "n (n new)" in the replies column - updated pager help and moved from _help to phpdoc
* - Bugfix: fixed the SQL query in _forum_topics_read to avoid counting shadowedDries Buytaert2003-01-08
| | | | topics in forums. Patch by David.
* - Clean URL patch.Dries Buytaert2003-01-06
|
* - Usability improvement; the drop-down menu showed the first vocabulary inDries Buytaert2003-01-02
| | | | the list even though it has not been selected. Reported by Adam Shand.
* - Tidied up the use of check_output(). Might make rendering pages a bitDries Buytaert2002-12-31
| | | | snappier (performance improvement).
* - Bugfix: user_save() should not be called for anonymous users. Patch byDries Buytaert2002-12-30
| | | | Marco.
* - Fixed glitch with the "leave shadow" option.Dries Buytaert2002-12-21
|
* - Made sure the taxonomy module doesn't display warning/error messagesDries Buytaert2002-12-18
| | | | | | | | | | | | | | when the taxonomy module is disabled. Reported by kyvinh. - Improved forum documentation. Modified version of Kjartan's patch. TODO: - Updating a forum topic through the admin interface, results in a duplicate (and incomplete) forum topic. Also note that "Leave shadow?" function is annoying; the status of the checkbox is lost when clicking preview. Also, I think it should be disabled be default.
* - Forum no longer counts comments from deleted nodes.Kjartan Mannes2002-12-15
|
* - Fixed bug related to recent cache changes.Dries Buytaert2002-12-14
|
* Applied patch by Natrak:Dries Buytaert2002-12-11
| | | | | | | | | | | | | - page_header() now adds Last-Modified and ETag http headers. - When running PHP as an Apache module page_header() will check the HTTP headers for conditional gets, and will only push the content when it fails. (Works for html and xml pages as they are all cached). Note: this is a PHP limitation, so until PHP makes it work for other web servers this won't work for them. - Added created field to cache database to hold the timestamp when the cache was created. - Changed cache_get() to return an object with ->data and ->created. - Update forum and locale modules.
* 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.
* * Applied slightly modified version of Marco's taxonomy patch:Dries Buytaert2002-12-02
| | | | | | | | | | | | | | | | | - Fixed a bug with get_tree and multiple parents. - Fixed 3 wrong caches (this will avoid some queries). - Extension to taxonomy_term_count_nodes() (feature #159): "currently calling taxonomy_term_count_nodes() returns the amount of nodes in each term, would it be possible to extend this function so that it would only return the amount of nodes of a certain type under each term. - Confirm deleting a vocabulary or a term (requested by Moshe). - Use form_weight() in vocabulary and term forms. - After submitting a term, we end up at the term page (requested by Moshe). - Added status messages when adding, editing and deleting vocabularies and terms - Minor clean ups * Made sure all modules use the same link delimiter; "|" for now.
* - Applied Stefan's forum module patch: changed the default settings to easeDries Buytaert2002-11-26
| | | | configuration.
* - Fixed the forum block titles such that the username is displayed correctly.Dries Buytaert2002-11-26
| | | | Reported by Jeremy.
* 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.
* * 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.
* - removed next/prev links when forum node is shown on main page.Kjartan Mannes2002-11-08
| | | | | | - title is no longer modified when shown on main page. - commented out a chunk of code in forum_view that is no in use. - coding sytle fixes.
* - Removed the hard-coded font scaling.Dries Buytaert2002-11-08
|
* - 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 ...
* - Fixing blocks for forum, queue and statistics.Kjartan Mannes2002-10-28
|
* - Fixed bug with "jump to recent comment" link.Dries Buytaert2002-10-16
| | | | | | - Fixed bug with "nex topic" and "previous" topic links. - Removed "admin"-hook all together.
* - Small improvement to the forum module block.Dries Buytaert2002-10-16
|