Commit Graph

541 Commits (6eb60a3669eee5e2bc3adfbb35d80fc79b51d340)

Author SHA1 Message Date
Nathaniel Catchpole 30cad25c71 Issue #2031717 by Berdir, swentel, fago: Make entity module not required. 2014-09-02 10:36:57 +01:00
webchick 8c68491896 Issue #2273277 by Wim Leers, effulgentsia, Fabianx: Fixed Figure out a solution for the problematic interaction between the render system and the theme system when using #pre_render. 2014-08-29 16:37:14 -07:00
webchick c16c1c7153 Issue #2328629 by Berdir: Fixed Comment::hasParentComment() tries to load comment with ID 0. 2014-08-28 23:51:32 -07:00
webchick 9db4af56da Issue #2326891 by tim.plunkett, jhodgdon: Convert system_element_info() to Element classes. 2014-08-28 14:35:24 -07:00
webchick 2d3c7f1642 Issue #2303521 by swentel, larowlan | alexpott: Fixed CommentTypeForm allows the entity type to be changed. 2014-08-25 23:06:23 -07:00
webchick 584911aee7 Issue #2326707 by tim.plunkett: Use dynamic entity type upcasting for comment.reply. 2014-08-25 21:31:26 -07:00
webchick fb5579178b Issue #2314889 by andypost, Temoor: Standardize entity_test entity route names. 2014-08-25 20:46:37 -07:00
webchick 7ad7909500 Issue #2314599 by Crell, Cottser, dawehner: Use title/url instead of l() for building breadcrumb. 2014-08-23 15:00:26 -07:00
webchick 6a6e601d4a Issue #2309323 by Berdir, tim.plunkett: Allow #submit and #validate to be specified as methods of the form object. 2014-08-23 14:18:18 -07:00
webchick de5fe262f2 Issue #2318087 by tim.plunkett: Replace ['input'] with FormState::getUserInput(). 2014-08-23 12:18:55 -07:00
Alex Pott 629ebca291 Issue #1976158 by Berdir | msonnabaum: Rename entity storage/list/form/render "controllers" to handlers. 2014-08-22 12:59:25 +01:00
Alex Pott b6ba35f006 Issue #2318251 by larowlan: Fixed Make comment links functionality testable and convert CommentLinkTest to PHPUnit. 2014-08-19 10:52:51 +01:00
Alex Pott 62bb5c4d53 Issue #2218065 by jhodgdon, dawehner: Fixed Need to join fields to the entity field data tables, not entity tables, or filtering increases number of results. 2014-08-18 17:41:42 +01:00
Alex Pott 0463b81a08 Issue #2322889 by sun: Fixed Various setUp() and tearDown() methods are not protected. 2014-08-18 16:50:50 +01:00
Alex Pott f1713d5754 Issue #2309187 by andypost | Crell: Fixed double-link-entry between Entity and Entity Type classes. 2014-08-18 16:30:22 +01:00
Alex Pott 17fcc16482 Issue #2319671 by dawehner, jhodgdon, xjm, alexpott: ViewsDataController: Step1: Move entity views data into controllers. 2014-08-14 12:06:59 -07:00
Alex Pott b3695e87b3 Issue #1498664 by andypost, plach, penyaskito | dawehner: Refactor user entity properties to multilingual. 2014-08-13 22:21:28 -07:00
Alex Pott 95019fa616 Issue #2318827 by larowlan, thehong | mgifford: Fixed Can't unpublish a comment. 2014-08-12 17:49:31 -07:00
Alex Pott 36675eaafc Issue #2280861 by roderik, pcambra: CommentStatistics service followup. 2014-08-12 17:40:09 -07:00
Alex Pott f9c1ff235b Issue #2314123 by sun: Fixed various tests. 2014-08-12 00:40:02 -07:00
Alex Pott 8fe81428b7 Issue #2315237 by andypost, daggerhart | yched: Rename FieldDefinition to BaseFieldDefinition. 2014-08-10 15:43:04 -05:00
Alex Pott 8196034a57 Issue #2316533 by tim.plunkett: Add getValue/setValue/hasValue and isValueEmpty to FormState. 2014-08-08 11:25:54 -05:00
Alex Pott 258856aee9 Issue #2154435 by andypost, Berdir, mparker17: Rename EntityAccessController to EntityAccessControlHandler. 2014-08-07 23:27:28 +01:00
Nathaniel Catchpole 381b05e5f1 Issue #2269025 by penyaskito, andypost, grom358, Berdir, mikeegoulding, larowlan: Fixed CommentManager::getAllFields() should have a static cache. 2014-08-07 11:53:05 +01:00
Alex Pott 9eac446013 Issue #1676910 by cs_shadow, penyaskito, lokeoke | xjm: Rename randomName() to randomMachineName(). 2014-08-06 09:50:23 +01:00
Alex Pott 5afbef9591 Issue #749748 by Bès, penyaskito, sun, hefox, Dave Reid, mavimo | c960657: Fixed Contact, register and comment forms do not prefill with user info from browser. 2014-08-06 09:23:17 +01:00
Alex Pott 627a719a7f Issue #2189661 by tim.plunkett: Replace $form_state['redirect_route'] with setRedirect(). 2014-08-06 09:05:02 +01:00
Alex Pott 8f04acbb77 Issue #2309221 by mikey_p: Drupal\Core\Datetime\Date should be renamed to DateFormatter. 2014-08-05 11:39:21 +01:00
webchick cb24b1e304 Issue #2314867 by Crell: Standardize comment entity route names. 2014-08-04 10:19:44 -07:00
Alex Pott 537457b512 Issue #2308821 by tim.plunkett: Replace FormErrorInterface with $form_state->setErrorByName() and $form_state->setError(). 2014-08-04 11:19:36 +01:00
Nathaniel Catchpole a91ef2b853 Issue #2272481 by herom, ParisLiakos, tim.plunkett: Remove usages of watchdog() from forms, plugins and controllers. 2014-07-31 13:46:06 +01:00
Dries fc5e111aca Issue #2225353 by tim.plunkett: Convert to an object and provide methods like setError(). 2014-07-30 20:50:42 -04:00
Alex Pott 59c3c9757c Issue #2305023 by dawehner: Fixed Rename getCancelRoute to getCancelUrl. 2014-07-25 15:44:31 +01:00
Alex Pott 64387e5c5e Issue #2078473 by blueminds | Berdir: Added Use entity access API for checking access to private files. 2014-07-24 16:35:27 +01:00
Alex Pott 5783e08f16 Issue #2149197 by penyaskito, mikey_p, vijaycs85, herom: Replace format_interval with \Drupal::service('date')->formatInterval(). 2014-07-24 15:54:28 +01:00
Alex Pott 49f4fddbf3 Issue #1962846 by andypost, Wim Leers, InternetDevels: Use field instance name for header of comment list, drop comment-wrapper template. 2014-07-21 17:15:37 +01:00
Alex Pott 6e6f2c6de3 Issue #2156089 by roderik, slashrsm, larowlan, andypost: Remove comment_get_thread() in favour of method on CommentStorage. 2014-07-18 23:30:49 +01:00
Nathaniel Catchpole a57630c83d Issue #2287727 by yched, swentel, alexpott: Rename Field[instance]Config classes and entity types (again). 2014-07-18 19:56:27 +01:00
Nathaniel Catchpole 5dad0b8606 Issue #597236 by Berdir, catch, msonnabaum, Xano, Wim Leers, jhedstrom, amateescu, corvus_ch, swentel, moshe weitzman, Gábor Hojtsy, riccardoR, killes@www.drop.org, et al: Add entity caching to core. 2014-07-18 11:53:52 +01:00
Nathaniel Catchpole c5ff2b77d3 Issue #2303887 by slashrsm: Remove comment_new_page_count(). 2014-07-16 14:58:33 +01:00
Alex Pott 46a9a4956a Issue #2296839 by MKorostoff, er.pushpinderrana | YesCT: Remove deprecated comment_num_new(). 2014-07-15 09:32:24 +01:00
Alex Pott b7959a1d45 Issue #2292821 by andypost, larowlan: Use widget for comment subject field. 2014-07-14 09:47:03 +01:00
webchick 686b47cd0b Issue #2061977 by InternetDevels, kim.pepper, ianthomas_uk, herom, rhm50, naveenvalecha, andypost, mandar.harkare, sergeypavlenko, sidharthap, SIz, tkuldeep17: Replace user_access() calls with ->hasPermission() in all core modules except user. 2014-07-11 23:55:56 -07:00
webchick a07a4918b3 Revert "Issue #2061977 by InternetDevels, kim.pepper, ianthomas_uk, herom: Replace user_access() calls with ->hasPermission() in all core modules except user."
Fixing commit credit.

