Log message #4192154

# At Username Text
# Jul 7th 2019, 21:48 waspinator does cake support starttls or only tls?
# Jul 7th 2019, 21:34 waspinator these settings always results in a SMTP timeout ``` 'default' => [ 'className' => 'Smtp', 'host' => 'smtp.office365.com', 'port' => 587, 'timeout' => 30, 'username' => 'me@mydomain.com', 'password' => 'mypassword', 'client' => null, 'tls' => true, 'url' => env('EMAIL_TRANSPORT_DEFAULT_URL', null) ], ```
# Jul 7th 2019, 21:33 waspinator has anyone tried sending emails using 365 stmp servers?
# Jul 7th 2019, 09:31 slackebot } ``` updating database is no option at this point as it still serves as datasource for another (older) application in production system
# Jul 7th 2019, 09:31 mrfeedback any ideas how i can solve this?: in my table i got content with latin_1 encoding. the new app is running under utf-8. when i encode the output of the table into utf8 special chars are broken. i tried to mutate data like this ```protected function _getTitle($title){ if (mb_detect_encoding($title, 'utf-8', true) === false) { $title = mb_convert_encoding($title, 'UTF-8', 'ISO-8859-1'); } return $title;
# Jul 7th 2019, 09:16 mrfeedback oh! thanks!
# Jul 7th 2019, 09:15 vossen.steven @mrfeedback https://book.cakephp.org/3.0/en/orm/entities.html#accessors-mutators
# Jul 7th 2019, 09:08 mrfeedback @challgren can you show me an example? i can´t follow your thought
# Jul 7th 2019, 08:02 challgren @mrfeedback you can modify the data returned with _getS3key() in your entity
# Jul 7th 2019, 07:32 mrfeedback or does somebody have any example for this?
# Jul 7th 2019, 07:32 mrfeedback whats the best way to alternate a resultset? e.g. i have a field `s3key` and I want to replace this field with a presigned url for this request.
# Jul 7th 2019, 07:31 mrfeedback thanks. yes i did, but i had a typo. so it didnt work on the first try ^^
# Jul 7th 2019, 06:14 ra7bi Hey , does cake support auto-load for associated table ? example `Users` hasOne `photo` i want to say each time you query User table also get his photo without writing contain .
# Jul 6th 2019, 21:19 challgren @mrfeedback did you try `Projects.id`?
# Jul 6th 2019, 18:42 graziel should work, same error?
# Jul 6th 2019, 18:41 mrfeedback i tried 'Project.id' => 'DESC' but doesn´t work too
# Jul 6th 2019, 18:39 graziel multiple column with 'id' name and sql doesnt know which one you mean
# Jul 6th 2019, 18:34 mrfeedback any ideas why this is returns the error `Integrity constraint violation: 1052 Column 'id' in order clause is ambiguous` ` return $this->find() ->matching('Marketinginfos', function (Query $q) { return $q->where(['closed' => true]); } ) ->order(['id' => 'DESC']) ->limit(50);`
# Jul 6th 2019, 17:10 vossen.steven @ndm thnx for the info
# Jul 6th 2019, 16:24 ndm http://docs.phinx.org/en/latest/commands.html#the-rollback-command
# Jul 6th 2019, 16:24 ndm @vossen.steven AFAIK there's no single command, you'd need at least two separate steps. First rollback to a specific state (for example `migrate -t 0` (where `0` is either the initial state, or the first breakpoint)), and then apply migrations again.
# Jul 6th 2019, 15:04 vossen.steven Is there a command similar to laravels migrate:refresh for sphinx?
# Jul 6th 2019, 02:57 challgren @unclezoot its beforeMarshall
# Jul 5th 2019, 22:25 unclezoot dont all talk at once
# Jul 5th 2019, 22:00 unclezoot hi, i have a recipe in a database and want to scale its numerical values (say by 50%) before saving. what is the best place to put my routine to change the values, is it beforeMarshall or beforeSave or something else in the controller? cheers in advance!
# Jul 5th 2019, 20:57 mrfeedback k nevermind. im using an anonymus function
# Jul 5th 2019, 20:42 mrfeedback is there a way to use a specific function of a related model when using contain in the parent model? something like this `$this->find()->contain(['ModelB' => 'useFunctionFromModelB']);`
# Jul 5th 2019, 19:42 inoas nite
# Jul 5th 2019, 19:28 em. @ndm was trying to fix their cakephp-adapter.
# Jul 5th 2019, 19:24 em. Yes like: https://github.com/php-http/curl-client/blob/master/src/Client.php#L254
# Jul 5th 2019, 19:16 ndm @em. It sure looks like a possible bug, as the valid values are `1` (v1.1), `2` (v1.2) and `3` (v2). Other values might cause the request to fail, or produce unexpected versions AFAIK. The string `1.1` seems to cause v1 to be used.
# Jul 5th 2019, 19:02 ndm @devito It's generally compatible, yes.
# Jul 5th 2019, 19:00 em. thx, i will. not sure yet
# Jul 5th 2019, 18:59 ndm @em. You can open an issue or push a PR with a fix over at https://github.com/cakephp/cakephp
# Jul 5th 2019, 18:54 devito hello all, does cake 3.6+ / 4 support mysql 8? Or are there plans to support 8?
# Jul 5th 2019, 18:40 em. I think i found a bug in Cake Curl Adapter. https://api.cakephp.org/3.8/source-class-Cake.Http.Client.Adapter.Curl.html#75 CURLOPT_HTTP_VERSION must set to 1 or 2. Not 1.0 or 1.1.
# Jul 5th 2019, 17:47 olanowsubomi please, can one use inline cascading for cakephp since im having problem with the external sheet cascading?
# Jul 5th 2019, 17:12 olanowsubomi ok thanks
# Jul 5th 2019, 16:52 ndm Looks like their invitation app is haiving some technical diffculties currently... you'll have to wait a little I guess
# Jul 5th 2019, 16:47 olanowsubomi when i tried the link i got this ' Application error An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command heroku logs --tail'
# Jul 5th 2019, 16:36 ndm https://bootstrap-slack.herokuapp.com