Commit Graph

81 Commits (027f9836bcfb33f6db2039f4ace9f2efad5db100)

Author SHA1 Message Date
Gerhard Killesreiter 70aae83c8e #58166, fixes for typos, patch by Uwe Herrmann 2006-04-11 11:33:15 +00:00
Gerhard Killesreiter f3be5516f1 #56016, blogapi fails to post with no permission error unless uid=1, patch by samc 2006-03-30 21:30:25 +00:00
Gerhard Killesreiter 0f4d2e64c2 #56488, use named constants for comment status, patch, by Moshe 2006-03-30 14:24:52 +00:00
Gerhard Killesreiter 2347d3f93c #53834, validation was broken in blogapi, patch by samc 2006-03-30 14:17:12 +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 73f1e093fa - Patch #49462 by Markus: blogapi doesn't output alternative link if frontpage is an alias. 2006-02-15 21:27:58 +00:00
Dries Buytaert 0ec174d59c - Patch #47329 by merlinofchaos: fixed blogapi module problem. 2006-02-14 19:14:23 +00:00
Dries Buytaert 48b367c9d0 - Patch #46985 by merlinofchaos: fixed problem with blogapi checkboxes. 2006-01-30 18:30:44 +00:00
Dries Buytaert 6e45b2f9c3 - Patch #42029 by drumm: correct post times for administrators posting using a blogapi client. 2006-01-12 10:02:45 +00:00
Dries Buytaert 92acb92699 - Patch #33747 by Ber and Moshe: bugfix + code improvement: clean up some of the taxonomy loading code. 2006-01-10 12:35:20 +00:00
Dries Buytaert 16051d46a9 - Patch 42210 by Neil: Save whole node instead of saving taxonomy. 2005-12-31 13:52:47 +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
Dries Buytaert 93d496bad8 - Patch #41276 by walkah/chx: blog api fixes for new forms api. 2005-12-16 18:08:58 +00:00
Dries Buytaert 77130e7ab2 - Patch #36079 by James: fixed date handling in blogapi.module. 2005-12-16 06:36:00 +00:00
Dries Buytaert ab0232c022 - Patch #37737 by asimmonds/eaton: fixed blogapi.module checkboxes on settings page. 2005-12-03 09:59:25 +00:00
Dries Buytaert bcb6257b31 - Removed valid_input_check(). 2005-11-30 10:09:28 +00:00
Dries Buytaert dac42f83c8 - Patch #36079 by ax/chx: various blogapi.module fixes. 2005-11-09 19:03:35 +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
Steven Wittens 0cac6939b7 - Fix usage of header() to drupal_set_header()
- Emit charset for blogapi RSD
2005-10-25 03:43:57 +00:00
Dries Buytaert 81b35fbe4a - Patch #34749 by ax: make blogapi autodiscovery (rsd) work with Flock. Yay! 2005-10-21 09:56:59 +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 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 56903f504a - Patch #31650 by Robert: removed redundant XML-RPC blogapi setting. 2005-09-19 18:41:30 +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 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 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 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 e545feff3e - #28053: left-over blogapi bugs after xmlrpc library switch 2005-08-02 22:18:12 +00:00
Dries Buytaert 4da128a416 - Fixed problem with node_load() in blogapi. Reported by nysus. 2005-07-19 16:32:05 +00:00
Steven Wittens 6978fcb6ec - Typo after node_load simplification patch 2005-07-17 23:44:47 +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 ed3bf725bb - Patch #26391 by chx: replaced the old XML-RPC library with a smaller/better/working one. 2005-07-13 18:46:15 +00:00
Dries Buytaert eb803411d1 - Patch #24003 by Steven: fix problems with node attribute checking (and improve defaults). 2005-06-06 18:59:37 +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
Steven Wittens 195f672075 - Missing parameter for variable_get 2005-04-27 17:07:03 +00:00
Steven Wittens 31d2520e8d - #20868: Blogapi was still using the old workflow variables. 2005-04-23 06:38:27 +00:00
Dries Buytaert f401bbf048 - Patch #19406 by David: fixed problem with posting using BloggerAPI. 2005-04-13 19:03:36 +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
Steven Wittens be14203534 - #18817: Clean up plain-text checking (see drupal-devel!) 2005-03-31 09:25:33 +00:00
Dries Buytaert e872b005f1 - Patch #6195 by nedjo/James: allow posting to multiple node types. 2005-01-31 19:36:20 +00:00
Steven Wittens 8655d4368a - Fixing a couple of watchdog() calls. 2005-01-09 12:58:53 +00:00
Dries Buytaert 64b100d19a - 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.
2005-01-09 09:22:40 +00:00
Dries Buytaert 9574766ad8 - Patch by Stefan: wrapped the help texts in <p></p> tags. Helps improve consistency. 2004-11-23 22:20:41 +00:00
Dries Buytaert 25bbc0d4c4 - Fixed parentheses. 2004-10-18 18:40:53 +00:00
Dries Buytaert 07cdcb439b - Patch by James: made the blogapi module work again. 2004-10-18 18:29:15 +00:00