Log message #4182770

# At Username Text
# Apr 10th 2019, 14:01 ondrej.nedvidek I know I could use any of those and realize what I need. But thinking what makes more sense to use 1) Advantages - logic is clearly divided - conventions are more clearly applied (eg namespaces and folder structure) 2) Advantages - only one plugin => one composer record - code is in one place - one namespace for Admin/App logic (not sure if advantage or not though)
# Apr 10th 2019, 13:57 ondrej.nedvidek Hi there ;) We have Admin part divided from App (Frontend) part. It makes sense for us, but thinking about realization of plugins for such a logic of system. Our Admin controllers extends AdminController and App controllers extends AppController. For logic, lets say Shop which needs to deal with App and also with Admin part. Would you rather create 1) 2 plugins = eg Shop and ShopAdmin 2) 1 plugin = eg Shop only and have
# Apr 10th 2019, 13:51 david I think that office365 overwrites that param
# Apr 10th 2019, 13:46 david any idea on this?
# Apr 10th 2019, 13:46 david Have you tried to send a cakephp email via smtp with office365? I am sending emails in that way, and I have a problem: when I receipt the email the sender name doesn't match with the one I configured. My transport "from" is array('info@domain.com' => 'ABCDE') The sender name is "info" instead of "ABCDE" as expected
# Apr 10th 2019, 13:41 dereuromark The trick until then is to use unique enough names :slightly_smiling_face: My conention is PluginorappnameTableUniqueSuffix
# Apr 10th 2019, 13:41 dereuromark legacy
# Apr 10th 2019, 13:39 josbeir :shrug:
# Apr 10th 2019, 13:38 neon1024 Why don’t migrations have a namespace
# Apr 10th 2019, 13:08 joopm @neon1024
# Apr 10th 2019, 12:59 joopm <neon1024>
# Apr 10th 2019, 11:59 joopm i dont know exactly where to place the new keyword as you wrote
# Apr 10th 2019, 11:52 joopm user(s) is saved
# Apr 10th 2019, 11:52 joopm my request look like this
# Apr 10th 2019, 11:50 joopm can i delete this upload file?
# Apr 10th 2019, 11:49 joopm Uploaded file: https://uploads.kiwiirc.com/files/b757352f907ad5f778622a95e347993d/pasted.txt
# Apr 10th 2019, 11:43 neon1024 Well, do check your request data is formatted correctly, according to the book
# Apr 10th 2019, 11:41 joopm no luck
# Apr 10th 2019, 11:37 joopm $person = $this->People->patchEntity($person, $this->request->getData(),['associated'=>['Users'=>['validate'=>true,'associated'=>'Roles']]]);
# Apr 10th 2019, 11:36 joopm do you think that this must works:
# Apr 10th 2019, 11:36 joopm thank you neon1024
# Apr 10th 2019, 11:35 neon1024 You need to add a new key on each level
# Apr 10th 2019, 11:35 neon1024 You’ve missed the extra ‘associated’ key
# Apr 10th 2019, 11:24 joopm also i am able to add new entry in UsersRoles
# Apr 10th 2019, 11:24 joopm i double check the Roles and Users models
# Apr 10th 2019, 11:24 joopm the Roles does not
# Apr 10th 2019, 11:24 joopm but only the People data and User data saved
# Apr 10th 2019, 11:23 joopm the patchEntity : $person = $this->People->patchEntity($person, $this->request->getData(),['associated'=>['Users'=>['validate'=>true],'Users.Roles']]);
# Apr 10th 2019, 11:23 joopm i have some issue with saving nested association
# Apr 10th 2019, 11:23 joopm hello there
# Apr 10th 2019, 09:27 neon1024 Morning all :wave:
# Apr 10th 2019, 08:16 spriz :) :,)
# Apr 10th 2019, 06:37 tigrangab Ive been on IRC for the past two weeks wondering what the hell slackebot is. Haven't used cake in a few years. I didn't make the connection until today that it moved over to slack
# Apr 10th 2019, 05:51 challgren Probably more if you count the IRC lurkers
# Apr 10th 2019, 05:30 narendravaghela So, we have 3K members now :tada:
# Apr 10th 2019, 01:27 challgren O_o https://github.com/cakephp/cakephp/releases/tag/3.7.6
# Apr 10th 2019, 01:09 hollistergraham123 @sdevore You are the bomb
# Apr 10th 2019, 01:07 sdevore @hollistergraham123 can you do `$this->response = $this->response->withStatus(500);`
# Apr 9th 2019, 23:46 hollistergraham123 So when returning the error like this I would like to set the http response code to 500
# Apr 9th 2019, 23:46 hollistergraham123 When using the JsonView is there a way to set the status of the response?
# Apr 9th 2019, 21:07 admad the 1st code block in this section shows you how https://book.cakephp.org/3.0/en/controllers/components/authentication.html#configuring-authentication-handlers