- 04 Jul, 2004 2 commits
-
-
Dries authored
- Patch by Steven and me: refactored the form handling of nodes. The node 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').
-
Dries authored
- Made it possible to edit blog posts and made the blog module use tabs.
-
- 02 Jul, 2004 1 commit
-
-
Dries authored
- Patch #8973 by JonBob: Drupal contains many undefined variables and array 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).
-
- 22 Jun, 2004 1 commit
-
- 21 Jun, 2004 2 commits
- 20 Jun, 2004 2 commits
- 19 Jun, 2004 2 commits
-
-
Dries authored
- 18 Jun, 2004 1 commit
-
-
Dries authored
Tabs patch! 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').
-
- 17 Jun, 2004 1 commit
-
- 10 Jun, 2004 1 commit
-
-
Steven Wittens authored
added double-width dot and comma, and right-to-left question mark as sentence boundaries.
-
- 02 Jun, 2004 1 commit
-
-
Dries authored
-
- 03 May, 2004 1 commit
-
- 28 Apr, 2004 1 commit
-
- 24 Apr, 2004 1 commit
-
-
Dries authored
-
- 21 Apr, 2004 1 commit
-
-
Dries authored
- Added support for 403 handling. Patch by JonBob. As a side benefit, 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.
-
- 15 Apr, 2004 2 commits
-
-
Dries authored
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.
-
Steven Wittens authored
Truncate UTF-8 patch. Introduced a new function truncate_utf8() for chopping off strings at unsure locations, without risking incomplete UTF-8 data.
-
- 05 Apr, 2004 1 commit
-
-
Steven Wittens authored
-
- 20 Mar, 2004 1 commit
-
-
Dries authored
-
- 11 Mar, 2004 1 commit
-
-
Dries authored
- Rewrote the profile module: + 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.
-
- 06 Mar, 2004 2 commits
-
-
Dries authored
- Patch 6140 by Goba: fix the 'read more'-link behavior.
- 01 Mar, 2004 1 commit
-
-
Dries authored
- Removed broken throttle.
-
- 29 Feb, 2004 1 commit
-
- 26 Feb, 2004 1 commit
-
-
Dries authored
- Patch 6066 by Adrian: PostgreSQL does not return 'affected rows' when doing 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.)
-
- 19 Feb, 2004 1 commit
-
-
Steven Wittens authored
- Added a short note about the node-trim-length setting. Many people seem to expect that changing it updates existing teasers too.
-
- 16 Feb, 2004 1 commit
-
-
Dries authored
- Patch 5683 by JonBob: changes the multiple type delimiter from / to -.
-
- 15 Feb, 2004 1 commit
-
-
Dries authored
- Patch by Steven: removed redundant permission checks. These are no longer required thanks to the new 404 handling.
-
- 12 Feb, 2004 1 commit
-
-
Dries authored
- Patch 5592 by Goba: introduced a new function, drupal_map_assoc().
-
- 11 Feb, 2004 2 commits
-
-
Dries authored
+ 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
-
Dries authored
-
- 09 Feb, 2004 1 commit
-
-
Steven Wittens authored
-
- 08 Feb, 2004 4 commits
- 06 Feb, 2004 1 commit
-
-
Dries authored
-