Commit Graph

487 Commits (452bf180c43f07137d1d87debbf8b3a78596e0bd)

Author SHA1 Message Date
xjm 52e3eec616 Issue #2776975 by joelpittet, dawehner, tim.plunkett, xjm, pfrenssen: March 3, 2017: Convert core to array syntax coding standards for Drupal 8.3.x RC phase 2017-03-03 19:20:24 -06:00
Nathaniel Catchpole 8dbd209ef3 Issue #2313095 by claudiu.cristea, l0ke, umarzaffer, mrjmd, dawehner, alexpott, catch: Move node constants to NodeInterface 2017-02-09 11:14:54 +00:00
Nathaniel Catchpole 2740e709a9 Issue #2844293 by swentel: Manually calling $account->delete() will throw an exception if the user has nodes in an anonymous environment with node access enabled 2017-02-07 13:29:40 +00:00
xjm e223ebe5f7 Revert "Issue #2704871 by pepegarciag, ieguskiza, snehi, gaurav.pahuja, rajeshwari10, dimaro, gargsuchi, pashupathi nath gajawada, penyaskito, Manuel Garcia, Mile23: Replace usages of deprecated method drupal render()"
This reverts commit ae3ee31751.
2016-12-12 13:03:21 -06:00
xjm ae3ee31751 Issue #2704871 by pepegarciag, ieguskiza, snehi, gaurav.pahuja, rajeshwari10, dimaro, gargsuchi, pashupathi nath gajawada, penyaskito, Manuel Garcia, Mile23: Replace usages of deprecated method drupal render() 2016-12-12 12:49:03 -06:00
Alex Pott 79569a7503 Revert "Issue #2712647 by klausi, catch, slasher13, jibran, Manuel Garcia, alexpott, naveenvalecha, neclimdul, dawehner, Wim Leers, pounard: Update Symfony components to ~3.1"
This reverts commit a55b8ef19e.
2016-12-02 11:05:17 +00:00
Alex Pott a55b8ef19e Issue #2712647 by klausi, catch, slasher13, jibran, Manuel Garcia, alexpott, naveenvalecha, neclimdul, dawehner, Wim Leers, pounard: Update Symfony components to ~3.1 2016-12-01 11:00:20 +00:00
Nathaniel Catchpole f6ae58526c Issue #2572801 by alexpott, vprocessor, andriyun, andypost, chishah92, Mile23, attiks, hussainweb, klausi, dawehner, pfrenssen: Fix 'Drupal.WhiteSpace.ScopeIndent' coding standard 2016-08-28 18:16:36 +01:00
Nathaniel Catchpole e02587524b Issue #2785155 by alexpott: _node_access_rebuild_batch_operation uses queries that check access 2016-08-19 13:23:22 +01:00
Alex Pott 4d8efc4b24 Issue #2741249 by Mile23, timmillwood, sneha_surve: Remove entity_revision* family of functions usage from the code base 2016-08-18 13:50:29 +01:00
Alex Pott 0d1fb1beed Issue #2737743 by anoopjohn, Mile23: node_revision_delete() not returning bool in node.module 2016-06-15 14:50:59 +01:00
Alex Pott 7bd926f6f5 Issue #2729211 by catch, Wim Leers: node_query_node_access_alter() should only add cacheability on GET/HEAD 2016-06-15 11:44:06 +01:00
Alex Pott 6098437ef5 Issue #2572793 by attiks, andypost: Fix 'Drupal.WhiteSpace.OperatorSpacing' coding standard 2016-04-29 12:02:20 +01:00
Alex Pott 942c1cff1b Issue #2572307 by vprocessor, attiks, andriyun, alexpott, pfrenssen: Fix 'Generic.PHP.UpperCaseConstant' coding standard 2016-04-28 17:18:08 +01:00
Nathaniel Catchpole cc88102d29 Issue #2664748 by amateescu, alexpott, TravisCarden: Node revision queries tagged for node access cause "no node table" exception 2016-03-29 08:25:43 +09:00
Nathaniel Catchpole fb8d5b1f0c Issue #2686765 by sidharthap, thhafner: cacheUntilEntityChanges() is deprecated and should be replaced with addCacheableDependency() 2016-03-16 10:34:36 +09:00
Nathaniel Catchpole 51372ae0c2 Issue #2681753 by lluvigne, subharanjan, cilefen: "Permissions page" link in Admin > Appearance is hardcoded and breaks on subdirectory setup 2016-03-08 10:20:31 +09:00
Nathaniel Catchpole fd16d6eb22 Issue #2454057 by alexpott, mgifford: Node type settings property does not exist anymore 2016-02-22 12:34:50 +09:00
Alex Pott d83a7742b4 Issue #2671916 by Berdir, mgoedecke: node_access_rebuild() will never work after since entityQuery has now accessCheck default set to true and the grants are deleted beforehand 2016-02-21 10:22:12 +05:30
Nathaniel Catchpole b04e99ad2b Issue #2651228 by jordanpagewhite, webbykat: Add description beneath 'User the administration theme for editing content...' on the admin Appearance page 2016-02-18 11:16:35 +09:00
Nathaniel Catchpole 8e4fe5c0f9 Issue #2641584 by Mac_Weber, heykarthikwithu, legovaer: Replace deprecated usage of entity_create('field_config') with a direct call to FieldConfig::create() 2016-02-16 20:13:36 +09:00
Nathaniel Catchpole 758a81e61d Issue #2473021 by jcnventura, amitgoyal: Deprecate NodeAccessControlHandlerInterface::writeGrants() for removal in Drupal 9.0.x 2016-01-13 15:07:32 +09:00
Alex Pott fff56d70b9 Issue #1559506 by finnydobson, JuliaKM, snehi, anil280988, priya.chat, jhodgdon, alexpott: Query alter docs need some clarification 2016-01-07 11:48:07 +00:00
Nathaniel Catchpole 2ea32d6cc9 Issue #2557815 by Wim Leers, effulgentsia, Fabianx, dawehner: Automatically bubble the "user.node_grants:$op" cache context in node_query_node_access_alter() 2015-11-11 11:43:46 +00:00
Alex Pott bfef184e8e Issue #2599156 by nicrodgers, snehi, jhodgdon: Several methods in node.module are missing return type documenation 2015-10-29 14:12:03 +00:00
Alex Pott 99c0b887d4 Issue #2594041 by krknth, Chi: Coding standards - replace array() with array in return values 2015-10-19 10:46:56 -07:00
Nathaniel Catchpole 8b65164c5a Issue #2533800 by alexpott: Remove all unused use statements from core 2015-10-08 20:46:26 +01:00
Alex Pott e16b2b08a7 Issue #2571337 by maxocub, rodrigoaguilera, tstoeckler: Node type title label cannot be translated in the UI 2015-10-05 13:02:22 +01:00
Alex Pott 7599b055c7 Issue #2493475 by ifrik, walangitan, XaviP, jhodgdon, batigolix: Fix online docs references in Help to conform to our standards 2015-09-26 16:01:27 +02:00
Alex Pott 7a25f513f5 Issue #2560783 by stefan.r, joelpittet, lauriii, Cottser, Sutharsan, kgoel, justAChris, Gábor Hojtsy, dawehner, jhodgdon, effulgentsia, xjm, andypost, googletorp: Replace !placeholder with :placeholder for URLs in hook_help() implementations 2015-09-21 12:38:19 +01:00
Alex Pott 09a0c9f348 Issue #2546662 by Jeremy: Remove node_page_title and inaccurate documentation 2015-08-12 14:15:26 +01:00
Nathaniel Catchpole 9024fa617c Issue #2506195 by alexpott, joelpittet, xjm, David_Rothstein, Fabianx, pwolanin: Remove SafeMarkup::set() from Xss::filter() 2015-07-11 09:10:48 +01:00
Alex Pott 23e7b47779 Issue #2279105 by mgifford, nidaismailshah, thedavidmeister, amitgoyal, rpayanm, ameenkhan07, rakhimandhania, jhodgdon: Remove as many "..." and ellipsis characters from the codebase as possible without altering the meaning of text 2015-06-08 23:40:25 +01:00
Alex Pott 068edfc14e Issue #2395831 by dawehner, fago, martin107, cafuego, YesCT, plach, jibran, larowlan, Wim Leers, effulgentsia, klausi: Entity forms skip validation of fields that are not in the EntityFormDisplay 2015-06-05 21:46:55 +01:00
xjm 088f8b357a Issue #2491155 by mikeburrelljr, Mac_Weber, opdavies: Update drupal.org and kernel.org URLs in core modules (Follow-up to 2489912) 2015-05-24 15:08:46 -05:00
Alex Pott a451002a2c Issue #2428795 by mkalkbrenner, plach, yched, catch, hchonov, webchick, tstoeckler, pjonckiere, miro_dietiker, Schnitzel, klausi: Translatable entity 'changed' timestamps are not working at all 2015-05-15 11:09:40 -07:00
xjm 1bc5359431 Issue #2484667 by joshi.rohit100, Berdir: Do not run query in node_cron() if search.module is not enabled 2015-05-07 17:54:59 -07:00
webchick 405044c3ee Issue #2470994 by drubb, ifrik: Update hook_help text for Node module 2015-04-15 09:59:59 -07:00
Alex Pott 8acb05761a Issue #2383015 by AjitS, jacob.embree: Revert back is redundant 2015-04-01 13:40:09 +01:00
Alex Pott bd1620fbb4 Issue #2454731 by amateescu: SQLite: Fix search\Tests\SearchRankingTest 2015-04-01 12:13:09 +01:00
catch 1208ddd979 Issue #2428703 by Wim Leers: Add a 'user.permissions' cache context (was: "Should cache contexts be able to associate a cache tag?") 2015-03-26 09:41:35 +00:00
catch 938e2f648c Issue #2428805 by Wim Leers: Remove the ability to configure a block's cache contexts 2015-03-25 20:12:42 +00:00
Alex Pott 40d57b3d13 Issue #356399 by dawehner, beejeebus, catch, sidharrell, klausi, nlisgo, Josh Waihi, Berdir, martin107: Optimize the route rebuilding process to rebuild on write 2015-03-16 08:42:16 +00:00
Alex Pott cc07fe4d1f Issue #2447831 by gordon: "The content access permissions need to be rebuilt" message not being escaped correctly 2015-03-10 22:03:54 +00:00
webchick d583b740d1 Issue #2322639 by hussainweb, LinL, Temoor, oenie, MKorostoff, mglaman, kyuubi, unstatu, omers, pcambra, legolasbo, benjy, JeroenT: Replace all instances of node_type_load(), node_type_get_types(), entity_load('node_type') and entity_load_multiple('node_type') with static method calls from DRUPAL SOUTH WOOOO! 2015-03-07 16:48:27 +11:00
Alex Pott 14a2c27f38 Issue #2427291 by Stalski: Remove node.pages.inc 2015-02-17 15:04:53 +00:00
webchick b911f7210e Issue #2195183 by cleaver, sandykadam, elgordogrande, jhodgdon, joachim, Eda, hussainweb: document Batch API callbacks as callback implementations 2015-02-13 11:51:15 -08:00
Alex Pott b8378ac5ba Issue #2094499 by amateescu: Convert "Manage (form) display" forms to be the official entity edit forms for EntityView[Form]Display objects 2015-01-19 13:26:07 +00:00
Alex Pott 3d14a7d25a Issue #2401505 by Berdir, jibran, larowlan: Add an entity collection template for lists 2015-01-19 09:37:11 +00:00
Nathaniel Catchpole 73069e05e8 Issue #2392319 by alexpott, effulgentsia: Config objects (but not config entities) should by default be immutable 2015-01-16 10:43:35 +00:00
Alex Pott 77725b6084 Issue #2281645 by dawehner, andypost: Make entity annotations use link templates instead of route names 2015-01-13 10:32:23 +00:00
Alex Pott e92465b508 Issue #2329753 by lauriii, davidhernandez, LewisNyman, nathandao: Move html classes from preprocess to templates 2015-01-12 13:19:07 +00:00
Alex Pott ff7473e82d Issue #2384481 by rpayanm, daffie, tadityar, hussainweb, areke, claudiu.cristea: Make the class variables protected for NodeType 2015-01-12 12:44:27 +00:00
Alex Pott aff95777ed Issue #2309737 by rpayanm, hussainweb, max-kuzomko, herom, millerbennett, ianthomas_uk, quietone, Sutharsan, sumitmadan, toddmbloom: Remove deprecated format_plural usage 2015-01-10 13:56:47 +00:00
Alex Pott 33eb65ae30 Issue #2396519 by pcambra, willzyx: Fatal error rebuilding node access permissions 2015-01-08 11:11:23 +00:00
webchick 451bf65740 Issue #2401035 by alexpott: items_per_page in node.settings is no longer used 2015-01-03 21:24:18 -08:00
Alex Pott 8ae055fb2e Issue #2230637 by plach, fran seva, yched, swentel: Create a Language field widget and the related formatter 2014-12-23 09:26:11 +01:00
Alex Pott fdec77fca1 Issue #2382543 by rpayanm, ianthomas_uk: Remove usage of drupal_html_class() and drupal_clean_css_identifier() 2014-12-12 10:08:12 +01:00
Nathaniel Catchpole 30a5046e35 Issue #2355909 by penyaskito, alexpott, Gábor Hojtsy, DuaelFr: language.settings config is not scalable 2014-12-08 16:25:00 +00:00
Alex Pott 02c173eb9d Issue #2379595 by ricovandevin, tibbsa: node_help() broken for node add/edit form 2014-12-04 22:23:10 +00:00
Alex Pott d07e48a61b Issue #1938920 by akalata, Jon Pugh, joelpittet, shanethehat, lauriii, martin107, nicholasruunu: Convert node_search_admin theme tables to table #type 2014-12-02 09:23:10 +00:00
Nathaniel Catchpole cd9b0f4fde Issue #1426804 by alexpott, swentel: Fixed Allow field storages to be persisted when they have no fields. 2014-11-12 16:16:39 +00:00
Alex Pott 5c3a1c67ad Issue #2322509 by prics, cilefen, gaurav.goyal, harijari, Temoor: Replace all instances of node_load(), node_load_multiple(), entity_load('node') and entity_load_multiple('node') with static method calls. 2014-11-09 23:40:48 -08:00
Nathaniel Catchpole 2d3266e61f Issue #2361681 by Wim Leers: drupal_render(): invert second argument ($is_recursive_call -> $is_root_call) => more strict, better DX/TX. 2014-10-24 15:51:28 +01:00
Alex Pott 4d86f97385 Issue #2316561 by jmolivas | YesCT: Type hint hooks with interface: ConfigurableLanguageInterface instead of LanguageEntity/ConfigurableLanguage. 2014-10-23 12:32:15 +01:00
Alex Pott e775d664ab Issue #1971208 by calebtr, dsayswhat, metzlerd, agentrickard: Replace "utilize" with a proper verb. 2014-10-20 09:30:46 +01:00
Nathaniel Catchpole 6cbb5d9e1e Issue #2350949 by Wim Leers: Add hook_page_attachments(_alter)() and deprecate hook_page_build/alter(). 2014-10-16 13:36:06 +01:00
Nathaniel Catchpole 4e0e15b201 Issue #2352641 by chx, alexpott: Break router.builder dependency. 2014-10-10 20:41:01 +01:00
Nathaniel Catchpole 58b78c4ba5 Issue #2331113 by David_Rothstein: Fixed Node access rebuilds are completely broken when being rebuilt through a batch process?. 2014-10-10 12:49:31 +01:00
webchick 4724ae1d1f Issue #2246675 by rpayanm, johnstorey, holly.ross.drupal | mgbellaire: Remove all unnecessary 'template' lines in hook_theme() declarations. 2014-10-09 11:41:26 -07:00
Alex Pott d3f105ed86 Issue #2226207 by lauriii, mgbellaire, Cottser, m1r1k, Mark Carver, LinL, rachel_norfolk, rteijeiro, skwashd, davidhernandez, euphoric_mv: Make 'template' the default output option for hook_theme(). 2014-10-08 12:06:17 +01:00
Alex Pott 4f49087b71 Issue #2277103 by tim.plunkett, pwolanin, Wim Leers, dawehner, hotpizzas: Switch Drupal::l() and LinkGenerator to expect a Url object. 2014-09-29 15:41:29 +02:00
Alex Pott 420248266f Issue #2344821 by yched: Unify 'name' / 'field_name' in FieldConfig / FieldStorageConfig. 2014-09-28 18:36:18 +02:00
webchick a6492ce9d9 Issue #2343651 by xjm, tim.plunkett, Wim Leers, dinarcon, dawehner: Remove most remaining l() calls. 2014-09-28 00:21:34 -07:00
Alex Pott ff035fc4fa Issue #2340507 by chx, Wim Leers: Make the new AccessResult API and implementation even better. 2014-09-22 22:08:27 +01:00
webchick 1476c56c62 Issue #2312093 by alexpott, yched, andypost, swentel | xjm: Rename FieldInstanceConfig to FieldConfig. 2014-09-19 19:45:52 -07:00
Nathaniel Catchpole 0f28b515f8 Issue #2287071 by Wim Leers, alexpott, chx: Add cacheability metadata to access checks. 2014-09-17 15:39:29 +01:00
Alex Pott 8c38be014c Issue #2254153 by crowdcg, davidhernandez, joelpittet, mortendk, mdrummond, cilefen, LewisNyman: Move node classes out of preprocess and into templates. 2014-09-15 12:22:36 +01:00
Nathaniel Catchpole 983cdbf0ae Issue #1857256 by dawehner, xjm, tim.plunkett, jibran, ParisLiakos, hussainweb, pcambra, ekes, InternetDevels, rhabbachi, rdrh555, tstoeckler, oadaeh, Gábor Hojtsy, vijaycs85: Fixed Convert the taxonomy listing and feed at /taxonomy/term/%term to Views. 2014-09-15 10:17:06 +01:00
Alex Pott 829c436ec1 Issue #303574 by jhodgdon, douggreen, BlakeLucchesi: Fixed Search Ranking Recency scoring algorithm. 2014-09-12 19:21:53 +01:00
Alex Pott bd8cb79b78 Issue #2329485 by damiankloip, dawehner: Allow permissions.yml files to declare 'permission_callbacks' for dynamic permissions. 2014-09-09 20:11:27 +01:00
Nathaniel Catchpole 4f978d9800 Issue #2324121 by Berdir, slashrsm, alexpott: Fixed NodeType's settings array was meant to be able to store information from mutliple modules. 2014-09-09 11:27:48 +01:00
Alex Pott 2b0be1d8b7 Issue #2226493 by Berdir, Wim Leers, m1r1k, mr.baileys, andypost, scor, cbr, joelpittet: Apply formatters and widgets to Node base fields. 2014-09-08 22:00:57 +01:00
Dries 05212a9727 Issue #2271349 by Berdir, Arla, blueminds, larowlan, Dave Reid: Node and Comment ops links should be display components (which can be disabled). 2014-09-05 12:31:15 -04:00
webchick d72c0f98ec Issue #1510544 by swentel, Bojhan, Gábor Hojtsy, merlinofchaos, Cottser, Wim Leers, plopesc, aspilicious, sannejanssen, larowlan, tim.plunkett, nod_: Fixed Show previews in front-end theme, able to select different view modes. 2014-08-23 12:03:35 -07:00
Alex Pott cd8986c2d7 Issue #2278567 by kgoel, azinck, dawehner | Crell: Standardize node route names by relationship. 2014-08-12 11:23:01 -07:00
Alex Pott 9d777775b1 Issue #2307681 by cbr, Berdir, moshe weitzman: GetEntityTypeFromStaticClass - poor performance. 2014-08-11 15:02:28 -05:00
Alex Pott 8a0fa31c03 Issue #2271005 by martin107, YesCT, alimac, mrjmd: Rename Language module's LanguageInterface to ConfigurableLanguageInterface and Language to ConfigurableLanguage. 2014-08-10 16:19:32 -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
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 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
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
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 5ffb1d3cfe Issue #2216535 by jhodgdon, Berdir: Replace Node overview topic and Node API topic with Entity Hooks topic. 2014-07-11 13:04:53 +01:00
Alex Pott 2aa98311cf Issue #2010162 by tim.plunkett | InternetDevels: Convert node_uri() to $node->uri(). 2014-07-10 11:20:03 +01:00
Alex Pott 3e34d843d0 Issue #2283717 by amitgoyal, joshi.rohit100, g3r4 | jackbravo: Remove user_access function calls on hook_permission functions. 2014-07-08 10:00:18 +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