This reverts commit 25afa8100a.
2014-07-11 23:54:55 -07:00
webchick 25afa8100a Issue #2061977 by InternetDevels, kim.pepper, ianthomas_uk, herom: Replace user_access() calls with ->hasPermission() in all core modules except user. 2014-07-11 22:41:12 -07:00
Alex Pott 837d726fea Issue #1498662 by andypost, larowlan | dawehner: Refactor comment entity properties to multilingual. 2014-07-11 11:37:14 +01:00
webchick 30c2afed20 Issue #697760 by sun: Replace getInfo() in tests with native phpDoc + annotations (following PHPUnit). 2014-07-10 20:50:37 -07:00
Alex Pott 8b72eb1e65 Issue #2292115 by slashrsm: Fixed Comment statistics is no correctly loaded into entity object if more than 1 comments field. 2014-07-09 10:32:17 +01:00
Alex Pott d8a4d54efc Issue #2281475 by roderik, slashrsm: Deprecate comment_new_page_count() and move it functionality into Comment storage controller. 2014-07-09 09:08:35 +01:00
Alex Pott 47d6bc0da6 Issue #2262407 by slashrsm, roderik: Deprecate comment_get_display_page/ordinal(). 2014-07-08 23:35:38 +01:00
Alex Pott 1cf3a5338b Issue #2293541 by amitgoyal, marcingy: Remove *_token deprecated functions. 2014-07-08 11:51:37 +01:00
Alex Pott 1594e52209 Issue #2283385 by jibran | vijaycs85: Remove BreadcrumbBuilderBase. 2014-07-08 11:46:22 +01:00
Alex Pott fea90901e1 Issue #2293825 by sun: Fixed Various test classes do not have a "Test" suffix. 2014-07-07 17:06:42 +01:00
Alex Pott ddaba8bf70 Issue #2294375 by jhodgdon: Fixed Comment publish/unpublish hooks are not invoked correctly. 2014-07-07 16:16:38 +01:00
Alex Pott f2623d2332 Issue #2297475 by marcingy: Remove calls to comment_load. 2014-07-07 15:01:07 +01:00
Alex Pott c072353df4 Issue #2282161 by Crell: Split off link/url generation trait. 2014-07-07 14:52:01 +01:00
Alex Pott 7332211095 Issue #2290103 by damiankloip, larowlan: Rename 'item_length' to 'view_mode' to aid discoverability. 2014-07-07 14:19:23 +01:00
Alex Pott e7f8c6d78a Issue #2289989 by marcingy, andypost: Remove comment_add and inline final occurrence. 2014-07-07 10:24:18 +01:00
Alex Pott cfe3e159f2 Revert "Issue #2289989 by marcingy, andypost: Remove comment_add and inline final occurrence."
This reverts commit 4b91f16d48.
2014-07-07 10:23:09 +01:00
Alex Pott 4b91f16d48 Issue #2289989 by marcingy, andypost: Remove comment_add and inline final occurrence. 2014-07-06 18:50:17 +01:00
Alex Pott 70016d80e8 Issue #2170251 by lauriii, mgifford, joshi.rohit100, lokapujya, mparker17, Mirabuck, Jalandhar: Fixed Comment headings can spit out empty heading tags. 2014-07-06 17:46:56 +01:00
Alex Pott 6e70062d78 Issue #2097123 by andypost, roderik, slashrsm, das-peter, mgifford, pfrenssen, YesCT | larowlan: Deprecate comment_num_new() in favour of method on CommentManager. 2014-07-03 13:05:51 +01:00
webchick 14ea687e8a Issue #2286433 by ParisLiakos: Fixed CommentTypeForm and CommentTypeDeleteForm should typehint the PSR logger interface. 2014-07-02 13:12:27 -07:00
webchick 75346a3bd1 Issue #2290849 by fran seva, YesCT: Fixed Regression: Fields missing from translation overview since 'Clarify handling of field translatability'. 2014-07-02 10:57:27 -07:00
Nathaniel Catchpole b4f282a55b Issue #2144263 by fago, yched, alexpott, Berdir, plach, andypost, effulgentsia, michaelfavia: Decouple entity field storage from configurable fields. 2014-07-01 13:59:17 +01:00
Nathaniel Catchpole 4ab1724827 Issue #2292815 by larowlan, joshi.rohit100, andypost: Remove join comments on users table. 2014-07-01 10:55:36 +01:00
Nathaniel Catchpole e8ab0b268c Issue #2293723 by yched: Generate lighter $form[$field] structures. 2014-06-30 11:16:20 +01:00
webchick 5cd540a56d Issue #2286681 by alexpott, tim.plunkett: Fixed Make public properties on ConfigEntityBase protected. 2014-06-27 08:09:42 -07:00
Alex Pott f0d4b5ad9c Revert "Issue #2097123 by slashrsm, roderik, mgifford, pfrenssen, andypost, das-peter | larowlan: Deprecate comment_num_new() in favour of method on CommentManager."
This reverts commit 6532718c08.
2014-06-26 20:35:06 +01:00
webchick 6532718c08 Issue #2097123 by slashrsm, roderik, mgifford, pfrenssen, andypost, das-peter | larowlan: Deprecate comment_num_new() in favour of method on CommentManager. 2014-06-26 12:03:19 -07:00
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 1176527762 Issue #2292025 by tim.plunkett: Convert BreadcrumbBuilderInterface applies() and build() to use RouteMatch. 2014-06-25 14:29:38 -07:00
Nathaniel Catchpole 6f33b60481 Issue #2124957 by Wim Leers, catch: Replace 'content' cache tag with 'rendered' and use it sparingly. 2014-06-20 18:41:22 +01:00
Nathaniel Catchpole 0f752ca609 Issue #1906810 by dawehner, damiankloip, tstoeckler, kgoel, fubhy, jrglasgow, xjm, Gaelan, socketwench: Require type hints for automatic entity upcasting. 2014-06-20 18:38:26 +01:00
Nathaniel Catchpole a4d7fad2ae Revert "Issue #1906810 by dawehner, damiankloip, tstoeckler, kgoel, fubhy, jrglasgow, xjm, Gaelan, socketwench: Require type hints for automatic entity upcasting."
This reverts commit c9e73f7def.
2014-06-20 18:38:00 +01:00
Nathaniel Catchpole c9e73f7def Issue #1906810 by dawehner, damiankloip, tstoeckler, kgoel, fubhy, jrglasgow, xjm, Gaelan, socketwench: Require type hints for automatic entity upcasting. 2014-06-20 13:21:57 +01:00
webchick accd35165d Issue #2285349 follow-up by effulgentsia: Cleanup to function name and code comments. 2014-06-18 13:38:09 -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 48bf0252f0 Issue #2005434 by alexpott, heddn, andrewmacpherson, swentel: Let 3rd party modules store extra configuration in EntityDisplay. 2014-06-18 11:44:18 +01:00
Alex Pott 4831e2ee7c Issue #2226267 by fago, xjm, Berdir: Improve default value handling of fields to be consistent. 2014-06-16 00:19:55 +01: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 7d1c02a73d Issue #2247779 by Wim Leers, larowlan, dawehner: Allow #pre_render, #post_render and #post_render_cache callbacks to be service methods. 2014-06-14 09:46:36 +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
webchick 49a900460d Issue #2246665 by jaredsmith, martin107, YesCT, filijonka, tstoeckler: Typehint with Drupal\Core\Language\LanguageInterface instead Drupal\Core\Language\Language. 2014-06-10 09:53:32 -07:00
webchick d0107d496b Issue #950534 by mparker17, mgifford, Mixologic, jbloomfield, erinclerico, theMusician, wmostrey | zirvap: [policy] Consistently use email instead of e-mail in Drupal. 2014-06-09 14:47:53 -07: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
Alex Pott 1ab2651755 Issue #2183231 by tstoeckler, plach, jessebeach, fago, Berdir, xjm, mauzeh: Make ContentEntityDatabaseStorage generate static database schemas for content entities. 2014-06-01 15:53:43 -05:00
Nathaniel Catchpole 49be3541fe Issue #2275679 by Dave Reid, Wim Leers: Clean up render cache placeholder. 2014-05-30 18:36:06 +01:00
webchick d0d3e53361 Issue #2247991 by xjm, typhonius, donquixote: [May 27] Move all module code to PSR-4. 2014-05-27 19:43:20 -07:00