eZecosystem / Issues

Issues

A historical outlook on eZ Publish related activity on jira.ez.no

Blind registrations and Call for Papers are now open for SymfonyLive Brasil 2019! English version at the bottom of the article.

SymfonyLive Lille 2019

Pela primeira vez, uma conferência SymfonyLive é organizada no continente sul-americano, em São Paulo, Brasil! A conferência será realizada em português.

https://brasil2019.live.symfony.com/

Para comemorar, os primeiros 50 ingressos são colocados à venda pelo preço especial de R$199. Nicolas Grekas abrirá a conferência com uma palestra sobre o Symfony 4.3, que estará logo na esquina. Nicolas também é o primeiro treinador anunciado para os workshops pré-conferência: um combo de 2 dias de "Mastering OOD & Design Patterns" + "Symfony 4 Best Practices" está à venda no preço com desconto de R$599, incluindo o ingresso da conferência.

Estamos chamando a comunidade Symfony brasileira para participar do nosso Call for Papers. Ele estará aberto por um período limitado de tempo e encerrará no dia 11 de março (não incluso). Não perca a oportunidade de compartilhar o seu conhecimento, contribuir para o impulso em torno do Symfony 4 e ajudar a difundi-lo no Brasil.

Também estamos chamando empresas que querem alcançar a comunidade brasileira da Symfony para patrocinar o evento. A Symfony é uma comunidade de indivíduos profissionais e empresas que contribuem para o seu sucesso. Ao patrocinar o evento, você colocará sua marca na frente da comunidade brasileira e mundial, mostrando sua dedicação em tornar a tecnologia sustentável e embrulhar os melhores padrões para construir e promover seus produtos ou serviços. Por favor, contacte o seu CEO e fale com ele sobre esta oportunidade!

Inscrições, CFP e informações mais detalhadas estão disponíveis no site da conferência.

Nós vemos ai!

Esta conferência é organizada em parceria com Cyrille Grandval e sua empresa Darkmira Brasil. Cyrille é um evangelista PHP e Symfony no Brasil há muitos anos. Ele está ajudando a Symfony SAS, e a empresa francesa, a saltar sobre o oceano Atlântico e tornar o evento possível. Obrigado Cyrille!


For the first time ever, a SymfonyLive conference is organized on the South American continent, in São Paulo, Brazil! The conference will be held in Portuguese.

To celebrate, the first 50 tickets are put on sale at the special price of R$199. Nicolas Grekas will open the conference with a keynote about Symfony 4.3, which will be just around the corner at the time. Nicolas is also the first announced trainer for the pre-conference workshops: a 2 days combo of "Mastering OOD & Design Patterns" + "Symfony 4 Best Practices" is on sale at the discounted price of R$599, conference ticket included.

We are calling the Brasilian Symfony community to participate in our Call for Papers. It will be open for a limited period of time and will close on March 11th. Don't miss the opportunity to share your knowledge, contribute to the momentum around Symfony 4 and help spread it in Brasil.

We are also calling companies that want to reach the Brazilian Symfony community to sponsor the event. Symfony is a community of professional individuals and companies that contribute to its success. By sponsoring the event, you will put your brand in front of the Brasilian and Worldwide community, showing your dedication to both making the technology sustainable and embracing the best standards to build and promote your products or services. Please reach your CEO and tell them about this opportunity!

Registrations, CFP, and more detailed information are available on the conference's website.

See you all there!

This conference is organized in partnership with Cyrille Grandval and his company Darkmira Brasil. Cyrille is a PHP and Symfony evangelist in Brazil for many years. He is helping Symfony SAS, a French company, jump over the Atlantic ocean and make the event possible. Thank you Cyrille!


Be trained by Symfony experts - 2019-02-27 Berlin - 2019-02-27 Clichy - 2019-03-4 Clichy
02/26/2019 09:30 am   Symfony Blog   Mirror   Link  

Contributed by
Christian Flothmann
in #22048.

A long-standing goal of Symfony is to simplify certain parts of the security system. In Symfony 3.3 we deprecated the RoleInterface and in Symfony 4.1 we deprecated the AdvancedUserInterface. In Symfony 4.3 we've deprecated the Role and SwitchUserRole classes.

In practice there are few real benefits of using objects instead of strings to represent roles. Eventually it only led to overhead because you had to call Role::getRole() to get the actual string representing the role.

