Drupal

Miloš Bovan: Post comments via email

Planet Drupal - 15 July 2016 - 4:08am
Post comments via email

The overall test coverage of Mailhandler module has been improved in the week 7 of Google Summer of Code. The plan for the week 8 was to implement feature for posting comments by sending an email.

Similarly to MailhandlerNode (handler for nodes), we had to create a new config entity: inmail.handler.mailhandler_comment and a handler plugin class. Since comments will have limited support, during the last weekly meeting with my mentors (Miro and Primoz), we decided not to add more analyzers as proposed first, but rather to move comment specific business logic to MailhandlerComment Inmail handler plugin.

In order to simplify the logic in the comment handler, EntityTypeAnalyzer was updated to support partial entity type matching. The entity type was extracted from the subject independently of the second part, which can be bundle or entity ID in case of comments.

The current steps in the comment handler are:

  • Assert we are dealing with comments (the identified entity type is comment)

  • Parse the referenced entity ID from the mail subject: [comment][#entity_id]

  • Validate (authenticate and authorize) a user

  • Create a comment entity if all previous conditions are met

The pull request on Github was already created and it will request additional updates after it received some nice suggestions from my mentor.

The Inmail issue Lack of standard result in collaboration of analyzers progressed well during the last week. After several feedbacks and broad discussion, it is currently in “Needs review” state. In my opinion, it is quite close to be fixed and we will be able to implement the standard analyzer result object into Mailhandler module very soon.

Also, last week I made a few UX improvements in the module.
Inmail demo now supports sample mail messages from mailhandler_d8_demo module. As a related issue, PGP-signed sample mails were added to the demo.

The Mailhandler Demo is our focus for the following week. It will be extended with a sample Mailhandler user with already preconfigured Inmail settings, PGP keys and relevant form and display updates. The goal is to provide an easy start for new Mailhandler users. The progress made on the module so far, will be presented as a short (video) demo. Stay tuned!

 

 

Milos Fri, 07/15/2016 - 13:08 Tags Drupal Open source Google Summer of Code Drupal Planet Add new comment
Categories: Drupal

Janez Urevc: Presentations about various Drupal 8 media modules

Planet Drupal - 14 July 2016 - 1:34pm
Presentations about various Drupal 8 media modules slashrsm Thu, 14.07.2016 - 22:34

In the past few months I gave many talks about the modules that we created as part od Drupal 8 media initiative.

Slide decks for all sessions are available on GitHub and are released under Attribution-NonCommercial-ShareAlike 4.0 International License. This basically means that anyone is free to change and use them for non-commercial purposes. The only thing I ask is to give attribution to the original authors.

If you'd like to give a similar talk at your local meetup or camp feel you are encouraged to do so.

What are the topics that you can cover?

Entity embed

Embedding solution for Drupal 8: https://github.com/slashrsm/entity-embed-session.

Entity browser

Entity browsing and selecting tool for Drupal 8: https://github.com/slashrsm/entity-browser-session.

Drupal 8 cropping

Cropping solutions for Drupal 8: https://github.com/slashrsm/d8-cropping-session.

I co-authored and co-presented this session with Alexander Ross.

NP8 enterprise media distribution

Enterprise media distribution built on Drupal 8: https://github.com/slashrsm/np8-session.

Categories: Drupal

ImageX Media: Higher Education Notes and Trends for the Week of July 11, 2016

Planet Drupal - 14 July 2016 - 1:10pm

There’s never a dull moment in the higher education sector. This week, we had our eyes on a dozen interesting articles across higher education. As always, you’ll find an undercurrent of themes that generally revolve around revenue and student demographics. This week’s higher education notes and trends has topics ranging from wealth distribution amongst North American post-secondary institutions, “over-education” of millennials and enrollment staff becoming the next generation of corporate headhunters.

Categories: Drupal

Acquia Developer Center Blog: Accessibility Testing: The Basic Facts You Need to Know

Planet Drupal - 14 July 2016 - 1:04pm

As businesses realize the importance of having an accessible website, there is a push to check both content and code to ensure that they are meeting 508 compliance standards and other accessibility standards, such as the Web Content Accessibility Guidelines (WCAG).

Tags: acquia drupal planet
Categories: Drupal

Lullabot: Rapidly Iterating with the ELMS Learning Network Drupal Distribution

Planet Drupal - 14 July 2016 - 1:00pm
Matt and Mike talk to Bryan Ollendyke and Michael Potter about everything LMS (Learning Management System) and their ELMSLN Drupal distribution that goes a long way into solving problems within that niche.
Categories: Drupal

Valuebound: How to define an Event, Dispatcher and Subscriber in Drupal 8?

Planet Drupal - 14 July 2016 - 12:50pm

As we all know Symfony Event Components are  included in Drupal8 core. In future versions of Drupal Core, Events are going to play a major role for sure. Let’s see how the Event component is going to help our Drupal Development. 

In one of the recent project, we got a tricky requirement in content authoring and publishing workflow. In specific, the Editor has to get a notification for reviewing, once a content author writes an article and saves it for reviewing. By using Events we can easily achieve this kind of  …

Categories: Drupal

Freelock : Ask Freelock: Why haven't you migrated to Drupal 8?

Planet Drupal - 14 July 2016 - 10:11am

Richard asks:

Just a question after reading an article posted here back from January 21, 2016 on Drupal 8, why Freelock.com has not moved to Drupal 8?  Just wondering if there was a particular reason we should avoid before jumping in?  Thanks.

Ha! What a great question!

Three reasons: Time, requirements, priorities.

Drupal PlanetDrupal 8Decision-makingValue
Categories: Drupal

Mediacurrent: A Marketer Meets GitHub

Planet Drupal - 14 July 2016 - 9:20am

One of the many perks of working at Mediacurrent is the ability to work in the comfort of your own home or nearby coffee shop.

Categories: Drupal

Appnovation Technologies: Appnovators Submit 7 Sessions for DrupalCon Dublin

Planet Drupal - 14 July 2016 - 9:20am

DrupalCon is the heartbeat of the Drupal community, where important connections are made, improvements to the project happen, and cutting edge knowledge is shared.

Categories: Drupal

Commerce Swiss Post barcode

New Drupal Modules - 14 July 2016 - 9:19am

This module provides a new rules action to generate Swiss Post shipping labels.

Sponsored and maintained by Kommune3.

Categories: Drupal

CodeTag

New Drupal Modules - 14 July 2016 - 7:28am

Adds support for inline code blocks in CKEditor.

Installation

This module requires the core CKEditor module and the CodeTag plugin from CKEditor.com.

Categories: Drupal

Amazee Labs: Impressions from Drupal Summer Barcelona

Planet Drupal - 14 July 2016 - 5:20am
Impressions from Drupal Summer Barcelona

Last week, a few more than 100 Drupalistas gathered in sunny Barcelona for a conference. Let me share a few impressions from the sprints, trainings and sessions which were accompanied by good weather and the expected beach vibes.

Josef Dabernig Thu, 07/14/2016 - 14:20

The Spanish Drupal community is one of the most active to my knowledge. They organize a variety of Drupal events within a year. After DrupalCamp Spain in Granada and before the upcoming Drupal Day in Galicia, the Catalan user group DRUPAL.CAT invited us for Drupal Summer Barcelona last weekend.

The excellent venue Citilab was already familiar from previous events like Drupal Developer Days 2012 (that's where I ran my first contribution sprint around mapping). DrupalCon Barcelona 2007 was also hosted there, I was told :)

Friday started with trainings and sprints. Forcontu provided a full day of free Drupal 8 Site Building introduction to a packed room of people getting started with setting up their first sites. 

The sprints were again a great place to start working on tickets. As part of my session preparation, I cleaned up a few tickets for the #d8rules initiative. It was superb to connect with great minds from the community like Jose Jiménez (picture above) or Juampy NR.

Saturday's focus was sessions. Check the schedule for a list of inspiring talks both in English and Spanish.

One great feature of Drupal Summer was the vegan food truck, providing delicious food for anyone.

Obviously, the group of attendees was striving to get some summer feeling, so we gathered at the beach after sessions for refreshing swims and great conversations. 

Check my flickr album for more photos from Drupal Summer Barcelona. Thanks to all the organizers for having us at such a well-organized conference!

Categories: Drupal

Vardot: DrupalCon 2016 Preview: 4 Reasons to Be Excited

Planet Drupal - 14 July 2016 - 2:37am
Events Read time: 4 minutes

End of the summer is a special time for all the Drupal community members in EMEA, because we start preparing to the new DrupalCon that is coming in September. Do you remember the wonderful sunny time that we’ve spent in Barcelona last year?

 

Vardot to Represent the Middle East's Drupal Community at DrupalCon Barcelona 2015

 

This year we expect to see even more people, to attend even more sessions and to have even more fun. 2016 becomes a year to add to reasons to love Dublin another one - around 2500 members of the Drupal community from different countries will come to the capital of Ireland to learn, collaborate, and network.

 

We’re gonna see a huge spike

This DrupalCon will be the first European DrupalCon since the release of Drupal 8 - one of the longest project in the history of this CMS. According to Dries and his case study, 38% of the developers that didn’t switch to D8 yet are still just trying to learn it. DrupalCon seems to be the perfect place for removing the lack of knowledge and addressing your questions directly to the best industry experts and opinion leaders.

 

 

By the way, if you still didn’t migrate your site to Drupal 8, this article will convince you.

 

Record-breaking number of session submissions

Although the ability to meet and communicate with hundreds of colleagues is something that we all are very excited about, sessions remain the central part of DrupalCon. This year European Drupal community set a new record by submitting 621 topic proposals (which is probably related with the release of D8). The names of winners are not published yet, but we all can be sure that we will have a list of hot and extremely up-to-date topics and must-visit presentations. Yuuum!

 

The #DrupalCon Dublin call for papers ended with a record-breaking number of submissions! https://t.co/J0q395Vy47

— DrupalCon Dublin (@DrupalConEur) July 6, 2016

 

Tons of souvenirs

 

T-shirts, stickers, badges, green bags, paper planes, calendars, t-shirts again - if we’d capture all the giveaways and swag that will be brought from all over the globe to DrupalCon in Dublin, the picture could be even bigger than the one of the conference attendees that I’ve used in the beginning of this blog post. Today at Vardot we were checking souvenirs from Barcelona ’15 and had a big nostalgia about the last year’s event. However, the exhilaration about the upcoming conference is even bigger. We know you all are preparing a lot of interesting stuff, and we are very excited about it. And of course we are preparing ours!

 

Giving back to the community

Open Source is an awesome way to benefit by giving more. Vardot always strives to support the Drupal project, Drupal Association and DrupalCons through sponsorship. We believe that such investments make both the business and the community stronger, and we are really thankful to DrupalCon organizers that they use our support to make this event one of the most affordable tech conferences comparing to others and allow students to attend it with big discounts. Making the community bigger, more passionate, and more professional will make Drupal and our products stronger.

 

See you soon at DrupalCon!

We will be happy to see everyone of you. Pass by our booth, participate in our activities and grab our souvenirs (we’ve prepared a lot this year). We are looking forward to meeting you!

 

Bonus. 7 useful links for attendees

Plan - DrupalCon Dublin Sponsor Calendar

Communicate - List of DrupalCon‘16 Attendees

Know - 11 Cool Facts You Didn’t Know About Dublin

Live - Official Hotels of DrupalCon’16

Prepare - Current Local Time and Weather in Dublin

Eat - Telegraph Guide to the Best Restaurants in Dublin

Go out - How To Enjoy Dublin Without Visiting a Pub

And what are you excited about? Share your expectations, questions and thoughts in comments. 

Tags:  Drupal Planet DrupalCon Title:  DrupalCon 2016 Preview: 4 Reasons to Be Excited
Categories: Drupal

Arpit Jalan: GSOC 2016- Detection of image files and filling its Alt Text field- Week 7

Planet Drupal - 14 July 2016 - 12:33am
TL;DR Previous week I had worked on detecting the emotion in the profile pictures of the users, and notifying them to change the image if they do not look happy. The work is under review by the mentors. Once it gets reviewed, I would resume it if it needs any changes. This week I have worked on filling the ‘Alt Text’ field of an image file based on any one of the method selected by the end user- Label Detection, Landmark Detection, Logo Detection and Optical Character Detection.

Last week, I had worked on implementing the Face Detection feature in the Google Vision API module. The code is currently under the review by the mentors. Once, they review it, I would develop further on it if it requires any changes.

The Google Cloud Vision API provides the features to detect popular landmarks in an image(Landmark Detection), logos of popular brands(Logo Detection), texts within an image(Optical Character Detection), in addition to Label Detection. These features, though of less significance, are helpful in identifying an image. Hence, I have started working on implementing a new helpful case for the users- Filling of the Alternate Text field of an image file using these features.

The Alt Text field of the image file entity is modified to incorporate the options to fill the field using the features. The user may select any one of the four options to fill the Alt Text field of the image.

Coming to the technical aspect, I have made use of hook_form_BASE_FORM_ID_alter() to alter the Alternate Text field of the image file entity. I have modified the edit form of the Alt Text field to add four radio options, namely- Label Detection, Landmark Detection, Logo Detection and Optical Character Detection. The user may select any of the options and save the configuration. The Alternate Text field would be filled up accordingly.
Presently, the code is under the review by the mentors. Once it gets reviewed, I would make suggested changes, if required.
Categories: Drupal

Commerce Product Clear Feeds Hash

New Drupal Modules - 13 July 2016 - 8:41pm

Provides an action for rules that clears a feeds hash associated with a given product.

Categories: Drupal

ActiveLAMP: Drupal 8 Development in Docker - Redux

Planet Drupal - 13 July 2016 - 7:00pm

Back in December, Tom Friedhof shared how we set up our Drupal 8 development and build process utilizing Docker. It has been working well in the several months we have used it and worked within its framework. Within the time-span however, we experienced a few issues here and there which led me to come up with an alternative process which keeps the good things we like and getting rid of/resolving the issues we encountered.

Read more...
Categories: Drupal

Bevan Rudge: Not so highly critical?

Planet Drupal - 13 July 2016 - 2:43pm

The Drupal security team published a PSA to warn about upcoming security advisories. I shared my advice and predicted attacks within the hour after the security advisories are published. The security advisories are now published. Here is my followup.

I applaud the Drupal Security Team for warning about the highly critical updates. However the public service announcement (PSA) left the impression that this event was going to be much more serious than it was. Such a PSA would have been perfectly appropriate for SA-CORE-2014-005 "Drupalgeddon". But the only PSA there was in hindsight.

I guess it is resonable for the Drupal Security Team to be over cautious, especially given the lessons learned from Drupalgeddon fallout. And of course, such decisions and criticism is much easier with hindsight.

But now I am concerned how the Drupal Security Team can realistically raise the level further there is another vulnerability that is as serious as Drupalgeddon. Even if they raise the alert level using language in the PSA, will people still believe them? It reminds me of the boy who cried wolf.

Of course serious vulnerabilities like these are rare events in Drupal, so there is not yet a standard to compare alert levels to.

read more

Categories: Drupal

Drop Guard: There's never a good time for an update

Planet Drupal - 13 July 2016 - 1:33pm

As always, Drupal Security Team did an excellent job and the news on the security vulnerabilities reported on Wednesday wasn't a bombshell for most of us. Everyone had a chance to prepare and pre-allocate resources to take all measures necessary to patch the supported websites. 

A quick recap for those who missed the buzz or just slowly waking up right now.

Drop Guard Drupal Planet Security announcements
Categories: Drupal

Pages

Subscribe to As If Productions aggregator - Drupal