summaryrefslogtreecommitdiff
path: root/modules/poll.module
Commit message (Collapse)AuthorAge
* - 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.
* Code-style fixSteven Wittens2002-05-11
|
* Poll.module:Steven Wittens2002-05-11
| | | | | - (forgot to mention in the last update) The side-block for the poll now has node-links - Prevented 'read more' links (there's nothing to 'read more' for polls)
* Poll.module:Steven Wittens2002-05-11
| | | | - Fixed edit form not defaulting to the correct amount of choices.
* - 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. + ...
* Updated poll.module:Steven Wittens2002-04-20
| | | | | - Removed obsolete lid column (changed update.php and database.mysql) - Added short help
* - book log is now saved and shown when necessary.Kjartan Mannes2002-04-17
| | | | - fixed poll title not showing up.
* - Added Marco's long-awaited taxonmy module and patches - a replacementDries Buytaert2002-04-14
| | | | | | | | | | | | | | | | | | | for the meta system. The patches add some extra functionality to the comment system (for example, comments can be set read-only) and fix a couple of small problems. + I integrated the required SQL updates from the varius *.mysql files into the "update.php" script. Upgrading should be easy ... + I did not apply/commit the "user.diff" as requested by Marco ... + I didn't know what to do with "forum.module" and "forum2.module": what do you want me to do with it Marco? Which one should go in? + Can we remove "node_index()" now; both from "node.module" and the themes? + Thanks Marco!
* Rewrite of poll.module... improvements:Steven Wittens2002-04-07
| | | | | | - Anonymous users' voting is controlled by IP - Correct handling of multiple polls on one page - CVS compatible
* - 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.
* - 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.
* - 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.
* - fixed bug in poll.module (patch by alex)Dries Buytaert2001-09-23
|
* - improved the search system by making it context sensitiveDries Buytaert2001-09-16
|
* - Added the new user module!Dries Buytaert2001-09-16
|
* - 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).
* poll.module - made the poll-durations a lot more locale friendly (using ↵Steven Wittens2001-07-11
| | | | format_interval();)
* - account.php:Dries Buytaert2001-07-07
| | | | | | | | | | | + tidied up the texts - common.inc: + undid bad coding style + fixed typo in permissions - poll.module: + (automatically) removed tabs and trailing whitespaces
* - Fixed naughty $op behaviour, causing block.module to go fubar.Steven Wittens2001-07-07
|
* Fixed "array" being displayed at top of form.Steven Wittens2001-07-07
| | | | Dries: what was that 'bad markup' bug you mentioned?
* 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!
* - Small but significant improvements to block and box.module whichDries Buytaert2001-06-23
| | | | | | | | | | | | makes the ever-confusing "rehash modules" (see module.module) no longer needed, hence making module.module redundant. :-) - Removed module.module. - Renamed conf.module to system.module, and added some information about the available modules to system.module. - Various small changes.
* - 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 ...
* - Fixed small fix in poll.module. Patch submitted by Simone.Dries Buytaert2001-06-19
|
* - Added meta.module, an improved index.module that allows you toDries Buytaert2001-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | associate different collections - think "combobox" here - with different content types, all hardcoded references to "section" have been removed and the admin-friendliness of the meta admin section has been slightly improved. I'll keep working on it during the weekend - if time allows me to. Moreover, I'll focus on the usability/user-friendlines of the meta admin section as well as graceful input-checking, and error-handling. Requires an SQL update, see updates/2.00-to-x.xx.sql! Index.module will be removed, or meta.module will be renamed as soon we can ditch one of them. For now, having both coexist is not going to harm your setup and is useful to make a comparison and / or to migrate from index.module to meta.module. Index.module is de-coupled form the rest of the system so you will have to use meta.module after having upgraded. You have been warned. - Updated CHANGELOG.
* - Changed field_set(), field_get() and field_merge() to use ',' andDries Buytaert2001-06-11
| | | | | | | | | | | | | | | | | | | | '=' instead of ';' and ':'. It is considered to be more readable. --> A _first_ step towards and improved index.module. Stay tuned for more. + Important: If you update from CVS - apply the queries in 2.00-to-x.xx.sql! - Changed all 'attribute' to 'attributes'. + Important: If you update from CVS - apply the queries in 2.00-to-x.xx.sql! + Important: This might require to ieni-wieni small update to your custom themes and/or node-related modules: - themes: node_index($node->attribute) -> node_index($node) - node modules: attribute -> attributes
* This a rather large commit that needs a lot of fine-tuning. If youDries Buytaert2001-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update, you'll break your site as you need switching from structure to index.module: so this can be considered an intermediate commit. If you upgrade, and you are welcome to, just create a collection called "section" (for now) and assign your nodes some attributes in the described format. Feedback and bugreports are welcomed. Questions will be answered. CHANGES: - comment system: + when replying to a node (rather then to a comment), that node is displayed above the reply form. + when replying to a comment (rather then to a node), that comment is displayd above the reply form. - removed structure.inc, removed structure.module. - node.inc: + added 2 new node functions called 'node_attribute_edit()' and 'node_attribute_save()' used to 'hook in' any indexing system including your home-brewed stuff if you'd want to. Currently, index.module is the facto default index system. See story.module for usage. - book.module, story.module, poll.module, page.module, forum.module: + added preview functionality to administration section (via node module). + removed all references to structure.inc (category, topic). - moderate.module: + removed all references to structure.inc (category, topic). - book.module, story.module, page.module, forum.module: + increased the sizes of some textareas. - submit.php: + removed all references to structure.inc (category, topic). - marvin.theme: + removed dead code: function story() was depricated. - unconed.theme: + removed hardcoded references to drop.org. - marvin.theme, unconed.theme, jeroen.theme, yaroon.theme, example.theme: + removed all references to structure.inc (category, topic). TODO: - file.module, trip_link.module: + update preview functionality: see story.module for example. + remove references to 'cid' and 'tid', use 'attribute' instead: see story.module for example. - extend and build upon index.module as well as making it configurable
* - Added $theme->foreground and $theme->background vars to provide some ↵Steven Wittens2001-06-09
| | | | | | general usable colors outside of a theme. - Updated poll.module to use the new $theme color variables
* no messageKjartan Mannes2001-06-09
|
* TypoeSteven Wittens2001-06-08
|
* - Added "dirty" support for theming the poll-bars... uses $theme->pollfill ↵Steven Wittens2001-06-08
| | | | and $theme->pollempty for now.
* - Fixed block showing queued polls. Now only shows active, posted polls.Steven Wittens2001-06-07
| | | | | - Fixed votes being reset to zero when updating a poll - Fixed that weird crashing bug on the poll form (Natrak)
* Bugfix: there was still a "read more" link in the full view.Steven Wittens2001-06-06
|
* - Update for new node formatSteven Wittens2001-06-06
| | | | | - Added "read more" link for the block-version of a poll - Added mini-docs :)
* - Moved most of the options in structure.module to node.module. TheDries Buytaert2001-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | structure.module either needs work, or replacement by index.module: see "admin > node > node settings". It will do for now and it can always made better when we can think of a better solution; it is the best I could think of. Now what? index.module or structure.module? I'm currently pro index.module. - Drastically simplified "variable.inc". - Removed most dependecies on structure.module from all content related modules. Thus making our modules more modular. ;) - Fixed calculation glitch in queue.module. - Fixed potential function name clash/conflict in rating.module, and simplified some code on my way. - Started removing all global variables $status and $rstatus. Global variables are "yucky" so in near future, we will replace all global $status variables by a call to node_status(). Originally, $status was only introduced as a temporary hack and nothing is as permanent as a temporary hack so I took it out when still possible. - Changed the watchdog messages a bit.
* Shrunk the poll output... it was rather big in full-view :)Steven Wittens2001-06-01
|
* Hmmm for some reason the \r\n's in the poll output where being changed into ↵Steven Wittens2001-05-24
| | | | <br>'s... is that because of the check_output() legacy functions inside the themes? In anycase, I removed em.
* - Replaced $theme->story() by a more generic $theme->node(). All themesDries Buytaert2001-05-24
| | | | required an update (and so will your custom themes).
* Fixed the poll block being messed up a lot. Stupid objects and arrays mixup :PSteven Wittens2001-05-23
| | | | Please update drop.org as soon as possible, coz my crappy poll.mod is making drupal look bad :(
* Slight improvement to the "choiceboxes" thingie.Steven Wittens2001-05-22
|
* Let's hope fixing bugs will be just as easy next time :)Steven Wittens2001-05-22
| | | | This baby is fixed.
* Disabled the buggy cron for now. Will fix tomorrow.Steven Wittens2001-05-22
|
* (Hopefully) a fix for the "n.active" watchdog error... forgot that ↵Steven Wittens2001-05-22
| | | | node_get_XXXX() only queries node properties.
* - Removed includes/timer.inc: it has been integrated in common.inc.Dries Buytaert2001-05-20
| | | | | | | | | - Fixed a bug in node.php: UnConeD forgot to update 1 node_get_object(). - I changed the look of theme_morelink() a bit: it might not look better, but at least the output is "correct". - Various small improvements.
* - Improved node_get() so that it will try to skip one additional queryDries Buytaert2001-05-20
| | | | | | if possible (ie. to reduce the number of queries). - Automatically removed tabs and trailing spaces from the poll.module.
* - Changed the node_get_object() and node_get_array() functions to allow ↵Steven Wittens2001-05-20
| | | | | | | | multiple conditions - Added the "delete" hook for node-modules. When called, a module should do additional clean-up if necessary. - Updated all node-modules
* CHANGESDries Buytaert2001-05-20
| | | | | | | | | | | | | | | | | | | | | | - Redid settings.module and even renamed it to conf.module. * Settings are now grouped in basic categories like "system settings", "module settings" and "filters". * Added new settings to make Drupal easier to configure and to make some aspects like the watchdog scale better. - Renamed includes/settings.php to includes/conf.php. - Added filter support to conf.module and introduced filter hooks so modules can implement and export new filters. Example filters are an HTML filter (implemented), a profanity filter, an url converter, ASCII smileys to images filter and so on ... - Reworked the check_* functions: user contributed content/input is only verified and filtered once in its lifespan. NOTES - Altough this is a large commit, no database changes are required.