# |
Apr 5th 2019, 10:02 |
neothermic |
@neon1024 it'd be irresponsible to TIAS on our production servers :P |
# |
Apr 5th 2019, 10:01 |
slackebot2 |
!tias |
# |
Apr 5th 2019, 10:01 |
slackebot2 |
Command sent from Slack by neon1024: |
# |
Apr 5th 2019, 10:01 |
neon1024 |
So, no? |
# |
Apr 5th 2019, 10:01 |
neon1024 |
> Cache keys used for groups are now hashed |
# |
Apr 5th 2019, 09:54 |
neothermic |
Hmm, question WRT going through 2.10.7: ```Cache keys used for groups are now hashed. This prevents keys overflowing Redis and Memcache key lengths. This will cause previously cached entries to be invalid as group keys have changed.``` If we don't use groups, will this still affect our keys? |
# |
Apr 5th 2019, 09:53 |
asdfgh |
why? |
# |
Apr 5th 2019, 09:53 |
asdfgh |
guys can somebody tell me why i cannot use the security component with CsrfProtectionMiddleware middlware? |
# |
Apr 5th 2019, 09:50 |
dereuromark |
darn, I wanted to add a behavior to a contact form, but using Forms there (model less), attaching sth like behaviors is not possible. How do you add your custom "plugin logic" there in these cases? |
# |
Apr 5th 2019, 09:49 |
asdfgh |
i am using the middleware |
# |
Apr 5th 2019, 09:49 |
asdfgh |
i also have comment $this->loadComponent('Security'); |
# |
Apr 5th 2019, 09:43 |
asdfgh |
any angel here? |
# |
Apr 5th 2019, 09:37 |
asdfgh |
excuse me: but, how is it possible that this code create CRSF Token mistmatch ???! (i am using cakephp 3.7) i do not have any other fields...nothing!! https://nopaste.chaoz-irc.net/view/0f65824b#VtWAbBzejxY5FTyJHVzUAXWllYGOecr5 |
# |
Apr 5th 2019, 08:51 |
dereuromark |
A real generic class could look like this then: https://github.com/spryker/util-text/blob/master/src/Spryker/Service/UtilText/Model/Url/Url.php But for performance it must not invoke cake routing for the input all the time, thus the clean separation. |
# |
Apr 5th 2019, 08:43 |
dereuromark |
you could build a Url class, that does this for you, as generic php solution. That would be fine then. |
# |
Apr 5th 2019, 08:42 |
k4t |
u r right |
# |
Apr 5th 2019, 08:42 |
k4t |
understand |
# |
Apr 5th 2019, 08:42 |
dereuromark |
cake routing is for cake urls only. |
# |
Apr 5th 2019, 08:41 |
dereuromark |
and super slow |
# |
Apr 5th 2019, 08:41 |
dereuromark |
no its not, its super ugly |
# |
Apr 5th 2019, 08:41 |
k4t |
ok, understand, point is that it is more... beuty ^^ |
# |
Apr 5th 2019, 08:41 |
dereuromark |
there is no need to invoke cake routing here |
# |
Apr 5th 2019, 08:41 |
dereuromark |
whats the point? why not using normal php? |
# |
Apr 5th 2019, 08:40 |
k4t |
google.com is just example, it will be replaced with dynamic url string variable |
# |
Apr 5th 2019, 08:40 |
k4t |
? |
# |
Apr 5th 2019, 08:40 |
k4t |
Hi, is it possible to do somehow something like this in Cake3: Router::url('https://google.com', '?' => ['redirectUrl' => $redirectUrlParam]) |
# |
Apr 5th 2019, 08:32 |
conehead |
Anyone using the uploads plugin by jose gonzales? I was using it with my cakephp 2 app. Currently I am trying to convert it to 3.7. Seems like the polymorphic feature has been dropped (upload multiple files to multiple models) |
# |
Apr 5th 2019, 07:55 |
asdfgh |
anyone? |
# |
Apr 5th 2019, 07:37 |
SvenBuis |
Why isn’t the enableAutoFields not selecting the OrderItems.order_id for me? |
# |
Apr 5th 2019, 07:37 |
SvenBuis |
Now I’m running a query on Orders with a OrderItems contain with a closure, that runs a ‘select()’ on. After the select I use ‘enableAutoFields’ but I’m still getting the error that I should select ‘OrderItems.order_id’. This used to work in CakePHP 3.2 (Im currently upgrading). |
# |
Apr 5th 2019, 07:37 |
SvenBuis |
I have question. I'm running CakePHP 3.7 and I have the following situation. I have Orders that hasMany OrderItems. |
# |
Apr 5th 2019, 07:34 |
asdfgh |
it does follow the cakephp conventions but it is too generic |
# |
Apr 5th 2019, 07:34 |
asdfgh |
i thought about agents_projects <-- only |
# |
Apr 5th 2019, 07:34 |
asdfgh |
does ti sound good for a name of a table? |
# |
Apr 5th 2019, 07:25 |
asdfgh |
morning |
# |
Apr 5th 2019, 07:24 |
neon1024 |
Morning |
# |
Apr 5th 2019, 07:22 |
willem |
how can i set the -f param when sending email ? |
# |
Apr 5th 2019, 07:21 |
asdfgh |
pardon guys i have two tables agents and projects i should create a third table where i store/log the views of the gent that visit the page of the project... how can i call this table? agent_project_views? does it follow cakephp conventions? |
# |
Apr 5th 2019, 07:20 |
asdfgh |
hello |
# |
Apr 5th 2019, 05:14 |
cc |
resources for cake php |
# |
Apr 5th 2019, 02:39 |
liaogz82 |
is there a way to use phpspec with Cake? can't seem to find a good example |