Commit Graph

389 Commits (41d2b2a349564c7a55df9bc511c36e3889d4558d)

Author SHA1 Message Date
Jeroen Bensch 6891448fc6 OK, check out this version of my theme. Everything "should" work now. Only it looks real buggy, at least in mozilla, so if you could (you don't have to) have a look at it in your own... I also indented differently, on one space but two each time I needed to indent. I thought it'd make it somewhat clearer with such a complicated/tabled theme as mine. Also when opening PHP I put the <? and ?> tags at the beginning of a new line. Again to make it more clear. All I have to do now it get the looks of the theme right. But do have a look at it.
Jeroen.

P.S.: I might even get this thing finished, imagine that. :)
2001-01-15 11:20:58 +00:00
Dries Buytaert c38cfa8b22 - Oops, forgot to remove a debug statement ;) 2001-01-13 16:41:35 +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
Jeroen Bensch f1a8ab536c I removed my theme.class.php, now if someone changes my Jeroen dir into jeroen everything should be back in order. I don't think it would be a good idea to remove all of Jeroen and commit all of jeroen, would it. :)
Now you can release rc2. :)
2001-01-10 18:58:17 +00:00
Jeroen Bensch 16a6ea28e1 As I wrote in the mail, this is my .theme for now. Rather than sending the screenshot to all of you seperately, maybe you could just add a line for my theme in your <hostname>.conf and test it. This for example:
"Jeroen"  => array(
           "themes/jeroen/jeroen.theme",
           "piped theme, grey/rusty, pretty nifty"));
2001-01-10 18:51:15 +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 fbb5370581 Category bug fixed. 2001-01-04 15:27:26 +00:00
Dries Buytaert 5c44a206c6 - removed text in upper-right corner 2000-12-29 11:57:54 +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 2714fae603 - small bugfixes and standarized "export" routines for modules to use. 2000-12-27 12:44:27 +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 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 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 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
Steven Wittens 0d4e75269a little bugger bug 2000-11-26 15:22:23 +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
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
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 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
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 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 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
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 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 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
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 cb37021a63 ... and the winner is ... 2000-10-10 16:41:19 +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 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 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 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 e214bd06c6 Updates:
--------

* URI/URL enhancements to make the URLs more comprehensive and shorter.
* Fixed a bug in submit.php that slipped in during the latest commit.
* Changed a few tidbits on the calendar.
* Fixed a bug in most themes:
    $tid       --> $cid
    COUNT(tid) --> COUNT(cid)
  Updated most themes except for UnConeD's.
* Fixed a handful of problems with Jeroen's theme.  However, Jeroen's
  theme is still not working yet - some features are completly missing,
  making the theme not very useful ...

Any known bugs left?  If not, I'll head on tonight and add some new
features.  I'll probably add basic admin tools to edit articles and
such.  Once done, we can start on the comment moderation.
2000-07-13 07:21:57 +00:00
Jeroen Bensch 90e8ad2790 for the third time... 2000-06-23 08:20:13 +00:00
Jeroen Bensch f0f1f9638e *** empty log message *** 2000-06-22 19:21:11 +00:00
Jeroen Bensch 0d1fbc4059 This is a logo being randomly generated, if it appears there is a cork stuck
in the pipe and no drop will leak out of it.
2000-06-22 19:19:39 +00:00
Jeroen Bensch 518229c488 Changed my theme so you could vote submissions. 2000-06-13 13:55:21 +00:00
Jeroen Bensch 7ae0cff395 renamed my theme.class 2000-06-05 16:27:20 +00:00
Dries Buytaert 50fc563bff * Enhancement: removed themes/list.php by integrating it directly into
account.php.  list.php was just being clumpsy and did simply not
  belong in the themes/-directory.
