Commit Graph

249 Commits (69a7d806073640976b8593725bef0dd35dcdd6b8)

Author SHA1 Message Date
Dries Buytaert c6c26b5e23 - Patch by boombatower: code style fixes for the tests. 2008-05-30 07:30:53 +00:00
Dries Buytaert 2e18cb8924 - Patch by chx, dopry, webernet, moshe, webchick, justinrandall, flobruit
et al.  Can you say 'registry'?  Drupal now maintains an internal registry of
  all functions or classes in the system, allowing it to lazy-load code files as
  needed (reducing the amount of code that must be parsed on each request). The
  list of included files is cached per menu callback for subsequent loading by
  the menu router. This way, a given page request will have all the code it needs
  but little else, minimizing time spent parsing unneeded code.
2008-05-06 12:18:54 +00:00
Dries Buytaert a7f12c0326 - Patch by catch: fixing up many code style issues in the tests. 2008-04-25 18:26:02 +00:00
Dries Buytaert 21576021bf - Patch by pwolanin: rip menu access inheritance -- was already committed to D6. 2008-04-23 20:01:56 +00:00
Dries Buytaert af474609e3 - Added a test framework to Drupal along with a first batch of tests for
Drupal core!  This is an important milestone for the project so enable
  the module and check it out ... :)

  Thanks to Rok Žlender, Károly Négyesi, Jimmy Berry, Kevin Bridges, Charlie
  Gordon, Douglas Hubler, Miglius Alaburda, Andy Kirkham, Dimitri13, Kieran
  Lal, Moshe Weitzman, and the many other people that helped with testing
  over the past years and that drove this home.

  It all works but it is still rough around the edges (i.e. documentation
  is still being written, the coding style is not 100% yet, a number of
  tests still fail) but we spent the entire weekend working on it in Paris
  and made a ton of progress.  The best way to help and to get up to speed,
  is to start writing and contributing some tests ... as well as fixing
  some of the failures.

  For those willing to help with improving the test framework, here are
  some next steps and issues to resolve:

    - How to best approach unit tests and mock functions?
    - How to test drupal_mail() and drupal_http_request()?
    - How to improve the admin UI so we have a nice progress bar?
    - How best to do code coverage?
    - See http://g.d.o/node/10099 for more ...
