Dries Buytaert
cb8be5f821
- Patch #89285 by profix: code simplifications.
2006-10-26 05:31:14 +00:00
Dries Buytaert
d4ce96f1f2
- Patch #91139 bby Eaton: custom node type permissions don't work.
2006-10-25 16:44:07 +00:00
Dries Buytaert
bfe0ae8733
- Patch #84146 by profix, webernet, et al: capitalization fixes.
2006-10-23 20:45:08 +00:00
Dries Buytaert
18a0478e37
- Patch #84146 by profix, webernet, et al: capitalization fixes.
2006-10-23 20:44:30 +00:00
Dries Buytaert
8ab113e753
- Patch #75395 by chx, merlin and natrak: incorporate node access arbitrator into node.module. Critical bugfix.
2006-10-23 06:41:28 +00:00
Dries Buytaert
3fa98c797d
- Patch #57015 by chx: return to the proper pages after deleting a node.
2006-10-23 06:31:37 +00:00
Dries Buytaert
76d6439c2f
- 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.
2006-10-22 17:33:07 +00:00
Steven Wittens
36d44fbfb0
#84146 : Use 'Sentence capitalization' for menu items, page titles, form items, etc
2006-10-22 08:28:47 +00:00
Neil Drumm
c93c0fc700
#90119 by ontwerpwerk and profix898. Clean up misnamed permissions.
2006-10-20 21:00:17 +00:00
Neil Drumm
bf3e2f3ddf
#89304 by webernet. Use a more appropriate permission for content type administration.
2006-10-18 08:04:18 +00:00
Steven Wittens
eefdce7cce
Change admin content search instructions. They lied about wildcards.
2006-10-14 11:09:09 +00:00
Dries Buytaert
416199b281
- Patch #88180 by toddy: small grammar fixes.
2006-10-11 13:16:15 +00:00
Dries Buytaert
08c6fc70e8
- Patch #88409 by Heine: fixed broken link.
2006-10-10 21:06:45 +00:00
Dries Buytaert
90f9bffbc0
- Patch #82045 by chx, eaton et al: fixed nodeapi.
2006-10-05 15:26:17 +00:00
Dries Buytaert
03be9b6f32
- Patch #83165 by webernet: don't show revision log messages to the world.
2006-10-04 06:59:30 +00:00
Dries Buytaert
53eaba45cc
- Patch #87065 by Eaton et al: correct filtering of PHP nodes.
2006-10-04 06:54:24 +00:00
Dries Buytaert
d662bd20fd
- Patch #80271 by chx: node validate prevents programmatic node submission.
2006-09-16 05:35:57 +00:00
Dries Buytaert
6f0e54b037
- Patch #82465 by webchick: renamed variables in hooks for consistency.
2006-09-08 16:33:02 +00:00
Neil Drumm
04cbffccc7
#78675 by pwolanin. Fix calling order for node links. Seen in book read more links.
2006-09-07 07:24:22 +00:00
Neil Drumm
20d3be4cf5
#68999 by adixon. Give the theme a chance to change the node/add/... title.
2006-09-06 07:27:41 +00:00
Neil Drumm
9f8617b462
#48772 by markus_petrux. Remove redundant code from node_link().
2006-09-05 02:43:18 +00:00
Neil Drumm
5333b648a3
#80989 by fgm. When using the PHP code input format, break the node teaser out if the teaser starts after the delimiter.
2006-09-01 07:16:09 +00:00
Dries Buytaert
49fa25fb76
- Rollback of patch #68418 : clean up node submit hooks. Needs more thinkering.
...
Restores the old node API.
2006-08-31 21:58:36 +00:00
Dries Buytaert
c64db1da29
- Patch #80952 by earl, webchick, neclimdul et al: .info files
2006-08-31 20:22:37 +00:00
Dries Buytaert
8118bd0ed2
- Patch #81574 by assimmonds: deleting content types was broken.
2006-08-31 18:01:19 +00:00
Dries Buytaert
583701741a
- Patch #80470 by Eaton et al: better handling of programmatic submission.
2006-08-31 14:59:28 +00:00
Dries Buytaert
5dc27bcb93
- Patch #80860 by eaton et al: use form API multistep for poll.module
2006-08-30 18:50:35 +00:00
Dries Buytaert
5524604a95
- Patch #68418 by Moshe et al: clean up node submit hooks.
2006-08-29 18:43:26 +00:00
Neil Drumm
bceaf8f0da
#80574 Eaton and chx. Replace $_POST['edit'] with $_POST.
2006-08-29 09:12:03 +00:00
Dries Buytaert
16e19a71c2
- Patch #80902 by asimmonds: fixed delting of multiple nodes.
2006-08-28 09:42:22 +00:00
Dries Buytaert
ac7d82606b
- Patch #80809 by Uwe: fixed broken link.
2006-08-26 18:21:00 +00:00
Neil Drumm
554a2808a3
#78656 by m3avrck. Drupal Core's first CSS hack.
2006-08-25 09:01:12 +00:00
Dries Buytaert
158a8814eb
- Patch #66569 by m3avrck: add RSS autodiscovery automatically.
2006-08-23 18:38:41 +00:00
Dries Buytaert
2d05938082
- Patch #66569 by m3avrck: Consolidate the drupal_add_link() calls.
2006-08-23 07:23:09 +00:00
Neil Drumm
a58d877108
#66569 by m3avrck. Put all the feed icons in the same place.
2006-08-23 05:55:38 +00:00
Dries Buytaert
c4f1e4ba13
- Patch #76444 by chx, moshe, eaton, angie et al: make it possible to control access to form elements.
2006-08-22 11:13:04 +00:00
Dries Buytaert
70179807c6
- Patch #61636 by justin: fixed problem with reverting revisions. Taxonomy.module is optional.
2006-08-20 19:03:59 +00:00
Dries Buytaert
05f22fb61d
- Patch #79625 by justing: fixed advanced search form.
2006-08-20 19:02:26 +00:00
Dries Buytaert
92a01e2057
- Patch #79476 by assimonds and webchick: fixed broken t()-iness.
...
CVS: ----------------------------------------------------------------------
2006-08-20 07:07:17 +00:00
Steven Wittens
55eec8f66f
#79601 : module_exist() -> module_exists()
2006-08-20 05:57:41 +00:00
Dries Buytaert
e14c3aa6c0
- Patch #79498 by Eaton: fixed editing comments and nodes.
2006-08-19 21:40:58 +00:00
Dries Buytaert
7de41539df
- Patch #77919 by chx, eaton, moshe, et al: enable programmaticaly submitted forms via the pull model.
2006-08-18 18:58:47 +00:00
Steven Wittens
81938a3cdc
#76802 : Introduce placeholder magic into t()
...
See: http://drupal.org/node/64279#t-placeholders
2006-08-18 12:17:00 +00:00
Neil Drumm
cd483d456a
#78645 by moshe weitzman, finally remove node_page().
2006-08-15 07:30:17 +00:00
Neil Drumm
8f1255a387
#78549 by beginner, test for function existence instead of module existence.
2006-08-15 05:09:49 +00:00
Neil Drumm
3cc2b1e3d7
#77183 by m3avrck and timcn, split up drupal.css by module.
2006-08-14 07:14:50 +00:00
Neil Drumm
766e6494d9
#77525 by hunmonk, clean up for hook_(node|user)_operations().
2006-08-14 06:53:57 +00:00
Neil Drumm
be8d155b20
#78340 by hunmonk, fix an error preventing search indexing.
2006-08-14 05:11:02 +00:00
Dries Buytaert
ce85b7c7f8
- Patch #74326 by Eaton, Royboy, chx, et al: building $node->body with arrays like FAPI for viewing.
...
Once again, we're paving the path for CCK in core ... :)
2006-08-10 15:42:33 +00:00
Dries Buytaert
729fa6c11b
- Patch #77422 by timcn: corrected various paths in the documentation.
2006-08-07 15:04:16 +00:00
Neil Drumm
129c8eb18c
#62340 by chx, webchick, Jaza, Eaton, mathieu, and myself. Configurable node types.
2006-08-06 23:00:42 +00:00
Neil Drumm
d6af18b9f5
#75395 by merlinofchaos and moshe weitzman, make it easier for node access modules to work together.
2006-08-05 02:12:46 +00:00
Dries Buytaert
eaf3540175
- Patch #76702 by timcn: fixed some broken admin pages.
2006-08-02 13:44:07 +00:00
Dries Buytaert
2cc410304d
- Patch #74788 by hunmonk: allow other modules to define mass admin operations on node types.
2006-07-31 19:12:44 +00:00
Dries Buytaert
b138793b68
- Patch #72079 by Earl et al: give Drupal an overall administration page ... :-)
2006-07-31 11:25:55 +00:00
Neil Drumm
a43f3aef14
#75186 by pwolanin, invalidate the cache on saving via the node admin page.
2006-07-26 08:25:25 +00:00
Neil Drumm
cfaa4b5f76
#64857 by pwolanin, allow search to index all content
2006-07-26 07:04:19 +00:00
Neil Drumm
c11c1c2800
#73605 by RobRoy, make hook_link() implementations consistent with documentation.
2006-07-19 07:15:35 +00:00
Neil Drumm
31bb8ef394
#50316 by hunmonk, disallow simultaneous editing of posts.
2006-07-18 07:51:39 +00:00
Dries Buytaert
994582171e
- Patch #73599 by drumm: proper access checking.
2006-07-14 11:49:45 +00:00
Dries Buytaert
254b8bbaac
- Patch #41703 by drewish et al: allow node altering for RSS generation.
2006-07-13 12:06:45 +00:00
Dries Buytaert
58752cfaa2
- Patch #72284 by me:
...
+ reorganized ?q=admin/settings
+ deprecated the _settings hook
2006-07-10 19:27:52 +00:00
Dries Buytaert
d3e8a43d4f
- Patch #72343 by Chris Johnson: removed checks for the moderate-flag from the SQL queries.
2006-07-10 08:05:15 +00:00
Dries Buytaert
e93f8be871
- Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants.
2006-07-05 11:45:51 +00:00
Neil Drumm
59aa2ae8e8
#71925 by Steven, remove # prefix from link array keys.
2006-07-04 08:59:05 +00:00
Dries Buytaert
7d176b393c
- Patch #71684 by fgm: corrected the header information of RSS feeds: text/xml -> application/rss+xml
2006-07-03 08:04:33 +00:00
Neil Drumm
f04b4754f0
#68588 by keve, fix a query for postgres.
2006-06-16 20:16:27 +00:00
Dries Buytaert
1b291a2917
- Patch #18260 by Ber, m3averck et al: allow overriding of links returned by modules
2006-05-18 14:58:57 +00:00
Dries Buytaert
37a9229dba
- Patch #53021 by Egon Bianchet: sort the node types.
2006-05-15 06:18:01 +00:00
Dries Buytaert
7817781c73
- Patch #48671 by Jaza: admin form fields not getting rendered at bottom of node form like they should.
2006-05-14 12:56:44 +00:00
Neil Drumm
93082640ea
#62147 by Jaza, Breadcrumb for nodes should not include 'content' link
2006-05-07 01:00:15 +00:00
Neil Drumm
9cff02e91b
#61802 by Zen, Double spaced sentences clean up
2006-05-07 00:08:36 +00:00
Dries Buytaert
f818eaf651
- Patch #47038 by DriesK: added a permission for advanced search.
2006-05-04 18:44:10 +00:00
Neil Drumm
11fef9ed9c
#61484 by Uwe Hermann, typo in welcome message.
2006-05-03 07:59:01 +00:00
Dries Buytaert
6f628a4079
- Patch #60358 by webchick: improved welcome message.
2006-05-01 08:38:11 +00:00
Neil Drumm
5fea19e8b6
Forward port from 4.7
...
#59935 , It's impossible to preserve stuff by calling form_set_value from hook_validate to submit, patch by tenrapid
2006-04-30 00:43:53 +00:00
Steven Wittens
954cbf7c65
#60729 : Index taxonomy terms with nodes
2006-04-27 22:20:51 +00:00
Neil Drumm
7961f68137
#59935 by chx, make nodeapi consistent with the rest of formapi, enabling the use of form_set_value.
2006-04-23 05:22:05 +00:00
Steven Wittens
d469df81c7
#59428 : Correct teaser for japanese period character
2006-04-21 19:16:12 +00:00
Steven Wittens
8207690ac5
- #56617 : Search ranking criteria depended on eachother.
...
- XHTML validation of node search form
2006-04-21 10:26:53 +00:00
Gerhard Killesreiter
45785f9610
#46549 , more robust node_submit, patch by chx
2006-04-20 16:38:22 +00:00
Gerhard Killesreiter
297ed741f8
#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)
2006-04-20 07:11:37 +00:00
Gerhard Killesreiter
631d150644
#59070 , forms on paged versionis of admin/node did not work, patch by tenrapid
2006-04-18 09:12:40 +00:00
Dries Buytaert
d071f99172
- Removing trailing whitespace.
2006-04-17 20:48:26 +00:00
Steven Wittens
fb8ef28375
#56921 : Remove all reference magic from form api. w00t.
2006-04-15 21:52:44 +00:00
Dries Buytaert
13a888c0f8
- More inline with other form descriptions.
2006-04-14 14:32:59 +00:00
Steven Wittens
980c54d448
#58449 : Date on preview was broken
2006-04-12 17:06:57 +00:00
Gerhard Killesreiter
70aae83c8e
#58166 , fixes for typos, patch by Uwe Herrmann
2006-04-11 11:33:15 +00:00
Steven Wittens
f00396acc7
#52710 : Incorrect timestamp when user has administer nodes permission
2006-04-10 21:36:40 +00:00
Steven Wittens
47adadda2a
#57956 : Redirect after node deletion
2006-04-09 21:36:23 +00:00
Gerhard Killesreiter
8e1e221e30
#52710 , fix node timestamp for admin users, patch by hunmonk.
2006-04-08 13:13:17 +00:00
Steven Wittens
9794b5538e
- #55898 : Generic, permissive admin XSS/HTML filtering for mission/footer/...
...
- Clean up some raw output
2006-04-07 15:32:17 +00:00
Gerhard Killesreiter
c4b031f334
#56911 , advanced search broken, patch by Zen.
2006-04-02 13:13:46 +00:00
Steven Wittens
70c91e33c2
#56457 : hook_search() form API conversion
2006-03-30 20:23:39 +00:00
Gerhard Killesreiter
002fee7aae
#56105 , remove title validation, already enforced by #required, patch by Moshe
2006-03-27 18:02:48 +00:00
Gerhard Killesreiter
5885925b0d
#53348 , Handling of deleted/blocked user accounts, patch by jreyero and Zen
2006-03-26 19:31:00 +00:00
Gerhard Killesreiter
646cd1a716
#55922 , forgotten global $user, patch by singularo
2006-03-26 16:56:08 +00:00
Gerhard Killesreiter
a21ff72270
#55632 , After deleting the last revision of a node, you're sent to an invalid path, patch by dww
2006-03-26 01:03:29 +00:00
Gerhard Killesreiter
625b69e001
#55550 , if editing a node, node author changes to user editing it, patch by merlinofchaos
2006-03-25 19:32:14 +00:00
Gerhard Killesreiter
f005101afd
#54519 , remove old bookmarklet code. Use prepopulate.module, patch by budda
2006-03-24 14:59:06 +00:00
Gerhard Killesreiter
dae2bdbb3b
#45988 , Nodes with menu items bypass node permissions system
...
patch by chx
2006-03-20 20:48:19 +00:00
Gerhard Killesreiter
e13799c9eb
#45988 , Nodes with menu items bypass node permissions system, patch by chx.
2006-03-20 16:29:55 +00:00
Neil Drumm
2b9d04d5c2
-bug #51522 by m3avrck, node teasers are empty
2006-03-09 22:38:40 +00:00
Gerhard Killesreiter
306a04e503
#43032 , Can't move forum topics created by anonymous (Authored by not set), patch by Cvbge.
2006-03-09 22:10:57 +00:00
Gerhard Killesreiter
f1962e8fb1
#52586 , node preview broken with php5, patch by greggles
2006-03-09 21:59:43 +00:00
Gerhard Killesreiter
45092bdd5f
#53012 , make "Create new revision" respect node type settings, patch by Zen
2006-03-08 19:07:41 +00:00
Dries Buytaert
8fe244ff6a
- Patch #51522 by paddy: break at beginning doesn't work
2006-03-07 19:38:19 +00:00
Steven Wittens
fe77e77431
- #49405 : Minor advanced search UI/code tweaks
2006-02-28 21:10:04 +00:00
Steven Wittens
03c8120c23
- #51110 : Make search results page more flexible
2006-02-28 13:32:33 +00:00
Gerhard Killesreiter
8d8b816ca5
#44129 , patch by Zen
2006-02-27 13:33:48 +00:00
Dries Buytaert
58d9b02e3e
- Patch #51189 : fixed submit redirects.
2006-02-26 19:44:45 +00:00
Dries Buytaert
3603fe1bd8
- Patch #49912 : www.drupal.org -> drupal.org. (Today's critical bugfix #5.)
2006-02-21 18:46:54 +00:00
Dries Buytaert
890356a0b5
- Patch #50219 by pz: removed some redundant code.
2006-02-21 08:37:41 +00:00
Dries Buytaert
999d3dafd4
- Patch #50219 by pz: removed death code.
2006-02-20 16:41:25 +00:00
Dries Buytaert
864eab75aa
- Patch #50105 by chx: simplified some code.
2006-02-19 21:47:50 +00:00
Dries Buytaert
7b71373701
- Patch #44298 by DriesK: prevent unaccessible links from being generated.
2006-02-19 21:46:04 +00:00
Steven Wittens
740dc97b5f
- #35073 : Admin/node category filter not working
2006-02-14 21:12:09 +00:00
Dries Buytaert
583d5a4ee9
- Patch #48622 by adrian: remove drupal_goto from _submit functions.
2006-02-10 05:25:57 +00:00
Dries Buytaert
51f8d2f33b
- Patch #47406 by Zen: menu sorting shouldn't be case insensitive.
2006-02-09 08:36:54 +00:00
Dries Buytaert
df492f35ae
- Patch #43622 / #46627 by markus: 'delete the selected posts' operation on admin/node doesn't work.
2006-02-09 07:46:04 +00:00
Dries Buytaert
6b706b50b3
- Patch #48564 by JonBob: grammar fix.
2006-02-09 07:16:47 +00:00
Steven Wittens
a0454264af
- Node revisions 404/403 handling called drupal_not_found() twice.
2006-02-08 00:47:14 +00:00
Dries Buytaert
dbdca484c1
- Patch #48021 by Zen: removed unused variable.
2006-02-06 05:54:17 +00:00
Dries Buytaert
514bef01f0
- Patch #46933 by Gerhard: moderated nodes are not indexed.
2006-02-01 14:11:53 +00:00
Dries Buytaert
15ff8c8e32
- Patch #46827 by wulff: fixed incorrect links.
2006-01-29 07:50:45 +00:00
Dries Buytaert
2210b607b0
- Patch #46705 by killes: don't use array_merge.
2006-01-29 07:46:57 +00:00
Dries Buytaert
576399c1f4
- Modified patch #37754 by Thomas: made the status message show up.
2006-01-24 08:26:21 +00:00
Dries Buytaert
8c02d4ec93
- 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.
2006-01-20 09:04:34 +00:00
Dries Buytaert
e84a98a22b
- Patch #45349 by Morbus Iff: input filters aren't sorting correctly infForms API.
2006-01-19 08:54:41 +00:00
Steven Wittens
ecd26ac8ae
- #42277 : Make node search indexing more robust against bad nodes and timeouts.
2006-01-18 21:31:40 +00:00
Dries Buytaert
2220c03633
- Patch #45206 by markus: attempt at making the node filters somewhat translatable.
2006-01-18 19:09:46 +00:00
Dries Buytaert
46913a7efd
- Patch #45259 by chx/drumm: cast to object required.
2006-01-18 14:30:42 +00:00
Dries Buytaert
186ebd18da
- Patch #42072 by m3avrck: more improvements to the node revesion overview screen.
2006-01-17 21:19:43 +00:00
Dries Buytaert
baaf319c59
- Patch #42072 by m3avrck: improved the revision overview screen.
2006-01-17 19:26:49 +00:00
Dries Buytaert
51d2ac2b9e
- Critical feature #40670 : made the form array accessible.
2006-01-17 17:42:29 +00:00
Dries Buytaert
baa5c2ff89
- Extended the form description for clarity.
2006-01-14 09:51:57 +00:00
Dries Buytaert
7f87b19eeb
- Patch #42886 by chx: critical feature: allow modules to be reordered.
2006-01-08 12:49:51 +00:00
Dries Buytaert
859e045db6
- Patch #42955 by Cvbge: critical bugfix: users can't create new content.
2006-01-06 16:21:34 +00:00
Steven Wittens
c27b62b182
- #41940 : Locale string search broken in some cases (and remove some inappropriate db_escape_string() usage)
...
- #43491 : Missing drupal_goto() after saving settings
2006-01-05 23:35:34 +00:00
Dries Buytaert
9e23a23d73
- Patch #35770 by DriesK: make node preview settings work.
2006-01-04 09:04:27 +00:00
Dries Buytaert
db92352671
- Patch #43032 by Steve Dondley: critical fix: can't update nodes by anonymous users.
2006-01-03 19:40:29 +00:00
Dries Buytaert
ea2d791095
- Patch 41169 by Chris: got rid of expensvie object 2 array casts.
2005-12-31 10:48:56 +00:00
Steven Wittens
79a193a2d2
- #42234 : Use standardized feed icon for RSS
2005-12-29 04:46:40 +00:00
Dries Buytaert
02eb24bfbd
- Bug #42107 : redirect to the main page instead of to 'node'.
2005-12-27 14:31:42 +00:00
Dries Buytaert
ed7256f37a
- Patch #28159 by chx: removed some dead code from the search module's form.
2005-12-26 11:21:19 +00:00
Dries Buytaert
ba12462fc9
- Patch #42153 by Junyor: slight clean-up of node_revision_delete().
2005-12-24 13:05:22 +00:00
Dries Buytaert
29a619b598
- Patch #30098 by killes: node revisions should only be viewable by admins.
2005-12-22 10:57:02 +00:00
Steven Wittens
c2384e2c18
- #41973 : Ensure -\>changed and -\>created are equal on node creation
2005-12-22 00:22:19 +00:00
Steven Wittens
19aad8934f
- #34826 : Search results don't include last part of longer pages
2005-12-21 14:30:09 +00:00
Dries Buytaert
922a46d281
- Patch #34920 by Morbus/webchick/tangent: fixed order of form fields.
2005-12-15 16:24:40 +00:00