Log message #4156546

# At Username Text
# Jul 6th 2018, 13:15 braeden I feel sorry for whoever had to build those regexes for the date() method
# Jul 6th 2018, 12:55 josbeir would be cool :slightly_smiling_face:
# Jul 6th 2018, 12:55 neon1024 Well @lorenzo might change that soon! :P
# Jul 6th 2018, 12:55 josbeir but what you are pointing out is actually true
# Jul 6th 2018, 12:54 josbeir i'm not asking questions about that, as this hasn't changed since the cake 1 days
# Jul 6th 2018, 12:54 josbeir https://book.cakephp.org/3.0/en/core-libraries/validation.html#core-validation-rules
# Jul 6th 2018, 12:53 josbeir if rule is an array, the first arg is the method and the following the arguments
# Jul 6th 2018, 12:53 neon1024 Especially as the Validator doesn’t implement a direct rule
# Jul 6th 2018, 12:53 josbeir but its the way cake validation method work ? :P
# Jul 6th 2018, 12:53 neon1024 It’s very very hard to see that from the code
# Jul 6th 2018, 12:53 josbeir 'rule' => [ 'extension', [ 'jpg', 'png' ] ]
# Jul 6th 2018, 12:52 josbeir rule' => 'extension'
# Jul 6th 2018, 12:51 neon1024 How do I use this method? https://api.cakephp.org/3.6/source-class-Cake.Validation.Validation.html#775-797
# Jul 6th 2018, 12:41 IamTrying SAML possible for free ?
# Jul 6th 2018, 12:39 Martin` so it has to find the closest color
# Jul 6th 2018, 12:39 Martin` I've connected store colors to the group. so it is the same for al children, but it is also possible to connect the color to a child
# Jul 6th 2018, 12:38 Martin` hope it is understandable in english haha :P
# Jul 6th 2018, 12:38 Martin` I think there is no relations for tree's that if I connect something to a group, and if there is no one for the child, it find it in the tree up?
# Jul 6th 2018, 11:28 rogerpro check Time::setDefaultLocale(‘ja_JP’);
# Jul 6th 2018, 11:28 rogerpro @dwms Time::setDefaultLocale(‘ja_JP’); ?
# Jul 6th 2018, 11:27 dwms show hour incorrect
# Jul 6th 2018, 11:27 dwms Time::now()
# Jul 6th 2018, 11:26 dwms how to set time zone cakephp 3
# Jul 6th 2018, 11:20 rogerpro Is there a way to automatically make all forms in an app disabled after submitting to prevent multiple submisions? Any plugin to save time?
# Jul 6th 2018, 11:10 wYm @slackebot4, >.< yes it work thanks :D but I remember that was with _prefix any way it work thanks again for your help: )
# Jul 6th 2018, 11:08 neon1024 Wym, Wouldn’t that be just not specifying it? `['controller' => 'Examples', 'action' => 'index', 'prefix' => false]`
# Jul 6th 2018, 11:07 neon1024 >:(
# Jul 6th 2018, 11:07 neon1024 When you implement parent methods and check ‘Copy docblock from parent’ and it comes out with the old classic `{@inheritdoc}`
# Jul 6th 2018, 11:06 wYm but now I didn't find that in the doc
# Jul 6th 2018, 11:05 wYm hi all, how can I remove prefix on cakephp 3 with the function build of the Url helper, before it was with _prefix param
# Jul 6th 2018, 10:58 skor :+1:
# Jul 6th 2018, 10:57 okelet that's a good idea... in my case I only need the username, for auditing the error, so I will save it as a session variable, thanks!!!
# Jul 6th 2018, 10:56 skor I see that the ‘Controller.beforeRedirect’ is called before redirecting, in Cake\Controller\Controller, should I be using that?
# Jul 6th 2018, 10:51 skor Juan, I keep a Singleton of the session data, populated after the auth in appcontroller, then I can `use` it anywhere.
# Jul 6th 2018, 10:50 skor hi everyone! $this->response = $this->response->withCookie(‘userId’, [ ‘value’ => $currentUserId, ... ]); // but then I $this->redirect($this->Auth->redirectUrl()) // no cookie gets set, should I be using: // return $this->response->withHeader(‘Location’, $this->Auth->redirectUrl()); ? cake 3.4 thanks!
# Jul 6th 2018, 10:31 okelet hi, does someone know if i can access the current logged user from an error handler? searching google and github without success....
# Jul 6th 2018, 10:20 james.phillips place
# Jul 6th 2018, 10:20 james.phillips @bravo-kernel thanks for looking into it and for the code in the first palce
# Jul 6th 2018, 10:19 bravo-kernel so I don't misinform people ;)
# Jul 6th 2018, 10:19 bravo-kernel @james.phillips no problem and it's interesting anyway. I just want to make sure I get the expectations clear
# Jul 6th 2018, 10:12 k4t thank you!