summaryrefslogtreecommitdiff
path: root/includes
Commit message (Collapse)AuthorAge
* - 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 2 new functions check_mail() and check_name()Dries Buytaert2001-04-19
| | | | | | to functions.inc useful for resp. verifying an e-mail address and username: currently used by account.php - but reusable by Julian's refer.module for example (prepares integration).
* - Addition: added a new function "module_hook($module, $hook)" to checkDries Buytaert2001-04-19
| | | | wether a module implements a certain hook or not.
* - structure.inc: added category_name($cid) and topic_name($tid).Dries Buytaert2001-04-18
| | | | | | | They both return a linked string with the respective category, or topic name. Updated all themes to use these new functions. - (stripped tabs from emsa files, nevermind)
* Another big update so please read this carefully because there is important ↵Dries Buytaert2001-04-16
| | | | | | | | | | | | | | | | information hidden in it. Made it so that we can disable/enable comments on a category by category basis. In order to accomplish this I had to make a few (*temporary*) changes. I moved all comment code from the "module level" (eg. story.module) to the "node level". It was nothing but the logical next step in nodifying drupal. This enables us to add comments to all existing content types including book entries. But also for book entries, this to can be toggled on and off. :-) Moreover module writers don't have to worry about the complex comment logic: it is "abstracted" away. This implies that story.module got smaller, faster and easier to comprehend. :-) In order to accomplish this, I had to update ALL THEMES, which I did - and on my way I updated Goofy, Oranzh and UnConeD - with the previous changes. All themes are up-to-date now! I also had to remove the [ reply to this story ] links, and temporally re-introcuded the "Add comment" button in the "Comment control". Tempora lly that is, UnConeD. ;) I plan to upgrade drop.org either tommorow or wednesday so test away if you have some time to kill. ;) Oh, I also fixed a few bugs and made various small improvements.
* - a few changes which might help overcome Jeroen's redeclartion problemDries Buytaert2001-04-16
| | | | (or might not)
* - forgot to disable some debug informationDries Buytaert2001-04-16
|
* Large commit, read it carefully, and make the required changes toDries Buytaert2001-04-16
| | | | | | | | | | | | | | | | | | | | | | | | your theme: - corrected some missing translations in story.module. Oops! - grealty simplified the "moderation threshold mechanism"(tm) so that module writers don't have to worry about this. As a result story.module and book.module became a bit smaller and easier to grasp. - greatly simplified new "category" and "topic" code which is soon going to replace the "section" code. Needs more work though so hang on thight. - includes/section.inc and modules/section.module are replaced by includes/structure.module and modules/structure.module. - beautified example.theme a bit without adding HTML complexity: it is a good example but still useful as a theme - made theme example use "categories" and "topics" --> TAKE A LOOK AT IT AND UPDATE YOUR THEME - made theme marvin use "categories" and "topics" --> TAKE A LOOK AT IT AND UPDATE YOUR THEME - added 2 new "story listings" to administrator interface of story.module to verify story integrity. - optimized comment table a bit (work in progress)
* - make the version CVS function a bit betterDries Buytaert2001-04-16
|
* - improved submit.php:Dries Buytaert2001-04-15
| | | | | | | | | | | | | | | | | | it now uses the new category code, incl content bindings. You can setup different "categories" which map on a content type. Example: review -> review.module article -> story.module column -> story.module announc. -> story.module addons -> file.module themes -> file.module - "generalised" story.module and book.module's output. - fixed bug in includes/timer.inc - fixed glitch in theme example.theme: it said "$how by" but the variable $how has never been declared. - added "drupal development settings" to display some timings - more work on the categories/topics -> does NOT work yet
* - improved settings.module and fixed a few quircks along the way:Dries Buytaert2001-04-15
| | | | | | + added "reset to defaults" + added "development settings" - for drupal development only + made a few things more consistent
* - tidied up the old codeDries Buytaert2001-04-14
|
* - node_save returns the $nid --> can come in very handy one day :)Dries Buytaert2001-04-14
|
* - added new variable: theme_footer which can be used to provide aDries Buytaert2001-04-14
| | | | footer message like a copyright notice. Themes should use this!
* - added new variable: theme_footer which can be used to provide aDries Buytaert2001-04-14
| | | | | | | footer message like a copyright notice. Themes should use this! - small improvement to example theme - added theme_footer to theme marvin - small improvement to database.inc
* - preliminary section code - does _not_ work yetDries Buytaert2001-04-14
|
* - See whether this fixes your problem and if it does not, take a lookDries Buytaert2001-04-13
| | | | at what I tried to do. :)
* Last nights updates (under construction):Dries Buytaert2001-04-13
| | | | | - added _type() hook so each module can return the content types he/she implements
* - a few changes/addition to the old section code to make developingDries Buytaert2001-04-12
| | | | the new section code easier: preparations as we often call it. ;)
* - fixed a small SQL bug in page.moduleDries Buytaert2001-04-11
| | | | | | | | | | | | | | | - slightly improved story.module, node.module and book.module - made the "default theme" a setting from the setting page - polished a bit on the export function: we can now export the book or parts thereof through the following url: 1. http://drop.org/export/book/ (full book) 2. http://drop.org/export/book/nid (where nid is the node id to start with) The export routine demonstrates how it can be done yet the output is too basic and can only improve over time.
* - fixed bug in comment codeDries Buytaert2001-04-09
|
* - small improvements to node.incDries Buytaert2001-04-08
|
* - small fine-tuningDries Buytaert2001-04-07
|
* - 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.
* - small update to gravityDries Buytaert2001-04-07
|
* - fixed bug in common.inc: throttle()Dries Buytaert2001-04-07
| | | | | | | - streamlined method invocation in node.inc - added node_status() function to modules - added NEW (mostly static) page module - added NEW settings module
* A lot of small changes (search-n-replace) make a big commit:Dries Buytaert2001-04-06
| | | | | | | | | | - fixed update bug in book.module - provide a log message when both adding and updating book pages - all configurable variables are now accessed through "variable_get()": - rewrote watchdog and submission throttle and removed watchdog.inc - improved robustness of sections.inc - imporved story.module - updated ./database/database.sql
* - a bunch of various updatesDries Buytaert2001-04-05
|
* - various smaller improvementsDries Buytaert2001-04-04
|
* Last night's updates:Dries Buytaert2001-04-04
| | | | | | | | | - improved "track drop.org": it has now 2 boxes, one for "track comments" and one for "track nodes" - various small improvements to the book module based on the feedback we got. - fixed typo in moderation module - ...
* <center></center> ==> <div align="center"></div>Dries Buytaert2001-04-02
|
* Commiting my work of last Sunday:Dries Buytaert2001-04-02
| | | | | | | | | | | | | | | | | | | | | | - removed ban.inc and ban.module and integrated it in account.module under the name "access control" --> the ban code was not really up to standard so this has now been dealt with. This refactoring and reintegration cuts down the code size with 100 lines too. :-) (The ban.module code was really old and it showed.) - added node.module and made the other modules reuse some of this code --> cut down the code size of modules by at least 100 lines and adds stability. - added a status() function to admin.php to display a conform status message where appropriate. See admin.php for usage. - removed $theme->control() and made comments.inc handle this itself wrapped in a $theme->box(). No need to clutter the themes with such complexity --> updated all themes already. :-) - some small visual changes to some administration pages to be more consistent across different modules.
* - simplified some of the node stuff:Dries Buytaert2001-04-01
| | | | | stories can no longer be scheduled -> this functionality will be made generic for all nodes
* - worked even more on the robustness of include/node.incDries Buytaert2001-03-31
|
* - fixed another bugDries Buytaert2001-03-31
|
* - fixed bug in section.module: id -> nidDries Buytaert2001-03-31
| | | | - fixed bug in book.module: not 100% yet
* - fixed "you-have-to-logout-and-login-before-permissions-change" bugDries Buytaert2001-03-31
| | | | | | | (reported by UnConeD) - added "add node" link to book selection box and made it display the current location - removed tabs and whitespaces from themes - done automatically
* - fixed update bugDries Buytaert2001-03-31
|
* - fixed typo in hostname.confDries Buytaert2001-03-31
|
* - visual improvements to example.theme, simplified HMTL code (- 20Dries Buytaert2001-03-31
| | | | | | lines) - made node.inc more robust: it should roll-back when something goes fubar and it should work in subdirectories
* - 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
* - made the node code a bit more rock-solid - needs more work andDries Buytaert2001-03-28
| | | | | | | testing! - you can't add a node with the same title twice within 5 minutes (to avoid reposting by accidentically reloading your page after having posted)
* - update the linking mechanism: to link to a "node" (ex story) with titleDries Buytaert2001-03-28
| | | | "fubar", use [[fubar]] or [[fubar|link text]].
* 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
* Made a few cosmetic changes. Mostly just checking out how much work itKjartan Mannes2001-03-27
| | | | would be to support more databases :-)
* - small improvements as well as 2 bugfixesDries Buytaert2001-03-26
|
* - restored check_textarea: I changed it for debugging purpose but forgot toDries Buytaert2001-03-25
| | | | switch it back
* - refactoring, refactoring, refactoringDries Buytaert2001-03-25
|
* - large commit of everything else that has been queued in my backlog:Dries Buytaert2001-03-25
| | | | it's not 100% stable yet
* - themes now get there header/footer links through theme_link();Dries Buytaert2001-03-24
| | | | - tidied up example.theme