summaryrefslogtreecommitdiff
path: root/modules/node.module
Commit message (Collapse)AuthorAge
* - Added revisions tab to node view (when needed)Steven Wittens2004-07-04
| | | | - Updated node.module to use drupal_goto after submission: this allows people to refresh after submission without any problems.
* - 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').
* - Made it possible to edit blog posts and made the blog module use tabs.Dries Buytaert2004-07-04
|
* - Patch #8973 by JonBob: Drupal contains many undefined variables and array ↵Dries Buytaert2004-07-02
| | | | indices, which makes PHP throw a lot of warnings when the reporting level is set to E_ALL. Things run fine with these warnings, but as a matter of code style if nothing else we should probably strive to avoid them. The attached fixes most of the more egregious offenders (about 95% of the warnings when I load /node on my test site).
* - Patch #8747 by JonBob: extended and standardized node.module DoxygenDries Buytaert2004-06-22
| | | | comments, and made formatting and quote usage more consistent.
* - Patch #8670 by asimmonds: more spelling fixes.Dries Buytaert2004-06-21
|
* - Patch #8713 by stefan: changed some 'node's to 'post's. Usability ↵Dries Buytaert2004-06-21
| | | | improvement.
* - Patch #8681 by stefan: fixed some broken URLs and help texts.Dries Buytaert2004-06-20
|
* - Patch #8679 by asimmonds: fixed spelling mistakes.Dries Buytaert2004-06-20
|
* - Patch #7696 by TDobes: renamed 'static' to 'sticky' which is a moreDries Buytaert2004-06-19
| | | | logical name. Requires a database upgrade.
* - Patch #8619 by TDobes: fixed typo in watchdog message.Dries Buytaert2004-06-19
|
* 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').
* - Partial patch #8284 by jseng: made the RSS auto-discovery URL absolute ↵Dries Buytaert2004-06-17
| | | | even though that is not strictly necessary.
* Quick improvement to autoteaser generation:Steven Wittens2004-06-10
| | | | added double-width dot and comma, and right-to-left question mark as sentence boundaries.
* - Patch #4950 by Stefan (and Morbus): made watchdog messages translatable.Dries Buytaert2004-06-02
|
* - Patch #7096 by bylund: fixed a bug with the node filters at the node ↵Dries Buytaert2004-05-03
| | | | administration page (administration > content)
* - Patch #6612 by JonBob: extended the node API with new hooks.Dries Buytaert2004-04-28
|
* - Patch #6444 by Junyor: allow modules to change the 'changed' timestamp of ↵Dries Buytaert2004-04-24
| | | | nodes.
* - Added support for 403 handling. Patch by JonBob. As a side benefit,Dries Buytaert2004-04-21
| | | | | | | | administrators will be able to define a custom 403 page, just as they can define 404 pages now. This needs to be documented in the "Changes since / migrating to ..." pages.
* - Patch by JonBob/Jonathan: reworked the menu system so that menus areDries Buytaert2004-04-15
| | | | | | | | | | | | configurable! Menu items can be disabled, repositioned, added and so on. Upgrading to requires you to run update.php. This functionality depricates some of the 'navigation modules' in the contributions repository. Furthermore, modules can now 'suggest' menu items and site adminstrators can choose to enable them. Modules in the contributions repository should try to take advantage of this.
* Truncate UTF-8 patch. Introduced a new function truncate_utf8() for chopping ↵Steven Wittens2004-04-15
| | | | off strings at unsure locations, without risking incomplete UTF-8 data.
* Missing semi-colon for HTML entity.Steven Wittens2004-04-05
|
* Patch #5588 by bylund: XHTML improvements: <i> -> <em> and <b> -> <strong>.Dries Buytaert2004-03-20
|
* - Rewrote the profile module:Dries Buytaert2004-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + Added a 'created' field to the users table and renamed the 'timestamp' fied to 'changed' (cfr. node table). Update.php will try to determine a 'created' timestamp for existing users. + The profile module no longer uses serialized data but has its own set of tables. Known existing profile data is migrated by these new tables. TODO: migrate the birthday field. + The profile fields can be grouped, and within each group, profile fields can be sorted using weights. + The profile pages can be themed. + The profiles can be browsed based on certain properties/settings. + Change the _user hook: (i) 'private_view' and 'public_view' are merged into 'view' as there are no private fields and (ii) 'edit_form' has been renamed to 'edit'. + Avatar handling has been refactored and is now part of the user module. The users table has a dedicted 'picture' field. + Simplified the way themes should use display/visualize pictures or avatars. + Made it possible for administrators to replace or delete avatars. + ... I hope this make for a good base to build on collectively.
* - Patch #4902 by Goba: fix URLs in RSS feeds.Dries Buytaert2004-03-06
| | | | | | + Make all channel links absolute. + Always set the $base_url as xml:base, thus providing a solid base for relative URLs.
* - Patch 6140 by Goba: fix the 'read more'-link behavior.Dries Buytaert2004-03-06
|
* - Removed broken throttle.Dries Buytaert2004-03-01
|
* - Patch #6129 by Goba: fixed dependencies on search module.Dries Buytaert2004-02-29
|
* - Patch 6066 by Adrian: PostgreSQL does not return 'affected rows' when doingDries Buytaert2004-02-26
| | | | | | | | a select statement. Even though PEAR supports this functionality, it fails silently when using PostgreSQL. We use the db_num_rows() function instead to return the amount of rows returned. (According to Killes, the MySQL manual also states that it should not return affected rows on a 'select' statement.)
* - Added a short note about the node-trim-length setting. Many people seem to ↵Steven Wittens2004-02-19
| | | | expect that changing it updates existing teasers too.
* - Patch 5683 by JonBob: changes the multiple type delimiter from / to -.Dries Buytaert2004-02-16
|
* - Patch by Steven: removed redundant permission checks. These are no longerDries Buytaert2004-02-15
| | | | required thanks to the new 404 handling.
* - Patch 5592 by Goba: introduced a new function, drupal_map_assoc().Dries Buytaert2004-02-12
|
* - Patch 4902 by Goba:Dries Buytaert2004-02-11
| | | | | | | | | | | | | + only adds an optional parameter to url() and l(), so individual links can be set to be absolute + modifies drupal_goto() to accept the parameters of url() without the $absolute parameter, so cleaner invocations can be used + rework of some code in node_feed, making it much better to look at (the current code uses foreach with an immediate brake to get the first key of the associative array, geeeeez) + added xml:base to the rss tag generated by node_feed() + set all user mail URLs to be absolute + fix a small fragmented URL in user.module
* - Patch by Gerhard: fixed instance of format_pluralDries Buytaert2004-02-11
|
* - Improved welcome messageSteven Wittens2004-02-09
|
* - Modified format_date() to handle timezones properly.Kjartan Mannes2004-02-08
|
* - Added a welcome message written by Steven.Dries Buytaert2004-02-08
|
* - Removing timezone fix that crept in.Kjartan Mannes2004-02-08
|
* - Fixed codying style, typos, osbolete help.Kjartan Mannes2004-02-08
|
* - Fixed problem with multiple node types. Patch by JonBob.Dries Buytaert2004-02-06
|
* Rolling back a couple of incorrect replacements in Dries' ↵Steven Wittens2004-02-02
| | | | double-to-single-quotes patch.
* - Changed 1100+ double quotes to single quotes.Dries Buytaert2004-02-01
|
* - Patch #5575 by Stefan: fixed invalid XHTML code in the node and taxonomy ↵Dries Buytaert2004-02-01
| | | | module.
* - Patch #5526 by Kjartan: cleaned up node_page(), show a 404 when the nodeDries Buytaert2004-01-31
| | | | could not be found.
* - Modified node and comments to not be marked as new when they are 30 days old.Kjartan Mannes2004-01-29
|
* - Patch 5049 by JonBob: allow a module to define multiple node types.Dries Buytaert2004-01-27
|
* - Patch #5393 by Goba: changes the search hook return value, and requires an ↵Dries Buytaert2004-01-26
| | | | | | | | | | | array containing two elements, the first being the requested title, and the second being the result list. Advantages: * Cleaner search code in common.inc * Po extraction is possible and works fine * No hardcoded exceptions for node and comment modules, since any module can return results in order of relevance (or another order)
* Patch 5287 by Stefan: multiline help texts should become inside a single ↵Dries Buytaert2004-01-23
| | | | $output.
* - Removed the $help parameter from the _form hook. The help, typicallyDries Buytaert2004-01-17
| | | | submission guidelines, should be emmitted using the _help hook.