Commit Graph

251 Commits (9667f4726d98d6ce8bab8360d0221028f954bdec)

Author SHA1 Message Date
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