Commit Graph

375 Commits (5af292f76b27ffa7d6d571ddf6b663ebf0a92252)

Author SHA1 Message Date
Dries Buytaert a938e18a1b - Patch #491556 by Berdir: completed converting core to DBTNG. Oh my. Kudos to Berdir for this humongous effort. 2009-07-28 19:18:08 +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
Angie Byron 735e1d904f #500866 by boombatower: Remove t() from getInfo in tests. 2009-07-13 21:51:42 +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 f63727d176 - Patch #479966 by Berdir: document and fix hook_user_categories. 2009-06-03 07:28:28 +00:00
Angie Byron ff6f545b8f #478642 by daniel.bosen: Fix typo preventing profile fields from appearing on registration. 2009-06-02 00:23:42 +00:00
Dries Buytaert 88c9a015c1 - Patch #111011 by Josh Waihi: adding foreign key specifications. 2009-06-01 22:07:10 +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 7e36364c5c - Patch #465190 by Heine: add check_plain() call. 2009-05-26 10:41:06 +00:00
Dries Buytaert a98905f5c6 - Patch #471800 by stella: more code style fixes. 2009-05-25 13:42:56 +00:00
Dries Buytaert a24a6c2bba - Patch #471070 by stella: millions of code style fixes. 2009-05-24 17:39:35 +00:00
Angie Byron 4bc255ba79 Roll-back of #310467: Breaks installer requirements check and update.php. 2009-05-21 23:07:16 +00:00
Angie Byron f577c125e8 #196862 by Damien Tournoud, et al: Replace COUNT(*) queries with SELECT 1 ... LIMIT 1 queries when all that's required is a check for whether rows exist. 2009-05-16 15:23:16 +00:00
Dries Buytaert 1778c5cca9 - Patch #310467 by chx, moshe weitzman: made hook_theme slimmer. 2009-05-14 08:23:15 +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 7cf957f5db - Patch #300750 by brianV: documented a variable. 2009-05-07 10:39:38 +00:00
Dries Buytaert e721147363 - Patch #295864 by boombatower: cleaned up the randomName() method by removing unnecessary prefix code, and added a new randomString() method which includes characters like spaces. 2009-04-29 12:08:28 +00:00
Angie Byron fc7283235b #444402 follow-up by kkaefer: Fix autocomplete, enforce code style for anonymous JS functions. 2009-04-27 20:19:38 +00:00
Dries Buytaert 7a6f73f49d - Patch #330748 by stBorchert: remove from theme_pager*. 2009-04-26 19:44:40 +00:00
Angie Byron bda52632a5 #444402 by kkaefer and RobLoach: Enforce coding standards on all core JavaScript. 2009-04-26 19:18:46 +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 3b30509599 #347250 by catch, drewish, and Berdir: Add function for loading multiple users in one request. 2009-03-14 23:01:38 +00:00
Angie Byron b77475baf5 #360081 by quicksketch: Stop using global variables for JavaScript settings. 2009-03-13 23:15:09 +00:00
Angie Byron 665c9fdc2c Roll-back of users -> user table name change in #330983: Broken pgsql is no fun. 2009-02-26 07:30:29 +00:00
Angie Byron ff9e842730 #330983 by recidive and boombatower: Rename users/users_roles tables to user/user_role for consistency. 2009-02-18 15:19:57 +00:00
Angie Byron fb7347bc9d #371231 by JohnAlbin and EclipseGC: Rename clear-block CSS class to clearfix, which is the lingo that designers use for it. 2009-02-18 14:28:25 +00:00
Angie Byron ac484c277a #125030 by kkaefer, quicksketch, dvessel, Steven, and John Resig: Allow compatibility with other JavaScript libraries. 2009-02-18 13:46:55 +00:00
Dries Buytaert 29c8e40e91 - Patch #355236 by Frando: refactor drupal_render() theming. 2009-02-03 18:55:32 +00:00
Dries Buytaert 938c7c07a3 - Patch #360605 by Berdir: made CVS HEAD compatible with PHP5.3. 2009-01-22 12:46:07 +00:00
Dries Buytaert 08f263fb23 - Patch #323386 by mariuss, Dries: select options includes comments -- inconsistent with documentation 2009-01-11 10:49:21 +00:00
Dries Buytaert 18ad0f6933 - Patch #124492 by mfer, c960657 et al: valid_url() does not support all valid URL characters. 2009-01-08 19:09:49 +00:00
Angie Byron 9a32ca468a #8 by sun and most of #drupal: Users can now cancel their accounts. Fixing the 8th issue, almost 8 years later, on January 8th, after working 8 days full-time on it. GREAT WORK :D 2009-01-08 08:42:13 +00:00
Dries Buytaert 92a8adea65 - Patch #352470 by scor: fixed typos and grammar in comments. 2008-12-30 16:43:20 +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 0b06c68b98 - Patch #288039 by sun, ff1, agentrickard, fgm, ultimateboy: improved usability of the aliased URL admin page. 2008-12-05 12:50:28 +00:00
Dries Buytaert b4534e89a5 - Patch #263445 by Dave Reid, merlinofchaos: replace improper use of drupal_to_js() with drupal_json(). 2008-11-26 13:52:13 +00:00
Dries Buytaert eda100b83d - Patch #338403 by drewish: code comments clean-up. 2008-11-25 13:14:29 +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 ad41b6dd93 - Patch #326607 by Ozeuss: fixed undefined property. 2008-11-02 16:11:31 +00:00
Dries Buytaert 5371104a2d - Patch #316225 by sun et al: allow behaviors to detach from AHAH/AJAX. 2008-10-29 10:01:28 +00:00
Dries Buytaert 12393a4d12 - Patch #320000 by lilou: unify doxygen @file documentation in tpl. 2008-10-13 12:31:43 +00:00
Angie Byron 8292bdd40a Re-commit of #242873 by pwolanin and bjaspan: Make drupal_set_title() check_plain() by default. 2008-10-13 00:33:05 +00:00
Angie Byron a3a420c3e6 Roll-back of #242873: This caused horrendous problems with SimpleTest on some configurations. 2008-10-12 06:27:06 +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 ecf7ad41d0 #242873 by pwolanin and bjaspan: Make drupal_set_title() do check_plain() by default. 2008-10-11 21:11:02 +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 6828096e7e #284887 by Dave Reid and dww: Disable autocomplete if user does not have access to the callback. 2008-10-10 07:49:49 +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
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
Angie Byron 161a9970f7 #308534 by Dave Reid: Remove stray whitespace core-wide. 2008-09-15 20:48:10 +00:00
Dries Buytaert 2b07665033 - Patch #64967 by Arancaytar, meba: ereg -> preg for performance reasons and future compatilbility. PHP6 is rumoured to drop ereg support. 2008-09-05 09:25:52 +00:00
Dries Buytaert 69e6f411a9 - Patch #225450 by Crell, chx, bjaspan, catch, swentel, recidive et al: next generation database layer for Drupal 7. 2008-08-21 19:36:39 +00:00
Dries Buytaert ccf1af94fa - Patch #245329 by christefano and dmitrig01: code comment love. 2008-07-24 16:25:19 +00:00
Dries Buytaert 57fe5103da - Patch #252013 by Eaton, pwolanin, Susurrus et al: drupal_render() now printes #markup, not #value. 2008-07-16 21:59:29 +00:00
Dries Buytaert b87b7c2d01 - Patch #265040 by flobruit: Remove drupalModuleEnable() from simpletest. 2008-06-05 21:55:45 +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 4efe4313a2 - Patch #252920 by flobruit and pwoladin: split profile module tests in smaller tests, and improved performance of tests. 2008-05-04 19:22:58 +00:00
Dries Buytaert 592a5d9f9a - Patch #252920 by flobruit: fixed broken profile module tests by rewriten them -- and added some more tests. 2008-05-02 15:24:47 +00:00
Dries Buytaert c14ac959c4 - Patch #225859 by webchick: fixed warning in author information block. 2008-04-28 09:11:58 +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 e19dfc75c9 - Patch #67523 by ricabrantes: fixed theme issue with avatars on account listings. 2008-04-23 18:25:08 +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 f5d4287cd5 - Patch #214271 by recidive: improved schema identation. 2008-03-15 12:31:29 +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 60688d68db - Patch #181411 by Moshe: use schema API for saving and updating user records. 2008-02-18 16:53:37 +00:00
Gábor Hojtsy 1851421634 #172597 by Rob Loach: minor double escaping in profile module 2008-02-03 19:36:46 +00:00
Gábor Hojtsy 6644f59244 #211876 by hass: typo in profile module docs 2008-01-21 15:20:43 +00:00
Gábor Hojtsy b78a990270 #207569 by ScoutBaker (minor code style): clean up @see usage in phpdoc blocks 2008-01-08 10:35:43 +00:00
Dries Buytaert 178c28535b - Patch #204900 by webernet: code style fixes. Likely my last patch of the year. Fiew. Thanks all, and see you on the other side. :) 2007-12-31 08:54:37 +00:00
Dries Buytaert 2a1e980cdd - Patch #203509 by pwolanin, chx, cwgordon7 et al: fixed menu inheritenace. 2007-12-26 19:02:24 +00:00
Gábor Hojtsy e08abdd252 #194946 by dmitrig01, Pasqualle: christmas cleanup (some code style issues fixed) 2007-12-23 13:17:20 +00:00
Gábor Hojtsy fd7e7eb55e #202397 by keith.smith: document profile module drag and drop in help text and add info on how categories come to life / can be edited 2007-12-19 18:31:29 +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 c6d841c096 #197297 by DanW (as GHOP 17), and keith.smith: clean up lots of help texts, update to drag and drop functionality, drupal.module removal, etc 2007-12-13 09:34:40 +00:00
Gábor Hojtsy ad397fc1e4 #198231 by Alex UA and JirkaRybka: profile module had a parse error in PHP 4 and there was a weighting error with form elements 2007-12-09 13:03:01 +00:00
Gábor Hojtsy 5622bce2d5 #198579 by webernet and hswong3i: a huge set of coding style fixes, including:
- whitespaces at end of lines
 - indentation
 - control structure usage
 - whitespace in empty lines
 - phpdoc comment formatting
