summaryrefslogtreecommitdiff
path: root/modules
Commit message (Collapse)AuthorAge
* 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.
* 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.
* - Fixed bug in book.module: parent-field was not saved.Dries Buytaert2001-05-18
| | | | (reported by Remco)
* - Tidied up the field_get() API and improved the implementation ofDries Buytaert2001-05-17
| | | | both field_set() and field_get().
* - Fixed bug in account.module.Dries Buytaert2001-05-17
| | | | | | | | - Simplified field_set() API. - Made UnConeD's cool common timestamp format conform with the general coding style. Sorry to be so picky about this but I really can't help it. ;)
* - Removed the "history"-field from the SQL table "users" and addedDries Buytaert2001-05-16
| | | | | | | | | | | | | | this information to the "users"-field in both nodes and comments. This database/table change reduces the number of SQL queries and makes Drupal scale better where a lot of voting/moderation takes place. Last but not least it can be considered a new and better foundation for future moderation metrics / algorithms. In other words: it is plain better. --> oops, all voting/moderation results will be lost! --> requires database update, see "2.00-to-x.xx.sql"! - Updated database/database.mysql
* - Fixed warning in headline_admin_add().Dries Buytaert2001-05-16
| | | | (reported by Remco)
* - Fixed bug in path_uri()Dries Buytaert2001-05-16
|
* - Drastically simplified the node_save() API, which should make theDries Buytaert2001-05-15
| | | | | | | | node-forms more secure. Updated "node.module" and "queue.module" to work with the new API. The upgrade script, 2.00-to-x.xx.php, is still broken and needs fixing.
* - Created 2 new functions:Dries Buytaert2001-05-15
| | | | | | | | | | | | | | | | | | | | | + path_uri(): returns the fully-qualified URI of your drupal site. + path_img(): returns the image directory or http://image-server.com/ in case you prefer to load-balance bandwidth usage. Replaced all occurences of the variable "site_url" with path_uri() and removed "site_url" from "setting.module". - Drastically simplified the node_save() API, which should make the node-forms more secure. Updated "story.module", "book.module", "forum.module", "page.module" and "node.module" to reflect this change. This is needs more testing so hit it, beat it, tease it. - Fixed an occasional glitch in the configuration file loading logic. - Made "queue.module" display an informative notice when an anonymous user tries accessing the moderation queue. - Updated the hard-coded information in drupal.module a bit.
* TypoSteven Wittens2001-05-14
|
* - Renamed "hostname.conf" to "setting.php" (cfr. "setting.module").Dries Buytaert2001-05-14
| | | | | | | | | | | | | Note that - when upgrading - you have to rename all your existing configuration files to reflect this change: yourdomain.com.conf -> yourdomain.com.php By default, i.e. if no configuration file is found, setting.php will be used instead. Using the ".php"-extension will fix most configuration/security issues with .htaccess-files ... - Removed some dead code from forum.module.
* Updated headline.module:Steven Wittens2001-05-14
| | | | | - Added edit capabilities (allows you to view the backend-file url as well, wasn't possible before) - Docs: replaced "http://yourname.com/export/headlines.rdf" with the correct URL (using the site_url setting).
* - Fixed a problem with $format not being defined as global.Kjartan Mannes2001-05-14
|
* - Fixed a problem with $format not being defined as global.Kjartan Mannes2001-05-14
|
* - Removed the <PRE></PRE>-tags from cvs.module to make the CVS logDries Buytaert2001-05-14
| | | | messages wrap nicely on all browsers. (requested by Steven)
* I added a trailing dot to the numbers in the ratings list. Call me a ↵Steven Wittens2001-05-13
| | | | perfectionist...
* - Fixed a warning in queue.module.Dries Buytaert2001-05-13
|
* - Fixed typo in drupal.module (and helping Natrak to get the CVS digestsDries Buytaert2001-05-13
| | | | right).
* - Fixed a few typoes in drupal.moduleDries Buytaert2001-05-13
|
* - Made the main page display sub-topics when a specific topicDries Buytaert2001-05-12
| | | | | | | | | | | | is selected. - Made theme_link() less "hard coded", we still have to make it fully configurable though. - Fixed glitch in story submission: the warning messages were not displayed. - Tidied up block.module a bit.
* CHANGES:Dries Buytaert2001-05-10
| | | | | | | - "Formified" node.module and structure.module. - Added moderator capabilities to topics in structure.module; you can define the default moderators.
* - Merged modules/headlineRSS10.module into modules/headline.module:Dries Buytaert2001-05-09
| | | | | | You can use both: http://www.your-domain.com/export/headlines.rss http://www.your-domain.com/export/headlines.rdf
* - Code review: improved search API, tidied up the search related code,Dries Buytaert2001-05-09
| | | | and fixed a tiny bug when searching for users.
* - Fixed submission bug in book.module. (reported by Remco)Dries Buytaert2001-05-07
|
* - Fixed bug in calendar.class: the calendar showed the current day as aDries Buytaert2001-05-07
| | | | non-clickable field. (reported by Remco)
* - Fixed problem in setting.module: some settings showed up twice.Dries Buytaert2001-05-07
| | | | (reported by Remco)
* - Fixed a bug in the book submission part.Dries Buytaert2001-05-06
| | | | | - Fixed a bug in navigation through book pages. - Fixed a bug in sorting books by weight.
* - Added custom PHP error handler to track down warnings and errors.Dries Buytaert2001-05-06
| | | | | | (Jeroen: let's sit back and wait until that warning bites again.) - Simplified drupal.module. We still need a feature list, anyone?
* - 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!".
* CHANGES:Dries Buytaert2001-05-03
| | | | | | | | - Added moderator information to forum.module. - Simplified story.module, page.module, forum.module and book.module by removing redundant code, and by doing other small house-keeping tasks.
* CHANGES:Dries Buytaert2001-05-02
| | | | | | | | | | | | | | | | | | | | - Added moderator permissions to nodes. - Added moderator support to structure.module. - Added new moderate.module. - Renamed moderation.module to queue.module to avoid confusing. Updated theme yaroon as it seems to have a hard-coded reference to moderation.module. - Polished on: + account.module: improved access list + fixed HTML typo in node.module ACTIONS: - Jeroen: can jeroen2.theme be removed from ./themes/yaroon?
* - fixed small glitch in forum.moduleDries Buytaert2001-04-30
|
* Welp. Large commit ahead.Dries Buytaert2001-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CHANGES: - Added "read" and "write" permissions into drupal but removed it again because - when finished after 3 hours of work - it was considered nothing but added complexity that didn't buy us anything. :I (I'll explain this in detail on the mailing list, I guess.) - Added a very simple help.module to group all available documentation on a single page. - Fixed bug in node_control(), book.module: UnConeD forgot to global $user when updating the combobox code. - Removed static wishlist.module: in future, the wishlist can be maintained as a page in our collaborative book. - Revised most of settings.module: tidied up the code and the descriptions to accompany the settings and introduced a new "default maximum number of nodes to display on the main page" variable. - Revised most of comment.module: the administration interface looks better now, integrated node permissions, and -finally- made it possible to delete comments. - Polished on: + account.module + structure.module + locale.module + module.module + forum.module - Form-ified: + account.php + account.module + setting.module + cvs.module + submit.php + comment.module + forum.module + book.module + page.module + locale.module - Updated CHANGELOG INFO: - Designed a "generic tracker system with optional backends" on paper. The idea is to allow registered users to hot-list certain topics, individual nodes or threads (comments) and to "plug-in" output backends like - for instance - an e-mail digest. The design requires "intelligent blocks" though. TODO: - I want to tidy up the headline.module and backend.class as well as merge in headlineRSS10.module. Julian spent quite some time working on headline.module but I'm not sure what he changed and whether he'd contribute it back?
* Welp. Large commit ahead.Dries Buytaert2001-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CHANGES: - Added "read" and "write" permissions into drupal but removed it again because - when finished after 3 hours of work - it was considered nothing but added complexity that didn't buy us anything. :I (I'll explain this in detail on the mailing list, I guess.) - Added a very simple help.module to group all available documentation on a single page. - Fixed bug in node_control(), book.module: UnConeD forgot to global $user when updating the combobox code. - Removed static wishlist.module: in future, the wishlist can be maintained as a page in our collaborative book. - Revised most of settings.module: tidied up the code and the descriptions to accompany the settings and introduced a new "default maximum number of nodes to display on the main page" variable. - Revised most of comment.module: the administration interface looks better now, integrated node permissions, and -finally- made it possible to delete comments. - Polished on: + account.module + structure.module + locale.module + module.module + forum.module - Form-ified: + account.php + account.module + setting.module + cvs.module + submit.php + comment.module + forum.module + book.module + page.module + locale.module - Updated CHANGELOG INFO: - Designed a "generic tracker system with optional backends" on paper. The idea is to allow registered users to hot-list certain topics, individual nodes or threads (comments) and to "plug-in" output backends like - for instance - an e-mail digest. The design requires "intelligent blocks" though. TODO: - I want to tidy up the headline.module and backend.class as well as merge in headlineRSS10.module. Julian spent quite some time working on headline.module but I'm not sure what he changed and whether he'd contribute it back?
* CHANGES:Dries Buytaert2001-04-29
| | | | | | | | | | | | | | | | | | | | | | | | - Added new form_* functions to common.inc, used for building forms: it should improve 'stability' (no form typos, every- thing properly escaped/unescaped) and should help providing a very consistent user interface (wrt forms). - Adjusted node.module to use the new form functions. (Can be used as an example.) - Adjusted book.module to use the new form functions. (Can be used as an example.) - Merged function.inc into common.inc! - Slowly removing all global $status and $rstatus variables: use node_status() instead. TODO: - Apart from implementing the permission system, I'll spend some time updating most modules today and tomorrow to use the new form functions.
* - Addition: added a new, tiny forum module: I will use this forumDries Buytaert2001-04-29
| | | | | | | | | | | | module to develop and test the permission system along with the regular nodes. And hopefully, this forum module will grow into a very useable piece of code for drop.org. Requires a new SQL table "forum", see 2.00-to-x.xx.sql. - Removed 1 unused hook from page.module. - Removed 1 unused function from comment.inc.
* Changesnatrak2001-04-23
| | | | | | | | | | | | | | - Fixed an error in module_rehash_blocks() that didn't handle '-symbols. - Removed some module depencies. Drupal will now run (sorta) even if there are no modules installed. - Changed theme_link() to check if certain modules are installed before offering a link to them. Todo - Check all SQL queries to make sure they are addslashes'ed correctly. - Check the effects of changing the PHP magic_quotes setting. - Make the theme_link() function to be customizable either via the admin page and/or in the module itself.
* *** UnConeD wrote:Dries Buytaert2001-04-21
| | | | | | | | | > - Fixed security issue: unchecked form-data in a db-query (line 82) > - Fixed bug: the module now checks only against other *stories* > (instead of nodes) with the same title. - Took out the duplicate title check; after the story module has been "nodified", duplicate titles are no longer a problem.
* - Fixed two more </TD</TR>'s.Dries Buytaert2001-04-21
|
* - Fixed security issue: unchecked form-data in a db-query (line 82)Steven Wittens2001-04-21
| | | | - Fixed bug: the module now checks only against other *stories* (instead of nodes) with the same title.
* - Fixed date problem in calendar module (reported by Remco).Dries Buytaert2001-04-21
|
* Fixed error in HTML... (</TD</TR> changed to </TD></TR>)Steven Wittens2001-04-21
|
* - Addition: added a "promote" field to the node table, whichDries Buytaert2001-04-21
| | | | | | | | | | | | | | | | | | makes "promoting nodes" to the main page possible. Stories and reviews could be promoted by default, but - on accasion a good book entry could be manually promoted too. Thus all existing content types can be shown on the main page, not just stories. Requires a SQL update, see 2.00-to-x.xx.sql! - Addition: implemented "auto-post new submissions" feature to disable or by-pass the moderation queue in addition to "moderate new submissions". TODO: admin moderation versus registered user moderation. - Addition: added category and topic support to page.module.
* - Addition: made it so that comments can be enabled/disabled onDries Buytaert2001-04-19
| | | | | | | | | | | | | | | | | a node per node basis, rather then on a category per category basis. The default settings for each individual category can be changed though. Example: it can be setup so that - by default - all stories posted to the category "article" will have comments enabled but stories submitted to "announcement" not. Different configuration schemes can easily be added later. Requires a SQL update, see 2.00-to-x.xx.sql/database.mysql. - Addition: made submit.php only use categories that users can actually submit new content to.
* - Addition: added new "cvs.module" to display and mail drupal'sDries Buytaert2001-04-19
| | | | | | CVS log messages. Our additional Perl script that hooks into the CVS repository is also provided in ./scripts. Requires a SQL update, see 2.00-to-x.xx.sql.
* - fixed bug in page.module: $theme->header() got called twice.Dries Buytaert2001-04-17
|
* - fixed sub-directory problem reported by UnConeDDries Buytaert2001-04-17
|