New! Checkout our new GitHub homepage! Follow the latest activity of eZ Publish Developers on GitHub.com


@ezecosystem
ezecosystem pushed to master in ezecosystem/ezpublish-api Sep 17, 2018
1 commit to master
  • ae82a7e
    EZP-28881: Add a field to support "date object was trashed
09/17/2018 12:01 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezplatform-site-api Sep 17, 2018
1 commit to master
  • @MarioBlazek f4ffa6e
    Fixed typo in template documentation
09/17/2018 12:00 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezplatform-demo Sep 17, 2018
2 commits to master
09/17/2018 12:00 pm   eZecosystem @ GitHub   Mirror   Link  

A lot of application are using authentication, and we use many variants to handle it properly. The component system of VueJs is powerful, so let’s use it to simply handle[...]

The post Simple Authentication components strategy with VueJs appeared first on 100% web by Kaliop.

09/17/2018 09:13 am   Kaliop Blog   Mirror   Link  

We've been teasing it for the past 2 weeks and we loved your guesses! A lot of you somehow knew which long-time friend we were talking about.

As of today, we are extremely excited and honored to welcome SymfonyCasts to the Symfony family. And, you probably already know them as KnpUniversity. Its team, videos, and (sometimes) bad jokes are now SymfonyCasts!

What does that mean for the Symfony community? We hope a lot of good things!

What Does this All Mean?

It's no secret that video tutorials can be a huge way to make technology accessible to more people. And that's super important for the Symfony community. For that reason - just like other technologies - it makes sense for Symfony to have an official video platform: something we can promote across the community so that newcomers know about it & can use it. SymfonyCasts is a subscription service. But, keep reading: SymfonyCasts does something for free that almost no other video service does.

Oh, and SymfonyCasts wasn't acquired: it's still the same team making the same content that many of you already love. But, SymfonyCasts can now work more closely with Symfony: making sure their tutorials move in sync with the code and, most importantly, creating more Symfony tutorials!

The Symfony Docs & SymfonyCasts

What about the official written docs? Those are still the most important part of Symfony's documentation and that won't change. SymfonyCasts enhances the overall documentation by adding over 90 hours of video content. That's great!

But, it's even more than that. Don't prefer watching videos? Or, can't afford access to SymfonyCasts right now? No problem. One of SymfonyCasts' goals has always been to make its content accessible to everyone. To do that, the written script is available - for free - below every video, alongside expandable code blocks so that you can see the exact code being built.

If you're watching the video, English captions are also available. for the latest tutorials. Even more fun, you can click anywhere on the script to go straight to that part of the video. The videos are meant to be as accessible as possible.

SymfonyCasts Helps Support Symfony

Another reason we're excited is that, as part of the official family, SymfonyCasts now directly helps support the funding & development of Symfony. This is an important detail that helps to make sure the Symfony ecosystem can sustain itself far into the future.

But wait, there's more! SymfonyCasts will sponsor Ryan Weaver to work on the official Symfony documentation each Friday for (at least) the rest of 2018. He's got big plans for this time. Yep, SymfonyCasts is already helping to push the written documentation forward! Thank you Ryan and your team!

We are very pleased to add SymfonyCasts to the top nav of Symfony's website! We were missing official video tutorials about Symfony. But not anymore.

From Symfony with ❤


Be trained by Symfony experts - 2018-09-17 Cologne - 2018-09-24 Clichy - 2018-09-24 Clichy
09/17/2018 01:32 am   Symfony Blog   Mirror   Link  

This week Symfony introduced Symfony Panther, a new browser testing and web scraping library for PHP. Meanwhile, the SymfonyCon Lisbon 2018 conference announced its full schedule: part 1, part 2 and part 3.

Symfony development highlights

2.8 changelog:

  • 0417d6c: [Console] fixed corrupt error output for unknown multibyte short option
  • e40bb0f: [Validator] added Japanese translations

4.1 changelog:

  • a3e6e83: [FrameworkBundle] register the messenger data collector only when the profiler is enabled

Master changelog:

  • 8ab7077: [Messenger] throw an exception when the serializer component is not loaded

Newest issues and pull requests

They talked about us

Upcoming Symfony Events

Call to Action


Be trained by Symfony experts - 2018-09-17 Cologne - 2018-09-24 Clichy - 2018-09-24 Clichy
09/16/2018 03:18 am   Symfony Blog   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezpublish-kernel Sep 14, 2018
2 commits to master
09/14/2018 12:13 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezplatform-demo Sep 14, 2018
2 commits to master
09/14/2018 12:11 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezpublish-kernel Sep 14, 2018
2 commits to master
09/14/2018 12:00 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezplatform-xmltext-fieldtype Sep 14, 2018
1 commit to master
  • @vidarl d9ba403
    EZP-29534: ezxmltext -> ricktext conversion : Possibility to fix prob…
09/14/2018 12:00 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezplatform-demo Sep 14, 2018
2 commits to master
09/14/2018 11:59 am   eZecosystem @ GitHub   Mirror   Link  

Contributed by
Colin O'Dell
in #28069.

In Symfony 4.2, the Validator component has introduced a new DivisibleBy constraint to check whether one number is a multiple of ("divisible by") some other number. It's mostly useful for enforcing specific increments on a number:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
// src/Entity/Item.php
namespace App\Entity;
use Symfony\Component\Validator\Constraints as Assert;

class Item
{
    /**
     * @Assert\DivisibleBy(0.25)
     */
    protected $weight;

    /**
     * @Assert\DivisibleBy(
     *     value = 5,
     *     message = "This item requires to be stocked in multiples of 5 units."
     * )
     */
    protected $quantity;
}

