summaryrefslogtreecommitdiff
path: root/modules/rating.module
Commit message (Collapse)AuthorAge
* - 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.
* - Improved the rating module: made it possible to define "weights"Dries Buytaert2001-05-24
| | | | | | | | for the different content types. These weights are used when calculating each user's gravity. This is a required step before we can even think of "nodifying" the diary or headline module. - Polished a bit more on the other modules' crons.
* - Improved the crons and cron settings a bit.Dries Buytaert2001-05-24
| | | | | - Added a cron to queue.module to automatically discard or dump nodes older than x days.
* 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.
* CHANGES:Dries Buytaert2001-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Rewrote the cron system. Removed cron.module and moved all cron related options to settings.module. Cron was a confusing thing: it has been made simpler both in terms of code and configuration. + You had to rehash your modules to make the cron show up in the list. This is no longer required. + You couldn't tell what cron "watchdog" or cron "story" were up to. Instead, we now display a clear description message for every cron involved. + The user interface of setting.module - and the admin section in general, looks a bit ackward but I couldn't care less and don't want to see this improve at the time being. - Improved setting.module: + Now uses variable_set(). + Added some help and documentaition on how to setup cron. - Improved ./export. - Updated CHANGELOG. TODO: - I'm now going to look into UnConeD's question with regard to check_output() and $theme->node(), as well as the filter and macro stuff. I'll probably be fine-tuning setting.module a bit more on my way.
* I added a trailing dot to the numbers in the ratings list. Call me a ↵Steven Wittens2001-05-13
| | | | perfectionist...
* - Uhm. Rewrote the module system: less code clutter, less run-timeDries Buytaert2001-05-05
| | | | | | | | | | | | | | | | | | | | overhead, and a lot better (simpler) module API. I had to edit a LOT of files to get this refactored but I'm sure it was worth the effort. For module writers / maintainers: None of the hooks changed, so 95% of the old modules should still work. You can remove some code instead as "$module = array(...)" just became obsolete. Also - and let's thank God for this - the global variable "$repository" has been eliminated to avoid modules relying on, and poking in drupal's internal data structures. Take a look at include/module.inc to investigate the details/changes. - Improved design of the content modules "story", "book" and "node" (to aid smooth integration of permisions + moderate.module). I'm still working on the permissions but I got side tracked for which I "Oops!".
* - improved rating module: it now shows some basic statistics :-)Dries Buytaert2001-04-07
| | | | | | - updated database files - removed affialiate-site and drupal-site module: maintain them by hand through a box for now will you.
* - a bunch of various updatesDries Buytaert2001-04-05
|
* - various smaller improvementsDries Buytaert2001-04-04
|
* - removed debug informationDries Buytaert2001-03-31
|
* - removed debug statementDries Buytaert2001-03-30
|
* - fixed issue depricated call-by-reference issuesDries Buytaert2001-03-29
| | | | | | | | | - fixed small visual glitch in includes/function.inc - changed SQL tables around a bit to be more consistent (result: small changes to a lot of different files) - improved robustness of includes/node.inc - improved output of cron.module - improved output of node.php
* Flushing my backlog (in case Natrak wants to make more changes):Dries Buytaert2001-03-28
| | | | | - tidied up some of the code - fixed a small problems
* - a small change to the rating algorithm: you get only 1/2 a bonus pointDries Buytaert2001-03-25
| | | | | for each succesful node and you loose 1/2 a bonus point for all dumped nodes
* - the rating module now thinks in terms of nodes: every new node type thatDries Buytaert2001-03-24
| | | | | extends node will automatically get involved in the rating game so not just the stories only. ;-)
* - applied David Norman's patch to turn all <?'s into fully qualifiedDries Buytaert2001-03-10
| | | | <?php's.
* A rather large and important update:Dries Buytaert2001-03-07
| | | | revised most of the SQL queries and tried to make drupal as secure as possible (while trying to avoid redundant/duplicate checks). For drupal's sake, try to screw something up. See the mail about PHPNuke being hacked appr. 6 days ago. The one who finds a problem is rewarded a beer (and I'm willing to ship it to Norway if required). I beg you to be evil. Try dumping a table a la "http://localhost/index.php?date=77778;DROP TABLE users" or something. ;)
* - As I'm working down my TODO list, I updated your themes:Dries Buytaert2001-03-03
| | | | | | $theme->comment() only takes 2 parameters ever since the comment system rewrite 2 months ago. Make sure to update your local tree before you start hacking away on your themes.
* - Took all "rating logic" out of the account.module and moved it intoDries Buytaert2001-03-03
a seperate module called "rating.module". This should allow people to experiment with different rating heuristics/algorithms. - The rating module also generates a "Top 100 users" page, see: http://drop.org/module.php?mod=rating - Adjusted ./scripts/php-clean to ignore png files. (I should do it the way around and make it ignore everything but our php files.)