Log message #4191968

# At Username Text
# Jul 4th 2019, 08:39 louis Hello everyone, I would like to add helper provided by the plugin : https://github.com/ADmad/cakephp-i18n#timezonewidget The problem is Form Helper is already loaded, So I just want to add some configuration but I don't know how to do. For your information I'm using Lilhermit https://projects.lilhermit.co.uk/cakephp-plugins-bootstrap4/installation.html#extending-appview plugin loaded with extends method
# Jul 4th 2019, 08:38 jeremy.payne Hi all, I have a javascript heavy form (angular). Is there any way I can inject the _csrf token in a <meta> field of the page instead of the body? It seems like it's only possible to get the token if the page has a form, which it has none of (the angular script provided by a third party replaced anything in the <body> tag with the app).
# Jul 4th 2019, 05:47 kgb.acct.personal Nvm. I can use func()->date()
# Jul 4th 2019, 05:41 kgb.acct.personal Looks like it's not in docs?
# Jul 4th 2019, 05:40 kgb.acct.personal How do I use MySQL DATE() function in query builder?
# Jul 4th 2019, 02:53 challgren @bgrinter https://github.com/FriendsOfCake/awesome-cakephp#auditing--logging
# Jul 4th 2019, 02:51 challgren Thats a very good list for Plugins
# Jul 4th 2019, 02:51 challgren https://github.com/FriendsOfCake/awesome-cakephp
# Jul 4th 2019, 02:50 cnizzardini I don't believe that specific behavior exists, https://book.cakephp.org/3.0/en/orm/behaviors.html
# Jul 4th 2019, 02:49 cnizzardini We are using lorenzo/audit-stash
# Jul 4th 2019, 02:48 cnizzardini Let me dig through our code, hang on
# Jul 4th 2019, 02:48 cnizzardini I think there is something else used now
# Jul 4th 2019, 02:39 bgrinter currently looking to upgrade an app written in CakePHP 2.x to 3.x and taking stock of the plugins and extra tools etc used. One is the Logable behaviour in CakePHP-tools which is use to log user actions (adding / deleting / editing records). It doesn't appear to be in the v3 branch? Anyone got any other suggestions https://github.com/dereuromark/cakephp-tools/blob/2.x/Model/Behavior/LogableBehavior.php
# Jul 4th 2019, 02:12 cnizzardini twas apache
# Jul 4th 2019, 01:51 cnizzardini 404 on /debug-kit/toolbar/08a7d075-b26d-448e-9c26-b7067d6e58b6 404 (Not Found) fresh install
# Jul 3rd 2019, 21:39 challgren @brian493
# Jul 3rd 2019, 21:27 cnizzardini send this to the other guy
# Jul 3rd 2019, 21:13 maymeow thanlks
# Jul 3rd 2019, 21:13 maymeow perfect
# Jul 3rd 2019, 21:11 challgren so $this->getController() inside the component
# Jul 3rd 2019, 21:10 challgren https://api.cakephp.org/3.7/class-Cake.Controller.Component.html#_getController
# Jul 3rd 2019, 21:10 maymeow 3.7.8
# Jul 3rd 2019, 21:10 challgren If using cake3 https://api.cakephp.org/3.8/class-Cake.Controller.Component.html#_getController
# Jul 3rd 2019, 21:09 challgren what version of cake?
# Jul 3rd 2019, 21:07 maymeow how
# Jul 3rd 2019, 21:07 challgren access the controller from your component
# Jul 3rd 2019, 21:06 maymeow how can i get Auth user info in component (not controller)
# Jul 3rd 2019, 19:50 challgren @cnizzardini it really depends on how many tables and customizations in those tables when upgrading. dereuromark has an upgrade plugin that helps makes the process easy plus his shim plugin helps too https://github.com/dereuromark/upgrade https://github.com/dereuromark/cakephp-shim
# Jul 3rd 2019, 19:11 ndm That's why I'm saying that you maybe _are_ double encoding, in that case it would make a difference
# Jul 3rd 2019, 19:11 cnizzardini might be something goofy occuring upstream
# Jul 3rd 2019, 19:10 cnizzardini *made
# Jul 3rd 2019, 19:10 cnizzardini it mad a difference for me
# Jul 3rd 2019, 19:08 ndm @cnizzardini Setting `$double` to `false` shouldn't make a difference, that option won't affect the behavior for single quotes. Maybe you actually _are_ double encoding at some point, ie passing the `h()`'d value to `h()` again.
# Jul 3rd 2019, 19:00 cnizzardini My suggestion would be the strangler approach https://martinfowler.com/bliki/StranglerFigApplication.html
# Jul 3rd 2019, 18:59 cnizzardini not much BC there
# Jul 3rd 2019, 18:59 cnizzardini but I believe upgrading from 2 to 3 is a massive efforts
# Jul 3rd 2019, 18:58 cnizzardini I wish a cake dev was in here
# Jul 3rd 2019, 18:58 cnizzardini yeah, laravel snobs do no favors for their framework of choice
# Jul 3rd 2019, 18:58 brian493 I upgraded it to 2 like a year and a half ago in some sort of fugue state
# Jul 3rd 2019, 18:58 brian493 I wonder if it would be feasible to upgrade this app to 3
# Jul 3rd 2019, 18:58 cnizzardini cake 3 is prob a little closer to what you are familiar with in terms of laravel