Commit Graph

265 Commits (67388cad9b5cfa5f7a65a1206525c752c16564a4)

Author SHA1 Message Date
Dries Buytaert 8b4181d085 - 2 more bugfixes 2001-01-20 12:58:47 +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 53b92a614a - by default, keep the watchdog for one week rather then two weeks
(http://drop.org/admin.php?op=watchdog is gets way to lengthy)
2001-01-20 09:25:44 +00:00
Steven Wittens 6732083394 Fixed bug with story-moderation-comments starting at 0 score instead of 1. 2001-01-16 18:14:15 +00:00
Dries Buytaert 34b723457b - Harry Zink reported that 'administrate' is not entirely correct English
so I renamed "administrate xxx" to "administer xxx".
2001-01-16 11:08:03 +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 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 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 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
Steven Wittens b604c43894 Oops typo :) 2001-01-05 12:17:25 +00:00
Steven Wittens 5f95212d11 Added a dynamic "administrate" link to the account box. 2001-01-05 12:09:46 +00:00
Dries Buytaert db0c9420a3 - fixed small flaw that showed up with PHP 4.0.0-rcxx but not with PHP 4.0.4 2001-01-04 21:17:07 +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 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 a5b8640b00 - fixed bug in database.inc 2001-01-02 06:35:23 +00:00
Dries Buytaert f2a25094e6 - fixed bug in hostname.conf 2001-01-02 06:16:22 +00:00
Dries Buytaert 51d516240a - prepared hostname.conf for public release 2001-01-01 12:17:57 +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 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 2e721505ca - undid small improvement ;) 2000-12-29 11:46:54 +00:00
Dries Buytaert d8182d2083 - small improvement 2000-12-29 11:45:41 +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 ea873bc7e2 - some improvements and code polishing
- added a few extra blocks to choose from
2000-12-24 15:44:29 +00:00
Dries Buytaert da520e5ffb - small glitch 2000-12-23 23:55:04 +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 8d5b4e7b86 - intermediate commit: see previous commit 2000-12-23 15:23:34 +00:00
Dries Buytaert 0cadc4e683 - intermediate commit: some bugfixes, changes and some drastic
changes to block and module support
2000-12-23 15:13:34 +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 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 e8ea2ab88e - large batch of updated files featuring various changes: big, small and
new stuff!
2000-12-10 16:22:50 +00:00
Dries Buytaert 2a4c9cc97b - added so called "blobs": something hot, something new and something cool! 2000-12-10 16:12:08 +00:00
Dries Buytaert 1e993e9367 - added a new cron deamon as discussed earlier! 2000-12-10 15:44:23 +00:00
Dries Buytaert 8b68d11dba - changed quite a lot of things around, including small bug fixes (nothing)
critical and module support.  The faq.php will - for instance - become a
  module
2000-12-07 13:08:07 +00:00
Dries Buytaert 086e72d4b1 - Redid most of account.php and fixed quite some bugs!
Check out your new user account stuff and give me some feedback.
2000-11-25 12:56:04 +00:00
Dries Buytaert ebe3dddc56 amdin.php:
- fixed bug in story section
account.php:
  - removed death code, clean-up, reorganization
  - added "lost password?" functionality
faq.php:
  - clean-up
watchdog.inc:
  - improvements
  - end of input-limit test period
error.php:
  - improvements, still crappy layout though
2000-11-20 10:27:35 +00:00
Dries Buytaert a461e3696c * tiny improvements (!= bug fixes) 2000-11-14 09:03:44 +00:00
Dries Buytaert 46a39fe266 * and the correct database settings 2000-11-13 08:18:47 +00:00
Dries Buytaert 9559f61fca Another batch with a lot of internal updates, yet no visual changes to the
site:

- watchdog (rewrite):
   + the collected information provides more details and insights
     for post-mortem research
   + input limitation
- database abstraction layer:
   + mysql errors are now verbose and is no longer displayed in a
     browser - fixes a possible security risk
- admin.php:
   + updated watchdog page
   + fixed security flaw
- diary.php:
   + fixed nl2br problem
- themes:
   + fixed comment bug in all 3 themes.
- misc:
   + renamed some global variables for sake of consistency:
      $sitename  -->  $site_name
      $siteurl   -->  $site_url
   + added input check where (a) exploitable and (b) possible
   + added input size check
   + various small improvements
   + fixed various typoes

