Commit Graph

522 Commits (8ad071fa6884b5c012f2c3b5b4041ef092b7a846)

Author SHA1 Message Date
Dries Buytaert 06fbe8e90c - Patch #491972 by Berdir, webchick: clean-up of user/profile related hooks and APIs. 2009-08-12 12:36:05 +00:00
Dries Buytaert 735e532bee - 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 ... 2009-08-11 11:52:46 +00:00
Angie Byron 20e1bb12ba #339406 by dropcube and boombatower: Add an assertion to check if a checkbox is checked. 2009-08-03 22:18:59 +00:00
Angie Byron 0bd7fcbf38 #226587 by JohnAlbin, E.Z, et al: Make sidebar regions semantic and RTL-friendly. 2009-08-03 03:04:34 +00:00
Dries Buytaert 56d2f21745 - Patch #537678 by Bojhan: remove drag-and-drop help text. 2009-08-02 15:44:08 +00:00
Dries Buytaert 1a5c71e2da - Patch #92877 by mfer, Rob Loach, Damien Tournoud, et al: add numeric weight to drupal_add_css. 2009-07-30 19:57:10 +00:00
Dries Buytaert d24d954479 - Patch #521474 by bangpound, JuliaKM et al: rename admin/site-building to admin/structure. 2009-07-20 18:51:36 +00:00
Dries Buytaert c59a44e29b - Patch #334283 by Gábor Hojtsy: fixed context bug. 2009-07-20 17:09:36 +00:00
Dries Buytaert ef09cf93e5 - Patch #517542 by David Strauss: renamed functions for clarity. We say 'yay' to clarity! 2009-07-14 10:22:17 +00:00
Angie Byron 735e1d904f #500866 by boombatower: Remove t() from getInfo in tests. 2009-07-13 21:51:42 +00:00
Dries Buytaert 5fbaa4b83c - Patch #516254 by drewish remove @return PHPDocs where nothing is to return. 2009-07-11 13:56:22 +00:00
Dries Buytaert e4a4b7cc7e - Patch #506976 by catch: rename hook_perm to hook_permission. 2009-07-05 18:00:11 +00:00
Dries Buytaert a0d19b0810 - Patch #482636 by quicksketch: further clean-up of the form IDs/classes. 2009-07-04 14:57:23 +00:00
Angie Byron 647f3541ae #506124 by Bojhan: Move URL aliases path to site configuration. 2009-06-30 18:21:06 +00:00
Dries Buytaert fabaaaaa6e - Patch #278592 by catch, Dave Reid, lilou et al: remove D5 to D6 updates. 2009-06-22 13:21:38 +00:00
Dries Buytaert 344aed13f5 - Patch #67211 by catch, Gábor Hojtsy, yoroy, cdale, et al: drop the colon after form titles. 2009-06-20 15:17:38 +00:00
Dries Buytaert 3d64cb5eca - Patch #372743 by bjaspan, yched, KarenS, catch et al: node body and teasers as fields. Oh, my. 2009-06-12 08:39:40 +00:00
Dries Buytaert e9d97f1eef - Patch #449198 by boombatower: cealn up test loading and related API. 2009-06-08 09:23:55 +00:00
Dries Buytaert 28b2f098be - 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. 2009-06-08 05:00:12 +00:00
Angie Byron cab88a7014 #220233 by Berdir, marcingy, et al: Add useful API functions for extracting node type data. 2009-06-04 03:33:29 +00:00
Dries Buytaert 88c9a015c1 - Patch #111011 by Josh Waihi: adding foreign key specifications. 2009-06-01 22:07:10 +00:00
Dries Buytaert 7530088d91 - Patch #221020 by andypost: increase length of field. 2009-05-27 19:54:21 +00:00
Dries Buytaert 0f4060f377 - Patch #472642 by stella, agentrickard: remove 'implementation of' nominalizations from Docblocks. 2009-05-27 18:34:03 +00:00
Dries Buytaert 352a8e4334 - Patch #473366 by Berdir: convert locale module to the new database abstraction layer. 2009-05-27 11:45:00 +00:00
Angie Byron 827e278489 #296693 by Damien Tournoud, boombatower, sun, and Xano: Hide parent administrative menu items when user has no access to any of their children. 2009-05-27 02:21:53 +00:00
Dries Buytaert a24a6c2bba - Patch #471070 by stella: millions of code style fixes. 2009-05-24 17:39:35 +00:00
Angie Byron 3ac59eee96 #320011 by lilou, snufkin, and karschp: Add consistent @file declarations to all .install files. 2009-05-13 19:42:18 +00:00
Dries Buytaert b5201d3797 - Patch #445410 by Damien Tournoud: fix $ tags. 2009-04-26 15:14:55 +00:00
Angie Byron d30a41e791 Roll-back of #333054; needs more discussion. 2009-04-20 02:23:17 +00:00
Dries Buytaert 27d7455edb - Patch #333054 by c960657: page cache should be case sensitive. 2009-04-01 20:00:47 +00:00
Angie Byron 7e98216936 #368064 by catch: Provide a top-level 'International' menu item for localization and translation-related items. 2009-03-31 02:02:23 +00:00
Angie Byron f40532da76 #376129 by boombatower, Damien Tournoud, and chx: Change getInfo() to a static method to reduce memory footprint of SimpleTest. 2009-03-31 01:49:55 +00:00
Angie Byron dacf480442 #369229 follow-up by stella and nedjo: Fix locale tests. 2009-02-24 16:46:52 +00:00
Dries Buytaert 709594866e - Patch #369229 by stella: improved and extended the locale module tests. 2009-02-22 20:55:18 +00:00
Angie Byron 2da17d8010 #347288 by plach: Fix Locale uninstall (with tests). 2009-02-13 00:45:18 +00:00
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
Gábor Hojtsy 36e87e190c #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.
2007-05-29 14:37:49 +00:00
Dries Buytaert 96926ca047 - Patch #146470 by Eaton et al: standardize form API3 hook parameter order. 2007-05-28 06:08:47 +00:00
Gábor Hojtsy 1d7037a756 #128866 by myself: bjaspan noted that the pgsql and mysql updates on locale_update_6002() are reversed, I noted that the variables table got the language column inadvertently 2007-05-25 15:47:57 +00:00
Dries Buytaert 3cafffe63f - Killer patch #144765 by bjaspan, frando et al: schema API 1 hits core. Oh, behave. 2007-05-25 12:46:46 +00:00
Dries Buytaert 0047e35d91 - Patch #145671 by Gabor: import translation files when adding a new language. 2007-05-22 07:42:37 +00:00
Gábor Hojtsy 112aa20768 #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
2007-05-21 10:56:05 +00:00
Gábor Hojtsy 55b4cbadf2 #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 2007-05-15 20:19:47 +00:00
Dries Buytaert fff45d1f4b - Patch #139970 by Gabor: locale cleanup. 2007-05-03 09:51:08 +00:00
Dries Buytaert 7d4f2836ba - Patch #128082 by Goba et al: Allow localization of built-in menu items. 2007-04-30 17:03:29 +00:00
Dries Buytaert dbfcd7d137 - 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. 2007-04-25 21:34:32 +00:00
Dries Buytaert 9a142acc8d - Patch #137376 by Gabor: add language support to nodes. 2007-04-25 21:28:00 +00:00
Dries Buytaert f73610bec6 - Patch #76588 by Gabor: made log messages translatable. Yay. 2007-04-24 13:53:15 +00:00
Dries Buytaert f4cbd7c63d - Patch #118660 by agentrickard: re-order arguments of cache_set() to match PHP/Drupal conventions. 2007-04-15 15:36:10 +00:00
Dries Buytaert e675979091 - Patch #134493 by douggreen: getting the Drupal coding standards right in core. Woot. Woot. 2007-04-13 08:56:59 +00:00
Dries Buytaert ded653fbbd - Patch #128866 by Gabor and erdemkose: make it impossible to delete the default language or the English language. 2007-04-09 14:46:55 +00:00
Dries Buytaert b20618aa12 - Patch #128866 by Gabor et al: new language subsystem fixes. 2007-03-28 14:08:23 +00:00
Dries Buytaert c235bc60d3 - Patch #128866 by chx: fixed broken confirm form. 2007-03-26 05:55:52 +00:00
Dries Buytaert eb0caa354e - Patch #128866 by Gabor, Steven, chx, Jose et al: new language subsystem. 2007-03-26 01:32:22 +00:00
Dries Buytaert 79872ff139 - Patch #98359 by Robroy and webchick: string clean-up: web site -> website 2007-02-27 12:29:22 +00:00
Dries Buytaert 5ed8046fe7 - Patch #117826 by kkaefer: move the localization menu to site building. 2007-02-11 08:44:32 +00:00
Dries Buytaert 489903a08e - Patch #113603 by chx: first crack at re-implementing tabs. 2007-01-31 21:26:56 +00:00
Dries Buytaert 05a708fb06 - Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks. 2007-01-31 15:49:26 +00:00
Dries Buytaert 03752e35a4 - Patch #34755 by chx et al: faster menu system. HEAD is temporary broken and there is no upgrade path yet. 2007-01-24 14:48:36 +00:00
Neil Drumm 371323233b #105309 by Gábor Hojtsy. Translate language name selection on user edit pages. 2006-12-27 13:11:59 +00:00
Steven Wittens 0ea4e1c5f6 #100563: Conditional loading of (some) module.css files 2006-12-01 22:47:53 +00:00
Neil Drumm b5bf8a8f47 #97824 by Gurpartap. Move enclosing elements outside of their t(). 2006-11-26 02:20:01 +00:00
Dries Buytaert 827f064deb - Patch # #98366 by webchick and ac: simplified strings for translators. 2006-11-24 10:18:24 +00:00
Dries Buytaert 6ae6dc0d85 - Patch #87298 by webchick, neil, dww et al: show version numbers on modules page. 2006-11-21 20:55:36 +00:00
Dries Buytaert b004f328ee - Patch #92992 by webchick and neclimdul: clean up documentation that is superseded by the new 'by module' administration dashboard. 2006-11-21 20:14:19 +00:00
Dries Buytaert e08f5f27bd - Patch #98359 by webchick and webernet: standardize on terminology: 'website' and 'web page'. 2006-11-21 20:03:11 +00:00
Neil Drumm b0ddf6f40c #98359 by webchick. Change 'web site' to more common usage, 'website.' 2006-11-19 23:51:02 +00:00
Neil Drumm e7ca0fe512 #93506 by sammys. Postgres needs a different column type for source and target. 2006-11-14 06:20:40 +00:00
Dries Buytaert 83e7250b96 - Patch #89454 by chx: made deleting a locale language work. 2006-10-23 21:04:12 +00:00
Steven Wittens 36d44fbfb0 #84146: Use 'Sentence capitalization' for menu items, page titles, form items, etc 2006-10-22 08:28:47 +00:00
Dries Buytaert 18b297abf8 - Patch #81740 by merlinofchaos, webchick, moshe, neclimdul et al: added package support to the modules page. 2006-10-05 15:47:57 +00:00
Neil Drumm d151662982 #80867 by stefano73 and asimmonds. Fix editing and deleting locale strings. 2006-10-04 06:41:24 +00:00
Neil Drumm 94098f7e93 #81033 by webchick and neclimdul. Uninstall module API. 2006-09-01 07:40:08 +00:00
Dries Buytaert c64db1da29 - Patch #80952 by earl, webchick, neclimdul et al: .info files 2006-08-31 20:22:37 +00:00
Dries Buytaert 8fdf7a8750 - Patch #72290 by killes: split up the cache table. 2006-08-30 08:46:17 +00:00
Dries Buytaert 163f1accd9 - Patch #42463: performance improvement: add index on the source field of the locale table. 2006-08-27 09:33:31 +00:00
Dries Buytaert 7178f2f99e - Patch #79428 by Chris Johnson: remove int display width declarations from MySQL create table statements. 2006-08-20 06:38:50 +00:00
Dries Buytaert 7de41539df - Patch #77919 by chx, eaton, moshe, et al: enable programmaticaly submitted forms via the pull model. 2006-08-18 18:58:47 +00:00
Steven Wittens 81938a3cdc #76802: Introduce placeholder magic into t()
See: http://drupal.org/node/64279#t-placeholders
2006-08-18 12:17:00 +00:00
Neil Drumm 3cc2b1e3d7 #77183 by m3avrck and timcn, split up drupal.css by module. 2006-08-14 07:14:50 +00:00
Dries Buytaert 729fa6c11b - Patch #77422 by timcn: corrected various paths in the documentation. 2006-08-07 15:04:16 +00:00
Neil Drumm cd430165d7 #73884 by RobRoy, various code cleanup. 2006-08-05 00:26:36 +00:00
Dries Buytaert a7f67e01de - Patch #76681 by sammys: PostgreSQL support for install system. Woot! :) 2006-08-04 06:58:44 +00:00
Dries Buytaert b138793b68 - Patch #72079 by Earl et al: give Drupal an overall administration page ... :-) 2006-07-31 11:25:55 +00:00
Neil Drumm 46295c435e #71625 by keve, fix checking of an object exists. 2006-07-19 06:23:44 +00:00
Neil Drumm 7d9f57ff63 #73591 by Flanker, add missing CVS Ids. 2006-07-14 01:05:10 +00:00
Dries Buytaert 1c75a210bd - Patch #68926 by chx, jeremy, steven, eaton, webchick, amazon, neil, nedjo et al: an initial install system for Drupal core. 2006-07-13 13:14:25 +00:00
Neil Drumm 9cff02e91b #61802 by Zen, Double spaced sentences clean up 2006-05-07 00:08:36 +00:00
Gerhard Killesreiter 227276ad93 #52911, locale : fapi conversion + fixes, patch by Zen. 2006-03-17 18:35:56 +00:00
Dries Buytaert 71b0e2ddb7 - Patch #52324 by chx: fixed warnings when inserting locale strings. 2006-03-06 20:50:39 +00:00
Dries Buytaert 3603fe1bd8 - Patch #49912: www.drupal.org -> drupal.org. (Today's critical bugfix #5.) 2006-02-21 18:46:54 +00:00
Dries Buytaert bfb535f63e - Patch #19444 by Gerhard: added missing initialization of array. 2006-02-01 14:28:48 +00:00
Dries Buytaert e145866243 - Patch #44136 by riccardoR: can't enable more than one language. 2006-01-17 17:35:47 +00:00
Steven Wittens c27b62b182 - #41940: Locale string search broken in some cases (and remove some inappropriate db_escape_string() usage)
- #43491: Missing drupal_goto() after saving settings
2006-01-05 23:35:34 +00:00
Dries Buytaert a8b218827a - Patch #26139 by webchick / Kieran / documentation team: improved admin help of core modules! / 2005-11-01 10:17:34 +00:00
Steven Wittens 5f0e0f3649 - #33433: More form API fixes, and error handling improvements by Chx. 2005-10-13 10:02:31 +00:00
Dries Buytaert 75fe6b6c0a - Patch #33752 by chx, adrian, et al: another batch of form API changes/fixes. 2005-10-11 19:44:35 +00:00
Dries Buytaert 7e1527ee61 - 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.
2005-10-07 06:11:12 +00:00
Dries Buytaert 013b73e6ec - Patch #30122 by m3verick: changed include_once()'s to include "./$file"
for performance's sake.
2005-09-08 19:19:01 +00:00
Dries Buytaert 7b8a409675 - Patch #29385 by chx: no ?> add end of files. 2005-08-25 21:14:17 +00:00
Dries Buytaert 2debcfb1ef - 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()!  .
2005-05-05 22:22:46 +00:00
Dries Buytaert 0021293533 - Patch by Robert: fixed typo in code comments. 2005-05-03 05:22:53 +00:00
Dries Buytaert a76a1e1f3f - Patch 20910 by chx: centralize print theme page. 2005-04-24 16:34:36 +00:00
Steven Wittens be14203534 - #18817: Clean up plain-text checking (see drupal-devel!) 2005-03-31 09:25:33 +00:00
Steven Wittens 198ec98f75 #18329: Unify confirmation messages (and make them themable) 2005-03-03 20:51:27 +00:00
Dries Buytaert 64b100d19a - 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.
2005-01-09 09:22:40 +00:00
Dries Buytaert b8a556b81b - Bug 13503: updating the locale settings might impact the interface (eg. menu's) so we have to flush the cache. 2004-11-27 09:52:57 +00:00
Dries Buytaert fa97839088 - 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."
2004-11-21 08:25:17 +00:00
Steven Wittens 1cbf2f63b2 #12146: Improve locale import/export messages (Stefan) 2004-10-26 17:20:58 +00:00
Dries Buytaert 10f329c057 - 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'.
2004-10-19 18:02:31 +00:00
Steven Wittens 9e4399aae8 #10677: Confirmation when deleting a block + unifying confirmation screens. 2004-10-14 15:28:24 +00:00
Dries Buytaert 673f35037d - Patch #11179 by stefan: fixed broken URL in context sensitive help. 2004-10-08 16:52:02 +00:00
Dries Buytaert 5c7983c4de - Patch #8179 by JonBob: reintroduced menu caching. 2004-09-16 07:17:56 +00:00
Dries Buytaert 694b577b62 - Moved some documentation around and fixed a missing translation. 2004-09-08 18:46:41 +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 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 83a739bd89 - Code improvements by Stefan: made all status messages consistent (and easier to translate). 2004-08-18 19:57:27 +00:00
Dries Buytaert dd7764302f - Patch #10111 by Killes: fixed some SQL queries. 2004-08-16 17:42:36 +00:00
Dries Buytaert 0f088b79ca - Patch #9983 by Stefan: various code style improvements. 2004-08-12 18:00:11 +00:00
Dries Buytaert 1831e1b690 - 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.
2004-08-11 11:26:20 +00:00
Dries Buytaert 177c93f2bc - Patch #9481 by JonBob: fixed small typo in help text. 2004-07-25 14:35:11 +00:00
Dries Buytaert 1b1c47025a 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.
2004-06-27 19:10:52 +00:00
Dries Buytaert 54b77d6435 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').
2004-06-18 15:04:37 +00:00
Kjartan Mannes dfd66f998d - Fixed sitewide timezone settings not being saved.
- Making sure profile fields are saved properly.
2004-04-29 23:27:15 +00:00
Dries Buytaert 7231c88a32 - 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.
2004-04-21 13:56:38 +00:00
Dries Buytaert 10bdb51c37 - 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.
2004-04-15 20:49:42 +00:00
Dries Buytaert 2101f6c454 - 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.
2004-03-11 20:33:59 +00:00
Dries Buytaert 4b0b2d02ee - Patch by Steven: removed redundant permission checks. These are no longer
required thanks to the new 404 handling.
2004-02-15 20:09:46 +00:00
Dries Buytaert bc8057df38 - Patch #5613 by Goba: fixed translation issue with archive module and removed
some locale module code that is now part of extractor.php.
2004-02-08 17:07:07 +00:00
Dries Buytaert 5a8129e0fb - 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.
2004-02-07 16:18:46 +00:00
Dries Buytaert dc938c533b - Patch #5567 by Goba: fixed t() functions, cleanup of locale module's help,
fixed translation issues in taxonomy module, etc.
2004-02-01 21:04:42 +00:00
Dries Buytaert 10e8da6937 - Patch 5246 by Stefan: usability improvements for the locale module. 2004-01-26 19:47:58 +00:00
Dries Buytaert a8b8c247db - Patch #5021: clean up URLs in _help texts. Patch by UnConeD. 2004-01-11 20:31:26 +00:00
Dries Buytaert 7e67d99178 - Locale module improvements: better performance, reduce memory footprint.
Patch by Bart.
2003-12-28 09:40:49 +00:00
Dries Buytaert d5c8026454 - Updated the calls to menu() to use MENU_HIDE instead of 1 2003-12-17 22:27:23 +00:00
Dries Buytaert 712a30b520 - 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.
2003-12-08 18:30:20 +00:00
Dries Buytaert 4e2c0b250e - 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.
2003-12-01 13:45:33 +00:00
Dries Buytaert c0494c0a2b - Committed phase 4 of JonBob's menu system changes. 2003-11-25 19:26:21 +00:00
Dries Buytaert 4bdac4333b - 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.
2003-11-20 21:51:23 +00:00
Dries Buytaert 36bb57555c - table(...) -> theme("table", ...) 2003-11-13 19:52:54 +00:00
Dries Buytaert ef0fa006ed - Usability improvement: replaced many selection boxes by radio buttons.
Patch by Stefan.
2003-11-07 19:03:35 +00:00
Dries Buytaert 6735be0992 - Bugfix: PostgreSQL problem with locale module. Fixed bug #3900. Patch #139
by Gerhard.

- Forum module improvements.  Patch #138 by Ax.
2003-11-05 17:40:41 +00:00
Dries Buytaert b11d99fe16 - Fixed bug #3564: missing check in locale module. 2003-10-09 19:19:07 +00:00
Dries Buytaert 1a5fcacdd9 - Committed part 3 of Michael's help system improvements: removed the $help
parameter from the menu() function.
2003-10-09 18:53:22 +00:00
Dries Buytaert 22c889e7c0 - Help system improvements: eliminated the _system hook. Patch by Michael.
- Bloggerapi module fixes.  Patch by Kjartan.

- Coding style fixes.  Patch by Michael.
2003-10-07 18:16:41 +00:00
Dries Buytaert 87fe2d4250 - Bugfix: fixed print problem. Patch by Gabor. 2003-10-05 17:23:51 +00:00
Dries Buytaert 6b2038d762 - Removed a debug statement from the locale module. Thanks Gobar. 2003-10-03 17:17:18 +00:00
Dries Buytaert 058971c33b - Help improvements and translation improvements from Michael. Thanks! 2003-10-03 14:55:27 +00:00
Dries Buytaert 392304da5f - 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.
2003-09-30 21:48:32 +00:00
Dries Buytaert c8b28009cd - Made sure all menu items can be translated. Path by Goba. 2003-09-28 15:18:55 +00:00
Dries Buytaert f104d3cc12 - Committed the admin menu integration patch. Thanks Adrian, Stefan and others. 2003-09-26 10:04:09 +00:00