Commit Graph

27 Commits (5ae598c91017e413edab45ae4a57b37cf19b2a1f)

Author SHA1 Message Date
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 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 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 73077e8778 A lot of (non-visual) updates! 2000-10-10 10:51:00 +00:00
Dries Buytaert 9a5e960638 * Reorganised a few things and fixed the theme-update bug reported by UCD. 2000-10-04 10:25:08 +00:00
Dries Buytaert e7019c2577 Changelog
---------
- improved the user information page.
- improved the story submission page.
- fixed comments score bug: '.00' --> 'x.00'
- tried fixing the calendar wrapping - UnConeD, is it fixed now?
- provided a link back to the submission queue after having voted
  for a story.
- fixed comment subject bug (and security flaw) by replacing
  quotes by ".
- updated theme 'zaphod': fixed 2 bugs.
- updated theme 'marvin': fixed 1 bug and improved the layout so
  things wrap (hopefully) better in Windows.
- comments have by default no subject pre-set - if no subject is
  provided, the user is warned and when a comment eventually got
  submitted without a subject, a subject is composed using the x
  first characters of the comment's body.
- improved comments on submit.php
- corrected a typo in the FAQ.

UnConeD
-------
- replace 'article.php' by 'discussion.php'
- comment() still uses old references to account.php: the
  parameters you supply to account.php does no longer hold.
  You have to update those links to the new syntax.
- commentcontrol() is outdated - copy paste the one of
  theme 'marvin' and adjust it to your likings.
2000-10-02 07:32:17 +00:00
Dries Buytaert 99dce2a3ba * A set of misc. updates and improvements.
* On a side note:
   Jeroen: I'm feeling somewhat better at the moment so normally it
           should be OK if you'd stop by tonight (after 19:30h).
           Give me some feedback on this. ;-)
2000-09-27 07:14:32 +00:00
Dries Buytaert 1f0a87f4e7 Over the last 2 days I redid and reorganized an afwul lot of code and
made quite a lot of additions.   The most remarkable addition is the
diary server, which I slapped together in less then 40 minutes.   Most
of the other changes are however `unvisible' for the user but add much
value to a better maintainability from a developer's objective.  Like
always, I fixed quite a number of small bugs that creeped into the code
so we should have a bigger, better and more stable drop.org.

Unfortunatly, some theme update _are_ required:


REQUIRED THEME UPDATES:
=======================

* use format_username() where usernames are used
* use format_date() where timestamps/dates are used
* use format_email() where e-mail addresses are displayed
* use format_url() where url are displayed
* replace 'formatTimestamp' with format_date
* replace 'morelink_*' with 'display_morelink'

[most of these functions are in function.inc or template.inc]

___PLEASE___ (<- this should get your attention ;) update your themes
as soon as possible - it only takes 30 min. to get in sync with the
other themes.  Don't start whining about the fact you don't know what
to change ... either eat the source cookie, or ask me to elaborate on
a few changes.  Just let me know what's puzzling you and I'll try to
help you out!


TODO LIST FOR NEXT WEEK
=======================
* Add checks for max. text length in textarea's?  Is there an HMTL
  attribute for this or ...?
* Comment moderation + mojo
* Edit/admin user accounts: block, delete, change permissions, ...
* E-mail password, change password, change e-mail address -> extra
  checks and routines to validate such `special' changes.
* Input checking - input filter: bad words, html tags, ...
2000-09-11 07:45:22 +00:00
Dries Buytaert 7daa3fd8ee A really BIG, BIG UPDATE, after two straight days of nothing but code
and sleep, new stuff is finally in drop.org.  This is a quite large
and wide-ranging update, which affects almost all of the system files
in one way or another.  I fixed quite a lot of bugs and added quite a
lot of new features, mostly administrative tools as these were really
lacking.  It's far from finished but it's a start ...
2000-09-04 16:14:46 +00:00
Dries Buytaert e23d2f4a57 * My eye catched a typo and I had to fix that... 2000-07-14 07:54:15 +00:00
Dries Buytaert 05f923f1fa * Fixed the *mumble*bug*mumble* 2000-07-14 07:50:56 +00:00
Dries Buytaert 448506a85a * 2 bugfixes to discussion.php and themes/Dries/theme.class.php.
* Added a 'disclaimer' and 'terms and conditions' to the FAQ.
2000-07-06 14:39:47 +00:00
Dries Buytaert f812f17470 * Updated the FAQ: added new stuff. 2000-07-01 09:54:25 +00:00
Dries Buytaert 2c6b710ca3 * Boxed the FAQ (--> looks better now) and made various changes to the FAQ
content.  The only thing left to `box' are the `account setting'-pages.
2000-06-17 13:25:58 +00:00
Dries Buytaert 97b5726590 testink 2000-05-22 10:33:56 +00:00
Jeroen Bensch a5c96da22e testink 2000-05-22 10:32:48 +00:00
Dries Buytaert 65d0fcf50f como'n, work 2000-05-22 10:31:36 +00:00
Dries Buytaert 2ce00a9d45 fdasfdas 2000-05-22 10:20:17 +00:00
Dries Buytaert d3d8c37d3c testing 2000-05-22 10:18:58 +00:00
Jeroen Bensch cd3ce99407 fsdafdas 2000-05-22 10:13:35 +00:00
Jeroen Bensch a0247b2be4 fdasfda 2000-05-22 10:10:46 +00:00
Jeroen Bensch 4f118e2cfc testomh 2000-05-22 10:09:04 +00:00
Jeroen Bensch 3a62885aef sigh 2000-05-22 10:05:10 +00:00
Jeroen Bensch a0cb7b5503 testi-i-ing 2000-05-22 10:02:48 +00:00
Jeroen Bensch 4e04267218 testing ... please 2000-05-22 10:01:22 +00:00
Jeroen Bensch b64a9852ec testing 2000-05-22 09:56:39 +00:00
Dries Buytaert 2569242afd Imported sources 2000-05-18 19:52:00 +00:00