summaryrefslogtreecommitdiff
path: root/modules/forum/forum.module
Commit message (Collapse)AuthorAge
* - Rewrote handling of forum icons and added default icons made by StevenDries Buytaert2003-08-16
| | | | | | | | | | | | Wittens. - Renamed some column titles in the forum module as per Moshe's suggestion. - Introduced a 'more-link' class to position the 'more' links. Removed hard-coded markup from the modules. - Fixed bug in import module: the theme functions called a non-existing function.
* 1) Bugfix: changed INNER JOIN to LEFT JOIN to make forum topics with no ↵Dries Buytaert2003-08-15
| | | | | | | | | | comments show on the topic overview page. 2) Beautified the forum module views; rewritten to use the table() rendering functions, X HTML-ified the emitted code, added additional CSS tags, and removed hard-coded markup. This improves themeabality; it should be able to mimic the view and color scheme of, say, http://www.phpbb.com/. 3) Reorganized forms and links (interactive elements) to improve usability. Also ensured that the link names and page titles match. 4) Temporary removed container functionality: this simplified the work and eliminated some usability issues.
* - More help system improvements by Michael.Dries Buytaert2003-08-06
|
* - Bugfix: remove forum block caching as it contains text that can be translated.Dries Buytaert2003-07-26
| | | | Fixes bug #2329.
* - Cache system improvements by Gerhard: removed some left-overs.Dries Buytaert2003-07-23
|
* - Commited the URL aliasing patch. Thanks Matt.Dries Buytaert2003-07-16
| | | | This update requires you to run update.php!
* - Changed some INNER JOINs back to LEFT JOINs. Patch by Gerhard. Not testedDries Buytaert2003-07-16
| | | | by me.
* - Performance improvement: changed a fair amount of "left joins" to "innerDries Buytaert2003-07-12
| | | | joins". Patch by Gerhard.
* - Committed a slightly modified version of Slavica's table prefix patch.Dries Buytaert2003-07-10
|
* - Made it easier to translate the the "Jump to" link of the forum module.Dries Buytaert2003-07-08
| | | | Patch #68 by Stefan.
* - Improvement: made it possible to translate the forum module. Patch #53 by ↵Dries Buytaert2003-07-02
| | | | | | | | Stefan. - Improvement: some small changes to the user module to ease translation and to make things slightly more consistent. This should be a better alternative for patch #54. - Improvement: increase the maxlength of the node title. This should fix bug #2018 and #2176.
* - Improvements: XHTML-ifications. Patch by GmbH.Dries Buytaert2003-06-15
|
* - 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.