These constraints ensure that the weight of the Item is provided in increments of 0.25 (e.g. 0.75 and 4.50 would be correct, but 0.18 or 7.32 wouldn't) and the quantity must be divisible by 5 (25 and 22620 would be correct but 12 or 123456 wouldn't).


Be trained by Symfony experts - 2018-09-17 Cologne - 2018-09-24 Clichy - 2018-09-24 Clichy
09/14/2018 03:52 am   Symfony Blog   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/phpunit Sep 14, 2018
1 commit to master
09/14/2018 12:32 am   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezpublish-kernel Sep 14, 2018
2 commits to master
09/14/2018 12:12 am   eZPublishLegacy @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/launchpad Sep 14, 2018
2 commits to master
  • 22d9b48
    [skip ci] Deployment new eZ Launchpad on 2018-09-14-00-08-50
  • 03f6262
    [skip ci] Deployment new eZ Launchpad on 2018-09-13-23-59-50
  • 6 more commits »
09/14/2018 12:03 am   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezpublish-kernel Sep 14, 2018
2 commits to master
09/14/2018 12:00 am   eZecosystem @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezpublish-kernel Sep 13, 2018
1 commit to master
  • @florianalexandre 36f372c
    EZP-29554: As an editor, I want to be able to apply custom styles to …
09/13/2018 12:14 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezpublish-kernel Sep 13, 2018
1 commit to master
  • @florianalexandre 36f372c
    EZP-29554: As an editor, I want to be able to apply custom styles to …
09/13/2018 12:01 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezplatform-xmltext-fieldtype Sep 13, 2018
2 commits to master
  • @vidarl 570893b
    EZP-29391: Richtext : superscript/subscript does not support <emphasi…
  • @vidarl bef1380
    EZP-29385: Richtext : blockquote does not allow multiple titles on th…
09/13/2018 12:01 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezmigrationbundle Sep 13, 2018
2 commits to master
09/13/2018 12:00 pm   eZecosystem @ GitHub   Mirror   Link  

(En plus du flux RSS global, les billets veille et uniquement ceux là sont listés dans le flux RSS correspondant)

09/13/2018 05:42 am   pwet.fr/blog   Mirror   Link  

Symfony 4.2 will be released in November 2018. This is the first article of the series that shows the most important new features introduced by this Symfony version.


Contributed by
Viktor Novikov
in #27807.

In Symfony apps, functional tests use a PHP-based client provided by the BrowserKit component to simulate a browser and perform HTTP requests. In Symfony 4.2 we've introduced new helper methods in this client to simplify the action of clicking links and submitting forms.

First, the clickLink() helper clicks the first link that contains the given text (or the first clickable image whose alt attribute contains the given text):

1
2
3
4
5
6
7
8
// Before
$client->request('GET', '/');
$link = $crawler->selectLink('Login')->link();
$crawler = $client->click($link);

// After
$client->request('GET', '/');
$crawler = $client->clickLink('Login');

The previous way of dealing with links (with the selectLink() and click() methods) still works and you'll need to use it in more complex scenarios (for example when you need to access to some attribute of the link before clicking it).

The other new helper is called submitForm(), which finds the first form that contains a button with the given text (or id, value or name) and uses it to submit the given form field values:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
// Before
$client->request('GET', '/register');
$form = $crawler->selectButton('Sign Up')->form();
$crawler = $client->submit($form, [
    'name' => 'Jane Doe',
    'username' => 'jane',
    'password' => 'my safe password',
]);

// After
$client->request('GET', '/register');
$crawler = $client->submitForm('Sign Up', [
    'name' => 'Jane Doe',
    'username' => 'jane',
    'password' => 'my safe password',
]);

The previous way of dealing with forms (with the selectButton() and submit() methods) still works and you'll need to use it in more complex scenarios (for example when you need to access to some attribute of the form before submitting it).

Lastly, if you want to run your functional tests in a real browser instead of this simulated browser check out Symfony Panther, the latest addition to the Symfony ecosystem. One of its biggest advantages is that it uses the same API as BrowserKit, so these new helpers may be available in Panther soon.


Be trained by Symfony experts - 2018-09-17 Cologne - 2018-09-24 Clichy - 2018-09-24 Clichy
09/13/2018 04:46 am   Symfony Blog   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/repository-forms Sep 13, 2018
1 commit to master
  • @adamwojs 22d9d75
    EZP-29104: Implemented ImageAsset Field Type (#246)
09/13/2018 12:36 am   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/EzSystemsRecommendationBundle Sep 13, 2018
2 commits to master
09/13/2018 12:20 am   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezpublish-spi Sep 13, 2018
2 commits to master
  • @brookinsconsulting 06b94d7
    Merge remote-tracking branch 'upstream/master'
  • @adamwojs ea52019
    EZP-29104: Implemented ImageAsset Field Type (#2403)
09/13/2018 12:16 am   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezpublish-kernel Sep 13, 2018
1 commit to master
  • @adamwojs 4892d15
    EZP-29104: Implemented ImageAsset Field Type (#2403)
09/13/2018 12:15 am   eZPublishLegacy @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/UniqueDatatypesBundle Sep 13, 2018
2 commits to master
09/13/2018 12:09 am   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/repository-forms Sep 13, 2018
1 commit to master
  • @adamwojs 22d9d75
    EZP-29104: Implemented ImageAsset Field Type (#246)
09/13/2018 12:07 am   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/EzSystemsRecommendationBundle Sep 13, 2018
2 commits to master
09/13/2018 12:03 am   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezpublish-spi Sep 13, 2018
1 commit to master
  • @adamwojs ea52019
    EZP-29104: Implemented ImageAsset Field Type (#2403)
09/13/2018 12:01 am   eZecosystem @ GitHub   Mirror   Link