Top Banner
GET DRUPAL B DONE
33

Acquia Drupal 8 Hackathon Demo 2015

Apr 12, 2017

Download

Technology

Angela Byron
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Acquia Drupal 8 Hackathon Demo 2015

GET DRUPAL B DONE

Page 2: Acquia Drupal 8 Hackathon Demo 2015

Earlier this week…

Page 3: Acquia Drupal 8 Hackathon Demo 2015

11 release blockers!

Page 4: Acquia Drupal 8 Hackathon Demo 2015

Now…

Page 5: Acquia Drupal 8 Hackathon Demo 2015

5

8

10

13

15

Monday Tuesday Wednesday Thursday Friday

11 release blockers!

Page 6: Acquia Drupal 8 Hackathon Demo 2015
Page 7: Acquia Drupal 8 Hackathon Demo 2015

OUR DEMO: HOW WE ARE SAVING THE DRUPAL WORLD FROM THE ZOMBIE APOCALYPSE OF CRITICAL ISSUES

Page 8: Acquia Drupal 8 Hackathon Demo 2015

Lots of things were fixed during the hackathon…

• 4 critical security issues (in D6/7 *and* 8!)

• 8 blockers to Safe Markup criticals

• 2 upgrade path criticals

• 1 Entity API critical

Page 9: Acquia Drupal 8 Hackathon Demo 2015
Page 10: Acquia Drupal 8 Hackathon Demo 2015

…so how did we go from 11 to 11?

Page 11: Acquia Drupal 8 Hackathon Demo 2015

Security

Page 12: Acquia Drupal 8 Hackathon Demo 2015

SHIPPED!

Page 13: Acquia Drupal 8 Hackathon Demo 2015

Thanks, Peter! :D

Page 14: Acquia Drupal 8 Hackathon Demo 2015

Before SA…

Page 15: Acquia Drupal 8 Hackathon Demo 2015

5

8

10

13

15

Monday Tuesday Wednesday Thursday Friday

<— Previously hiddencriticals!

After SA…

Page 16: Acquia Drupal 8 Hackathon Demo 2015

Would love to demo, but…

Customs confiscated my Neuralyzer. ;)

Page 17: Acquia Drupal 8 Hackathon Demo 2015

Safe Markup

CLOSE!

Page 18: Acquia Drupal 8 Hackathon Demo 2015

Markup in Drupal 7<script>alert('Mwahahaha!')</script>

&lt;script&gt;alert(&quot;Mwahahaha!&quot;)&lt;/script&gt;

https://www.drupal.org/writing-secure-code

check_plain()/check_markup() filter_xss()/filter_xss_admin()

t() + @ or %

Page 19: Acquia Drupal 8 Hackathon Demo 2015

If you forget…

Page 20: Acquia Drupal 8 Hackathon Demo 2015

Markup in Drupal 8<script>alert('Mwahahaha!')</script>

&lt;script&gt;alert(&quot;Mwahahaha!&quot;)&lt;/script&gt;

"Twig autoescape enabled" change record

Page 21: Acquia Drupal 8 Hackathon Demo 2015

If you forget…

Page 22: Acquia Drupal 8 Hackathon Demo 2015

Instances of SafeMarkup::set()

[meta] Remove every SafeMarkup::set() call

This week! =>

Page 23: Acquia Drupal 8 Hackathon Demo 2015

Upgrade Path

CLOSE!

Page 24: Acquia Drupal 8 Hackathon Demo 2015

Sordid tale…• Beta 12 (June 29) we started requiring

upgrade paths in core patches.

• Beta 13 (July 29) we attempted to provide an upgrade path to site builders from Beta 12

• People tested it, found out stuff broke (silent fails on content updates)

• Now fixing those issues, and adding better automated tests to mitigate future regressions.

Page 25: Acquia Drupal 8 Hackathon Demo 2015

Watch for beta-15 for upgrade path provided by core, take 2

15

Page 26: Acquia Drupal 8 Hackathon Demo 2015

…and please, please, stop testing D8 so we can ship! ;)

Page 27: Acquia Drupal 8 Hackathon Demo 2015

Scalability

SHIPPED!

Page 28: Acquia Drupal 8 Hackathon Demo 2015

files/php

Page 29: Acquia Drupal 8 Hackathon Demo 2015

files/php

Page 30: Acquia Drupal 8 Hackathon Demo 2015

Replace Symfony container with a Drupal one, stored in cache

Page 31: Acquia Drupal 8 Hackathon Demo 2015
Page 32: Acquia Drupal 8 Hackathon Demo 2015

• Drupal 6/7: more secure for our customers today

• Drupal 8: more secure for our customers tomorrow (including plugging #1 security hole)

• Drupal 8 beta-to-beta upgrade path two issues away from being unblocked

• Major milestone for customers waiting to make the leap into Drupal 8

• Less Cloud Team angst!

Hackathon Accomplishments, in short…

Page 33: Acquia Drupal 8 Hackathon Demo 2015

Thanks!