2007-12-08 14:06:23 +00:00
Gábor Hojtsy bad47cbf85 #193998 by Rob Loach and quicksketch: profile fields drag and drop 2007-11-30 09:02:51 +00:00
Dries Buytaert 7a47bef514 - Patch #162381 by Heine et al: properly escape strings. 2007-11-28 10:29:21 +00:00
Gábor Hojtsy 1a5f3010e3 #188498 by Rob Loach: user profile category names are stored and compared case insensitively, but the reserved category name check was not case insensitive 2007-11-26 08:30:19 +00:00
Gábor Hojtsy 1c02e47e69 #192201 by myself: remove overly secure check_markup() and check_plain() usage which results in double escaped output 2007-11-20 11:39:48 +00:00
Gábor Hojtsy b0676c8f27 #192692 by jrbeeman and mfer: (security) protect profile category page menu items with the visibility settings already available 2007-11-19 11:24:11 +00:00
Dries Buytaert ce9c92ef4f - Patch #191544 by Crell: split up profile module. Tested by catch. 2007-11-13 12:28:36 +00:00
Gábor Hojtsy a0c920badf #140377 by tostinni: provide a default weight to new profile fields, so they will not be saved with -5 2007-10-24 13:27:12 +00:00
Gábor Hojtsy ed1a53698a #180897 by sun and dvessel: fix various XHTML validity issues in Drupal by closing unclosed tags, avoiding empty table containers, and so on 2007-10-11 09:51:29 +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 25465ee76e #176503 by chx and bennybobw: hidden profile fields cannot be required and cannot be put on the registration form, so we needed warnings on the editing form to not let admins save forms set with these combinations. 2007-10-05 13:26:53 +00:00
Dries Buytaert b0493c003c - Patch #173303 by dvessel: fixed E_NOTICE. 2007-09-05 18:11:27 +00:00
Gábor Hojtsy 4072667666 #170546 by ChrisKennedy: fix 7 E_ALL notices in profile module 2007-09-01 06:15:33 +00:00
Dries Buytaert 5e73b66f3a - Patch #168028 by dvessler, merlinofchaos, pwolanin et al: both theme functions and templates may need include files. Flush your caches. 2007-08-26 07:46:11 +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 626b757308 #165775 by hswong3i: profile name field has a unique key, so it should not allow NULL as a value 2007-08-09 11:05:40 +00:00
Gábor Hojtsy f23c24c8a3 #164935 by Ralf Stamm: standardize CVS Id tags in files:
- always include CVS Id tags in all files
 - add a new line after the CVS Id, if more code or phpdoc follows in the same code block
 - fix bogus Id tags previously added
2007-08-07 08:39:36 +00:00
Dries Buytaert 99276849da - Patch #162134 by dvessel: tplify profile module. 2007-08-02 10:36:42 +00:00
Gábor Hojtsy 0d86b33282 #161142 by dvessel: kill notice on profile page when there are less then three components in the path 2007-07-26 08:49:11 +00:00