# |
Mar 13th 2019, 11:43 |
challgren |
https://github.com/cakephp/migrations/compare/1.8.1...2.0.0 |
# |
Mar 13th 2019, 11:41 |
challgren |
You can’t read that fast??? I’m already done looking at all the code changes :P |
# |
Mar 13th 2019, 11:41 |
neon1024 |
Hah @challgren can you read the 576 commits and summarise for me? ;) |
# |
Mar 13th 2019, 11:40 |
neon1024 |
Ah, it’s in the release https://github.com/cakephp/migrations/releases/tag/2.0.0 |
# |
Mar 13th 2019, 11:39 |
challgren |
https://github.com/cakephp/migrations/compare/1.0.0...2.1.0 |
# |
Mar 13th 2019, 11:38 |
neon1024 |
Anyone know where to find changenotes between cakephp/migrations ~1.0 and ~2.0 ? |
# |
Mar 13th 2019, 11:23 |
acosonic |
So the final decision is my team is going to migrate our CMS and plugins to Cake 3, boilerplates sucked :) crogoo is bloated... |
# |
Mar 13th 2019, 10:59 |
challgren |
Can anyone recommend a good plugin for Oauth server in CakePHP? |
# |
Mar 13th 2019, 10:40 |
unclezoot |
thx |
# |
Mar 13th 2019, 10:40 |
unclezoot |
fair enough, works for me :) |
# |
Mar 13th 2019, 10:40 |
neon1024 |
unclezoot, I’d do that in PHP and store it in the Session |
# |
Mar 13th 2019, 10:39 |
challgren |
Yep default to on and let the user disable it manually |
# |
Mar 13th 2019, 10:39 |
unclezoot |
morning all, what is the correct way of reading cookies within a template/element? I'm trying to detect the currently logged in user's language preference |
# |
Mar 13th 2019, 10:38 |
neon1024 |
So it’s been abstracted away from the user into the plugin :slightly_smiling_face: |
# |
Mar 13th 2019, 10:38 |
neon1024 |
So yeah, it’s automatic as long as the plugin declares the hooks |
# |
Mar 13th 2019, 10:38 |
neon1024 |
https://book.cakephp.org/3.0/en/plugins.html#plugin-objects |
# |
Mar 13th 2019, 10:37 |
neon1024 |
Maybe your own plugins Plugin.php file declares the hooks? |
# |
Mar 13th 2019, 10:36 |
neon1024 |
C’mon @dereuromark put me out of my misery! ;) |
# |
Mar 13th 2019, 10:34 |
neon1024 |
Would also indicate that they have to be configured |
# |
Mar 13th 2019, 10:34 |
challgren |
Im not 100% sure honestly |
# |
Mar 13th 2019, 10:34 |
neon1024 |
https://github.com/cakephp/cakephp/blob/master/src/Core/BasePlugin.php#L91-L95 |
# |
Mar 13th 2019, 10:33 |
neon1024 |
So yeah, that doesn’t seem to indicate that they’re automatic |
# |
Mar 13th 2019, 10:33 |
challgren |
https://book.cakephp.org/3.0/en/plugins.html#plugin-hook-configuration |
# |
Mar 13th 2019, 10:33 |
neon1024 |
Is this in BasePlugin’s constructor? |
# |
Mar 13th 2019, 10:32 |
neon1024 |
I can’t see any code for it |
# |
Mar 13th 2019, 10:32 |
challgren |
Yes it does bootstrap and routing |
# |
Mar 13th 2019, 10:32 |
neon1024 |
Or do Ihave to call pluginBootstrap |
# |
Mar 13th 2019, 10:31 |
challgren |
Ive seen that |
# |
Mar 13th 2019, 10:31 |
neon1024 |
Does the new plugin loading system load plugin bootstrap and routing by default? |
# |
Mar 13th 2019, 10:31 |
challgren |
`Maybe Plugin::getCollection()->add(my Plugin())` will work |
# |
Mar 13th 2019, 10:30 |
neon1024 |
Thanks @challgren |
# |
Mar 13th 2019, 10:29 |
neon1024 |
:man-shrugging: |
# |
Mar 13th 2019, 10:29 |
neon1024 |
I don’t like it |
# |
Mar 13th 2019, 10:29 |
neon1024 |
Ah, my worst fears are confirmed |
# |
Mar 13th 2019, 10:28 |
challgren |
@neon1024 https://cakesf.slack.com/archives/C053DPNGT/p1550767154115200 |
# |
Mar 13th 2019, 10:25 |
challgren |
Ohh damm it I have the solution but cant find it now for you @neon1024 |
# |
Mar 13th 2019, 10:23 |
neon1024 |
How do I load my plugin in my plugins test bootstrap php using the new ->addPlugin() method? |
# |
Mar 13th 2019, 10:22 |
dereuromark |
I always do the same thing for my apps on login :slightly_smiling_face: |
# |
Mar 13th 2019, 10:16 |
challgren |
Anyone find this useful? https://github.com/CakeDC/users/pull/777 |
# |
Mar 13th 2019, 10:09 |
kaliel |
hello everyone, i use in my boostrap.php an extra config file (app_dev.php) which ovveride the default datasource when environement is DEV. But when i use CLI (bin/cake migrations migrate), it still use the production database, any idea ? |
# |
Mar 13th 2019, 10:01 |
neon1024 |
Ah, must have scrolled past the scope bit |