If your app uses the full-stack Symfony framework, you probably don't need to change anything because you are already defining roles with raw strings. If you use the standalone Security component, you need to refactor any code dealing with Role classes (or define your own Role class to keep using classes).

If you are impersonating users in your app, you need to refactor any code that uses SwitchUserRole to use instead the new SwitchUserToken:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
// BEFORE
use Symfony\Component\Security\Core\Role\SwitchUserRole;

if ($this->security->isGranted('ROLE_PREVIOUS_ADMIN')) {
    foreach ($this->security->getToken()->getRoles() as $role) {
        if ($role instanceof SwitchUserRole) {
            $impersonatorUser = $role->getSource()->getUser();
            break;
        }
    }
}

// AFTER
use Symfony\Component\Security\Core\Authentication\Token\SwitchUserToken;

$token = $this->security->getToken();
if ($token instanceof SwitchUserToken) {
    $impersonatorUser = $token->getOriginalToken()->getUser();
}

Be trained by Symfony experts - 2019-02-27 Berlin - 2019-02-27 Clichy - 2019-03-4 Clichy
02/26/2019 04:45 am   Symfony Blog   Mirror   Link  

Nikita Skitev changed the Summary of COM-20090 to 'Upgrade ezplatform.com to 2.4.2'

02/25/2019 03:57 pm   eZ Community Issues   Mirror   Link

This week, Symfony Flex 1.2 was released, simplifying the update of recipes, improving the handling of .env files and allowing to define conflicting recipes. Meanwhile, the final schedule for the SymfonyLive Paris 2019 conference was published.

Symfony development highlights

This week, 72 pull requests were merged (54 in code and 18 in docs) and 63 issues were closed (44 in code and 19 in docs). Excluding merges, 43 authors made 3,574 additions and 1,211 deletions. See details for code and docs.

3.4 changelog:

  • 1f829ec: [Translation] added a script to display the status of translations
  • 3d4c5dd: [Console] fixed command testing with missing user inputs
  • 47d26f6: [Finder] avoid mutating the Finder when building the iterator
  • 1914031: [Form] do not validate non-submitted form fields in PATCH requests
  • a67441a: [Validator] fixed duplicate UUID
  • eb7a612: [Console] use a more intuitive usage example in ArrayInput PhpDoc
  • da16b9c: [EventDispatcher] fixed unknown priority
  • 68d5597: [Security] complain about an empty decision strategy
  • ff4b1d4: [Console] prevent ArgvInput::getFirstArgument() from returning an option value
  • 5ac4c2a: [Routing] fixed URL generation with look-around requirements
  • 848a830: [HttpKernel] fixed possible infinite loop of exceptions
  • 83fec23: [VarDumper] keep a ref to objects to ensure their handle cannot be reused while cloning
  • 4cc1006: [Cache] fixed getItems() performance issue with RedisCluster
  • 173b5ea: [Console] fixed handling of multi-byte characters in autocomplete
  • 1aac865: [Security] fixed FormAuthenticator condition
  • af66641: [Form] reject submitted non-integer numbers in IntegerType
  • d962a74: [Validator] updated Albanian translations
  • 3315c8e, 4912044: [Validator] Added missing translations for Norwegian
  • 31bfded: [Validator] added the missing translations for the Greek (el) locale
  • df0fc5e: [Validator] added missing Brazilian Portuguese translations
  • 4b56617: [Validator] added missing translations for Afrikaans
  • 51499f4: [Translations] added missing Croatian validators
  • 9202d9e: [Validator] updated Serbian translation

4.2 changelog:

  • 424773d: [FrameworkBundle] fixed Descriptor throwing on non existent parent
  • 8ac69b9: [Cache] fixed warming up cache.system and apcu

