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
Dries Buytaert
5accfa08f5
- 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.
2005-12-15 16:02:50 +00:00
Dries Buytaert
264f7d5667
- Patch #41211 by Neil: de-dupe XML namespaces in RSS automatically.
2005-12-15 15:57:55 +00:00
Dries Buytaert
764f1177ef
- Patch #40631 by Chris Johnson: is_array() slower than isset() or empty().
2005-12-14 20:10:45 +00:00
Dries Buytaert
7334f7624f
- Patch #41165 by Morbus: removed rss doctype.
2005-12-14 19:04:27 +00:00
Dries Buytaert
c11080c02e
- Patch #41109 by chx: fixed problem with _node_name() returning NULL instead of array() when there are no node types.
2005-12-14 13:26:39 +00:00
Dries Buytaert
2659fadd5f
- Patch #40587 by wtanaka: execute -> submit
2005-12-10 08:12:59 +00:00
Dries Buytaert
aba547258a
- Patch #36429 : remove CONCAT() and speed up node_access query.
2005-12-08 15:30:27 +00:00
Dries Buytaert
94d6b9abf0
- 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?
2005-12-07 20:57:45 +00:00
Dries Buytaert
28fdb3975e
- Patch #39778 by chx: obliterate nodeapi op form in favor of the forms API's way of doing things. Tested with help from webchick.
2005-12-05 09:11:33 +00:00
Dries Buytaert
26bd449860
- Patch #39576 by chx: rename '_execute' to '_submit' and '#execute' to '#submit'.
2005-12-02 15:21:01 +00:00
Steven Wittens
b9415b4b9c
- #7940 : Remember publishing options when editing node
2005-11-29 03:18:57 +00:00
Dries Buytaert
c647b39c2c
- Patch #37798 by Neil: fixed problem with node settings.
2005-11-27 11:11:46 +00:00
Dries Buytaert
b1b1e2045f
- Patch #37798 by Neil: allow non-workflow form elements on the node type settings page.
2005-11-25 10:11:59 +00:00
Steven Wittens
02d7e96309
- #35142 : Fix mass delete
2005-11-24 22:03:40 +00:00
Dries Buytaert
12c5416dbf
- Patch #38593 by malex: generate 'guid' in RSS feeds to work around some aggregator glitches.
2005-11-24 20:15:09 +00:00
Dries Buytaert
d4692d569c
- Patch #35644 by webchick: fixed the sizes of the textareas on the node edit forms.
2005-11-23 16:18:28 +00:00
Dries Buytaert
03dda45573
- Patch #37752 by chx and Richard: renamed #post_process to #after_build.
2005-11-21 18:10:26 +00:00
Dries Buytaert
9317291284
- Patch #37926 by asimmonds/chx: fixed previewing nodes.
2005-11-18 14:09:42 +00:00
Dries Buytaert
f69503aa58
- Patch #37777 by asimmonds: form_id missing from rendered admin/node form.
2005-11-17 06:48:25 +00:00
Steven Wittens
fd6104cf4d
#37390 : Make welcome text link to admin/settings
2005-11-13 02:43:33 +00:00
Dries Buytaert
aeed4cd8e4
- Patch #35644 by webchick: forms API simplificiations.
2005-11-12 11:26:16 +00:00
Steven Wittens
85492ae9a5
#36791 : node_validate was called twice
2005-11-12 02:54:13 +00:00
Dries Buytaert
b4644f8e66
- 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 .
2005-11-04 19:40:28 +00:00
Dries Buytaert
a8b218827a
- Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! /
2005-11-01 10:17:34 +00:00
Dries Buytaert
ef7d2c8a9f
- Patch #34920 by tangent: reorganized the node submission form a bit.
2005-10-28 14:04:20 +00:00
Steven Wittens
fe938b844a
- #35434 : Form API - obsolete $param to hook_form() + preview fixes
2005-10-28 00:28:14 +00:00
Steven Wittens
34fcf45def
- #35284 : fixing node form
2005-10-26 14:49:59 +00:00
Dries Buytaert
27c619d16f
- Patch #35279 by asimmonds: fixed typo in pager code.
2005-10-26 08:06:56 +00:00
Steven Wittens
fbaede7ec0
- #35264 : More form api fixes
2005-10-26 01:24:09 +00:00
Dries Buytaert
f6764cfbd8
- Patch #30930 by m3avrck/deekayen: cured PHP5 warnings.
2005-10-22 15:14:46 +00:00
Steven Wittens
909d6928ac
- #28159 : Advanced search features (hello from DrupalCon)
...
Presentation about it:
http://www.acko.net/files/drupal-search-slim.pdf
2005-10-18 14:41:27 +00:00
Steven Wittens
5f0e0f3649
- #33433 : More form API fixes, and error handling improvements by Chx.
2005-10-13 10:02:31 +00:00
Dries Buytaert
75fe6b6c0a
- Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes.
2005-10-11 19:44:35 +00:00
Dries Buytaert
7863be5e82
- 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
2005-10-08 12:21:47 +00:00
Dries Buytaert
a1ae4da70b
- Removing tabs and trailing whitespaces.
2005-10-07 06:51:43 +00:00
Dries Buytaert
7e1527ee61
- 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.
2005-10-07 06:11:12 +00:00
Dries Buytaert
50ac9d3b4c
- Patch #32103 by nedjo: fixed title validation.
2005-09-27 15:09:28 +00:00
Dries Buytaert
67e68fc679
- Patch #28786 by Neil: move pagers out of table.
2005-09-24 07:53:26 +00:00
Dries Buytaert
61740bd8ee
- Patch #10056 : allow the node title forms to be customized.
2005-09-23 08:47:13 +00:00
Dries Buytaert
1dc53d9761
- 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.
2005-09-18 10:37:57 +00:00
Steven Wittens
69247d7aad
- #30128 : Call by reference left-overs
2005-09-02 02:11:41 +00:00
Dries Buytaert
d9d6a6e05c
- 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.
2005-08-30 15:22:29 +00:00
Dries Buytaert
246274eb16
- Renamed _node() to _node_info()! We reserve _node for _nodeapi.
2005-08-29 19:58:49 +00:00
Dries Buytaert
c9fc300b1f
- 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).
2005-08-28 15:29:34 +00:00
Dries Buytaert
b5573842b8
- Patch #29593 by tostinni: fixed display of title on admin/settings/content-type/ pages.
2005-08-25 21:22:00 +00:00
Dries Buytaert
7b8a409675
- Patch #29385 by chx: no ?> add end of files.
2005-08-25 21:14:17 +00:00
Dries Buytaert
6a4e6df36f
- Patch #17592 by killes: improved access denied messages.
2005-08-22 20:39:43 +00:00
Dries Buytaert
3b8220e6f5
- Patch #29335 by jonbob: shuffled the case-statements around for performance's sake.
2005-08-22 10:11:15 +00:00
Dries Buytaert
ceb013278e
- Patch #23750 by jerakeen: use the creation date rather than the update date in RSS feeds.
2005-08-11 12:53:39 +00:00
Dries Buytaert
2a87b5029b
- Patch #24002 : fixed node created timestamp changing on node edit.
2005-08-07 15:53:26 +00:00
Dries Buytaert
79f08aca2c
- Patch #26637 by Robert Douglas: $teaser misnamed in themes theme_node().
...
TODO: update documentation!
2005-08-07 14:55:17 +00:00
Steven Wittens
f7039a67cc
- #25395 : Allow for more integers in node_access grant_x columns
2005-08-05 13:11:10 +00:00
Steven Wittens
88c6184c25
- #27864 : Correctly distinguish 403s from 404s for nodes.
2005-08-05 00:38:38 +00:00
Dries Buytaert
7625a4e91a
- 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.
2005-08-01 05:14:05 +00:00
Dries Buytaert
70bc4639fa
- Patch #27535 by Ber: set 'preview status message' using drupal_set_message().
2005-07-31 10:28:50 +00:00
Steven Wittens
e4096e1418
- #27551 : Rename check_output() to check_markup(). Needs contrib updates!
2005-07-29 21:06:33 +00:00
Steven Wittens
f0c5a2860a
- #26458 : node_search doesn't node_view, causing bad snippets.
2005-07-29 03:29:53 +00:00
Steven Wittens
d720c66148
- #26458 : node_search doesn't node_view, causing bad snippets.
2005-07-29 03:21:09 +00:00
Dries Buytaert
31387c5a77
- Patch #26467 by drumm: make the destination persist across multiple pages
...
and fixed the node delete form to use a return destination.
2005-07-20 10:48:20 +00:00
Steven Wittens
5ed64a71bd
- Fix oopsie in node_load() after recent patch.
2005-07-18 20:27:32 +00:00
Dries Buytaert
1a0655dce9
- Updated handbook-link to reflect the recent handbook restructuring.
2005-07-18 08:46:30 +00:00
Dries Buytaert
b7c0975e23
- Fixed typo in PHPdoc
2005-07-17 21:08:49 +00:00
Dries Buytaert
2895357de0
- Modified patch #25031 by chx: modified node_list() so one has both the module and its type.
...
TODO: update migration page in handbook.
2005-07-17 20:57:43 +00:00
Dries Buytaert
160a1e0ef8
- Patch #25634 by chx: simplified node_load().
2005-07-17 18:29:32 +00:00
Dries Buytaert
73010a5215
- Fix by darix: fixed content type settings broken by berkes' last patch.
2005-07-07 13:30:50 +00:00
Dries Buytaert
d96e7e0bbb
- Patches by Ber: move user settings and node settings to admin/settings.
2005-07-03 16:41:42 +00:00
Dries Buytaert
2c10ff4b5f
- Fixed problems with filter formats and problem with XML-RPC server.
2005-06-29 19:53:14 +00:00
Dries Buytaert
58aee8cdad
- Patch #25603 by Stefan: made the sizes of forms consistent.
...
TODO: document the defaults in the PHPdoc comments.
2005-06-27 18:33:33 +00:00
Dries Buytaert
5c8843704c
- 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.)
2005-06-22 20:19:58 +00:00
Dries Buytaert
f3a9a99570
- Patch #25121 by Robrecht J.: changed itemized lists with hardcoded CSS to definition lists.
2005-06-21 18:58:27 +00:00
Dries Buytaert
e550f84162
- 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.
2005-06-21 09:45:45 +00:00
Dries Buytaert
8436082fe1
- Removing some whitespace
2005-06-06 14:07:04 +00:00
Steven Wittens
c928f9c1bb
- #18836 : Cleanup teaser generation code, and refine handling of PHP code teasers.
2005-06-01 03:42:47 +00:00
Steven Wittens
5257b684ff
- #18836 : Cleanup teaser generation code, and refine handling of PHP code teasers.
2005-06-01 03:32:22 +00:00
Steven Wittens
a597354bcb
- Code cleanup: improve format_plural usage, add some missing placeholder/check calls, and introduce API for <link> tags.
2005-05-31 21:14:27 +00:00
Dries Buytaert
d0390be0bd
- Patch #18275 by Steven: "create content" menu displays extraneous links.
...
(Not sure if this needs to be backported to DRUPAL-4-6.)
2005-05-26 19:29:48 +00:00
Steven Wittens
cbd6837b40
- #18406 : make node_page 404 on meaningless nids
2005-05-25 07:14:00 +00:00
Steven Wittens
09354344e0
- Sort admin-content by descending node date. This got lost in the refinement-filter patch.
2005-05-25 03:51:00 +00:00
Steven Wittens
58bddf8abc
* cue Star Wars theme tune *
...
Return of the JavaScript!
- #22519 : form_autocomplete(): Ajax based autocompletion. Currently used for user names and folksonomy tags.
2005-05-24 06:00:22 +00:00
Dries Buytaert
a5489b7b1c
- Patch by chx: added a db_rewrite_sql() in node_load() just to make sure.
2005-05-17 20:24:33 +00:00
Dries Buytaert
a76a1e1f3f
- Patch 20910 by chx: centralize print theme page.
2005-04-24 16:34:36 +00:00
Dries Buytaert
9802b20a17
- 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.
2005-04-11 16:39:19 +00:00
Dries Buytaert
91e8b1b1e4
- Removed weird phpdoc line
2005-04-05 07:25:11 +00:00
Dries Buytaert
a3e9b35afc
- Patch #19451 by JonBob: improved consistency of module descriptions. We should write guidelines for this -- maybe in the PHPDoc code of the _help hook.
2005-04-01 15:55:02 +00:00
Dries Buytaert
7bdcba1720
- Patch #19739 by Uwe: corrected many typo's in the documentation and code comments
2005-03-31 21:18:08 +00:00
Steven Wittens
be14203534
- #18817 : Clean up plain-text checking (see drupal-devel!)
2005-03-31 09:25:33 +00:00
Steven Wittens
54dfc577ba
- #19353 : Fix 'submit' button behaviour wrt optional previewing and form errors.
2005-03-27 21:34:50 +00:00
Steven Wittens
d8fad6e24f
- #17343 : Fix safari CSS issues with node admin.
2005-03-27 15:54:44 +00:00
Steven Wittens
576c60803d
- #19405 : Fix SQL in comment block for anonymous users.
2005-03-24 22:09:31 +00:00
Steven Wittens
1185839923
- #19089 : Remove depency on taxonomy.module by node.module (kjartan)
2005-03-18 18:46:23 +00:00
Steven Wittens
e17490b653
- #12401 : Non-admins should obey workflow wrt revisions.
2005-03-18 08:14:37 +00:00
Dries Buytaert
49240b6b1e
- Patch #18216 : fixed nodeapi settings hook.
2005-03-07 21:58:13 +00:00
Dries Buytaert
0f7be2573e
- Bumped the RSS version from 0.92 to 2.0
2005-03-07 21:52:57 +00:00
Dries Buytaert
77f7aa0211
- 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.
2005-03-05 11:05:07 +00:00
Steven Wittens
96eb9c6f9f
#18226 : Non-admins were not obeying workflow.
2005-03-04 00:48:22 +00:00
Steven Wittens
198ec98f75
#18329 : Unify confirmation messages (and make them themable)
2005-03-03 20:51:27 +00:00
Dries Buytaert
3123d7e6ec
- 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().
2005-03-01 20:07:48 +00:00
Dries Buytaert
a4befbb68b
- 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.
2005-03-01 20:01:40 +00:00