# |
Jun 27th 2018, 14:32 |
magiq |
I dont understand |
# |
Jun 27th 2018, 14:31 |
dereuromark |
yeah you dont have the best URL it seems |
# |
Jun 27th 2018, 14:30 |
magiq |
action.json ? |
# |
Jun 27th 2018, 14:29 |
dereuromark |
using the proper extension :slightly_smiling_face: action.json |
# |
Jun 27th 2018, 14:29 |
magiq |
for rest api |
# |
Jun 27th 2018, 14:29 |
magiq |
how to make cakephp return exceptions in json ? |
# |
Jun 27th 2018, 14:22 |
Martin` |
can not response to that |
# |
Jun 27th 2018, 14:21 |
Martin` |
I only recieved a push notification of a reply on my phone :P |
# |
Jun 27th 2018, 14:21 |
Martin` |
then I did refresh, and then I was fully lost :( |
# |
Jun 27th 2018, 14:21 |
Martin` |
yes me too |
# |
Jun 27th 2018, 14:21 |
NeoThermic|Work |
even though I was connected |
# |
Jun 27th 2018, 14:21 |
NeoThermic|Work |
I was having issues sending messages on another slack team |
# |
Jun 27th 2018, 14:20 |
NeoThermic|Work |
for various values of "still work" |
# |
Jun 27th 2018, 14:20 |
Martin` |
ah existing connectinos still work? :P |
# |
Jun 27th 2018, 14:20 |
NeoThermic|Work |
https://status.slack.com/ |
# |
Jun 27th 2018, 14:20 |
NeoThermic|Work |
the connection gateway is having issues :P |
# |
Jun 27th 2018, 14:20 |
Martin` |
in the past when we used irc, we never had problems like that |
# |
Jun 27th 2018, 14:19 |
Martin` |
you guys are still on slack? how do you do that, mine does not want to connect |
# |
Jun 27th 2018, 14:19 |
neon1024 |
Thanks |
# |
Jun 27th 2018, 14:18 |
NeoThermic|Work |
https://dev.mysql.com/doc/refman/5.7/en/json-search-functions.html#operator_json-column-path |
# |
Jun 27th 2018, 14:18 |
adriencs |
but the "JSON" type does not exist with MariaDB, it's a "LONGTEXT" so cakephp have some trouble |
# |
Jun 27th 2018, 14:17 |
adriencs |
or MariaDB 10.3 |
# |
Jun 27th 2018, 14:16 |
NeoThermic|Work |
neon1024: you'd need MySQL 8 to get the super awesome JSON stuff... |
# |
Jun 27th 2018, 14:16 |
adriencs |
mysql have cool interactions with json now |
# |
Jun 27th 2018, 14:08 |
neon1024 |
I have a JSON column in my database, which pulls in data from a remote data source. These are tv channels, and they have a ‘category’, but in my front-end I would like to organise them by category. Does anyone have any thoughts? I can only think of using a Collection, but I’m sure MySQL can do some funky stuff with JSON right? |
# |
Jun 27th 2018, 13:49 |
meder |
who had an example of 3.6+ middleware parsing subdomains again? |
# |
Jun 27th 2018, 13:18 |
josbeir |
expose the stuff you need to your controller or maybe better as request attributes |
# |
Jun 27th 2018, 13:18 |
tim |
Yeah figured as much. It's because my AppController does some extra Auth stuff and sets some variables in $this, but turns out now I need them in the cell too |
# |
Jun 27th 2018, 13:17 |
josbeir |
you got request etc |
# |
Jun 27th 2018, 13:17 |
josbeir |
no controller context over there |
# |
Jun 27th 2018, 13:16 |
josbeir |
hmm @tim a cell is something inside the view layer |
# |
Jun 27th 2018, 13:15 |
adriencs |
File uploaded https://cakesf.slack.com/files/U5WD6SWR2/FBEV3KT0S/image.png / https://slack-files.com/T053DPNCM-FBEV3KT0S-ad8bb8b2cf - What is in my mind when you talk about England |
# |
Jun 27th 2018, 13:15 |
tim |
Btw anyone know how to call the controller context in a cell? |
# |
Jun 27th 2018, 13:14 |
josbeir |
yeah its a bit stigmatised :) |
# |
Jun 27th 2018, 13:13 |
neon1024 |
But I’m biased really, I think English Football fans usually epitomise everything I don’t like about Britain |
# |
Jun 27th 2018, 13:13 |
tim |
Brazil and Mexico need to win, and then we need to place second :P |
# |
Jun 27th 2018, 13:13 |
josbeir |
0-3 for us |
# |
Jun 27th 2018, 13:13 |
neon1024 |
They’re best known for hats! |
# |
Jun 27th 2018, 13:13 |
josbeir |
yeah, that was our first (boring) game |
# |
Jun 27th 2018, 13:13 |
neon1024 |
ITS PANAMA! |
# |
Jun 27th 2018, 13:12 |
neon1024 |
Like they did when England beat Panama |