Commit Graph

14940 Commits (df994a238b83b3c3da9f02b7e5a40f418ac1a61c)

Author SHA1 Message Date
Steven Wittens 01018b6830 Fixed the "below your threshold" bug... it still had an old method in there. Zaphod is outdated as well, and Marvin doesn't contain a check for 0 in there. 2000-11-21 16:53:32 +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
Steven Wittens c3e6f00141 theme tweaking 2000-11-13 19:26:17 +00:00
Steven Wittens 5ae598c910 theme enlargement 2000-11-13 19:10:25 +00:00
Dries Buytaert 226e382f47 * a new script file to count the lines of code. ;)
[dries@dione drop]$ ./scripts/php-count
   lines of code in .inc files  :   1046
   lines of code in .php files  :   2796
   lines of code in .theme files:   1096
2000-11-13 08:20:03 +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 d4fc1dfa88 * small improvements to my themes:
- they now use 'discussion_num_filtered()' to display the number
     of filtered comments.
2000-11-07 08:59:36 +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 2c399b13a3 * Added some tags to ease navigation 2000-11-06 08:01:25 +00:00
Steven Wittens 234981df56 - Removed preview()
- Updated comment() for the new comment-class
- Fixed the funky indentation :) (the blame goes to this weird text-editor)
2000-11-03 23:19:26 +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
Steven Wittens 70520c7b05 funky theme bug makes netscape look ugly 2000-11-01 21:48:38 +00:00
Dries Buytaert 6a6e9cc8a2 * fixed quote bug just reported by UnConeD. 2000-11-01 15:22:41 +00:00
Dries Buytaert 9cf30ab8bf * fixed the slash-bug just reported by UnConeD. 2000-11-01 15:09:05 +00:00
Steven Wittens 273109fbcf just a little improvement... :)
username: anything
password: mOo!
2000-11-01 12:51:51 +00:00
Dries Buytaert 6c445ef88d * updated the database files 2000-10-31 11:07:40 +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 4ede9967c1 * fixed the login problem 2000-10-25 11:23:29 +00:00
Dries Buytaert e282fef076 * fixes the current login problem 2000-10-25 11:21: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 716bc2016c added nl2br()'s where appropriate!
UnConeD: will you add the nl2br()'s to your theme or do you want
         me to do so?  Remark that it will look screwed up (too
         many <br>'s) with the current stories but it won't with
         new entries ...
2000-10-24 15:07:29 +00:00
Steven Wittens 6f6cc6401b Comment control-box update... 2000-10-24 14:57:36 +00:00
Dries Buytaert 1641d9f846 * added the database tables of drop to CVS: not the content, just the
table definitions.
2000-10-24 11:53:41 +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 9d3e9bc782 - no comment 2000-10-21 14:04:18 +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 34494acf70 * added a 'DOCTYPE' statement 2000-10-21 13:34:28 +00:00
Dries Buytaert 2d56415ae9 Fixed 4 tiny bugs in unconed.theme:
+ 'nocomments' should be removed as it's no longer supported.
 + '$sid' should be passed or you'll get moderation errors.
 + 'get' should be 'post' in the control form.
 + renamed the 'Refresh'-button to 'Save'.
2000-10-21 13:29:52 +00:00
Dries Buytaert e156b0c414 - fixed a bug in unconed.theme 2000-10-21 12:54:08 +00:00
natrak 02abb94639 Just trying to change some config settings.. hope it will work :) 2000-10-20 16:06:08 +00:00
Dries Buytaert 40ef1a7d3c - small bugfix 2000-10-20 15:43:53 +00:00
Dries Buytaert 60310fa41c no comment 2000-10-19 13:44:37 +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 801db51a1c * removed poll.php - it's totally outdated.
* fixed 2 bugs in the discussion forum.
2000-10-13 10:17:30 +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 50819393d0 increased it even more just to make sure .) 2000-10-11 07:16:22 +00:00
Dries Buytaert ef643bf827 increased the cach expire to see if that fixed the logout problem 2000-10-11 07:13:00 +00:00