Commit Graph

53 Commits (17e92817c538f74bfb49983757278fd4e42f24a5)

Author SHA1 Message Date
Dries Buytaert e4695fd5ed - Added a comment about 'RewriteBase' 2003-09-18 20:32:23 +00:00
Dries Buytaert 8e657f64ef - Gerhard's uid 0 patches. These patches bring various performance
improvements.  Requires a database update.
2003-09-09 18:18:43 +00:00
Dries Buytaert 60ce4e054e - Set session.gc_maxlifetime to something more sensible than the default
1440 seconds.
2003-08-22 21:51:19 +00:00
Dries Buytaert 594aff05f1 - Set some additional options to avoid installation pains. 2003-06-26 04:54:01 +00:00
Dries Buytaert 05288ac48a - Bugfix: made request_uri() rewrite ( and ) with their entity equivalents
to avoid XSS attacks!  Patch by Al, Moshe, Marco, Kjartan and me.

- Bugfix: the admin module does now import drupal.css prior to admin.css.
Patch by me.

- Bugfix: the admin module was still emitting a <base href=""> tag.  I
removed this as it is been taken care of by theme_head();  Patch by me.

- Bugfix: made the tracker module's pager only consider published pages.
Patch by Moshe.

- Bugfix: cured some typos in the comment module's help function.  Patch by
Marco.

- Bugfix: fixed a typo in the pager_display() that caused optional
attributes to be discarded.

- Bugfix: made the Xtemplate emit empty boxes like any other theme does.
Patch by Al.

- Bugfix: fixed broken link on the statistics module's log page.
Reported by Kjartan.

- CSS improvements: made the HTML output emitted by the tracker module
look nicer.  Patch by Moshe and Al.

- CSS improvements: added CSS classes for form elements.  Patch by Al.

- CSS improvements: added a vertical gap between the last form item and the
submit button.  Patch by Al.  Note that Opera 6 is not picking up this
CSS but apparently others browsers such as Konqueror do.

- Xtemplate improvements: changed the color of the selected day in the
archive module's calendar.  Patch by Al.

- Usability improvements: made the "birthday" field of the profile module
look nicer.  Patch by Al.

------

- TODO: it might be a good idea to emit the following meta tag in the
theme_head() function:

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

Currently, some themes (and modules!) emit this while others don't.  This
would also make it possible to change the charset site-wide.

- TODO: now we added support for td.dark and td.light to drupal.css, maybe
it can be removed from admin.css as well as xtemplate.css?
2003-06-03 18:04:47 +00:00
Dries Buytaert c2d2fb7309 - Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski.
- Fixed a typo in the MSSQL database scheme.  Patch by Michael Frankowski.

- Removed dependency on "register_globals = on"!  Patches by Michael Frankowski.

  Notes:

  + Updated the patches to use $foo["bar"] instead of $foo['bar'].
  + Updated the INSTALL and CHANGELOG files as well.

- Tiny improvement to the "./scripts/code-clean.sh" script.
2003-05-13 18:36:38 +00:00
Dries Buytaert 07bb678662 - Some .htaccess file fixes/improvements. Thanks Ax. 2003-03-11 12:57:13 +00:00
Dries Buytaert f2c914af5b - The .htaccess file will now correct the majority of the external referers
that still use the old URL scheme!  Thanks Ax and Gerhard for providing a
  better upgrade path.
2003-03-09 17:04:14 +00:00
Dries Buytaert a6a3215ee3 - Bugfix: made the pager work when clean URLs are enabled. Patch by Ax. 2003-02-20 08:02:57 +00:00
Dries Buytaert d038729797 - Clean URLs. 2003-02-14 19:52:45 +00:00
natrak 62212c7b3d - fixing a typo in the RewriteRule 2003-02-13 09:18:32 +00:00
natrak ebd9535140 - Fixed blog.module to accept blog/name URLs as well as blog/id
- Changed the RewriteRule in .htaccess.
- Fixed form_select() matching incorrectly.
- Added missing $Id$ to menu.inc
2003-02-12 21:37:55 +00:00
Dries Buytaert 20e8f9eba9 - Added 'php_value arg_separator.output "&amp;"' as suggested by Curtis. 2003-01-14 19:44:16 +00:00
Dries Buytaert 296a01f399 - Made sure session.cache_limiter is set to "none" as suggested by Moshe
and Ax.
2002-12-08 08:19:29 +00:00
Dries Buytaert 7c187f894c - Added "short_open_tag 1" to the PHP settings. 2002-12-07 21:21:35 +00:00
Kjartan Mannes 564574ba07 - setting magic_quotes_gpc to 0 (off). IF it causes any problems please report. 2002-09-27 16:50:42 +00:00
Kjartan Mannes d480507f0d - changing php_register_globals to register_globals which is the correct setting. 2002-06-10 12:10:55 +00:00
Kjartan Mannes 3f14fd77bf - small update .htaccess, fixed the blog link.
- some interface changes in block admin page.
2002-05-02 19:55:22 +00:00
Kjartan Mannes 9062b566b2 - applying patches from Axel Kollmorgen. See
http://list.drupal.org/drupal-devel/2002-February/thread.html#6678
  http://list.drupal.org/drupal-devel/2002-February/thread.html#6629
