Commit Graph

302 Commits (6df284ecaab8a48d91262238b178b3e40bad3312)

Author SHA1 Message Date
webchick 81604eed23 Issue #2111357 by marcingy, andypost: Get rid of comment_count_unpublished() in favor of CommentStorage method. 2014-06-26 11:57:22 -07:00
webchick 627470bcaa Issue #2291445 by marcingy: Convert comment_entity_predelete query to entity query. 2014-06-24 12:46:19 -07:00
webchick 5baeab7615 Issue #2290157 by marcingy: Convert comment_user_predelete query to entity query. 2014-06-24 12:42:56 -07:00
Dries 2da508579c Issue #2285349 by olli: Fixed Fatal error: Call to a member function getType() on a non-object in comment.module on line 951. 2014-06-18 22:10:59 +02:00
Nathaniel Catchpole 0c33183a9e Issue #2256679 by alexpott, tim.plunkett: Fixed Use config schema to determine which config entity properties to export regardless of whether they are public or protected. 2014-06-14 10:03:25 +01:00
Nathaniel Catchpole 4e3ee43e76 Issue #2228763 by larowlan, alexpott, martin107, jessebeach, xjm: Create a comment-type config entity and use that as comment bundles, require selection in field settings form. 2014-06-13 10:34:04 +01:00
webchick 3a42e91de1 Issue #2089331 by grom358 | thedavidmeister: [meta] Replace calls to check_plain() with Drupal\Component\Utility\String::checkPlain(). 2014-06-12 19:33:48 -07:00
Alex Pott cd63520500 Issue #2085571 by Xano, dawehner: Fixed admin/content should not depend on node.module. 2014-06-08 17:49:56 -05:00
Alex Pott d5be5c0454 Issue #2217877 by Wim Leers, Dave Reid, damiankloip, xjm, chx | catch: Fixed Text filters should be able to add #attached, #post_render_cache, and cache tags. 2014-06-08 16:25:15 -05:00
Alex Pott e05d622e01 Issue #2205215 by larowlan, jessebeach, dixon_: Fixed {comment} and {comment_entity_statistics} only support integer entity ids. 2014-06-08 11:14:00 -05:00
Jennifer Hodgdon 063c832e70 Issue #2091299 by amitgoyal, mparker17, jhodgdon, InternetDevels, berkas1, dbazuin: Update hook_help for Comment module 2014-06-06 11:41:03 -07:00
Alex Pott 00339b3d36 Issue #2167167 by Berdir: Remove field_info_*(). 2014-05-27 09:34:19 +01:00
Nathaniel Catchpole c972b3ee9d Issue #2190313 by pfrenssen, Berdir, amateescu, ianthomas_uk: Add $EntityType::load() and loadMultiple() to simplify loading entities. 2014-05-20 10:29:40 +01:00
Alex Pott da026cf53c Issue #2116363 by Berdir, jessebeach | fago: Unified repository of field definitions (cache + API). 2014-05-15 12:26:18 -05:00
webchick eef067b5a5 Issue #2183113 by jhodgdon, effulgentsia, tim.plunkett, herom, larowlan: Update hook_help signature to use route_name instead of path. 2014-05-06 19:04:53 -07:00
Dries 99b367da46 Issue #2099131 by jessebeach, Wim Leers, catch, Berdir, benjifisher, martin107, andypost: Use #pre_render pattern for entity render caching. 2014-05-02 17:43:59 -04:00
Nathaniel Catchpole 5d05703adc Issue #2182055 by dawehner, andypost, juampy, linclark: Comment module causes Circular reference error on a REST request. 2014-04-22 11:14:42 +01:00
Alex Pott a62511ffbd Issue #2241655 by tim.plunkett: EntityStorageInterface::create() should always create a "new" entity. 2014-04-16 21:57:51 +01:00
webchick 2516dc309d Issue #2239369 by sun: "Comments per page" setting cannot be configured to be larger than 300. 2014-04-15 20:51:21 -07:00
Alex Pott 41b6df5888 Issue #1991442 by tim.plunkett, benjy: Remove 'module' from block plugin configuration. 2014-04-01 22:14:13 +01:00
webchick 40f818bbe6 Issue #2221755 by grom358, ianthomas_uk: Remove uses of deprecated Element functions. 2014-03-31 10:37:55 -07:00
catch 669b898b86 Issue #2227465 by gremy, rbmboogie: comment_user_cancel() uses COMMENT_NOT_PUBLISHED. 2014-03-30 14:55:20 +02:00
Alex Pott 0a8e34cf15 Issue #2149649 by Gábor Hojtsy, YesCT, Xano, herom, vijaycs85, Sweetchuck, plach: Entity rendering/theming does not use the active entity language to render links. 2014-03-29 12:40:21 +01:00
webchick 4ac79a1366 Issue #2226903 by pwolanin, dawehner, tvn, martin107, jessebeach: Step 1: Move static menu links to yml files. 2014-03-28 16:27:34 -07:00
webchick 4a8bbfbb73 Issue #2215961 by tim.plunkett, Berdir: Entity::urlInfo() should return \Drupal\Core\Url. 2014-03-28 16:07:00 -07:00
Alex Pott fee6ae0e0f Issue #2225629 by Xano: Move hook_field_extra_fields() to the entity API. 2014-03-28 11:30:44 +01:00
catch 2f959b9693 Issue #2188613 by Berdir, Xen, andypost: Rename EntityStorageController to EntityStorage. 2014-03-27 12:54:40 +01:00
catch 5f53aef88a Issue #2101183 by larowlan, andypost, benjy: Move {comment_entity_statistics} to proper service. 2014-03-25 19:41:33 +01:00
Alex Pott fa51d2e5bd Issue #2178725 by pwolanin, crowdcg, effulgentsia, Sutharsan: Make all core menu link machine names and the corresponding route names match. 2014-03-24 11:34:32 +01:00
Nathaniel Catchpole e1533e2a73 Issue #2155635 by Berdir, tim.plunkett, dawehner: Allow plugin managers to opt in to cache clear during module install. 2014-03-17 11:53:05 +00:00
webchick e33ede0fce Issue #2195915 by larowlan, andypost, jhodgdon: Cannot save text filter config using PostgreSQL if Comment is enabled [blocks installation!]. 2014-03-12 11:11:16 -07:00
Alex Pott fd2613d287 Issue #2169361 by plopesc: Convert COMMENT_HIDDEN & COMMENT_CLOSED & COMMENT_OPEN to a constant on the comment field interface. 2014-03-10 12:25:21 +00:00
Alex Pott 01a3e1902f Issue #2203407 by nod_, sun: Replace #attached library array values with provider-namespaced strings. 2014-03-09 19:59:45 +00:00
webchick 0beb525130 Issue #2195907 by jhodgdon: Search ranking for number of views fails in PostgreSQL. 2014-03-04 13:39:18 -08:00
Nathaniel Catchpole 3ae51ab618 Issue #2201149 by sidharthap, sandipmkhairnar: Remove comment_entity_info cache deletes. 2014-02-28 12:06:30 +00:00
Nathaniel Catchpole 78b48c89ad Issue #2092095 by tstoeckler, ParisLiakos: Remove \Drupal\Component\Utility\MapArray. 2014-02-28 10:43:51 +00:00
Nathaniel Catchpole 31dbc6a137 Issue #2151459 by jessebeach, Wim Leers, plach, amateescu, Berdir: Enable node render caching. 2014-02-28 10:06:00 +00:00
Nathaniel Catchpole b9a978d202 Issue #2177041 by dawehner, Berdir, jibran: Remove all implementations of hook_menu. 2014-02-26 10:53:29 +00:00
webchick b9f1a8e27c Issue #2188097 by rcaracaus, olli: 'Comment forms' links to admin/content/comment. 2014-02-24 14:10:50 -08:00
Alex Pott f6161fadb0 Issue #2002134 by fago, yched, amateescu, effulgentsia: Move TypedData metadata introspection from data objects to definition objects. 2014-02-24 11:44:26 +00:00
webchick 01457d74ea Issue #2200821 by yched, plopesc, Berdir, claudiu.cristea, swentel: Rename Fieldinterface and FieldInstanceInterface. 2014-02-22 21:16:46 -08:00
webchick f19fadd3a4 Issue #1996238 by sun, nod_, damiankloip, Wim Leers, longwave, alexpott, Xano, mdrummond, Mark Carver, Jeff Burnz, highrockmedia, joelpittet, et al: Replace hook_library_info() by *.libraries.yml file. 2014-02-22 20:56:51 -08:00
Alex Pott eb53ecc555 Issue #2187735 by ianthomas_uk, Sutharsan, andypost: Add removal information to docblock of all @deprecated functions. 2014-02-20 13:49:37 +00:00
Alex Pott 40dc8daf51 Issue #2095303 by swentel, plopesc, Berdir, claudiu.cristea, yched: Rename 'field_entity' to 'field_config' and 'field_instance' to 'field_instance_config'. 2014-02-19 23:29:14 +00:00
Nathaniel Catchpole a840af8381 Issue #2173655 by Cottser, xjm, jessebeach, alexpott, rlmumford: Refactor theme() to _theme(); make it a private API to discourage module developers from circumventing the renderable build system. 2014-02-18 10:54:10 +00:00
Alex Pott f3732c6862 Issue #2028025 by David Hernández, Berdir, larowlan, ceng, YesCT, a_thakur: Expand CommentInterface to provide methods. 2014-02-16 07:20:53 +00:00
Nathaniel Catchpole 6c4cdee943 Issue #2141929 by andypost, clemens.tolboom, mgifford: Comment link or form is added to print view mode. 2014-02-14 16:56:25 +00:00
Alex Pott bfd1f636ad Revert "Issue #2188097 by olli: "Comment forms" links to admin/content/comment."
This reverts commit 9d5d0eab42.
2014-02-13 14:02:13 +00:00
Alex Pott 9d5d0eab42 Issue #2188097 by olli: "Comment forms" links to admin/content/comment. 2014-02-13 11:17:58 +00:00
Nathaniel Catchpole 3ea2e2cdae Issue #893302 by jhodgdon, rayasa: Search ranking based on the factor 'number of comments' & 'No of Page Views' is broken. 2014-02-12 10:56:06 +00:00
Alex Pott fe61b43d90 Issue #2183923 by tim.plunkett: Break the circular dependency in EntityManager. 2014-02-08 13:31:25 +00:00
Nathaniel Catchpole 2d6f7e74e1 Issue #2187653 by ianthomas_uk: Remove comment_alphadecimal_to_int and comment_int_to_alphadecimal. 2014-02-06 17:21:36 +00:00
Nathaniel Catchpole 4b4ef377be Issue #2078387 by Xano, andypost, twistor, splatio, InternetDevels, amateescu, Berdir, larowlan, vladan.me: Add an EntityOwnerInterface. 2014-02-03 16:02:31 +00:00
Alex Pott 76bcb27b13 Issue #2167641 by tim.plunkett: EntityInterface::uri() should use route name and not path. 2014-01-31 15:08:43 +00:00
Alex Pott 20315e1de7 Issue #2164827 by Berdir, Xano, tim.plunkett: Rename the entityInfo() and entityType() methods on EntityInterface and EntityStorageControllerInterface. 2014-01-30 12:14:58 +00:00
Nathaniel Catchpole e9a044b3e5 Issue #829464 by Berdir, Github sync, sepgil: Orderby() should escape fields and verify direction. 2014-01-29 12:04:12 +00:00
Alex Pott acd3a59ea8 Issue #2047633 by pwolanin, dawehner, kim.pepper, Xano, amateescu, tim.plunkett: Move definition of menu links to hook_menu_link_defaults(), decouple key name from path, and make 'parent' explicit. 2014-01-29 08:25:00 +00:00
Alex Pott 854c8661ba Issue #2172123 by larowlan, chx, andypost: Fix various issues with comment_field_instance_create(). 2014-01-24 19:45:20 +01:00
Alex Pott 42e2c36937 Revert "Issue #2047633 by dawehner, pwolanin, Xano, amateescu, tim.plunkett: Move definition of menu links to hook_menu_link_defaults(), decouple key name from path, and make 'parent' explicit."
This reverts commit 531fd59314.
2014-01-24 19:01:38 +01:00
Nathaniel Catchpole eb4a2a974d Issue #1987396 by joelpittet, andypost, jenlampton, Hydra, larowlan, Cottser, brunodbo: Refactor & Clean-up comment.module theme functions. 2014-01-24 12:17:57 +00:00
Alex Pott 531fd59314 Issue #2047633 by dawehner, pwolanin, Xano, amateescu, tim.plunkett: Move definition of menu links to hook_menu_link_defaults(), decouple key name from path, and make 'parent' explicit. 2014-01-23 23:14:32 +01:00
Nathaniel Catchpole eaaa8d8612 Issue #2073535 by Wim Leers: Node history markers require an HTTP request . 2014-01-16 13:18:41 +00:00
webchick 672295bbc0 Issue #2054993 by andypost: Remove (untested, unused, broken) comment_get_recent(). 2014-01-13 23:09:25 -08:00
Nathaniel Catchpole 1ace239de3 Issue #2157703 by andypost: Deprecate comment_int_to_alphadecimal() & comment_alphadecimal_to_int() in favour of methods in Number component. 2014-01-07 10:55:59 +00:00
Nathaniel Catchpole 2026f92d45 Issue #1027936 by webflo, nicholasThompson: Comment Preprocess sets a links class as a string, should be an array. 2014-01-06 12:30:43 +00:00
webchick a1a98382bc Issue #2157153 by yched, Berdir: Remove field_attach_preprocess(). 2014-01-04 11:00:14 -08:00
webchick 8074921569 Issue #2083895 follow-up: Re-correct comment module docblock. 2014-01-02 23:44:23 -08:00
Nathaniel Catchpole 0146bc72a8 Issue #2157695 by andypost: Remove unused _comment_get_modes(). 2014-01-01 20:51:33 +00:00
webchick 76114ccffe Issue #2083895 follow-up by larowlan: Fix case on return statement. 2013-12-31 22:20:49 -08:00
webchick 2e764efb55 Issue #2083895 by andypost, jibran, David Hernández, larowlan: Clean-up comment module doc blocks. 2013-12-22 13:11:36 -08:00
Nathaniel Catchpole e16798a856 Issue #2151457 by Wim Leers, amateescu, msonnabaum: Comment pager breaks the render cache. 2013-12-20 12:07:20 +00:00
Nathaniel Catchpole fdba1d6320 Issue #2155387 by larowlan: Multiple comment fields per entity are supported, but break horribly when they need pagers. 2013-12-15 09:55:14 +00:00
webchick 4462e2046f Issue #1938062 by dawehner, tstoeckler, slashrsm, tim.plunkett, olli, pcambra, YesCT, damiankloip: Convert the recent_comments block to a view. 2013-12-13 22:14:48 -08:00
Alex Pott be70033ea1 Issue #2151427 by andypost, TR: Convert COMMENT_NOT_PUBLISHED & COMMENT_PUBLISHED to a constant on the comment interface. 2013-12-13 13:45:37 +00:00
Alex Pott dd663c405e Issue #2031725 by fgm, fago, vladan.me, Nebel54, Berdir: Move all entity display interfaces to the core component. 2013-12-12 23:34:44 +00:00
Alex Pott 4a808340cb Issue #1966448 by marthinal, larowlan, codeyourdream: comment_entity_load() breaks after disabling the Forum module. 2013-12-11 10:59:20 +00:00
webchick 2d1adba498 Issue #2061899 by joelpittet, m1r1k: Remove references to global in Comment module. 2013-12-10 22:58:02 -08:00
Alex Pott cdac25ee08 Issue #2143263 by plopesc | yched: Remove "Field" prefix from FieldDefinitionInterface methods. 2013-12-09 19:19:58 -04:00
webchick d12aa8ce42 Issue #2131997 by larowlan, wesleydv: Disabling a form field on comments does not work. 2013-12-08 14:43:41 -08:00
Alex Pott d2478e96d2 Revert "Issue #2020395 by dawehner, oadaeh, mr.baileys, jibran, Andi-D: Convert 'Who's new' block to a View."
This reverts commit f7e75db703.
2013-12-08 06:28:36 -04:00
webchick f7e75db703 Issue #2020395 by dawehner, oadaeh, mr.baileys, jibran, Andi-D: Convert 'Who's new' block to a View. 2013-12-07 22:23:00 -08:00
Nathaniel Catchpole 1ceeda436a Issue #2032309 by dawehner, amateescu: Use local tasks derivatives to provide local tasks for views. 2013-12-05 10:05:55 +00:00
webchick 9835380994 Issue #2148211 by alexpott: Use isSyncing flag to prevent creation of configuration entities on synchronisation. 2013-12-04 01:00:26 -08:00
Nathaniel Catchpole 5ca372cb40 Issue #2099133 by Wim Leers Comment form on same page as comments forces node render caching to be per user. 2013-11-26 10:07:46 +00:00
webchick df1a669b77 Issue #2131851 by tim.plunkett: Form errors must be specific to a form and not a global. 2013-11-23 12:57:04 -08:00
Nathaniel Catchpole 4ae91a1d34 Issue #2099133 by Wim Leers: Comment form on same page as comments forces node render caching to be per user. 2013-11-21 10:03:38 +00:00
catch 241348d510 Issue #2073531 by tim.plunkett, dawehner, Berdir, catch, plach: Use current user service instead of _account, remove _account from the request object. 2013-11-16 21:26:50 +00:00
Nathaniel Catchpole c543ca71ff Issue #2019055 by plach, fago, berdir, yched, Gábor Hojtsy, kfritsche, jibran: Switch from field-level language fallback to entity-level language fallback. 2013-11-06 14:44:42 +00:00
Nathaniel Catchpole 38fdf67298 Revert "Issue #2019055 by plach, fago, kfritsche: Switch from field-level language fallback to entity-level language fallback."
This reverts commit 46942cd373.
2013-11-06 14:44:17 +00:00
Nathaniel Catchpole 46942cd373 Issue #2019055 by plach, fago, kfritsche: Switch from field-level language fallback to entity-level language fallback. 2013-11-06 14:39:07 +00:00
Nathaniel Catchpole 4361e6795b Issue #2120117 by Wim Leers, nod_: Fixed drupalSettings.user.uid added to page even if there is no other JS; drupal.node-new-comments-link lib added for anon users. 2013-10-28 16:58:04 +00:00
Alex Pott 4b7bbecbc3 Issue #2097903 by Berdir, amateescu: Rename EntityRenderController to EntityViewBuilder. 2013-10-25 13:54:18 -07:00
Nathaniel Catchpole 00fbdd6b21 Issue #1975962 by Wim Leers, jibran, c4rl, amateescu: Move comment_links() into CommentRenderController. 2013-10-24 16:41:21 +01:00
Alex Pott 3ded2216b0 Issue #2115145 by Berdir | effulgentsia: Move field type plugins to Plugin/Field/FieldType. 2013-10-19 09:12:13 +01:00
webchick d0d5f6be9b Issue #2112759 by effulgentsia: Add ContentEntityInterface::hasField(). 2013-10-17 23:16:26 -07:00
Alex Pott 8caad964ef Issue #2098011 by larowlan: Support dynamic route parameters to enhance comment admin paths with entity type and field name from comment bundle. 2013-10-17 12:51:51 +01:00
webchick f31fbaa21a Issue #2111163 by larowlan, geerlingguy: Fixed Can't Preview comments: Call to a member function id() on a non-object in comment.module, line 1371. 2013-10-14 21:56:14 -07:00
Nathaniel Catchpole 42ea242a63 Issue #2003498 by DmitryDrozdik, kgoel, ebeyrent, pwieck, travis-echidna, Gaelan, disasm, LinL, herom: Replace drupal_container() with Drupal::service() in the comment module. 2013-10-13 13:21:03 +01:00
Nathaniel Catchpole db6985bae4 Issue #2106349 by plach, dawehner, Gábor Hojtsy: Fixed Comment translation overview has broken local tasks. 2013-10-09 11:55:15 +01:00
webchick e09eb5ea1b Issue #2054213 by StephaneQ, andypost: Deprecate comment_load_multiple() in favour of entity_load_multiple(). 2013-10-08 22:43:02 -07:00