Commit Graph

2196 Commits (4ffb22a81c2d332382ef9c508c926613ff754ac5)

Author SHA1 Message Date
Dries Buytaert 6dbd0bcfb4 - Patch #6500 by Mathias with help from Steven: made it possible to add fields to the registration form. This feature used to exist. 2004-09-19 13:28:11 +00:00
Steven Wittens 0ca171f2a9 - Adding menu callbacks to taxonomy admin. Before this patch, some admin pages only showed tabs and the wrong title. 2004-09-19 12:47:00 +00:00
Dries Buytaert 4e3a3aaed0 - Bugfix: using non numeric terms in taxonomy-page URLs would result in SQL errors. 2004-09-19 08:41:50 +00:00
Dries Buytaert 34fc0b882d - Patch #10922 by drumm: usability improvment: tabified the user account pages (login, register, request new password). 2004-09-19 08:33:53 +00:00
Steven Wittens a51fdd781a #9292: Minor PHP 5 fixes. 2004-09-19 00:27:46 +00:00
Steven Wittens ec287382ca - #10909: Aggregator's menu depends on its categories and sources, so when they change, menu_rebuild() needs to be called. 2004-09-18 02:09:03 +00:00
Steven Wittens cb953f8fde Removing dead code from poll.module. 2004-09-18 00:15:54 +00:00
Steven Wittens 30b69380af - #10689: Group permissions by module in UI + minor code cleanups.
- Adding a drupal_goto to the block admin.
2004-09-17 22:07:17 +00:00
Dries Buytaert 4b9926263c - Patch #10896 by ccourtne: user access rules for name were not enforced due to an incorrect URL. 2004-09-17 18:24:32 +00:00
Dries Buytaert 3ffde628c5 - Patch #8179 by JonBob: the legacy handlers and file upload previews were mistakenly cached when they cannot be. Attached patch fixes this as well as a reference to an undefined constant in legacy_menu(). 2004-09-17 18:08:28 +00:00
Steven Wittens 2f0221e9dd Fixing default of node_promote_blog to match node.module. 2004-09-17 18:00:16 +00:00
Dries Buytaert c4403eed12 - Patch #10603 by TDobes: bugfix: URL aliases got lost when deleting revision. 2004-09-16 14:32:51 +00:00
Dries Buytaert 5c7983c4de - Patch #8179 by JonBob: reintroduced menu caching. 2004-09-16 07:17:56 +00:00
Steven Wittens f8b429e963 #10862: Smarter filter cache wiping. 2004-09-15 20:34:35 +00:00
Steven Wittens 5595bc79c6 #10279: Adding a note to taxonomy_render_nodes when there are no nodes to show, rather than showing an empty page. 2004-09-14 22:55:40 +00:00
Steven Wittens a82b5143cf Removing useless 'read more' title attribute, as discussed. 2004-09-14 21:03:23 +00:00
Dries Buytaert bf3e513be3 - Roll back of earlier patch. 2004-09-14 20:59:04 +00:00
Dries Buytaert 1606163718 - Fixed SQL problem in _comment_update_node_statistics(). 2004-09-14 20:29:34 +00:00
Steven Wittens 9c9905d9a0 #10648: Fix watchdog-related tablesort coloring bug in IE, add support for <tr> attributes to theme_table() and reduce specificy of watchdog coloring CSS rules. 2004-09-14 20:01:00 +00:00
Dries Buytaert 5dfcdf0e28 - Patch #10830 by killes: bugfix: made sticky post feature work for blogs. 2004-09-14 20:00:03 +00:00
Dries Buytaert c09158c3f3 - Patch #10308 by Bart Jansens/ccourtne: fixed shadow copies.
- Patch #10308 by ccourtne: performance improvements: comment statistics are now cached in a new SQL table which significantly improves performance of the forum block and the forum pages.  These pages are about 3 times faster now!
2004-09-14 05:48:02 +00:00
Steven Wittens 93f193d7ad #8424: more meaningful link title=".." attributes for node_title_list(). 2004-09-14 02:28:37 +00:00
Steven Wittens 7771fab25c Aggregator.module: code comments say items older than 3 months get discarded automatically, but the limit in the code is in fact set for 2 weeks.
Changing to 3 months (caught by drumm).
2004-09-14 01:58:00 +00:00
Steven Wittens ad864fae9e Filter.module usability: the default format is implicitly accessible to everyone (prevents misconfigurations).
The role checkboxes are disabled in the admin interface for the default format.
2004-09-13 23:24:48 +00:00
Steven Wittens 9a38369d0c #10560: Upload.module
- removing file checks for uid #1 to be consistent with the roles/permissions.
- renaming script files to .txt's to prevent accidental execution (we don't allow them by default, but you never know)
2004-09-13 19:14:32 +00:00
Dries Buytaert 00ceea0986 - Fixed stupid 'SELECT u.* FROM users u WHERE LOWER(u.uid) = 'S' AND u.status < N LIMIT N, N' query. 2004-09-13 18:07:54 +00:00
Dries Buytaert 04ef7b1636 - Patch #10777 by ccourtne: performance improvement: the user module executes a query and never uses the results. 2004-09-13 09:00:27 +00:00
Dries Buytaert 2446f32c92 - Renamed the 'first day of week' setting to be more consistent with the other date settings. 2004-09-12 17:18:36 +00:00
Dries Buytaert d186dcc8c8 - Patch #10668 by drumm: moved the 'first day of week' settings to the system module for other modules to reuse. This is considered to be a usability improvement because it simplifies some pages/workflow. 2004-09-12 17:16:17 +00:00
Steven Wittens 8c07aaa9c7 #10733: fixing problems when creating users. 2004-09-12 12:47:51 +00:00
Steven Wittens f6033d29e7 #10733: fixing broken user registration due to roles selection patch. 2004-09-11 22:49:20 +00:00
Steven Wittens 90c1623b4d Typo: "are be" 2004-09-11 16:40:53 +00:00
Dries Buytaert 0308b8c3be - Usability improvement: made the page titles better match the link titles.
- Bugfix: fixed some incorrect colspan's.
2004-09-11 14:43:52 +00:00
Dries Buytaert 841d5a0cf8 - Bugfix: comment subject where not always enabled by default because the default value of comment_subject_field varies. 2004-09-11 13:45:23 +00:00
Kjartan Mannes c054ce2c3f - Fixing taxonomy descriptions in node_view links. 2004-09-11 13:19:03 +00:00
Dries Buytaert 2fddec3f6e - Removed 'aggressive' message. 2004-09-11 10:26:50 +00:00
Dries Buytaert 0ddee8ff09 - Patch #10718 by drumm: bugfix: it was possible to save a user with no roles assigned when the form clearly said at least one was required. The result of saving that was silently leaving the roles unchanged, which is rather bad. 2004-09-10 20:00:28 +00:00
Steven Wittens b75c1e1c8b Replace hardcoded <html lang="en"> with a locale dependant one. This is especially important for asian sites where this has an effect on font selection. 2004-09-09 13:36:01 +00:00
Steven Wittens e21c8812ea Tiny change to drupal_directory_page() in drupal.module to allow the site list to be sorted on any column (alphabetical is prone to abuse by prefixing the site name with quotes, dashes, hash, ...). 2004-09-09 10:24:10 +00:00
Dries Buytaert b84b6e42cf - Patch #10663 by JonBob: documentation improvements: fixed some typos and improved consistency to the use of Doxygen/api.module commands in the comments. 2004-09-09 05:51:08 +00:00
Dries Buytaert e891a8785c - Patch #10669 by Ax: bugfix: getting a post from latest Drupal into latest ecto yields an error "response contains string value where integer expected". 2004-09-09 05:15:38 +00:00
Dries Buytaert 0b1592c395 - Patch #10678 by drumm: usability improvement: one-liner to make the deletion message more consistent with the rest of Drupal. Use <em>-tags instead of single quotes. 2004-09-09 05:12:59 +00:00
Dries Buytaert 3f894f81e9 - Bugfix: removed bogus $name parameters.
TODO: when 'previewing' an existing node, the breadcrumb trail is incorrect.
2004-09-08 20:51:45 +00:00
Dries Buytaert 694b577b62 - Moved some documentation around and fixed a missing translation. 2004-09-08 18:46:41 +00:00
Dries Buytaert 2dedf5fbc3 - Modified patch #10644 by drumm: fixed some broken URLs. Patch modified to
use /user/$uid instead of /user/$uid/edit (where possible).
2004-09-08 18:39:14 +00:00
Dries Buytaert 7b716e8e77 - Patch #10622 by Adrian: fixes various PostgreSQL related problems.
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).
2004-09-08 15:38:26 +00:00
Dries Buytaert e1d7609710 - Patch #6464 by TDobes: don't enforce book revision -- rely on the default setting. 2004-09-07 21:55:23 +00:00
Kjartan Mannes df70600153 - Decode node type to userfriendly name. 2004-09-06 18:32:54 +00:00
Steven Wittens c76d5db8bd Node.module: teaser autogeneration should not overwrite user/module-supplied teaser data.
(makes excerpt.module possible)
2004-09-06 13:26:00 +00:00
Steven Wittens 42f1c0c93c Comment.module:
Comment previewing was broken since 1.263, resulting in a double page.
2004-09-05 10:29:38 +00:00
Steven Wittens e35674d4a2 Upload.module: add explicit cast to (array) for $node->files in case it's not set (e.g. nodes that don't take attachments). 2004-09-05 09:15:18 +00:00
Steven Wittens 738dd5f353 #9292: Minor PHP5 fix. 2004-09-03 01:48:06 +00:00
Steven Wittens 89b0a0a90e - #10398: User role settings corrupt after requesting new password. 2004-08-27 22:52:00 +00:00
Steven Wittens cdb6aa723b - #10342: PHP5 fix with undefined array. 2004-08-25 16:41:30 +00:00
Steven Wittens 674e2f493b Removing a left-over debug statement from Distributed Authentication. 2004-08-24 19:58:17 +00:00
Steven Wittens 44f341bebc Patch by me and Kjartan.
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.
2004-08-24 19:21:30 +00:00
Steven Wittens cdff29b0ab Book.module: <top-level> item didn't show up in parent selector. 2004-08-24 03:22:26 +00:00
Steven Wittens ad13675a4f - Fixing bug with PHP5 patch. 2004-08-23 00:44:02 +00:00
Steven Wittens 51cf18e531 - #9292: Make Drupal (somewhat) PHP5 compatible. xtemplate is still horribly broken. 2004-08-22 17:03:42 +00:00
Steven Wittens 98a9d5ee2d - #9576: Patch by TDobes, only allow the user to choose between enabled themes. 2004-08-22 14:43:49 +00:00
Steven Wittens 05714da2ec Locale:
- Fixing broken .po import (due to file.inc changes).
- Do not show error notice on import page when no languages have been added (no longer necessary due to ability to add-and-import in one step).
- Added a notice about importing possibly taking a while.
- Raised the PHP execution time limit for importing (if not in safe mode, similar to cron.php).
2004-08-21 21:13:29 +00:00
Dries Buytaert cc5df6e510 Patch #7603 by JonBob: emit absolute URLs where possible (even though it isn't strictly necessary). 2004-08-21 19:37:25 +00:00
Dries Buytaert cb3a404b75 - Patch #9942 by JonBob: fixed a typo: 'form' -> 'from'. 2004-08-21 16:53:49 +00:00
Dries Buytaert 8b8a2bd634 - Patch #10187 by JonBob: bugfix: added missing permission check. 2004-08-21 16:04:12 +00:00
Dries Buytaert d619ccc87e - Patch #10247 by Bart Jansens: bugfixes: added some missing braces and changed the default value in one variable_get so the same default value is used everywhere. 2004-08-21 15:57:25 +00:00
Dries Buytaert 6b116794d9 - Patch #10084: added 'edit own book page' permission: this makes the book
module consistent with the other node modules.
2004-08-21 15:37:01 +00:00
Dries Buytaert 03fa966c1f - Patch #9576 by TDobes: bugfix: fixed bug in recent theme system changes. 2004-08-21 10:16:13 +00:00
Dries Buytaert ab616a560a - Patch #10233 by Ax: code improvement: made sure the default filtered tags
are XHTML compliant.
2004-08-21 10:13:54 +00:00
Dries Buytaert 94e30bf776 - Patch by JonBob: for consistency and readability, add brief descriptions 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. 2004-08-21 06:42:38 +00:00
Dries Buytaert 6696028a75 - Patch by TDobes: bugfix: fixed a typo. 2004-08-21 06:34:59 +00:00
Steven Wittens 9f2d6f0e51 - Fixing 'flash of unstyled content' in bluemarine/pushbutton, which got reintroduced after the template changes.
- Fixed separate styles: added theme_get_styles() and the xtemplate {styles} tag to make sure stylesheets get included in the right order (drupal-specific, template-specific, style-specific).
- Fixing missing class on screenshots.
- Renamed drupal_get_theme_setting() and drupal_get_theme_settings() to theme_get_setting() and theme_get_settings().
2004-08-20 17:21:37 +00:00
Dries Buytaert 1a82f4d4db - Usability improvement: changed 'Status' to 'Enabled' because that is what
we use elsewhere.
2004-08-20 14:37:47 +00:00
Dries Buytaert 6ea5c56ded - Theme system changes. Please consult http://drupal.org/node/view/9576 for details. 2004-08-20 07:51:27 +00:00
Steven Wittens 9cb5f7cdf8 Avatar/picture fixes:
- Changing theme('image') so the automatic image size fetching can be toggled independently from attributes. Specifying attributes and autosizing are 2 different things.
- Suppressing PHP errors from getimagesize() using @. drupal_set_message() is used to report these errors already and in a much prettier way.
- #9958: Fixing broken displaying of avatars.
- Don't show the default avatar in 'edit my account' if the user has no avatar of his/her own.
- Added ability to delete avatars (without having to replace them).
2004-08-20 04:35:33 +00:00
Steven Wittens 2436854a82 user.module - Fixing incorrect t() replacement string. 2004-08-20 00:41:56 +00:00
Dries Buytaert fa25c7a0ca - Code improvements by Stefan: use capital letters for header titles (and added some missing t() functions). 2004-08-19 15:41:57 +00:00
Steven Wittens feb61eea86 Fixing incorrect default value of allowed_html at one instance. 2004-08-19 14:55:17 +00:00
Steven Wittens eb5d7d2a27 Fixed bad permissions in upload.module:
- Admin - upload only shows up for 'access administration section' perms
- Users without 'upload files' perm do not see the attachments form (and cannot attach even when sending their own http request)

