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

Log of /drupal/modules/node.module

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


Links to HEAD: (view) (download) (as text) (annotate)
Links to DRUPAL-4-7-7: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.641.2.32 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 29 21:39:28 2007 UTC (2 years, 9 months ago) by killes
Branch: DRUPAL-4-7
CVS Tags: DRUPAL-4-7-10, DRUPAL-4-7-11, DRUPAL-4-7-6, DRUPAL-4-7-7, DRUPAL-4-7-8, DRUPAL-4-7-9
Changes since 1.641.2.31: +5 -1 lines
Diff to previous 1.641.2.31 , to branch point 1.641 , to next main 1.657
500-7002-AS

Revision 1.641.2.31 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 4 20:50:02 2007 UTC (2 years, 10 months ago) by killes
Branch: DRUPAL-4-7
CVS Tags: DRUPAL-4-7-5
Changes since 1.641.2.30: +3 -1 lines
Diff to previous 1.641.2.30 , to branch point 1.641
#106604, no user pictures in previews, patch by prahlad

Revision 1.641.2.30 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 4 19:50:28 2007 UTC (2 years, 10 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.29: +28 -11 lines
Diff to previous 1.641.2.29 , to branch point 1.641
#73910, node_teaser() not breaking properly, backport

Revision 1.641.2.29 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 1 22:16:11 2007 UTC (2 years, 10 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.28: +1 -3 lines
Diff to previous 1.641.2.28 , to branch point 1.641
#100399, remove phpdoc that does not apply, patch by Robert Douglass

Revision 1.641.2.28 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 1 18:28:34 2007 UTC (2 years, 10 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.27: +12 -3 lines
Diff to previous 1.641.2.27 , to branch point 1.641
#104729, node_form_add_preview() destroys existing prefix values, backport

Revision 1.641.2.27 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 21 23:47:33 2006 UTC (2 years, 11 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.26: +5 -7 lines
Diff to previous 1.641.2.26 , to branch point 1.641
#104618 by robertDouglas and jvandyk: fixed node caching., backport

Revision 1.641.2.26 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 21 19:22:58 2006 UTC (2 years, 11 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.25: +2 -5 lines
Diff to previous 1.641.2.25 , to branch point 1.641
#100775, Forms in node preview are broken, backport by chx

Revision 1.641.2.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 16 13:22:12 2006 UTC (2 years, 11 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.24: +7 -1 lines
Diff to previous 1.641.2.24 , to branch point 1.641
#103624, Don't throw away relevancy score in node search, patch by Steven, backport

Revision 1.641.2.24 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 12 12:48:57 2006 UTC (2 years, 11 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.23: +7 -7 lines
Diff to previous 1.641.2.23 , to branch point 1.641
#49926, break, teaser, and php input, patch by JohnAlbin, backport

Revision 1.641.2.23 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 5 13:16:52 2006 UTC (2 years, 11 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.22: +4 -3 lines
Diff to previous 1.641.2.22 , to branch point 1.641
#86842, node_load broken under PHP5, backport, patch by pwolanin

Revision 1.641.2.22 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 5 13:07:44 2006 UTC (2 years, 11 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.21: +10 -9 lines
Diff to previous 1.641.2.21 , to branch point 1.641
#41703, fix rss item customization, backport from HEAD, patch by drewish.

Revision 1.641.2.21 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 23 21:47:01 2006 UTC (3 years ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.20: +2 -2 lines
Diff to previous 1.641.2.20 , to branch point 1.641
#98686, Nodes not indexed when passing directly from Moderation to Promoted, patch by Robert Douglass

Revision 1.641.2.20 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 14 10:34:08 2006 UTC (3 years ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.19: +3 -3 lines
Diff to previous 1.641.2.19 , to branch point 1.641
#86842, node_load broken under PHP5, backport from HEAD, patch by pwolanin

Revision 1.641.2.19 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 14 10:32:14 2006 UTC (3 years ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.18: +3 -2 lines
Diff to previous 1.641.2.18 , to branch point 1.641
#83288, a user edit that removes "update" permission fails, backport from HEAD, patch by pwolanin.

Revision 1.641.2.18 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 22 17:34:27 2006 UTC (3 years, 1 month 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.641.2.17 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 18 20:14:42 2006 UTC (3 years, 1 month ago) by killes
Branch: DRUPAL-4-7
CVS Tags: DRUPAL-4-7-4
Changes since 1.641.2.16: +57 -21 lines
Diff to previous 1.641.2.16 , to branch point 1.641
remove trailing spaces

Revision 1.641.2.16 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Sep 27 13:25:22 2006 UTC (3 years, 2 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.15: +2 -2 lines
Diff to previous 1.641.2.15 , to branch point 1.641
#80989, node_teaser can provide a better teaser, patch by fgm, backport from HEAD

Revision 1.641.2.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 16 09:34:08 2006 UTC (3 years, 2 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.14: +3 -3 lines
Diff to previous 1.641.2.14 , to branch point 1.641
#80271 by chx: node validate prevents programmatic node submission. backport from HEAD

Revision 1.641.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 4 20:38:00 2006 UTC (3 years, 2 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.13: +1 -5 lines
Diff to previous 1.641.2.13 , to branch point 1.641
#48772, remove redundant code from node_link, patch by markux_petrux.

Revision 1.641.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 19 19:33:55 2006 UTC (3 years, 3 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.12: +4 -2 lines
Diff to previous 1.641.2.12 , to branch point 1.641
#61636, Revision system throws PHP warning when reverting to an earlier revision., patch by JonBob

Revision 1.641.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 26 12:12:27 2006 UTC (3 years, 4 months ago) by killes
Branch: DRUPAL-4-7
CVS Tags: DRUPAL-4-7-3
Changes since 1.641.2.11: +2 -1 lines
Diff to previous 1.641.2.11 , to branch point 1.641
#75186 by pwolanin, invalidate the cache on saving via the node admin page., backport from HEAD

Revision 1.641.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jul 22 09:19:32 2006 UTC (3 years, 4 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.10: +4 -3 lines
Diff to previous 1.641.2.10 , to branch point 1.641
#64857, node.module - index all content for search during cron run, patch by pwolanin

Revision 1.641.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 16 17:07:36 2006 UTC (3 years, 4 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.9: +7 -4 lines
Diff to previous 1.641.2.9 , to branch point 1.641
#50316, Two people editing a node at the same time can result in loss of first changes, patch by hunmonk

Revision 1.641.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 14 12:11:13 2006 UTC (3 years, 4 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.8: +2 -2 lines
Diff to previous 1.641.2.8 , to branch point 1.641
Patch #73599 by drumm: proper access checking.

backport from HEAD

Revision 1.641.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 3 08:09:31 2006 UTC (3 years, 4 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.7: +2 -2 lines
Diff to previous 1.641.2.7 , to branch point 1.641
Patch #71684 by fgm: corrected the header information of RSS feeds: text/xml -> application/rss+xml, backport from HEAD

Revision 1.641.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 17 15:30:50 2006 UTC (3 years, 5 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.6: +2 -2 lines
Diff to previous 1.641.2.6 , to branch point 1.641
#68588 by keve, fix a query for postgres., backport from HEAD

Revision 1.641.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 8 21:25:50 2006 UTC (3 years, 5 months ago) by dries
Branch: DRUPAL-4-7
Changes since 1.641.2.5: +2 -2 lines
Diff to previous 1.641.2.5 , to branch point 1.641
- Patch #65801 by Moshe et al: fixed locale initialization slowness.

Revision 1.641.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 14 23:57:58 2006 UTC (3 years, 6 months ago) by killes
Branch: DRUPAL-4-7
CVS Tags: DRUPAL-4-7-1, DRUPAL-4-7-2
Changes since 1.641.2.4: +2 -2 lines
Diff to previous 1.641.2.4 , to branch point 1.641
#53021, Node types at node/add page not ordered alphabetically on non-english sites, patch by Egon Bianchet / chx

Revision 1.641.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 14 15:07:23 2006 UTC (3 years, 6 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.3: +33 -13 lines
Diff to previous 1.641.2.3 , to branch point 1.641
#48671 by Jaza: admin form fields not getting rendered at bottom of node form like they should., backport from HEAD

Revision 1.641.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 7 17:53:09 2006 UTC (3 years, 6 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.2: +2 -2 lines
Diff to previous 1.641.2.2 , to branch point 1.641
#62147 by Jaza, Breadcrumb for nodes should not include 'content' link, backport from HEAD

Revision 1.641.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 1 10:45:13 2006 UTC (3 years, 6 months ago) by killes
Branch: DRUPAL-4-7
Changes since 1.641.2.1: +30 -7 lines
Diff to previous 1.641.2.1 , to branch point 1.641
#60358, warmer welcome message, backport from HEAD.

Revision 1.641.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 29 23:13:10 2006 UTC (3 years, 6 months ago) by killes
Branch: DRUPAL-4-7
CVS Tags: DRUPAL-4-7-0
Changes since 1.641: +6 -3 lines
Diff to previous 1.641
#59935, It's impossible to preserve stuff by calling form_set_value from hook_validate to submit, patch by tenrapid

Revision 1.641 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 27 22:20:51 2006 UTC (3 years, 7 months ago) by unconed
Branch: MAIN
CVS Tags: DRUPAL-4-7-0-RC-4
Branch point for: DRUPAL-4-7
Changes since 1.640: +3 -1 lines
Diff to previous 1.640
#60729: Index taxonomy terms with nodes

Revision 1.640 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 23 05:22:05 2006 UTC (3 years, 7 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.639 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 21 19:16:12 2006 UTC (3 years, 7 months ago) by unconed
Branch: MAIN
Changes since 1.638: +2 -2 lines
Diff to previous 1.638
#59428: Correct teaser for japanese period character

Revision 1.638 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 21 10:26:53 2006 UTC (3 years, 7 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.637 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 20 16:38:22 2006 UTC (3 years, 7 months ago) by killes
Branch: MAIN
Changes since 1.636: +7 -6 lines
Diff to previous 1.636
#46549, more robust node_submit, patch by chx

Revision 1.636 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Apr 20 07:11:37 2006 UTC (3 years, 7 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.635 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 18 09:12:40 2006 UTC (3 years, 7 months ago) by killes
Branch: MAIN
Changes since 1.634: +1 -4 lines
Diff to previous 1.634
#59070, forms on paged versionis of admin/node did not work, patch by tenrapid

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

Revision 1.633 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 15 21:52:44 2006 UTC (3 years, 7 months ago) by unconed
Branch: MAIN
Changes since 1.632: +4 -3 lines
Diff to previous 1.632
#56921: Remove all reference magic from form api. w00t.

Revision 1.632 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 14 14:32:59 2006 UTC (3 years, 7 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-7-0-RC-3
Changes since 1.631: +3 -2 lines
Diff to previous 1.631
- More inline with other form descriptions.

Revision 1.631 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Apr 12 17:06:57 2006 UTC (3 years, 7 months ago) by unconed
Branch: MAIN
Changes since 1.630: +5 -4 lines
Diff to previous 1.630
#58449: Date on preview was broken

Revision 1.630 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 11 11:33:15 2006 UTC (3 years, 7 months ago) by killes
Branch: MAIN
Changes since 1.629: +2 -2 lines
Diff to previous 1.629
#58166, fixes for typos, patch by Uwe Herrmann

Revision 1.629 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 10 21:36:40 2006 UTC (3 years, 7 months ago) by unconed
Branch: MAIN
Changes since 1.628: +11 -20 lines
Diff to previous 1.628
#52710: Incorrect timestamp when user has administer nodes permission

Revision 1.628 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 9 21:36:23 2006 UTC (3 years, 7 months ago) by unconed
Branch: MAIN
Changes since 1.627: +3 -1 lines
Diff to previous 1.627
#57956: Redirect after node deletion

Revision 1.627 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 8 13:13:17 2006 UTC (3 years, 7 months ago) by killes
Branch: MAIN
Changes since 1.626: +12 -3 lines
Diff to previous 1.626
#52710, fix node timestamp for admin users, patch by hunmonk.

Revision 1.626 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 7 15:32:17 2006 UTC (3 years, 7 months ago) by unconed
Branch: MAIN
CVS Tags: DRUPAL-4-7-0-RC-2
Changes since 1.625: +2 -2 lines
Diff to previous 1.625
- #55898: Generic, permissive admin XSS/HTML filtering for mission/footer/...
- Clean up some raw output

Revision 1.625 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 2 13:13:46 2006 UTC (3 years, 7 months ago) by killes
Branch: MAIN
Changes since 1.624: +4 -4 lines
Diff to previous 1.624
#56911, advanced search broken, patch by Zen.

Revision 1.624 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 30 20:23:39 2006 UTC (3 years, 7 months ago) by unconed
Branch: MAIN
CVS Tags: DRUPAL-4-7-0-RC-1
Changes since 1.623: +116 -92 lines
Diff to previous 1.623
#56457: hook_search() form API conversion

Revision 1.623 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 27 18:02:48 2006 UTC (3 years, 8 months ago) by killes
Branch: MAIN
Changes since 1.622: +1 -13 lines
Diff to previous 1.622
#56105, remove title validation, already enforced by #required, patch by Moshe

Revision 1.622 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 26 19:31:00 2006 UTC (3 years, 8 months ago) by killes
Branch: MAIN
Changes since 1.621: +11 -1 lines
Diff to previous 1.621
#53348, Handling of deleted/blocked user accounts, patch by jreyero and Zen

Revision 1.621 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 26 16:56:08 2006 UTC (3 years, 8 months ago) by killes
Branch: MAIN
Changes since 1.620: +2 -1 lines
Diff to previous 1.620
#55922, forgotten global $user, patch by singularo

Revision 1.620 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 26 01:03:29 2006 UTC (3 years, 8 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) (as text) (annotate) - [select for diffs]
Sat Mar 25 19:32:14 2006 UTC (3 years, 8 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.618 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 24 14:59:06 2006 UTC (3 years, 8 months ago) by killes
Branch: MAIN
Changes since 1.617: +1 -8 lines
Diff to previous 1.617
#54519, remove old bookmarklet code. Use prepopulate.module, patch by budda

Revision 1.617 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 20 20:48:19 2006 UTC (3 years, 8 months ago) by killes
Branch: MAIN
Changes since 1.616: +2 -2 lines
Diff to previous 1.616
#45988, Nodes with menu items bypass node permissions system
patch by chx

Revision 1.616 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 20 16:29:55 2006 UTC (3 years, 8 months ago) by killes
Branch: MAIN
Changes since 1.615: +2 -2 lines
Diff to previous 1.615
#45988, Nodes with menu items bypass node permissions system, patch by chx.

Revision 1.615 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 9 22:38:40 2006 UTC (3 years, 8 months ago) by drumm
Branch: MAIN
CVS Tags: DRUPAL-4-7-0-BETA-6
Changes since 1.614: +4 -4 lines
Diff to previous 1.614
-bug #51522 by m3avrck, node teasers are empty

Revision 1.614 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 9 22:10:57 2006 UTC (3 years, 8 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.613 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 9 21:59:43 2006 UTC (3 years, 8 months ago) by killes
Branch: MAIN
Changes since 1.612: +2 -2 lines
Diff to previous 1.612
#52586, node preview broken with php5, patch by greggles

Revision 1.612 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Mar 8 19:07:41 2006 UTC (3 years, 8 months ago) by killes
Branch: MAIN
Changes since 1.611: +9 -7 lines
Diff to previous 1.611
#53012, make "Create new revision" respect node type settings, patch by Zen

Revision 1.611 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 7 19:38:19 2006 UTC (3 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.610: +3 -3 lines
Diff to previous 1.610
- Patch #51522 by paddy: break at beginning doesn't work

Revision 1.610 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 28 21:10:04 2006 UTC (3 years, 8 months ago) by unconed
Branch: MAIN
CVS Tags: DRUPAL-4-7-0-BETA-5
Changes since 1.609: +52 -10 lines
Diff to previous 1.609
- #49405: Minor advanced search UI/code tweaks

Revision 1.609 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 28 13:32:33 2006 UTC (3 years, 8 months ago) by unconed
Branch: MAIN
Changes since 1.608: +3 -3 lines
Diff to previous 1.608
- #51110: Make search results page more flexible

Revision 1.608 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 27 13:33:48 2006 UTC (3 years, 8 months ago) by killes
Branch: MAIN
Changes since 1.607: +2 -1 lines
Diff to previous 1.607
#44129, patch by Zen

Revision 1.607 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 26 19:44:45 2006 UTC (3 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.606: +10 -9 lines
Diff to previous 1.606
- Patch #51189: fixed submit redirects.

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

Revision 1.605 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 21 08:37:41 2006 UTC (3 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.604: +1 -3 lines
Diff to previous 1.604
- Patch #50219 by pz: removed some redundant code.

Revision 1.604 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 20 16:41:25 2006 UTC (3 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.603: +1 -3 lines
Diff to previous 1.603
- Patch #50219 by pz: removed death code.

Revision 1.603 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 19 21:47:50 2006 UTC (3 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.602: +13 -32 lines
Diff to previous 1.602
- Patch #50105 by chx: simplified some code.

Revision 1.602 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 19 21:46:04 2006 UTC (3 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.601: +2 -2 lines
Diff to previous 1.601
- Patch #44298 by DriesK: prevent unaccessible links from being generated.

Revision 1.601 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 14 21:12:09 2006 UTC (3 years, 9 months ago) by unconed
Branch: MAIN
Changes since 1.600: +79 -47 lines
Diff to previous 1.600
- #35073: Admin/node category filter not working

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

Revision 1.599 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 9 08:36:54 2006 UTC (3 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.598: +2 -2 lines
Diff to previous 1.598
- Patch #47406 by Zen: menu sorting shouldn't be case insensitive.

Revision 1.598 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 9 07:46:04 2006 UTC (3 years, 9 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.597 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 9 07:16:47 2006 UTC (3 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.596: +2 -2 lines
Diff to previous 1.596
- Patch #48564 by JonBob: grammar fix.

Revision 1.596 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 8 00:47:14 2006 UTC (3 years, 9 months ago) by unconed
Branch: MAIN
Changes since 1.595: +5 -12 lines
Diff to previous 1.595
- Node revisions 404/403 handling called drupal_not_found() twice.

Revision 1.595 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 6 05:54:17 2006 UTC (3 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.594: +7 -4 lines
Diff to previous 1.594
- Patch #48021 by Zen: removed unused variable.

Revision 1.594 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 1 14:11:53 2006 UTC (3 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.593: +4 -4 lines
Diff to previous 1.593
- Patch #46933 by Gerhard: moderated nodes are not indexed.

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

Revision 1.592 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 29 07:46:57 2006 UTC (3 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.591: +2 -2 lines
Diff to previous 1.591
- Patch #46705 by killes: don't use array_merge.

Revision 1.591 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 24 08:26:21 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-7-0-BETA-4
Changes since 1.590: +4 -3 lines
Diff to previous 1.590
- Modified patch #37754 by Thomas: made the status message show up.

Revision 1.590 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 20 09:04:34 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.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) (as text) (annotate) - [select for diffs]
Thu Jan 19 08:54:41 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.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) (as text) (annotate) - [select for diffs]
Wed Jan 18 21:31:40 2006 UTC (3 years, 10 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) (as text) (annotate) - [select for diffs]
Wed Jan 18 19:09:46 2006 UTC (3 years, 10 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.586 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 18 14:30:42 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.585: +3 -3 lines
Diff to previous 1.585
- Patch #45259 by chx/drumm: cast to object required.

Revision 1.585 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 17 21:19:43 2006 UTC (3 years, 10 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.584 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 17 19:26:49 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.583: +29 -38 lines
Diff to previous 1.583
- Patch #42072 by m3avrck: improved the revision overview screen.

Revision 1.583 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 17 17:42:29 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.582: +10 -2 lines
Diff to previous 1.582
- Critical feature #40670: made the form array accessible.

Revision 1.582 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 14 09:51:57 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.581: +2 -2 lines
Diff to previous 1.581
- Extended the form description for clarity.

Revision 1.581 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 8 12:49:51 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-7-0-BETA-3
Changes since 1.580: +2 -2 lines
Diff to previous 1.580
- Patch #42886 by chx: critical feature: allow modules to be reordered.

Revision 1.580 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jan 6 16:21:34 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.579: +8 -5 lines
Diff to previous 1.579
- Patch #42955 by Cvbge: critical bugfix: users can't create new content.

Revision 1.579 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 5 23:35:34 2006 UTC (3 years, 10 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.578 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 4 09:04:27 2006 UTC (3 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.577: +12 -7 lines
Diff to previous 1.577
- Patch #35770 by DriesK: make node preview settings work.

Revision 1.577 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 3 19:40:29 2006 UTC (3 years, 10 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.576 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 31 10:48:56 2005 UTC (3 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.575: +7 -7 lines
Diff to previous 1.575
- Patch 41169 by Chris: got rid of expensvie object 2 array casts.

Revision 1.575 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 29 04:46:40 2005 UTC (3 years, 10 months ago) by unconed
Branch: MAIN
Changes since 1.574: +2 -2 lines
Diff to previous 1.574
- #42234: Use standardized feed icon for RSS

Revision 1.574 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 27 14:31:42 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.573: +2 -2 lines
Diff to previous 1.573
- Bug #42107: redirect to the main page instead of to 'node'.

Revision 1.573 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 26 11:21:19 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.572: +2 -2 lines
Diff to previous 1.572
- Patch #28159 by chx: removed some dead code from the search module's form.

Revision 1.572 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 24 13:05:22 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.571: +11 -12 lines
Diff to previous 1.571
- Patch #42153 by Junyor: slight clean-up of node_revision_delete().

Revision 1.571 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 22 10:57:02 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.570: +116 -79 lines
Diff to previous 1.570
- Patch #30098 by killes: node revisions should only be viewable by admins.

Revision 1.570 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 22 00:22:19 2005 UTC (3 years, 11 months ago) by unconed
Branch: MAIN
Changes since 1.569: +5 -2 lines
Diff to previous 1.569
- #41973: Ensure -\>changed and -\>created are equal on node creation

Revision 1.569 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 21 14:30:09 2005 UTC (3 years, 11 months ago) by unconed
Branch: MAIN
Changes since 1.568: +3 -6 lines
Diff to previous 1.568
- #34826: Search results don't include last part of longer pages

Revision 1.568 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 15 16:24:40 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.567: +8 -9 lines
Diff to previous 1.567
- Patch #34920 by Morbus/webchick/tangent: fixed order of form fields.

Revision 1.567 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 15 16:02:50 2005 UTC (3 years, 11 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.566 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 15 15:57:55 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.565: +2 -2 lines
Diff to previous 1.565
- Patch #41211 by Neil: de-dupe XML namespaces in RSS automatically.

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

Revision 1.564 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 14 19:04:27 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.563: +1 -2 lines
Diff to previous 1.563
- Patch #41165 by Morbus: removed rss doctype.

Revision 1.563 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 14 13:26:39 2005 UTC (3 years, 11 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.562 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 10 08:12:59 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.561: +3 -3 lines
Diff to previous 1.561
- Patch #40587 by wtanaka: execute -> submit

Revision 1.561 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 8 15:30:27 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.560: +25 -10 lines
Diff to previous 1.560
- Patch #36429: remove CONCAT() and speed up node_access query.

Revision 1.560 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 7 20:57:45 2005 UTC (3 years, 11 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) (as text) (annotate) - [select for diffs]
Mon Dec 5 09:11:33 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.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.558 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 2 15:21:01 2005 UTC (3 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.557: +8 -8 lines
Diff to previous 1.557
- Patch #39576 by chx: rename '_execute' to '_submit' and '#execute' to '#submit'.

Revision 1.557 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Nov 29 03:18:57 2005 UTC (3 years, 11 months ago) by unconed
Branch: MAIN
Changes since 1.556: +33 -13 lines
Diff to previous 1.556
- #7940: Remember publishing options when editing node

Revision 1.556 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 27 11:11:46 2005 UTC (4 years ago) by dries
Branch: MAIN
Changes since 1.555: +5 -4 lines
Diff to previous 1.555
- Patch #37798 by Neil: fixed problem with node settings.

Revision 1.555 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 25 10:11:59 2005 UTC (4 years 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.554 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 24 22:03:40 2005 UTC (4 years ago) by unconed
Branch: MAIN
Changes since 1.553: +28 -44 lines
Diff to previous 1.553
- #35142: Fix mass delete

Revision 1.553 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 24 20:15:09 2005 UTC (4 years 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) (as text) (annotate) - [select for diffs]
Wed Nov 23 16:18:28 2005 UTC (4 years 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.551 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 21 18:10:26 2005 UTC (4 years ago) by dries
Branch: MAIN
Changes since 1.550: +3 -3 lines
Diff to previous 1.550
- Patch #37752 by chx and Richard: renamed #post_process to #after_build.

Revision 1.550 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 18 14:09:42 2005 UTC (4 years ago) by dries
Branch: MAIN
Changes since 1.549: +4 -2 lines
Diff to previous 1.549
- Patch #37926 by asimmonds/chx: fixed previewing nodes.

Revision 1.549 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 17 06:48:25 2005 UTC (4 years ago) by dries
Branch: MAIN
Changes since 1.548: +3 -1 lines
Diff to previous 1.548
- Patch #37777 by asimmonds: form_id missing from rendered admin/node form.

Revision 1.548 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 13 02:43:33 2005 UTC (4 years ago) by unconed
Branch: MAIN
Changes since 1.547: +2 -2 lines
Diff to previous 1.547
#37390: Make welcome text link to admin/settings

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

Revision 1.546 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 12 02:54:13 2005 UTC (4 years ago) by unconed
Branch: MAIN
Changes since 1.545: +47 -37 lines
Diff to previous 1.545
#36791: node_validate was called twice

Revision 1.545 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Nov 4 19:40:28 2005 UTC (4 years ago) by dries
Branch: MAIN
Changes since 1.544: +40 -43 lines
Diff to previous 1.544
- Patch #36250 by hunmonk: admin batch delete broken, node_delete needs reworked.

  This commit changes the node_delete() API.  A list of affected modules is available at http://drupal.org/node/36250#comment-52963.

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

Revision 1.543 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 28 14:04:20 2005 UTC (4 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.542: +10 -11 lines
Diff to previous 1.542
- Patch #34920 by tangent: reorganized the node submission form a bit.

Revision 1.542 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 28 00:28:14 2005 UTC (4 years, 1 month ago) by unconed
Branch: MAIN
Changes since 1.541: +5 -9 lines
Diff to previous 1.541
- #35434: Form API - obsolete $param to hook_form() + preview fixes

Revision 1.541 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 26 14:49:59 2005 UTC (4 years, 1 month ago) by unconed
Branch: MAIN
Changes since 1.540: +2 -1 lines
Diff to previous 1.540
- #35284: fixing node form

Revision 1.540 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 26 08:06:56 2005 UTC (4 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.539: +2 -2 lines
Diff to previous 1.539
- Patch #35279 by asimmonds: fixed typo in pager code.

Revision 1.539 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 26 01:24:09 2005 UTC (4 years, 1 month ago) by unconed
Branch: MAIN
Changes since 1.538: +31 -30 lines
Diff to previous 1.538
- #35264: More form api fixes

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

Revision 1.537 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 18 14:41:27 2005 UTC (4 years, 1 month ago) by unconed
Branch: MAIN
Changes since 1.536: +169 -3 lines
Diff to previous 1.536
- #28159: Advanced search features (hello from DrupalCon)
Presentation about it:
http://www.acko.net/files/drupal-search-slim.pdf

Revision 1.536 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Oct 13 10:02:31 2005 UTC (4 years, 1 month ago) by unconed
Branch: MAIN
Changes since 1.535: +2 -1 lines
Diff to previous 1.535
- #33433: More form API fixes, and error handling improvements by Chx.

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

Revision 1.534 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 8 12:21:47 2005 UTC (4 years, 1 month 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.533 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 7 06:51:43 2005 UTC (4 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.532: +6 -6 lines
Diff to previous 1.532
- Removing tabs and trailing whitespaces.

Revision 1.532 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 7 06:09:13 2005 UTC (4 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.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.531 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 27 15:09:28 2005 UTC (4 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.530: +5 -3 lines
Diff to previous 1.530
- Patch #32103 by nedjo: fixed title validation.

Revision 1.530 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 24 07:53:26 2005 UTC (4 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.529: +2 -5 lines
Diff to previous 1.529
- Patch #28786 by Neil: move pagers out of table.

Revision 1.529 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 23 08:47:13 2005 UTC (4 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.528: +12 -10 lines
Diff to previous 1.528
- Patch #10056: allow the node title forms to be customized.

Revision 1.528 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Sep 18 10:37:57 2005 UTC (4 years, 2 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.527 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Sep 2 02:11:41 2005 UTC (4 years, 2 months ago) by unconed
Branch: MAIN
Changes since 1.526: +4 -7 lines
Diff to previous 1.526
- #30128: Call by reference left-overs

Revision 1.526 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 30 15:22:29 2005 UTC (4 years, 2 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.525 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 29 19:58:49 2005 UTC (4 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.524: +2 -2 lines
Diff to previous 1.524
- Renamed _node() to _node_info()!  We reserve _node for _nodeapi.

Revision 1.524 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 28 15:29:34 2005 UTC (4 years, 3 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) (as text) (annotate) - [select for diffs]
Thu Aug 25 21:22:00 2005 UTC (4 years, 3 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.522 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 25 21:14:16 2005 UTC (4 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.521: +2 -2 lines
Diff to previous 1.521
- Patch #29385 by chx: no ?> add end of files.

Revision 1.521 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 22 20:39:43 2005 UTC (4 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.520: +2 -2 lines
Diff to previous 1.520
- Patch #17592 by killes: improved access denied messages.

Revision 1.520 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 22 10:11:15 2005 UTC (4 years, 3 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) (as text) (annotate) - [select for diffs]
Thu Aug 11 12:53:39 2005 UTC (4 years, 3 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.518 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 7 15:53:26 2005 UTC (4 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.517: +2 -2 lines
Diff to previous 1.517
- Patch #24002: fixed node created timestamp changing on node edit.

Revision 1.517 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 7 14:55:17 2005 UTC (4 years, 3 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.516 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 5 13:11:10 2005 UTC (4 years, 3 months ago) by unconed
Branch: MAIN
Changes since 1.515: +2 -2 lines
Diff to previous 1.515
- #25395: Allow for more integers in node_access grant_x columns

Revision 1.515 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 5 00:38:38 2005 UTC (4 years, 3 months ago) by unconed
Branch: MAIN
Changes since 1.514: +7 -1 lines
Diff to previous 1.514
- #27864: Correctly distinguish 403s from 404s for nodes.

Revision 1.514 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 1 05:14:05 2005 UTC (4 years, 3 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.513 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 31 10:28:50 2005 UTC (4 years, 3 months ago) by dries
Branch: MAIN
Changes since 1.512: +2 -2 lines
Diff to previous 1.512
- Patch #27535 by Ber: set 'preview status message' using drupal_set_message().

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

Revision 1.511 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 29 03:29:53 2005 UTC (4 years, 4 months ago) by unconed
Branch: MAIN
Changes since 1.510: +2 -2 lines
Diff to previous 1.510
- #26458: node_search doesn't node_view, causing bad snippets.

Revision 1.510 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 29 03:21:09 2005 UTC (4 years, 4 months ago) by unconed
Branch: MAIN
Changes since 1.509: +12 -1 lines
Diff to previous 1.509
- #26458: node_search doesn't node_view, causing bad snippets.

Revision 1.509 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 20 10:48:20 2005 UTC (4 years, 4 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.508 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 18 20:27:32 2005 UTC (4 years, 4 months ago) by unconed
Branch: MAIN
Changes since 1.507: +2 -2 lines
Diff to previous 1.507
- Fix oopsie in node_load() after recent patch.

Revision 1.507 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 18 08:46:30 2005 UTC (4 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.506: +2 -2 lines
Diff to previous 1.506
- Updated handbook-link to reflect the recent handbook restructuring.

Revision 1.506 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 17 21:08:49 2005 UTC (4 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.505: +2 -2 lines
Diff to previous 1.505
- Fixed typo in PHPdoc

Revision 1.505 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 17 20:57:43 2005 UTC (4 years, 4 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.504 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 17 18:29:31 2005 UTC (4 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.503: +32 -29 lines
Diff to previous 1.503
- Patch #25634 by chx: simplified node_load().

Revision 1.503 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 7 13:30:50 2005 UTC (4 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.502: +4 -4 lines
Diff to previous 1.502
- Fix by darix: fixed content type settings broken by berkes' last patch.

Revision 1.502 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jul 3 16:41:42 2005 UTC (4 years, 4 months ago) by dries
Branch: MAIN
Changes since 1.501: +5 -9 lines
Diff to previous 1.501
- Patches by Ber: move user settings and node settings to admin/settings.

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

Revision 1.500 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 27 18:33:32 2005 UTC (4 years, 5 months 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) (as text) (annotate) - [select for diffs]
Wed Jun 22 20:19:58 2005 UTC (4 years, 5 months 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) (as text) (annotate) - [select for diffs]
Tue Jun 21 18:58:26 2005 UTC (4 years, 5 months 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) (as text) (annotate) - [select for diffs]
Tue Jun 21 09:45:44 2005 UTC (4 years, 5 months 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.496 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 6 14:07:04 2005 UTC (4 years, 5 months ago) by dries
Branch: MAIN
Changes since 1.495: +3 -3 lines
Diff to previous 1.495
- Removing some whitespace

Revision 1.495 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 1 03:42:47 2005 UTC (4 years, 5 months 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) (as text) (annotate) - [select for diffs]
Wed Jun 1 03:32:22 2005 UTC (4 years, 5 months 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) (as text) (annotate) - [select for diffs]
Tue May 31 21:14:26 2005 UTC (4 years, 5 months 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) (as text) (annotate) - [select for diffs]
Thu May 26 19:29:48 2005 UTC (4 years, 6 months 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.491 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 25 07:14:00 2005 UTC (4 years, 6 months ago) by unconed
Branch: MAIN
Changes since 1.490: +19 -5 lines
Diff to previous 1.490
- #18406: make node_page 404 on meaningless nids

Revision 1.490 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 25 03:51:00 2005 UTC (4 years, 6 months 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) (as text) (annotate) - [select for diffs]
Tue May 24 06:00:21 2005 UTC (4 years, 6 months 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.488 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 17 20:24:33 2005 UTC (4 years, 6 months ago) by dries
Branch: MAIN
Changes since 1.487: +2 -2 lines
Diff to previous 1.487
- Patch by chx: added a db_rewrite_sql() in node_load() just to make sure.

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

Revision 1.486 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Apr 11 16:39:19 2005 UTC (4 years, 7 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.485 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Apr 5 07:25:11 2005 UTC (4 years, 7 months ago) by dries
Branch: MAIN
Branch point for: DRUPAL-4-6
Changes since 1.484: +1 -2 lines
Diff to previous 1.484
- Removed weird phpdoc line

Revision 1.484 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 1 15:55:00 2005 UTC (4 years, 7 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) (as text) (annotate) - [select for diffs]
Thu Mar 31 21:18:08 2005 UTC (4 years, 7 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.482 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 31 09:25:33 2005 UTC (4 years, 7 months ago) by unconed
Branch: MAIN
Changes since 1.481: +15 -16 lines
Diff to previous 1.481
- #18817: Clean up plain-text checking (see drupal-devel!)

Revision 1.481 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 27 21:34:50 2005 UTC (4 years, 8 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.480 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 27 15:54:44 2005 UTC (4 years, 8 months ago) by unconed
Branch: MAIN
Changes since 1.479: +2 -2 lines
Diff to previous 1.479
- #17343: Fix safari CSS issues with node admin.

Revision 1.479 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Mar 24 22:09:31 2005 UTC (4 years, 8 months ago) by unconed
Branch: MAIN
Changes since 1.478: +2 -2 lines
Diff to previous 1.478
- #19405: Fix SQL in comment block for anonymous users.

Revision 1.478 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 18 18:46:23 2005 UTC (4 years, 8 months ago) by unconed
Branch: MAIN
Changes since 1.477: +15 -12 lines
Diff to previous 1.477
- #19089: Remove depency on taxonomy.module by node.module (kjartan)

Revision 1.477 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 18 08:14:37 2005 UTC (4 years, 8 months ago) by unconed
Branch: MAIN
Changes since 1.476: +4 -4 lines
Diff to previous 1.476
- #12401: Non-admins should obey workflow wrt revisions.

Revision 1.476 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 7 21:58:13 2005 UTC (4 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.475: +6 -4 lines
Diff to previous 1.475
- Patch #18216: fixed nodeapi settings hook.

Revision 1.475 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 7 21:52:56 2005 UTC (4 years, 8 months ago) by dries
Branch: MAIN
Changes since 1.474: +2 -2 lines
Diff to previous 1.474
- Bumped the RSS version from 0.92 to 2.0

Revision 1.474 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 5 11:05:07 2005 UTC (4 years, 8 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.473 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 4 00:48:22 2005 UTC (4 years, 8 months ago) by unconed
Branch: MAIN
Changes since 1.472: +2 -2 lines
Diff to previous 1.472
#18226: Non-admins were not obeying workflow.

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

Revision 1.471 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 1 20:07:48 2005 UTC (4 years, 8 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) (as text) (annotate) - [select for diffs]
Tue Mar 1 20:01:40 2005 UTC (4 years, 8 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.469 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 28 18:00:59 2005 UTC (4 years, 8 months ago) by unconed
Branch: MAIN
Changes since 1.468: +2 -2 lines
Diff to previous 1.468
#17747: PGSQL improvements

Revision 1.468 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 27 02:54:24 2005 UTC (4 years, 9 months ago) by unconed
Branch: MAIN
Changes since 1.467: +26 -13 lines
Diff to previous 1.467
- #17870: Add preview CSS class to node preview (drumm)

Revision 1.467 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 21 19:47:44 2005 UTC (4 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.466: +1 -5 lines
Diff to previous 1.466
- Patch #17687 by Gerhard: removed some cruft.

Revision 1.466 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 19 22:24:24 2005 UTC (4 years, 9 months ago) by unconed
Branch: MAIN
Changes since 1.465: +2 -2 lines
Diff to previous 1.465
- Fixing broken search after sql rewrite patches
- Minor code style fixes.

Revision 1.465 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 18 18:40:05 2005 UTC (4 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.464: +28 -9 lines
Diff to previous 1.464
- Patch #16558 by JonBob: improved performance of node access checks.

Revision 1.464 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 14 21:28:08 2005 UTC (4 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.463: +2 -2 lines
Diff to previous 1.463
- Fixed broken colspan.  Reported by asimmonds.

Revision 1.463 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 11 19:10:28 2005 UTC (4 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.462: +2 -2 lines
Diff to previous 1.462
- Fixed broken colspan.

Revision 1.462 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 10 20:58:03 2005 UTC (4 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.461: +3 -2 lines
Diff to previous 1.461
- Patch #16960 by Goba: fixed content type options.

Revision 1.461 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Feb 10 19:30:08 2005 UTC (4 years, 9 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.460 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 4 20:48:37 2005 UTC (4 years, 9 months ago) by unconed
Branch: MAIN
Changes since 1.459: +2 -2 lines
Diff to previous 1.459
- Fixing broken drupal_goto() after node submission on PHP5.

Revision 1.459 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 4 20:14:05 2005 UTC (4 years, 9 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.458 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 2 01:03:25 2005 UTC (4 years, 9 months ago) by unconed
Branch: MAIN
Changes since 1.457: +1 -1 lines
Diff to previous 1.457
- Fix warning due to old session variable.

Revision 1.457 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Feb 2 00:55:59 2005 UTC (4 years, 9 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) (as text) (annotate) - [select for diffs]
Tue Feb 1 14:09:31 2005 UTC (4 years, 9 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.455 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 31 20:45:10 2005 UTC (4 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.454: +3 -3 lines
Diff to previous 1.454
- Patch #16111 by chx: fixed some bugs in the db_rewrite_sql() code.

Revision 1.454 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 30 09:53:19 2005 UTC (4 years, 9 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.453 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 29 22:02:36 2005 UTC (4 years, 9 months ago) by dries
Branch: MAIN
Changes since 1.452: +11 -96 lines
Diff to previous 1.452
- Patch #16111 by chx: generalized node_rewrite_query to db_rewrite_query.

Revision 1.452 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 27 14:45:42 2005 UTC (4 years, 10 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) (as text) (annotate) - [select for diffs]
Wed Jan 26 22:59:41 2005 UTC (4 years, 10 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) (as text) (annotate) - [select for diffs]
Mon Jan 24 21:20:16 2005 UTC (4 years, 10 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) (as text) (annotate) - [select for diffs]
Sun Jan 23 16:20:10 2005 UTC (4 years, 10 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.448 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 23 15:45:38 2005 UTC (4 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.447: +3 -3 lines
Diff to previous 1.447
- Patch #16026 by chx: fixed node-level permissions.

Revision 1.447 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 22 22:33:20 2005 UTC (4 years, 10 months ago) by unconed
Branch: MAIN
Changes since 1.446: +2 -1 lines
Diff to previous 1.446
Documenting a tricky regexp.

Revision 1.446 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 19 01:51:58 2005 UTC (4 years, 10 months ago) by unconed
Branch: MAIN
Changes since 1.445: +2 -2 lines
Diff to previous 1.445
- Another code style fix.

Revision 1.445 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 19 01:46:25 2005 UTC (4 years, 10 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.444 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jan 19 01:12:13 2005 UTC (4 years, 10 months ago) by unconed
Branch: MAIN
Changes since 1.443: +2 -2 lines
Diff to previous 1.443
- #15500: Fix tracker not showing nodes without comments.
- Tiny code style fix

Revision 1.443 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 17 19:00:03 2005 UTC (4 years, 10 months ago) by unconed
Branch: MAIN
Changes since 1.442: +14 -15 lines
Diff to previous 1.442
- The real code fixes ;)

Revision 1.442 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 17 18:56:11 2005 UTC (4 years, 10 months ago) by unconed
Branch: MAIN
Changes since 1.441: +32 -102 lines
Diff to previous 1.441
- Reversing bad commit, sorry everyone.

Revision 1.441 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 17 00:41:35 2005 UTC (4 years, 10 months ago) by unconed
Branch: MAIN
Changes since 1.440: +104 -34 lines
Diff to previous 1.440
- Various code style fixes

Revision 1.440 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 16 18:44:49 2005 UTC (4 years, 10 months ago) by dries
Branch: MAIN
Changes since 1.439: +104 -6 lines
Diff to previous 1.439
- Patch #14731 by chx: made it possible to rewrite node queries.

Revision 1.439 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 11 09:41:49 2005 UTC (4 years, 10 months ago) by unconed
Branch: MAIN
Changes since 1.438: +6 -1 lines
Diff to previous 1.438
- Make the search settings page more user-friendly.

Revision 1.438 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 9 12:58:53 2005 UTC (4 years, 10 months ago) by unconed
Branch: MAIN
Changes since 1.437: +3 -3 lines
Diff to previous 1.437
- Fixing a couple of watchdog() calls.

Revision 1.437 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 9 09:22:40 2005 UTC (4 years, 10 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) (as text) (annotate) - [select for diffs]
Fri Dec 31 09:30:12 2004 UTC (4 years, 10 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.435 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 26 20:10:02 2004 UTC (4 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.434: +24 -13 lines
Diff to previous 1.434
- Patch #6308 by gordon: allow node_submit() to be used by external interfaces.

Revision 1.434 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 24 06:44:11 2004 UTC (4 years, 11 months ago) by unconed
Branch: MAIN
Changes since 1.433: +2 -2 lines
Diff to previous 1.433
#11548: node.module - Ensure that only valid fields are saved

Revision 1.433 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 23 23:26:14 2004 UTC (4 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.432: +4 -1 lines
Diff to previous 1.432
- Patch #14709 by matteo: added missing call to the nodeapi's 'view' hook.

Revision 1.432 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 20 14:34:41 2004 UTC (4 years, 11 months ago) by unconed
Branch: MAIN
Changes since 1.431: +5 -3 lines
Diff to previous 1.431
#12793: Remove dependency of node.module on search.module.

Revision 1.431 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Dec 15 21:19:42 2004 UTC (4 years, 11 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.430 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 11 14:13:24 2004 UTC (4 years, 11 months ago) by dries
Branch: MAIN
Changes since 1.429: +1 -8 lines
Diff to previous 1.429
- Removed some cruft: left-over xxx_help_page() functions.

Revision 1.429 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 7 16:55:38 2004 UTC (4 years, 11 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) (as text) (annotate) - [select for diffs]
Thu Dec 2 06:44:55 2004 UTC (4 years, 11 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) (as text) (annotate) - [select for diffs]
Mon Nov 29 12:49:17 2004 UTC (4 years, 11 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) (as text) (annotate) - [select for diffs]
Sat Nov 27 10:02:06 2004 UTC (5 years 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) (as text) (annotate) - [select for diffs]
Tue Nov 23 23:11:58 2004 UTC (5 years 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) (as text) (annotate) - [select for diffs]
Tue Nov 23 22:20:41 2004 UTC (5 years 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) (as text) (annotate) - [select for diffs]
Sun Nov 21 08:25:17 2004 UTC (5 years 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.422 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 18 21:28:34 2004 UTC (5 years ago) by unconed
Branch: MAIN
Changes since 1.421: +2 -2 lines
Diff to previous 1.421
Search.module:
- Caching index statistics
- Minor code cleanup

Revision 1.421 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Nov 18 21:16:30 2004 UTC (5 years 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.420 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 17 22:14:43 2004 UTC (5 years ago) by dries
Branch: MAIN
Changes since 1.419: +21 -3 lines
Diff to previous 1.419
- Patch #8506 by Gerhard: added basic node_load() caching.

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

Revision 1.418 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 15 09:55:28 2004 UTC (5 years 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) (as text) (annotate) - [select for diffs]
Thu Nov 4 21:02:30 2004 UTC (5 years 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) (as text) (annotate) - [select for diffs]
Thu Nov 4 06:47:03 2004 UTC (5 years 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) (as text) (annotate) - [select for diffs]
Wed Nov 3 16:46:58 2004 UTC (5 years 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) (as text) (annotate) - [select for diffs]
Sun Oct 31 07:34:47 2004 UTC (5 years 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) (as text) (annotate) - [select for diffs]
Sun Oct 31 03:03:25 2004 UTC (5 years 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.412 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 29 00:51:49 2004 UTC (5 years ago) by unconed
Branch: MAIN
Changes since 1.411: +13 -6 lines
Diff to previous 1.411
#7607: Sort node types in node/add by translated names.

Revision 1.411 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 19 18:02:24 2004 UTC (5 years, 1 month 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 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 16 07:22:26 2004 UTC (5 years, 1 month ago) by dries
Branch: MAIN
CVS Tags: DRUPAL-4-5-0
Branch point for: DRUPAL-4-5
Changes since 1.409: +2 -3 lines
Diff to previous 1.409
- Patch #10664 by TDobes: fixed collapsed comments + updated the code comments.

Revision 1.409 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Oct 12 20:01:25 2004 UTC (5 years, 1 month 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.408 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 10 11:17:24 2004 UTC (5 years, 1 month ago) by dries
Branch: MAIN
Changes since 1.407: +1 -14 lines
Diff to previous 1.407
- Code improvement: removed some redundant code from the node module.

Revision 1.407 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 9 16:27:59 2004 UTC (5 years, 1 month 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) (as text) (annotate) - [select for diffs]
Mon Oct 4 22:04:07 2004 UTC (5 years, 1 month 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) (as text) (annotate) - [select for diffs]
Mon Oct 4 20:34:23 2004 UTC (5 years, 1 month 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) (as text) (annotate) - [select for diffs]
Tue Sep 28 19:13:03 2004 UTC (5 years, 1 month 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.403 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 21 18:43:54 2004 UTC (5 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.402: +2 -2 lines
Diff to previous 1.402
- Patch #10977 by Gerhard: added missing node access controls for RSS feeds.

Revision 1.402 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 20 20:06:29 2004 UTC (5 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.401: +6 -4 lines
Diff to previous 1.401
- Patch #10884 by killes: node_access_where_sql() lost a parameter.

Revision 1.401 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Sep 20 12:05:31 2004 UTC (5 years, 2 months ago) by dries
Branch: MAIN
Changes since 1.400: +4 -1 lines
Diff to previous 1.400
- Bugfix: it was not possible to delete nodes.  Reported by Philippe.

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

Revision 1.399 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 14 21:03:23 2004 UTC (5 years, 2 months ago) by unconed
Branch: MAIN
Changes since 1.398: +2 -2 lines
Diff to previous 1.398
Removing useless 'read more' title attribute, as discussed.

Revision 1.398 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Sep 14 02:28:37 2004 UTC (5 years, 2 months ago) by unconed
Branch: MAIN
Changes since 1.397: +2 -2 lines
Diff to previous 1.397
#8424: more meaningful link title=".." attributes for node_title_list().

Revision 1.397 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 9 13:36:00 2004 UTC (5 years, 2 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) (as text) (annotate) - [select for diffs]
Thu Sep 9 05:51:08 2004 UTC (5 years, 2 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) (as text) (annotate) - [select for diffs]
Wed Sep 8 20:51:45 2004 UTC (5 years, 2 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) (as text) (annotate) - [select for diffs]
Mon Sep 6 13:26:00 2004 UTC (5 years, 2 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.393 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 25 16:41:30 2004 UTC (5 years, 3 months ago) by unconed
Branch: MAIN
Changes since 1.392: +9 -3 lines
Diff to previous 1.392
- #10342: PHP5 fix with undefined array.

Revision 1.392 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 23 00:44:02 2004 UTC (5 years, 3 months ago) by unconed
Branch: MAIN
Changes since 1.391: +2 -2 lines
Diff to previous 1.391
- Fixing bug with PHP5 patch.

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

Revision 1.390 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 21 16:04:12 2004 UTC (5 years, 3 months ago) by dries
Branch: