summaryrefslogtreecommitdiff
path: root/modules/poll.module
Commit message (Collapse)AuthorAge
* - 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.
* - Fixed the errors when adding a new poll.Steven Wittens2001-05-20
| | | | - Cleaned up the coding style
* Added poll.module, a poll module :)Steven Wittens2001-05-19
It's mainly intended as a sideblock-element as there's no real use in having them show up on the mainpage. There's no real poll-browsing system for now either. I still need to write documentation, and I'm not yet satisfied with the node-output (non-sideblock). I should be able to improve it once the $theme->nodebox ideas get finalized.