summaryrefslogtreecommitdiff
path: root/modules/blog/blog.module
Commit message (Collapse)AuthorAge
* - Patch #39778 by chx: obliterate nodeapi op form in favor of the forms ↵Dries Buytaert2005-12-05
| | | | API's way of doing things. Tested with help from webchick.
* - Patch #35644 by webchick: fixed the sizes of the textareas on the node ↵Dries Buytaert2005-11-23
| | | | edit forms.
* - Patch #35644 by webchick: forms API simplificiations.Dries Buytaert2005-11-12
|
* #36791: node_validate was called twiceSteven Wittens2005-11-12
|
* - Patch #26139 by webchick / Kieran / documentation team: improved admin ↵Dries Buytaert2005-11-01
| | | | help of core modules! /
* - 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.
* - Modified patch #30620 by Geary: 'personal blog entry' -> 'blog entry'.Dries Buytaert2005-09-28
| | | | Improves consistency.
* - Patch #10056: allow the node title forms to be customized.Dries Buytaert2005-09-23
|
* - Patch #3986 by James (and Boris :)):consolidated all feed-related settings ↵Dries Buytaert2005-09-18
| | | | | | | | | | | 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.
* - Patch #31123 by Ber: make it easier to theme the user profile pages.Dries Buytaert2005-09-14
|
* - Patch #7582 by Gerhard: updated the blog.module to use the new node revisions.Dries Buytaert2005-09-07
|
* - Renamed _node() to _node_info()! We reserve _node for _nodeapi.Dries Buytaert2005-08-29
|
* - 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
|
* - Removed some whitespaceDries Buytaert2005-07-31
|
* - #20668: Fix "username's blog" appearance rules.Steven Wittens2005-07-29
|
* - #26643: Restore accidentally lost "my blog" menu item.Steven Wittens2005-07-25
|
* - Patch #25634 by chx: simplified node_load().Dries Buytaert2005-07-17
|
* - Patch 7897: don't show blocks if they have no contentDries Buytaert2005-07-02
|
* - Code cleanup: improve format_plural usage, add some missing ↵Steven Wittens2005-05-31
| | | | placeholder/check calls, and introduce API for <link> tags.
* - #20910: Centralize print theme page fixesSteven Wittens2005-04-28
|
* - Patch 20910 by chx: centralize print theme page.Dries Buytaert2005-04-24
|
* - Patch #20312 by mif: fixed problem with blog_link().Dries Buytaert2005-04-12
|
* - Fixed bugs in RSS handling of blogs.Dries Buytaert2005-02-12
|
* - Patch #16111 by chx: generalized node_rewrite_query to db_rewrite_query.Dries Buytaert2005-01-29
|
* - Patch #16192 by Neil: moved the submission guidelines found in forum, ↵Dries Buytaert2005-01-26
| | | | story, and blog and the minimum number of words found in story and blog (blog had a slight bug) into the node module.
* - Patch #16021 by tangent: changed the format "/blog/feed/52" to ↵Dries Buytaert2005-01-25
| | | | "/blog/52/feed".
* - Patch #14731 by chx: made it possible to rewrite node queries.Dries Buytaert2005-01-16
|
* - Patch #13907 by Neil: less ways to set the page title.Dries Buytaert2004-12-15
| | | | | | | * 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.
* - Refactored the queue module: removed the queue module's field from the ↵Dries Buytaert2004-12-07
| | | | | | | | | | 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.
* - Patch #13443 by Moshe: got rid of the semi-implemented 'page link' ↵Dries Buytaert2004-11-24
| | | | feature. All themes currently support primary and secondary links so page links are now deprecated. Check your contributed modules and update them accordingly.
* - Patch #10990 by TDobes: adds a "create new blog entry" link at the top of ↵Dries Buytaert2004-11-24
| | | | each user's own blog page, similar to the "post new forum topic" link displayed at the top of forum pages. This adds consistency as well as convenience for users.
* - Patch by Stefan: wrapped the help texts in <p></p> tags. Helps improve ↵Dries Buytaert2004-11-23
| | | | consistency.
* - Patch #11875 by Neil Drumm: block module configuration improvements.Dries Buytaert2004-10-31
| | | | | | | | | | 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.
* - Patch #11879 by Moshe: deprecated the _content hook.Dries Buytaert2004-10-23
| | | | | | TODO: + Update Doxygen hook list (if required). + Document this in the developer's upgrade section.
* - Patch #10613 by Gerhard: calling a non-existent username or user ID in the ↵Dries Buytaert2004-10-09
| | | | blog module URL now returns a 404 error instead of an empty blog page.
* Modified version of #10230: Put placement of filter format selector in a ↵Steven Wittens2004-09-28
| | | | module's hands, and move it below the relevant textarea.
* - Patch #11045 by Stefan: improved consistency of node modules:Dries Buytaert2004-09-27
| | | | | | | + made the helptext under the 'Explanation or submission guidelines', more the same (blog & story); + made the form_set_error() texts consistent when the body of a blog/story does not match or exceeds the specified minimal numer of words. + used the $options for form_select() and form_radios() inline like we do in the rest of drupal; + made the textarea sizes for the submission pages the same for all node types and also for the 'Explanation or submission guidelines';
* - Revert some changes.Dries Buytaert2004-09-21
|
* - Patch #10977 by Gerhard: added missing node access controls for RSS feeds.Dries Buytaert2004-09-21
|
* - Patch #8179 by JonBob: reintroduced menu caching.Dries Buytaert2004-09-16
|
* - Roll back of earlier patch.Dries Buytaert2004-09-14
|
* - Patch #10830 by killes: bugfix: made sticky post feature work for blogs.Dries Buytaert2004-09-14
|
* - Patch #10622 by Adrian: fixes various PostgreSQL related problems.Dries Buytaert2004-09-08
| | | | | | | | | | | | | 1) Menu problems with Postgres (this is a highly critical 1 line fix) 2) Archive module fails with Postgres 3) Postgres setup problems - changes to database.pgsql (although i made these changes myself before finding this patch) 4) Book module fails with Postgres 5) Postgres problems following creation of a new type of user - which is actually about a taxonomy.module bug. 6) Creating accregator_item_table in PostgreSQL 7) Postgres - Polls not displayed on Poll Page 8) Blog module has sql errors with postgres This should not affect MySQL users (hopefully).
* Patch #7603 by JonBob: emit absolute URLs where possible (even though it ↵Dries Buytaert2004-08-21
| | | | isn't strictly necessary).
* - 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.
* - Patch #9983 by Stefan: various code style improvements.Dries Buytaert2004-08-12
|
* 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.