Master changelog:

  • e7430f4: [VarDumper] dump Closures' parameters once in their signatures
  • 5909a47: [VarDumper] link paths in stack traces to IDE
  • c3cf08e: [Form] undeprecate date formats in single_text widgets
  • 5c73900: [Form] add input_format option to DateType and DateTimeType
  • 02d6c0f: [Form] deprecate using invalid names for buttons
  • 6207f19: [Form] added option to render NumberType as type=number
  • 2e6d069: [Routing] deprecated some router options
  • ba725c2: publish message with custom queue options (flags | attributes)
  • cbe8cff: [VarDumper] added link to source next to class names
  • 3560cfd: [Console] added suggestions for missing packages
  • 93c2feb: [Form] deprecated custom formats with HTML5 widgets
  • 4e1ad10: [WebProfilerBundle] added Pretty Print functionality for Request Content
  • 5a3e894: [PropertyInfo] added support for extract type from default value
  • fec0475, 2e8bf33: [VarDumper] implemented DsCaster
  • b4f6c34: [DependencyInjection] allow to choose an index for tagged collection
  • e9a2c3d: [Monolog] added a way to configure the ConsoleFormatter from the ConsoleHandler

Newest issues and pull requests

They talked about us

Upcoming Symfony Events

Call to Action


Be trained by Symfony experts - 2019-02-27 Berlin - 2019-02-27 Clichy - 2019-03-4 Clichy
02/24/2019 03:04 am   Symfony Blog   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/Sylius Feb 22, 2019
2 commits to master
02/21/2019 10:50 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/NovaeZMailingBundle Feb 22, 2019
2 commits to master
02/21/2019 10:45 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/NovaeZEnhancedImageAssetBundle Feb 22, 2019
2 commits to master
  • @florianalexandre 2e14c44
    fix: clean alias when publishing content as the focuspoint might have…
  • @florianalexandre 3b6e226
    feat: lazyloading
02/21/2019 10:45 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezsystems-ezplatform-demo Feb 22, 2019
2 commits to master
02/21/2019 10:39 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezstudio Feb 22, 2019
2 commits to master
02/21/2019 10:38 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezpublish-spi Feb 22, 2019
1 commit to master
  • @andrerom fc960a6
    EZP-30006: As a Developer I possibility to load several languages at …
02/21/2019 10:36 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezpublish-kernel Feb 22, 2019
2 commits to master
02/21/2019 10:36 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezpublish-api Feb 22, 2019
2 commits to master
  • @alongosz 9e06bc9
    [Tests] Provided autoconfiguration for API integration tests (#2534)
  • @andrerom c53d48d
    EZP-30006: As a Developer I possibility to load several languages at …
  • 4 more commits »
02/21/2019 10:35 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezplatform Feb 22, 2019
2 commits to master
02/21/2019 10:33 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ezmigrationbundle Feb 22, 2019
2 commits to master
02/21/2019 10:32 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/EzMatrixFieldTypeBundle Feb 22, 2019
1 commit to master
  • @andrerom 27a95a2
    [Composer] Update kernel requirements to reflect supported versions
02/21/2019 10:32 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/ez-dev-tools Feb 22, 2019
2 commits to master
02/21/2019 10:30 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/docker-php Feb 22, 2019
2 commits to master
02/21/2019 10:28 pm   eZecosystem @ GitHub   Mirror   Link  
@ezecosystem
ezecosystem pushed to master in ezecosystem/developer-documentation Feb 22, 2019
2 commits to master
02/21/2019 10:28 pm   eZecosystem @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/UnitTest Feb 22, 2019
2 commits to master
02/21/2019 08:11 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/TedivmStashBundle Feb 22, 2019
2 commits to master
02/21/2019 08:08 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/NetgenRichTextDataTypeBundle Feb 22, 2019
2 commits to master
02/21/2019 07:38 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/Mail Feb 22, 2019
2 commits to master
02/21/2019 07:24 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/LegacyBridge Feb 22, 2019
2 commits to master
02/21/2019 07:21 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezstudio Feb 22, 2019
2 commits to master
02/21/2019 06:45 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezpublish-spi Feb 22, 2019
2 commits to master
  • @brookinsconsulting c9bad90
    Merge remote-tracking branch 'upstream/master'
  • @andrerom fc960a6
    EZP-30006: As a Developer I possibility to load several languages at …
02/21/2019 06:39 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezpublish-legacy Feb 22, 2019
2 commits to master
02/21/2019 06:37 pm   eZPublishLegacy @ GitHub   Mirror   Link  
@ezpublishlegacy
ezpublishlegacy pushed to master in ezpublishlegacy/ezpublish-kernel Feb 22, 2019
2 commits to master
02/21/2019 06:29 pm   eZPublishLegacy @ GitHub   Mirror   Link