Log of /drupal/modules/node.module
Parent Directory
Revision
1.641.2.18 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Oct 22 17:34:27 2006 UTC (2 years, 8 months ago) by
dries
Branch:
DRUPAL-4-7
Changes since
1.641.2.17: +2 -2 lines
Diff to
previous 1.641.2.17
, to
branch point 1.641
- Patch #90128 by gotheric and chx: worked around incompatible change in MySQL 5.0.13. Actually improves portability with databases like Oracle. Critical bugfix as it prevented search indexing from working.
Revision
1.657
Wed Jul 12 14:30:01 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.656: +1 -1 lines
FILE REMOVED
#64280: Renamed from node.module to node/node.module
Revision
1.656 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jul 10 19:27:52 2006 UTC (2 years, 11 months ago) by
dries
Branch:
MAIN
Changes since
1.655: +1 -4 lines
Diff to
previous 1.655
- Patch #72284 by me:
+ reorganized ?q=admin/settings
+ deprecated the _settings hook
Revision
1.655 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jul 10 08:05:15 2006 UTC (2 years, 11 months ago) by
dries
Branch:
MAIN
Changes since
1.654: +9 -14 lines
Diff to
previous 1.654
- Patch #72343 by Chris Johnson: removed checks for the moderate-flag from the SQL queries.
Revision
1.652 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jul 3 08:04:33 2006 UTC (3 years ago) by
dries
Branch:
MAIN
Changes since
1.651: +2 -2 lines
Diff to
previous 1.651
- Patch #71684 by fgm: corrected the header information of RSS feeds: text/xml -> application/rss+xml
Revision
1.650 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu May 18 14:58:57 2006 UTC (3 years, 1 month ago) by
dries
Branch:
MAIN
Changes since
1.649: +11 -2 lines
Diff to
previous 1.649
- Patch #18260 by Ber, m3averck et al: allow overriding of links returned by modules
Revision
1.648 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun May 14 12:56:44 2006 UTC (3 years, 1 month ago) by
dries
Branch:
MAIN
Changes since
1.647: +33 -13 lines
Diff to
previous 1.647
- Patch #48671 by Jaza: admin form fields not getting rendered at bottom of node form like they should.
Revision
1.642 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Apr 30 00:43:53 2006 UTC (3 years, 2 months ago) by
drumm
Branch:
MAIN
Changes since
1.641: +6 -3 lines
Diff to
previous 1.641
Forward port from 4.7
#59935, It's impossible to preserve stuff by calling form_set_value from hook_validate to submit, patch by tenrapid
Revision
1.640 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Apr 23 05:22:05 2006 UTC (3 years, 2 months ago) by
drumm
Branch:
MAIN
Changes since
1.639: +6 -6 lines
Diff to
previous 1.639
#59935 by chx, make nodeapi consistent with the rest of formapi, enabling the use of form_set_value.
Revision
1.638 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Apr 21 10:26:53 2006 UTC (3 years, 2 months ago) by
unconed
Branch:
MAIN
Changes since
1.637: +3 -3 lines
Diff to
previous 1.637
- #56617: Search ranking criteria depended on eachother.
- XHTML validation of node search form
Revision
1.636 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Apr 20 07:11:37 2006 UTC (3 years, 2 months ago) by
killes
Branch:
MAIN
Changes since
1.635: +2 -2 lines
Diff to
previous 1.635
#58221, Turn #after_build into a functions array in order to make validation of date fields possible. Patch by yched, tenrapid
Also makes forms API more consistent (see #pre_render)
Revision
1.620 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Mar 26 01:03:29 2006 UTC (3 years, 3 months ago) by
killes
Branch:
MAIN
Changes since
1.619: +7 -3 lines
Diff to
previous 1.619
#55632, After deleting the last revision of a node, you're sent to an invalid path, patch by dww
Revision
1.619 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 25 19:32:14 2006 UTC (3 years, 3 months ago) by
killes
Branch:
MAIN
Changes since
1.618: +8 -6 lines
Diff to
previous 1.618
#55550, if editing a node, node author changes to user editing it, patch by merlinofchaos
Revision
1.614 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 9 22:10:57 2006 UTC (3 years, 3 months ago) by
killes
Branch:
MAIN
Changes since
1.613: +2 -2 lines
Diff to
previous 1.613
#43032, Can't move forum topics created by anonymous (Authored by not set), patch by Cvbge.
Revision
1.598 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Feb 9 07:46:04 2006 UTC (3 years, 4 months ago) by
dries
Branch:
MAIN
Changes since
1.597: +9 -7 lines
Diff to
previous 1.597
- Patch #43622 / #46627 by markus: 'delete the selected posts' operation on admin/node doesn't work.
Revision
1.590 -
(
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.589: +1 -4 lines
Diff to
previous 1.589
- 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.589 -
(
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.588: +1 -8 lines
Diff to
previous 1.588
- Patch #45349 by Morbus Iff: input filters aren't sorting correctly infForms API.
Revision
1.588 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jan 18 21:31:40 2006 UTC (3 years, 5 months ago) by
unconed
Branch:
MAIN
Changes since
1.587: +24 -10 lines
Diff to
previous 1.587
- #42277: Make node search indexing more robust against bad nodes and timeouts.
Revision
1.587 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jan 18 19:09:46 2006 UTC (3 years, 5 months ago) by
dries
Branch:
MAIN
Changes since
1.586: +3 -3 lines
Diff to
previous 1.586
- Patch #45206 by markus: attempt at making the node filters somewhat translatable.
Revision
1.585 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jan 17 21:19:43 2006 UTC (3 years, 5 months ago) by
dries
Branch:
MAIN
Changes since
1.584: +4 -4 lines
Diff to
previous 1.584
- Patch #42072 by m3avrck: more improvements to the node revesion overview screen.
Revision
1.579 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jan 5 23:35:34 2006 UTC (3 years, 5 months ago) by
unconed
Branch:
MAIN
Changes since
1.578: +9 -5 lines
Diff to
previous 1.578
- #41940: Locale string search broken in some cases (and remove some inappropriate db_escape_string() usage)
- #43491: Missing drupal_goto() after saving settings
Revision
1.577 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jan 3 19:40:29 2006 UTC (3 years, 6 months ago) by
dries
Branch:
MAIN
Changes since
1.576: +2 -2 lines
Diff to
previous 1.576
- Patch #43032 by Steve Dondley: critical fix: can't update nodes by anonymous users.
Revision
1.567 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Dec 15 16:02:50 2005 UTC (3 years, 6 months ago) by
dries
Branch:
MAIN
Changes since
1.566: +3 -3 lines
Diff to
previous 1.566
- Patch #41133 by DriesK: as of PHP 5.1.0, strtotime() returns FALSE on failure instead of -1.
Changed code to be compatible with all versions.
Revision
1.563 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Dec 14 13:26:39 2005 UTC (3 years, 6 months ago) by
dries
Branch:
MAIN
Changes since
1.562: +4 -3 lines
Diff to
previous 1.562
- Patch #41109 by chx: fixed problem with _node_name() returning NULL instead of array() when there are no node types.
Revision
1.560 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Dec 7 20:57:45 2005 UTC (3 years, 6 months ago) by
dries
Branch:
MAIN
Changes since
1.559: +7 -6 lines
Diff to
previous 1.559
- Patch #29326 by Morbus: optimized performance of URL aliasing for newly installed sites.
There are a number of small optimizations we could add; like, we should never do more lookup queries than the number of unique URL aliases in the database. When the size of the static cache equals the number of unique URL aliases in the database, we can stop doing lookups. I think this could be implemented with a 2-line change. Takers?
Revision
1.559 -
(
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.558: +8 -13 lines
Diff to
previous 1.558
- 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.555 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Nov 25 10:11:59 2005 UTC (3 years, 7 months ago) by
dries
Branch:
MAIN
Changes since
1.554: +9 -17 lines
Diff to
previous 1.554
- Patch #37798 by Neil: allow non-workflow form elements on the node type settings page.
Revision
1.553 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 24 20:15:09 2005 UTC (3 years, 7 months ago) by
dries
Branch:
MAIN
Changes since
1.552: +2 -2 lines
Diff to
previous 1.552
- Patch #38593 by malex: generate 'guid' in RSS feeds to work around some aggregator glitches.
Revision
1.552 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Nov 23 16:18:28 2005 UTC (3 years, 7 months ago) by
dries
Branch:
MAIN
Changes since
1.551: +9 -3 lines
Diff to
previous 1.551
- Patch #35644 by webchick: fixed the sizes of the textareas on the node edit forms.
Revision
1.544 -
(
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.543: +18 -25 lines
Diff to
previous 1.543
- Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! /
Revision
1.534 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Oct 8 12:21:47 2005 UTC (3 years, 8 months ago) by
dries
Branch:
MAIN
Changes since
1.533: +9 -9 lines
Diff to
previous 1.533
- Patch #33433 by chx: fixed a number of form API problems.
* Default form value
* Leftover debug function in form.inc
* PHP5 issue with comment date (I got this patch from another issue)
* Validation error fix (was calling legacy form validate)
* Lots o' warnings on comment preview
* Filter tips plus argument (gremlins. I swear this was not there.)
* Message to clear what's going on with system settings
* Non-freetagging taxonomies fixed
Revision
1.532 -
(
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.531: +398 -346 lines
Diff to
previous 1.531
- 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.528 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Sep 18 10:37:57 2005 UTC (3 years, 9 months ago) by
dries
Branch:
MAIN
Changes since
1.527: +42 -13 lines
Diff to
previous 1.527
- Patch #3986 by James (and Boris :)):consolidated all feed-related settings in one place.
* adds a "feed settings" section to admin/settings where 2 new settings are introduced:
* number of items per feed
* default length of feed descriptions (title only, teaser, full)
* patches all of core to obey the above - including the new aggregator (out) feeds
* adds support for adding namespaces in _nodeapi('rss item') - which means things like iTunes RSS and yahoo's media rss can be implemented by the appropriate modules (i.e. audio.module)
* includes some additional info in the default node feed - specifically the element (links directly to comments) - and dc:creator - to show node author information.
Revision
1.526 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Aug 30 15:22:29 2005 UTC (3 years, 10 months ago) by
dries
Branch:
MAIN
Changes since
1.525: +163 -130 lines
Diff to
previous 1.525
- Patch #7582 by Gerhard: improved node revisions!
All node revisions were stored in a serialized field in the node table and retrieved for _each_ page view although they are rarely needed. We created a separate revisions table which would be in principle identical to the node table, only that it could have several old copies of the same node. This also allows us to revision-related information, and to provide log entries to non-book pages when a new revision is being created.
TODO:
1. Provide upgrade instructions for node module maintainers!
2. Upgrade modules that implement node types.
3. Provide an upgarde path for revisions. Dependency on the upgrade system.
Revision
1.524 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Aug 28 15:29:34 2005 UTC (3 years, 10 months ago) by
dries
Branch:
MAIN
Changes since
1.523: +87 -79 lines
Diff to
previous 1.523
- Patch #29785 by Chx: multiple node types were broken so we refactored
part of the node system! If you have a module that implements node
types, you'll have to udpate its CVS HEAD version.
We replaced _node_name() and _node_types() by _node(). The new _node()
hook let's you define one or more node types, including their names.
The implementation of the _node() hook needs to:
return array($type1 => array('name' => $name1, 'base' => $base1),
$type2 => array('name' => $name2, 'base' => $base2));
where $type is the node type, $name is the human readable name of the type
and $base is used instead of <hook> for <hook>_load, <hook>_view, etc.
For example, the story module's node hook looks like this:
function story_node() {
return array('story' => array('name' => t('story'), 'base' => 'story'));
}
The page module's node hook module like:
function page_node() {
return array('page' => array('name' => t('page'), 'base' => 'page'));
}
However, more complex node modules like the project module and the
flexinode module can use the 'base' parameter to specify a different base.
The project module implements two node types, proejcts and issues, so it
can do:
function project_node() {
return array(
array('project_project' => array('name' => t('project'), 'base' => 'project'),
array('project_issue' => array('name' => t('issue'), 'base' => 'project_issue'));
}
In the flexinode module's case there can only one base ...
This hook will simplify the CCK, and will make it easy (or easier) to merge
the story and page module.
In addition, node_list() became node_get_types(). In addition, we created
the following functions: node_get_name($type) and node_get_base($type).
Revision
1.523 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Aug 25 21:22:00 2005 UTC (3 years, 10 months ago) by
dries
Branch:
MAIN
Changes since
1.522: +4 -4 lines
Diff to
previous 1.522
- Patch #29593 by tostinni: fixed display of title on admin/settings/content-type/ pages.
Revision
1.520 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Aug 22 10:11:15 2005 UTC (3 years, 10 months ago) by
dries
Branch:
MAIN
Changes since
1.519: +16 -17 lines
Diff to
previous 1.519
- Patch #29335 by jonbob: shuffled the case-statements around for performance's sake.
Revision
1.519 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Aug 11 12:53:39 2005 UTC (3 years, 10 months ago) by
dries
Branch:
MAIN
Changes since
1.518: +2 -2 lines
Diff to
previous 1.518
- Patch #23750 by jerakeen: use the creation date rather than the update date in RSS feeds.
Revision
1.517 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Aug 7 14:55:17 2005 UTC (3 years, 10 months ago) by
dries
Branch:
MAIN
Changes since
1.516: +2 -2 lines
Diff to
previous 1.516
- Patch #26637 by Robert Douglas: $teaser misnamed in themes theme_node().
TODO: update documentation!
Revision
1.514 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Aug 1 05:14:05 2005 UTC (3 years, 11 months ago) by
dries
Branch:
MAIN
Changes since
1.513: +4 -4 lines
Diff to
previous 1.513
- Patch #27737 by Gerhard: format_name($object) -> theme('username', $object).
Usernames can now be themed; eg. an icon/avatar could be added.
TODO: update contributed modules + update the migration docs.
Revision
1.509 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jul 20 10:48:20 2005 UTC (3 years, 11 months ago) by
dries
Branch:
MAIN
Changes since
1.508: +21 -13 lines
Diff to
previous 1.508
- Patch #26467 by drumm: make the destination persist across multiple pages
and fixed the node delete form to use a return destination.
Revision
1.505 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jul 17 20:57:43 2005 UTC (3 years, 11 months ago) by
dries
Branch:
MAIN
Changes since
1.504: +28 -36 lines
Diff to
previous 1.504
- Modified patch #25031 by chx: modified node_list() so one has both the module and its type.
TODO: update migration page in handbook.
Revision
1.500 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jun 27 18:33:32 2005 UTC (4 years ago) by
dries
Branch:
MAIN
Changes since
1.499: +4 -4 lines
Diff to
previous 1.499
- Patch #25603 by Stefan: made the sizes of forms consistent.
TODO: document the defaults in the PHPdoc comments.
Revision
1.499 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jun 22 20:19:58 2005 UTC (4 years ago) by
dries
Branch:
MAIN
Changes since
1.498: +2 -2 lines
Diff to
previous 1.498
- Patch #18213 by chx: boostrap system. Modified to work with HEAD, tidied
up the documentation a little.
chx: can you double-check whether the global $conf variable is secure?
(That is, make sure it can't be send using the URL or something.)
Revision
1.498 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jun 21 18:58:26 2005 UTC (4 years ago) by
dries
Branch:
MAIN
Changes since
1.497: +4 -6 lines
Diff to
previous 1.497
- Patch #25121 by Robrecht J.: changed itemized lists with hardcoded CSS to definition lists.
Revision
1.497 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Jun 21 09:45:44 2005 UTC (4 years ago) by
dries
Branch:
MAIN
Changes since
1.496: +3 -3 lines
Diff to
previous 1.496
- Patch #16204 by Thox: committed the collapsible form elements patch.
NOTE: this patch works well, but the improved node edit form still has
some rough edges. It is important that we continue to improve
usability. Give it a try.
Revision
1.495 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jun 1 03:42:47 2005 UTC (4 years, 1 month ago) by
unconed
Branch:
MAIN
Changes since
1.494: +2 -2 lines
Diff to
previous 1.494
- #18836: Cleanup teaser generation code, and refine handling of PHP code teasers.
Revision
1.494 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jun 1 03:32:22 2005 UTC (4 years, 1 month ago) by
unconed
Branch:
MAIN
Changes since
1.493: +23 -52 lines
Diff to
previous 1.493
- #18836: Cleanup teaser generation code, and refine handling of PHP code teasers.
Revision
1.493 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue May 31 21:14:26 2005 UTC (4 years, 1 month ago) by
unconed
Branch:
MAIN
Changes since
1.492: +6 -3 lines
Diff to
previous 1.492
- Code cleanup: improve format_plural usage, add some missing placeholder/check calls, and introduce API for <link> tags.
Revision
1.492 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu May 26 19:29:48 2005 UTC (4 years, 1 month ago) by
dries
Branch:
MAIN
Changes since
1.491: +2 -2 lines
Diff to
previous 1.491
- Patch #18275 by Steven: "create content" menu displays extraneous links.
(Not sure if this needs to be backported to DRUPAL-4-6.)
Revision
1.490 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed May 25 03:51:00 2005 UTC (4 years, 1 month ago) by
unconed
Branch:
MAIN
Changes since
1.489: +2 -2 lines
Diff to
previous 1.489
- Sort admin-content by descending node date. This got lost in the refinement-filter patch.
Revision
1.489 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue May 24 06:00:21 2005 UTC (4 years, 1 month ago) by
unconed
Branch:
MAIN
Changes since
1.488: +2 -2 lines
Diff to
previous 1.488
* cue Star Wars theme tune *
Return of the JavaScript!
- #22519: form_autocomplete(): Ajax based autocompletion. Currently used for user names and folksonomy tags.
Revision
1.485.2.1 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Apr 11 16:39:40 2005 UTC (4 years, 2 months ago) by
dries
Branch:
DRUPAL-4-6
CVS Tags:
DRUPAL-4-6-0
Changes since
1.485: +3 -3 lines
Diff to
previous 1.485
- Patch #20188 by Goba: Node_feed() instructs the nodeapi view call it invokes to deal with the body of the node, but afterwards it only uses the teaser to generate the feed. So the nodeapi hook should be called with teaser processing in mind. This simple patch fixes that.
Revision
1.486 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Apr 11 16:39:19 2005 UTC (4 years, 2 months ago) by
dries
Branch:
MAIN
Changes since
1.485: +3 -3 lines
Diff to
previous 1.485
- Patch #20188 by Goba: Node_feed() instructs the nodeapi view call it invokes to deal with the body of the node, but afterwards it only uses the teaser to generate the feed. So the nodeapi hook should be called with teaser processing in mind. This simple patch fixes that.
Revision
1.484 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Apr 1 15:55:00 2005 UTC (4 years, 3 months ago) by
dries
Branch:
MAIN
Changes since
1.483: +2 -2 lines
Diff to
previous 1.483
- Patch #19451 by JonBob: improved consistency of module descriptions. We should write guidelines for this -- maybe in the PHPDoc code of the _help hook.
Revision
1.483 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Mar 31 21:18:08 2005 UTC (4 years, 3 months ago) by
dries
Branch:
MAIN
Changes since
1.482: +2 -2 lines
Diff to
previous 1.482
- Patch #19739 by Uwe: corrected many typo's in the documentation and code comments
Revision
1.481 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Mar 27 21:34:50 2005 UTC (4 years, 3 months ago) by
unconed
Branch:
MAIN
Changes since
1.480: +3 -8 lines
Diff to
previous 1.480
- #19353: Fix 'submit' button behaviour wrt optional previewing and form errors.
Revision
1.474 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Mar 5 11:05:07 2005 UTC (4 years, 4 months ago) by
dries
Branch:
MAIN
Changes since
1.473: +5 -5 lines
Diff to
previous 1.473
- Patch #18418 by chx: jonbob node_access_view_all patch changed the return value of node_access_where_sql to empty which breaks nicely all queries which are still using this function. This is a good incentive to upgrade to db_rewrite_sql, yes, but I think it causes confusion, 'cos it is not really trivial why the query suddenly not works. Let's make it trivial -- rename it _node_access_where_sql, it is no longer a function to be called from outside. node_access_join_sql similarly.
Revision
1.471 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Mar 1 20:07:48 2005 UTC (4 years, 4 months ago) by
dries
Branch:
MAIN
Changes since
1.470: +25 -25 lines
Diff to
previous 1.470
- Patch #18045 by JonBob: the node type admin page uses an unclear callback name, and uses arg() where it is not necessary. The attached patch cleans this up by unifying node_types() with node_types_configure().
Revision
1.470 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Mar 1 20:01:40 2005 UTC (4 years, 4 months ago) by
dries
Branch:
MAIN
Changes since
1.469: +5 -7 lines
Diff to
previous 1.469
- Patch #18123 by chx: the $return['distinct'] in the past should have been module_implements('node_grants') but after JonBob's node_access_view_all_nodes, that part happens only if node_grants is in effect, so it is simplified to 1.
Revision
1.461 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Feb 10 19:30:08 2005 UTC (4 years, 4 months ago) by
dries
Branch:
MAIN
Changes since
1.460: +3 -3 lines
Diff to
previous 1.460
- Patch #16246 by Moshe: "Here is a patch for node.module since thta hunk failed last time. Note that I've removed the 'delete' link since it doesn't work and is mostly obsolete with the 'mass delete' feature. I've also added smart destination andling to the 'url alias delete' feature."
Revision
1.459 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Feb 4 20:14:05 2005 UTC (4 years, 4 months ago) by
unconed
Branch:
MAIN
Changes since
1.458: +7 -5 lines
Diff to
previous 1.458
- PHP5 fix due object references: node previewing should not put node output into form.
Revision
1.457 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Feb 2 00:55:59 2005 UTC (4 years, 5 months ago) by
unconed
Branch:
MAIN
Changes since
1.456: +170 -57 lines
Diff to
previous 1.456
#10296: Clean up admin - content:
- Mass-delete functionality (with confirmation)
- Flexible filtering for the overview table based on status, type and taxonomy.
- Missing drupal_goto's
- Clean up watchdog messages
- Remove some dead code
Revision
1.456 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Feb 1 14:09:31 2005 UTC (4 years, 5 months ago) by
dries
Branch:
MAIN
Changes since
1.455: +5 -2 lines
Diff to
previous 1.455
- Patch #16513 by James (slightly modified): export categories and enclosures to RSS feeds (and made RSS feeds extensible).
NOTE: this needs to be documented.
Revision
1.454 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jan 30 09:53:19 2005 UTC (4 years, 5 months ago) by
dries
Branch:
MAIN
Changes since
1.453: +17 -13 lines
Diff to
previous 1.453
- Patch #16253 by Goba: incremental improvements to the new content markers.
Goba: it would be nice if one of the core themes would showcase this functionality. ;-)
Revision
1.452 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Jan 27 14:45:42 2005 UTC (4 years, 5 months ago) by
dries
Branch:
MAIN
Changes since
1.451: +14 -2 lines
Diff to
previous 1.451
- Patch #6025 by Jeremy: avoid data to get lost when two users are editing a node at the same time.
Revision
1.451 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jan 26 22:59:41 2005 UTC (4 years, 5 months ago) by
dries
Branch:
MAIN
Changes since
1.450: +18 -3 lines
Diff to
previous 1.450
- Patch #16192 by Neil: moved the submission guidelines found in forum, story, and blog and the minimum number of words found in story and blog (blog had a slight bug) into the node module.
Revision
1.450 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jan 24 21:20:16 2005 UTC (4 years, 5 months ago) by
dries
Branch:
MAIN
Changes since
1.449: +38 -54 lines
Diff to
previous 1.449
- Modified patch #14170 by Neil: improved default workflow (default node type) configuration page.
Modified the patch to remove some redundant code, to translate strings, and to better use the menu system.
Revision
1.449 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jan 23 16:20:10 2005 UTC (4 years, 5 months ago) by
dries
Branch:
MAIN
Changes since
1.448: +3 -3 lines
Diff to
previous 1.448
- I had to modify chx's patch/change because it did not work with PHP5. Please double-check.
Revision
1.445 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Jan 19 01:46:25 2005 UTC (4 years, 5 months ago) by
unconed
Branch:
MAIN
Changes since
1.444: +1 -1 lines
Diff to
previous 1.444
- Fix tracker pager count query being wrong (it did not return a count but a set, and it counted nodes with more than 1 comment as multiple nodes).
- Clean up various SQL queries: removing literally inserted data (db_escape_string is evil!), fixing single "%" which should be "%%", fixing integers being compared as strings.
Revision
1.437 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Jan 9 09:22:40 2005 UTC (4 years, 5 months ago) by
dries
Branch:
MAIN
Changes since
1.436: +4 -4 lines
Diff to
previous 1.436
- Patch #13260 by UnConeD: watchdog module improvements.
We added a 'severity' column to watchdog():
watchdog($type, $message, $link) --> watchdog($type, $message, $severity, $link);
* Specify a severity in case you are reporting a warning or error.
* The $link-parameter is now the fourth parameter instead of the third.
TODO: document this in the upgrade guide.
Revision
1.436 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Fri Dec 31 09:30:12 2004 UTC (4 years, 6 months ago) by
dries
Branch:
MAIN
Changes since
1.435: +7 -9 lines
Diff to
previous 1.435
- Patch #14917 by UnConeD/Steven:
1) The different types of search, which used to be radio button options in the search form, are now subtabs of "search" (default "search/node"). This seems better from a UI point of view, but also has another advantage: modules which implement a custom search form (flexinode, project) can add it as a subtab of search. This means that all search forms will be located in the same place, and also without needing an extra api call to search.module.
2) The current code was a bit hackish, as the indexing of comments along with nodes was hardcoded in node.module. Instead, I created a nodeapi operation "update index" which allows modules to add more data for a node that is being indexed. Comments are now indexed using this mechanism and from comment.module, which is a lot cleaner.
3) The search results format was also hardcoded to include "N comments". I replaced this with a nodeapi operation "search result" and moved the comment code to comment.module where it belongs. This op is quite useful, as for example I also modified upload.module to add "N attachments" to a search result if any are present.
Revision
1.431 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Dec 15 21:19:42 2004 UTC (4 years, 6 months ago) by
dries
Branch:
MAIN
Changes since
1.430: +9 -5 lines
Diff to
previous 1.430
- Patch #13907 by Neil: less ways to set the page title.
* Less logic in theme code.
* Encourages use of the menu system.
* Easier to find where a title or breadcrumb comes from in other people's code because there are less places to look. Look in menu and then grep for the appropriate set function. Looking for calls to theme_page() is hard because there are too many of them.
* Very slightly more efficient.
Revision
1.429 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Dec 7 16:55:38 2004 UTC (4 years, 6 months ago) by
dries
Branch:
MAIN
Changes since
1.428: +1 -5 lines
Diff to
previous 1.428
- Refactored the queue module: removed the queue module's field from the node table. With help from Gerhard.
- Slight addition to INSTALL.txt with regard to PHP versions.
- Updated/reworded some node type descriptions as per Boris' suggestions.
- Adding missing {} around a table name in update.php.
Revision
1.428 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Dec 2 06:44:55 2004 UTC (4 years, 7 months ago) by
unconed
Branch:
MAIN
Changes since
1.427: +4 -1 lines
Diff to
previous 1.427
Search: indexing should invoke nodeapi to catch all user-visible data (e.g. file attachment names).
Revision
1.427 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Nov 29 12:49:17 2004 UTC (4 years, 7 months ago) by
dries
Branch:
MAIN
Changes since
1.426: +2 -2 lines
Diff to
previous 1.426
- Patch #10697 by matteo: avoid that administrators can create nodes with the wrong node type.
Revision
1.426 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Nov 27 10:02:06 2004 UTC (4 years, 7 months ago) by
dries
Branch:
MAIN
Changes since
1.425: +5 -1 lines
Diff to
previous 1.425
- Modified patch #11840 by Stefan: added conctext-sensitive help text to the 'revision'-page.
Revision
1.425 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Nov 23 23:11:58 2004 UTC (4 years, 7 months ago) by
dries
Branch:
MAIN
Changes since
1.424: +10 -5 lines
Diff to
previous 1.424
- Patch #6166 by Moshe: node preview should not display links. Push the links to the theme instead of the theme having to pull them in using node_link().
TODO:
1. Update theme upgrade instructions in the handbook: node_link() is gone.
2. Remove page_link() just like we removed node_link().
Revision
1.424 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Nov 23 22:20:41 2004 UTC (4 years, 7 months ago) by
dries
Branch:
MAIN
Changes since
1.423: +5 -5 lines
Diff to
previous 1.423
- Patch by Stefan: wrapped the help texts in <p></p> tags. Helps improve consistency.
Revision
1.423 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Nov 21 08:25:17 2004 UTC (4 years, 7 months ago) by
dries
Branch:
MAIN
Changes since
1.422: +4 -4 lines
Diff to
previous 1.422
- Patch 13180 by chx: renamed check_query() to db_escape_string() and implemtented it properly per database backend.
Read the manual for pg_escape_string: "Use of this function is recommended instead of addslashes()." Or read sqlite_escape_string: "addslashes() should NOT be used to quote your strings for SQLite queries; it will lead to strange results when retrieving your data."
Revision
1.421 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 18 21:16:30 2004 UTC (4 years, 7 months ago) by
unconed
Branch:
MAIN
Changes since
1.420: +4 -3 lines
Diff to
previous 1.420
Search indexing bug: last updated timestamp needs to take last comment timestamp into account.
Revision
1.418 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Nov 15 09:55:28 2004 UTC (4 years, 7 months ago) by
dries
Branch:
MAIN
Changes since
1.417: +10 -4 lines
Diff to
previous 1.417
- Patch #11940 by kps: if the user is not allowed to view a newly submitted node, redirect him to the main page.
Revision
1.417 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 4 21:02:30 2004 UTC (4 years, 7 months ago) by
dries
Branch:
MAIN
Changes since
1.416: +4 -4 lines
Diff to
previous 1.416
- Slightly modified the API of node_title_list(): it will no longer call comment_num_all() for each node. Instead, it checks for the availability of the node_comment field, available through the node_comment_statistics table. If updated the Doxygen comments accordingly.
People were using node_title_list() without realizing it would do numereous database queries. This change greatly reduces the number of database queries required to render the node statistics block as well as to render the forum block (coming up next).
If your module is using node_title_list() and you want the number of comments to be shown as title attributes, chances are you have to update your SQL query to join node_comment_statistics.
Revision
1.416 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Nov 4 06:47:03 2004 UTC (4 years, 8 months ago) by
dries
Branch:
MAIN
Changes since
1.415: +5 -2 lines
Diff to
previous 1.415
- Patch #12232 by Steven: more search improvements:
+ When a comment is posted, a node needs to be re-indexed. Luckily, we can use node_comment_statistics for this easily.
+ When a node is deleted, it should be deleted from the search index as well.
+ The search wipe didn't properly remove links to nodes from the index.
+ Section url was faulty in _help.
+ Minor code rearrangement.
Revision
1.415 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Nov 3 16:46:58 2004 UTC (4 years, 8 months ago) by
dries
Branch:
MAIN
Changes since
1.414: +5 -2 lines
Diff to
previous 1.414
- Patch by Steven:
+ Display 'friendly' name rather than module name in search watchdog
messages.
+ Remove left-over from search_total table.
+ Add index wipe button to the admin
+ Moved the admin to admin/settings/search
+ Prevented menu bug when node modules update the breadcrumb in view
(thanks JonBob).
+ Changed search_total table's word key to PRIMARY.
Revision
1.414 -
(
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.413: +2 -2 lines
Diff to
previous 1.413
- 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.413 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Oct 31 03:03:25 2004 UTC (4 years, 8 months ago) by
dries
Branch:
MAIN
Changes since
1.412: +57 -40 lines
Diff to
previous 1.412
- Patch #12232 by Steven/UnConed: search module improvements.
1) Clean up the text analyser: make it handle UTF-8 and all sorts of characters. The word splitter now does intelligent splitting into words and supports all Unicode characters. It has smart handling of acronyms, URLs, dates, ...
2) It now indexes the filtered output, which means it can take advantage of HTML tags. Meaningful tags (headers, strong, em, ...) are analysed and used to boost certain words scores. This has the side-effect of allowing the indexing of PHP nodes.
3) Link analyser for node links. The HTML analyser also checks for links. If they point to a node on the current site (handles path aliases) then the link's words are counted as part of the target node. This helps bring out commonly linked FAQs and answers to the top of the results.
4) Index comments along with the node. This means that the search can make a difference between a single node/comment about 'X' and a whole thread about 'X'. It also makes the search results much shorter and more relevant (before this patch, comments were even shown first).
5) We now keep track of total counts as well as a per item count for a word. This allows us to divide the word score by the total before adding up the scores for different words, and automatically makes noisewords have less influence than rare words. This dramatically improves the relevancy of multiword searches. This also makes the disadvantage of now using OR searching instead of AND searching less problematic.
6) Includes support for text preprocessors through a hook. This is required to index Chinese and Japanese, because these languages do not use spaces between words. An external utility can be used to split these into words through a simple wrapper module. Other uses could be spell checking (although it would have no UI).
7) Indexing is now regulated: only a certain amount of items will be indexed per cron run. This prevents PHP from running out of memory or timing out. This also makes the reindexing required for this patch automatic. I also added an index coverage estimate to the search admin screen.
8) Code cleanup! Moved all the search stuff from common.inc into search.module, rewired some hooks and simplified the functions used. The search form and results now also use valid XHTML and form_ functions. The search admin was moved from search/configure to admin/search for consistency.
9) Improved search output: we also show much more info per item: date, author, node type, amount of comments and a cool dynamic excerpt à la Google. The search form is now much more simpler and the help is only displayed as tips when no search results are found.
10) By moving all search logic to SQL, I was able to add a pager to the search results. This improves usability and performance dramatically.
Revision
1.411 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Oct 19 18:02:24 2004 UTC (4 years, 8 months ago) by
dries
Branch:
MAIN
Changes since
1.410: +7 -7 lines
Diff to
previous 1.410
- Patch #11728 by Uwe Hermann: fixed some typos in the code comments, Doxygen documentation and screen output.
Uwe: I dropped the 'iff' chunks as 'iff' stands for 'if and only if'.
Revision
1.410.2.1 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Oct 19 18:00:28 2004 UTC (4 years, 8 months ago) by
dries
Branch:
DRUPAL-4-5
Changes since
1.410: +7 -7 lines
Diff to
previous 1.410
- Patch #11728 by Uwe Hermann: fixed some typos in the code comments, Doxygen documentation and screen output.
Uwe: I dropped the 'iff' chunks as 'iff' stands for 'if and only if'.
Revision
1.409 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Oct 12 20:01:25 2004 UTC (4 years, 8 months ago) by
dries
Branch:
MAIN
Changes since
1.408: +22 -20 lines
Diff to
previous 1.408
- Modified patch #10613 by killes: generate a 'page not found'-page when a requested node does not exist. I modified the patch to avoid duplicate 'not found'-checking in the second bulk.
Revision
1.407 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Oct 9 16:27:59 2004 UTC (4 years, 8 months ago) by
dries
Branch:
MAIN
Changes since
1.406: +1 -5 lines
Diff to
previous 1.406
- Fixed bug #11405: unchecking the "publish" box in the default workflow admin page (admin/node/configure/defaults) did not cause the default workflow to change. This was caused by the fact that node_validate() forced the value of the status field to "1".
Revision
1.406 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Oct 4 22:04:07 2004 UTC (4 years, 9 months ago) by
dries
Branch:
MAIN
Changes since
1.405: +2 -2 lines
Diff to
previous 1.405
- Simplified/reorganized version of patch #9620 by Jeremy: fixed errors when writing to cache.
Revision
1.405 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Oct 4 20:34:23 2004 UTC (4 years, 9 months ago) by
unconed
Branch:
MAIN
Changes since
1.404: +6 -3 lines
Diff to
previous 1.404
Part of #11280: node_preview() should only generate a teaser if none is present (e.g. provided by a module like excerpt.module).
Revision
1.404 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Tue Sep 28 19:13:03 2004 UTC (4 years, 9 months ago) by
unconed
Branch:
MAIN
Changes since
1.403: +11 -11 lines
Diff to
previous 1.403
Modified version of #10230: Put placement of filter format selector in a module's hands, and move it below the relevant textarea.
Revision
1.397 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Sep 9 13:36:00 2004 UTC (4 years, 9 months ago) by
unconed
Branch:
MAIN
Changes since
1.396: +3 -4 lines
Diff to
previous 1.396
Replace hardcoded <html lang="en"> with a locale dependant one. This is especially important for asian sites where this has an effect on font selection.
Revision
1.396 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Sep 9 05:51:08 2004 UTC (4 years, 9 months ago) by
dries
Branch:
MAIN
Changes since
1.395: +13 -16 lines
Diff to
previous 1.395
- Patch #10663 by JonBob: documentation improvements: fixed some typos and improved consistency to the use of Doxygen/api.module commands in the comments.
Revision
1.395 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Sep 8 20:51:45 2004 UTC (4 years, 9 months ago) by
dries
Branch:
MAIN
Changes since
1.394: +4 -4 lines
Diff to
previous 1.394
- Bugfix: removed bogus $name parameters.
TODO: when 'previewing' an existing node, the breadcrumb trail is incorrect.
Revision
1.394 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Sep 6 13:26:00 2004 UTC (4 years, 9 months ago) by
unconed
Branch:
MAIN
Changes since
1.393: +6 -3 lines
Diff to
previous 1.393
Node.module: teaser autogeneration should not overwrite user/module-supplied teaser data.
(makes excerpt.module possible)
Revision
1.391 -
(
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.390: +12 -4 lines
Diff to
previous 1.390
- #9292: Make Drupal (somewhat) PHP5 compatible. xtemplate is still horribly broken.
Revision
1.389 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sat Aug 21 06:42:36 2004 UTC (4 years, 10 months ago) by
dries
Branch:
MAIN
Changes since
1.388: +6 -1 lines
Diff to
previous 1.388
- 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.388 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Aug 19 15:41:56 2004 UTC (4 years, 10 months ago) by
dries
Branch:
MAIN
Changes since
1.387: +3 -3 lines
Diff to
previous 1.387
- Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions).
Revision
1.387 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Aug 18 19:57:26 2004 UTC (4 years, 10 months ago) by
dries
Branch:
MAIN
Changes since
1.386: +9 -9 lines
Diff to
previous 1.386
- Code improvements by Stefan: made all status messages consistent (and easier to translate).
Revision
1.385 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Aug 16 18:31:44 2004 UTC (4 years, 10 months ago) by
dries
Branch:
MAIN
Changes since
1.384: +5 -8 lines
Diff to
previous 1.384
- Patch #10110 by JonBob: code improvement: looks like we have an artifact from before clean URLs in node.module. This patch removes the global variable $mod, which is no longer set and not necessary here anyway.
Revision
1.384 -
(
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.383: +8 -8 lines
Diff to
previous 1.383
- Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter.
Revision
1.379 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Thu Aug 12 05:44:11 2004 UTC (4 years, 10 months ago) by
dries
Branch:
MAIN
Changes since
1.378: +2 -2 lines
Diff to
previous 1.378
- Patch #9972 by njivy: modified node_feed() for the instances where locale is not enabled. Without this patch, reset(array_keys($languages['name'])) throws an error.
Revision
1.378 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Wed Aug 11 11:26:20 2004 UTC (4 years, 10 months ago) by
dries
Branch:
MAIN
Changes since
1.377: +4 -3 lines
Diff to
previous 1.377
- New locale module thanks to Gerhard, Goba, Marco, Kristjan and others.
The new locale module provides every functionality on the web interface, so you don't need to edit the configuration files or add columns, when you add a new language. This module is an integration of the old locale and localegettext modules, plus a bunch of logic to parse Gettext Portable Object files (opposed to Machine Object files, as supported by localegettext).
Note: I made some minor changes to the context-sensitive help texts and to some of the status messages.