Commit Graph

222 Commits (c1450062c8a5daa00f400dfa729f248972c25656)

Author SHA1 Message Date
Alex Pott f2d710c607 Issue #1620010 by dawehner, ParisLiakos, plach, jibran: Move LANGUAGE constants to the Language class. 2013-05-25 13:12:45 -07:00
Alex Pott 80da26f3ff Issue #1893442 by andypost, tim.plunkett, dawehner: Move BlockStorageController::loadByProperties() into ConfigStorageController. 2013-05-20 16:41:23 -07:00
Alex Pott 6718550cda Issue #1998642 by beejeebus: Fixed ConfigImportTest.php should be ConfigImporterTest.php. 2013-05-19 19:03:32 -07:00
Alex Pott 66e6eb8d36 Issue #1994910 by tim.plunkett, twistor: Fixed ConfigEntity listing should only show enable/disable if status is supported. 2013-05-19 12:17:43 -07:00
Nathaniel Catchpole 4eaa775b10 Issue #1890784 by alexpott, YesCT, heyrocker, tim.plunkett, EllaTheHarpy, beejeebus: Refactor configuration import and sync functions. 2013-05-17 15:16:16 +01:00
catch a56602e8b0 Issue #1989996 by swentel: Fixed @config_file() placeholder not replaced in popup. 2013-05-10 09:33:40 +01:00
Alex Pott a57952c6a4 Issue #1983844 by tim.plunkett, dawehner: Add EntityListController and convert picture.module callbacks to routes/controllers to provide a use-case. 2013-05-07 17:33:50 +01:00
Alex Pott 79ea2f38f8 Issue #1292284 by ParisLiakos, RobLoach, karschsp: Require 'type' key in .info.yml files. 2013-05-07 14:51:26 +01:00
webchick 22df5962a2 Issue #1944472 by larowlan, quicksketch, effulgentsia: Add generic content handler for returning dialogs. 2013-05-03 10:01:32 -07:00
webchick e775437eb2 Issue #1982984 by larowlan: Create Drupal::entityManager for improved DX. 2013-05-01 23:42:27 -07:00
Alex Pott 620d497915 Issue #1913618 by tim.plunkett, amateescu: Convert EntityFormControllerInterface to extend FormInterface. 2013-04-30 00:46:14 +01:00
Alex Pott bc3a902fbc Issue #1807042 by tim.plunkett, effulgentsia: Rename entity storage/list/form/render controllers to handlers, part 1: organize existing annotation keys. 2013-04-23 08:38:30 +01:00
Alex Pott 91fc0d3ed9 Issue #1905152 by Gábor Hojtsy, Jose Reyero, vijaycs85, YesCT, penyaskito: Integrate config schema with locale, so shipped configuration is translated. 2013-04-23 08:19:41 +01:00
webchick b77715c307 Issue #1967294 by tim.plunkett: Add a dedicated @EntityType annotation. 2013-04-13 15:15:20 -07:00
webchick 6543a5bae6 Issue #1847768 by rootatwc, tim.plunkett, effulgentsia, Crell, Damien Tournoud: Remove ip_address(). 2013-04-10 17:17:57 -07:00
Alex Pott b92c56b164 Issue #1964254 by vijaycs85, YesCT | Gábor Hojtsy: Fixed Configuration schemas missing langcode and uuid at places. 2013-04-10 09:40:30 +01:00
Alex Pott e97a786c05 Issue #1947814 by vijaycs85, Gábor Hojtsy, tim.plunkett: Fixed New config entities often save as langcode: und incorrectly. 2013-04-09 13:04:07 +01:00
Dries 0bb14c814d Issue #1865206 by alexpott: clean up ConfigFactory + ConfigStorageController::save/postsave/rename(). 2013-03-27 14:31:51 -04:00
catch fc7c38bde8 Issue #1764474 by Berdir, chx, alexpott, pounard, msonnabaum: Make Cache interface and backends use the DIC. 2013-03-22 09:36:55 +00:00
webchick 1bec76308f Issue #1446382 by plach: Need a reliable way to determine if a specific bundle for an entity type is translatable. 2013-03-18 05:40:12 -07:00
webchick dd927b0008 Issue #1934964 by alexpott, Gábor Hojtsy, nevergone: Fixed Locale override subscriber should re-init context to clear caches. 2013-03-17 12:24:33 -07:00
webchick f37b8675d2 Issue #1870764 by quicksketch, dawehner, frega, larowlan, nod_: Add an ajax command which makes it easy to use the dialog API in complex cases. 2013-03-17 09:04:07 -07:00
Dries 7813d65e3f Issue #1940440 by vijaycs85: Fixed schema discovery to identify schema with more than one wildcard. 2013-03-13 14:05:26 -04:00
webchick 039dbb98cc Issue #1821548 by heyrocker, swentel, Dean Reilly, dawehner, alexpott, vijaycs85, jhedstrom, adamdicarlo: Add a 'diff' of some kind to the CMI UI. 2013-03-09 22:31:56 -08:00
webchick 3210003e14 Issue #1926276 by alexpott: Fixed Two tests in Configuration group both called 'Installation functionality'. 2013-03-09 15:54:48 -08:00
Dries 497bec2da3 Issue #1763640 by beejeebus, alexpott, YesCT, Jose Reyero, Gábor Hojtsy, das-peter, c31ck, heyrocker: Followup: Introduce config context to make original config and different overrides accessible. 2013-03-08 12:37:37 -05:00
Dries 6bf13bd87b Issue #1793074 by cweagans, sun, chx: Convert .info files to YAML. 2013-03-06 17:51:39 -05:00
catch 13bd2b25ec Issue #1849752 by effulgentsia, Berdir, jibran, neclimdul: Abstract non-Drupal-specific parts of AnnotatedClassDiscovery into a Drupal\Component base class. 2013-03-06 22:02:58 +00:00
webchick a3064d2020 Issue #1929136 by Gábor Hojtsy, alexpott, YesCT: Fixed override-free context, move global config overrides back to an event listener. 2013-03-05 10:06:58 -05:00
catch 0612c664da Issue #1763640 by beejeebus, alexpott, Jose Reyero, c31ck, das-peter, YesCT, heyrocker, Gábor Hojtsy: Introduce config context to make original config and different overrides accessible. 2013-02-27 09:49:26 +00:00
catch 8afbc081dd Issue #1889620 by vijaycs85, sun, heyrocker: Fixed config_install_default_config() overwrites existing configuration. 2013-02-24 21:04:38 +00:00
catch 36fcf91cb5 Issue #1891516 by sun, Berdir, chx: Remove $install parameter from DrupalUnitTestBase::enableModules(), encourage to create individual schema tables only. 2013-02-21 10:22:42 +00:00
catch faaddf2f4b Issue #1914366 by vijaycs85, Gábor Hojtsy, alexpott: Move all configuration schema files into a schema subdirectory. 2013-02-21 10:20:43 +00:00
webchick b0e08e4280 Issue #1515312 by heyrocker, beejeebus, alexpott, xjm, realityloop, sun: Added snapshots of last loaded config for tracking whether config has changed. 2013-02-18 21:08:21 -08:00
Dries 52c9be41a7 Issue #1905230 by Gábor Hojtsy, fago: Improve the typed data API usage of configuration schema. 2013-02-18 18:49:59 -05:00
Dries a96697c7d5 Issue #1864066 by sun, andypost, tim.plunkett: Simplify hook_menu_local_tasks() and MENU_DEFAULT_LOCAL_TASK usage. 2013-02-18 12:03:05 -05:00
catch 252d05b0ea Issue #1831774 by damiankloip, tim.plunkett, Gábor Hojtsy, alexpott: Fixed Config import assumes that 'config_prefix' contains one dot only. 2013-02-18 11:51:24 +00:00
catch 2733a1b1ee Issue #1892662 by alberto56, iaha, swentel: Added Don't show 'Import all' button if there is nothing to import. 2013-02-18 10:57:05 +00:00
catch d234ff8e3b Issue #1888688 by tim.plunkett: Allow list controller sorting to be overridden. 2013-02-06 12:09:56 +00:00
catch 1c92546e41 Issue #1826602 by damiankloip, xjm, sun, dawehner, EclipseGc: Allow all configuration entities to be enabled/disabled. 2013-02-06 12:00:39 +00:00
webchick cfb1b5989e Issue #1889752 by alexpott: Fixed Remove unnecessary manifest creation in config_install_default_config(). 2013-02-01 19:44:13 -08:00
Dries 3e478b0362 Issue #1899994 by katbailey, plach, YesCT: Disentangle language initialization from path resolution. 2013-02-01 15:29:29 -05:00
Dries 94278ddd5a Issue #1866610 by Jose Reyero, Gábor Hojtsy, effulgentsia, alexpott, aspilicious, YesCT, fago, sun, dawehner, heyrocker, yched, spearhead93: Introduce Kwalify-inspired schema format for configuration. 2013-01-31 17:09:08 -05:00
webchick 56580a391a Issue #1889854 by tim.plunkett: Fixed Config import breaks on protected entity properties. 2013-01-29 19:39:46 -08:00
catch f755b6942c Issue #1846454 by chx, dawehner, amateescu: Add Entity query to Config entities. 2013-01-28 14:08:49 +00:00
webchick 38a36d4e3d Issue #1253820 follow-up by plach: Missing a few hook implementations + tests. 2013-01-21 16:31:08 -08:00
webchick bc237f9a13 Issue #1831264 by tim.plunkett: Use the Entity manager to create new controller instances. 2013-01-18 20:58:23 -08:00
webchick f237e58948 Issue #1701014 by disasm, boztek, heyrocker, sun, xjm: Fixed Validate config object names. 2013-01-11 00:39:25 -08:00
webchick 31d4f1b018 Issue #1806178 by tim.plunkett, beejeebus: Remove code duplication for hook_config_import_()*() implementations of config entities. 2013-01-02 17:17:20 -08:00
catch bc801aab00 Issue #1187726 by chx, Berdir, Fabianx, sun: Fixed Add caching for configuration / rework config object loading. 2012-12-14 22:30:50 +00:00
catch 380cdbc6f1 Issue #1849792 by damiankloip: Abstract usage of 'config_prefix' on ConfigStorageController into getConfigPrefix method. 2012-12-13 12:14:32 +00:00
catch 5c16622ac2 Issue #1851180 by heyrocker: Add deleteAll() function to Drupal\Core\Config\StorageInterface. 2012-12-13 12:05:46 +00:00
webchick af608d7002 Issue #1825466 by justafish, sun, alexpott: Allow NestedArray::mergeDeepArray() to preserve integer keys for the purpose of merging config data. 2012-11-14 02:15:58 -08:00
catch 0617e701ef Issue #1813832 by andypost: Fixed Entity wrongly checks existence of ID in isNew() method. 2012-11-13 22:34:55 +00:00
webchick 265fe4e751 Issue #1697256 by heyrocker, alexpott, sun, xjm, webchick: Create a UI for importing new configuration. 2012-11-03 21:48:01 -07:00
catch 4d15b638da Issue #1774388 by sun, chx: Unit Tests Remastered™. 2012-10-31 22:57:03 +00:00
webchick 76a157fe32 Issue #1763974 by tim.plunkett, EclipseGC, berdir, xjm, neclimdul, FabianX: Convert entity type info into plugins. 2012-10-30 13:37:18 -07:00
webchick a61f62b4c6 Issue #1798944 by kbasarab, sun, tim.plunkett, andypost: Convert config_test() entity forms to EntityFormController. 2012-10-30 12:05:58 -07:00
webchick 2205070015 Revert "Issue #1813832 by andypost, xjm, sun: Fixed Entity wrongly checks existence of ID in isNew() method."
This reverts commit 453b2517f5.

