/[drupal]/drupal/modules/block.module
ViewVC logotype

Log of /drupal/modules/block.module

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


Links to HEAD: (view) (download) (as text) (annotate)
Links to DRUPAL-5-0-BETA-1: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.211
Wed Jul 12 14:29:41 2006 UTC (3 years, 4 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-5-0-BETA-1, DRUPAL-5-0-BETA-2, DRUPAL-5-0-RC-1, DRUPAL-5-0-RC-2, 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, DRUPAL-6-0-RC-2, DRUPAL-6-0-RC-3, HEAD
Changes since 1.210: +1 -1 lines
FILE REMOVED
#64280: Renamed from block.module to block/block.module

Revision 1.210 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 2 20:06:31 2006 UTC (3 years, 4 months ago) by drumm
Branch: MAIN
Changes since 1.209: +2 -2 lines
Diff to previous 1.209
#71772 by Bart Jansens, fix various php warnings

Revision 1.209 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 26 09:21:10 2006 UTC (3 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.208: +43 -10 lines
Diff to previous 1.208
- Patch #18018 by dww, nedjo, tostinne, luke et al: block visibility by role.

Revision 1.208 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 23 02:14:26 2006 UTC (3 years, 6 months ago) by drumm
Branch: MAIN
Changes since 1.207: +15 -13 lines
Diff to previous 1.207
#62262 by dww, fix block help text.

Revision 1.207 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 7 00:08:36 2006 UTC (3 years, 6 months ago) by drumm
Branch: MAIN
Changes since 1.206: +3 -3 lines
Diff to previous 1.206
#61802 by Zen, Double spaced sentences clean up

Revision 1.206 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 26 21:53:24 2006 UTC (3 years, 7 months ago) by killes
Branch: MAIN
CVS Tags: DRUPAL-4-7-0, DRUPAL-4-7-0-RC-4
Branch point for: DRUPAL-4-7
Changes since 1.205: +2 -2 lines
Diff to previous 1.205
#60563, missing block name in delete dialoge, patch by Steve McKenzie

Revision 1.205 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 17 20:48:26 2006 UTC (3 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.204: +4 -4 lines
Diff to previous 1.204
- Removing trailing whitespace.

Revision 1.204 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 4 23:32:40 2006 UTC (3 years, 7 months ago) by unconed
Branch: MAIN
CVS Tags: DRUPAL-4-7-0-RC-2, DRUPAL-4-7-0-RC-3
Changes since 1.203: +89 -64 lines
Diff to previous 1.203
#56813: Simplify admin/block code, and fix sorting of blocks in the listing

Revision 1.203 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 4 17:54:58 2006 UTC (3 years, 8 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-7-0-BETA-6, DRUPAL-4-7-0-RC-1
Changes since 1.202: +35 -37 lines
Diff to previous 1.202
- Patch #52381 by Zen:
    * Converts the block administration page to the fapi model.
    * Removes some 'type=markup' elements.
    * Adds a form_render($form['form_id']); in the theme function. Adding a form_render($form) just outputs an unthemed form. I suspect this is because of the heavy nesting of form elements and the rather dodgy array declaration, but I'm unsure.
    * Documentation/language fixes.

Revision 1.202 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 21 18:46:54 2006 UTC (3 years, 9 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-7-0-BETA-5
Changes since 1.201: +2 -2 lines
Diff to previous 1.201
- Patch #49912: www.drupal.org -> drupal.org.  (Today's critical bugfix #5.)

Revision 1.201 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 10 05:25:57 2006 UTC (3 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.200: +4 -4 lines
Diff to previous 1.200
- Patch #48622 by adrian: remove drupal_goto from _submit functions.

Revision 1.200 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 29 07:50:45 2006 UTC (3 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.199: +3 -3 lines
Diff to previous 1.199
- Patch #46827 by wulff: fixed incorrect links.

Revision 1.199 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 26 09:06:23 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-7-0-BETA-4
Changes since 1.198: +3 -2 lines
Diff to previous 1.198
- Patch #36029 by asimmonds/dopry: fixed critical bug in block administration.

Revision 1.198 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 24 08:38:29 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.197: +10 -10 lines
Diff to previous 1.197
- Patch #46106 by markus: usability improvement: moved the block description textfield up.

Revision 1.197 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 20 09:04:34 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.196: +1 -4 lines
Diff to previous 1.196
- Patch #45530 by Morbus: filter_form shouldn't default to #weight 0

When a form element doesn't specify a #weight, it is assumed internally as #weight 0. However, to ensure that our form elements display visually *as they were defined in the array* we, in form_builder, count the number of elements, divide by 1000, and set that as the weight:

# Assign a decimal placeholder weight to preserve original array order
if (!isset($form[$key]['#weight'])) {
  $form[$key]['#weight'] = $count/1000;
}

The above code will set the #weights of elements that have not defined a weight to something like 0 (first element in array definition), 0.001, 0.002, and so on. However, anytime a form element *explicitly* defines a #weight of 0, that #weight is kept at exactly 0, which would cause that form element to appear BEFORE the elements that didn't have a #weight defined (and thus received a #weight such as 0.002).

Consider the following pseudo example:

$form['game_title'] = array(
    '#type' => 'textfield',
    ...
    );
$form['game_description'] = array(
    '#type' => 'textarea',
    ...
    );
$form['game_format'] = filter_form(variable_get('game_format', NULL));
return $form;

Here, we're not definiing weights on our two textfields. We then add an filter_form. The second parameter of the filter_form is $weight, which defaults to 0. After this $form hits form_builder, we have weights 0 (game_title), 0.001 (game_description), and 0 (filter_form) respectively. This is then sorted by weight, which causes filter_form (the third element in the array) to appear BEFORE game_description (0 is lighter than 0.001).

The short lesson is: explicitly defining #weight 0 for a form element is probably a bad idea. This patch changes the default #weight of filter_form to NULL, instead of 0, and also removes any other explicit setting of #weight to 0 in core.

Revision 1.196 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 19 08:54:41 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.195: +4 -4 lines
Diff to previous 1.195
- Patch #45349 by Morbus Iff: input filters aren't sorting correctly infForms API.

Revision 1.195 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 12 10:01:15 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.194: +7 -3 lines
Diff to previous 1.194
- Patch #44163 by m3avrck: fixed typo in permission and fixed incorrect description.

Revision 1.194 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 8 03:33:31 2006 UTC (3 years, 10 months ago) by unconed
Branch: MAIN
CVS Tags: DRUPAL-4-7-0-BETA-3
Changes since 1.193: +27 -14 lines
Diff to previous 1.193
- #43495: Separate permission for PHP-based block visibility

Revision 1.193 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 6 07:25:44 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.192: +2 -4 lines
Diff to previous 1.192
- Patch #35667 by Crell: bug fix: on ?q=admin/block style.css was imported twice.

Revision 1.192 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 14 20:08:30 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.191: +3 -2 lines
Diff to previous 1.191
- Patch #40631 by Chris Johnson: is_array() slower than isset() or empty().

Revision 1.191 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 5 09:11:33 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.190: +26 -4 lines
Diff to previous 1.190
- Patch #39778 by chx: obliterate nodeapi op form in favor of the forms API's way of doing things.  Tested with help from webchick.

Revision 1.190 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 2 15:21:01 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.189: +4 -4 lines
Diff to previous 1.189
- Patch #39576 by chx: rename '_execute' to '_submit' and '#execute' to '#submit'.

Revision 1.189 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 16 22:07:48 2005 UTC (4 years ago) by dries
Branch: MAIN
Changes since 1.188: +5 -3 lines
Diff to previous 1.188
- Patch #37714 by asimmonds: fixed saving of blocks.

Revision 1.188 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 13 08:26:01 2005 UTC (4 years ago) by dries
Branch: MAIN
Changes since 1.187: +102 -94 lines
Diff to previous 1.187
- Patch #35524 by asimmonds / drewish: converted the custom block forms code to the forms API's execute model.

Revision 1.187 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 12 11:26:16 2005 UTC (4 years ago) by dries
Branch: MAIN
Changes since 1.186: +5 -10 lines
Diff to previous 1.186
- Patch #35644 by webchick: forms API simplificiations.

Revision 1.186 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 3 15:39:37 2005 UTC (4 years ago) by dries
Branch: MAIN
Changes since 1.185: +2 -2 lines
Diff to previous 1.185
- Patch #36029 by asimmonds: fixed typo that prevents 'admin - block - configure' from working.

Revision 1.185 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 1 10:17:34 2005 UTC (4 years ago) by dries
Branch: MAIN
Changes since 1.184: +19 -10 lines
Diff to previous 1.184
- Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! /

Revision 1.184 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 22 15:14:46 2005 UTC (4 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.183: +7 -5 lines
Diff to previous 1.183
- Patch #30930 by m3avrck/deekayen: cured PHP5 warnings.

Revision 1.183 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 11 19:44:34 2005 UTC (4 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.182: +55 -55 lines
Diff to previous 1.182
- Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes.

Revision 1.182 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 7 06:51:43 2005 UTC (4 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.181: +8 -8 lines
Diff to previous 1.181
- Removing tabs and trailing whitespaces.

Revision 1.181 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 7 06:09:13 2005 UTC (4 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.180: +137 -85 lines
Diff to previous 1.180
- Patch #29465: new form API by Adrian et al.

  TODO:
  + The contact.module was broken; a new patch for contact.module is needed.
  + Documentation is needed.
  + The most important modules need to be updated ASAP.

Revision 1.180 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 14 21:37:11 2005 UTC (4 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.179: +19 -17 lines
Diff to previous 1.179
- Patch #30801 by Allie Micka, m3avrck, 1uv4t4r et al: fixed block problems.

Revision 1.179 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 12 18:26:59 2005 UTC (4 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.178: +10 -4 lines
Diff to previous 1.178
- Patch #30801 by Allie Micka and m3avrck: performance improvements: improved the database scheme and queries of the block.module.

Revision 1.178 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 25 21:14:16 2005 UTC (4 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.177: +2 -2 lines
Diff to previous 1.177
- Patch #29385 by chx: no ?> add end of files.

Revision 1.177 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 16 18:06:18 2005 UTC (4 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.176: +91 -62 lines
Diff to previous 1.176
- Patch #16216 by nedjo: multiple block regions!

Revision 1.176 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 7 15:30:03 2005 UTC (4 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.175: +3 -3 lines
Diff to previous 1.175
- Patch #27713 by tostinni: fixed two problems on the block add page:
   + description field isn't marked as requiered
   +when the field isn't unique, an error is displayed, but the wrong text field is set as erronous.

Revision 1.175 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 29 21:06:33 2005 UTC (4 years, 3 months ago) by unconed
Branch: MAIN
Changes since 1.174: +2 -2 lines
Diff to previous 1.174
- #27551: Rename check_output() to check_markup(). Needs contrib updates!

Revision 1.174 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 20 11:44:40 2005 UTC (4 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.173: +3 -3 lines
Diff to previous 1.173
- Patch #26217 by HellRaider: fixed problem <front> setting in presence of slashes.

Revision 1.173 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 3 15:27:52 2005 UTC (4 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.172: +2 -2 lines
Diff to previous 1.172
- Patch #26233 by Goba: fixed problem with block regions being buggy.

Revision 1.172 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 29 19:53:14 2005 UTC (4 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.171: +2 -2 lines
Diff to previous 1.171
- Fixed problems with filter formats and problem with XML-RPC server.

Revision 1.171 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 27 18:33:30 2005 UTC (4 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.170: +7 -7 lines
Diff to previous 1.170
- Patch #25603 by Stefan: made the sizes of forms consistent.
  TODO: document the defaults in the PHPdoc comments.

Revision 1.170 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 22 12:48:47 2005 UTC (4 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.169: +2 -2 lines
Diff to previous 1.169
- Patch #22192 by tostinne: fixed invalid XHTML code

Revision 1.169 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 5 22:22:45 2005 UTC (4 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.168: +5 -6 lines
Diff to previous 1.168
- Patch #15595 by Stefan and Djun: improved status messages.

  TODO: we should write down a couple guidelines for these document them in
        the PHPDoc code of drupal_set_message()!  .

Revision 1.168 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 5 11:24:21 2005 UTC (4 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.167: +2 -2 lines
Diff to previous 1.167
- Patch #21939 by Usability Poobah Chris: added missing </p> tag.

Revision 1.167 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 1 18:37:18 2005 UTC (4 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.166: +2 -2 lines
Diff to previous 1.166
- Patch #21445 by Goba: added missing t() function.

Revision 1.166 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 30 18:16:38 2005 UTC (4 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.165: +17 -44 lines
Diff to previous 1.165
- Patch #21353 by chx: implemented PHP-mode for blocks.

Revision 1.165 - (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.164: +5 -5 lines
Diff to previous 1.164
- Patch 20910 by chx: centralize print theme page.

Revision 1.164 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 18 20:31:50 2005 UTC (4 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.163: +2 -2 lines
Diff to previous 1.163
- Improved consistency.

Revision 1.163 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 12 18:52:47 2005 UTC (4 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.162: +12 -6 lines
Diff to previous 1.162
- Patch #19965 by Robin Monks: fixed problem with duplicate block titles.

Revision 1.162 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 4 12:27:05 2005 UTC (4 years, 7 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-6-0
Branch point for: DRUPAL-4-6
Changes since 1.161: +32 -20 lines
Diff to previous 1.161
- Modified patch #19694 by chx: makes sure that block.module deals by default only with regions 0 and 1 as it does now but lets you use block_list with any region you define. This opens many possibilites. You may do a multi region module, with your admin UI using the blocks table as storage and the block_list matcher. Or you may do a sections module using the block matcher without cluttering the current blocks list.

Revision 1.161 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 31 09:25:33 2005 UTC (4 years, 7 months ago) by unconed
Branch: MAIN
Changes since 1.160: +5 -5 lines
Diff to previous 1.160
- #18817: Clean up plain-text checking (see drupal-devel!)

Revision 1.160 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 18 07:07:04 2005 UTC (4 years, 8 months ago) by unconed
Branch: MAIN
Changes since 1.159: +2 -2 lines
Diff to previous 1.159
- #18939 (Stefan): Always use paragraph tags around page help text.

Revision 1.159 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 6 15:06:19 2005 UTC (4 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.158: +3 -3 lines
Diff to previous 1.158
- Renamed some more 'region's to 'sidebar's

Revision 1.158 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 5 23:00:32 2005 UTC (4 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.157: +2 -2 lines
Diff to previous 1.157
- Patch by Neil: fixed typo.

Revision 1.157 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 5 09:09:07 2005 UTC (4 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.156: +30 -11 lines
Diff to previous 1.156
- Patch #18382 by Neil: usability improvement: organized the blocks on the block administration page by region. (I wanted to do that myself!)

Revision 1.156 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 3 20:51:27 2005 UTC (4 years, 8 months ago) by unconed
Branch: MAIN
Changes since 1.155: +14 -12 lines
Diff to previous 1.155
#18329: Unify confirmation messages (and make them themable)

Revision 1.155 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 3 05:54:25 2005 UTC (4 years, 8 months ago) by unconed
Branch: MAIN
Changes since 1.154: +3 -3 lines
Diff to previous 1.154
- Block admin usability: display block title if no description was given.

Revision 1.154 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 27 02:48:57 2005 UTC (4 years, 9 months ago) by unconed
Branch: MAIN
Changes since 1.153: +13 -4 lines
Diff to previous 1.153
- #17868: Remove hardcoded align="center"

Revision 1.153 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 22 06:16:06 2005 UTC (4 years, 9 months ago) by unconed
Branch: MAIN
Changes since 1.152: +5 -4 lines
Diff to previous 1.152
#17216: Restore missing "delete" link for blocks.

Revision 1.152 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 28 15:24:16 2005 UTC (4 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.151: +2 -2 lines
Diff to previous 1.151
- Patch #16399 by James: fixed typo in block.module.

Revision 1.151 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 27 22:53:35 2005 UTC (4 years, 10 months ago) by unconed
Branch: MAIN
Changes since 1.150: +3 -3 lines
Diff to previous 1.150
Typos.

Revision 1.150 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 27 19:55:22 2005 UTC (4 years, 10 months ago) by unconed
Branch: MAIN
Changes since 1.149: +4 -4 lines
Diff to previous 1.149
- Code style

Revision 1.149 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 27 19:41:01 2005 UTC (4 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.148: +48 -17 lines
Diff to previous 1.148
- Patch #16074 by Andre Molnar: add configuration option to show blocks only on pages of certain node type.

Revision 1.148 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 6 01:17:31 2005 UTC (4 years, 10 months ago) by unconed
Branch: MAIN
Changes since 1.147: +2 -2 lines
Diff to previous 1.147
#15185: Fix front page handling of blocks

Revision 1.147 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 18 07:52:59 2004 UTC (4 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.146: +4 -7 lines
Diff to previous 1.146
- Patch #14532 by andre molnar: tidied up some block.module code.

Revision 1.146 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 11 14:13:24 2004 UTC (4 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.145: +1 -8 lines
Diff to previous 1.145
- Removed some cruft: left-over xxx_help_page() functions.

Revision 1.145 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 11 12:32:01 2004 UTC (4 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.144: +2 -2 lines
Diff to previous 1.144
- Patch #14209 by nysus: improved the clarity and readability for a group of radio buttons for a block's visibility settings.

Revision 1.144 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 15 11:26:04 2004 UTC (5 years ago) by dries
Branch: MAIN
Changes since 1.143: +15 -3 lines
Diff to previous 1.143
- Patch #12353 by Stefan: usability improvement: don't show 'throttle fields' unless the throttle module is enabled.

Revision 1.143 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 15 11:16:39 2004 UTC (5 years ago) by dries
Branch: MAIN
Changes since 1.142: +2 -2 lines
Diff to previous 1.142
- Patch #12783 by Stefan: various small consistency/usability improvements.

Revision 1.142 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 14 20:20:09 2004 UTC (5 years ago) by dries
Branch: MAIN
Changes since 1.141: +2 -2 lines
Diff to previous 1.141
- Modified patch by Jeremy: throttle module improvements and fixes:
   + throttle module: flush cache when the throttle enables/disables
   + throttle module: prevent throttle being enabled by 0 users or guests when disabled
   + system module: remove requirement for statistics.module
   + block module: update help text to reflect access log is no longer required
   + statistics module: throttle is now enabled/disabled, not using levels 0-5

Revision 1.141 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 7 22:46:56 2004 UTC (5 years ago) by dries
Branch: MAIN
Changes since 1.140: +2 -2 lines
Diff to previous 1.140
- Refactored the throttle module.  Patch by Jeremy and me.

  * There are only two throttle levels instead of 5, namely 'enabled' and 'disabled'.  This makes it a _lot_ easier to predict when the throttle will kick in.  However, if you maintain a module that is throttle-aware, it needs to be updated!

  * The throttle mechanism now uses the current number of anonymous users or the current number of authenticated users to kick in.  This is a _lot_ more intuitive than the old throttle mechanism.

  * The throttle block has been removed -- you can now use the "Who's online" block to determine the good throttle settings.

  * Most of the documentation has been removed because it was deprecated.

  * It's less code!

Revision 1.140 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 31 07:34:47 2004 UTC (5 years ago) by dries
Branch: MAIN
Changes since 1.139: +157 -97 lines
Diff to previous 1.139
- Patch #11875 by Neil Drumm: block module configuration improvements.

The primary goal of this patch is to take the 'custom' and 'path' columns of the block overview page and make them into something understandable. As of Drupal 4.5 'custom' lacked an explanation which wasn't buried in help text and path required dealing with regular expressions.

Every block now has a configuration page to control these options. This gives more space to make form controls which do not require a lengthy explanation. This page also gives modules a chance to put their block configuration options in a place that makes sense using new operations in the block hook.

The only required changes to modules implementing hook_block() is to be careful about what is returned. Do not return anything if $op is not 'list' or 'view'. Once this change is made, modules will still be compatible with Drupal 4.5. Required changes to core modules are included in this path.

An additional optional change to modules is to implement the additional $op options added. 'configure' should return a string containing the configuration form for the block with the appropriate $delta. 'configure save' will come with an additional $edit argument, which will contain the submitted form data for saving. These changes to core modules are also included in this patch.

Revision 1.139 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 14 21:27:33 2004 UTC (5 years, 1 month 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
Branch point for: DRUPAL-4-5
Changes since 1.138: +1 -2 lines
Diff to previous 1.138
- Patch #10677 by drumm: removed dead code.  Leftover.

Revision 1.138 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 14 15:28:24 2004 UTC (5 years, 1 month ago) by unconed
Branch: MAIN
Changes since 1.137: +40 -45 lines
Diff to previous 1.137
#10677: Confirmation when deleting a block + unifying confirmation screens.

Revision 1.137 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 9 06:29:16 2004 UTC (5 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.136: +2 -2 lines
Diff to previous 1.136
- Patch #11401 by Goba: documentation updates:
   + Made error strings in blog.module consistent.
   + Explained a bit better what the RSD setting is for in the blog module.
   + Removed the notes about PHP content from block module and book module, since everything is handled via the input formats now.

Revision 1.136 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 17 22:07:17 2004 UTC (5 years, 2 months ago) by unconed
Branch: MAIN
Changes since 1.135: +2 -1 lines
Diff to previous 1.135
- #10689: Group permissions by module in UI + minor code cleanups.
- Adding a drupal_goto to the block admin.

Revision 1.135 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 16 07:17:55 2004 UTC (5 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.134: +23 -20 lines
Diff to previous 1.134
- Patch #8179 by JonBob: reintroduced menu caching.

Revision 1.134 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 8 15:38:25 2004 UTC (5 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.133: +2 -2 lines
Diff to previous 1.133
- Patch #10622 by Adrian: fixes various PostgreSQL related problems.

  1) Menu problems with Postgres (this is a highly critical 1 line fix)
  2) Archive module fails with Postgres
  3) Postgres setup problems - changes to database.pgsql (although i made these changes myself before finding this patch)
  4) Book module fails with Postgres
  5) Postgres problems following creation of a new type of user - which is actually about a taxonomy.module bug.
  6) Creating accregator_item_table in PostgreSQL
  7) Postgres - Polls not displayed on Poll Page
  8) Blog module has sql errors with postgres

  This should not affect MySQL users (hopefully).

Revision 1.133 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 22 17:03:41 2004 UTC (5 years, 3 months ago) by unconed
Branch: MAIN
Changes since 1.132: +5 -2 lines
Diff to previous 1.132
- #9292: Make Drupal (somewhat) PHP5 compatible. xtemplate is still horribly broken.

Revision 1.132 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 21 06:42:35 2004 UTC (5 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.131: +6 -1 lines
Diff to previous 1.131
- 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.131 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 19 15:41:55 2004 UTC (5 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.130: +2 -2 lines
Diff to previous 1.130
- Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions).

Revision 1.130 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 16 18:02:48 2004 UTC (5 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.129: +4 -4 lines
Diff to previous 1.129
- Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter.

Revision 1.129 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 10 18:34:29 2004 UTC (5 years, 3 months ago) by unconed
Branch: MAIN
Changes since 1.128: +19 -33 lines
Diff to previous 1.128
The Input formats - filter patch has landed. I still need to make update instructions for modules and update the hook docs.

Here's an overview of the changes:
1) Multiple Input formats: they are complete filter configurations (what filters to use, in what order and with which settings). Input formats are admin-definable, and usage of them is role-dependant. For example, you can set it up so that regular users can only use limited HTML, while admins can free HTML without any tag limitations.
The input format can be chosen per content item (nodes, comments, blocks, ...) when you add/edit them. If only a single format is available, there is no choice, and nothing changes with before.

The default install (and the upgrade) contains a basic set of formats which should satisfy the average user's needs.

2) Filters have toggles
Because now you might want to enable a filter only on some input formats, an explicit toggle is provided by the filter system. Modules do not need to worry about it and filters that still have their own on/off switch should get rid of it.

3) Multiple filters per module
This was necessary to accomodate the next change, and it's also a logical extension of the filter system.

4) Embedded PHP is now a filter
Thanks to the multiple input formats, I was able to move the 'embedded PHP' feature from block.module, page.module and book.module into a simple filter which executes PHP code. This filter is part of filter.module, and by default there is an input format 'PHP', restricted to the administrator only, which contains this filter.
This change means that block.module now passes custom block contents through the filter system.
As well as from reducing code duplication and avoiding two type selectors for page/book nodes, you can now combine PHP code with other filters.

5) User-supplied PHP code now requires <?php ?> tags.
This is required for teasers to work with PHP code. Because PHP evaluation is now just another step in the filter process, we can't do this. Also, because teasers are generated before filtering, this would result in errors when the teaser generation would cut off a piece of PHP code.

Also, regular PHP syntax explicitly includes the <?php ?> tags for PHP files, so it makes sense to use the same convention for embedded PHP in Drupal.

6) Filter caching was added.
Benchmarking shows that even for a simple setup (basic html filtering + legacy URL rewriting), filtercache can offer speedups. Unlike the old filtercache, this uses the normal cache table.

7) Filtertips were moved from help into a hook_filter_tips(). This was required to accomodate the fact that there are multiple filters per module, and that filter settings are format dependant. Shoehorning filter tips into _help was ugly and silly. The display of the filter tips is done through the input format selector, so filter_tips_short() no longer exists.

8) A more intelligent linebreak convertor was added, which doesn't stop working if you use block-level tags and which adds <p> tags.

Revision 1.128 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 6 20:15:32 2004 UTC (5 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.127: +2 -2 lines
Diff to previous 1.127
- Patch #9330: ucfirst() gives problem when used with multibyte charset.
  Replaced the use of ucfirst() with a CSS-based solution.

Revision 1.127 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 6 11:11:30 2004 UTC (5 years, 3 months ago) by unconed
Branch: MAIN
Changes since 1.126: +3 -2 lines
Diff to previous 1.126
- Oopsie when committing.

Revision 1.126 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 6 11:10:15 2004 UTC (5 years, 3 months ago) by unconed
Branch: MAIN
Changes since 1.125: +17 -3 lines
Diff to previous 1.125
- Cleaning up the rediculously long 'if' statement for checking block visibility.
- #9811: Remove session ID before matching block path

Revision 1.125 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 5 05:40:53 2004 UTC (5 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.124: +3 -3 lines
Diff to previous 1.124
- Patch #9775 by TDobes: consistency operation.  Changed to "edit foo," "delete foo," and "view foo" links into simply "edit," "delete," and "view".

Revision 1.124 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 1 19:26:07 2004 UTC (5 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.123: +2 -2 lines
Diff to previous 1.123
- Simplified the block help a bit by removing some dated information.  It
  should be simplified more.

Revision 1.123 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 10 16:06:49 2004 UTC (5 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.122: +3 -3 lines
Diff to previous 1.122
- 'add block' -> 'add'

Revision 1.122 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 10 15:51:48 2004 UTC (5 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.121: +3 -1 lines
Diff to previous 1.121
- More tab-improvements by JonBob: improved support for the default tabs!

Revision 1.121 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 7 05:42:24 2004 UTC (5 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.120: +2 -63 lines
Diff to previous 1.120
- Patch #8975 by drumm: remove block placement preview.  Most themes, if not all the commonly used ones, can handle blocks on either side, and there is no way to see the preview without saving and seeing the results on the site.

  Anything else that can be removed?  Less is more.

Revision 1.120 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 27 19:10:51 2004 UTC (5 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.119: +12 -10 lines
Diff to previous 1.119
I refactored quite a bit of the user.module:

$ diffstat user.patch
database/database.mysql |    4
database/database.pgsql |    2
database/updates.inc    |   10 -
modules/block.module    |   20 +-
modules/locale.module   |    9
modules/profile.module  |  108 +++++++----
modules/system.module   |    8
modules/user.module     |  456 +++++++++++++++++++-----------------------------
8 files changed, 289 insertions(+), 328 deletions(-)

More functionality, less code.  Here is a list of the changes:

- Some user API changes:
   + When $type is 'form', you have to return an associative array of groups.  In turn, each group is an array with a 'title', 'data' and 'weight'.
   + A new $type has been added, namely 'categories'.  User settings can be organized in categories.  Categories can be sorted, as can the groups within a category.  (Ordering 'categories' is somewhat broken due to a bug in the menu system.)

- The 'my account > edit' page will use subtabs for each 'category'.  Read: you can break down the account settings into multiple subpages.

- Profile module improvements:
   + Added support for private fields to the profile module!
   + Improved workflow of profile administration pages.
   + Improved the form descriptions.

- Code improvements:
   + Unified user_edit() and user_admin_edit().
   + Unified and cleaned up the validation code.  Fixed some validation glitches too.

Revision 1.119 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 21 21:11:36 2004 UTC (5 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.118: +11 -10 lines
Diff to previous 1.118
- Patch #8708 (modified) by Stefan: refactored the 'add new block' form a but.

Revision 1.118 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 20 19:49:14 2004 UTC (5 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.117: +2 -2 lines
Diff to previous 1.117
- Patch #8681 by stefan: fixed some broken URLs and help texts.

Revision 1.117 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 18 22:20:36 2004 UTC (5 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.116: +2 -2 lines
Diff to previous 1.116
- Patch #8598 by cetron: fixed typo in the help text: 'shuold' -> 'should'

Revision 1.116 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 18 15:04:35 2004 UTC (5 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.115: +37 -23 lines
Diff to previous 1.115
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.115 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 2 18:49:22 2004 UTC (5 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.114: +4 -3 lines
Diff to previous 1.114
- Patch #8234 by mathias: using block path with Drupal subdirectory installs.

Revision 1.114 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 17 22:00:06 2004 UTC (5 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.113: +8 -7 lines
Diff to previous 1.113
- Code improvements by JonBob.  Thanks.

Revision 1.113 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 17 14:50:58 2004 UTC (5 years, 6 months ago) by kjartan
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112
- Fixed missing block selection on user edit page.

Revision 1.112 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 11 20:10:14 2004 UTC (5 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.111: +170 -146 lines
Diff to previous 1.111
- Code improvements by JonBob.  Thanks again.

Revision 1.111 - (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.110: +9 -7 lines
Diff to previous 1.110
- 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.110 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 29 18:56:21 2004 UTC (5 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.109: +3 -3 lines
Diff to previous 1.109
- Patch #6725 by TDobes: update block module _user() hooks.

Revision 1.109 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 25 20:37:32 2004 UTC (5 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.108: +4 -4 lines
Diff to previous 1.108
Patch 6523 by Steven:

- Strips the leading / from URLs to match with block paths. The reason is that everywhere else in Drupal, we use URLs without leading slash (e.g. URL aliasing). For consistency we should keep this behaviour everywhere. The replacement uses ereg_replace instead of str_replace, but the expression now only match the beginning of the URI so in fact it's faster, esp. for longer URIs.

- Updates the block docs about path matching: gets rid of leading slash, adds initial matching operator '^' and emphasises the slash behaviour (which was not mentioned anywhere before)

- Replaces the example expression for a negative match. It was horribly broken and odd, the replacement in this patch is correct and simpler.

Revision 1.108 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 21 16:30:01 2004 UTC (5 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.107: +2 -2 lines
Diff to previous 1.107
- Patch #6543 by Michelangelo: block path matching breaks when clean URLs are disabled.

Revision 1.107 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 5 20:33:02 2004 UTC (5 years, 8 months ago) by dries
Branch: MAIN
Branch point for: DRUPAL-4-4
Changes since 1.106: +2 -2 lines
Diff to previous 1.106
- Restored the old block path behavior.

Revision 1.106 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 25 21:19:31 2004 UTC (5 years, 9 months ago) by unconed
Branch: MAIN
Changes since 1.105: +7 -3 lines
Diff to previous 1.105
Fixed an apparently old bug which always defaulted user-togglable blocks to off, and clarified the explanation a bit.

Revision 1.105 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 15 20:09:46 2004 UTC (5 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.104: +32 -38 lines
Diff to previous 1.104
- Patch by Steven: removed redundant permission checks.  These are no longer
  required thanks to the new 404 handling.

Revision 1.104 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 7 16:59:34 2004 UTC (5 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.103: +2 -2 lines
Diff to previous 1.103
- Batch two with profile module improvements:
   + Reworked the 'account administration' page.
   + Fixed bug in the 'edit account' page.
   + Removed some dead code from the system.module.

Revision 1.103 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 7 16:18:46 2004 UTC (5 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.102: +3 -11 lines
Diff to previous 1.102
- First batch of profile module improvements:
   + Tidied up the profile configuration page: grouped form elements.

   + Tidied up the block configuration settings: removed hard-coded
     table.

   + Changed the profile API to return the preferred group name, and
     changed the user module to group settings.  Modules implementing
     the _user hook will need to be udpated.

   + Removed register_form and register_validate for now.

Revision 1.102 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 23 18:42:43 2004 UTC (5 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.101: +3 -2 lines
Diff to previous 1.101
Patch 5287 by Stefan: multiline help texts should become inside a single $output.

Revision 1.101 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 21 06:36:56 2004 UTC (5 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.100: +25 -26 lines
Diff to previous 1.100
Patch 5187 by Goba:
 - puts the long multiline help text into one string
 - fixes the ambiquity of calling two things on the same name: "custom block"
   now the user customizeable blocks are called custom blocks, and the admin
   defined blocks are called Administator Defined Blocks
 - added info on throttle to the explanation on when a block is displyed
 - also fixing some small typos

Revision 1.100 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 19 22:11:46 2004 UTC (5 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.99: +3 -3 lines
Diff to previous 1.99
- Removed instances of the 'throttle_enable' variable.

Revision 1.99 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 17 11:33:58 2004 UTC (5 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.98: +2 -2 lines
Diff to previous 1.98
- Patch #5184: fixed block path and aliases.  Patch by Nick.

Revision 1.98 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 11 20:31:25 2004 UTC (5 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.97: +5 -5 lines
Diff to previous 1.97
- Patch #5021: clean up URLs in _help texts.  Patch by UnConeD.

Revision 1.97 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 29 17:14:26 2003 UTC (5 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.96: +8 -8 lines
Diff to previous 1.96
- XHTML improvements: <b> -> <strong>.  Patch by Stefan.

Revision 1.96 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 28 10:47:33 2003 UTC (5 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.95: +3 -4 lines
Diff to previous 1.95
- Tidied up some inconsistencies in the code: scripts/code-style.sh is your friend.

Revision 1.95 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 8 06:32:19 2003 UTC (5 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.94: +9 -7 lines
Diff to previous 1.94
- Tidied up the DoxyGen comments.  Patch by Kjartan.

Revision 1.94 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 7 18:25:09 2003 UTC (5 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.93: +2 -2 lines
Diff to previous 1.93
- Patch 0185 by Jeremy: made it possible to automatically disable modules when
  under heave load.

Revision 1.93 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 4 20:53:19 2003 UTC (5 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.92: +2 -2 lines
Diff to previous 1.92
- Patch 185 by Ax: fixed undefined variables, synchronized xtemplate with sf, etc.

Revision 1.92 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 1 13:45:32 2003 UTC (5 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.91: +4 -4 lines
Diff to previous 1.91
- Introduced a drupal_set_message() and drupal_get_message() function.

  Contributed themes and modules need to be updated:
   - modules: status() is no more; use drupal_set_message() instead.
   - themes: use drupal_get_message() to check for status messages and
     visualize them.

Revision 1.91 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 29 06:53:03 2003 UTC (5 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.90: +7 -11 lines
Diff to previous 1.90
- More throttle improvements.  Patch by Jeremy.

Revision 1.90 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 28 20:53:23 2003 UTC (6 years ago) by dries
Branch: MAIN
Changes since 1.89: +3 -3 lines
Diff to previous 1.89
- Bugfix by Jeremy.

Revision 1.89 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 28 20:03:00 2003 UTC (6 years ago) by dries
Branch: MAIN
Changes since 1.88: +23 -9 lines
Diff to previous 1.88
- Made it possible to auto-throttle blocks.  That is, blocks can be
  configured to be disabled when under excessive load.  Patch by Jeremy.

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

Revision 1.87 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 24 22:46:03 2003 UTC (6 years ago) by dries
Branch: MAIN
Changes since 1.86: +4 -4 lines
Diff to previous 1.86
Patch by Ax to fixe and improve to the core doxygen PHPdoc:

  * fixes all doxygen warnings [#]_ in the current code base
    + changes @param style from phpDocumentor (@param type $var desc) to doxygen (@param $var desc)
    + documents all undocumented parameters
    + escapes / fixes html warnings
    + fixes @defgroup in theme.inc
  * adds more groupings [#]_
    + drupal_{set|get}_title, drupal_{set|get}_breadcrumb
    + pager.inc: pager_api (pager_query(), pager_display()), pager pieces
  * adds a new group "themeable" which contains all themeable functions.

Revision 1.86 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 20 21:51:23 2003 UTC (6 years ago) by dries
Branch: MAIN
Changes since 1.85: +14 -4 lines
Diff to previous 1.85
- 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.85 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 19 16:13:06 2003 UTC (6 years ago) by dries
Branch: MAIN
Changes since 1.84: +34 -1 lines
Diff to previous 1.84
- Block and theme improvements.  Patch by Ax.
   + block_list() (in block.module): returns an array of block objects for
     $region.
   + theme_blocks() (in theme.inc): uses block_list() and theme("block") to
     actually render them.

  Advantages:
   + Decouples blocks content and layout, allows block_list() to be used
     for non-output purposes (think "pull").
   + Unifies naming in theme.inc: render_blocks()) didn't really fit there.
   + Puts block_list() in blocks.module where it logically belongs.

- Removed some cruft from the Xtemplate theme.  Patch by Ax.

Revision 1.84 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 13 19:52:54 2003 UTC (6 years ago) by dries
Branch: MAIN
Changes since 1.83: +2 -2 lines
Diff to previous 1.83
- table(...) -> theme("table", ...)

Revision 1.83 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 7 19:03:34 2003 UTC (6 years ago) by dries
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82
- Usability improvement: replaced many selection boxes by radio buttons.
  Patch by Stefan.

Revision 1.82 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 9 18:53:21 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.81: +7 -7 lines
Diff to previous 1.81
- Committed part 3 of Michael's help system improvements: removed the $help
  parameter from the menu() function.

Revision 1.81 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 7 18:16:40 2003 UTC (6 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.80: +3 -11 lines
Diff to previous 1.80
- Help system improvements: eliminated the _system hook.  Patch by Michael.

- Bloggerapi module fixes.  Patch by Kjartan.

- Coding style fixes.  Patch by Michael.

Revision 1.80 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 5 08:41:48 2003 UTC (6 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.79: +3 -3 lines
Diff to previous 1.79
- Bugfix: the block module's help was not being displayed.  Patch by Gabor.

Revision 1.79 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 3 14:55:26 2003 UTC (6 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.78: +1 -2 lines
Diff to previous 1.78
- Help improvements and translation improvements from Michael.  Thanks!

Revision 1.78 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 28 20:08:48 2003 UTC (6 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.77: +8 -8 lines
Diff to previous 1.77
- Block module fixes.  Patch by Kjartan.

Revision 1.77 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 28 18:23:13 2003 UTC (6 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.76: +8 -7 lines
Diff to previous 1.76
- Translation improvements for the block module help.  Patch by Gabor.

Revision 1.76 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 28 17:07:46 2003 UTC (6 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.75: +5 -5 lines
Diff to previous 1.75
- More translation fixes for the menu items.  Patch by Gabor.

Revision 1.75 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 27 06:00:43 2003 UTC (6 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.74: +8 -8 lines
Diff to previous 1.74
- Committed Al's new admin link texts.  Remarks:

  1) As explained by Al, there is still a glitch with the 'create content'
     menu.
  2) The user module part of the patch did not apply due to Kjartan's earlier
     patch.

Revision 1.74 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 26 10:04:09 2003 UTC (6 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.73: +3 -6 lines
Diff to previous 1.73
- Committed the admin menu integration patch.  Thanks Adrian, Stefan and others.

Revision 1.73 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 19 07:41:54 2003 UTC (6 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.72: +20 -15 lines
Diff to previous 1.72
- Committed a partial administration page integration patch.

Revision 1.72 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 30 21:20:21 2003 UTC (6 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71
- Fixed bug #2689.  Patch by Bruno.

Revision 1.71 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 13 18:40:26 2003 UTC (6 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70
- Documentation fixes by Michael F.

Revision 1.70 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 7 16:53:36 2003 UTC (6 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69
- Block module documentation improvement.  Patch by Gerhard.

Revision 1.69 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 5 18:33:38 2003 UTC (6 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.68: +51 -32 lines
Diff to previous 1.68
- Help system improvements from Michael.

Revision 1.68 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 10 17:46:42 2003 UTC (6 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.67: +16 -16 lines
Diff to previous 1.67
- Committed a slightly modified version of Slavica's table prefix patch.

Revision 1.67 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 30 18:34:02 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.66: +2 -2 lines
Diff to previous 1.66
- Bugfix: fixed calendar block caching.  Patch by Al.  Fixes bug #2131.

- Improvement: improved the block module documentation.  Patch #59 by
  Gerhard.

Revision 1.66 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 26 19:13:32 2003 UTC (6 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.65: +5 -2 lines
Diff to previous 1.65
*** empty log message ***

Revision 1.65 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 24 15:55:22 2003 UTC (6 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.64: +4 -4 lines
Diff to previous 1.64
- Bugfix: renamed "create PHP content" to "create php content".  Reported
by Simon, patch by Gerhard.

- Improvement: synchronized the import module help with the version on
drupal.org.

Revision 1.64 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 19 17:26:27 2003 UTC (6 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.63: +18 -18 lines
Diff to previous 1.63
- Bugfix: fixed utf-8 problem for people that use PHP 4.2.x or below.  Patch #33 by Al.

- Bugfix: fixed translation problems in the user module and the block module.  Patch by Stefan.

- Improvement: made it impossible to delete user role #1 and #2.  Patch #38 by Al.

- Improvement: fixed the "Allowed HTML tag" issues.  Makes for better code and improved usability.  Patch #35 by Al.

  NOTE: as soon the compose tips make their way into CVS, most of this code can be removed.

Revision 1.63 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 16 17:09:15 2003 UTC (6 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62
- Improvements: XHTML-ifications.  Patch by GmbH.  See feature #1813.

Revision 1.62 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 15 19:06:20 2003 UTC (6 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.61: +11 -11 lines
Diff to previous 1.61
- Improvements: XHTML-ifications.  Patch by GmbH.

Revision 1.61 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jun 10 17:33:43 2003 UTC (6 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.60: +21 -24 lines
Diff to previous 1.60
- Documentation improvements: improved and updated the block module documentation.  Patch #44 by Al.  We should add some real-life path examples!

- Fixed the "blog it" image size.  Patch #49 by Al.

- Some SQL performance improvements to the forum module.  This should also be more PostgreSQL safe.  Patch by me.

mysql> SELECT n.nid, n.created AS timestamp, u.name AS name, u.uid AS uid FROM forum f, node n LEFT JOIN users u ON n.uid = u.uid WHERE f.tid = 2 AND n.nid = f.nid AND n.type = 'forum' AND n.status = 1 ORDER BY timestamp DESC LIMIT 1, 0;
==> 0.63 sec

changed to:

mysql> SELECT n.nid, n.created AS timestamp, u.name AS name, u.uid AS uid FROM forum f LEFT JOIN node n ON n.nid = f.nid LEFT JOIN users u ON n.uid = u.uid WHERE f.tid = 2 AND n.nid = f.nid AND n.type = 'forum' AND n.status = 1 ORDER BY timestamp DESC LIMIT 1, 0;
==> 0.00 sec

Revision 1.60 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 8 01:19:37 2003 UTC (6 years, 5 months ago) by unconed
Branch: MAIN
Changes since 1.59: +8 -8 lines
Diff to previous 1.59
Fixed some typoes...

Revision 1.59 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 29 09:14:58 2003 UTC (6 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.58: +35 -37 lines
Diff to previous 1.58
- Michael Frankowski's excellent help text improvements!

Revision 1.58 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 13 18:36:34 2003 UTC (6 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.57: +3 -2 lines
Diff to previous 1.57
- 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.57 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 7 21:00:36 2003 UTC (6 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.56: +10 -10 lines
Diff to previous 1.56
- Applied  Michael Caerwyn's "%s -> %d" patch.

- Changed all occurences of '%d' to %d as suggested on the mailing list.

Revision 1.56 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 21 12:15:12 2003 UTC (6 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.55: +5 -5 lines
Diff to previous 1.55
- Added some missing quotes.

Revision 1.55 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 19 16:42:42 2003 UTC (6 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.54: +5 -3 lines
Diff to previous 1.54
- Applied modified version of Al's "block delta" patch.  I left out the
  blogroll feature as I think it would get very confusing.  I don't mind
  to add it but it need some thought and documentation as it somewhat
  conflicts with the existing cloud module.

  These changes require you to run update.php.

Revision 1.54 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 29 16:30:39 2003 UTC (6 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.53: +4 -4 lines
Diff to previous 1.53
- Fixed some SQL query directives.

Revision 1.53 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 29 08:05:37 2003 UTC (6 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.52: +2 -2 lines
Diff to previous 1.52
- Fixed typo in the block delete link.  Reported by Paul C.

Revision 1.52 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 20 22:44:51 2003 UTC (6 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.51: +6 -9 lines
Diff to previous 1.51
- New menu houskeeping.  Prototyped by Zbynek.

  The following modules need updating:
    * glossary module
    * feed module (Breyten's version)
    * mailhandler module
    * notify module
    * project module
    * smileys module
    * admin module
    * style module
    * taxonomy_dhtml module

  To avoid unexpected problems menu_add() is deprecated (it will print an
  error message when used) and menu() should be used instead.

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

Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 23 09:24:20 2003 UTC (6 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49
- Tidied up XHTML.  Patch by Ulf.

- Added missing t() function.  Patch by Stefan.

Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 6 19:51:00 2003 UTC (6 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.48: +14 -12 lines
Diff to previous 1.48
- Clean URL patch.

Revision 1.48 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 2 06:08:05 2003 UTC (6 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.47: +8 -4 lines
Diff to previous 1.47
- Bugfix: some variables were not being reset causing wrong links to be
  displayed.  Patch by Ax.

Revision 1.47 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 31 12:33:58 2002 UTC (6 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46
- Tidied up the use of check_output().  Might make rendering pages a bit
  snappier (performance improvement).

Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 29 16:03:01 2002 UTC (6 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.45: +17 -26 lines
Diff to previous 1.45
CHANGES:

- Usability improvement: made the block administration pages use the
  new table rendering functions.  By the way, the old code rendered
  invalid HTML code.

- Usability improvement: saving block changes will now show a status
  message.

- Usability improvement: quite a few strings could not be translated.

TODO:

- I think the "enabled" and "custom" field are somewhat confusing.
  Suggestions?

Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 24 15:40:28 2002 UTC (6 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.44: +7 -11 lines
Diff to previous 1.44
- Refactored the administration pages.

Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 2 19:14:41 2002 UTC (6 years, 11 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-1-0
Branch point for: DRUPAL-4-1
Changes since 1.43: +2 -2 lines
Diff to previous 1.43
* Applied slightly modified version of Marco's taxonomy patch:

 - Fixed a bug with get_tree and multiple parents.
 - Fixed 3 wrong caches (this will avoid some queries).
 - Extension to taxonomy_term_count_nodes() (feature #159): "currently
   calling taxonomy_term_count_nodes() returns the amount of nodes in each
   term, would it be possible to extend this function so that it would only
   return the amount of nodes of a certain type under each term.
 - Confirm deleting a vocabulary or a term (requested by Moshe).
 - Use form_weight() in vocabulary and term forms.
 - After submitting a term, we end up at the term page (requested by Moshe).
 - Added status messages when adding, editing and deleting vocabularies and
   terms
 - Minor clean ups

* Made sure all modules use the same link delimiter; "|" for now.

Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 20 10:13:42 2002 UTC (7 years ago) by kjartan
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42
- changing case for consistency.

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 17 06:42:52 2002 UTC (7 years ago) by dries
Branch: MAIN
Changes since 1.41: +7 -1 lines
Diff to previous 1.41
Patch based on work of Kjartan:

- Changed cache API.

- Fixed caching bug in comment.module.  Odd this hasn't been reported yet.

- Fixed caching bug in forum.module.

- Fixed caching bug in system.module.

- Fixed caching bug in block.module.

- Simplified caching support in forum.module thanks to improved cache API.

Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 16 14:28:22 2002 UTC (7 years ago) by dries
Branch: MAIN
Changes since 1.40: +3 -2 lines
Diff to previous 1.40
- Fixed bug in block module: "Array" was displayed on the user information
  page.

Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 1 10:47:19 2002 UTC (7 years ago) by dries
Branch: MAIN
Changes since 1.39: +4 -4 lines
Diff to previous 1.39
- Fixed glitch in block module: the admin links were not composed
  correctly.  Patch by Stefan.

- Added missing t() functions and improved the %x directives for
  better readability and to ease the process of translating your
  site.  Patches by Stefan.

- Made two small additions to the 'code-clean.sh' script; it will
  now remove patch related junk.

NOTES:

- I removed the &middot; related bits.  Let's tackle these later on
  in a separate patch after we got some sort of consensus.

- I removed the 'module_exist("drupal")' check in the user module;
  I *think* it is incomplete and therefore incorrect.

- Stefan, try using quotes in your translations and check whether
  everything still works.  Example: translate the "Create account"
  button to "Create \"haha\" account \'hihi\'" and see if you can
  still create new accounts.  Maybe automate this using a quick
  hack in the locale module ...

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 30 08:12:28 2002 UTC (7 years ago) by dries
Branch: MAIN
Changes since 1.38: +17 -4 lines
Diff to previous 1.38
- Made sure blocks are sorted by weight.  Patch by Ax.

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 26 15:17:25 2002 UTC (7 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.37: +104 -60 lines
Diff to previous 1.37
- Committed Marco's block rewrite:

   + Blocks are not longer called if not rendered: major performance
     improvement.
   + Fixed some bugs (preview option was broken, path option was broken).
   + Removed "ascii"-type blocks.
   + Added permission to for "PHP blocks"
   + ...

  NOTES:

   + You'll want to run "update.php":

       ALTER TABLE blocks DROP remove;
       ALTER TABLE blocks DROP name;

   + You'll want to update your custom modules as well as the modules in
     the contrib repository.  Block function should now read:

       function *_block($op = "list", $delta = 0) {
         if ($op == "list") {
           return array of block infos
         }
         else {
           return subject and content of $delta block
         }
       }

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 17 18:34:38 2002 UTC (7 years, 1 month ago) by kjartan
Branch: MAIN
Changes since 1.36: +2 -8 lines
Diff to previous 1.36
- removed function module_rehash().
- updated database dump.
- removed tables modules, layout and referrer (don't forget to backup!).

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 30 09:19:50 2002 UTC (7 years, 1 month ago) by kjartan
Branch: MAIN
Changes since 1.35: +8 -2 lines
Diff to previous 1.35
- fixing block configuration not working when user is disabling all blocks.

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 26 16:10:35 2002 UTC (7 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34
- Applied Axel's patch to sort blocks by weight.

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jun 9 15:11:15 2002 UTC (7 years, 5 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-0-0
Branch point for: DRUPAL-4-0
Changes since 1.33: +2 -2 lines
Diff to previous 1.33
- Changed a " drupal " into " Drupal ".

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 8 16:17:28 2002 UTC (7 years, 5 months ago) by kjartan
Branch: MAIN
Changes since 1.32: +2 -2 lines
Diff to previous 1.32
- improved module descriptions.
- removed admin options for queue and comment module if the modules are not
  loaded.
- nodes are now auto promoted when queue module isn't enabled.
- moderation result block is now visible by the node author.

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 1 21:57:28 2002 UTC (7 years, 5 months ago) by kjartan
Branch: MAIN
Changes since 1.31: +6 -1 lines
Diff to previous 1.31
- adding descriptions to modules (thanks Joe + Scott).
- fixed comment flat list view missing 1 comment.
- changed update.php around a bit.
    * security check isn't in effect if the db hasn't been updated.
    * instructions re-organized.
    * fixed some minor updates.
- updated database.mysql done by UnConeD.
- changelog update.

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 31 20:29:29 2002 UTC (7 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30
- Added missing translations and the like.

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 12 15:40:57 2002 UTC (7 years, 6 months ago) by kjartan
Branch: MAIN
Changes since 1.29: +11 -7 lines
Diff to previous 1.29
- applied Stevens link patch.
- fixed block permissions.
- fixed user admin page errors: http://www.drupal.org/node.php?id=173.
- cleaned up common.inc a bit: removed format_info, path_img, field_merge.

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 11 16:21:48 2002 UTC (7 years, 6 months ago) by kjartan
Branch: MAIN
Changes since 1.28: +5 -5 lines
Diff to previous 1.28
- changed block, module and theme config pages to use checkboxes.
- coding style clean ups.
- fixed taxonomy causing errors.

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 2 20:32:36 2002 UTC (7 years, 6 months ago) by kjartan
Branch: MAIN
Changes since 1.27: +9 -1 lines
Diff to previous 1.27
- user.module used a obsolete variable_get.
- set blocks for new users.

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 2 20:21:51 2002 UTC (7 years, 6 months ago) by kjartan
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26
- changed from a select to checkbox on edit account page.
- added a basic help text.

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 2 19:55:22 2002 UTC (7 years, 6 months ago) by kjartan
Branch: MAIN
Changes since 1.25: +11 -8 lines
Diff to previous 1.25
- small update .htaccess, fixed the blog link.
- some interface changes in block admin page.

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 2 19:13:44 2002 UTC (7 years, 6 months ago) by kjartan
Branch: MAIN
Changes since 1.24: +135 -28 lines
Diff to previous 1.24
  - merged block and box modules. modules/box.module should be removed
    or disabled as it will cause errors otherwise.

  - split status into status and custom. Status will turn the block
    on/off, and custom defined if the user can change the status.
    Requires sql update.

  - reintroduced user page to configure blocks.

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 24 20:55:20 2002 UTC (7 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23
- Bugfix: solve problem with locales being "disabled".  Reported by Jerritt,
  fixed by Marco.

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 22 09:05:35 2002 UTC (7 years, 7 months ago) by kjartan
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22
- bug fixes:
    * fixed mails not being parsed properly.
    * tracker now shows user name when you view your own recent
      comments.
    * link to submission queue now points to the right place.
    * fixed jabber module.
    * theme is now activated when changed.
- applied Gerhards coding style patch.

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 20 11:52:49 2002 UTC (7 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.21: +36 -36 lines
Diff to previous 1.21
- Applied Marco's big patch, including contributions from Moshe:

    + Changed the db_query() API.

    + Wrapped all links in l(), lm(), la(), ..., drupal_url() functions.

    + XHTML-ified some HTML.

    + Wrapped a lot of text in the administrative pages in a t()
      function.

    + Replaced all $REQUEST_URI/$PATH_INFOs by request_uri().

    + Small bugfixes (eg. bug in book_export_html() and clean-ups (eg.
      RSS code).

    + Fixed some bugs in the taxonomy module (eg. tree making bug), added
      new functionality (eg. new APIs for use by other modules), included
      Moshe's taxonomy extensions, and some documentation udpates.

    + ...

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 17 15:44:21 2001 UTC (8 years ago) by kjartan
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20
code-style.pl
- allow $var++ and $var-- syntax.

update.php / block.module
- cleaned up coding style, and trailing spaces.

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

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 22 12:55:41 2001 UTC (8 years, 1 month ago) by kjartan
Branch: MAIN
Changes since 1.18: +30 -30 lines
Diff to previous 1.18
- added a path field to the blocks. Its a regexp to define which pages you
  want the blocks to show up on.
- updated the help.
- did some XMLification.
- SQL update script has a new table collumn which needs to be applied.

Revision 1.18 - (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.17: +2 -1 lines
Diff to previous 1.17
- 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.17 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 16 20:13:21 2001 UTC (8 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.16: +1 -0 lines
Diff to previous 1.16
- Removed a node's link ID (lid) as discussed on the mailing list.  See
  'updates/3.00-to.x.xx.mysql' for the required MySQL updates.

- Renamed some "author" fields to "uid" fields for sake of consistency.

- Fixed the coding style of some PHP files.

- Fixed the moderation queue (fairly untested though).

- Re-introduced the temporary SQL table in _node_get().

- Added a missing 'auto_increment' to 'updates/3.00-to-x.xx.mysql'.

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 7 14:58:54 2001 UTC (8 years, 4 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-3-0-0
Branch point for: DRUPAL-3-0
Changes since 1.15: +1 -1 lines
Diff to previous 1.15
- various small updates:
   + fixed 2 small HTML typos in meta.module
   + better watchdog messages in comment.module
   + fixed typo in block.module

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 29 22:08:54 2001 UTC (8 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.14: +11 -3 lines
Diff to previous 1.14
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.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 23 11:09:40 2001 UTC (8 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.13: +14 -0 lines
Diff to previous 1.13
- Small but significant improvements to block and box.module which
  makes the ever-confusing "rehash modules" (see module.module) no
  longer needed, hence making module.module redundant.  :-)

- Removed module.module.

- Renamed conf.module to system.module, and added some information
  about the available modules to system.module.

- Various small changes.

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 20 20:00:40 2001 UTC (8 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.12: +23 -15 lines
Diff to previous 1.12
- 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.12 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 18 18:00:13 2001 UTC (8 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.11: +7 -7 lines
Diff to previous 1.11
- block.module:
    + renamed 'overview' to 'preview' as suggested by Kristjan.

- meta.module:
    + renamed 'verify' to 'preview' to make it consistent with
      block.module.
    + fixed comma-bug with attribute list reported by Kristjan.

- node.module:
    + fixed typo: "id$nid" should have been "id=$nid"

Revision 1.11 - (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.10: +0 -20 lines
Diff to previous 1.10
- 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.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 5 13:57:29 2001 UTC (8 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.9: +2 -8 lines
Diff to previous 1.9
- Uhm.  Rewrote the module system: less code clutter, less run-time
  overhead, and a lot better (simpler) module API.  I had to edit a
  LOT of files to get this refactored but I'm sure it was worth the
  effort.

  For module writers / maintainers:

  None of the hooks changed, so 95% of the old modules should still
  work.  You can remove some code instead as "$module = array(...)"
  just became obsolete.  Also - and let's thank God for this - the
  global variable "$repository" has been eliminated to avoid modules
  relying on, and poking in drupal's internal data structures.  Take
  a look at include/module.inc to investigate the details/changes.

- Improved design of the content modules "story", "book" and "node"
  (to aid smooth integration of permisions + moderate.module).  I'm
  still working on the permissions but I got side tracked for which
  I "Oops!".

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 6 14:14:14 2001 UTC (8 years, 7 months ago) by dries
Branch: MAIN
Changes since 1.8: +6 -7 lines
Diff to previous 1.8
A lot of small changes (search-n-replace) make a big commit:

  - fixed update bug in book.module
  - provide a log message when both adding and updating book pages
  - all configurable variables are now accessed through "variable_get()":
  - rewrote watchdog and submission throttle and removed watchdog.inc
  - improved robustness of sections.inc
  - imporved story.module
  - updated ./database/database.sql

Revision 1.8 - (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.7: +2 -2 lines
Diff to previous 1.7
- applied David Norman's patch to turn all <?'s into fully qualified
  <?php's.

Revision 1.7 - (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.6: +1 -1 lines
Diff to previous 1.6
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.6 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 5 16:42:38 2001 UTC (8 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.5: +4 -4 lines
Diff to previous 1.5

- documentation updates contributed by Michael O'Henly <michael@tenzo.com>
  and myself

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 26 13:38:45 2001 UTC (8 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.4: +10 -10 lines
Diff to previous 1.4
- removed redundant spaces

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 13 16:33:18 2001 UTC (8 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.3: +80 -6 lines
Diff to previous 1.3
- 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

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 29 11:00:55 2000 UTC (8 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2
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

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 24 15:44:29 2000 UTC (8 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.1: +24 -3 lines
Diff to previous 1.1
- some improvements and code polishing
- added a few extra blocks to choose from

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 23 15:20:10 2000 UTC (8 years, 11 months ago) by dries
Branch: MAIN
- intermediate updates

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