# |
Jul 3rd 2019, 15:19 |
neothermic |
I suspect that once 4.x lands, we'll move to 3.x, but then if 4.x is cheap enough to hit after solving 3.x, then I might be able to migrate us up to 4.x after the 2.x -> 3.x dust settles |
# |
Jul 3rd 2019, 15:18 |
neothermic |
the furthest we've been out of date was on 1.3 when 3.0 got released, but we upgraded to 2.x to keep in support :) |
# |
Jul 3rd 2019, 15:18 |
neothermic |
it'd be more absurd |
# |
Jul 3rd 2019, 15:12 |
dereuromark |
wouldnt 9.x be even funnier?^^ |
# |
Jul 3rd 2019, 15:09 |
neothermic |
and you'll go "someone want to upgrade a few plugins to 5.x?" |
# |
Jul 3rd 2019, 15:09 |
neothermic |
I'll get onto 3.x |
# |
Jul 3rd 2019, 15:03 |
dereuromark |
still a bit funny though ;) |
# |
Jul 3rd 2019, 15:03 |
neothermic |
(one day this'll no longer be a joke :) ) |
# |
Jul 3rd 2019, 15:03 |
neothermic |
@dereuromark Oooh, lemme just update to 3.x first ;) |
# |
Jul 3rd 2019, 14:44 |
dereuromark |
someone wants to upgrade a few plugins to 4.x? :slightly_smiling_face: I already did IdeHelper and Shim etc. |
# |
Jul 3rd 2019, 14:43 |
itmpls |
when . I use ->render() within a controller, why isn't it taking into account . my ->set(compact('foo')) $foo var that's defined? |
# |
Jul 3rd 2019, 14:22 |
neothermic |
I tried doing `$this->Auth->settings['scope'] = [/* new scope here */];`, but doing a debug in the `_findUser` shows that this didn't take |
# |
Jul 3rd 2019, 14:21 |
neothermic |
I don't suppose I can change the scope setting in an authcomponent after the thing has been constructed? (in 2.x) |
# |
Jul 3rd 2019, 13:45 |
graziel |
you can check params of command using --help arg in most cases |
# |
Jul 3rd 2019, 13:43 |
birdy247 |
thanks |
# |
Jul 3rd 2019, 13:43 |
birdy247 |
awesome |
# |
Jul 3rd 2019, 13:28 |
graziel |
bin/cake bake seed test --data --table=users |
# |
Jul 3rd 2019, 13:21 |
birdy247 |
I cant see this in the docs but sure its possible |
# |
Jul 3rd 2019, 13:21 |
birdy247 |
Does anyone recall the comand to build seeds from a table |
# |
Jul 3rd 2019, 13:21 |
birdy247 |
Hello bakers! |
# |
Jul 3rd 2019, 12:24 |
chrisshick |
@admad |
# |
Jul 3rd 2019, 12:24 |
chrisshick |
just thought i would see if it saved me time lol |
# |
Jul 3rd 2019, 12:23 |
chrisshick |
That is what i am doing right now lol |
# |
Jul 3rd 2019, 12:22 |
hari.om |
Thanks @admad |
# |
Jul 3rd 2019, 12:21 |
admad |
@chrisshick check the file's commit history on GH :slightly_smiling_face: |
# |
Jul 3rd 2019, 12:20 |
chrisshick |
I noticed that when updating to 3.7.9 it changes the date format |
# |
Jul 3rd 2019, 12:18 |
chrisshick |
Has there been an update in the DateTime default fomat? |
# |
Jul 3rd 2019, 12:11 |
admad |
@hari.om those methods required format using ICU placeholders https://ssl.icu-project.org/apiref/icu4c/classSimpleDateFormat.html#details |
# |
Jul 3rd 2019, 11:39 |
hari.om |
@channel |
# |
Jul 3rd 2019, 11:37 |
hari.om |
I am using cakephp 3.7 in bootstrap.php \Cake\I18n\FrozenTime::setJsonEncodeFormat('Y-m-d H:i:s'); \Cake\I18n\FrozenDate::setJsonEncodeFormat('Y-m-d H:i:s'); which return me date something like "open": "2019-07-03T11:00:00+00:00", but i need "open": "2019-07-03T11:00:00", can someone help me |
# |
Jul 3rd 2019, 09:38 |
neon1024 |
Hopefully the women win the Ashes :) |
# |
Jul 3rd 2019, 09:34 |
admad |
Though you will be losing 2 WCs this month. 1st being in Women's football :slightly_smiling_face: |
# |
Jul 3rd 2019, 09:33 |
admad |
@neon1024 England is batting first so the result is pretty much written in stone |
# |
Jul 3rd 2019, 09:32 |
neon1024 |
`$this->Auth->Flash->error($this->Auth->getConfig('authError'));` and a redirect I suppose |
# |
Jul 3rd 2019, 09:29 |
neon1024 |
Anyone know how I can throw a denied redirect using Auth? |
# |
Jul 3rd 2019, 09:24 |
neon1024 |
@admad Predictions for :flag-england: v :flag-nz: |
# |
Jul 3rd 2019, 09:24 |
neon1024 |
I guess if one already exists, but you could use `'when' => 'create'` I guess |
# |
Jul 3rd 2019, 09:23 |
neon1024 |
Perhaps both? |
# |
Jul 3rd 2019, 09:23 |
neon1024 |
Wouldn’t the request need to contain an uploaded image? |
# |
Jul 3rd 2019, 09:06 |
admad |
That would be an application rule, not validation rule |
# |
Jul 3rd 2019, 08:35 |
ra7bi |
Let me check , thanks |