... and much, much more in fact.
2000-11-13 08:17:45 +00:00
Dries Buytaert ed1a244398 - fixed bug in backend.inc
(check http://www.drop.org/backend.php)
- update theme.inc to use widget.inc
- small enhancements to function.inc
2000-11-07 08:58:36 +00:00
Dries Buytaert e1130946c8 * renamed template.inc to widget.inc:
note that `widget.inc' is nothing more then a library with
    standard widgets (eg "New headlines", "New diary entries",
    and so on).  Every theme builder is free to make custom
    widgets and to include them in their .theme file!
2000-11-07 08:57:31 +00:00
Dries Buytaert 14588bfea9 * removed redundant file 2000-11-07 08:56:43 +00:00
Dries Buytaert aa1b366deb - fixed bug in search.php
- fixed bug in discussion.php
- theme update: comment() now takes 3 arguments:
    $comment - an object with comment data
    $link    - a link to the reply form of that particular
               comment
    $thread  - the subthread of that particular comment
- theme 'marvin' and theme 'zaphod' are updated, theme
  'unconed' is left to be done
2000-11-03 08:11:19 +00:00
Dries Buytaert 819543f7b2 * correct database information 2000-11-03 07:59:54 +00:00
Dries Buytaert 7f2e4572fa - fixed bug in search.php
- fixed bug in discussion.php
- theme update: comment() now takes 3 arguments:
    $comment - an object with comment data
    $link    - a link to the reply form of that particular
               comment
    $thread  - the subthread of that particular comment
- theme 'marvin' and theme 'zaphod' are updated, theme
  'unconed' is left to be done
2000-11-03 07:57:28 +00:00
Dries Buytaert fb348c6a90 * the correct dbase settings 2000-11-02 09:24:08 +00:00
Dries Buytaert 8a866e6d51 - Fixed quote bug in the comment tracker.
(suggestion UnConeD)
- Added anchors to comment links to easy comment navigation.
  (suggestion UnConeD)
- Fixed duplicate `you voted' after moderating a story.
  (suggestion UnConeD)
- Fixed quote bug in administration center.
- Expanded user administration with timezone information.
- Improved the theme system by eliminating the "preview" function.
  Let's not make the system more complex then it ought to be.
- Refined watchdog administration.
- ...
2000-11-02 09:23:07 +00:00
Dries Buytaert 28bf9e8999 - fixed a bug in check_input: html stripping was not 100% correct.
- fixed a bug in account.php: the confirmation url is now correct.
- improved error checking + security in diary.php.
- fixed a bug in the html code of theme zaphod.
- improved the date handling: always call format_date().
- expanded account information in administration pages.
- added a new variable $siteurl to ./includes/config.inc.
- added comment moderation to theme zaphod.
- "alter table users add timezone varchar(8);"

- !!! added new timezone feature !!! :o)
2000-10-30 16:18:39 +00:00
Dries Buytaert 472b0f8209 * Added the MySQL settings for www.drop.org (release preparations). 2000-10-24 15:19:08 +00:00
Dries Buytaert cbeb5ee468 This significant commit fixes 99% of all known bugs and improves drop.org
by means of better security checks in order to avoid malicious behavior.
In addition, quite some code has been fine-tuned.

However, as a result, every theme will require a small update ...
2000-10-24 07:24:24 +00:00
Dries Buytaert ef43f48575 A bunch of internal changes:
- better organisation of include files
 - renamed a few function to make more sense
 - small bugfix in the user account registration
 - ...
2000-10-21 13:59:27 +00:00
Dries Buytaert da9675ef0b - small bugfix: the voting settings where not 100% correct 2000-10-21 13:55:52 +00:00
Dries Buytaert 318d84e67d - extended and renamed drop's watchdog. 2000-10-19 13:33:48 +00:00
Dries Buytaert 11ee95dadc A big, fat commit with a shitload of internal changes. Not that much
visual changes:

- removed redundant files user.class.php, calendar.class.php
  and backend.class.php.
- converted *all* mysql queries to queries supported by the
  database abstraction layer.
- expanded the watchdog to record more information on what
  actually happened.
- bugfix: anonymous readers where not able to view comments.
- bugfix: anonymous readers could gain read-only access to
  the submission queue.
- bugfix: invalid includes in backend.php
- bugfix: invalid use of '$user->block'

and last but not least:

- redid 50% of the user account system
2000-10-19 13:31:23 +00:00
Dries Buytaert 43af5a7389 * fixed a small bug. 2000-10-18 07:48:52 +00:00
Dries Buytaert 68d443831d * fixed a small bug 2000-10-18 07:45:39 +00:00
Dries Buytaert 2d638e99b5 * fixed minor bug 2000-10-18 07:43:33 +00:00
Dries Buytaert b46f9a846f Bugfixes, amongst them:
- anonymous chicken was able to moderate commnets
 - "anonymous chicken" was displayed in the comment reply form
 - ...

The only thing left to be done is to tackle (or continue tackling)
the user accounts which in fact is quite some work. :o)
2000-10-12 06:44:11 +00:00
Dries Buytaert bfd8c86464 ... 2000-10-10 10:57:16 +00:00
Dries Buytaert 4a6c6de758 Huge update - I don't have time to write everything down but the directory
structure changes, some sections are expanded.  Take a look at the source
code or ask me to elaborate on certain issues/topics.
2000-10-10 10:52:19 +00:00