Commit Graph

484 Commits (c448440ce844666a09fb8c9e287bfe4d293b8fad)

Author SHA1 Message Date
Dries Buytaert 1cb0e254dc - Patch #693054 by yched: field_update_field() called the wrong field storage backend. 2010-03-03 07:56:18 +00:00
Dries Buytaert 8a8c28acb0 - Patch #730186 by douggreen: fixing spelling mistake in documentation: 'kay' -> 'key'. 2010-03-03 07:40:58 +00:00
Angie Byron 33ec13f004 #727868 by yched: Remove stale TODO from field api. 2010-02-27 22:11:11 +00:00
Dries Buytaert 39dc13133f - Patch #718254 by andypost: field names were too long -- make PostgreSQL happy. 2010-02-27 07:52:03 +00:00
Dries Buytaert 1a817fd2f8 - Patch #503550 by yched, jp.stacey: make sure strings are cached per language. 2010-02-27 07:41:34 +00:00
Dries Buytaert 420b9c1885 - Patch #332725 by andypost, Damien Tournoud, lilou, Gábor Hojtsy: locale_inc_callback() is a thing of the past. 2010-02-22 20:53:13 +00:00
Angie Byron dcb47ed24d #706248 by bellHead and Damien Tournoud: Fixed field_sql_storage_field_storage_query() with 'count' option breaks on PostgreSQL and SQLite. (with tests) 2010-02-17 05:24:53 +00:00
Angie Byron bfe2c14b54 #706962 by yched: Fixed No way to remove field instance from a bundle without removing instance from all bundles. 2010-02-15 22:18:35 +00:00
Dries Buytaert 52348845d9 - Patch #600490 by scor: increased entity type size. 2010-02-15 18:43:00 +00:00
Dries Buytaert 0161d941a3 - Patch #714480 by tstoeckler: boolean fields should not be able to have a select list as widget. 2010-02-15 15:46:23 +00:00
Dries Buytaert 7610357974 - Patch #712564 by yched: fixed formatting of documentation in field_attach_query(). 2010-02-13 21:05:31 +00:00
Dries Buytaert ecc8864363 - Patch #712988 by moshe weitzman: too small bundle column in field data tables. 2010-02-13 20:56:16 +00:00
Angie Byron 3756cdd8c1 #707724 follow-up by yched: More Field API/Entity API terminology clean-up. 2010-02-12 05:38:10 +00:00
Angie Byron 7562a8efb3 #707724 by chx: Rename confusing arguments in field/entity APIs. 2010-02-11 17:44:47 +00:00
Angie Byron 8d1f703f3a #641670 by yched and sun: Move ['#field'] meta information into (). 2010-02-11 15:42:14 +00:00
Dries Buytaert 9031e41297 - Patch #707828 by nagba: typo in text module handling the summary generation. 2010-02-08 21:02:15 +00:00
Dries Buytaert 2893abcc62 - Patch #652246 by effulgentsia, scor: optimize theme('field') and use it for comment body. 2010-02-07 09:11:28 +00:00
Angie Byron 73c28090e3 #668386 by yched: Handle unavailable entity types or bundles. 2010-02-07 05:12:35 +00:00
Dries Buytaert fe6a5a06a7 - Patch #700194 by yched: optimize field_modules_disabled(). 2010-02-06 15:51:08 +00:00
Dries Buytaert 49db9562fa - Patch #705420 by catch: add field name to create instance exception. 2010-02-05 22:11:26 +00:00
Dries Buytaert f066e7f4e8 - Patch #697880 by nagba, yched: properly initiatlize variable. 2010-02-01 19:51:13 +00:00
Dries Buytaert ea51c3215b - Patch #606526 by axyjo, scor: remove trailing whitespaces and add newlines at end of files. 2010-01-30 07:59:26 +00:00
Angie Byron e5f48f0f78 #680910 by yched and bjaspan: Allow fields to be restricted to entity types. 2010-01-30 02:22:01 +00:00
Angie Byron 68d000561d #697694 by aspilicious: Doxygen fixes. 2010-01-29 01:59:32 +00:00
Angie Byron dba61c45e6 #599122 follow-up by scor and catch: Do not use module_load_include() in global context. 2010-01-28 13:56:25 +00:00
Angie Byron 4575dbaa57 #695614 by figover: Small documentation fix in number module. 2010-01-26 21:44:10 +00:00
Dries Buytaert af3f94b37e - Patch #693614 by asimmonds: fixed PHPDoc spelling typos. 2010-01-25 10:38:35 +00:00
Dries Buytaert f60739b033 - Patch #683736 by c960657: use db_like() where appropriate. 2010-01-13 23:19:54 +00:00
Dries Buytaert d2fc4b69f7 - Patch #683028 by litwol: fixed typo that prevented field storage from being pluggable. 2010-01-13 14:06:46 +00:00
Angie Byron 02d2f6e04a #678714 by effulgentsia: Unify use of theme hook / template suggestions, fix clobbering problems, and improve suggestion discovery performance. 2010-01-13 05:40:03 +00:00
Angie Byron c33d0f7be8 #399642 follow-up by carlos8f: Replace drupal_install_modules() with an improved module_enable(). 2010-01-13 05:08:29 +00:00
Angie Byron 52f99dc071 #645926 by Damien Tournoud and yched: hook_field_storage_details() should be per-field, not per-instance. Allows Views/Field integration to get unblocked. 2010-01-13 04:37:03 +00:00
Angie Byron fd1a814f3f #681994 by chx and litwol: Add more descriptive comments for field_attach_query(). 2010-01-12 06:21:34 +00:00
Angie Byron 00b27f694a #680454 by Amitaibu: Initalize variable in _options_properties(). 2010-01-10 16:50:36 +00:00
Angie Byron 147bb1389a #571654 follow-up by chx, peximo, plach, sun, et al:
Roll-back of node titles as fields. The Entity Translation module in
contrib can add this back, but for everyone else it creates a *huge* WTF.
Apologies for how late this is coming, but better now than post-alpha. :\
2010-01-09 21:54:01 +00:00
Angie Byron c0a0e5d710 #671632 by yched: Fixed Number formatters capitalization. 2010-01-07 19:57:49 +00:00
Angie Byron ec7ff41cc5 #580868 by anarcat and Dave Reid: Make 'Modules' its own top-level admin link. 2010-01-04 21:31:52 +00:00
Angie Byron dd3856d6ec #671928 by asimmonds: Fixed typo in doxygen. 2010-01-04 15:56:28 +00:00
Angie Byron 6abc20eee7 #673340 by fgm: Fixed incorrect wording in several functions in field.crud.inc. 2010-01-03 23:31:17 +00:00
Angie Byron 70e53b33c1 #370537 by chx, sun, effulgentsia, quicksketch, eaton, Heine, and yched: Allow buttons to only validate sections of forms, e.g. More buttons. (with tests) 2010-01-02 23:30:53 +00:00
Dries Buytaert 2872570581 - Patch #672494 by catch: small performance optimization for field_access(). 2010-01-02 18:50:51 +00:00
Dries Buytaert b12d812b93 - Patch #665878 by yched: fixed field_extra_fields() 2010-01-02 15:00:34 +00:00
Dries Buytaert a0f3abf035 - Patch #661494 by yched: fixed direct calls to node_view() do not trigger f_a_prepare_view(). 2009-12-31 08:26:59 +00:00
Dries Buytaert f639b9e965 - Patch #669124 by Arancaytar: list.module incorrectly validated data. 2009-12-29 19:43:31 +00:00
Dries Buytaert 5af362233e - Patch #658302 by yched: repurpose hook_field_sanitize() into hook_field_prepare_view(). 2009-12-28 20:24:08 +00:00
Dries Buytaert 53748ab5e2 - Patch #664544 by yched: clean-up entity build/view modes. 2009-12-26 16:50:09 +00:00
Dries Buytaert a838c8be49 - Patch #667602 by Crell: fixed typo in Field API documentation. 2009-12-26 12:53:35 +00:00
Dries Buytaert 814f4c8e3f - Patch #667040 by effulgentsia: optimize template_preprocess_field(). 2009-12-26 12:48:14 +00:00
Dries Buytaert d1c017660c - Patch #658364 by effulgentsia: made the build/view/formatter terminology more consistent. 2009-12-21 13:47:32 +00:00
Dries Buytaert 8b752bc111 - Patch #612894 by David_Rothstein: fixed parse error. 2009-12-20 22:38:05 +00:00
Dries Buytaert e9f1814748 - Patch #612894 by yched: display field improvements. 2009-12-20 21:08:26 +00:00
Dries Buytaert e0bab30a96 - Patch #663966 by Magnity: fixed typo in Field CRUD documentation. 2009-12-20 19:45:07 +00:00
Angie Byron 8e38d459e5 #653940 follow-up by Damien Tournoud: Clean-up of error handling from first stab at test reporting fixes. 2009-12-15 05:22:05 +00:00
Angie Byron eb807e70e0 #645776 follow-up by jhodgdon and matason: Added missing Number module help. 2009-12-15 05:20:13 +00:00
Dries Buytaert 13984a7394 - Patch #639466 by yched: fixed hook_options_list() and XSS filtering, and added more tests. 2009-12-14 20:18:56 +00:00
Angie Byron 85e9dbd20b #552436 follow-up by yched: Fix test regression. 2009-12-14 01:24:03 +00:00
Dries Buytaert 601150c262 - Patch #658302 by yched: re-purpose hook_field_sanitize() into hook_field_prepare_view(). 2009-12-13 12:42:28 +00:00
Dries Buytaert 8b4406ef5d - Patch #552436 by yched: validation of the number of values in field_default_validate(). 2009-12-13 12:41:08 +00:00
Angie Byron a542d8b716 #658358 by yched: Fix capitalization. 2009-12-13 09:04:55 +00:00
Angie Byron 3dd7a193ae #645776 by jhodgdon, arianek, tobiasb, and matason: Update Field modules to new help standard. 2009-12-13 02:04:14 +00:00
Dries Buytaert 6a13eb22fc - Patch #657828 by yched: make hook_field_formatter() act on all field values. 2009-12-12 20:16:03 +00:00
Dries Buytaert ef2c240086 - Patch #652834 by yched, effulgentsia: changed Field formatters as render arrays to increase performance (and to clean-up the code). 2009-12-11 16:49:40 +00:00
Dries Buytaert c2f26d3368 - Patch #653940 by sun: tests weren't reporting all errors. 2009-12-10 15:39:43 +00:00
Dries Buytaert 14053d3625 - Patch #584296 by jhodgdon: improved field API documentation. 2009-12-04 22:46:28 +00:00
Dries Buytaert 1da26fadfe - Patch #502190 by jhodgdon, stella, sun: hook implementation headers out of compliance with standards. 2009-12-04 16:49:48 +00:00
Dries Buytaert f43ee59e05 - Patch #644106 by jhodgdon: field_update_instance() doc needs minor fix. 2009-12-03 02:30:18 +00:00
Dries Buytaert 0baad49d62 - Patch #635094 by plach: unify 'language neutral' language codes. 2009-12-02 19:26:23 +00:00
Angie Byron e581ef4dd8 #645776 by arianek, tobiasb, and jhodgdon: Update Field help to new standard. 2009-12-02 08:08:11 +00:00
Dries Buytaert d8429228ce - Patch #622922 by chx, fago, sun, effulgentsia: form API clean-up, bugfixes and extra tests. 2009-12-01 03:07:34 +00:00
Angie Byron 27128bc148 #646212 by Jody Lynn: Fixed typos in field.info.inc comment. 2009-11-29 22:33:47 +00:00
Angie Byron 706d737ca1 #639428 by sun and yched: Remove #process pattern from text field. 2009-11-29 20:45:17 +00:00
Dries Buytaert 500b2a0022 - Patch #645850 by Amitaibu: remove unused variables from text module. 2009-11-29 10:17:11 +00:00
Dries Buytaert 0b97803613 - Patch #613754 by yched, detour, matt2000: fixed field_info_fields(). 2009-11-29 06:35:47 +00:00
Angie Byron 430a37f010 #623314 by yched, peximo, and plach: Remove extra phantom properties rendered on comment preview. 2009-11-26 19:09:32 +00:00
Angie Byron d3de3672f1 #642612 by yched: Add clean way to reset entity_info() cache. 2009-11-26 05:54:48 +00:00
Dries Buytaert 02e70401ec - Patch #606934 by matt2000, johanneshahn, yched: fixed bug with boolean fields, and added more field type tests. 2009-11-24 05:27:31 +00:00
Dries Buytaert 79a9a4f3bf - Patch #582378 by sun, David_Rothstein: fixes for the filter system and additional tests. 2009-11-22 08:14:27 +00:00
Dries Buytaert ff88ee0f56 - Patch #601584 by effulgentsia, boombatower, yched: setUp() function for unit and web test cases should reset all resettable statics. 2009-11-21 14:35:05 +00:00
Angie Byron 59ceca0caf #633156 follow-up by effulgentsia and yched: Clean up AJAX tests, add sister function to drupal_js_encode(). 2009-11-21 00:43:42 +00:00
Angie Byron 34119ba98b #638356 by yched: Reorganize and re-locate field test modules. 2009-11-20 23:29:28 +00:00
Angie Byron 01d85a5571 #635202 by yched and sun: Remove #process pattern from option widgets (plus buckets of tests for option widgets). 2009-11-20 05:14:13 +00:00
Angie Byron 9b71489a48 #636834 by yched: Fixed field revision data when user has no 'edit' access on the field (with tests). 2009-11-20 04:51:27 +00:00
Dries Buytaert fc980fa793 - Patch #632012 by plach: field_sql_storage_field_storage_write() performs a multiple-insert query for each field translation instead of making a global multiple-insert query handling all the available field translations. 2009-11-13 19:19:50 +00:00
Dries Buytaert e218e24a96 - Rollback of #631486 (wrong incomplete commit) 2009-11-13 11:59:14 +00:00
Dries Buytaert a6ae1c6cfa - Patch #530652 by sun: _user_password_dynamic_validation() should be a #process of password_confirm(). 2009-11-13 10:21:50 +00:00
Dries Buytaert 2218f528d5 - Patch #631048 by yched: number rounding should not be done by widgets. 2009-11-12 21:03:36 +00:00
Dries Buytaert e88a21782d - Rollback of #447816. 2009-11-12 20:07:06 +00:00
Dries Buytaert 5cc6df569f - Patch #629074 by sun: field widgets are not themeable due to missing CSS class names. Better CSS classes for fields. 2009-11-11 08:32:35 +00:00
Angie Byron ea1bd5606c #606526 by axyjo and scor: Remove trailing whitespace and add newlines at end of files. Sorry, folks! But it is after code freeze. :) 2009-11-10 17:27:54 +00:00
Dries Buytaert 5f40bd5bec - Patch #626354 by yched: remove #process pattern from number field. 2009-11-10 06:48:58 +00:00
Dries Buytaert ca833681cc - Patch #627204 by yched: removed unnecessary prefix on field 'add more' element. 2009-11-09 18:23:41 +00:00
Dries Buytaert 3213087441 - Patch #623992 by sun: fixed the tests. We can re-enable the test bot now. 2009-11-08 19:53:19 +00:00
Angie Byron 0b71c0caa0 #622534 by yched: Cleanup hook_field_attach_*() and hook_field_storage_*() space. 2009-11-08 19:11:56 +00:00
Angie Byron 9534636668 #567064 follow-up by sun: Updated documentation. 2009-11-08 11:05:09 +00:00
Angie Byron 4d46b7cdf8 Roll-back of #595084; type-hinting parameters at stdClass makes it so you can't ever pass in another type of class. 2009-11-08 10:02:41 +00:00
Angie Byron 1999c881ec #569542 by bjaspan and Mike Wacker: Auto-select single option if only one is available. 2009-11-02 20:31:49 +00:00
Angie Byron fedcd1acf0 #620228 by c960657: Fixed parameter name in number.module. 2009-11-01 22:19:56 +00:00
Dries Buytaert 342ebd7776 - Patch #567064 by yched, sun: widgets done 'the easy way' have too many limitations. Removes more code than it adds! 2009-11-01 14:05:32 +00:00
Dries Buytaert e4ca439ba1 - Patch #595084 by c960657: use type hinting for . 2009-11-01 12:11:10 +00:00
Dries Buytaert 8a40036a49 - Patch #615484 by yched: remove schema rebuild from field_cache_clear(). 2009-10-31 18:00:48 +00:00
Dries Buytaert 03e2ec64ab - Patch #606994 by yched: move entity handling out of Field API. 2009-10-31 16:06:36 +00:00
Angie Byron 150f6a682b #619406 by yched: Removed unneeded variable assignment in field_multiple_value_form(). 2009-10-31 14:58:41 +00:00
Dries Buytaert bbce39fff3 - Patch #307354 by xmacinfo, heather: rename 'Display fields' to 'Manage Display'. 2009-10-26 00:15:59 +00:00
Angie Byron 4d3292f754 #613780 by yched: Fixed incomplete initialisation in _field_info_collate_fields() / 'instances'. 2009-10-25 02:51:28 +00:00
Angie Byron a7149821d6 #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(). 2009-10-23 22:24:19 +00:00
Dries Buytaert cc421475b7 - Patch #603236 by bjaspan, catch: add count facility to field_attach_query(). Was ready before code freeze. 2009-10-22 00:49:13 +00:00
Dries Buytaert 079dca8e17 - Patch #608036 by effulgentsia: add content_attributes() variable for tpl files, so RDF can be implemented better. 2009-10-19 01:30:07 +00:00
Dries Buytaert 29a574e082 - Patch #605930 by bjaspan: fixed problem with list field static caching in field_update_field(). Added some first list tests too! 2009-10-18 18:46:11 +00:00
Dries Buytaert fcaf2e8016 - Patch #607478 by Scott Reynolds: fixed small spelling mistake in field.module documentation. 2009-10-18 01:55:13 +00:00
Dries Buytaert 198fd0a949 - Patch #557924 by bjaspan, plach: fixed Options widget. 2009-10-17 01:20:01 +00:00
Angie Byron d854417e0c #565480 follow-up by plach: Clean-ups and documentation. 2009-10-16 15:47:46 +00:00
Angie Byron 1c7bca0b6f #605442 by catch: Add a generic hook_entity_load(). 2009-10-16 03:47:14 +00:00
Angie Byron 087a47ba5c #493314 by yched and catch: Add multiple hook for formatters. 2009-10-16 03:21:23 +00:00
Angie Byron b965f7478f #470242 follow-up by bjaspan: Fix typo. 2009-10-16 02:47:16 +00:00
Angie Byron 6061fa9781 #565480 by plach and peximo: TF #2: Multilingual field handling. Integration between field API and locale module + translatable node bodies. 2009-10-16 02:04:44 +00:00
Dries Buytaert 714597a9cd - Patch #470242 by yched, bjaspan: fixed namespacing for bundle names to avoid users rendering their site unusable. 2009-10-15 12:44:36 +00:00
Dries Buytaert a243e821fa - Pactch #569224 by bangpound: expose field storage details through field attach. 2009-10-14 14:55:12 +00:00
Dries Buytaert fbfa7a4150 - Patch #593522 by sun: a better and faster drupal_alter(). 2009-10-13 16:38:43 +00:00
Angie Byron 8d3eaa1ccf #560780 by quicksketch, ksenzee, Arancaytar, yched, and arianek: Added Image Field to image.module. Hellooooo, native image handling in core! :D 2009-10-12 05:22:57 +00:00
Angie Byron 7ed3cf3b13 #569238 by sun, swentel, catch: Changed Make check_markup() not cache by default. 2009-10-10 21:39:03 +00:00
Dries Buytaert f175e6984f - Patch #597832 by markus_petruxm: add (), arguments to field_access() to enhance the context for hook_field_access(). 2009-10-09 19:22:56 +00:00
Angie Byron bd48d8be7e #599122 by scor: Convert all require(DRUPAL_ROOT . 'file') to module_load_include(). 2009-10-09 07:31:38 +00:00
Dries Buytaert c05f2181dc - Patch #572618 by effulgentsia, pwolanin, sun: all theme functions should take a single argument. Code clean-up and performance improvement. Woot. 2009-10-09 01:00:08 +00:00
Dries Buytaert 1184ed9fc9 - Patch#583020 by c960657 | yched, Dries: fixed warning about missing argument 2 for field_delete_instance() in node_configure_fields(). 2009-10-02 14:39:43 +00:00
Dries Buytaert 264c9ee8ff - Patch #578230 by yched, sun: clean-up: remove 'widget_active()' behavior. 2009-10-01 19:16:57 +00:00
Dries Buytaert 57090c33da - Patch #367013 by bjaspan, yched: clean ups for field_update_field(). 2009-09-30 12:26:36 +00:00
Angie Byron dd7a450a7c #590590 by plach: Fixed bug where field_create_field() ignores the 'translatable' property. 2009-09-29 17:36:29 +00:00
Dries Buytaert cef1089389 - Patch #570900 by Crell | asimmonds: Changed Destroy remnants of update_sql(). 2009-09-29 15:13:57 +00:00
Dries Buytaert 0a0b067c24 - Patch #497504 by dakala, bjaspan | yched: rename #multiple to #cardinality in field forms. 2009-09-29 01:08:35 +00:00
Dries Buytaert 803b8b3940 - Patch #443422 by yched, bjaspan | chx, merlinofchaos, Scott Reynolds, plach, profix898, mattyoung: added support for pluggable 'per field' storage engine. Comes with documentation and tests.
The Field Attach API uses the Field Storage API to perform all "database access". Each Field Storage API hook function defines a primitive database operation such as read, write, or delete. The default field storage module, field_sql_storage.module, uses the local SQL database to implement these operations, but alternative field storage backends can choose to represent the data in SQL differently or use a completely different storage mechanism such as a cloud-based database.
2009-09-27 12:52:55 +00:00
Dries Buytaert 5e7df30a34 - Patch #582754 by bjaspan | yched: Fixed Undefined index errors viewing nodes with fields. 2009-09-27 11:12:15 +00:00
Dries Buytaert db09a6178b - Patch #367013 by bjaspan, KarenS | yched, Dries: add support for field updates. 2009-09-26 15:57:39 +00:00
Dries Buytaert 29addd06b2 - Patch #569364 by bjaspan, yched: handle failures on field storage creation. 2009-09-22 08:44:04 +00:00
Dries Buytaert 77d9ff0706 - Patch #551694 by effulgentsia, rfay, sun | moshe weitzman, Dries: standardized the return of status messages in AJAX callbacks. 2009-09-21 08:54:57 +00:00
Dries Buytaert ef33d44f66 - Patch #556018 by Damien Tournoud, dereine | sun: rename drupal_to_js() and drupal_json() for consistency and readability. 2009-09-21 07:56:09 +00:00
Dries Buytaert 6e57cf73d6 - Patch #11218 by sun: fixed fatal error. 2009-09-20 09:37:09 +00:00
Dries Buytaert 7cf7f99878 - Patch #11218 by David_Rothstein, sun, quicksketch, duncf, awood456, dropcube, mgifford | pwolanin, dww, RobRoy, Crell, webchick, beginner, ray007, bjaspan, chx, Gábor Hojtsy, Steven, Dries, lutegrass, sym, guardian, matt2000, geerlingguy, SeanBannister, matt westgate, com2, praseodym: allow default text formats per role, and integrate text format permissions. 2009-09-20 07:32:19 +00:00
Angie Byron e18feedfdb #564394 by Berdir and Crell: Removed database BC layer. nah nah nah nah... hey hey hey... gooood byeeee... 2009-09-18 00:04:24 +00:00
Angie Byron d7bd23107e #513414 by kika, stBorchert, stella, sign, Bojhan, sun et al: Make editing of summary/full fields more user-friendly. 2009-09-11 13:30:49 +00:00
Dries Buytaert 2729f1c2f0 - Patch #569362 by scor, effulgentsia, catch: add attributes and title_attributes() variables for tpl files so that RDFa and Microformats can be implemented. 2009-09-11 06:48:03 +00:00
Angie Byron 3da4e0e015 #382464 by fgm and bjaspan: Disallow reserved field names. 2009-09-11 03:42:34 +00:00
Angie Byron fc755aed2f #566134 by mfb: Fix bug causing decimal places not to be saved in number module. 2009-09-11 00:06:53 +00:00
Angie Byron b47e68011f #569072 by rcross and yched: Clean field_attach_()* namespace by renaming and moving non-crud functions. 2009-09-10 22:31:58 +00:00
Angie Byron e2d58353bc #569240 by quicksketch: Remove field ID from field table names. 2009-09-10 22:06:58 +00:00
Dries Buytaert 029c48c68d - Patch #306151 by agentrickard, David_Rothstein, Dave Reid, dbabbage, moshe weitzman: automatically install/uninstall schema. 2009-09-10 06:38:20 +00:00
Dries Buytaert d481f1cd36 - Patch #572932 by sun: rename hook_elements() to hook_elements_info() for consistency. Yay to API clean-ups during 'slush'. 2009-09-10 06:31:39 +00:00
Dries Buytaert c33da192c1 - Patch #567092 by rcross, yched, bjaspan: merge hook_field_formatter_info() and hook_theme(). 2009-09-09 21:21:54 +00:00
Dries Buytaert a3f776f4d4 - Patch #571934 by bjaspan: Fixed omissions in field_delete_(){field,instance}(). 2009-09-09 11:37:34 +00:00
Dries Buytaert 157f6ee030 - Patch #372330 by fgm: improved error messages to improve usability. 2009-09-07 15:50:52 +00:00
Dries Buytaert 1d2db443ae - Patch #570218 by yched: viewing 'Manage fields' page clears field data cache. 2009-09-07 15:49:01 +00:00
Dries Buytaert a539b0e00d - Patch by #565496 by dropcube, pwolanin: changed Allow dynamic attaching of other types of stuff to render() structures. 2009-09-05 15:05:05 +00:00
Dries Buytaert c993b73e5f - Patch #568396 by bjaspan: fixed typo. 2009-09-05 09:57:21 +00:00
Dries Buytaert 39d2e4af43 - Patch #562816 by yched: improved performance of field_attach_query() by adding indices. 2009-08-31 22:57:54 +00:00
Dries Buytaert a79fa88342 - Patch #563992 by plach: missing in hook_field_attach_view_alter and hook_field_attach_form. 2009-08-31 06:37:36 +00:00
Dries Buytaert 26a5f0408b - Patch #563742 by plach: hotfix for broken hook_entity_info_alter(). 2009-08-31 05:35:47 +00:00
Dries Buytaert 45e14ea6b7 - Patch #545662 by yched, moshe weitzman: simplify field rendering. 2009-08-28 06:51:07 +00:00
Angie Byron 0259ee968f #367567 by effulgentsia, yched, quicksketch, sun, and chx: Move AHAH-'add more' to the new generic AHAH callback, and add support for form definition functions being kept in non-.module files. 2009-08-27 04:40:12 +00:00
Angie Byron 715d3e5432 #559486 follow-up by plach: Fixed fatal error in tests that for whatever reason testing bot is not catching. Grrr. 2009-08-27 01:02:13 +00:00
Angie Byron 985884f98e #559506 by quicksketch and plach: Added variable to field widgets. 2009-08-27 00:33:52 +00:00
Angie Byron 8a73ef4190 #559486 by yched: Split up field attach tests so that testing bot doesn't choke on them. 2009-08-26 02:59:22 +00:00
Dries Buytaert 3f36af04de - Patch #460320 by catch, fago, Frando: standardized, pluggable entity loading for nodes, users, taxonomies, files and comments. 2009-08-25 21:53:48 +00:00
Angie Byron b1cf3f1d26 #558756 by Davy Van Den Bremt: Fix non-by-referenced calls to drupal_static(). 2009-08-25 16:38:51 +00:00
Dries Buytaert f9f8a6cb81 - Patch #554946 by dropcube, sun: cache info from hook_filter_info() and allow to be altered. 2009-08-25 10:35:33 +00:00
Angie Byron 1378428913 #557932 by plach and bangpound: Fixed taxonomy term field autocomplete widgets validation, which broke after translatable fields. 2009-08-24 21:00:23 +00:00
Angie Byron 7d818b2606 #557056 by sign: Removed the fieldset around summary and body fields. 2009-08-24 00:37:25 +00:00
Angie Byron 2c55219315 #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. 2009-08-24 00:14:23 +00:00
Angie Byron e63e85020b Of all the patches to accidentally commit without a message. :( Rolling back registry rip. Let's try that again. 2009-08-24 00:10:46 +00:00
Angie Byron 4ae238ea57 *** empty log message *** 2009-08-24 00:02:05 +00:00
Angie Byron 041d8ee5a8 #516138 follow-up by Damien Tournoud: Remove expensive menu_rebuild() call from field API. 2009-08-23 03:54:47 +00:00
Angie Byron 36ec189695 #326539 by JohnAlbin, sun, cha0s, ultimateboy, Rob Loach, Damien Tournoud: Convert 'class' attribute to use an array, not a string. 2009-08-22 14:34:23 +00:00
Angie Byron 34a8a369aa #367595 by plach, catch, sun, yched, et al: Added support for translatable fields to Field API. 2009-08-22 00:58:55 +00:00
Dries Buytaert bc23bfaa11 - Patch #546350 by dropcube: remove hardcoded numeric deltas from hook_filter_info(). 2009-08-21 17:28:27 +00:00
Dries Buytaert 5dd8314d0a - Patch #446518 by sun: remove argument from check_markup(). 2009-08-20 10:56:33 +00:00
Angie Byron f8e430c7fd #552084 by jhodgdon: Removed references to 'CCK' in core. 2009-08-19 22:46:05 +00:00
Angie Byron e998857eb8 #516138 by yched, KarenS, quicksketch, bangpound, et al.: CC-FREAKING-K IN CORE! OH YEAH! :D 2009-08-19 13:31:14 +00:00
Angie Byron 25b9f686a6 #544418 by merlinofchaos, sun, drewish, quicksketch, et al: Integrate CTools AJAX framework with Drupal to extend (and replace) existing ahah framework. Everything about AJAX/AHAH is more betterer now. 2009-08-17 07:12:16 +00:00
Angie Byron 7cd59c6bc4 #548630 by bjaspan: Document hook_field_is_empty(). 2009-08-14 05:16:26 +00:00
Angie Byron 00ad7e8e03 #529756 by yched: Allow fields to be weighted per context. 2009-08-13 01:50:00 +00:00
Angie Byron 7a36d6a03c #547756 by yched: Remove some whitespace. 2009-08-13 00:17:47 +00:00
Dries Buytaert da2639d6cd - Patch #544400 by yched, bjaspan: wrong unique key in {field_config_instance}. 2009-08-12 11:35:59 +00:00
Dries Buytaert 9c0e6e9242 - Patch #367753 by yched, bjaspan: add support for bulk deletion to Fields API. 2009-08-11 14:59:40 +00:00
Angie Byron 1a251a7479 #361839 by puradata and yched: Document return structures from field attach. 2009-08-11 04:46:29 +00:00
Dries Buytaert 4a3dd058b5 - Patch #372330 by fgm, yched, et al: better validation of field names. 2009-08-10 21:19:42 +00:00
Angie Byron ce3fce3491 #543902 by yched: Remove unneeded modules in field.test setUp(). 2009-08-09 01:28:06 +00:00
Angie Byron 17e6076807 #433992 by David_Rothstein and Frando: Change #theme_wrapper to #theme_wrappers to allow multiple theme functions to execute on renderable objects. 2009-08-04 06:38:57 +00:00
Dries Buytaert 065346b366 - Patch #535034 by yched: clean up how fields and instances are prepared for runtime. 2009-08-02 11:24:21 +00:00
Dries Buytaert 19f8439f80 - Patch #528182 by yched: added missing field type documentation and removed some unnessary code. 2009-08-01 06:03:48 +00:00
Dries Buytaert eb34d29999 - Patch #534318 by yched: better defaults and corrected documentation. 2009-07-30 19:35:47 +00:00
Dries Buytaert 4e96b4e5df - Patch #535264 by Crell: removing some more legacy cruft. 2009-07-30 10:16:48 +00:00
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 0ae1c4d9b7 - Patch #530894 by yched: removed unneeded #cache property in fields forms. 2009-07-27 20:19:20 +00:00
Dries Buytaert 93728e5d32 - Patch #374441 by tic200, Damien Tournoud, scor: refactor Drupal HTML corrector using PHP5's XML/Dom parser. 2009-07-27 20:15:35 +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 436fc4f879 - Patch #520620 by quicksketch: delete revision and prepare translation field hooks are called incorrectly (or not at all). 2009-07-16 10:30:12 +00:00
Dries Buytaert a136ab56c4 - Patch #512236 by yched, bjaspan: design flaw in field_attach_query(), follow-up patch with bugfixes and tests. 2009-07-15 17:55:18 +00:00
Dries Buytaert f5dff788a8 - Patch #509736 by yched: make sure all settings are present at run-time. 2009-07-14 10:27:29 +00:00
Angie Byron 942f63b4ca #518412 by yched: Minor clean-up on Field API tests. 2009-07-14 02:24:14 +00:00
Angie Byron 735e1d904f #500866 by boombatower: Remove t() from getInfo in tests. 2009-07-13 21:51:42 +00:00
Angie Byron beadf384f1 #455844 follow-up by yched: Change render() to print render() for consistency with other template variables. 2009-07-13 21:09:54 +00:00
Dries Buytaert 065fa60551 - Patch #516416 by lyricnz: fix broken links to taxonomy administration pages. 2009-07-11 14:25:41 +00:00
Angie Byron 6a686533ab #516124 by yched: Clean up some Field API TODOs and remove unused APIs. 2009-07-11 00:56:45 +00:00
Angie Byron f6ccf978f6 #488542 by yched: Allow field UI to be attached to any fieldable entity. 2009-07-10 05:58:13 +00:00
Dries Buytaert 16ab612874 - Patch #512236 by bjaspan: fixed design flaws in field_attach_query(). Well-documented and tested. 2009-07-07 09:28:07 +00:00
Dries Buytaert 3b4213ce79 - Patch #511486 by yched: updated documentation. 2009-07-06 19:10:01 +00:00
Dries Buytaert 5a7742b254 - Patch #508700 by yched: field cardinality stored twice. 2009-07-04 06:19:46 +00:00
Dries Buytaert bea411e114 - Patch #509220 by tic2000: fixed text_field_sanitize() error. 2009-07-03 18:19:29 +00:00
Dries Buytaert 45b97d8a9d - Patch #508440 by yched: build mode, it is. 2009-07-02 20:37:03 +00:00
Dries Buytaert cf59ebec77 - Patch #489438 by bjaspan, crotown: hook_field_create_field() is missing. 2009-07-02 20:19:48 +00:00
Dries Buytaert 199dc7cc9d - Patch #504564 by tic2000: fixed teaser length setting and added tests. 2009-07-01 12:10:32 +00:00
Angie Byron 5b17c1eb04 #502522 by yched: Allow drupal_alter() on various Field API meta-hooks. 2009-06-30 03:12:03 +00:00
Angie Byron 6c9436abbf #333171 by catch: Provide cache_get_multiple() and allow clearing of multiple cache IDs at once (with tests). 2009-06-28 01:00:42 +00:00
Angie Byron 3b0106fb89 #503600 by yched: Fix typo in hook name in field.api.php. 2009-06-27 02:11:34 +00:00
Dries Buytaert 76d9095ab8 - Patch #501420 by yched: field_attach_form() should take by reference. 2009-06-25 06:23:37 +00:00
Dries Buytaert c1763d728e - Patch #367215 by bjaspan: fixed documentation. 2009-06-25 05:13:17 +00:00
Dries Buytaert daa0ec1684 - Patch #367215 by yched, sun et al: remove 'exclude from ' display setting. Feel good moment! 2009-06-24 18:16:38 +00:00
Dries Buytaert f96c141f5a - Patch #409750 by yched et al: overhaul and extend node build modes. 2009-06-22 09:10:07 +00:00
Dries Buytaert d472f98e9e - Patch #456488 by yched: better tests for field caching. 2009-06-16 08:40:18 +00:00
Dries Buytaert 174aa41da0 - Patch #491978 by Berdir: remove unnecessary &s. 2009-06-15 10:10:47 +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
Angie Byron 395713ba4e #392494 follow-up by yched: Clean-ups to Field API scalar search patch. 2009-06-07 00:00:57 +00:00
Angie Byron 7442dc060f #392494 by yched and bjaspan: Provide a query API for Field API. This is necessary because we can't assume fields will be stored in a database, due to pluggable storage backends. 2009-06-06 16:17:30 +00:00
Angie Byron f8dace9c5f #445044 follow-up by yched: Remove field.autoload.inc file. 2009-06-05 18:58:15 +00:00
Dries Buytaert 57fe0ca1e9 - Patch #445044 by bjaspan, Damien Tournoud, chx, Berdir: remove the field autoload feature. 2009-06-05 18:25:41 +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
Angie Byron abe722f0b8 #453726 by yched: Remove unnecessary &s next to object parameters in field API. 2009-06-03 02:41:07 +00:00
Angie Byron 314b918592 #369011 follow-up by yched: Some touch-ups to comments, etc. 2009-06-03 02:38:47 +00:00
Dries Buytaert 4f2e13f503 - Patch #422362 by JamesAn: convert form.inc to use new static caching API. 2009-06-02 13:47:26 +00:00
Dries Buytaert 0b1a243e53 - Patch #439236 by alex_b: field_attach_create_bundle() undefined when creating a content type on hook_update(). 2009-06-02 07:02:17 +00:00
Dries Buytaert dcdc4f2e73 - Patch #369011 by catch, sun, et al: performance improvement in text_field_load(). 2009-05-29 20:06:44 +00:00
Angie Byron 2df43894e2 #306358 by dvessel, JohnAlbin, and flobruit: Add a single $classes string (and corresponding $classes_array) for all dynamic classes in template files. 2009-05-28 16:44:07 +00:00
Dries Buytaert 194c9f2bd1 - Patch #364620 by bjaspan, yched: allow creating a field with a deleted name. 2009-05-28 10:05:32 +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 3c4be3ab55 - Patch #472658 by agentrickard: clean up of inline code comments. 2009-05-26 09:12:29 +00:00
Dries Buytaert 76957a25e6 - Patch #470594 by Moshe: convert more pages and blocks to return arrays. 2009-05-25 10:43:54 +00:00
Dries Buytaert a24a6c2bba - Patch #471070 by stella: millions of code style fixes. 2009-05-24 17:39:35 +00:00
Dries Buytaert ba29dbde38 - Patch #415044 by bjaspan, yched: indexes for field storage. 2009-05-20 09:48:47 +00:00
Angie Byron 83513d961e #467558 by yched: Small field API optimization. 2009-05-20 05:24:33 +00:00
Angie Byron e9c3a69612 #456488 by yched: Only cache field data for current revision. 2009-05-17 03:12:17 +00:00
Angie Byron f180449767 #362024 by neclimdul, yched, and bjaspan: Make hook_field_load() multiple like field_attach_load(). 2009-05-17 00:32:29 +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 83ea3cd042 - Patch #460252 by John Morahan: fixed documentation. 2009-05-12 14:36:12 +00:00
Dries Buytaert bfecaa09c9 - Patch #458612 by dereine: add version information. 2009-05-10 18:56:57 +00:00
Dries Buytaert 76f35b4ecf - Patch #367525 by zzolo: drupal_alter instead of hook_field_attach_view(). 2009-05-09 19:02:11 +00:00
Dries Buytaert 0e0ca3b589 - Patch #457532 by Berdir: more PHP5 'fixes'. 2009-05-09 18:28:13 +00:00
Dries Buytaert 3d951475ea - Patch #402264 by yched, bjaspan: adapt field's add-more js handler to recent fapi changes. Added tests. 2009-05-03 09:49:32 +00:00
Dries Buytaert 9fd65b6617 - Patch #392696 by yched et al: save default values on insert. 2009-05-01 15:28:13 +00:00
Dries Buytaert 4516d0c7bd - Patch #392706 by yched: clean of field tests:
+ fixes a few missing whitelines
   + makes it clear that the same function tests field_attach_insert(), field_attach_update() and field_attach_load()
   + streamlines a few overly detailed explanations
   + add missing t() functions
2009-04-30 15:17:13 +00:00
Dries Buytaert fdd553f627 - Patch #441180 by bjaspan: added a point. 2009-04-30 14:41:41 +00:00
Dries Buytaert 34ed1f2a37 - Patch #374068 by alienbrain, bjaspan: improved documentation of field display settings. 2009-04-30 14:40:03 +00:00