summaryrefslogtreecommitdiff
path: root/modules/blogapi/blogapi.module
Commit message (Collapse)AuthorAge
...
* - Fix usage of header() to drupal_set_header()Steven Wittens2005-10-25
| | | | - Emit charset for blogapi RSD
* - Patch #34749 by ax: make blogapi autodiscovery (rsd) work with Flock. Yay!Dries Buytaert2005-10-21
|
* - Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes.Dries Buytaert2005-10-11
|
* - Removing tabs and trailing whitespaces.Dries Buytaert2005-10-07
|
* - Patch #29465: new form API by Adrian et al.Dries Buytaert2005-10-07
| | | | | | | 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.
* - Patch #31650 by Robert: removed redundant XML-RPC blogapi setting.Dries Buytaert2005-09-19
|
* - #30128: Call by reference left-oversSteven Wittens2005-09-02
|
* - Patch #7582 by Gerhard: improved node revisions!Dries Buytaert2005-08-30
| | | | | | | | | | 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.
* - Patch #29785 by Chx: multiple node types were broken so we refactoredDries Buytaert2005-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* - Patch #29385 by chx: no ?> add end of files.Dries Buytaert2005-08-25
|
* - Patch #17592 by killes: improved access denied messages.Dries Buytaert2005-08-22
|
* - Patch #26637 by Robert Douglas: $teaser misnamed in themes theme_node().Dries Buytaert2005-08-07
| | | | TODO: update documentation!
* - #28053: left-over blogapi bugs after xmlrpc library switchSteven Wittens2005-08-02
|
* - Fixed problem with node_load() in blogapi. Reported by nysus.Dries Buytaert2005-07-19
|
* - Typo after node_load simplification patchSteven Wittens2005-07-17
|
* - Modified patch #25031 by chx: modified node_list() so one has both the ↵Dries Buytaert2005-07-17
| | | | | | module and its type. TODO: update migration page in handbook.
* - Patch #25634 by chx: simplified node_load().Dries Buytaert2005-07-17
|
* - Patch #26391 by chx: replaced the old XML-RPC library with a ↵Dries Buytaert2005-07-13
| | | | smaller/better/working one.
* - Patch #24003 by Steven: fix problems with node attribute checking (and ↵Dries Buytaert2005-06-06
| | | | improve defaults).
* - Code cleanup: improve format_plural usage, add some missing ↵Steven Wittens2005-05-31
| | | | placeholder/check calls, and introduce API for <link> tags.
* - Missing parameter for variable_getSteven Wittens2005-04-27
|
* - #20868: Blogapi was still using the old workflow variables.Steven Wittens2005-04-23
|
* - Patch #19406 by David: fixed problem with posting using BloggerAPI.Dries Buytaert2005-04-13
|
* - Patch #19451 by JonBob: improved consistency of module descriptions. We ↵Dries Buytaert2005-04-01
| | | | should write guidelines for this -- maybe in the PHPDoc code of the _help hook.
* - #18817: Clean up plain-text checking (see drupal-devel!)Steven Wittens2005-03-31
|
* - Patch #6195 by nedjo/James: allow posting to multiple node types.Dries Buytaert2005-01-31
|
* - Fixing a couple of watchdog() calls.Steven Wittens2005-01-09
|
* - Patch #13260 by UnConeD: watchdog module improvements.Dries Buytaert2005-01-09
| | | | | | | | | | 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.
* - Patch by Stefan: wrapped the help texts in <p></p> tags. Helps improve ↵Dries Buytaert2004-11-23
| | | | consistency.
* - Fixed parentheses.Dries Buytaert2004-10-18
|
* - Patch by James: made the blogapi module work again.Dries Buytaert2004-10-18
|
* - Patch #11682: changed FILTER_DEFAULT_FORMAT to FILTER_FORMAT_DEFAULT to ↵Dries Buytaert2004-10-18
| | | | make the Blog API work.
* - Patch #11401 by Goba: documentation updates:Dries Buytaert2004-10-09
| | | | | | + Made error strings in blog.module consistent. + Explained a bit better what the RSD setting is for in the blog module. + Removed the notes about PHP content from block module and book module, since everything is handled via the input formats now.
* - Patch #10993 by walkah: fixed problem with blogapi's error checking.Dries Buytaert2004-09-21
|
* Fixing default of node_promote_blog to match node.module.Steven Wittens2004-09-17
|
* - Patch #8179 by JonBob: reintroduced menu caching.Dries Buytaert2004-09-16
|
* - Patch #10669 by Ax: bugfix: getting a post from latest Drupal into latest ↵Dries Buytaert2004-09-09
| | | | ecto yields an error "response contains string value where integer expected".
* Patch by me and Kjartan.Steven Wittens2004-08-24
| | | | | | | | | | | | Upload.module - Fixing a bug caused by the PHP5 patches. Beware: PHP4's array_merge() will silently accept objects and convert them to arrays. We should not depend on this behaviour in the future. File.inc / file-using modules: - Removing the constant FILE_SEPARATOR: forward slashes work fine on Windows, and it was being used incorrectly as an URL separator sometimes. - Adding @ to mkdir and chmod to supress ugly PHP errors. They are already reported with drupal_set_message(). - Fixing default for variable 'file_directory_temp'. - Clarifying the help tip for 'file_directory_temp' in admin > settings.
* - Patch by JonBob: for consistency and readability, add brief descriptions ↵Dries Buytaert2004-08-21
| | | | of each source file inside the @file comment block at the head of the file. This helps with Doxygen indexing, and also allows neophytes to see what a file does immediately on opening the source, regardless of the organization of the hooks.
* - Code improvements by Stefan: made all status messages consistent (and ↵Dries Buytaert2004-08-18
| | | | easier to translate).
* - Patch #10115 by James: bugfixes:Dries Buytaert2004-08-16
| | | | | + If an array of tb urls is given for mt_tb_ping_urls, the last url actually gets pinged twice. + mt_allow_comments and mt_convert_breaks were not being sent properly in the xmlrpc response for getPost.
* - Patch by James Seng and James Walkah:Dries Buytaert2004-08-15
| | | | | | | | * Don't rely on a blog table (i.e. do 'extended' the drupal way. * Allow listing / setting new 'input format' - (using mt.supportedTextFilters). * Handle MT extensions to metaWeblog.newPost/editPost where applicable. * Implemented mt.supportedMethods. * Also did a bit of refactoring to make sure we generate post values the same for both newPost/editPost but also for getRecentPosts and getPost
* - Patch by James: made the blogapi work with DA.Dries Buytaert2004-08-14
| | | | | * Refactored the "brains" of user_login() to user_authenticate($user, $pass) so that blogapi (and others) can authenticate users (including those using DistAuth) without all the html and drupal_goto calls * Updates blogapi_validate_user to use user_authenticate.
* The Input formats - filter patch has landed. I still need to make update ↵Steven Wittens2004-08-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instructions for modules and update the hook docs. Here's an overview of the changes: 1) Multiple Input formats: they are complete filter configurations (what filters to use, in what order and with which settings). Input formats are admin-definable, and usage of them is role-dependant. For example, you can set it up so that regular users can only use limited HTML, while admins can free HTML without any tag limitations. The input format can be chosen per content item (nodes, comments, blocks, ...) when you add/edit them. If only a single format is available, there is no choice, and nothing changes with before. The default install (and the upgrade) contains a basic set of formats which should satisfy the average user's needs. 2) Filters have toggles Because now you might want to enable a filter only on some input formats, an explicit toggle is provided by the filter system. Modules do not need to worry about it and filters that still have their own on/off switch should get rid of it. 3) Multiple filters per module This was necessary to accomodate the next change, and it's also a logical extension of the filter system. 4) Embedded PHP is now a filter Thanks to the multiple input formats, I was able to move the 'embedded PHP' feature from block.module, page.module and book.module into a simple filter which executes PHP code. This filter is part of filter.module, and by default there is an input format 'PHP', restricted to the administrator only, which contains this filter. This change means that block.module now passes custom block contents through the filter system. As well as from reducing code duplication and avoiding two type selectors for page/book nodes, you can now combine PHP code with other filters. 5) User-supplied PHP code now requires <?php ?> tags. This is required for teasers to work with PHP code. Because PHP evaluation is now just another step in the filter process, we can't do this. Also, because teasers are generated before filtering, this would result in errors when the teaser generation would cut off a piece of PHP code. Also, regular PHP syntax explicitly includes the <?php ?> tags for PHP files, so it makes sense to use the same convention for embedded PHP in Drupal. 6) Filter caching was added. Benchmarking shows that even for a simple setup (basic html filtering + legacy URL rewriting), filtercache can offer speedups. Unlike the old filtercache, this uses the normal cache table. 7) Filtertips were moved from help into a hook_filter_tips(). This was required to accomodate the fact that there are multiple filters per module, and that filter settings are format dependant. Shoehorning filter tips into _help was ugly and silly. The display of the filter tips is done through the input format selector, so filter_tips_short() no longer exists. 8) A more intelligent linebreak convertor was added, which doesn't stop working if you use block-level tags and which adds <p> tags.
* - Patch #9775 by TDobes: consistency operation. Changed to "edit foo," ↵Dries Buytaert2004-08-05
| | | | "delete foo," and "view foo" links into simply "edit," "delete," and "view".
* - Patch #8398 by TDobes: changed permissions for the blog, story, and page ↵Dries Buytaert2004-07-13
| | | | | | | | | modules (and all occurrances elsewhere) to match their 4.4.x equivalents. In the discussion when these permissions were introduced, it was decided that "edit own ..." was clearer, but "maintain personal ..." slipped into CVS HEAD anyway, while "edit own ..." landed in the 4.4.x branch. Changes are as follows: "maintain personal blog" -> "edit own blog" (aggregator.module, blog.module, blogapi.module) "maintain personal pages" -> "edit own pages" (page.module) "maintain personal stories" -> "edit own stories (story.module)
* - Patch #8382 by jseng/junyor: allows autodiscovery of BloggerAPI via RSD.Dries Buytaert2004-07-06
|
* - Patch by Steven and me: refactored the form handling of nodes. The node ↵Dries Buytaert2004-07-04
| | | | | | | | system is now using form_set_error() and friends like the rest of Drupal does. This makes for both a consistent user experience and consistent code. It simplifies the forms and validation code, however, it does change the node API slightly: * The _validate hook and the _nodeapi('validate') hook of the node API (1) no longer take an 'error' parameter and (2) should no longer return an error array. To set an error, call form_set_error(). * The _form hook of the node module no longer takes a form hook and should not worry about displaying errors. Ditto for _nodeapi('form_post') and _nodeapi('form_pre').
* Tabs patch!Dries Buytaert2004-06-18
| | | | | | | | | | | | | | | | | | CHANGES ------- + Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page. + Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'. + Grouped settings. All settings have been grouped under 'administer > settings'. TODO ---- + Update core themes: only Xtemplate default supports tabs and even those look ugly. Need help. + Update contributed modules. The menu() hook changed drastically. Updating your code adhere the new menu() function should be 90% of the work. Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').
* - Patch #8357 by Ax: added support for mt.getRecentPostTitles to theDries Buytaert2004-06-15
| | | | | blogapi module. Used by ecto. I changed '$titles_only' to '$bodies' as the patch favored '!$titles_only'.