Commit Graph

2816 Commits (74e7bcdf7f2a6f088fa2ef76f8425b8379a9f7c5)

Author SHA1 Message Date
Dries Buytaert cccb132c81 - Addition: added a "promote" field to the node table, which
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.
2001-04-21 14:19:20 +00:00
Dries Buytaert 3f1979aa3c - Addition: made it so that comments can be enabled/disabled on
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.
2001-04-19 19:59:48 +00:00
Dries Buytaert 1166609020 - Addition: added new "cvs.module" to display and mail drupal's
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.
2001-04-19 18:59:10 +00:00
Dries Buytaert 73ad4c7658 - fixed bug in page.module: $theme->header() got called twice. 2001-04-17 21:21:37 +00:00
Dries Buytaert 19f85e9912 - fixed sub-directory problem reported by UnConeD 2001-04-17 17:03:41 +00:00
Dries Buytaert 6a71425ebc - improved interface a bit 2001-04-16 19:31:31 +00:00
Dries Buytaert b1c66cb5de Another big update so please read this carefully because there is important 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.
2001-04-16 18:21:22 +00:00
Dries Buytaert 53c67ac0a2 - a few changes which might help overcome Jeroen's redeclartion problem
(or might not)
2001-04-16 13:26:38 +00:00
Dries Buytaert b9952f537d Large commit, read it carefully, and make the required changes to
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)
2001-04-16 11:38:12 +00:00
Dries Buytaert 1f0565806b - improved submit.php:
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
2001-04-15 17:01:32 +00:00
Dries Buytaert f1716fbd9c - improved settings.module and fixed a few quircks along the way:
+ added "reset to defaults"
   + added "development settings" - for drupal development only
   + made a few things more consistent
2001-04-15 09:36:00 +00:00
Dries Buytaert d32216f8b6 - added new variable: theme_footer which can be used to provide a
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
2001-04-14 19:29:27 +00:00
Dries Buytaert d7fefa2a6b - preliminary section code - does _not_ work yet 2001-04-14 19:27:44 +00:00
Dries Buytaert b87d482b38 Last nights updates (under construction):
- added _type() hook so each module can return the content types he/she
    implements
2001-04-13 08:27:32 +00:00
Dries Buytaert 2926060f6a - fixed small glitch in account listings 2001-04-12 20:28:43 +00:00
Dries Buytaert 4711869f52 - fixed a small SQL bug in page.module
- 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.
2001-04-11 19:44:24 +00:00
Dries Buytaert dc93ff3260 - ieni-wieni-small update to backend.class 2001-04-10 20:09:48 +00:00
Dries Buytaert 0f567be0ed - improved administrator interface of account, node, story and book
by (1) adding a few extra features to "easify" navigation and (b)
  to start using "status messages" as once suggested on the mailing
  list by Jeroen
2001-04-10 20:07:27 +00:00
Dries Buytaert 94d6b63f39 - small improvement to admin interface 2001-04-09 16:31:34 +00:00
Dries Buytaert 5e9f9b3633 - ... and order things by weight 2001-04-08 10:35:48 +00:00
Dries Buytaert 6e9982e090 - typo 2001-04-08 10:34:15 +00:00
Dries Buytaert 96a87f6c8f - improvements to book module:
a. only display childs 3 levels deep
    b. better index page
2001-04-08 10:31:59 +00:00
Dries Buytaert dae5c2208c - improved rating module: it now shows some basic statistics :-)
- updated database files
- removed affialiate-site and drupal-site module: maintain them
  by hand through a box for now will you.
2001-04-07 20:00:21 +00:00
Dries Buytaert e46981ddb7 - small update 2001-04-07 17:04:22 +00:00
Dries Buytaert 38806b4a39 - fixed bug in common.inc: throttle()
- streamlined method invocation in node.inc
- added node_status() function to modules
- added NEW (mostly static) page module
- added NEW settings module
2001-04-07 15:02:28 +00:00
Dries Buytaert 8213f5b262 A lot of small changes (search-n-replace) make a big commit:
- 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
2001-04-06 14:14:16 +00:00
Dries Buytaert 048664f278 - a bunch of various updates 2001-04-05 20:33:36 +00:00
Dries Buytaert 7fac91c2cc - various smaller improvements 2001-04-04 21:09:24 +00:00
Dries Buytaert 8d249c5f28 Last night's updates:
- 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
 - ...
