/[drupal]/drupal/index.php
ViewVC logotype

Log of /drupal/index.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.99 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 15 14:07:25 2009 UTC (6 weeks ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-10, HEAD
Changes since 1.98: +2 -23 lines
Diff to previous 1.98
- Patch #599804 by effulgentsia, catch: unify page, AJAX 'path', and AJAX 'callback' callbacks. Oh my, this is the beginning of something big.

Revision 1.98 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 8 20:27:51 2009 UTC (9 months, 2 weeks ago) by webchick
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-5, DRUPAL-7-0-UNSTABLE-6, DRUPAL-7-0-UNSTABLE-7, DRUPAL-7-0-UNSTABLE-8, DRUPAL-7-0-UNSTABLE-9
Changes since 1.97: +2 -2 lines
Diff to previous 1.97
#363013 by mannkind: Use getwd() rather than realpath(__FILE__) to determine drupal root, so we don't break symlinks.

Revision 1.97 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 27 00:22:24 2009 UTC (9 months, 4 weeks ago) by dries
Branch: MAIN
Changes since 1.96: +4 -4 lines
Diff to previous 1.96
- Patch #351235 by dmitrig01, webchick, frando, moshe weitzman, et al: hook_page_alter.  Oh, behave.

Revision 1.96 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 20 20:22:23 2008 UTC (14 months ago) by webchick
Branch: MAIN
CVS Tags: DRUPAL-7-0-UNSTABLE-1, DRUPAL-7-0-UNSTABLE-2, DRUPAL-7-0-UNSTABLE-3, DRUPAL-7-0-UNSTABLE-4
Changes since 1.95: +7 -2 lines
Diff to previous 1.95
#259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths.

Revision 1.95 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 21 19:36:35 2008 UTC (15 months ago) by dries
Branch: MAIN
Changes since 1.94: +1 -2 lines
Diff to previous 1.94
- Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7.

Revision 1.94 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 26 08:46:48 2007 UTC (23 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-6-0, DRUPAL-6-0-RC-2, DRUPAL-6-0-RC-3, DRUPAL-6-0-RC-4, DRUPAL-6-1, DRUPAL-6-10, DRUPAL-6-11, DRUPAL-6-12, DRUPAL-6-13, DRUPAL-6-14, DRUPAL-6-2, DRUPAL-6-3, DRUPAL-6-4, DRUPAL-6-5, DRUPAL-6-6, DRUPAL-6-7, DRUPAL-6-8, DRUPAL-6-9
Branch point for: DRUPAL-6
Changes since 1.93: +4 -1 lines
Diff to previous 1.93
- Patch #174226 by keith.smith, pwolanin et al al -- and greatly simplified by me: added a copyright notice.

Revision 1.93 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 6 13:27:20 2007 UTC (2 years, 7 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-6-0-BETA-1, DRUPAL-6-0-BETA-2, DRUPAL-6-0-BETA-3, DRUPAL-6-0-BETA-4, DRUPAL-6-0-RC-1
Changes since 1.92: +1 -2 lines
Diff to previous 1.92
- Patch #130987 by merlinofchaos: added theme registry for easier themability.

Revision 1.92 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 11 09:30:50 2007 UTC (2 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.91: +2 -2 lines
Diff to previous 1.91
 - Patch #113603 by chx: first crack at re-implementing tabs.

Revision 1.90.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 12 13:50:59 2006 UTC (2 years, 11 months ago) by killes
Branch: DRUPAL-4-7
CVS Tags: DRUPAL-4-7-10, DRUPAL-4-7-11, DRUPAL-4-7-5, DRUPAL-4-7-6, DRUPAL-4-7-7, DRUPAL-4-7-8, DRUPAL-4-7-9
Changes since 1.90: +20 -18 lines
Diff to previous 1.90 , to next main 1.99
#101486: Fix switch statement in index.php not to trigger on string numbers

Revision 1.91 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 12 09:32:18 2006 UTC (2 years, 11 months ago) by unconed
Branch: MAIN
CVS Tags: DRUPAL-5-0, DRUPAL-5-0-RC-1, DRUPAL-5-0-RC-2, DRUPAL-5-1, DRUPAL-5-10, DRUPAL-5-11, DRUPAL-5-12, DRUPAL-5-13, DRUPAL-5-14, DRUPAL-5-15, DRUPAL-5-16, DRUPAL-5-17, DRUPAL-5-18, DRUPAL-5-19, DRUPAL-5-2, DRUPAL-5-20, DRUPAL-5-3, DRUPAL-5-4, DRUPAL-5-5, DRUPAL-5-6, DRUPAL-5-7, DRUPAL-5-8, DRUPAL-5-9
Branch point for: DRUPAL-5
Changes since 1.90: +20 -18 lines
Diff to previous 1.90
#101486: Fix switch statement in index.php not to trigger on string numbers

Revision 1.82.4.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 18 20:14:08 2006 UTC (3 years, 1 month ago) by killes
Branch: DRUPAL-4-6
CVS Tags: DRUPAL-4-6-10, DRUPAL-4-6-11
Changes since 1.82: +2 -1 lines
Diff to previous 1.82 , to next main 1.99
remove trailing spaces

Revision 1.90 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 27 18:51:51 2006 UTC (3 years, 9 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-7-0, DRUPAL-4-7-0-BETA-5, DRUPAL-4-7-0-BETA-6, DRUPAL-4-7-0-RC-1, DRUPAL-4-7-0-RC-2, DRUPAL-4-7-0-RC-3, DRUPAL-4-7-0-RC-4, DRUPAL-4-7-1, DRUPAL-4-7-2, DRUPAL-4-7-3, DRUPAL-4-7-4, DRUPAL-5-0-BETA-1, DRUPAL-5-0-BETA-2
Branch point for: DRUPAL-4-7
Changes since 1.89: +3 -2 lines
Diff to previous 1.89
- Patch #44993 by markus, jaza, dopry et al: blank page when menu callbacks generate empty pages.

Revision 1.89 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 10 19:26:47 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-7-0-BETA-3, DRUPAL-4-7-0-BETA-4
Changes since 1.88: +1 -1 lines
Diff to previous 1.88
- Patch #40393 by Richard: corrected permissions of menu/path settings on the content submission form.

Revision 1.88 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 8 12:38:20 2005 UTC (4 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.87: +4 -1 lines
Diff to previous 1.87
- Modified version of patch #32622 by kbahey: added 'site offline/maintenance' feature.

  (Untested because the admin/settings page doesn't work yet.)

Revision 1.87 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 28 18:26:20 2005 UTC (4 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.86: +1 -2 lines
Diff to previous 1.86
- Patch #29385 by chx: removed remaining "?>"s at the end of some files.

Revision 1.86 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 23 05:57:27 2005 UTC (4 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85
- Patch #27003 by Neil: use named constants instead of strings

Revision 1.85 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 22 20:19:56 2005 UTC (4 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.84: +3 -7 lines
Diff to previous 1.84
- Patch #18213 by chx: boostrap system.  Modified to work with HEAD, tidied
  up the documentation a little.

  chx: can you double-check whether the global $conf variable is secure?
       (That is, make sure it can't be send using the URL or something.)

Revision 1.84 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 21 18:33:58 2005 UTC (4 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.83: +2 -1 lines
Diff to previous 1.83
- Patch #18663 by chx: fix empty form elements.

Revision 1.83 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 24 16:34:32 2005 UTC (4 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.82: +8 -3 lines
Diff to previous 1.82
- Patch 20910 by chx: centralize print theme page.

Revision 1.82 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 21 06:42:34 2004 UTC (5 years, 3 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-5-0, DRUPAL-4-5-1, DRUPAL-4-5-2, DRUPAL-4-5-3, DRUPAL-4-5-4, DRUPAL-4-5-5, DRUPAL-4-5-6, DRUPAL-4-5-7, DRUPAL-4-5-8, DRUPAL-4-6-0, DRUPAL-4-6-1, DRUPAL-4-6-2, DRUPAL-4-6-3, DRUPAL-4-6-4, DRUPAL-4-6-5, DRUPAL-4-6-6, DRUPAL-4-6-7, DRUPAL-4-6-8, DRUPAL-4-6-9
Branch point for: DRUPAL-4-5, DRUPAL-4-6
Changes since 1.81: +9 -1 lines
Diff to previous 1.81
- Patch by JonBob: for consistency and readability, add brief descriptions of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks.

Revision 1.81 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 12 18:00:06 2004 UTC (5 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.80: +3 -3 lines
Diff to previous 1.80
- Patch #9983 by Stefan: various code style improvements.

Revision 1.80 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 18 15:04:33 2004 UTC (5 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.79: +4 -5 lines
Diff to previous 1.79
Tabs patch!

CHANGES
-------

 + Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page.

 + Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'.

 + Grouped settings. All settings have been grouped under 'administer > settings'.

TODO
----

 + Update core themes: only Xtemplate default supports tabs and even those look ugly.  Need help.

 + Update contributed modules.  The menu() hook changed drastically.  Updating your code adhere the new menu() function should be 90% of the work.  Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').

Revision 1.79 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 21 13:56:37 2004 UTC (5 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.78: +10 -6 lines
Diff to previous 1.78
- Added support for 403 handling.  Patch by JonBob.  As a side benefit,
  administrators will be able to define a custom 403 page, just as they
  can define 404 pages now.

  This needs to be documented in the "Changes since / migrating to ..."
  pages.

Revision 1.78 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 15 20:49:39 2004 UTC (5 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.77: +1 -3 lines
Diff to previous 1.77
- Patch by JonBob/Jonathan: reworked the menu system so that menus are
  configurable!  Menu items can be disabled, repositioned, added and
  so on.

  Upgrading to requires you to run update.php.

  This functionality depricates some of the 'navigation modules' in the
  contributions repository.  Furthermore, modules can now 'suggest'
  menu items and site adminstrators can choose to enable them.  Modules
  in the contributions repository should try to take advantage of this.

Revision 1.77 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 16 21:06:33 2003 UTC (5 years, 11 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-4-0, DRUPAL-4-4-1, DRUPAL-4-4-2, DRUPAL-4-4-3
Branch point for: DRUPAL-4-4
Changes since 1.76: +2 -2 lines
Diff to previous 1.76
- Reworked 404 (page not found) handling.  Patch by walkah.  You can specify a
  custom 404 page in the administration page.  As a result, error.php could be
  removed.

Revision 1.76 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 25 19:26:20 2003 UTC (6 years ago) by dries
Branch: MAIN
Changes since 1.75: +2 -3 lines
Diff to previous 1.75
- Committed phase 4 of JonBob's menu system changes.

Revision 1.75 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 20 21:51:22 2003 UTC (6 years ago) by dries
Branch: MAIN
Changes since 1.74: +4 -22 lines
Diff to previous 1.74
- Patch by JonBob:

  Phase 2 of the menu system integration project. This unifies the interface
  used by admin and non-admin pages, and deprecates the _page hook in favor of
  explicit callbacks from menu(). Breadcrumbs, titles, and help text go away
  as a result of this patch; they will return in the phase 3 patch, printed
  by the theme.

Revision 1.74 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 20 19:55:04 2003 UTC (6 years ago) by dries
Branch: MAIN
Changes since 1.73: +1 -3 lines
Diff to previous 1.73
- Removed duplicate call to drupal_page_header().  Patch by Moshe.

Revision 1.73 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 18 23:37:48 2003 UTC (6 years ago) by kjartan
Branch: MAIN
Changes since 1.72: +3 -8 lines
Diff to previous 1.72
- Fixes bug #4100: First visit to site results in 'access denied' page.
- Fixed sess_write().
- Removed dead code in index.php.

Revision 1.72 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 18 19:44:35 2003 UTC (6 years ago) by dries
Branch: MAIN
Changes since 1.71: +3 -1 lines
Diff to previous 1.71
- Improved module loading when serving cached pages.  Moshe's bootstrap patch.

- Used legend and fieldset tags for the configuration page.

Revision 1.71 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 12 21:54:16 2003 UTC (6 years ago) by dries
Branch: MAIN
Changes since 1.70: +7 -7 lines
Diff to previous 1.70
- Added missing print statements.  Patch #144 by CodeMonkeyX.

Revision 1.70 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 8 09:56:21 2003 UTC (6 years ago) by dries
Branch: MAIN
Changes since 1.69: +25 -9 lines
Diff to previous 1.69
- Committed stage 1 of the menu callbacks improvements.  Patch by Jonathan.

Revision 1.69 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 31 19:34:01 2003 UTC (6 years ago) by dries
Branch: MAIN
Changes since 1.68: +2 -2 lines
Diff to previous 1.68
- Improvement: made it possible to disable the comment controls and reworded some of the configuration settings.

- Improvement: removed a left-over from Drupal 4.2.0 (dead code).

- Improvement: replaced hard-coded XHTML around the XML icons with class="xml-icon".

- Improvement: removed the custom navigation menus shown at the top of the "user information page" and integrated them in the new navigation block.  The "my account" link in the navigation menu will unfold.  Also removed the "delete account" link/functionality (for now).

- Improvement: fix for "magic quotes" settings.  Patch by Steven.  I also removed check_php_settings().

- Improvement: block themability improvements.  Modified patch from Ax and Steve/CodeMonkeyX.

- Fixed bug #2617: editing user information does not work.  Patch by Kjartan.

Revision 1.68 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 30 17:00:49 2003 UTC (6 years, 1 month ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-3-0, DRUPAL-4-3-1, DRUPAL-4-3-2
Branch point for: DRUPAL-4-3
Changes since 1.67: +3 -12 lines
Diff to previous 1.67
- Url aliasing improvements.  Patch by Matt.  See mailing list for more
  information.

Revision 1.67 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 28 10:51:34 2003 UTC (6 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.66: +5 -3 lines
Diff to previous 1.66
- Rewrote the most of the menu system; this fixes Al's problem with the
  "create content" link.

- Manually merged the user module's new menu items.  Al's patch did not
  apply.

- Added some missing t()s.

Revision 1.66 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 12 15:57:16 2003 UTC (6 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.65: +8 -8 lines
Diff to previous 1.65
- Small index.php improvement.  Modified patch from Bart Jansens.

Revision 1.65 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 16 20:14:23 2003 UTC (6 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.64: +5 -2 lines
Diff to previous 1.64
- Commited the URL aliasing patch.  Thanks Matt.

  This update requires you to run update.php!

Revision 1.64 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jul 1 17:54:20 2003 UTC (6 years, 4 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-2-0
Branch point for: DRUPAL-4-2
Changes since 1.63: +3 -9 lines
Diff to previous 1.63
- Improvement: don't perform XSS checks for trusted users.  Trusted users
  are those that have the "bypass input data check" permission set.  Should
  address bug #2147.

- Improvement: simplified index.php and modules/admin.module.

- Bugfix: fixed broken links in bloggerapi documentation.  Patch by Chris
  Johnson.  Fixes bug #2030.

- Bugfix: fixed the date shown on a book module preview.  Reported as part
  of bug #2097.

- Bugfix: fixed broken URL in the book module documentation.

Revision 1.63 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 18 21:21:29 2003 UTC (6 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.62: +5 -1 lines
Diff to previous 1.62
- Improvement: made the default homepage setting more flexible.  Patch by
  Eric A. Farris.

Revision 1.62 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 18 09:45:53 2003 UTC (6 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.61: +5 -5 lines
Diff to previous 1.61
- The page_footer() function was always called twice due to the introduction
  of the "footer" hook (and because of the existence of the page module).
  This caused the node view counter to be incremented twice per page view,
  the cache being set twice, etc.  Quite a bug.

Revision 1.61 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 13 18:36:31 2003 UTC (6 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.60: +2 -3 lines
Diff to previous 1.60
- 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.

Revision 1.60 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 21 14:54:59 2003 UTC (6 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59
- Fixed some PHP "notices".

Revision 1.59 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 4 06:19:38 2003 UTC (6 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58
- Fixed "undefined index/variable" warning.  Patch by Ax.

Revision 1.58 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 15 11:39:55 2003 UTC (6 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57
- Everything is using theme("function") now instead of $theme->function().

Revision 1.57 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 6 19:50:58 2003 UTC (6 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.56: +26 -11 lines
Diff to previous 1.56
- Clean URL patch.

Revision 1.54.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 4 23:47:10 2003 UTC (6 years, 10 months ago) by dries
Branch: DRUPAL-4-1
CVS Tags: DRUPAL-4-1-0
Changes since 1.54.2.1: +2 -1 lines
Diff to previous 1.54.2.1 , to branch point 1.54 , to next main 1.99
- Added a check for register_globals.

Revision 1.56 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 4 23:43:49 2003 UTC (6 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.55: +2 -1 lines
Diff to previous 1.55
- Added a check for register_globals.

Revision 1.55 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 26 12:16:06 2002 UTC (6 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.54: +3 -1 lines
Diff to previous 1.54
- Made Drupal report an error when magic_quotes are disabled.

Revision 1.54.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 26 12:14:53 2002 UTC (6 years, 11 months ago) by dries
Branch: DRUPAL-4-1
Changes since 1.54: +3 -1 lines
Diff to previous 1.54
- Made Drupal report an warning when magic_quotes are disabled.

Revision 1.54 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 18 10:05:46 2002 UTC (7 years, 1 month ago) by dries
Branch: MAIN
Branch point for: DRUPAL-4-1
Changes since 1.53: +1 -2 lines
Diff to previous 1.53
- Removed dead code.

Revision 1.53 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 14 19:34:00 2002 UTC (7 years, 7 months ago) by kjartan
Branch: MAIN
CVS Tags: DRUPAL-4-0-0
Branch point for: DRUPAL-4-0
Changes since 1.52: +9 -3 lines
Diff to previous 1.52
This is a major change to the system, needs more testing!

Committing Changes by Moshe Weitzman:
- admin_user_account(), user_edit(), and user_view() no longer have any
  hard code for authentication modules. instead authentication modules
  implement the _user hook.
- fixed a couple 'help' typos.
- linked the 'REGISTER' text in the login block to the register page.
  this page now advertises DA better if site employs DA.
- admins may now edit everything about a user account (was a feature
  request).
- user #1 may now login immediately, in addition to receiving his
  password via email.

Other changes:
- modules and themes are now enabled/disabled in the administrative /
  settings / modules | themes pages. Requires SQL update and things must
  be enabled before your site returns to normal. TODO: enable all
  functionality. (For now just do UPDATE system SET status = 1;)
- removed $themes from conf.php.
- added a $theme->system() function where theme can specify settings.
  All themes in the Drupal CVS have been updated to use this.
- added _system hook to modules. TODO: update modules to use this.
- changed strange use of sprintf to the usual strtr. The disadvantage of
  sprintf is that it requires translations to keep the string order,
  which may not be possible in all languages.
- an invalid/nonexisting theme in a user profile will now fallback to the
  BaseTheme instead of crashing.

Revision 1.52 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 17 15:18:16 2001 UTC (8 years ago) by kjartan
Branch: MAIN
Changes since 1.51: +2 -3 lines
Diff to previous 1.51
- changed the $function code to use module_invoke() as its a lot cleaner and
  more in tune with the rest of Drupal.

Revision 1.51 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 1 11:00:46 2001 UTC (8 years ago) by dries
Branch: MAIN
Changes since 1.50: +2 -2 lines
Diff to previous 1.50
- A large batch of updates, amongst them a rewritten node system.  More
  information available on the mailing list.

Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 20 20:58:59 2001 UTC (8 years, 1 month ago) by kjartan
Branch: MAIN
Changes since 1.49: +2 -1 lines
Diff to previous 1.49
- added a new configuration option that lets you set various index.php
  variables.

  Example: set site_frontpage to "node" and site_frontpage_extra to
  "$meta = 'news'" and only nodes with that meta tag will be displayed on
   your main page.

  This requires some internal knowledge of how the various modules work
  and what settings can be passed to <module>_page() functions.

Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 20 18:57:07 2001 UTC (8 years, 1 month ago) by kjartan
Branch: MAIN
Changes since 1.48: +2 -1 lines
Diff to previous 1.48
- added the CVS keyword $Id$ to all files to make future version tracking
  easier. Also changed the <? tag to <?php in some cases.

Revision 1.48 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 27 20:51:25 2001 UTC (8 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.47: +0 -5 lines
Diff to previous 1.47
- a batch of updates, including some experimental changes to the moderation
  of comments and nodes.

Revision 1.47 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 25 22:13:33 2001 UTC (8 years, 2 months ago) by kjartan
Branch: MAIN
Changes since 1.46: +4 -11 lines
Diff to previous 1.46
- added node_page() to list what index.php used to list.
- made the front page of the system configurable. Now any <node>_page()
  can be set as the default page. Default is node_page().

Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 18 18:39:15 2001 UTC (8 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.45: +1 -1 lines
Diff to previous 1.45
- Fixed 2 typos in the user module.  Thanks Axel and Remco.
- Applied (modified versions of) Alexander's patches on the development
  branch.

Revision 1.45.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 18 18:34:53 2001 UTC (8 years, 2 months ago) by dries
Branch: DRUPAL-3-0
CVS Tags: DRUPAL-3-0-0
Changes since 1.45: +1 -1 lines
Diff to previous 1.45 , to next main 1.99
- Applied Alexander Schwartz's patches on the Drupal 3.00 branch.

Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 30 07:59:18 2001 UTC (8 years, 4 months ago) by dries
Branch: MAIN
Branch point for: DRUPAL-3-0
Changes since 1.44: +1 -1 lines
Diff to previous 1.44
- Fixed typo.

Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 29 22:08:53 2001 UTC (8 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.43: +1 -1 lines
Diff to previous 1.43
Extremely large commit:

- Fixed tiny quote problem in account.php.

- Fixed tiny bug in comment.inc.

- Fixed tiny bug in comment.module.

- Fixed tiny bug in meta.module.

- Simplified user_access() API.

- Rewrote link system: still needs fine-tuning and testing so don't
  upgrade if you are running a production site. ;)

  Updated all modules and themes to reflect this change.  All other
  themes and modules need updating too!

Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 20 20:00:39 2001 UTC (8 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.42: +10 -3 lines
Diff to previous 1.42
- Added a brand-new access.module which allows you to manage 'roles'
  (groups) and 'permissions' ... (inspired by Zope's system).

    + Once installed, click the help-link for more information.

    + See updates/2.00-to-x.xx.sql for the SQL updates.

- Modified loads of code to use our new access.module.  The system
  still has to mature though: new permissions have to be added and
  existing permissions need stream-lining.  Awaiting suggestions.

- As a direct result of the new access system, I had to rewrite the
  way the top-level links in admin.php are rendered and displayed,
  and xhtml-ified admin.php while I was at it.

TODO

- Home-brewed modules need updating, home-brewed themes not.
  (Examples: file.module, trip_link.module)

- As soon we *finished* the refactoring of the user system (KJ has
  been working on this refactoring already) we should consider to
  embed this role and permission code into account.module ...

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 17 18:31:23 2001 UTC (8 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.41: +1 -7 lines
Diff to previous 1.41
Oops, a rather large commit:

- Changed meta.module, node.module and index.php to use comma-seperated
  lists of attributes rather then "foo=a,bar=b" lists.  This makes it a
  a lot easier to use both modules.  In addition, error handling can be
  discarded as it can't be made any simpler, really ...

  It fits rather nicely in Drupal's design so I'm getting more and more
  happy with this meta.module (but we are not 100% there yet).

- node.module, node.inc:

   + Improved the node-related admin interface so that navigating back
     and forth the administrative menus is made both easier and faster.

   + Removed some redundant database fields from the node table.  See
     2.00-to-x.xx.sql!

   + Added 2 news hooks called "node_insert" and "node_update".  Just
     like this is the case with the existing hook "node_delete" these
     new hooks will automatically get called when a node has been
     inserted or udpated.  Note that this is an optional call-back that
     only needs to be implemented when required.  With the addition of
     these two hooks, the node mechanism (version 1) is pretty well
     completed.

- watchdog.module:
   + Fixed bug whit the 'regular messages' query in the watchdog.module.

- book.module:
   + Fixed bug in book.module: the 'parent' was not set properly when
     updating a book page.
   + Made it so that older versions of a book page are automatically
     reactived upon deletion of the most recent version, i.e. when
     doing a version roll-back.

- comment.inc:
   + Undid Remco's patch to comment.inc; it does not work in some cases.


- conf.module:
   + Fine-tuned some of the options in conf.module a bit.

- marvin.theme:
   + Visual changes to make it look better on Windows browsers.  Mind
     to give some feedback on this?
   + Fixed 3 HTML typos/bugs.
   + XHTML-ified the theme at a best effort basis; I didn't carry the
     XHTML specification with me.
   + Made use of the theme_slogan variable to display the site's slogan.
   + As soon we have at least one valid XHTML theme we can wonder on how
     to integrate other XML namespaces (cfr. MathML story at drop.org).

- database.mysql:
   + Updated database.mysql so that it contains all the latest "database
     patches".

Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 15 09:23:58 2001 UTC (8 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40
- Made index.php work with new meta.module.

Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 10 15:01:16 2001 UTC (8 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.39: +4 -7 lines
Diff to previous 1.39
This a rather large commit that needs a lot of fine-tuning.  If you
update, you'll break your site as you need switching from structure
to index.module: so this can be considered an intermediate commit.

If you upgrade, and you are welcome to, just create a collection
called "section" (for now) and assign your nodes some attributes
in the described format.

Feedback and bugreports are welcomed.  Questions will be answered.

CHANGES:

- comment system:
   + when replying to a node (rather then to a comment), that
     node is displayed above the reply form.
   + when replying to a comment (rather then to a node), that
     comment is displayd above the reply form.

- removed structure.inc, removed structure.module.

- node.inc:
   + added 2 new node functions called 'node_attribute_edit()' and
     'node_attribute_save()' used to 'hook in' any indexing system
    including your home-brewed stuff if you'd want to.  Currently,
    index.module is the facto default index system.

    See story.module for usage.

- book.module, story.module, poll.module, page.module, forum.module:
   + added preview functionality to administration section (via node
     module).
   + removed all references to structure.inc (category, topic).

- moderate.module:
   + removed all references to structure.inc (category, topic).

- book.module, story.module, page.module, forum.module:
   + increased the sizes of some textareas.

- submit.php:
   + removed all references to structure.inc (category, topic).

- marvin.theme:
   + removed dead code: function story() was depricated.

- unconed.theme:
   + removed hardcoded references to drop.org.

- marvin.theme, unconed.theme, jeroen.theme, yaroon.theme, example.theme:
   + removed all references to structure.inc (category, topic).

TODO:

- file.module, trip_link.module:
   + update preview functionality:
       see story.module for example.
   + remove references to 'cid' and 'tid', use 'attribute' instead:
       see story.module for example.

- extend and build upon index.module as well as making it configurable

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 2 22:12:34 2001 UTC (8 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.38: +1 -1 lines
Diff to previous 1.38
- Moved most of the options in structure.module to node.module.  The
  structure.module either needs work, or replacement by index.module:
  see "admin > node > node settings".

  It will do for now and it can always made better when we can think
  of a better solution; it is the best I could think of.   Now what?
  index.module or structure.module?  I'm currently pro index.module.

- Drastically simplified "variable.inc".

- Removed most dependecies on structure.module from all content related
  modules.  Thus making our modules more modular.  ;)

- Fixed calculation glitch in queue.module.

- Fixed potential function name clash/conflict in rating.module, and
  simplified some code on my way.

- Started removing all global variables $status and $rstatus.  Global
  variables are "yucky" so in near future, we will replace all global
  $status variables by a call to node_status().  Originally, $status
  was only introduced as a temporary hack and nothing is as permanent
  as a temporary hack so I took it out when still possible.

- Changed the watchdog messages a bit.

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 20 17:36:53 2001 UTC (8 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37
- Improved node_get() so that it will try to skip one additional query
  if possible (ie. to reduce the number of queries).

- Automatically removed tabs and trailing spaces from the poll.module.

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 20 16:47:20 2001 UTC (8 years, 6 months ago) by unconed
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36
- Changed the node_get_object() and node_get_array() functions to allow multiple conditions

- Added the "delete" hook for node-modules. When called, a module should do additional clean-up if necessary.

- Updated all node-modules

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 20 13:51:39 2001 UTC (8 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.35: +2 -6 lines
Diff to previous 1.35
CHANGES

- Redid settings.module and even renamed it to conf.module.
    * Settings are now grouped in basic categories like "system
      settings", "module settings" and "filters".
  * Added new settings to make Drupal easier to configure and
  to make some aspects like the watchdog scale better.

- Renamed includes/settings.php to includes/conf.php.

- Added filter support to conf.module and introduced filter hooks so
  modules can implement and export new filters.  Example filters are
  an HTML filter (implemented), a profanity filter, an url converter,
  ASCII smileys to images filter and so on ...

- Reworked the check_* functions: user contributed content/input is
  only verified and filtered once in its lifespan.

NOTES

- Altough this is a large commit, no database changes are required.

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 12 21:06:13 2001 UTC (8 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.34: +16 -3 lines
Diff to previous 1.34
- Made the main page display sub-topics when a specific topic
  is selected.

- Made theme_link() less "hard coded", we still have to make
  it fully configurable though.

- Fixed glitch in story submission: the warning messages were
  not displayed.

- Tidied up block.module a bit.

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 6 17:19:57 2001 UTC (8 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33
- Added custom PHP error handler to track down warnings and errors.
  (Jeroen: let's sit back and wait until that warning bites again.)

- Simplified drupal.module.  We still need a feature list, anyone?

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 30 17:13:07 2001 UTC (8 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
Welp.  Large commit ahead.

CHANGES:

- Added "read" and "write" permissions into drupal but removed
  it again because - when finished after 3 hours of work - it
  was considered nothing but added complexity that didn't buy
  us anything. :I

  (I'll explain this in detail on the mailing list, I guess.)

- Added a very simple help.module to group all available
  documentation on a single page.

- Fixed bug in node_control(), book.module: UnConeD forgot to
  global $user when updating the combobox code.

- Removed static wishlist.module: in future, the wishlist can
  be maintained as a page in our collaborative book.

- Revised most of settings.module: tidied up the code and the
  descriptions to accompany the settings and introduced a new
  "default maximum number of nodes to display on the main page"
  variable.

- Revised most of comment.module: the administration interface
  looks better now, integrated node permissions, and -finally-
  made it possible to delete comments.

- Polished on:
   + account.module
   + structure.module
   + locale.module
   + module.module
   + forum.module

- Form-ified:
   + account.php
   + account.module
   + setting.module
   + cvs.module
   + submit.php
   + comment.module
   + forum.module
   + book.module
   + page.module
   + locale.module

- Updated CHANGELOG

INFO:

- Designed a "generic tracker system with optional backends"
  on paper.  The idea is to allow registered users to hot-list
  certain topics, individual nodes or threads (comments) and
  to "plug-in" output backends like - for instance - an e-mail
  digest.  The design requires "intelligent blocks" though.


TODO:

- I want to tidy up the headline.module and backend.class as
  well as merge in headlineRSS10.module.  Julian spent quite
  some time working on headline.module but I'm not sure what
  he changed and whether he'd contribute it back?

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 21 14:19:19 2001 UTC (8 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31
- Addition: added a "promote" field to the node table, which
  makes "promoting nodes" to the main page possible.  Stories
  and reviews could be promoted by default, but - on accasion
  a good book entry could be manually promoted too.  Thus all
  existing content types can be shown on the main page, not
  just stories.

  Requires a SQL update, see 2.00-to-x.xx.sql!

- Addition: implemented "auto-post new submissions" feature
  to disable or by-pass the moderation queue in addition to
  "moderate new submissions".

  TODO: admin moderation versus registered user moderation.

- Addition: added category and topic support to page.module.

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 16 18:21:21 2001 UTC (8 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
Another big update so please read this carefully because there is important information hidden in it.

Made it so that we can disable/enable comments on a category by category basis. In order to accomplish this I had to make a few (*temporary*) changes.

I moved all comment code from the "module level" (eg. story.module) to the "node level".  It was nothing but the logical next step in nodifying drupal.  This enables us to add comments to all existing content types including book entries.  But also for book entries, this to can be toggled on and off. :-)

Moreover module writers don't have to worry about the complex comment logic: it is "abstracted" away.  This implies that story.module got smaller, faster and easier to comprehend. :-)

In order to accomplish this, I had to update ALL THEMES, which I did - and on my way I updated Goofy, Oranzh and UnConeD - with the previous changes.  All themes are up-to-date now!  I also had to remove the [ reply to this story ] links, and temporally re-introcuded the "Add comment" button in the "Comment control".  Tempora lly that is, UnConeD. ;)

I plan to upgrade drop.org either tommorow or wednesday so test away if you have some time to kill. ;)

Oh, I also fixed a few bugs and made various small improvements.

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 16 11:38:11 2001 UTC (8 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.29: +4 -8 lines
Diff to previous 1.29
Large commit, read it carefully, and make the required changes to
your theme:

- corrected some missing translations in story.module.  Oops!
- grealty simplified the "moderation threshold mechanism"(tm) so
  that module writers don't have to worry about this.  As a result
  story.module and book.module became a bit smaller and easier to
  grasp.
- greatly simplified new "category" and "topic" code which is soon
  going to replace the "section" code.  Needs more work though so
  hang on thight.
- includes/section.inc and modules/section.module are replaced by
  includes/structure.module and modules/structure.module.
- beautified example.theme a bit without adding HTML complexity:
  it is a good example but still useful as a theme
- made theme example use "categories" and "topics"
    --> TAKE A LOOK AT IT AND UPDATE YOUR THEME
- made theme marvin use "categories" and "topics"
    --> TAKE A LOOK AT IT AND UPDATE YOUR THEME
- added 2 new "story listings" to administrator interface of
  story.module to verify story integrity.
- optimized comment table a bit (work in progress)

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 15 17:01:32 2001 UTC (8 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.28: +4 -0 lines
Diff to previous 1.28
- improved submit.php:
  it now uses the new category code, incl content bindings.
  You can setup different "categories" which map on a content
  type.  Example:
    review   -> review.module
    article  -> story.module
    column   -> story.module
    announc. -> story.module
    addons   -> file.module
    themes   -> file.module
- "generalised" story.module and book.module's output.
- fixed bug in includes/timer.inc
- fixed glitch in theme example.theme: it said "$how by" but
  the variable $how has never been declared.
- added "drupal development settings" to display some timings
- more work on the categories/topics -> does NOT work yet

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 29 19:50:31 2001 UTC (8 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.27: +1 -1 lines
Diff to previous 1.27
- fixed issue depricated call-by-reference issues
- fixed small visual glitch in includes/function.inc
- changed SQL tables around a bit to be more consistent
  (result: small changes to a lot of different files)
- improved robustness of includes/node.inc
- improved output of cron.module
- improved output of node.php

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 25 10:57:00 2001 UTC (8 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
- large commit of everything else that has been queued in my backlog:
  it's not 100% stable yet

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 24 17:04:11 2001 UTC (8 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25
- nodified index.php:
    the index page will only display stories for now but this will/can
    change in the near future
- all other files now thinks in terms of nodes, rather then stories

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 10 11:07:51 2001 UTC (8 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24
- applied David Norman's patch to turn all <?'s into fully qualified
  <?php's.

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 8 08:16:22 2001 UTC (8 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.23: +1 -1 lines
Diff to previous 1.23
- some important changes to our theme API which can be summerized as:

     abstract() + article() = story()

  abstract() and article() have been merged into a new function story()
  which looks like:

  function story($story_object, $reply) {
    if (!reply) {
       // full story
    }
    else {
       // main page version / abstract
    }
  }

  This should allow you to "compress" your theme as abstract() and
  article() tended to be 98% identical.

  => I didn't really merge your themes so I leave it up to *you* to
     improved the code!!! Do it ASAP as we release drupal 2.00 in 7
     days.

  In future we'll have similar functions for other content types as
  for example:

     review($review, $reply);
     enquete($enquete, $reply);
     ...

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 7 21:29:40 2001 UTC (8 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.22: +1 -1 lines
Diff to previous 1.22
A rather large and important update:

revised most of the SQL queries and tried to make drupal as secure as possible (while trying to avoid redundant/duplicate checks).  For drupal's sake, try to screw something up.  See the mail about PHPNuke being hacked appr. 6 days ago.  The one who finds a problem is rewarded a beer (and I'm willing to ship it to Norway if required).  I beg you to be evil.  Try dumping a table a la "http://localhost/index.php?date=77778;DROP TABLE users" or something. ;)

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 4 22:09:36 2001 UTC (8 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21
- various updates, bugfixes and improvements

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 21 19:41:10 2001 UTC (8 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.20: +1 -7 lines
Diff to previous 1.20
I know, I know, it is getting nasty lately but I have another large commit after nothing but code.

This time I redid the "category"-stuff.  Categories - from now on called sections - are now maintained from the admin pages, can have their own post, dump and timout thresholds as discussed earlier (some weeks ago).  By tomorrow evening users will be able to enable or disable section as well - i.e. to customize the content of drop.org.

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 20 12:20:30 2001 UTC (8 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
- updated/improved discussion engine: it needs additional fine-tuning
  though but I think this is stable enough for public consumption and
  real-life testing.
   ==> a first big step towards a flexible comment engine.

IMPORTANT:
  - Required theme updatins:

    UnConeD: check your $theme->controls() as I added a very, very
             dummy implementation

  - Required database updates:

    alter table users modify mode tinyint(1) DEFAULT '' NOT NULL;
    alter table comments change sid lid int(6) DEFAULT '0' NOT NULL;
    alter table comments add link varchar(16) DEFAULT '' NOT NULL;
    update comments set link = 'story';

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 30 11:58:14 2000 UTC (8 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.18: +4 -4 lines
Diff to previous 1.18
- 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

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 23 23:25:28 2000 UTC (8 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
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.

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 14 09:03:44 2000 UTC (9 years ago) by dries
Branch: MAIN
Changes since 1.16: +0 -9 lines
Diff to previous 1.16
* tiny improvements (!= bug fixes)

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 13 08:17:45 2000 UTC (9 years ago) by dries
Branch: MAIN
Changes since 1.15: +6 -0 lines
Diff to previous 1.15
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.

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 19 13:31:23 2000 UTC (9 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14
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

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 10 10:51:00 2000 UTC (9 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.13: +1 -1 lines
Diff to previous 1.13
A lot of (non-visual) updates!

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 4 10:25:08 2000 UTC (9 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.12: +0 -1 lines
Diff to previous 1.12
* Reorganised a few things and fixed the theme-update bug reported by UCD.

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 11 07:45:22 2000 UTC (9 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11
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, ...

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 25 16:53:56 2000 UTC (9 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.10: +1 -1 lines
Diff to previous 1.10
* Small bugfixes and minor updates.

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 21 15:41:20 2000 UTC (9 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.9: +13 -32 lines
Diff to previous 1.9
IMPORANT - IMPORTANT - :)
=========================

Wulp.  I did a major upgrade by (a) breaking a lot of stuff and (b) by
re-doing those things in a much better way.  I redesigned the stories
and submissions SQL tables, the way they work and the way they co-
operate together.

In addition, I changed the way parameters are passed to
$theme->abstract() and $theme->article().  Instead of passing a
sh!tload of parameters that only cluttered the code and required too
much pre-processing on the engine-side, we now pass a singly object
$story.  $story has more variables then the paramaters we used to pass,
so it allows for better theming (if you feel like it).

I'm not finished yet but I decided to upload my changes so you can
start patching and updating your themes: PLEASE update your themes
ASAP!  I don't plan making heavy changes like this again, so don't
get intimiated. ;)  You mainly have to update article() and abstract()
as well as a minor update of footer():

article(), abstract():
----------------------
 - use the $story object - see my theme!
 - the morelink can now be themed.  Currently you can use the function
   morelink_bytes() in function.inc to `render' the old morelink.  The
   idea is to make a morelink_words() or morelink_lines() sooner or
   later because "188 bytes in body" is not half as clear as "52 words
   in body".  Clearly, "52 words" is much more informative. ;-)

footer():
---------
 - in the article-part, you need to update the displayRelatedLinks():
   instead of passing it $sid, you need to pass it $story (after you
   globaled $story).

Everything should display correct on the following pages:
 - main page
 - article page (follow a `read more | xxx bytes in bdoy | x comments' link)
 - submission queue
Check if they work with your theme: they should as they work fine for
me (theme `Dries') ...  If you got stuck, just look at my theme or ask
for a hand on the list!


Hopefully you can update your themes asap.  Thanks in advance.

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 21 11:03:54 2000 UTC (9 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.8: +10 -4 lines
Diff to previous 1.8
Wheep! Wheep! Major performance optimization for index.php: we reduced the
number of SQL on the mainpage with factor 10 and shortened the code with 4
lines.  There is only *one* optimized SQL query left, being:

$result = db_query("SELECT stories.*, COUNT(comments.sid) AS comments FROM
stories LEFT JOIN comments ON stories.sid = comments.sid WHERE
stories.status = 1 AND stories.time <= $date GROUP BY stories.sid ORDER BY
stories.sid DESC LIMIT $number");

 Note: we use a LEFT JOIN to retrieve the number of comments associated
       with each story.  By retrieving this data now, we elimate a *lot*
       of individual queries that would otherwise be required inside the
       while-loop.  If there is no matching record for the right table in
       the ON-part of the LEFT JOIN, a row with all columns set to NULL
       is used for the right table.  This is required, as not every story
       has a counterpart in the comments table (at a given time).

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 16 11:00:57 2000 UTC (9 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.7: +4 -13 lines
Diff to previous 1.7

* Changed a few things to make development easier without breaking things
  to the outside world.  It's a first step towards improving the submission
  queue.

* More important (to the theme babies): instead of passing individual
  parameters I'm considering to pass an object.
    $theme->abstract($story->aid, $story->informant, $story->time,
     stripslashes($story->subject), stripslashes($story->abstract),
     stripslashes($story->comments), $story->category, $story->department,
     $morelink);
  would become:
    $theme->abstract($story);
  What do you guys think about pushing this trough?  It would be much better
  and would give extra `power' to the themes.

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 3 11:39:07 2000 UTC (9 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.6: +7 -6 lines
Diff to previous 1.6
* Improved calendar.class.php speed-wise: did some inline caching to make
  rendering a calendar less expensive.
* Added a function displayCalendar($theme, $active_date) to functions.inc.
* Adjusted index.php so it would support URIs formated like
  "?date=$unix_timestamp".
* Integrated the calendar in my personal theme: themes/Dries/theme.class.
  If you want to include the calendar in your theme, check the code in my
  $theme->footer(): global $date and call displayCalendar($theme, $date).

Check the main page at http://beta.drop.org/ with theme 'Dries' to see it
yourself!

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 2 18:36:14 2000 UTC (9 years, 5 months ago) by kjartan
Branch: MAIN
Changes since 1.5: +6 -10 lines
Diff to previous 1.5
Hopefully this will not break anything *prays*

;)

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 20 00:38:26 2000 UTC (9 years, 6 months ago) by kjartan
Branch: MAIN
Changes since 1.4: +1 -1 lines
Diff to previous 1.4
Fixed a typo

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 19 23:33:15 2000 UTC (9 years, 6 months ago) by kjartan
Branch: MAIN
Changes since 1.3: +1 -0 lines
Diff to previous 1.3
Wheeeeee... I think I finally figured this out :P

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 19 11:24:43 2000 UTC (9 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.2: +1 -0 lines
Diff to previous 1.2
Just testing (and bored too).

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 19 11:20:58 2000 UTC (9 years, 6 months ago) by kjartan
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1

I got bored *G*

Revision 1.1.1.1 - (view) (download) (as text) (annotate) - [select for diffs] (vendor branch)
Thu May 18 19:51:59 2000 UTC (9 years, 6 months ago) by dries
CVS Tags: start
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 , to next main 1.99
Imported sources

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 18 19:51:59 2000 UTC (9 years, 6 months ago) by dries
Branch: MAIN
Initial revision

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2