Form items should be wider on narrow screen sizes
I've noticed that the form items are quite small on mobile device.In Seven we increased the width on narrow devices:#1751150: Improve usability of forms on touch screen and small screen devicesI think...
View ArticleClean-up to our plugins that CKEditor >=4.5.5 enables
Problem/MotivationThe drupalimage plugin had to use hacks due to missing APIs in CKEditor.Proposed resolutionSince http://dev.ckeditor.com/ticket/13885, CKEditor has the necessary API.See #11 and #12...
View ArticleAllow run-tests.sh to run just the javascript Functional tests
Problem/Motivation#2469713-158: Step 2: Create a JavaScriptTestBase using PhantomJs Driver/Binary requires us to run just the javascript tests.Proposed resolutionPossible solutions:Allow to filter by...
View ArticleReplace the .region-content ul/ol selector with text-formatted to refactor...
Follow-up to #2539860: Add a class to field that contain user-generated formatted textProblem/MotivationIt's common to provide styling for base elements, elements that don't have classes. This styling...
View ArticleMake migrations themselves plugins instead of config entities
Problem/MotivationAs argued in #2462233: Migrations should not use the configuration entity system migrations should not use the config system. Now I agree they should not be config but instead should...
View ArticleStop excluding local ID and revision fields from HAL output
Problem/MotivationWhen retrieving an entity in json format (e.g., /node/1?_format=json), all entity fields that the user has permission to view are returned, including the local ID (nid for node...
View ArticleCode execution when a directory in sites/ is writeable and could potentially...
This was originally posted on s.d.o, then publicised through PSA-2015-001.----. . . It is sometimes possible to create the file settings.php in another folder. This is possible when the webserver can...
View ArticleCrypt::randomBytes() doesn't actually return cryptographically secure...
Problem/MotivationDrupal prefers openssl_random_pseudo_bytes() if available in Crypt::randomBytes() in 8.0.x or drupal_random_bytes() in 7.x and 6.x.PHP used the wrong method in the openssl library now...
View Articlecke_widget_element CSS Class get wrongly returned by the drupallink plugin
Problem/MotivationUsing Editor Advanced Link to expose the CSS Class field on the Link Dialog in text editors I figured out that a strange "cke_widget_element" class was appended in the field.Steps to...
View ArticleNode type settings property does not exist anymore
The node type settings property is still being cleanup in node_modules_uninstalled() - this is now all done through ConfigEntityBase / ThirdPartySettingsInterface so this is just dead code.Beta phase...
View ArticleInvalid argument supplied for foreach() in update_fix_compatibility() (line...
Replaced alpha 6 code with alpha 7 code on working alpha 6 site. Deleted php and config from files/. ran update.php to see what it would do.The following code in update.php expects an array.foreach...
View ArticleReplace jQuery UI autocomplete with Select2
Problem/MotivationImprove usability and accessibility of long select lists and autocomplete tagging widgets.Proposed resolutionUse Select2 for tags and autocomplete stuff.Patch is almost ready, it just...
View ArticleModule looks installed but it cannot be uninstalled
I've just updated from D8A7 to D8A8 and my module which is in development state threw SQL error. But Drupal have installed anyway. The table that had the error in schema definition was not created. The...
View ArticleTemporary Files Directory path not configurable in settings.php
There may be a logical explanation, however currently I could not find documentation regarding this change. In Drupal 7 you were able to set the public, private, and temporary files directory in the...
View ArticleAdd a RegexDirectoryIterator
Problem/MotivationSuggested in #2671034: Create plugin per file YAML discovery, we should have a general iterator that can iterate files for us in a directory that match a supplied pattern. That issue...
View ArticleReturn TranslationWrapper in t() and $this->t() directly
Problem/MotivationNow that TranslationManager::translate() no longer translates, but rather returns a TranslationWrapper we could simplify the call chain of t() and $this->t() quite a lot.Proposed...
View ArticleRoute normalizer
Problem/MotivationOriginally, some work was started in #2430335: Browser language detection is not cache aware to resolve a caching issue. A language redirect was introduced, but the implementation was...
View ArticleAdd warning message to Seven and Bartik that they can change in the future
After many policy discussions it has been decided that Seven and Bartik will be marked @internal. This means they can change over time and no one should depend on their markup and CSS staying exactly...
View Article