2001-04-04 12:54:10 +00:00
Dries Buytaert 97dd9e1cb4 - fixed bug in diary module 2001-04-03 15:43:54 +00:00
Dries Buytaert 36ea1cf957 - list nodes chronological 2001-04-02 20:13:19 +00:00
Dries Buytaert 805107cd22 Commiting my work of last Sunday:
- 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.
2001-04-02 15:54:37 +00:00
Dries Buytaert 864b3de476 - undid some changes 2001-04-01 12:08:15 +00:00
Dries Buytaert d216096ede - simplified some of the node stuff:
stories can no longer be scheduled -> this functionality will be made
    generic for all nodes
2001-04-01 10:52:01 +00:00
Dries Buytaert 63d334ade5 - tidied up the watchdog messages 2001-03-31 19:24:24 +00:00
Dries Buytaert 32ff43a48c - simplified book.module so that it is easier to maintain (yet a bit
less sexy) - the entire module is only 258 lines.
2001-03-31 19:10:53 +00:00
Dries Buytaert 871d0619aa - fixed another bug 2001-03-31 18:38:01 +00:00
Dries Buytaert 6ca6e831b6 - fixed bug in section.module: id -> nid
- fixed bug in book.module: not 100% yet
2001-03-31 17:56:12 +00:00
Dries Buytaert 34afc4bd2f - removed debug information 2001-03-31 15:36:42 +00:00
Dries Buytaert d1a07a2e8f - fixed "you-have-to-logout-and-login-before-permissions-change" bug
(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
2001-03-31 14:58:37 +00:00
Dries Buytaert d9e72f37de - fixed update bug 2001-03-31 13:18:57 +00:00
Dries Buytaert 6546160234 - removed dead links 2001-03-31 11:38:02 +00:00
Dries Buytaert 2ac7aa425b - visual improvements to example.theme, simplified HMTL code (- 20
lines)
- made node.inc more robust: it should roll-back when something goes
  fubar and it should work in subdirectories
2001-03-31 11:00:04 +00:00
Dries Buytaert a9bb68d98f - removed debug statement 2001-03-30 07:19:13 +00:00
Dries Buytaert 04ad9b8af9 - fixed issue depricated call-by-reference issues
- 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
2001-03-29 19:50:31 +00:00
Dries Buytaert a0d83fc0e8 - streamlined the book and story module 2001-03-28 21:29:44 +00:00
Dries Buytaert 3f2b0e0b3f Flushing my backlog (in case Natrak wants to make more changes):
- tidied up some of the code
 - fixed a small problems
2001-03-28 07:03:47 +00:00
natrak c72b91c6ab Fixed a small typ that caused the existing real name of an account now being shown when editing it. 2001-03-27 13:54:33 +00:00
Dries Buytaert cb5bbdee20 - small improvements as well as 2 bugfixes 2001-03-26 20:22:09 +00:00
Dries Buytaert 456c39100f - improved search functionality 2001-03-25 18:21:30 +00:00
Dries Buytaert f39bba80fa - All comments on the administration page are actually "linked" now: the
comments on the drupal page where originally *not* click-able but this
  turned out to be confusing only.   Now we live in a nodified world, we
  can simply link all comments without a single problem! :-)
2001-03-25 16:56:37 +00:00
Dries Buytaert 5fb307f5bf - refactoring, refactoring, refactoring 2001-03-25 16:42:52 +00:00
Dries Buytaert 1f79863053 - large commit of everything else that has been queued in my backlog:
it's not 100% stable yet
2001-03-25 10:57:01 +00:00
Dries Buytaert d307518998 - see previous commit message 2001-03-25 10:53:16 +00:00
Dries Buytaert 107ac01a51 - nodified headline module
(It only exports story headline so we might want to move the export
   function to the story.module in the near feature.)
2001-03-25 10:49:14 +00:00
Dries Buytaert 4f07fe1a01 - a small change to the rating algorithm: you get only 1/2 a bonus point
for each succesful node and you loose 1/2 a bonus point for all dumped
  nodes