Note: if a user can edit a node, but not 'upload files', then the attachments are left untouched (and cannot be changed).
2004-08-18 21:55:39 +00:00
Dries Buytaert db548f7579 - Bugfix, spotted by Gerhard: editing a book page did not update the author. 2004-08-18 20:46:28 +00:00
Dries Buytaert 83a739bd89 - Code improvements by Stefan: made all status messages consistent (and easier to translate). 2004-08-18 19:57:27 +00:00
Dries Buytaert 0e36182c96 - Code improvements by Stefan:
+ " -> '
   + Using form_set_error() instead of drupal_set_message().
   + Removed dead code.
2004-08-18 19:45:50 +00:00
Dries Buytaert 775153089d - Small change to the wording of the 'note'. 2004-08-18 06:08:04 +00:00
Steven Wittens 8050af67b3 Setting the default workflow for attachments by upload.module to be enabled.
This makes sense because people will expect attachments to work everywhere when they enable this module. This also matches comment.module's behaviour, where comments are allowed by default unless turned off.
2004-08-18 04:24:33 +00:00
Dries Buytaert 78b052a6af - The upload (filehandler) module has landed! 2004-08-17 21:35:26 +00:00
Steven Wittens d1d52fe478 Minor code clean-up in aggregator_configure(). 2004-08-17 17:37:26 +00:00
Dries Buytaert 5f9bea269c - Patch #10115 by James: bugfixes:
+ 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.
2004-08-16 20:32:32 +00:00
Dries Buytaert 451821abe7 - Patch #10110 by JonBob: code improvement: looks like we have an artifact from before clean URLs in node.module. This patch removes the global variable $mod, which is no longer set and not necessary here anyway. 2004-08-16 18:31:44 +00:00
Dries Buytaert 50cd304847 - Patch #7458: bugfix: reverted the conditional inclusion of xmlrpc.inc. 2004-08-16 18:29:11 +00:00
Dries Buytaert c39ac09b32 - Added missing ')'. 2004-08-16 18:06:08 +00:00
Dries Buytaert 2f33b939c5 - Patch #9983 by Stefan: usability improvement: made sure all status messages start with a capital letter. 2004-08-16 18:02:48 +00:00
Dries Buytaert 4545f798a9 - Patch #10103 by Gerhard: book module cleanup. 2004-08-16 17:54:24 +00:00
Dries Buytaert ef07dd08f4 - Patch #10102 by Gerhard: removing some cruft from the node module! 2004-08-16 17:51:12 +00:00
Dries Buytaert dd7764302f - Patch #10111 by Killes: fixed some SQL queries. 2004-08-16 17:42:36 +00:00
Dries Buytaert 3a259e9184 - Patch by James Seng and James Walkah:
* 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
2004-08-15 18:55:03 +00:00
Dries Buytaert 9a26352b9c - Patch #9864 by JonBob: better form validation in menu administration. 2004-08-15 16:42:59 +00:00
Dries Buytaert ba70b534b8 - Removed the offline users feature. 2004-08-15 14:23:28 +00:00
Steven Wittens 26cb5c1d54 #10013: Rolling back accidental commit of Adrian's template system changes (got in through the code style improvements patch). 2004-08-14 17:19:30 +00:00
Steven Wittens fc99c57d87 #6732: fixing bug 'once anonymous always anoymous' (nodes). 2004-08-14 17:05:32 +00:00
Steven Wittens 6a380525d4 #10012 - Profile.module:
- Restoring broken update path.
- Adding birthday/date function back, with update path.
- Show private fields when viewing your own profile, or for admins.
- Do not allow browsing of private fields for non admins (403)
- Throw a 404 for browsing unbrowsable fields, rather than an SQL error
- Fixing input processing: nothing is filtered twice anymore, and I replaced several strip_tags with specialchars (more flexible).
- Minor admin UI tweaks + added friendly field type names.
2004-08-14 11:54:31 +00:00
Dries Buytaert a3bd80b267 - Patch by Al: don't translate all help text upon every page view! 2004-08-14 07:22:39 +00:00