# |
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 |
# |
Jul 3rd 2019, 18:57 |
brian493 |
you have been super helpful |
# |
Jul 3rd 2019, 18:57 |
cnizzardini |
yeah cake 2 is.... |
# |
Jul 3rd 2019, 18:57 |
brian493 |
the guys in laravel chat are rude AND they have no idea what they are talking about |
# |
Jul 3rd 2019, 18:57 |
brian493 |
awesome thanks for your help. I'm a laravel dev and I spend all day in that framework |
# |
Jul 3rd 2019, 18:57 |
cnizzardini |
:+1: |
# |
Jul 3rd 2019, 18:57 |
brian493 |
cool, it dumped 540 rows into my table, this is working |