2001-03-25 10:44:24 +00:00
Dries Buytaert 8b6e78075c - small update to diary.module 2001-03-24 17:12:15 +00:00
Dries Buytaert 10aaea3342 - simplified the comment code: the SQL queries are less complex, thus
faster now.
2001-03-24 17:01:23 +00:00
Dries Buytaert cb67c16a4b - removed trailing whitespaces and changed tabs in 2 spaces
(done automatically by script)
2001-03-24 16:57:12 +00:00
Dries Buytaert 93f66c06d3 - added nodified story module: story extends node
- removed includes/story.inc as we no longer need it: story.module
  is *really* modular now.
2001-03-24 16:56:10 +00:00
Dries Buytaert a9222fe222 - nodified section module
(As section are story related and not per se node related, I'm wondering whether we should integrate the section stuff in the story module at some point?)
2001-03-24 16:48:54 +00:00
Dries Buytaert 006b1e48fd - the rating module now thinks in terms of nodes: every new node type that
extends node will automatically get involved in the rating game so not
  just the stories only. ;-)
2001-03-24 16:42:43 +00:00
Dries Buytaert 6275348098 - the "faq module" and the "documentation module" are going to be bundled
into a much more powerful and easier to maintain "book module": each
  "page" in the big "drop.org/drupal book" is a node and everyone with
  a user account can suggest new pages or updates of existing pages.
2001-03-24 16:36:13 +00:00
Dries Buytaert 5586d58c0f - the "submission.module" is going to be replaced by a "moderation.module" 2001-03-24 16:31:17 +00:00
Dries Buytaert 9f044b7b73 - updated drupal page 2001-03-24 15:50:24 +00:00
anonymous 2e9afb67e8 *** empty log message *** 2001-03-23 20:33:21 +00:00
anonymous 8a752cbe89 *** empty log message *** 2001-03-23 20:06:06 +00:00
Dries Buytaert ec18a2a366 - fixed headline module problem reported by Kristjan 2001-03-23 17:53:49 +00:00
Dries Buytaert ab643ce6d2 - fixed slash-problem reported by Jared 2001-03-22 17:29:36 +00:00
Dries Buytaert 47f3e8f6bf - small wishlist updates 2001-03-16 11:51:40 +00:00
Dries Buytaert b156f83be8 - added drupal 2.00 2001-03-15 11:24:15 +00:00
Dries Buytaert 425533cc05 - fixed bug in headline module 2001-03-11 22:29:30 +00:00
Jeroen Bensch f6fd5e1231 Hey,
Ehm in affiliate-sites and dupal-site we use SCRIPT, but w3 complained about the fact that there was no TYPE attribute specified with SCRIPT, I added SCRIPT=\"\" with both tags... (I have no clue what type of script we are using but at least this fixes a bug :)) It worked here locally, let's hope it still does on the wired...

Also I corrected a </TTH> into a </TH> somewhere in the code of one of the modules, my eye just caught it, nothing special ;)

Jeroen.
2001-03-11 20:18:02 +00:00
Dries Buytaert accd5f0c31 - applied David Norman's patch to turn all <?'s into fully qualified
<?php's.
2001-03-10 11:07:52 +00:00
Dries Buytaert a1b158334a - more small improvements 2001-03-08 19:30:41 +00:00
Dries Buytaert b109bb8644 - small improvement to box module 2001-03-08 18:06:14 +00:00
Dries Buytaert 216714b7b6 - a couple of small improvements 2001-03-08 17:58:52 +00:00
Dries Buytaert f83b469919 - bugfix 2001-03-08 17:36:18 +00:00
Dries Buytaert 3958a714cd - some important changes to our theme API which can be summerized as:
abstract() + article() = story()

  abstract() and article() have been merged into a new function story()
  which looks like:

  function story($story_object, $reply) {
    if (!reply) {
       // full story
    }
    else {
       // main page version / abstract
    }
  }

  This should allow you to "compress" your theme as abstract() and
  article() tended to be 98% identical.

  => I didn't really merge your themes so I leave it up to *you* to
     improved the code!!! Do it ASAP as we release drupal 2.00 in 7
     days.

  In future we'll have similar functions for other content types as
  for example:

     review($review, $reply);
     enquete($enquete, $reply);
     ...
2001-03-08 08:16:23 +00:00
Dries Buytaert f516626a29 A rather large and important update:
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. ;)
2001-03-07 21:29:40 +00:00
Dries Buytaert 2b2e81f6cf - fixed visual flaw in error output:
$host -> $url[host]
2001-03-07 10:49:28 +00:00
Dries Buytaert d684b1f10a - various smaller updates before I start watching Formula 1 with [a] a
0.5 liter box of Haagen-Dhaz (Belgian Choclate) and [b] my laptop on
  my lap for drupal hacking.  Life hardly can get any better than this.