This broke testbot. Reverting temporarily.
2012-10-23 21:30:10 -07:00
webchick 453b2517f5 Issue #1813832 by andypost, xjm, sun: Fixed Entity wrongly checks existence of ID in isNew() method. 2012-10-23 19:56:52 -07:00
webchick bbfc566c7f Issue #1820834 by sun: Change #type machine_name() default 'source' element to 'label'. 2012-10-23 19:28:41 -07:00
webchick 1f37e57598 Revert "Issue #1813832 by andypost: Fixed Allow use '0' as id for entity."
This reverts commit f8673ac410.

Needs more discussion.
2012-10-16 14:17:41 -07:00
Dries f8673ac410 Issue #1813832 by andypost: Fixed Allow use '0' as id for entity. 2012-10-16 14:23:44 -04:00
webchick 18e0fca320 Issue #1788462 by samhassell: Remove references to 'active store' in comments for configuration system. 2012-10-09 19:28:56 -07:00
catch c98eebe464 Issue #1807058 by sun: Fixed Config stores a NULL value as an array. 2012-10-09 16:41:59 +01:00
catch fe77630a7c Issue #1785560 by sun, alexpott, tim.plunkett, andypost: Remove the sorting of configuration keys. 2012-10-09 16:24:40 +01:00
webchick 4ecc679823 Issue #1781372 by tim.plunkett, xjm, sun, damiankloip, andypost, Jelle_S, Gábor Hojtsy: Change notice: Add an API for listing (configuration) entities. 2012-09-30 16:48:46 -04:00
Jennifer Hodgdon e91b1b5037 Issue #1797228 by xjm: remove t from test assertions in config module 2012-09-28 10:01:40 -07:00
catch 1f86ba60da Issue #1785974 by tim.plunkett, alexpott, sun: Move ConfigEntity into a Core component. 2012-09-26 17:44:46 +01:00
webchick 5719e7e7d6 Issue #1789722 by andypost, tim.plunkett: Fixed ConfigStorageController::save. 2012-09-20 13:37:38 -07:00
catch f556c0b023 Issue #1760786 by sun: Move entity system 'back' into a Drupal\Core component. 2012-09-12 10:18:04 +01:00
webchick add658801c Revert "Issue #1716920 by Albert Volkman: Fixed override example documentation needs updating."
This reverts commit 81666e2b41. Sorry, did NOT mean to push that; was testing the CMI UI patch.
2012-09-06 22:26:39 -07:00
webchick 81666e2b41 Issue #1716920 by Albert Volkman: Fixed override example documentation needs updating. 2012-09-06 22:25:45 -07:00
Dries 3da9d8b29a Issue #1772102 by fago: Remove StorageControllerInterface in favour of EntityStorageControllerInterface. 2012-09-04 17:06:28 -04:00
catch 4b5fad5475 Issue #1702080 by sun, chx: Added Introduce canonical FileStorage + (regular) cache. 2012-09-04 14:51:51 +01:00
webchick de473408a6 Issue #1742958 by DamienMcKenna, jhodgdon: Fixed All spellings of URI should be uppercase. 2012-09-01 21:50:06 -07:00
webchick c58b08ae9c Issue #1761040 by sun, tim.plunkett, fago, effulgentsia: Rename Storable, Entity, and Configurable to Entity, ContentEntity, and ConfigEntity. 2012-09-01 19:21:35 -07:00
catch cbe1b8b823 Issue #1756862 by xjm, damiankloip: Create declared property on ConfigStorageController for uuidKey. 2012-08-31 21:37:28 +01:00
webchick fe247ca5fc Issue #1668820 follow-up by tim.plunkett, sun: Documentation fixes and clean-ups to Configurables patch. 2012-08-30 11:00:16 -07:00
webchick 7c7b91ef66 Issue #1741804 by beejeebus, sun, chx, alexpott, matason: Implement a config import/staging directory. 2012-08-30 10:30:12 -07:00
webchick 42d5f0053b Issue #1668820 by sun, xjm, tim.plunkett, fgm: Concept, base class, and interface for configurable objects. 2012-08-25 01:17:32 +02:00
catch 2c0893e845 Issue #1739900 by alexpott: Added a rename operation to config storage controllers. 2012-08-22 15:01:32 +02:00
webchick 7b757ff47e Issue #1646580 by chx, Jose Reyero, beejeebus: Implement Config Events and Listeners, and storage realms for localized configuration. 2012-08-22 01:22:22 +02:00
catch 544e17693f Issue #1671198 by chx, Jose Reyero, sun, xjm, aspilicious: Added Merge $conf overrides only once per instantiated Config object, and move initial setName() into Config constructor. 2012-08-15 15:35:59 +01:00
webchick 7e9d2c1676 Issue #1711070 by kid_icarus, tim.plunkett, xjm, droplet, zendoodles and cam8001: Convert tests to use ::$modules property instead of parent::setUp($modules). 2012-08-09 18:24:21 -07:00
webchick 0ce7fabf8d Issue #1447686 by sun, beejeebus, Pol, heyrocker, David Strauss: Allow importing and synchronizing configuration when files are updated. 2012-07-27 23:46:12 -05:00
webchick 83a9b89aa9 Issue #1609760 by chx, sun: Fixed hook_image_style_()*() is not invoked for image styles upon Image module installation. 2012-07-03 14:03:18 -07:00
webchick d74c1441ed Issue #1666632 by sun, chx: Add Config::isNew() to allow code to determine whether a config object already exists. 2012-07-03 11:04:06 -07:00
webchick 28df3aa644 Issue #1605324 by sun, Jose Reyero, alexpott, chx, Rob Loach | beejeebus: Configuration system cleanup and rearchitecture. 2012-06-29 10:35:06 -07:00
webchick 450135017d Revert "- Patch #1605324 by sun, Jose Reyero, alexpott, chx, Rob Loach, beejeebus: configuration system cleanup and rearchitecture."
This reverts commit 8df23c8a87. Original commit
was missing some files. Trying again.
2012-06-29 10:34:05 -07:00
Dries 8df23c8a87 - Patch #1605324 by sun, Jose Reyero, alexpott, chx, Rob Loach, beejeebus: configuration system cleanup and rearchitecture. 2012-06-29 12:29:51 -04:00
Jennifer Hodgdon b14cdc3ab0 Issue #1594250 by Rob Loach, aspilicious: PSR-0 conversion for config tests 2012-06-06 10:24:04 -07:00
Dries c677a96ff7 - Patch #1589174 by sun, marcingy: Fixed Configuration upgrade path is broken. 2012-06-02 15:45:56 -04:00
catch 9e8d1e85dc Issue #1470824 by alexpott, sun: Fixed XML encoder can only handle a small subset of PHP arrays, so switch to YAML. 2012-05-23 12:48:37 +09:00
catch e0ba373d6e Issue #1500238 by alexpott, sun, chx: Encode/decode data via PHP serialize()/unserialize() for DatabaseStorage (storage controller specific data formats). 2012-05-16 12:02:24 +09:00
catch 0e0e6b3df4 Issue #1541676 by Berdir, tstoeckler, Rob Loach: Convert Simpletest base test classes to PSR-0. 2012-05-10 15:01:48 +09:00
catch d390816023 Issue #1444620 by dawehner, sun, heyrocker: Remove file signing from configuration system. 2012-05-08 14:04:54 +09:00
Dries 7a4895992e - Patch #1466092 by webbykat, damiankloip, Bojhan: Fixed Configuration manager is missing module description. 2012-04-09 14:58:39 -04:00
catch 68eecef413 Issue #1497132 by alexpott, pcambra, marcingy: follow-up for generalised function to update variables from Drupal 7 to Drupal 8's configuration management system. 2012-04-07 11:28:53 +09:00
catch 08351faac4 Issue #1497132 by alexpott, pcambra, marcingy: Provide a generalised function to update variables from Drupal 7 to Drupal 8's configuration management system. 2012-03-30 12:43:32 +09:00
Dries d2f1b2560f - Patch #1484690 by Pol, jhedstrom, beejeebus: implement overrides in the configuration system. 2012-03-23 15:35:53 -06:00
xjm 01dbc00f73 More trailing whitespace and the addition of an article. 2012-02-23 07:05:29 -06:00
Greg Dunlap 5b097294ca Added tests for chaining set()->save() 2012-02-22 14:27:43 -08:00
Greg Dunlap 206971754d Added test for casting of nested values 2012-02-22 14:23:29 -08:00
Greg Dunlap dfee7a8c4f Removed debugs 2012-02-22 14:14:02 -08:00
Greg Dunlap 25d74b5c51 Made array tests also verify that casting works properly 2012-02-22 14:13:25 -08:00
Greg Dunlap d0579d92f5 Added tests for file listing 2012-02-22 14:02:19 -08:00
Greg Dunlap f4c3b094a7 Added tests for clear() 2012-02-17 14:16:42 -08:00
Greg Dunlap 1a04e9709b Added a full range of tests for reading/writing config 2012-02-17 13:57:34 -08:00
sun 208af9fec5 Chainable config()->set(). 2012-02-16 14:28:51 -08:00
Greg Dunlap 112afc273a Removing extra blank lines 2012-02-16 13:17:07 -08:00
sun d74f856cd3 Fixed Config module .info definition. 2012-02-14 12:20:21 -08:00
sun 51cd608b95 Added todo for basic CRUD tests. 2012-02-14 12:19:05 -08:00
sun 174cb4df17 Removed superfluous $nonexisting variable. 2012-02-14 12:18:28 -08:00
sun f9b1397675 Fixed test exception. 2012-02-14 12:18:00 -08:00
sun 4527fc3f80 Added first CRUD tests. 2012-02-14 12:16:51 -08:00
sun fbc0928dc4 Cleaned up and fixed test case class names and info. 2012-02-14 12:15:56 -08:00
sun d29f946331 Fixed tests for PSR-0, registry, and performance. 2012-02-14 12:15:04 -08:00
Bram Goffings 4efd71529f fixed config.test 2012-01-08 17:27:11 +01:00
xjm 1ded67b1e3 Correct test class docblocks and add a stub for missing static documentation. 2012-01-08 06:38:51 -06:00
sun e312880573 Fixed coding style, comments, and some trivial issues. 2012-01-08 02:29:22 +01:00
Greg Dunlap 9032509c26 Merge from corepocalypse 2011-11-30 11:46:45 +01:00