Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
- Patch #640064 by yoroy: shorten the help text on /admin/config/regional/language.
- Patch #624290 by peximo: improved assumptions about default comment language.
#606526 by axyjo and scor: Remove trailing whitespace and add newlines at end of files. Sorry, folks! But it is after code freeze. :)
#320331 by Dave Reid, dww, John Morahan, cwgordon7, moshe weitzman, c960657, and smoothify: Turn custom_url_rewrite_inbound() and custom_url_rewrite_outbound() into hooks.
#600974 by effulgentsia, JohnAlbin, sun, and Damien Tournoud: Allow theme functions to take one argument without any hacks. NOTE: This is an API change in hook_theme().
#606640 by eojthebrave and sun: Use proper menu router paths for the block module.
#565480 by plach and peximo: TF #2: Multilingual field handling. Integration between field API and locale module + translatable node bodies.
- Patch #11623 by sun, stella, Gábor Hojtsy, Pancho: add ability to localize date formats.
#118345 by sun: Make user.module conform to standard presave/insert/update/form_alter hook paradigm.
#282191 by plach, nedjo, catch, et al: TF #1: Allow different interface language for the same path.
- Patch #572618 by effulgentsia, pwolanin, sun: all theme functions should take a single argument. Code clean-up and performance improvement. Woot.
- Patch #118345 by sun | nedjo, pwolanin, webchick: DIE hook_user_form() + hook_user_register() DIE!
- Patch #495968 by Frando, moshe weitzman: added drupal_render() cache pattern. Start using it for blocks.
- Patch #560746 by dropcube: rename hook_block_list() to hook_block_info() for consistency in the API.
#497118 by chx, catch, pwolanin, JoshuaRogers, and Jacob Singh: Remove the function registry. While the hope was that this would result in improved performance for low-end hosts, it comes at the expense of critical development experience problems and less benefit than something like APC. Class registry remains intact to facilitate autoloading.
Of all the patches to accidentally commit without a message. :( Rolling back registry rip. Let's try that again.
*** empty log message ***
#542658 follow-up by sun: Move action 'tabs' out of local tasks and into local actions.
#326539 by JohnAlbin, sun, cha0s, ultimateboy, Rob Loach, Damien Tournoud: Convert 'class' attribute to use an array, not a string.
- Patch #552958 by Gábor Hojtsy: create 'regional and language' section in 'configuration and modules'.
- Patch #251792 by pwolanin, Damien Tournoud, slantview, c960657: added a locking framework for long running operations.
#517814 by jmstacey, justinrandell, pwolanin, drewish, Jody Lynn, aaron, dopry, and c960657: Converted File API to stream wrappers, for enhanced private/public file handling, and the ability to reference other storage mechanisms such as s3:// and flicker://.
- Patch #491972 by Berdir, webchick: clean-up of user/profile related hooks and APIs.
- Patch #508458 by catch, Gábor Hojtsy, yoroy: created 'Configuration and modules' section so we can start moving over configuration items. Let's see how this goes ...
- Patch #537678 by Bojhan: remove drag-and-drop help text.
- Patch #92877 by mfer, Rob Loach, Damien Tournoud, et al: add numeric weight to drupal_add_css.
- Patch #521474 by bangpound, JuliaKM et al: rename admin/site-building to admin/structure.
- Patch #506976 by catch: rename hook_perm to hook_permission.
- Patch #334283 by Damien Tournoud, andypost, Freso et al: add context to t() to help deal with ambigious strings (and improved the locale APIs a bit). Example: May is both a short month name as a long month name in English, but not necessarily in other languages.
- Patch #472642 by stella, agentrickard: remove 'implementation of' nominalizations from Docblocks.
- Patch #473366 by Berdir: convert locale module to the new database abstraction layer.
#296693 by Damien Tournoud, boombatower, sun, and Xano: Hide parent administrative menu items when user has no access to any of their children.
#368064 by catch: Provide a top-level 'International' menu item for localization and translation-related items.
#203323 by JirkaRybka, robertgarrigos, lilou, thePanz, c960657, sun: move the LANGUAGE_* constants to bootstrap.inc and remove several defined() checks on them now that they are always defined
#52990 by Roger López: Vastly improve translation string search and editing interface.
#287178 by justinrandell: Break up various hook_form_alter()s to hook_form_FORM_ID_alters().
#203323 by JirkaRybka, robertgarrigos, thePanz, c960657, and sun: Fix undefined index locale in install.php and clean up crufty code.
- Patch #345866 by alexanderpas, justinrandell, Dave Reid: remove from hook_block().
- Patch #344661 by Dave Reid: API doc improvements for hook_translation_link_alter.
#315801 by Rob Loach, Grugnoh2, mfer and dmitrig01: Add a hook_js_alter() to modify JavaScript being printed to the page.
#315798 by Rob Loach, mfer, Grugnog2, and sun: Add weighting to drupal_add_js().
- Patch #315797 by mfer, Rob Loach, et al: rework the parameter of drupal_add_js.
#295626 by Damien Tournoud, wuf31, drewish: locale_block() generated incorrect paths for frontpage links
#282405 by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif.
#295626 by wuf31 and Damien Tournoud: Fix incorrect path for front page in locale_block().
#313213 by maartenvg, Gábor Hojtsy: Add a 'title' attribute for permissions to allow for localization of permission names
- Patch #310212 by justinrandell, catch, et all: killed in _user hook, as well as two small kittens.
- Patch #283201 by pwolanin, Dries: use code registry properly for locale page callbacks.
- Patch #296197 by Gabor and meba: better document the drag and drop language feature.
#259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths.
- Patch #305436 by Damien Tournoud, lelutin: fixed unclosed <li> tag in the context-sensitive help.
#305436 by lelutin and Damien Tournoud: Fix broken closing tag.
- Patch #243063 by GoofyX: fixed typo in context-sensitve help.
- Patch #243063 by GoofyX: fixed typo in context-sensitve help.
- Patch #245329 by christefano and dmitrig01: code comment love.
- Patch #280628 by catch et al: added missing confirm form.
Drupal 5.8.
Drupal 6.3
- Patch #277073 by threexk: improve consistency of offline vs off-line and online vs on-line.
- Patch #249546 by pwolanin: rip menu access inheritance -- was already committed to D6.
- Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators.
- Patch #216072 by recidive, David Rothstein, ptalindstrom et al: switched from numeric block IDs to string IDs.
The short explanation is that Drupal uses a lot of numeric deltas in the block system; blocks are identified by the 'module' and the 'delta'. In early Drupal, delta was numeric, but somewhere along the line it was changed to be possibly a string. In modern Drupal, block overrides are easily done via block-MODULE-DELTA.tpl.php. The primary motivation to switch to string IDs everywhere is to make these deltas friendlier to themers:
block-user-0.tpl.php --> block-user-navigation.tpl.php
block-user-1.tpl.php --> block-user-login.tpl.php
You get the picture.
Drupal 6.2
- Patch #30984 by webchick, keith.smith, kkaefer, Crell et al: provide descriptions for permissions on the permission administration page.
- Patch #210131 by dvessel, catch, John, et al: updated jQuery library.
Translating menu items and taxonomies is not a core feature, so do not mislead users. Noticed while translating to Hungarian.
#206021 by dropcube and myself: language content type settings were not properly namespaced
#204946 by theborg, keith.smith: only tell users their language setting will be used for interface presentation, when this actually happens
#206232 follow up by chx: set locale() cache to NULL when resetting
#206232 by chx with a bit of cleanup: add in-memory reset clearing to locale() to help it interact with simpletests, which are not reloading the Drupal instance on form submits
#205334 by hass: if more then 5 languages are available, use a dropdown not a radio button list (usability)
- Patch #204221 by webernet: code style fixes.
#202473 by keith.smith: pre-RC1 spell checking on hopefully final text
#189880 by keith.smith based on initial suggestions from O Govinda: much better help texts and descriptions for locale module, actually explaining its extended feature set in Drupal 6.
#200069 by keith.smith: new standard for 'more information' links in module help texts, as the handbook we referred to before was renamed
#193320 by JirkaRybka: _locale_rebuild_js() was invoked on every page view, now optimized
#193905 report by greggles, patch by myself: the user account page changed language to the last language set up
#175876 by hazexp, webernet, keith.smith: unify module/theme/translation download links and include more pointers to these locations
#194595 report by hass, patch by myself: native language name is required, so we need to fill it in the updates - also omit it in user listing if the same as the translated language name
#154517 by Desbeers: fix locale form alter to properly alter the path alias addition form
#186977 by openwereld: LIMIT on locale module UPDATE query is not needed and is even not PostreSQL compatible, so remove
#184867 by deekayen, catch and keith.smith: fix some spelling errors in our source code and messages printed
#183056 by JirkaRybka: improve locale cache handling performance - always prune the whole cache as string additions affect all languages - rebuild the language caches as needed, distributing this load among page requests
#169079 by yched: improve consistency of menu API and batch API by allowing batch definition in non .module files, which opens the possibility of better performing batches (which are likely to reside in .admin.inc files generally) - apply this change in locale.module - improve batch API code documentation
#179234 by myself: language code regular experssion was too greedy for simple langcode.po names
#175593 by JirkaRybka: fix help text about textgroups, rewording a misleading example
- Patch #172961 by webernet: code style cleanup.
#171646 by JirkaRybka: store version usage information for every source string, optimize caching and prune the initially unused strings
#171562 by JirkaRybka: fix several issues with locales - make searches work again, better worded - do not cache English stuff - fix strike through on string seek page - fix exports for translations
- Patch #80951 by killes, yched et al: block caching.
#156429 by GreenMother: kill notices if form ID does not exist
#156143 noted by Arancaytar, pathc by myself: user_language() was named user_preferred_language()
- Patch #155986 by Uwe: fixed typos.
#82499 by Jose A Reyero and a little bit from myself: send emails localized in the language needed in specific situations, and centralize mail composing operations with hook_mail()
- Patch #120360 by nedjo: enable AJAX by making all behaviours reattachable.
#141996 by Jose A Reyero and myself: translation block to switch interface languages by default, and even content languages, when a translation module provides the alternate links
#154064 by pwolanin: get hook_help() up to speed to menu changes, allowing router path based lookups, and also full path argument lookup with a passed argument array
- Patch #131026 by James et al: OpenID client support for Drupal! Let this be the day where we help revolutionize the online society, and the way websites and web services interoperate. Or something.
#150521 by myself: streamline locale runtime performance and clean up code by not storing empty translations
#151410 by myself: allow modules to watch for the exact strings used on a page
- Patch #115267 by drewish, dopry et al: simplified file uploads code, improved file API, centralized file validation, implemented quotas and fixed file previews.
#147640 by Jose A Reyero with further cleanup by myself: add language code to localization functions This makes it possible to call these functions with a given language code when sending emails to multiple users with different languages in a request for example.
- Patch #146470 by Eaton et al: standardize form API3 hook parameter order.
- Patch #145671 by Gabor: import translation files when adding a new language.
#144496 by myself: import translations for newly installed modules and enabled themes; as a side effect, improve usability of the module screen by performing module changes all at once
#143249 by Jose A Reyero: add language parameter to t() to make it possible to retrieve translations of strings for different languages, to send emails to users in their own language for example
- Patch #139970 by Gabor: locale cleanup.
- Patch #128082 by Goba et al: Allow localization of built-in menu items.
- Patch #137415 by slantview: simplified the cache API/usages, and made it a tad smarter. Makes it easier to program for, and easier to replace. Will need to be documented.
- Patch #137376 by Gabor: add language support to nodes.
- Patch #76588 by Gabor: made log messages translatable. Yay.
- Patch #118660 by agentrickard: re-order arguments of cache_set() to match PHP/Drupal conventions.
- Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot.
- Patch #128866 by Gabor and erdemkose: make it impossible to delete the default language or the English language.
- Patch #128866 by Gabor et al: new language subsystem fixes.
- Patch #128866 by chx: fixed broken confirm form.
- Patch #128866 by Gabor, Steven, chx, Jose et al: new language subsystem.
- Patch #98359 by Robroy and webchick: string clean-up: web site -> website
- Patch #117826 by kkaefer: move the localization menu to site building.
- Patch #113603 by chx: first crack at re-implementing tabs.
- Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks.
- Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet.
#105309 by Gábor Hojtsy. Translate language name selection on user edit pages.
#100563: Conditional loading of (some) module.css files
#97824 by Gurpartap. Move enclosing elements outside of their t().
- Patch # #98366 by webchick and ac: simplified strings for translators.
- Patch #92992 by webchick and neclimdul: clean up documentation that is superseded by the new 'by module' administration dashboard.
- Patch #98359 by webchick and webernet: standardize on terminology: 'website' and 'web page'.
#98359 by webchick. Change 'web site' to more common usage, 'website.'
- Patch #89454 by chx: made deleting a locale language work.
#84146: Use 'Sentence capitalization' for menu items, page titles, form items, etc
#80867 by stefano73 and asimmonds. Fix editing and deleting locale strings.
- Patch #80952 by earl, webchick, neclimdul et al: .info files
- Patch #72290 by killes: split up the cache table.
- Patch #77919 by chx, eaton, moshe, et al: enable programmaticaly submitted forms via the pull model.
#76802: Introduce placeholder magic into t() See: http://drupal.org/node/64279#t-placeholders
#77183 by m3avrck and timcn, split up drupal.css by module.
- Patch #77422 by timcn: corrected various paths in the documentation.
#73884 by RobRoy, various code cleanup.
- Patch #72079 by Earl et al: give Drupal an overall administration page ... :-)
#71625 by keve, fix checking of an object exists.
#61802 by Zen, Double spaced sentences clean up
#52911, locale : fapi conversion + fixes, patch by Zen.
- Patch #52324 by chx: fixed warnings when inserting locale strings.
- Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.)
- Patch #19444 by Gerhard: added missing initialization of array.
- Patch #44136 by riccardoR: can't enable more than one language.
- #41940: Locale string search broken in some cases (and remove some inappropriate db_escape_string() usage) - #43491: Missing drupal_goto() after saving settings
- Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! /
- #33433: More form API fixes, and error handling improvements by Chx.
- Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes.
- Patch #29465: new form API by Adrian et al. 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.
- Patch #30122 by m3verick: changed include_once()'s to include "./$file" for performance's sake.
- Patch #29385 by chx: no ?> add end of files.
- Patch #15595 by Stefan and Djun: improved status messages.
TODO: we should write down a couple guidelines for these document them in
the PHPDoc code of drupal_set_message()! .
- Patch by Robert: fixed typo in code comments.
- Patch by Robert: fixed typo in code comments.
- Patch 20910 by chx: centralize print theme page.
- #18817: Clean up plain-text checking (see drupal-devel!)
#18329: Unify confirmation messages (and make them themable)
- Patch #13260 by UnConeD: watchdog module improvements.
We added a 'severity' column to watchdog():
watchdog($type, $message, $link) --> watchdog($type, $message, $severity, $link);
* Specify a severity in case you are reporting a warning or error.
* The $link-parameter is now the fourth parameter instead of the third.
TODO: document this in the upgrade guide.
- Bug 13503: updating the locale settings might impact the interface (eg. menu's) so we have to flush the cache.
- Bug 13503: updating the locale settings might impact the interface (eg. menu's) so we have to flush the cache.
- Patch 13180 by chx: renamed check_query() to db_escape_string() and implemtented it properly per database backend. Read the manual for pg_escape_string: "Use of this function is recommended instead of addslashes()." Or read sqlite_escape_string: "addslashes() should NOT be used to quote your strings for SQLite queries; it will lead to strange results when retrieving your data."
#12146: Improve locale import/export messages (Stefan)
#12146: Improve locale import/export messages (Stefan)
- Patch #11728 by Uwe Hermann: fixed some typos in the code comments, Doxygen documentation and screen output. Uwe: I dropped the 'iff' chunks as 'iff' stands for 'if and only if'.
- Patch #11728 by Uwe Hermann: fixed some typos in the code comments, Doxygen documentation and screen output. Uwe: I dropped the 'iff' chunks as 'iff' stands for 'if and only if'.
#10677: Confirmation when deleting a block + unifying confirmation screens.
- Patch #11179 by stefan: fixed broken URL in context sensitive help.
- Patch #8179 by JonBob: reintroduced menu caching.
- Moved some documentation around and fixed a missing translation.
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).
- 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.
- Code improvements by Stefan: made all status messages consistent (and easier to translate).
- Patch #10111 by Killes: fixed some SQL queries.
- Patch #9983 by Stefan: various code style improvements.
- New locale module thanks to Gerhard, Goba, Marco, Kristjan and others. The new locale module provides every functionality on the web interface, so you don't need to edit the configuration files or add columns, when you add a new language. This module is an integration of the old locale and localegettext modules, plus a bunch of logic to parse Gettext Portable Object files (opposed to Machine Object files, as supported by localegettext). Note: I made some minor changes to the context-sensitive help texts and to some of the status messages.
- Patch #9481 by JonBob: fixed small typo in help text.
- Patch #9481 by JonBob: fixed small typo in help text.
I refactored quite a bit of the user.module: $ diffstat user.patch database/database.mysql | 4 database/database.pgsql | 2 database/updates.inc | 10 - modules/block.module | 20 +- modules/locale.module | 9 modules/profile.module | 108 +++++++---- modules/system.module | 8 modules/user.module | 456 +++++++++++++++++++----------------------------- 8 files changed, 289 insertions(+), 328 deletions(-) More functionality, less code. Here is a list of the changes: - Some user API changes: + When $type is 'form', you have to return an associative array of groups. In turn, each group is an array with a 'title', 'data' and 'weight'. + A new $type has been added, namely 'categories'. User settings can be organized in categories. Categories can be sorted, as can the groups within a category. (Ordering 'categories' is somewhat broken due to a bug in the menu system.) - The 'my account > edit' page will use subtabs for each 'category'. Read: you can break down the account settings into multiple subpages. - Profile module improvements: + Added support for private fields to the profile module! + Improved workflow of profile administration pages. + Improved the form descriptions. - Code improvements: + Unified user_edit() and user_admin_edit(). + Unified and cleaned up the validation code. Fixed some validation glitches too.
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').
- Fixed sitewide timezone settings not being saved. - Making sure profile fields are saved properly.
- 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.
- Patch by JonBob/Jonathan: reworked the menu system so that menus are 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.
- 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.
- Patch by Steven: removed redundant permission checks. These are no longer required thanks to the new 404 handling.
- Patch #5613 by Goba: fixed translation issue with archive module and removed some locale module code that is now part of extractor.php.
- First batch of profile module improvements:
+ 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.
- Patch #5567 by Goba: fixed t() functions, cleanup of locale module's help, fixed translation issues in taxonomy module, etc.
- Patch 5246 by Stefan: usability improvements for the locale module.
- Patch #5021: clean up URLs in _help texts. Patch by UnConeD.
- Locale module improvements: better performance, reduce memory footprint. Patch by Bart.
- Updated the calls to menu() to use MENU_HIDE instead of 1
- Improvements by Goba:
+ removes the lots of pagers and indirect pager themeing
+ add the theme_pager() function, which should be called as
theme("pager", ...) to get a pager.
- Introduced a drupal_set_message() and drupal_get_message() function.
Contributed themes and modules need to be updated:
- modules: status() is no more; use drupal_set_message() instead.
- themes: use drupal_get_message() to check for status messages and
visualize them.
- Committed phase 4 of JonBob's menu system changes.
- Patch by JonBob: Phase 2 of the menu system integration project. This unifies the interface used by admin and non-admin pages, and deprecates the _page hook in favor of explicit callbacks from menu(). Breadcrumbs, titles, and help text go away as a result of this patch; they will return in the phase 3 patch, printed by the theme.
- table(...) -> theme("table", ...)
- Usability improvement: replaced many selection boxes by radio buttons. Patch by Stefan.
- Bugfix: PostgreSQL problem with locale module. Fixed bug #3900. Patch #139 by Gerhard.
- Bugfix: PostgreSQL problem with locale module. Fixed bug #3900. Patch #139 by Gerhard. - Forum module improvements. Patch #138 by Ax.
- Fixed bug #3564: missing check in locale module.
- Committed part 3 of Michael's help system improvements: removed the $help parameter from the menu() function.
- Help system improvements: eliminated the _system hook. Patch by Michael. - Bloggerapi module fixes. Patch by Kjartan. - Coding style fixes. Patch by Michael.
- Bugfix: fixed print problem. Patch by Gabor.
- Removed a debug statement from the locale module. Thanks Gobar.
- Help improvements and translation improvements from Michael. Thanks!
- Moved the locale settings from the user module to the locale module. Patch by Stefan. - Moved the theme settings from the user module to the system module and made the code more intelligent. Patch by Stefan.
- Made sure all menu items can be translated. Path by Goba.
- Committed the admin menu integration patch. Thanks Adrian, Stefan and others.
- Fixed bloggerapi not saving the uid for new nodes. - Cleaned up coding style and unnecessary code in bloggerapi.module. - Removed moderation notice from queue module, it prints even when users are not posting from the web. - Fixed bug #2895: locale: pager doesn't work in search
- Committed a partial administration page integration patch.
- Fix for bug #2691: crash due to locale module. Patch by Bruno.
- Fix for bug #2691: crash due to locale module. Patch by Bruno.
- Fixed bug #2690. Patch by Bruno.
- Updated the locale module to the new help system. Patch from Michael.
- Committed a slightly modified version of Slavica's table prefix patch.
- Made the tracker module link to your own posts. Patch 79 from Gerhard. - Added a permalink to the Xtemplate theme. Requested by Scott. - Added pager support to the locale module.
- Bugfix: made searching locale strings work. Patch by Al. Fixes bug #1986.
- Bugfix: locale module fix for bug # 1822 (translated/untranslated and search issues). Patch #12 by Al.
- Bugfix: charset fixes/clean-up. Patch #52 by Al. - Improvement: renamed some theme functions of the forum module for sake of consistency/readability. Patch #2 by Kristjan. - Improvement: usability improvements to the Xtemplate theme. Patch #3 by Kristjan. - Improvement: CSS'ified the book module pages. Patch #3 by Al. (I simplified the "l ocation" part. Al's approach gave you a bit more power but I'm not sure anyone wants to change that. Besides, this will change as soon we integrate the menu system so I kept it easy for now.)
- Bugfix: fixed the CREATE FUNCTION in database.mssql as it needs to be prefixed with GO for some obscure reason. Patch by Kjartan. - Bugfix: fixed the defaults for blocks in database.mssql so the NOT NULL fields get values. Patch by Kjartan. - Bugfix: changed check_form() to use htmlspecialchars() instead of drupal_specialchars() as this caused Drupal to emit incorrect form items in presence of quotes. Example: <input type="submit" class="form-submit" name="op" value="Submit "top nodes" block changes" /> IMO, drupal_specialchars() is better called xmlspecialchars() to avoid confusion. - Bugfix: when an anonymous user visits a site, they shouldn't see any content (except the login block, if it is enabled) unless they have the "access content" permissions. Patch by Matt Westgate. - Improvement: improved the error checking and the error messages in the profile module. Updated the code to match the Drupal coding conventions. Modified patch from Matt Westgate. - Improvement: don't generate the <base href=""> tag in the base theme; it is already emitted by theme_head(). Patch by Kristjan. - Improvement: don't execute any SQL queries when checking the permissions of user #1. Patch by Kjartan. - Improvement: made a scalable layout form that works in IE and that behaves better with narrow themes. Part of patch #51 by Al. - Improvement: removed some redundant print statements from the comment module. Modified patch from Craig Courtney.
- More charset patches by Al.
- Bugfix: renamed the SQL field 'types' to 'nodes' because 'types' is a reserved keyword in MySQL 4. This fixes critical bug #1618. Patch by Marco. ==> This fix requires to run update.php! - Bugfix: made sessions work without warnings when register_globals is turned off. The solution is to use $_SESSION instead of session_register(). This fixes critical bug #1797. Patch by Marco. - Bugfix: sometimes error messages where being discarded when previewing a node. Patch by Craig Courtney. - Bugfix: fixed charset problems. This fixes critical bug #1549. Patch '0023.charset.patch' by Al. - Code improvements: removed some dead code from the comment module. Patch by Marco. - Documentation improvements: polished the node module help texts and form descriptions. Patch '0019.node.module.help.patch' by Al. - CSS improvements all over the map! Patch '0021.more.css.patch' by Al. - GUI improvements: improved the position of Druplicon in the admin menu. Patch '0020.admin.logo.patch' by Al. - GUI improvements: new logos for theme Marvin and theme UnConeD. Logos by Kristjan Jansen. - GUI improvements: small changes to the output emitted by the profile module. Suggestions by Steven Wittens. - GUI improvements: small fixes to Xtemplate. Patch '0022.xtemplate.css.patch' by Al. TODO: - Some modules such as the buddy list module and the annotation module in the contributions repository are also using session_register(). They should be updated. We should setup a task on Drupal. - There is code emitting '<div align="right">' which doesn't validate. - Does our XML feeds validate with the charset changes? - The forum module's SQL doesn't work properly on PostgreSQL.
- Removed the module field from the locale search form. It won't work and there is no easy replacement. - Wrapped the strings in htmlentities() such that one can see the HTML.
- Michael Frankowski's excellent help text improvements!
- Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski. - Fixed a typo in the MSSQL database scheme. Patch by Michael Frankowski. - Removed dependency on "register_globals = on"! Patches by Michael Frankowski. Notes: + Updated the patches to use $foo["bar"] instead of $foo['bar']. + Updated the INSTALL and CHANGELOG files as well. - Tiny improvement to the "./scripts/code-clean.sh" script.
- Applied Michael Caerwyn's "%s -> %d" patch. - Changed all occurences of '%d' to %d as suggested on the mailing list.
- Added admin description suggested by Gunnar (slightly modified).
- All LIMIT queries must go through the pager or through db_query_range(). The syntax for db_query_range() was enhanced so it matches db_query(). So you may pass extra arguments of the SQL statement which are checked via check_query() and then substituted into the SQL statement. After these optional arguments, you always pass $from and $count parameters which define your range. Most often, the $from is 0 and the count is the max number of records you want returned. Patch by Moshe. - The pager_query() function for PEAR was enhanced so that it adds proper GROUP BY statement counting the number of records to be paged. Patch by James Arthur. - MSSQL database scheme by Moshe.
- Use "AND" instead of "&&" in SQL queries to make Drupal work on PostgreSQL. Based on a patch by Neil Ernst.
- Performance improvement. Patch by Zbynek.
1) Even when string is not translated, put it in the cache and save a
query for each untranslated string.
2) When there is no cache, create one.
- New menu houskeeping. Prototyped by Zbynek.
The following modules need updating:
* glossary module
* feed module (Breyten's version)
* mailhandler module
* notify module
* project module
* smileys module
* admin module
* style module
* taxonomy_dhtml module
To avoid unexpected problems menu_add() is deprecated (it will print an
error message when used) and menu() should be used instead.
- Tidied up some SQL queries.
- Clean URL patch.
- Tidied up the use of check_output(). Might make rendering pages a bit snappier (performance improvement).
- Usability improvement: made the locale module tables use the new table rendering functions. - Usability improvement: a couple of strings could not be translated.
- Refactored the administration pages.
Applied patch by Natrak: - page_header() now adds Last-Modified and ETag http headers. - When running PHP as an Apache module page_header() will check the HTTP headers for conditional gets, and will only push the content when it fails. (Works for html and xml pages as they are all cached). Note: this is a PHP limitation, so until PHP makes it work for other web servers this won't work for them. - Added created field to cache database to hold the timestamp when the cache was created. - Changed cache_get() to return an object with ->data and ->created. - Update forum and locale modules.
- Applied Stefaan's locale patches. The statistics.module patch failed to apply.
- made default locale admin page the search page.
- Fixed two small bugs in the locale module:
1. The locale admin menu items 'untranslated "langcode" strings'
'translated "langcode" strings' were not properly localized.
2. When inserting new locale strings the uri which generated the
new string was not properly set (the 'location' field in
locale table).
Patch by Ori.
- Documentation update: "%s/ drupal / Drupal /cg". In documentation we prefer "Drupal" instead of "drupal".
- improved module descriptions. - removed admin options for queue and comment module if the modules are not loaded. - nodes are now auto promoted when queue module isn't enabled. - moderation result block is now visible by the node author.
- Removed the redundant option to enable or disable the locale module.
- adding descriptions to modules (thanks Joe + Scott).
- fixed comment flat list view missing 1 comment.
- changed update.php around a bit.
* security check isn't in effect if the db hasn't been updated.
* instructions re-organized.
* fixed some minor updates.
- updated database.mysql done by UnConeD.
- changelog update.
Locale.module: Added a piece of code to insert common strings (currently weekdays and month-names) into the locale table. It's triggered whenever you visit the locale admin pages, but executes only once.
- bug fixes:
* fixed mails not being parsed properly.
* tracker now shows user name when you view your own recent
comments.
* link to submission queue now points to the right place.
* fixed jabber module.
* theme is now activated when changed.
- applied Gerhards coding style patch.
- Applied Marco's big patch, including contributions from Moshe:
+ Changed the db_query() API.
+ Wrapped all links in l(), lm(), la(), ..., drupal_url() functions.
+ XHTML-ified some HTML.
+ Wrapped a lot of text in the administrative pages in a t()
function.
+ Replaced all $REQUEST_URI/$PATH_INFOs by request_uri().
+ Small bugfixes (eg. bug in book_export_html() and clean-ups (eg.
RSS code).
+ Fixed some bugs in the taxonomy module (eg. tree making bug), added
new functionality (eg. new APIs for use by other modules), included
Moshe's taxonomy extensions, and some documentation udpates.
+ ...
- Applied Marco's locale improvements / clean-ups.
- Integrated Marco's locale patch.
- A large batch of updates, amongst them a rewritten node system. More information available on the mailing list.
- added the CVS keyword $Id$ to all files to make future version tracking easier. Also changed the <? tag to <?php in some cases.
- I tidied up most SQL tables to be more consistent with the rest of the tables: I changed all "id"s to "xid"s where "x" is the first letter of the table name. I also renamed all remaining "userid"s to "uid"s as I mentioned I would do. Take a look at ./drupal/updates/3.00-to-x.xx.sql for the MySQL updates.
- fixed small glitch in node_del()
- fixed small glitch in comment_del()
- changed the API of the form() function. The first parameter, the
"action"-attribute in the <form>-tag has been made optional. By
default, it will be set to "$REQUEST_URI".
Why? Because in 98% of the cases we would do:
global $REQUEST_URI;
$form = form($REQUEST_URI, $form_content);
while we can do:
$form = form($form_content);
now.
Update your modules (and sorry for the inconvenience)!
locale.module - search is now default. - search remembers your settings. - save will dump you back to your last search.
locale.module - fixed the filter/search problem.
locale.module - renamed locale_search() locale_filter() so it does not show up on node searches.
- various improvements and small additions
comment.inc - removed comment_controls(). - modified comment_render() to use $theme->comment_controls(). theme.inc - added BaseTheme->comment_controls(). locale.module - can now search for status independant of language. - string is now a regular expression. For wildcard searches do .*text.*. - can search in modules + pages, all modules or a specific module. account.php - fixed viewing other accounts info would show the active users name in the real name field. - now shows users recent contributions and comments (if the user has access to them).
locale.module - Made the module search a little less picky so it also shows admin strings.
locale.module - fixed some minor HTML issues. - added some search/filter capabilities.
- node.module:
+ added missing t()-functions (reported by Nick).
- locale.module:
+ renamed '$lang' to '$language' (reported by Nick).
- locale.module: + fixed typo: 'return' -> 'print'
- Added improvement locale.module, based on Gerhard K.'s implementation. (Thanks Gerhard!) - Various other small improvements.
Extremely large commit: - Fixed tiny quote problem in account.php. - Fixed tiny bug in comment.inc. - Fixed tiny bug in comment.module. - Fixed tiny bug in meta.module. - Simplified user_access() API. - Rewrote link system: still needs fine-tuning and testing so don't upgrade if you are running a production site. ;) Updated all modules and themes to reflect this change. All other themes and modules need updating too!
- Small but significant improvements to block and box.module which makes the ever-confusing "rehash modules" (see module.module) no longer needed, hence making module.module redundant. :-) - Removed module.module. - Renamed conf.module to system.module, and added some information about the available modules to system.module. - Various small changes.
- Added locale documentation: written by Gerhard, revised by Dries. - Added import documentation: written by Gerhard, revised by Dries. TODO: - A quick introduction on content syndication needs to be written for import.module. - If some one who is native English could go over the these text, please do.
- Added a brand-new access.module which allows you to manage 'roles'
(groups) and 'permissions' ... (inspired by Zope's system).
+ Once installed, click the help-link for more information.
+ See updates/2.00-to-x.xx.sql for the SQL updates.
- Modified loads of code to use our new access.module. The system
still has to mature though: new permissions have to be added and
existing permissions need stream-lining. Awaiting suggestions.
- As a direct result of the new access system, I had to rewrite the
way the top-level links in admin.php are rendered and displayed,
and xhtml-ified admin.php while I was at it.
TODO
- Home-brewed modules need updating, home-brewed themes not.
(Examples: file.module, trip_link.module)
- As soon we *finished* the refactoring of the user system (KJ has
been working on this refactoring already) we should consider to
embed this role and permission code into account.module ...
This a rather large commit that needs a lot of fine-tuning. If you
update, you'll break your site as you need switching from structure
to index.module: so this can be considered an intermediate commit.
If you upgrade, and you are welcome to, just create a collection
called "section" (for now) and assign your nodes some attributes
in the described format.
Feedback and bugreports are welcomed. Questions will be answered.
CHANGES:
- comment system:
+ when replying to a node (rather then to a comment), that
node is displayed above the reply form.
+ when replying to a comment (rather then to a node), that
comment is displayd above the reply form.
- removed structure.inc, removed structure.module.
- node.inc:
+ added 2 new node functions called 'node_attribute_edit()' and
'node_attribute_save()' used to 'hook in' any indexing system
including your home-brewed stuff if you'd want to. Currently,
index.module is the facto default index system.
See story.module for usage.
- book.module, story.module, poll.module, page.module, forum.module:
+ added preview functionality to administration section (via node
module).
+ removed all references to structure.inc (category, topic).
- moderate.module:
+ removed all references to structure.inc (category, topic).
- book.module, story.module, page.module, forum.module:
+ increased the sizes of some textareas.
- submit.php:
+ removed all references to structure.inc (category, topic).
- marvin.theme:
+ removed dead code: function story() was depricated.
- unconed.theme:
+ removed hardcoded references to drop.org.
- marvin.theme, unconed.theme, jeroen.theme, yaroon.theme, example.theme:
+ removed all references to structure.inc (category, topic).
TODO:
- file.module, trip_link.module:
+ update preview functionality:
see story.module for example.
+ remove references to 'cid' and 'tid', use 'attribute' instead:
see story.module for example.
- extend and build upon index.module as well as making it configurable
- Output disabled message when locale is disabled. - If $languages is empty and locale is enabled output $na instead of script errors.
- Added a experimental index.module to try out some of the discussed techniques. It does not work yet, nor is it integrated with the rest of the code.
- Fixed small glitch in locale.module.
CHANGES
- Redid settings.module and even renamed it to conf.module.
* Settings are now grouped in basic categories like "system
settings", "module settings" and "filters".
* Added new settings to make Drupal easier to configure and
to make some aspects like the watchdog scale better.
- Renamed includes/settings.php to includes/conf.php.
- Added filter support to conf.module and introduced filter hooks so
modules can implement and export new filters. Example filters are
an HTML filter (implemented), a profanity filter, an url converter,
ASCII smileys to images filter and so on ...
- Reworked the check_* functions: user contributed content/input is
only verified and filtered once in its lifespan.
NOTES
- Altough this is a large commit, no database changes are required.
- Uhm. Rewrote the module system: less code clutter, less run-time overhead, and a lot better (simpler) module API. I had to edit a LOT of files to get this refactored but I'm sure it was worth the effort. For module writers / maintainers: None of the hooks changed, so 95% of the old modules should still work. You can remove some code instead as "$module = array(...)" just became obsolete. Also - and let's thank God for this - the global variable "$repository" has been eliminated to avoid modules relying on, and poking in drupal's internal data structures. Take a look at include/module.inc to investigate the details/changes. - Improved design of the content modules "story", "book" and "node" (to aid smooth integration of permisions + moderate.module). I'm still working on the permissions but I got side tracked for which I "Oops!".
Welp. Large commit ahead. CHANGES: - Added "read" and "write" permissions into drupal but removed it again because - when finished after 3 hours of work - it was considered nothing but added complexity that didn't buy us anything. :I (I'll explain this in detail on the mailing list, I guess.) - Added a very simple help.module to group all available documentation on a single page. - Fixed bug in node_control(), book.module: UnConeD forgot to global $user when updating the combobox code. - Removed static wishlist.module: in future, the wishlist can be maintained as a page in our collaborative book. - Revised most of settings.module: tidied up the code and the descriptions to accompany the settings and introduced a new "default maximum number of nodes to display on the main page" variable. - Revised most of comment.module: the administration interface looks better now, integrated node permissions, and -finally- made it possible to delete comments. - Polished on: + account.module + structure.module + locale.module + module.module + forum.module - Form-ified: + account.php + account.module + setting.module + cvs.module + submit.php + comment.module + forum.module + book.module + page.module + locale.module - Updated CHANGELOG INFO: - Designed a "generic tracker system with optional backends" on paper. The idea is to allow registered users to hot-list certain topics, individual nodes or threads (comments) and to "plug-in" output backends like - for instance - an e-mail digest. The design requires "intelligent blocks" though. TODO: - I want to tidy up the headline.module and backend.class as well as merge in headlineRSS10.module. Julian spent quite some time working on headline.module but I'm not sure what he changed and whether he'd contribute it back?
- fixed a small SQL bug in page.module
- slightly improved story.module, node.module and book.module
- made the "default theme" a setting from the setting page
- polished a bit on the export function: we can now export the
book or parts thereof through the following url:
1. http://drop.org/export/book/
(full book)
2. http://drop.org/export/book/nid
(where nid is the node id to start with)
The export routine demonstrates how it can be done yet the
output is too basic and can only improve over time.
- applied David Norman's patch to turn all <?'s into fully qualified <?php's.
A rather large and important update: revised most of the SQL queries and tried to make drupal as secure as possible (while trying to avoid redundant/duplicate checks). For drupal's sake, try to screw something up. See the mail about PHPNuke being hacked appr. 6 days ago. The one who finds a problem is rewarded a beer (and I'm willing to ship it to Norway if required). I beg you to be evil. Try dumping a table a la "http://localhost/index.php?date=77778;DROP TABLE users" or something. ;)
- locale module: added documentation (first draft) - locale module: improved administration interface - headline module: fixed small visual glitch in export function - account: small improvements
*** empty log message ***
- More updates on the translation support
- updates
- initial import of the preliminary translation code. - added timer.inc for benchmarking purpose - bugfix for php-clean - bugfix for account.php - removed redundant format_data - ...
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.