2001-03-04 12:06:13 +00:00
Dries Buytaert ecc651d83d - added a new faq module with administration interface 2001-03-03 15:31:51 +00:00
Dries Buytaert dba7342183 code revision:
- shortened and improved the code
2001-03-03 15:31:01 +00:00
Dries Buytaert 16e6b6f137 code revision:
- fixed a "visual-quote-glitch", i.e. a missing stripslashes()
2001-03-03 15:30:15 +00:00
Dries Buytaert fa26457895 - As I'm working down my TODO list, I updated your themes:
$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.
2001-03-03 12:17:12 +00:00
Dries Buytaert 74d3c351ce - Took all "rating logic" out of the account.module and moved it into
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.)
2001-03-03 11:44:51 +00:00
Dries Buytaert 728249cbc4 - fixed small translation glitch in format_interval
- added a couple of missing t() functions
- improved the comments module, fixed the score problem Jeroen
  reported earlier -> it's slicker but I hope it won't break anything
2001-03-01 21:34:09 +00:00
Dries Buytaert 4d31d27ff0 - added comment index for performance sake
- improved comment module - code revision
- improved backend module - moreover headlines now work
- (automatically) stripped tabs and trailing whitespaces from
  Jeroen's theme.
2001-02-27 07:45:03 +00:00
Dries Buytaert 57ca3f132f - added some documentation 2001-02-25 17:17:26 +00:00
Dries Buytaert a1a96ca29e - small changes to the watchdog module to make it more conform with other
modules
- small changes to the account module to make it more conform with other
  modules
- users can be deleted
2001-02-23 17:53:51 +00:00
Dries Buytaert e903ec86a8 - diary module: fixed date-display-problem reported by Jeroen
- diary module: added "delete" functionality
2001-02-23 15:25:09 +00:00
Dries Buytaert d00469cd05 - improved RDF backend class to support more backend formats 2001-02-22 23:44:53 +00:00
Dries Buytaert 86e315e2b4 - locale module: added documentation (first draft)
- locale module: improved administration interface
- headline module: fixed small visual glitch in export function
- account: small improvements
2001-02-21 08:25:21 +00:00
Dries Buytaert 9b3cd99736 - fixed 2 bugs and 1 confusing issue in modules/account.module:
* last access field should not be updated when admin edits stuff
    * saving empty access list caused warning message
    * clicking the access links was confusing (no more links)
2001-02-18 17:05:57 +00:00
Dries Buytaert 4371b627d5 - added fine-grained user permission system which allows us to give
certain users access to specific administration sections only.
    Ex. a FAQ maintainer can only edit the FAQ, and members of an
        "editorial board" can only edit comments, diaries and
         stories, ..
- code review => rewrote include/user.inc which is much easier now
- fixed 4 small bugs
2001-02-18 15:14:56 +00:00
Dries Buytaert c93bcff8b8 *** empty log message *** 2001-02-17 16:26:48 +00:00
Dries Buytaert 33930b56b7 - added submission.module 2001-02-17 15:56:59 +00:00
Dries Buytaert da8aaa7672 - improved layout story.module
- fixed bug in translation
2001-02-17 15:52:40 +00:00
Dries Buytaert a60edc7508 - improved the "menu" hook
- replaced the "open submission queue" (submission.php and submission.inc)
  with an optional module (submission.module).
