Commit Graph

337 Commits (a667251eeef24ee5ea65c89537387c8167afc6b1)

Author SHA1 Message Date
Angie Byron c6dd7bec5e #52990 by Roger López: Vastly improve translation string search and editing interface. 2009-02-05 00:32:47 +00:00
Angie Byron 2c381622a5 #88264 by Rob Loach and kscheirer: Make variable_get()'s defaultparameter default to NULL so that NULLs do not need to be specified. 2009-01-31 16:50:57 +00:00
Angie Byron d47f81bf92 #352121 follow-up: Let's commit the test module this time, shall we? :P 2009-01-22 16:38:15 +00:00
Angie Byron 096309b327 #352121 by valthebald and Damien Tournoud: Allow importing of invalid tags in .po files into non-default text groups. 2009-01-22 03:29:01 +00:00
Angie Byron afc9df994a #220559 by eMPee584 and Damien Tournoud: Fix bug in language switcher block that makes all languages active (with tests) 2009-01-22 03:18:30 +00:00
Angie Byron b4c737a2a5 #287178 by justinrandell: Break up various hook_form_alter()s to hook_form_FORM_ID_alters(). 2009-01-22 03:11:54 +00:00
Angie Byron fcc8211ab1 #203323 by JirkaRybka, robertgarrigos, thePanz, c960657, and sun: Fix undefined index locale in install.php and clean up crufty code. 2009-01-20 03:18:41 +00:00
Dries Buytaert 0c63d9e24f - Patch #349504 by keith.smith: clean up sentence spacing in code comments. 2008-12-20 18:24:41 +00:00
Dries Buytaert 574a2e47ee - Patch #345866 by alexanderpas, justinrandell, Dave Reid: remove from hook_block(). 2008-12-16 23:57:33 +00:00
Dries Buytaert 8802e0d3af - Patch #276111 by pwolanin, Gabor et al: validate translation strings on import. 2008-12-09 19:53:36 +00:00
Dries Buytaert 8ad5cba994 - Patch #344661 by Dave Reid: API doc improvements for hook_translation_link_alter. 2008-12-09 11:36:04 +00:00
Dries Buytaert bc719d0c55 - Patch #337820 by Dave Reid, Damien Tournoud, et al: rename menu path 'logout' to 'user/logout'. For real now. 2008-11-29 09:33:51 +00:00
Angie Byron d7f706f291 Reverting #337820 once more, as it causes mysterious test failures. 2008-11-27 07:07:01 +00:00
Dries Buytaert c01f85bc37 - Patch #337820 by Dave Reid: rename menu path logout to user/logout. 2008-11-25 13:16:39 +00:00
Dries Buytaert eda100b83d - Patch #338403 by drewish: code comments clean-up. 2008-11-25 13:14:29 +00:00
Angie Byron 66df602593 #314870 by Rob Loach, drewish, catch, and sun: Add hook API documentation to Drupal core. 2008-11-25 02:37:33 +00:00
Angie Byron bd9554952c Reverting #337820 which causes menu tests to fail, unbeknownst to testing bot. Hrm... 2008-11-24 04:22:02 +00:00
Angie Byron 251a761eaa #337820 by Dave Reid: Rename menu path 'logout' to 'user/logout' for consistency. 2008-11-23 21:17:48 +00:00
Angie Byron 1b4dd805ca #315801 by Rob Loach, Grugnoh2, mfer and dmitrig01: Add a hook_js_alter() to modify JavaScript being printed to the page. 2008-11-23 16:00:08 +00:00
Dries Buytaert 15671f471b - Patch #332123 by webchick, lilou: remove t() function from schema descriptions. 2008-11-15 13:01:11 +00:00
Dries Buytaert a80672230f - Patch #332623 by Damien Tournoud: fixed importing translations and added a test. 2008-11-11 20:22:17 +00:00
Angie Byron 0762f60073 #315798 by Rob Loach, mfer, Grugnog2, and sun: Add weighting to drupal_add_js(). 2008-11-10 05:23:01 +00:00
Dries Buytaert d1d3ce0be7 - Patch #315797 by mfer, Rob Loach, et al: rework the parameter of drupal_add_js. 2008-10-22 19:39:36 +00:00
Angie Byron f76acb2d9d #282405 by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif. 2008-10-12 04:30:09 +00:00
Angie Byron 9dc60ce09b #295626 by wuf31 and Damien Tournoud: Fix incorrect path for front page in locale_block(). 2008-10-11 23:32:07 +00:00
Angie Byron 7e02f2f782 #318984 by Xano and Dave Reid: Change 'Core - optional' to 'Core' in modules UI. 2008-10-11 02:33:14 +00:00
Angie Byron 464be0b8bd #318892 by justinrandell and chx: Add .install files to the list of files added to .info files. 2008-10-09 22:51:41 +00:00
Angie Byron d59ba41f65 #313213 by maartenvg, Gábor Hojtsy: Add a 'title' attribute for permissions to allow for localization of permission names 2008-10-09 15:15:55 +00:00
Dries Buytaert 026af5df34 - Patch #310212 by justinrandell, catch, et all: killed in _user hook, as well as two small kittens. 2008-10-06 11:30:12 +00:00
Dries Buytaert 703557e155 - Patch #283201 by pwolanin, Dries: use code registry properly for locale page callbacks. 2008-10-02 13:11:34 +00:00
Dries Buytaert fb39167d97 - Patch #296197 by Gabor and meba: better document the drag and drop language feature. 2008-10-01 13:17:17 +00:00
Angie Byron a3bb66e4e8 #259623 by dopry and Damien Tournoud: Convert includes/requires to use absolute paths. 2008-09-20 20:22:25 +00:00
Angie Byron 4c26ea31ee #305436 by lelutin and Damien Tournoud: Fix broken closing tag. 2008-09-08 15:36:30 +00:00
Dries Buytaert 665ac94ef3 - Patch #243063 by GoofyX: fixed typo in context-sensitve help. 2008-08-25 07:54:36 +00:00
Dries Buytaert 5ebbdd0c36 - Patch #280628 by pwolanin et al: fixed locale module confirm form and broken locale module tests. 2008-08-05 18:11:44 +00:00
Dries Buytaert ccf1af94fa - Patch #245329 by christefano and dmitrig01: code comment love. 2008-07-24 16:25:19 +00:00
Dries Buytaert 1bf71a465c - Patch #280628 by catch et al: added missing confirm form. 2008-07-10 01:45:47 +00:00
Dries Buytaert bb232c728a - Patch #277073 by threexk: improve consistency of offline vs off-line and online vs on-line. 2008-07-01 20:36:40 +00:00
Dries Buytaert c6c26b5e23 - Patch #247423 by boombatower: code style fixes for the tests. 2008-05-30 07:30:53 +00:00
Dries Buytaert 2e18cb8924 - Patch #221964 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 #251263 by catch: fixing up many code style issues in the tests. 2008-04-25 18:26:02 +00:00
Dries Buytaert 21576021bf - Patch #249546 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 #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. 2008-04-14 17:48:46 +00:00
Dries Buytaert 79b016d915 - 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.
2008-04-10 10:28:23 +00:00
Dries Buytaert 1dfd1717c1 - Patch #240387 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 #30984 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 #221384 by webernet: update core compatibility to Drupal 7. 2008-02-18 19:19:49 +00:00
Dries Buytaert b8a1eab1fb - Patch #210131 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 #206021 follow up by keith.smith, dropcube: better code comments in locale update 2008-01-10 14:35:24 +00:00
Gábor Hojtsy 6ab877faf1 #206021 by dropcube and myself: language content type settings were not properly namespaced 2008-01-09 11:51:54 +00:00
Gábor Hojtsy 68a730c795 #204946 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 #206232 follow up by chx: set locale() cache to NULL when resetting 2008-01-04 17:10:36 +00:00
Gábor Hojtsy 98d7931e5b #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 2008-01-04 16:04:49 +00:00
Gábor Hojtsy f96a1c7690 #205334 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 #204221 by webernet: code style fixes. 2007-12-28 12:02:52 +00:00
Gábor Hojtsy 1d4fc1b1af #202473 by keith.smith: pre-RC1 spell checking on hopefully final text 2007-12-19 21:40:05 +00:00
Gábor Hojtsy 4c990fb7cc #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. 2007-12-18 16:27:44 +00:00
Dries Buytaert c8b1ddf26a - Patch #164532 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 #200069 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 #193320 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 #194310 2007-11-26 19:55:15 +00:00
Gábor Hojtsy e6a88be5d1 #193333 by quicksketch et al: taxonomy drag and drop support 2007-11-26 19:46:52 +00:00
Gábor Hojtsy 6efb418313 #193905 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 #175876 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 #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 2007-11-23 12:15:12 +00:00
Gábor Hojtsy d8c18ac010 #128866 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 #154517 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 #186977 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 #184867 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 #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
2007-10-15 19:51:06 +00:00
Gábor Hojtsy 1e8ddda9b7 #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
2007-10-15 15:18:39 +00:00
Dries Buytaert b274bf87f3 - Patch #182950: fieldset massaging for usability. 2007-10-12 14:10:18 +00:00
Gábor Hojtsy 8cf6fefe54 #164983 by multiple contributors: document the core database schemas 2007-10-10 11:39:35 +00:00
Dries Buytaert 39706e3c51 - Patch #150245 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 #179234 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 #175593 by JirkaRybka: fix help text about textgroups, rewording a misleading example 2007-09-14 18:05:33 +00:00
Dries Buytaert ab1715750a - Patch #172961 by webernet: code style cleanup. 2007-09-05 08:42:02 +00:00
Gábor Hojtsy b5331d0859 #171646 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 #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
2007-09-01 12:50:47 +00:00
Gábor Hojtsy 39d776faa9 #157682 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 #80951 by killes, yched et al: block caching. 2007-08-19 08:08:45 +00:00
Gábor Hojtsy b5cdf535f4 #156429 by GreenMother: kill notices if form ID does not exist 2007-07-03 16:27:51 +00:00
Gábor Hojtsy 5644ad0264 #156143 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 #155986 by Uwe: fixed typos. 2007-07-02 14:41:37 +00:00
Gábor Hojtsy 8caf4da7f1 #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() 2007-07-01 19:49:19 +00:00
Dries Buytaert c11cb4ec24 - Patch #120360 by nedjo: enable AJAX by making all behaviours reattachable. 2007-07-01 15:37:10 +00:00
Gábor Hojtsy a3d75e547f #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 2007-06-30 21:00:51 +00:00
Gábor Hojtsy 9e6ef53c2c #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 2007-06-30 19:46:58 +00:00
Dries Buytaert aa308028aa - 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.
2007-06-18 16:09:39 +00:00
Gábor Hojtsy 8f9298577e Corrected documentation for plid to reflect chaining. 2007-06-18 13:00:02 +00:00
Gábor Hojtsy d209601f54 Annotate the locale schema to help developers understanding what is stored in some of the far from obvious fields. Patch by myself. 2007-06-18 08:22:42 +00:00
Gábor Hojtsy 64707c09e9 #150521 by myself: streamline locale runtime performance and clean up code by not storing empty translations 2007-06-17 17:41:40 +00:00
Gábor Hojtsy 2291f34155 #151410 by myself: allow modules to watch for the exact strings used on a page 2007-06-15 19:02:47 +00:00
Dries Buytaert 039d508cd0 - Patch #150762 by hunmonk: fixed typo. 2007-06-11 07:30:40 +00:00
Gábor Hojtsy 57c9a13e1f #118026 by kkaefer with fixes from myself: JavaScript translation support and script.js as a default theme JS file to use, if found 2007-06-08 12:51:59 +00:00
Dries Buytaert 29eb5a6284 - Patch #146910 by dww: only allow enabling modules with the same Drupal core compatibility version. 2007-06-08 05:50:58 +00:00
Dries Buytaert 4fd54aabc5 - Patch #115267 by drewish, dopry et al: simplified file uploads code, improved file API, centralized file validation, implemented quotas and fixed file previews. 2007-05-30 08:08:59 +00:00