Commit Graph

1070 Commits (359aabe08ba70f7d9791edf9778ddd1696faf8aa)

Author SHA1 Message Date
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