- tidied up the HTML code of some files
2001-02-17 15:38:37 +00:00
Dries Buytaert 52a1d1bbe8 - More updates on the translation support 2001-02-17 12:59:24 +00:00
Dries Buytaert e7f043c30a - updates 2001-02-14 09:32:33 +00:00
Dries Buytaert db554e857d - initial import of the preliminary translation code.
- added timer.inc for benchmarking purpose
- bugfix for php-clean
- bugfix for account.php
- removed redundant format_data
- ...
2001-02-12 20:40:43 +00:00
Dries Buytaert 3ba9cb5d72 - small updates 2001-02-10 17:54:51 +00:00
Dries Buytaert 171479fcfa - a 2nd batch of various updates 2001-02-10 14:36:49 +00:00
Dries Buytaert d6ce51e4ce - added a "search framework" which allows for easy searching
(to be continued)
- tidyied up some existing code
2001-02-10 11:59:06 +00:00
Dries Buytaert bff5ffeac4 - fixed tiny bug in the user account administration page 2001-02-08 16:57:26 +00:00
Dries Buytaert 77ed531035 - added new feature for evaluating purpose: user rating (mojo, karma)!
- removed tabs from Jeroen's theme
2001-02-07 22:01:57 +00:00
Dries Buytaert dac719a3ba - fixed English typo reported by Peter Abol <martin@abol.com>. 2001-02-06 09:01:59 +00:00
Dries Buytaert 429c8a0022 - documentation updates contributed by Michael O'Henly <michael@tenzo.com>
and myself
2001-02-05 16:42:38 +00:00
Dries Buytaert de2e393933 - various updates, bugfixes and improvements 2001-02-04 22:09:38 +00:00
Dries Buytaert 32c89442d3 - removed all tabs 2001-01-26 14:41:44 +00:00
Dries Buytaert d386c110f4 - removed redundant spaces 2001-01-26 13:38:46 +00:00
Dries Buytaert 34a927e6e3 - fixed 2 small bugs (reported by martin@abol.com) 2001-01-26 13:31:41 +00:00
Dries Buytaert c5ea4026c4 - small update to display the section in alphabetical order 2001-01-23 22:32:01 +00:00
Dries Buytaert 3d0f6b3032 - fixes table bug
- add ienie-wiene of information
2001-01-23 22:14:29 +00:00
Dries Buytaert ea97888533 I know, I know, it is getting nasty lately but I have another large commit after nothing but code.
This time I redid the "category"-stuff.  Categories - from now on called sections - are now maintained from the admin pages, can have their own post, dump and timout thresholds as discussed earlier (some weeks ago).  By tomorrow evening users will be able to enable or disable section as well - i.e. to customize the content of drop.org.
2001-01-21 19:41:11 +00:00
Dries Buytaert 7cc7b405e3 - fixed some bugs in the new comment/discussion code and added a few
enhancements
2001-01-21 09:26:06 +00:00
Dries Buytaert e25c50b994 - 3 small bugfixes 2001-01-20 12:53:54 +00:00
Dries Buytaert 2952d16f78 - updated/improved discussion engine: it needs additional fine-tuning
though but I think this is stable enough for public consumption and
  real-life testing.
   ==> a first big step towards a flexible comment engine.

IMPORTANT:
  - Required theme updatins:

    UnConeD: check your $theme->controls() as I added a very, very
             dummy implementation

  - Required database updates:

    alter table users modify mode tinyint(1) DEFAULT '' NOT NULL;
    alter table comments change sid lid int(6) DEFAULT '0' NOT NULL;
    alter table comments add link varchar(16) DEFAULT '' NOT NULL;
    update comments set link = 'story';
2001-01-20 12:20:31 +00:00
Dries Buytaert 312c625cd7 - finally fixed the offset-by-one-day bug 2001-01-20 09:24:26 +00:00
Dries Buytaert 6e88265b1f - added drupal 1.00 final 2001-01-15 17:28:05 +00:00
Dries Buytaert 8b4c95b259 - rewrote the block placement stuff and updated the themes.
IMPORTANT: you have to drop 2 tables "blocks" and "layout"
             and you have to recreate them again with those
             in database/database.mysql
- integrated the documentation written by UnConeD
2001-01-13 16:33:19 +00:00
Dries Buytaert 1451447724 - forgot to close one HTML tag 2001-01-13 08:36:25 +00:00
Dries Buytaert 55679210c2 - created 2 new functions; check_textfield() and check_textarea() and
integrated them were appropriate.  It works better and the code is
  more readable then it used to be:
    (see http://drop.org/discussion.php?id=44&pid=0#0)

- story authors can no longer moderate their own stories
    (requested by Natrak)

- fix inie-winnie small detail in theme marvin
2001-01-13 08:29:50 +00:00
Dries Buytaert 1035d95cae - removed redundant file: a left-over from previous optimizations 2001-01-08 16:28:47 +00:00
Dries Buytaert 0c6d573a0b - small bugfix 2001-01-07 20:29:48 +00:00
Dries Buytaert 554d9b080b - fixed 2 small bugs in account.php
- drastically improved administration section
- drastically revamped story administration:
  added new feature to schedule the publishing of stories
- applied correct naming conventions to submission.php
- fixed 1 small glitch in boxes
- somewhat expanded the documentation
= changed one SQL table
- updated the faq with info on drupal
- ... and more things I forgot about
2001-01-07 19:21:28 +00:00
Dries Buytaert 63a335e1ed - fixed small quote problem when editing a diary entry 2001-01-06 14:51:04 +00:00
Dries Buytaert 8511d9fb45 A batch of patches:
- configuration:
    + renamed $db_name to $db_user
    + renamed $db_base to $db_name
  - fixed small diary glitch
  - fixed initial-comment-score problem
  - fixed comment rating bug: improved the API and updated the
    themes
  - removed some tabs from Steven ;)
  - fixed backend warnings and improved robustness
    I'm not happy yet with the headline grabber - it generates
    too many SQL errors.
  - some small cosmetic changes in comment.module
  - fixed minor glitch in format_interval()