2008-04-20 18:24:07 +00:00
Dries Buytaert 56d2664a90 - Patch by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators. 2008-04-14 17:48:46 +00:00
Dries Buytaert 79b016d915 - Patch 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.
2008-04-10 10:28:23 +00:00
Dries Buytaert 1dfd1717c1 - Patch by matt2000 et al: move 'content types' to 'site building' per the UMN usability study results. 2008-04-06 18:50:12 +00:00
Dries Buytaert 584f3e886a - Patch by webchick, keith.smith, kkaefer, Crell et al: provide descriptions for permissions on the permission administration page. 2008-02-20 13:46:43 +00:00
Dries Buytaert b05db1f176 - Patch by webernet: update core compatibility to Drupal 7. 2008-02-18 19:19:49 +00:00
Dries Buytaert b8a1eab1fb - Patch by dvessel, catch, John, et al: updated jQuery library. 2008-02-06 19:38:28 +00:00
Gábor Hojtsy 1c6cd92a12 Translating menu items and taxonomies is not a core feature, so do not mislead users. Noticed while translating to Hungarian. 2008-01-28 17:16:34 +00:00
Gábor Hojtsy 58ad1fb2f4 follow up by keith.smith, dropcube: better code comments in locale update 2008-01-10 14:35:24 +00:00
Gábor Hojtsy 6ab877faf1 by dropcube and myself: language content type settings were not properly namespaced 2008-01-09 11:51:54 +00:00
Gábor Hojtsy 68a730c795 by theborg, keith.smith: only tell users their language setting will be used for interface presentation, when this actually happens 2008-01-07 21:38:16 +00:00
Gábor Hojtsy d5916e8061 follow up by chx: set locale() cache to NULL when resetting 2008-01-04 17:10:36 +00:00
Gábor Hojtsy 98d7931e5b 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 2008-01-04 16:04:49 +00:00
Gábor Hojtsy f96a1c7690 by hass: if more then 5 languages are available, use a dropdown not a radio button list (usability) 2008-01-02 12:04:17 +00:00
Dries Buytaert a88c178b91 - Patch by webernet: code style fixes. 2007-12-28 12:02:52 +00:00
Gábor Hojtsy 1d4fc1b1af by keith.smith: pre-RC1 spell checking on hopefully final text 2007-12-19 21:40:05 +00:00
Gábor Hojtsy 4c990fb7cc 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. 2007-12-18 16:27:44 +00:00
Dries Buytaert c8b1ddf26a - Patch by catch, pwolanin, David Strauss, et al.: improve table indicies for common queries. 2007-12-18 12:59:22 +00:00
Gábor Hojtsy b6532a4fdb by keith.smith: new standard for 'more information' links in module help texts, as the handbook we referred to before was renamed 2007-12-14 18:08:50 +00:00
Gábor Hojtsy efbd1db550 by JirkaRybka: _locale_rebuild_js() was invoked on every page view, now optimized 2007-11-26 22:34:09 +00:00
Gábor Hojtsy 22a4c039da Rollback the accidentally committed 2007-11-26 19:55:15 +00:00
Gábor Hojtsy e6a88be5d1 by quicksketch et al: taxonomy drag and drop support 2007-11-26 19:46:52 +00:00
Gábor Hojtsy 6efb418313 report by greggles, patch by myself: the user account page changed language to the last language set up 2007-11-24 21:19:10 +00:00
Gábor Hojtsy c975b69d1c by hazexp, webernet, keith.smith: unify module/theme/translation download links and include more pointers to these locations 2007-11-24 20:35:37 +00:00
Gábor Hojtsy 5f1d0bf343 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 2007-11-23 12:15:12 +00:00
Gábor Hojtsy d8c18ac010 by JirkaRybka: fix broken update path of locale tables on PostgreSQL 2007-11-15 13:27:45 +00:00
Gábor Hojtsy 3f0fce261c Fix locale.info typo I noticed while translating 2007-11-05 08:43:48 +00:00
Gábor Hojtsy eccf762a8d by Desbeers: fix locale form alter to properly alter the path alias addition form 2007-11-04 11:10:09 +00:00
Gábor Hojtsy 941756bad2 by openwereld: LIMIT on locale module UPDATE query is not needed and is even not PostreSQL compatible, so remove 2007-10-27 14:03:36 +00:00
Gábor Hojtsy b94f2716cf by deekayen, catch and keith.smith: fix some spelling errors in our source code and messages printed 2007-10-21 18:59:02 +00:00
Gábor Hojtsy 3a8f208b7a 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
2007-10-15 19:51:06 +00:00
Gábor Hojtsy 1e8ddda9b7 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
2007-10-15 15:18:39 +00:00
Dries Buytaert b274bf87f3 - Patch : fieldset massaging for usability. 2007-10-12 14:10:18 +00:00
Gábor Hojtsy 8cf6fefe54 by multiple contributors: document the core database schemas 2007-10-10 11:39:35 +00:00
Dries Buytaert 39706e3c51 - Patch by webchick, bjaspan, ralf, Arancaytar et al: move the .schema files into .install files to prevent mistakes. 2007-10-05 14:43:26 +00:00
Gábor Hojtsy ebfbaa3fda by myself: language code regular experssion was too greedy for simple langcode.po names 2007-09-28 18:11:27 +00:00
Gábor Hojtsy 75f0eb8e89 by JirkaRybka: fix help text about textgroups, rewording a misleading example 2007-09-14 18:05:33 +00:00
Dries Buytaert ab1715750a - Patch by webernet: code style cleanup. 2007-09-05 08:42:02 +00:00
Gábor Hojtsy b5331d0859 by JirkaRybka: store version usage information for every source string, optimize caching and prune the initially unused strings 2007-09-02 15:19:16 +00:00
Gábor Hojtsy 0fd16236ef 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
2007-09-01 12:50:47 +00:00
Gábor Hojtsy 39d776faa9 by bjaspan, chx and JirkaRybka: update.php for Drupal 6, to allow near flowless updates 2007-08-26 08:27:09 +00:00
Dries Buytaert 74292cd062 - Patch by killes, yched et al: block caching. 2007-08-19 08:08:45 +00:00
Gábor Hojtsy b5cdf535f4 by GreenMother: kill notices if form ID does not exist 2007-07-03 16:27:51 +00:00
Gábor Hojtsy 5644ad0264 noted by Arancaytar, pathc by myself: user_language() was named user_preferred_language() 2007-07-02 15:47:32 +00:00
Dries Buytaert ee701b3336 - Patch by Uwe: fixed typos. 2007-07-02 14:41:37 +00:00
Gábor Hojtsy 8caf4da7f1 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() 2007-07-01 19:49:19 +00:00