- removed references to $this->user() from themes.
- removed $BaseTheme->user(). It was deprecated a while back.

NOTE: this update will break custom themes, so make sure you update your
themes before updating!
2002-02-17 13:04:50 +00:00
Dries Buytaert 7a673ac3cc - Made the "http://foo.com/blog/username" URL syntax work again. Patch by
Foxen.
2001-12-30 13:00:00 +00:00
natrak 6c69a8bfe6 - tweaked some of the php settings. 2001-12-09 14:23:06 +00:00
natrak cd40123540 - cleaned up .htaccess. Removed some php settings and made the deny
filters more specific.
2001-11-24 13:18:58 +00:00
natrak e7fd76a1c9 - added the CVS keyword $Id$ to all files to make future version tracking
easier. Also changed the <? tag to <?php in some cases.
2001-10-20 18:57:10 +00:00
natrak 21dd55a763 - set session.save_handler to user. required to use
session_set_save_handler() in user.module.
2001-09-18 20:36:28 +00:00
natrak 01a8b5edad - Adding the rewrite rule for blog until a better system can be implemented. 2001-07-14 14:28:32 +00:00
Dries Buytaert e32241e59a - Renamed syndication.module to import.module.
- Removed headline.module: it became obsolete.

- Removed backend.class: it became obsolete.

- Added export.module.

  For now, you can use:
    1. http://drupal/export.php?headlines.rss
    2. http://drupal/export.php?headlines.rdf

- Renamed export to export.php.

  For now, you can use:
    1. http://drupal/export.php?headlines.rss
    2. http://drupal/export.php?headlines.rdf

  Renaming this file has main 3 advantages:
    1. We no longer rely on .htaccess for being able to export.
    2. It is more conform with the general naming conventions.
    3. It removes a pseudo-hack with formatting the URI.

- Made import.module export blocks with feeds.
2001-05-28 18:53:48 +00:00
natrak a28bf8f399 - Fixed regexp bug in <Files>. This used to work on older versions of
Apache, but seems that the latest versions are not as forgiving.
2001-05-23 13:27:42 +00:00
Dries Buytaert 38806b4a39 - fixed bug in common.inc: throttle()
- streamlined method invocation in node.inc
- added node_status() function to modules
- added NEW (mostly static) page module
- added NEW settings module
2001-04-07 15:02:28 +00:00
Dries Buytaert 1475c23a1a - tidyied up .htaccess a bit 2001-03-24 16:58:03 +00:00
Dries Buytaert de2e393933 - various updates, bugfixes and improvements 2001-02-04 22:09:38 +00:00
Dries Buytaert 44c4800434 - here a bunch of changes to make "drupal" (for now) work with PHP 4.0.4
- tidied up some of the code and mainly working on the documentation
2000-12-30 11:58:14 +00:00
Dries Buytaert 42fbefddff - syndication changes 2000-12-25 21:59:07 +00:00
Dries Buytaert 9f4128ab01 - finilized syndication / My Netscape channel stuff:
http://drop.org/syndication.rdf -> returns RDF backend
2000-12-25 21:50:07 +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 d4c8d42646 - again, a more rock solid .htaccess - should be OK now 2000-12-16 09:40:35 +00:00
Dries Buytaert 8a67ef2c24 - a better .htaccess 2000-12-16 09:27:52 +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 56f68498ac - small update 2000-11-25 12:59:16 +00:00
Dries Buytaert e282fef076 * fixes the current login problem 2000-10-25 11:21:39 +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 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 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 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 9a0689a9cf * Added extra PHP variables to .htaccess as discussed earlier this week. 2000-06-22 09:14:16 +00:00
Dries Buytaert 467817f922 * Enhancement: protect the themes/-directory (and subdirectory) from
prying eyes.
2000-06-05 16:10:47 +00:00
natrak a1082cdb9a Changing the httpd conf so the sessions are stored longer and use DROPID as the cookie name :) 2000-06-03 09:20:45 +00:00
Dries Buytaert fbfb8281fb * The CVS directories (automatically created by the CVS repository) can no
longer be accessed from the web.  Let's keep lurking eyes out. ;)
* I'm still idling (except for these kind of tidbits) until Natrak commited
  the new user system.  *evil grin*
2000-06-01 13:33:19 +00:00