2001-01-06 11:39:43 +00:00
Dries Buytaert 2e495b7d0e - the diary module is truly modular now
- the faq has been spell checked
2001-01-04 21:09:40 +00:00
Dries Buytaert aac188d346 - fixed more then 30 typoes (thanks to my Linux spellchecker) 2001-01-04 19:35:55 +00:00
Dries Buytaert 6fe5d29a61 - changed "xxx headline" into "xxx headlines" (extra 's') 2001-01-03 21:35:12 +00:00
Dries Buytaert 7e8e413305 - fixed 2 typoes: "oops" 2001-01-03 21:32:29 +00:00
Dries Buytaert 4572760eb3 A batch of preparations for release candidate 2:
- expanded documentation
   (written by Jeroen)
 - fixed bug in includes/module.inc
 - fixed bug in modules/backend.class
 - renamed some of the SQL tables (!)
 - started making the diary.module truly modular (not finished yet)
 - renamed "admin_blocks" to "boxes"
 - added new functionality to "boxes": apart from PHP boxes, you
   can now create ASCII boxes as well as HTML boxes for those who
   are not confident with PHP.
   (requested by stalor)
 - added drupal-site module to keep track of known drupal sites
 - added small Perl script to generate encrypted CVS passwords
2001-01-03 21:23:58 +00:00
Dries Buytaert c85a0ee005 - bugfix in "Top 10: most recent stories" 2001-01-03 09:24:00 +00:00
Dries Buytaert ca2d5d6fb2 - small additions 2001-01-03 06:35:36 +00:00
Dries Buytaert fcc52fa430 - setup an anonymous CVS account with password 'anonymous' and updated the
documentation
2001-01-02 20:26:10 +00:00
Steven Wittens 9a221a7e8e Typoes/grammar check. 2001-01-02 19:06:02 +00:00
Dries Buytaert 89da4770d3 - quickly created a project module (in less then 5 minutes, for the
records) before crashing into my bed after waay to heavy New Year
  parties while facing the fact I have to get up at 6:45am to go to
  work.
2001-01-01 22:11:04 +00:00
Dries Buytaert fc3d320d86 - fixed a few typoes in the documentation 2001-01-01 12:00:09 +00:00
Dries Buytaert f055cf11e0 - fixed PHP4.0.4 problem in discussion.php.
- some improvements to account.php and theme.inc.
- updated the documentation (again, again and again)
- added INSTALL file
- removed redundant files
2000-12-31 08:24:16 +00:00
Dries Buytaert 697e5eb49d - Fixed bug in account.php.
- Updated the documentation (again): I spent most of the day writing
  documentation which might well be considered plain boring.
2000-12-30 21:13:54 +00:00
Dries Buytaert be2615049a - fixed small bug in account.php
- added documentation
2000-12-30 16:35:41 +00:00
Dries Buytaert c9c6c21620 - developement.module is now integrated into documentation.module
(keeps the code base smaller)
2000-12-30 11:59:16 +00:00
Dries Buytaert 44c4800434 - here a bunch of changes to make "drupal" (for now) work with PHP 4.0.4
- tidied up some of the code and mainly working on the documentation
2000-12-30 11:58:14 +00:00
Dries Buytaert 50e9771914 - better aligment 2000-12-29 11:49:14 +00:00
Dries Buytaert 94acc44555 - small bugfix 2000-12-29 11:44:36 +00:00
Dries Buytaert fd64164419 Surprise, surprise. After nothing but code, a large batch of changes:
- removed droplets
 - added (optional) admin_blocks module
 - added (optional) affiliate module
 - added (optional) about module (only placeholder, under construction)
 - fixed some tiny bugs (e.g. quote bug in search.php)
 - partionally rewrote some modules to be big, bad and better
 - partionally rewrote some modules to be more uniform
 - added GNU GPL license to CVS

