Log message #4261259

# At Username Text
# Apr 13th 2021, 17:53 phantomwatson There wasn't any change to any relevant code, as far as I can tell. At around the same time, the CSS rules for email messages were updated, but I can't imagine that that would be related, plus it looks like the first weird email was sent out before the CSS update was deployed. I'm not sure how to check on how the mail server handles newline characters, but that's a good point.
# Apr 13th 2021, 17:49 greg138 Guessing that maybe there's a lack of line feed between headers? Did you just start sending as 'both' instead of 'html' or 'text'? Or was there an update to the mail server being used, maybe there was a change from something that expects just `\n` at the end of headers to `\r\n` or vice versa?
# Apr 13th 2021, 17:24 slackebot charset=UTF-8 > Content-Transfer-Encoding: 8bit > > sender@domain.com, it's that, plus 9ae97814549244449fea8a769ad79e1c@domain.com, plus "8bit <>". Has anyone ever seen something like this?
# Apr 13th 2021, 17:24 phantomwatson A CakePHP 3 application has started sending emails in a strange way. Instead of either the content of the text version of the message being shown or the content of the HTML version, the recipient is shown all of this: > --c4b32d6e649482ee9bbc730b0d34c628 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > (text version) > > --c4b32d6e649482ee9bbc730b0d34c628 > Content-Type: text/html;
# Apr 13th 2021, 15:24 slackebot reading me!
# Apr 13th 2021, 15:24 slackebot translated fields: they only get saved in the `i18n` table, and the "main entity" has `null` in place of translated fields. I think this is because the default language is not correctly detected, and insertions are viewed as already translated. I did put `App.language` in my config file tho. Did I miss something? I double checked the cake book about Translations and cakephp-i18n repo README, but I can't find a solution. Thanks for
# Apr 13th 2021, 15:24 slackebot ['locale' => 'eng']` . I need to translate to english.) If I put `/eng` in the URL, the locale is detected correctly (I think? I can see `<html lang="">` switch language correctly and there is a parameter `lang` in my request), yet all my entities come untranslated. Do I need to manually set the locale before querying my database? Also, if I try to save a new entity from a non-localized page, the "main table" entity lacks the
# Apr 13th 2021, 15:24 ale.migliardi Hi! I'm having trouble with localization and cakephp, and I wanted to ask for some help. I'm using cakephp-i18n to get localized content. I added the `Translate` behavior to my Table (specifying only some fields) and added the i18n middleware in `Application.php` . I set languages in my config file and have some fields registered in my `i18n` table. (I use 3 letter locales, so I mapped in my middleware `'eng' =>
# Apr 13th 2021, 15:19 jadelbe418 I am currently working through an issue on integrating an API connection into the Cake model layer that needs to be used to generate virtual fields on render. I put detailed version of this on stackoverflow, if you would like to look at it there: https://stackoverflow.com/questions/67077616/how-to-use-api-generated-values-in-entity-virtual-fields-in-cakephp
# Apr 13th 2021, 14:59 kevin.pfeifer sure the bake templates are nice because you can define what is generated automatically But nonetheless you will have to make adjustments for each generated template in the end
# Apr 13th 2021, 14:54 richard oh i have no idea, i hardly use bake
# Apr 13th 2021, 14:48 paolo.bragagni @richard but hotel to integrate it in my own bake template?
# Apr 13th 2021, 14:32 richard once you have those in your plugin or whatever you are good
# Apr 13th 2021, 14:32 richard @paolo.bragagni bootstrap ui plugin is all about just loading the right helpers in the view
# Apr 13th 2021, 13:08 paolo.bragagni thanks again @kevin.pfeifer
# Apr 13th 2021, 12:37 kevin.pfeifer i would guess you would need to copy the bootstrap plugin templates instead of the normal bake templates
# Apr 13th 2021, 12:36 kevin.pfeifer that i can’t tell you since i have never used any bootstrap plugins ,:)
# Apr 13th 2021, 12:25 paolo.bragagni @kevin.pfeifer I'd like to use the friendsofcake bootstrap-ui. How to combine that to my own template plugin?
# Apr 13th 2021, 11:37 paolo.bragagni thanks (lot of work... arghhhh)
# Apr 13th 2021, 11:36 paolo.bragagni yes probaby s the way
# Apr 13th 2021, 11:36 kevin.pfeifer use that
# Apr 13th 2021, 11:36 kevin.pfeifer sure you can just use a symlink to a “global” plugin core and so all your apps
# Apr 13th 2021, 11:36 kevin.pfeifer i would guess
# Apr 13th 2021, 11:35 kevin.pfeifer then it would be the easiest to just copy that plugin to your apps
# Apr 13th 2021, 11:35 paolo.bragagni and I'd like that the 'core' compare one only time in my server with dozen of apps
# Apr 13th 2021, 11:34 paolo.bragagni (government organization..)
# Apr 13th 2021, 11:34 paolo.bragagni I have to use only internal source
# Apr 13th 2021, 11:33 kevin.pfeifer github is just an easy example but you can use it with other vendors as well https://packagist.com/features/integration-github-bitbucket-gitlab
# Apr 13th 2021, 11:32 paolo.bragagni one step at a time :)
# Apr 13th 2021, 11:31 paolo.bragagni cant use github in my organization
# Apr 13th 2021, 11:30 paolo.bragagni then I bake all my apps from that folder
# Apr 13th 2021, 11:30 kevin.pfeifer then I would develop the core as a plugin, publish that via e.g. github and make it downloadable via packagist And then you can require that core plugin in all your apps where your “normal” src directory is app specific but all your core functionality lives in the plugin
# Apr 13th 2021, 11:30 paolo.bragagni now in my linux server I have a folder called cake-2.9
# Apr 13th 2021, 11:29 paolo.bragagni I mean. I will have many projects with same core
# Apr 13th 2021, 11:28 paolo.bragagni another thing that I like to do is to separate the 'core' from the src
# Apr 13th 2021, 11:27 kevin.pfeifer yop :)
# Apr 13th 2021, 11:27 paolo.bragagni (have to learn twig, I uppose..)
# Apr 13th 2021, 11:26 kevin.pfeifer and then adjust the templates as you like it
# Apr 13th 2021, 11:26 paolo.bragagni wow thanks
# Apr 13th 2021, 11:26 kevin.pfeifer ```// in src/Application::bootstrapCli() before loading the 'Bake' plugin. Configure::write('Bake.theme', 'MyTemplates');```
# Apr 13th 2021, 11:26 kevin.pfeifer and set your new templates as the new generation default