Commit Graph

247 Commits (0bc927f20a5b58dd67aa603a70452c2b4723bc11)

Author SHA1 Message Date
Dries fc5e111aca Issue #2225353 by tim.plunkett: Convert to an object and provide methods like setError(). 2014-07-30 20:50:42 -04:00
Nathaniel Catchpole 718a47d755 Issue #2309247 by Gábor Hojtsy: Fixed Views do not depend on modules providing their displays. 2014-07-30 13:40:49 +01:00
Alex Pott 4a45c16b0a Issue #2310705 by lokeoke, tim.plunkett, dawehner: AccessManager should introduce constants for 'ANY' / 'ALL'. 2014-07-29 09:48:31 +01:00
Nathaniel Catchpole 02a32e3ff5 Issue #2284103 by alexpott, fabpot, damiankloip, Xano, Xen, Berdir: Fixed Remove the request from the container. 2014-07-14 15:58:53 +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 1cf3a5338b Issue #2293541 by amitgoyal, marcingy: Remove *_token deprecated functions. 2014-07-08 11:51:37 +01:00
Alex Pott b16acb2a02 Issue #2216523 by jhodgdon: Fill in REST and Third Party @defgroup topic docs. 2014-07-07 14:40:24 +01:00
webchick 8ca26dcf34 Issue #1875118 by damiankloip, tim.plunkett: Move resource plugins to correct modules. 2014-07-02 12:40:54 -07:00
webchick d70d27c5c1 Issue #2091415 by amitgoyal, mparker17, Crell, batigolix, pokurek | ifrik: Update hook_help for Restful Web Services module. 2014-07-02 11:58:52 -07:00
Dries 41576e126f Issue #1875996 by Xano, tim.plunkett, neclimdul, Rajendar Reddy, Jalandhar: Reconsider naming conventions for derivative classes. 2014-06-30 15:24:34 -04:00
webchick 94e0188a10 Issue #2294129 by xjm, tim.plunkett: Switch hook_help() to use RouteMatch instead of Request. 2014-06-29 20:33:08 -07:00
Jennifer Hodgdon ce4a8036a0 Issue #2290279 by joshi.rohit100, er.pushpinderrana: Make RestResource plugin developer info more discoverable 2014-06-25 14:40:42 -07: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 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
Nathaniel Catchpole bc7e413dfb Issue #2281905 by Berdir: Stop caching plugin discovery/info hooks by language. 2014-06-12 10:10:59 +01: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
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
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
Nathaniel Catchpole 2d3d33b48f Issue #2261181 by damiankloip, dawehner: Fixed Always pass in the request into the view executable. 2014-05-26 11:54:08 +01:00
Nathaniel Catchpole e44d15a76d Issue #1289536 by ParisLiakos, RobLoach, Crell, larowlan, fgm, pounard, Pancho, dawehner, scor, tim.plunkett, alexpott, socketwench: Switch Watchdog to a PSR-3 logging framework. 2014-05-22 10:38:46 +01:00
Alex Pott 52a11d6ac3 Revert "Issue #1289536 by RobLoach, Crell, Pancho, pounard, socketwench, fgm, dawehner, scor, tim.plunkett, larowlan, ParisLiakos: Switch Watchdog to a PSR-3 logging framework."
This reverts commit ef250ba2cb.
2014-05-21 14:59:11 +01:00
Nathaniel Catchpole ef250ba2cb Issue #1289536 by RobLoach, Crell, Pancho, pounard, socketwench, fgm, dawehner, scor, tim.plunkett, larowlan, ParisLiakos: Switch Watchdog to a PSR-3 logging framework. 2014-05-20 17:40:34 +01:00
Dries 809b361f20 Issue #2222719 by effulgentsia, tim.plunkett, xjm, dawehner: Use parameter matching via reflection for access checks instead of pulling variables from request attributes. 2014-05-16 12:45:50 -04:00
Nathaniel Catchpole bf3ba52fa0 Issue #2209337 by tstoeckler: Remove hidden property from test extensions. 2014-05-13 17:55:52 +01: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
webchick b619a2c619 Issue #2241827 follow-up by tim.plunkett, sun: Switch from form builder to new form validator. 2014-05-06 18:57:19 -07:00
webchick c056f6dfe6 Issue #2241827 by killua99, dawehner, djevans | Crell: Using a numeric placeholder in paths in Views UI causes fatal error. 2014-05-06 13:33:23 -07:00
webchick 5d29f32449 Issue #2256317 by sun: Remove static caching from WebTestBase::checkPermissions(). 2014-05-04 00:32:35 -07:00
Nathaniel Catchpole 44b38852b8 Issue #2158571 by tstoeckler, dawehner, kgoel, tim.plunkett, catch, effulgentsia: Routes added in RouteSubscribers cannot be altered. 2014-05-01 10:46:02 +01: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
webchick 2681750501 Issue #2208609 by sun, Jalandhar, damiankloip: Move Json utility class into Drupal\Component\Serialization. 2014-04-18 08:32:47 -07:00
Alex Pott 1e15efd7d2 Issue #2202629 by sun: Move Drupal\Core\KeyValueStore\State* into Drupal\Core\State\State*. 2014-04-18 11:53:27 +01:00
webchick f0bed14de3 Issue #2233787 by alexpott, xjm | tim.plunkett: Move default configuration into extension/config/install to clarify its purpose. 2014-04-16 15:00:30 -07:00
Alex Pott 12b53d008f Issue #2229183 by martin107, dawehner: Use ContainerAwareTrait instead of extending ContainerAware. 2014-04-16 21:55:58 +01:00
Alex Pott b1eb0a2931 Issue #2228291 by damiankloip: Move all plugin and other discovery data into a cache_discovery bin. 2014-04-11 10:40:11 -04:00
webchick fc6b814e02 Issue #2170775 by tim.plunkett, martin107, Xano: Remove array typehint from . 2014-04-08 13:56:43 -07:00
Nathaniel Catchpole 3a5e997452 Issue #2221065 by damiankloip, Wim Leers, Berdir: Rename default 'cache' cache bin to 'default'. 2014-03-31 10:49:28 +01:00
Alex Pott 9dc59dda73 Issue #2219795 by damiankloip, Berdir: Config entity references broken and other bugs. 2014-03-25 11:40:34 +01:00
Nathaniel Catchpole 5f61e2663a Issue #2019123 by klausi, ygerasimov, Crell: Use the same canonical URI paths as for HTML routes. 2014-03-21 11:00:42 +00:00
Alex Pott 880f697abb Issue #2093173 by longwave, Cyberschorsch, forbesgraham, sandipmkhairnar, damiankloip, rbayliss, grom358, harijari, InternetDevels, dawehner: Remove all calls to drupal_json_decode(), use \Drupal\Component\Utility\Json::decode(). 2014-03-20 16:06:41 +00:00
webchick 77123f3f1b Issue #340723 by ParisLiakos, sun, Berdir, glennpratt, Cottser, swentel, alexpott, tstoeckler, Xano, tim.plunkett, BassistJimmyJam | beejeebus: Make modules and installation profiles only require .info.yml files. 2014-03-17 07:43:29 -07:00
Alex Pott eba0b71872 Revert "Issue #340723 by ParisLiakos, sun, Berdir, glennpratt, Cottser, swentel, tstoeckler, Xano, tim.plunkett, BassistJimmyJam: Make modules and installation profiles only require .info.yml files."
This reverts commit b4c561d0d5.
2014-03-17 13:02:04 +00:00
Nathaniel Catchpole b4c561d0d5 Issue #340723 by ParisLiakos, sun, Berdir, glennpratt, Cottser, swentel, tstoeckler, Xano, tim.plunkett, BassistJimmyJam: Make modules and installation profiles only require .info.yml files. 2014-03-17 11:57:35 +00:00
Alex Pott 48025f9261 Issue #2168159 by dawehner: Plugin Derivatives don't work with Objects returned from Annotations. 2014-03-11 09:41:30 +00:00
Nathaniel Catchpole 6dc4d08c1f Issue #2208165 by longwave, damiankloip: Replace usage of views deprecated functions in views. 2014-03-10 13:11:58 +00:00
Nathaniel Catchpole a2b6fe7e01 Issue #2190665 by alexpott: Remove persist flag from services that do not need it. 2014-03-10 11:24:18 +00:00
Alex Pott 2187fd1ee3 Issue #2198917 by andypost, Berdir: Use the string field type for the node title field. 2014-03-07 11:08:24 +00:00
webchick 428d0f0ad9 Issue #2053153 by tim.plunkett, dawehner, damiankloip, aspilicious: Allow contrib modules to provide plugins on behalf of optional modules. 2014-03-01 17:57:51 -08:00
Nathaniel Catchpole d077f16237 Issue #2195571 by Les Lim: Add a dedicated @RestResource annotation class. 2014-02-28 10:47:37 +00:00
Nathaniel Catchpole 78b48c89ad Issue #2092095 by tstoeckler, ParisLiakos: Remove \Drupal\Component\Utility\MapArray. 2014-02-28 10:43:51 +00:00
Alex Pott c210e8681c Issue #1981858 by Berdir, tim.plunkett, longwave, Les Lim: Rename hook_entity_info/alter() to hook_entity_type_build/alter(). 2014-02-20 10:04:54 +00:00
Nathaniel Catchpole b65c8f413d Issue #2198423 by damiankloip: Store the provider for Views plugins. 2014-02-19 16:59:12 +00:00
Alex Pott cdab74eed5 Issue #1541298 by sun, Berdir: Remove Node module dependency from Testing profile. 2014-02-13 11:28:24 +00:00
Alex Pott 932e4d9eb0 Issue #2184231 by jibran, dawehner, Xano: Use ConfigFactoryInterface to type hint ConfigFactory. 2014-02-13 01:59:44 +00:00
Nathaniel Catchpole 2e6c6d71e7 Issue #2045931 by Sam152, joelpittet, LinL, Sutharsan, adsw12: Replace all module_exists() deprecated function calls. 2014-02-11 11:23:35 +00:00
Alex Pott 6c2ed3f11e Issue #2165155 by Berdir, tim.plunkett: Change $entity_type to $entity_type_id and $entity_info to $entity_type/$entity_types. 2014-02-10 09:24:05 +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 aa03c3dd54 Issue #2167623 by danilenko_dn, sidharthap, Nitesh Sethia, krishnan.n, aitiba, alexpott, ashwinikumar, Barrett, damiankloip, deepakaryan1988, foxtrotcharlie, ianthomas_uk, neetu morwani, nonsie, piyuesh23, Sharique, sivaji, sushantpaste, swentel, vijaycs85, YesCT: Add test for all default configuration to ensure schema exists and is correct. 2014-01-30 12:04:18 +00:00
Nathaniel Catchpole 50901f953c Issue #2177739 by Berdir, alexpott, Gábor Hojtsy: Fix inefficient config factory caching. 2014-01-29 14:01:39 +00:00
webchick b8ef75c5f4 Issue #2169447 by damiankloip, sun, longwave: DX: Supply CacheBackendInterface::CACHE_PERMANENT as Cache::PERMANENT. 2014-01-25 21:21:53 -08:00
Alex Pott 19e8cf3848 Issue #2110467 by Berdir: Add first(), get($index) and possibly other methods to ListInterface. 2014-01-25 11:26:34 +01:00
webchick 9bbf4b9e34 Issue #2180111 by linclark: REST should not assume hal_json if no format is provided. 2014-01-24 19:57:58 -08:00
Alex Pott 814aed203d Issue #2005716 by tim.plunkett, msonnabaum, dawehner, alexpott, effulgentsia: Promote EntityType to a domain object. 2014-01-01 11:08:57 +01:00
Alex Pott 7a0b6745d0 Issue #2137305 by dawehner: Fieldapi fields have empty values in a view REST export (using JSON). 2013-12-26 15:24:48 +00:00
webchick 3465947578 Issue #2146517 by TR: Remove annotation 'use' statements from all core classes. 2013-12-19 10:28:42 -08:00
Dries 17cc6dab8b Issue #2145041 by tim.plunkett: Allow dynamic routes to be defined via a callback. 2013-12-18 15:09:35 -05:00
catch 3e27ebdea5 Issue #1786490 by Berdir, amateescu, damiankloip, Wim Leers, dawehner: Add caching to the state system. 2013-12-12 00:00:09 +00:00
Nathaniel Catchpole 51560a3a04 Revert "Issue #1786490 by Berdir, amateescu, damiankloip, dawehner: Add caching to the state system."
This reverts commit 8ec847cc7c.
2013-12-11 14:37:58 +00:00
Nathaniel Catchpole 8ec847cc7c Issue #1786490 by Berdir, amateescu, damiankloip, dawehner: Add caching to the state system. 2013-12-11 12:00:10 +00:00
Jennifer Hodgdon 80fbd33d97 Issue #2145077 by TR, longwave: Fix about a zillion spelling errors, mostly in comments 2013-12-03 07:54:20 -08:00
Nathaniel Catchpole 2c77a334c7 Issue #2080373 by mrsinguyen: Remove Unused local variable $response from /core/modules/rest/lib/Drupal/rest/Tests/ReadTest.php. 2013-12-03 14:17:56 +00:00
Alex Pott 43a4ef250c Issue #2065193 by juampy, klausi: Supported_formats and supported_auth should work in the same way. 2013-12-01 09:54:50 -04:00
Alex Pott 423c075cfd Issue #2099439 by linclark, jessebeach: REST's CSRF check is triggered even when using Basic Auth. 2013-11-28 23:06:20 -04: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
webchick 9c649add1f Issue #2107687 by vijaycs85: Provide configuration schema for Rest module. 2013-11-22 21:47:37 -08:00
webchick 4399709181 Issue #2066535 by tim.plunkett, jsst, Berdir: Add EntityManagerInterface and stop typehinting with EntityManager. 2013-10-30 16:09:40 -07:00
Nathaniel Catchpole 9d5aefb739 Issue #2048223 by dawehner, ParisLiakos, herom, fubhy, damiankloip, vijaycs85, joelpittet, tim.plunkett: Add $account argument to AccessCheckInterface::access() method and use the current_user() service. 2013-10-30 17:31:44 +00:00
Nathaniel Catchpole 784cebbe5a Issue #2098795 by tim.plunkett, Sean Charles, tstoeckler, dawehner, larowlan, damiankloip: Create Base Class for RouteSubscriber Class. 2013-10-18 09:54:56 +01:00
Alex Pott 83e1359edc Issue #2107483 by StephaneQ: Make basic_auth() module and http_basic() auth setting consistent. 2013-10-17 23:41:58 +01:00
Nathaniel Catchpole 8be763a670 Issue #2099679 by linclark: Fixed Changing the order of asserts in AuthTest::testRead makes them fail. 2013-10-13 13:06:36 +01:00
webchick ccd257a9e7 Issue #2063401 by dawehner, damiankloip, tim.plunkett: Replace the default _access_checks()(access mode) with ALL instead of ANY. 2013-10-08 23:26:38 -07:00
webchick 04f662ff72 Issue #2027115 by dawehner, tim.plunkett: Allow views to override existing routing items. 2013-10-07 12:13:29 -07:00
Alex Pott bcc5763239 Issue #1953408 by swentel, aspilicious, andypost, yched: Remove ArrayAccess BC layer from field config entities. 2013-10-04 08:55:32 +01:00
Nathaniel Catchpole 1aeee1cd39 Issue #2004244 by Berdir, plach, tim.plunkett, msonnabaum, das-peter: Move entity revision, content translation, validation and field methods to ContentEntityInterface. 2013-10-01 12:42:30 +01:00
webchick af4ec603d1 Issue #2092817 by klausi: Move REST, serialization and HAL to the web services package + CHANGELOG.txt entry. 2013-09-27 14:19:14 +02:00
webchick 6fd72a2c6e Issue #2095115 by beejeebus: Delete ViewTestConfigInstaller and have ViewTestData create views, not 'import' them. 2013-09-23 17:11:18 +02:00
webchick a4f9d8e33a Issue #2041885 by BTMash, cweagans, klausi: Move HTTP basic authentication provider to a separate module. 2013-09-23 16:44:41 +02:00
Nathaniel Catchpole 5c88ea314d Issue #2064181 by klausi: Fixed Filter format access bypass on POST/PATCH. 2013-09-20 11:18:48 +01:00
Dries 65b155d9c2 Issue #1199946 by alexpott, fubhy, bojanz, steinmb, chx, catch: Fixed Disabled modules are broken beyond repair so the 'disable' functionality needs to be removed. 2013-09-19 18:22:53 +02:00
webchick 6b7bdcdd8c Issue #2076033 by juampy: Fixed PHP warning when looking if a REST resource defines authentication providers. 2013-09-19 00:19:58 -07:00
webchick deebed44b2 Issue #2087231 by tim.plunkett, pwolanin: Add a PluginBase in the Core namespace with t() as a helper method. 2013-09-18 18:48:18 -07:00
webchick 8347b04c34 Issue #2051097 follow-up by tim.plunkett: Remove silly spacing errors. 2013-09-15 22:06:19 -07:00
webchick 7cfa38d01a Issue #2051097 by dawehner, Manuel Garcia, tlattimore, neclimdul: Change 'pattern' to 'path' in *.routing.yml files. 2013-09-15 21:47:28 -07:00
webchick 5bb0d5e667 Issue #2053489 by chx, tim.plunkett: Standardize on \Drupal throughout core. 2013-09-15 20:58:10 -07:00
webchick d009cac09c Issue #2074037 by Wim Leers, effulgentsia: Add drupalPostUrl() — drupalPost()/drupalPostAjax() are for forms only, D8 JS performs non-form HTTP requests. 2013-09-11 12:41:33 -07:00
webchick f503d2282a Issue #2074509 by tim.plunkett, falcon03, mgifford, Xano: Fixed Add missing #title property to ensure form accessibility. 2013-09-11 00:16:22 -07:00
Alex Pott 11eeb98bf3 Issue #2070609 by damiankloip, tstoeckler: Remove obsolete 'module' keys from Views plugin annotations. 2013-09-11 02:21:44 +01:00