Commit Graph

27667 Commits (0de81e316d99e8e3dea5078dc951cb2fb98184db)

Author SHA1 Message Date
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
Dries Buytaert cb37021a63 ... and the winner is ... 2000-10-10 16:41:19 +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
Dries Buytaert 73077e8778 A lot of (non-visual) updates! 2000-10-10 10:51:00 +00:00
Dries Buytaert 44af9b9b43 Just trying a different setting to check whether this fixes the session
timout (cookie expires to fast) problem ... *fingers crosses*
2000-10-05 13:20:27 +00:00
Dries Buytaert 444b64c6be ... and the winner is ... (finally got it to work) 2000-10-04 10:36:47 +00:00
Dries Buytaert 535e936e6a (oops, forgot something) 2000-10-04 10:28:49 +00:00
Dries Buytaert dc08a8c28c (oops, forgot something) 2000-10-04 10:27:19 +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 &quot;.
- 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 7dd86ad68d * Added UnConeD's theme - it's amazingly cool. However, we really need
better theme descriptions so give it a change and post your ideas. (see
config.inc or the "Custumize your page" site.
2000-09-29 17:25:23 +00:00
Dries Buytaert 3ebd8b9054 Some ienie-wienie-tiny layout changes I made last night (in presence of Jeroen). 2000-09-28 12:34:44 +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 24e81c0fd2 no comment 2000-09-26 12:49:13 +00:00
Dries Buytaert b48c22596b While editing my diary, I figured out I forgot a stripslashes. 2000-09-26 12:48:30 +00:00
Dries Buytaert d75efcbf68 no comment 2000-09-26 07:35:22 +00:00
Dries Buytaert 5fc99970ab I just commit everything what was queued in my backlog:
- Added a basic implementation of comment moderation
- Updated and renamed my 2 themes: I removed redundant boxes and tried to
  work towards simplicity.
- Disabled the other themes as they are broken (I gave you sufficent time
  to update them).
- Removed redundant files.
- Added security checks with regard to the usage of HTML tags.
2000-09-26 07:34:33 +00:00
Dries Buytaert 6ca7f1e2f3 Various smaller changes: one of the more interesing is the addition of a
check()-function which validates input from forms.  The allowed HTML tags
can be configured in config.inc.
2000-09-21 07:20:17 +00:00
Dries Buytaert 525ae78d86 * Small changes to the layout of the diary and theme 'Dries'. 2000-09-15 08:39:46 +00:00
Dries Buytaert 35df71f364 Fixed small glitch. 2000-09-13 09:58:06 +00:00
Dries Buytaert f0203c6051 * fixed theme bug reported by Philippe Verbeeck. 2000-09-11 13:09:06 +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 17d8330e44 * A new file which add a log-service to drop.org. 2000-09-04 16:17:39 +00:00