Log of /drupal/modules/block.module
Parent Directory
Revision
1.211
Wed Jul 12 14:29:41 2006 UTC (2 years, 11 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.203 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 4 17:54:58 2006 UTC (3 years, 4 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.198 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jan 24 08:38:29 2006 UTC (3 years, 5 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)
(
annotate)
-
[select for diffs]
Fri Jan 20 09:04:34 2006 UTC (3 years, 5 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)
(
annotate)
-
[select for diffs]
Thu Jan 19 08:54:41 2006 UTC (3 years, 5 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)
(
annotate)
-
[select for diffs]
Thu Jan 12 10:01:15 2006 UTC (3 years, 5 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.191 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Dec 5 09:11:33 2005 UTC (3 years, 6 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.188 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Nov 13 08:26:01 2005 UTC (3 years, 7 months 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.186 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 3 15:39:37 2005 UTC (3 years, 8 months 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)
(
annotate)
-
[select for diffs]
Tue Nov 1 10:17:34 2005 UTC (3 years, 8 months 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.181 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Oct 7 06:09:13 2005 UTC (3 years, 8 months 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.179 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Sep 12 18:26:59 2005 UTC (3 years, 9 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.176 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Aug 7 15:30:03 2005 UTC (3 years, 10 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.174 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jul 20 11:44:40 2005 UTC (3 years, 11 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.171 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jun 27 18:33:30 2005 UTC (4 years 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.169 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu May 5 22:22:45 2005 UTC (4 years, 2 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.162 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Apr 4 12:27:05 2005 UTC (4 years, 3 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.157 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 5 09:09:07 2005 UTC (4 years, 4 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.149 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jan 27 19:41:01 2005 UTC (4 years, 5 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.145 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Dec 11 12:32:01 2004 UTC (4 years, 6 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)
(
annotate)
-
[select for diffs]
Mon Nov 15 11:26:04 2004 UTC (4 years, 7 months 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.142 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Nov 14 20:20:09 2004 UTC (4 years, 7 months 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)
(
annotate)
-
[select for diffs]
Sun Nov 7 22:46:56 2004 UTC (4 years, 7 months 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)
(
annotate)
-
[select for diffs]
Sun Oct 31 07:34:47 2004 UTC (4 years, 8 months 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.137 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Oct 9 06:29:16 2004 UTC (4 years, 8 months 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)
(
annotate)
-
[select for diffs]
Fri Sep 17 22:07:17 2004 UTC (4 years, 9 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.134 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Sep 8 15:38:25 2004 UTC (4 years, 9 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)
(
annotate)
-
[select for diffs]
Sun Aug 22 17:03:41 2004 UTC (4 years, 10 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)
(
annotate)
-
[select for diffs]
Sat Aug 21 06:42:35 2004 UTC (4 years, 10 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)
(
annotate)
-
[select for diffs]
Thu Aug 19 15:41:55 2004 UTC (4 years, 10 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)
(
annotate)
-
[select for diffs]
Mon Aug 16 18:02:48 2004 UTC (4 years, 10 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)
(
annotate)
-
[select for diffs]
Tue Aug 10 18:34:29 2004 UTC (4 years, 10 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)
(
annotate)
-
[select for diffs]
Fri Aug 6 20:15:32 2004 UTC (4 years, 10 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.126 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Aug 6 11:10:15 2004 UTC (4 years, 10 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)
(
annotate)
-
[select for diffs]
Thu Aug 5 05:40:53 2004 UTC (4 years, 11 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)
(
annotate)
-
[select for diffs]
Sun Aug 1 19:26:07 2004 UTC (4 years, 11 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.121 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jul 7 05:42:24 2004 UTC (4 years, 11 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)
(
annotate)
-
[select for diffs]
Sun Jun 27 19:10:51 2004 UTC (5 years 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.116 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Jun 18 15:04:35 2004 UTC (5 years 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.111 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Apr 21 13:56:37 2004 UTC (5 years, 2 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.107.2.2 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 25 20:38:03 2004 UTC (5 years, 3 months ago) by
dries
Branch:
DRUPAL-4-4
CVS Tags:
DRUPAL-4-4-0,
DRUPAL-4-4-1
Changes since
1.107.2.1: +4 -4 lines
Diff to
previous 1.107.2.1
, to
branch point 1.107
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 o
perator '^' 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 repl
acement in this patch is correct and simpler.
Revision
1.109 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 25 20:37:32 2004 UTC (5 years, 3 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)
(
annotate)
-
[select for diffs]
Sun Mar 21 16:30:01 2004 UTC (5 years, 3 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.106 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Feb 25 21:19:31 2004 UTC (5 years, 4 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)
(
annotate)
-
[select for diffs]
Sun Feb 15 20:09:46 2004 UTC (5 years, 4 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)
(
annotate)
-
[select for diffs]
Sat Feb 7 16:59:34 2004 UTC (5 years, 4 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)
(
annotate)
-
[select for diffs]
Sat Feb 7 16:18:46 2004 UTC (5 years, 4 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.101 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jan 21 06:36:56 2004 UTC (5 years, 5 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.96 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Dec 28 10:47:33 2003 UTC (5 years, 6 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.94 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Dec 7 18:25:09 2003 UTC (5 years, 6 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)
(
annotate)
-
[select for diffs]
Thu Dec 4 20:53:19 2003 UTC (5 years, 7 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)
(
annotate)
-
[select for diffs]
Mon Dec 1 13:45:32 2003 UTC (5 years, 7 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.89 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Nov 28 20:03:00 2003 UTC (5 years, 7 months 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.87 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Nov 24 22:46:03 2003 UTC (5 years, 7 months 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)
(
annotate)
-
[select for diffs]
Thu Nov 20 21:51:23 2003 UTC (5 years, 7 months 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)
(
annotate)
-
[select for diffs]
Wed Nov 19 16:13:06 2003 UTC (5 years, 7 months 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.83 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Nov 7 19:03:34 2003 UTC (5 years, 7 months 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.81 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Oct 7 18:16:40 2003 UTC (5 years, 8 months 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.75 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Sep 27 06:00:43 2003 UTC (5 years, 9 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.65 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jun 24 15:55:22 2003 UTC (6 years 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)
(
annotate)
-
[select for diffs]
Thu Jun 19 17:26:27 2003 UTC (6 years 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.61 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jun 10 17:33:43 2003 UTC (6 years 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.58 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue May 13 18:36:34 2003 UTC (6 years, 1 month 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)
(
annotate)
-
[select for diffs]
Wed May 7 21:00:36 2003 UTC (6 years, 1 month 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.55 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Apr 19 16:42:42 2003 UTC (6 years, 2 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.52 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Feb 20 22:44:51 2003 UTC (6 years, 4 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.48 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jan 2 06:08:05 2003 UTC (6 years, 6 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)
(
annotate)
-
[select for diffs]
Tue Dec 31 12:33:58 2002 UTC (6 years, 6 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)
(
annotate)
-
[select for diffs]
Sun Dec 29 16:03:01 2002 UTC (6 years, 6 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.44 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Dec 2 19:14:41 2002 UTC (6 years, 7 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.42 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Nov 17 06:42:52 2002 UTC (6 years, 7 months 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)
(
annotate)
-
[select for diffs]
Sat Nov 16 14:28:22 2002 UTC (6 years, 7 months 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)
(
annotate)
-
[select for diffs]
Fri Nov 1 10:47:19 2002 UTC (6 years, 8 months 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 · 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.38 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Oct 26 15:17:25 2002 UTC (6 years, 8 months 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)
(
annotate)
-
[select for diffs]
Thu Oct 17 18:34:38 2002 UTC (6 years, 8 months 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.33 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Jun 8 16:17:28 2002 UTC (7 years 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)
(
annotate)
-
[select for diffs]
Sat Jun 1 21:57:28 2002 UTC (7 years, 1 month 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.29 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat May 11 16:21:48 2002 UTC (7 years, 1 month 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.27 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu May 2 20:21:51 2002 UTC (7 years, 2 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)
(
annotate)
-
[select for diffs]
Thu May 2 19:55:22 2002 UTC (7 years, 2 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)
(
annotate)
-
[select for diffs]
Thu May 2 19:13:44 2002 UTC (7 years, 2 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)
(
annotate)
-
[select for diffs]
Wed Apr 24 20:55:20 2002 UTC (7 years, 2 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)
(
annotate)
-
[select for diffs]
Mon Apr 22 09:05:35 2002 UTC (7 years, 2 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)
(
annotate)
-
[select for diffs]
Sat Apr 20 11:52:49 2002 UTC (7 years, 2 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)
(
annotate)
-
[select for diffs]
Sat Nov 17 15:44:21 2001 UTC (7 years, 7 months 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)
(
annotate)
-
[select for diffs]
Thu Nov 1 11:00:48 2001 UTC (7 years, 8 months 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)
(
annotate)
-
[select for diffs]
Mon Oct 22 12:55:41 2001 UTC (7 years, 8 months 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)
(
annotate)
-
[select for diffs]
Sat Oct 20 18:57:07 2001 UTC (7 years, 8 months 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)
(
annotate)
-
[select for diffs]
Tue Oct 16 20:13:21 2001 UTC (7 years, 8 months 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)
(
annotate)
-
[select for diffs]
Sat Jul 7 14:58:54 2001 UTC (7 years, 11 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)
(
annotate)
-
[select for diffs]
Fri Jun 29 22:08:54 2001 UTC (8 years 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)
(
annotate)
-
[select for diffs]
Sat Jun 23 11:09:40 2001 UTC (8 years 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)
(
annotate)
-
[select for diffs]
Wed Jun 20 20:00:40 2001 UTC (8 years 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)
(
annotate)
-
[select for diffs]
Mon Jun 18 18:00:13 2001 UTC (8 years 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)
(
annotate)
-
[select for diffs]
Sat May 12 21:06:13 2001 UTC (8 years, 1 month 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)
(
annotate)
-
[select for diffs]
Sat May 5 13:57:29 2001 UTC (8 years, 2 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)
(
annotate)
-
[select for diffs]
Fri Apr 6 14:14:14 2001 UTC (8 years, 3 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.7 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Mar 7 21:29:40 2001 UTC (8 years, 3 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.4 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Jan 13 16:33:18 2001 UTC (8 years, 5 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)
(
annotate)
-
[select for diffs]
Fri Dec 29 11:00:55 2000 UTC (8 years, 6 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)
(
annotate)
-
[select for diffs]
Sun Dec 24 15:44:29 2000 UTC (8 years, 6 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
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.