Log message #4169940

# At Username Text
# Oct 4th 2018, 01:42 itmpls didn't they start throwing notices for undefined properties?
# Oct 4th 2018, 01:37 slackebot root cause but it might have something to do with this last CakePHP release since it was the only thing update I guess. When I rollback to 3.6.11 the error doesn’t happen
# Oct 4th 2018, 01:37 vinicius.big hello guys. Did someone notice an error in CakeDC/Users when using with the last Cakephp version? I’ve updated my cake from 3.6.11 to 3.6.12 and then the CakeDC/Auth (used in CakeDC/Users) starts to return an error `Notice (1024): Undefined property: UsersController::$Cookie in /[...]/cakesandbox/vendor/cakedc/auth/src/Auth/RememberMeAuthenticate.php on line 42 [CORE/src/Controller/Controller.php, line 387] ` I couldn’t find out
# Oct 3rd 2018, 23:21 zomb thank you
# Oct 3rd 2018, 23:21 sdevore @zomb :thumbsup:
# Oct 3rd 2018, 23:17 zomb just add it, and then getMailer will work with no issues?
# Oct 3rd 2018, 23:12 sdevore use MailerAwareTrait; is what you want ;)
# Oct 3rd 2018, 23:08 zomb what is the proper way to use a Mailer within Console classes? Can i just do `new App\Mailer\MyMailer()` or do I need to get an instance from a getMailer() function somewhere?
# Oct 3rd 2018, 20:26 matsaku Don't know why, but the solution I brought finally worked
# Oct 3rd 2018, 20:25 matsaku Hey don't worry !
# Oct 3rd 2018, 20:25 btx @matsaku sorry, ran out to a client - back now and looking over your comments one sec
# Oct 3rd 2018, 19:40 itmpls TL;DR is there some special sauce I can pass to new \Cake\View\View to have the same context?
# Oct 3rd 2018, 19:39 slackebot Configure::read('Blah.formTemplates')]); and it's working minus seemingly not completely registering $this->Form->setTemplates($formTemplates); . has anyone had to do anything similar and was there a more straightforward way of achieving this?
# Oct 3rd 2018, 19:39 itmpls i have a modal and i want to have different behavior based on the submission of the form within. im doing a POST request via js to the action of the form, but ideally I want a json response with the html / success. I refactored my basic html/ajax response which required parsing for a #success element and got rid of it and now render a view manually via $view new \Cake\View\View(); $response['html'] = $view->element('blah', ['formTemplates' =>
# Oct 3rd 2018, 19:29 steelingfa those ACPI errors are a clear indication of it.
# Oct 3rd 2018, 19:29 steelingfa it'd only be there if he explicitly defaulted it in that case
# Oct 3rd 2018, 19:29 steelingfa Johnjay: Just binaries, or packaged binaries?
# Oct 3rd 2018, 18:58 ricksaccous hang out at the shish cafe, lol
# Oct 3rd 2018, 18:56 MikailGe now, what languages do you use?
# Oct 3rd 2018, 18:56 MikailGe not a racist remark. I actually do hang out at the shish cafe
# Oct 3rd 2018, 18:56 MikailGe better buying put options below the market...lottery ticket
# Oct 3rd 2018, 18:56 MikailGe phogg: If that is what I think it is based on name alone.... that's... the kind of thing I might try to troll people with but wouldn't actually bother making.
# Oct 3rd 2018, 18:56 MikailGe (That said it's still plausible that I missed one... because actually I lost all of the results at one point, and only had the hashes left... and this was still a slow CPU based search so I don't want to rerun it. On the other hand, I don't know how to get multiple results from the hashcat hack without digging deeper into its code.)
# Oct 3rd 2018, 18:35 soXO should i log in to my gmail on tor or no
# Oct 3rd 2018, 18:35 soXO it is a linux cli util
# Oct 3rd 2018, 17:16 whyrusleepingMh now your message was pushed with the irc client icon
# Oct 3rd 2018, 17:15 matsaku May I ask which relation I need to set up ?
# Oct 3rd 2018, 17:15 whyrusleepingMh hans_: did you land crrev.com/37048f66617d326b8e08caf75da75b4ca790d478 ?
# Oct 3rd 2018, 17:15 whyrusleepingMh conundrum, ^r works. But "command + up arrow" I would like much more. how can I configure?
# Oct 3rd 2018, 17:15 matsaku Oh ok I get the query
# Oct 3rd 2018, 17:15 matsaku My relations aren't set up and I'm not sure where to start to do that. I'm really lost. CakePhp is my first try after learning oop
# Oct 3rd 2018, 17:15 btx like `$users->contain(['Todos','SharedTodos'=>function($query){ return $query->where(['SharedTodos.user_id = Users.id']);}])`
# Oct 3rd 2018, 17:13 btx you should still be able to `contain` the records tho as long as your relations are set up
# Oct 3rd 2018, 17:13 matsaku It's just a link with two column "user_id" and "todo_id"
# Oct 3rd 2018, 17:13 btx my bad
# Oct 3rd 2018, 17:13 matsaku No sorry
# Oct 3rd 2018, 17:13 btx o sorry I thought they were same table
# Oct 3rd 2018, 17:12 matsaku You mean making the same table as Todos for SharedTodos. And when I want to share, I just duplicate the Todo in the other table ?
# Oct 3rd 2018, 17:10 matsaku Oh
# Oct 3rd 2018, 17:10 btx then you’d have `$user->todos` and `$user->shared_todos`
# Oct 3rd 2018, 17:09 btx @matsaku i would have Todos and SharedTodos associations where SharedTodos is a Todos, but with a conditional filter then just `Users->contain['Todos','SharedTodos'])->..`