2000-06-05 15:49:35 +00:00
Jeroen Bensch efee3baf98 My theme with the calendar... 2000-06-04 15:08:10 +00:00
Jeroen Bensch 85594eb9a1 like this? 2000-06-04 12:20:44 +00:00
Jeroen Bensch eaafc01bce Removed the NOWRAP tag in the subheader but I have to find a better way, it
doesnt look good in NS.
2000-06-04 12:09:05 +00:00
Jeroen Bensch e658c51aa0 Found a floating colored pixel in the logo + I typed the text in courier...
I think this looks a bit better.
2000-06-04 11:41:36 +00:00
Jeroen Bensch b6dd527adc This is the theme.class that I tried to change so it'd work under IE. 2000-06-04 11:25:42 +00:00
Jeroen Bensch 48141624c3 hope and pray my friends, I shuffled my theme.class around a bit and i hope
this is the good one.
2000-06-03 09:30:50 +00:00
Jeroen Bensch e1a7c7a6f7 Uploaded 3 .giffies for the navigation bar at the bottom I left borders on 1
because i still have to check out some table problems with that navigation
bar.
2000-06-03 09:17:54 +00:00
Jeroen Bensch 221a2b87af sorry wrong font size 2000-06-03 09:12:59 +00:00
Jeroen Bensch 00d5b2571b theme.class update, added a stylesheet to avoid font size problems between
browser, but now the Status box show in 9pt too and I dont want that, does
anyone know how to break out a stylesheet so you still can assign font sizes
within the body, without them being overruled by the stylesheet?
2000-06-03 09:10:14 +00:00
natrak 1b12175140 Think this is all of it :) 2000-06-02 18:36:50 +00:00
Jeroen Bensch 052757e291 - Tweaked my logo a teeny bit.
- Fixed some table errors in the article and comment-control section form
theme.class.
2000-05-29 09:51:52 +00:00
natrak 005267568d Just testing something :) 2000-05-28 21:37:07 +00:00
Jeroen Bensch b956695c8b The three leftover gifs are removed... 2000-05-28 19:10:57 +00:00
Jeroen Bensch bc79f8c21b Removed all the old giffies if it still works now it is a miracle.
Hope and pray...
2000-05-28 15:23:12 +00:00
Jeroen Bensch a04b2b6d4a A load of renamed giffies... 2000-05-28 14:47:01 +00:00
Jeroen Bensch cfe8e43fcd A pretty final version of the theme.class...
I replaced much of the giffies filenames with more human-readable ones.
Yes this implies a lot of removing and replacing giffies. Expect some more
cvs updates. :)
2000-05-28 14:40:40 +00:00
Jeroen Bensch 684adf9ee3 the giffies to come with the updated theme.class
too bad you cant see it yet
2000-05-28 10:06:03 +00:00
Jeroen Bensch 0f7000a4f8 - Added:
more random thingies...
   comment control...
   themed webboard...
   themed comments...
2000-05-28 10:03:23 +00:00
Jeroen Bensch 9286bfc10e Mes excuses mais c'est la derniere fois... 2000-05-27 09:46:14 +00:00
Jeroen Bensch 5a70a5f2b3 Another two giffies... 2000-05-27 09:45:23 +00:00
Jeroen Bensch 621e438e22 - Errrr... kinda forgot one giffie... 2000-05-27 09:36:22 +00:00
Jeroen Bensch 7e47749be8 - removed all of my old giffies...
- hope and pray my people.
2000-05-27 09:30:04 +00:00
Jeroen Bensch 163fcebafb - Another load of gifs...
- I'll remove the ones of my first theme.
2000-05-27 09:19:05 +00:00
Jeroen Bensch e1c2498f14 Uploaded the theme.class 2000-05-27 09:03:04 +00:00
Jeroen Bensch 6aed99f8c4 All the giffies.... again 2000-05-26 14:42:22 +00:00
Jeroen Bensch c0eca9affd Another final commitment, this time factor 10 as good.
Enjoy.
2000-05-26 14:40:09 +00:00
Jeroen Bensch 09956643f7 - I uploaded all of my .giffies, most of the theme should work now.
- Only the webboard is still ugly and you cant read/post comments for now.
- I still have to copy/paste the comment thing.
2000-05-26 09:16:25 +00:00
Jeroen Bensch 5489f8f297 - Uploaded my final theme.class (for now)
- I especcially left one buggy thing in it... if you find it tell me...
2000-05-26 09:11:39 +00:00
Jeroen Bensch 8a815fedba Uploaded the .gifs for my theme 2000-05-25 21:26:53 +00:00
Jeroen Bensch ad89f47b48 I uploaded a pretty final version of my theme... some minor errors though.
Let me know how it looks in IE ok? *being frightened*
2000-05-25 21:25:03 +00:00
Jeroen Bensch 6590fec2e0 Removed old .php files and added some gifs 2000-05-25 14:11:01 +00:00
Jeroen Bensch 80399f6305 How about a slight theme-update? 2000-05-25 14:10:08 +00:00
Jeroen Bensch 4688f4335a fingers crossed 2000-05-22 09:53:08 +00:00
Jeroen Bensch 1a757c97d6 fewsa 2000-05-22 09:43:52 +00:00
Jeroen Bensch d32e6aa9db ewsabeasw 2000-05-22 09:41:29 +00:00
Jeroen Bensch d43baa9e10 fewsagbna 2000-05-22 09:31:01 +00:00
Jeroen Bensch c3edc25010 testing... 2000-05-22 09:15:12 +00:00
Jeroen Bensch 03eced9e96 another try... 2000-05-22 09:07:29 +00:00
Jeroen Bensch 655be71c67 and again... 2000-05-22 09:01:12 +00:00
Jeroen Bensch a2a6de8369 Tried out how to commit stuff. 2000-05-22 08:55:00 +00:00
Dries Buytaert 2569242afd Imported sources 2000-05-18 19:52:00 +00:00