- 04 Jun, 2004 1 commit
-
-
Kjartan authored
-
- 02 Jun, 2004 2 commits
- 31 May, 2004 3 commits
-
-
Dries authored
- Reworked comment submission. It is less broken now.
-
Dries authored
- Improved form handling. + Introduced two new functions: 1. form_set_error($name, $message): files an error against the form element with the specified $name. 2. form_has_errors(): returns true if errors has been filed against form elements. + Updated the form handling: 1. The form_ functions will add 'class="error"' when a form field has been found to be erroneous. 2. The error message is passed to theme_form_element() when the particular form field has been found to be erroneous. + I updated the user and profile module to take advantage of these new functions. + IMPORTANT: the _user() hook changed. The 'validate' case should no longer retun an error message when something goes wrong but should set it with form_set_error().
- 24 May, 2004 1 commit
-
-
Dries authored
- Patch 7444 (#35) by Pablo. This patch addresses some issues with showing anonymous usernames in comments. It does not solve all my problems, but others claim it works as advertised. I'm committing this because it does fix some pending issues (even though that might not be the end of it).
-
- 20 May, 2004 1 commit
-
-
Dries authored
- Simplified the 'anonymous poster settings' of the comment module and made it possible to enforce a username/e-mail address. Based on James Seng's work there are now 3 radio buttons: ( ) Anonymous users may not enter contact information ( ) Anonymous users may leave contact information ( ) Anonymous users must leave contact information - Fixed a bug in the default theme_comment_view() function. - Added permalinks for comments. Requested by Michael and Christina. Maintainers of contributed themes might want to add permalinks too. TODO: - Fix the interaction design of the submission form: the page you are directed to and the validation of the contact information. - Changing the comment viewing options appears to be broken?
-
- 18 May, 2004 1 commit
-
-
Dries authored
- Made it possible for anonymous users to leave their name, e-mail address and the URL of their homepage. Patch by Pablo.
-
- 10 May, 2004 2 commits
- 03 May, 2004 1 commit
-
- 01 May, 2004 2 commits
- 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.
-
- 18 Apr, 2004 1 commit
-
-
Dries authored
- Fixed problem with global session variable that caused the wrong page to be rendered after posting a comment.
-
- 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.
-
- 21 Mar, 2004 1 commit
-
-
Dries authored
+ Updated the _user() hook's "$type == 'view'" case to match the "$type == 'edit'" case. That is, both have to return an associtive array of the format array('category' => 'fields'). + Updated the profile pages to group fields by category. Made possible thanks to the above change. + Moved logic out of the theme_ functions.
-
- 20 Mar, 2004 4 commits
- 12 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.
-
- 01 Mar, 2004 1 commit
-
-
Dries authored
- Removed broken throttle.
-
- 29 Feb, 2004 1 commit
-
- 15 Feb, 2004 2 commits
-
-
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 1 commit
-
-
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
-
- 10 Feb, 2004 1 commit
-
- 07 Feb, 2004 2 commits
-
-
Dries authored
+ Tidied up the profile configuration page: grouped form elements. + Tidied up the block configuration settings: removed hard-coded table. + Changed the profile API to return the preferred group name, and changed the user module to group settings. Modules implementing the _user hook will need to be udpated. + Removed register_form and register_validate for now.
-
- 31 Jan, 2004 1 commit
-
-
Dries authored
- Patch by Goba: added form descriptions where appropriate and removed some duplicated code from the comment module.
-
- 29 Jan, 2004 1 commit
-
-
Kjartan authored
-
- 27 Jan, 2004 1 commit
-
-
Dries authored
- Patch 4332 by Goba: eliminate compose tips module.
-
- 26 Jan, 2004 1 commit
-
-
Dries authored
- Patch #5393 by Goba: changes the search hook return value, and requires an 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)
-
- 23 Jan, 2004 1 commit
-
-
Dries authored
Patch 5287 by Stefan: multiline help texts should become inside a single $output.
-
- 21 Jan, 2004 1 commit
-
-
Dries authored
- Patch 5283 by Stefan: fixed typos in comment module.
-