Also:
 - installed PHP 4.0.4 on my localhost and now working
   towards PHP 4.0.4 compatibility.
 - I think I'll baptize the engine "drupal".  If you have a
   better idea, try convincing me ASAP.

Todo:
 - more testing (also with PHP 4.0.4)
 - make "project"-module: download, info, blah blah
 - complete documentation
2000-12-29 11:00:56 +00:00
Dries Buytaert 10381949f8 - small bugfix 2000-12-27 12:49:23 +00:00
Dries Buytaert 2714fae603 - small bugfixes and standarized "export" routines for modules to use. 2000-12-27 12:44:27 +00:00
Dries Buytaert 649b61db22 - added RDF backend 2000-12-25 21:13:13 +00:00
Dries Buytaert ea873bc7e2 - some improvements and code polishing
- added a few extra blocks to choose from
2000-12-24 15:44:29 +00:00
Dries Buytaert 524773f6da Yet another large batch of updates:
- I rearranged some of the code and clean-up some of the mess.

 - Added "blocks" which can be user defined/controlled: check
   to see.  The positioning of blocks is rather basic for the
   moment, so I'm all open for input on that.
2000-12-23 23:25:28 +00:00
Dries Buytaert 60e1a60dd3 - intermediate updates 2000-12-23 15:20:10 +00:00
Dries Buytaert 032a9256b4 - fixed small bug in admin page 2000-12-17 18:52:14 +00:00
Dries Buytaert dcfcd99c6c - improved web interface of cron module.
- improved web interface of account module.

- added simple permission system with both administrators
  and regular users. It can be made more fine-grained but
  it will do for now.

- various small enhancements to the other modules, but
  nothing big.
2000-12-16 21:42:52 +00:00
Dries Buytaert 62588af9ce - a few more updates 2000-12-16 14:32:21 +00:00
Dries Buytaert 24eb1bf806 - small update 2000-12-16 09:59:49 +00:00
Dries Buytaert 0171a5cbe8 - small fixes/updates 2000-12-16 09:57:21 +00:00
Dries Buytaert c1a88d5d67 Again, a large batch of updates - I'm twisting things around here:
1. improved .htaccess to be more "secure": to keep prying
    eyes out

 2. rewrote the administration section from scratch using a
    modular approach

 3. improved the information gathered by error.php - we can
    now (hopefully) track what bots are crawling us.

 4. fixed a bug in submit.php, fixed a bug in theme zaphod,
    fixed a bug in theme marvin.

 5. rewrote cron from scratch - it now interfaces with
    modules as it should have been from the beginning.
    Very cool if you ask me - it can use UNIX/Linux
    crontabs.

 6. updated widget.inc to be module aware - needs more
    work though - maybe this afternoon?

 7. updated most modules: small bugfixes, improvements, and
    even the documentation

 8. removed diary.php and made it a module - you can now
    run a drop.org site without a diary system if someone
    would prefer so

 9. updated all themes to use the new modules where
    appropriate

 10. added a robots.txt because the error message in the
     watchdog become annoying.

 11. added the new configuration system (mutliple vhosts
     on the same source tree) - use hostname.conf instead
     of config.inc

 12. removed calendar.inc and made it a module

 13. added format_interval() to functions.inc (UnConeD)

 14. whatever I forgot ...
2000-12-16 08:39:01 +00:00
Dries Buytaert 8a77861958 - large batch of updates 2000-12-14 14:20:06 +00:00
Dries Buytaert 7a45d84a9f - added a whole bunch of NEW modules 2000-12-14 14:13:37 +00:00
Dries Buytaert 5fd94b1765 - added 2 new modules!
--> check http://drop.org/module.php?mod=module-list for a list of
       available modules
2000-12-10 15:50:11 +00:00
Dries Buytaert 939c92a2a5 - removed "dev.module" to replace it with an extended "development.module". 2000-12-10 15:48:09 +00:00
Dries Buytaert fc8fa68b6f - added module support and preleminary (read: example) modules 2000-12-07 13:09:23 +00:00