# |
Mar 9th 2018, 20:13 |
joopm |
hello |
# |
Mar 9th 2018, 20:08 |
watermark |
So, I went looking for connection prefixes in Cake3. Just verifying, these still are not implemented natively in Cake3? The proposed solutions I've found don't handle tables in plugins. |
# |
Mar 9th 2018, 17:56 |
greenjam94 |
thanks anyways |
# |
Mar 9th 2018, 17:56 |
greenjam94 |
nope… cause it works now.. I’m so confused.. maybe cache refreshed after trying X times.. |
# |
Mar 9th 2018, 17:55 |
savant |
can you show the output of the curl command? |
# |
Mar 9th 2018, 17:54 |
greenjam94 |
no i didn’t change apache |
# |
Mar 9th 2018, 17:52 |
savant |
thats a strange redirect, sounds like maybe something in your apache conf? |
# |
Mar 9th 2018, 17:52 |
savant |
what does that redirect? |
# |
Mar 9th 2018, 17:50 |
greenjam94 |
thanks, got it working, one roadblock I hit.. I have a path /guides and created a folder in webroot with the same name. now going to /guides in URL redirects to /webroot/guides even after renaming the folder. How do I stop that? |
# |
Mar 9th 2018, 16:49 |
savant |
https://github.com/gourmet/common-mark |
# |
Mar 9th 2018, 16:33 |
greenjam94 |
cool, I’ll take a look. Do u have a favorite? |
# |
Mar 9th 2018, 16:32 |
dereuromark |
there are existing plugins and view files etc. quite straightforward |
# |
Mar 9th 2018, 16:31 |
greenjam94 |
Hi all, does anyone have experience with managing markdown text files in cake? Like in a temple pulling in a .md file and parsing it into HTML with parsedown or something? |
# |
Mar 9th 2018, 16:15 |
mikesmoniker |
But we’ll either improve that or maybe look at joinWith or something. |
# |
Mar 9th 2018, 16:15 |
mikesmoniker |
That’s the direction we’re going, but our report builder currently ends up adding that as a sort of broken column because it assumes everything that comes back was asked for. |
# |
Mar 9th 2018, 16:14 |
savant |
not sure if it makes sense to have a “null” campaign_run object |
# |
Mar 9th 2018, 16:14 |
savant |
but yeah i would inject the id at least |
# |
Mar 9th 2018, 16:14 |
savant |
gimme |
# |
Mar 9th 2018, 16:14 |
savant |
oooo a report builder |
# |
Mar 9th 2018, 16:14 |
mikesmoniker |
In this case the select() is dynamic, coming from a “report builder” interface. |
# |
Mar 9th 2018, 16:14 |
savant |
because you dont have an intermediate object |
# |
Mar 9th 2018, 16:13 |
savant |
yeah it wouldnt know where to “put” the data |
# |
Mar 9th 2018, 16:13 |
savant |
ah |
# |
Mar 9th 2018, 16:13 |
mikesmoniker |
https://pastebin.com/zh1VkAtE |
# |
Mar 9th 2018, 16:12 |
savant |
what what do you mean by “thrown out” |
# |
Mar 9th 2018, 16:12 |
mikesmoniker |
I am. |
# |
Mar 9th 2018, 16:12 |
savant |
only if you’re using select() |
# |
Mar 9th 2018, 16:10 |
mikesmoniker |
Is it by design that if you contain() a nested relationship but don’t select() something from the intermediate table the contain gets thrown out? |
# |
Mar 9th 2018, 15:28 |
bravo-kernel |
Two bounties, one per PR :cakephp: |
# |
Mar 9th 2018, 15:26 |
bravo-kernel |
Before I do 1) any pickers? 2) what would be a reasonable bounty? |
# |
Mar 9th 2018, 15:26 |
bravo-kernel |
I am about to start a bounty program for two missing crud-json-api features https://github.com/FriendsOfCake/crud-json-api/issues/1 and https://github.com/FriendsOfCake/crud-json-api/issues/2 |
# |
Mar 9th 2018, 14:08 |
braguzz |
ok thanks I'll give a try |
# |
Mar 9th 2018, 14:01 |
dereuromark |
in 3.x writing and testing plugins is actually quite fun (compared to 2.x), nice standalone thing. |
# |
Mar 9th 2018, 14:01 |
dereuromark |
braguzz: it helps to upgrade some of the ecosystem things first and adding testing around it etc, this way when you actually upgrade you can use all the things in the new version right away, and fully working. depends on the time schedule, but thats what I did with my plugins, this way it works again way faster than getting lost in many different things that need upgrading. |
# |
Mar 9th 2018, 13:59 |
admad |
"some plugins that handle automatic charts and reports" if you have proper standalone classes then updating them for 3.x wouldn't be too difficult either :slightly_smiling_face: |
# |
Mar 9th 2018, 13:58 |
braguzz |
bootstrap is the easyer task .. ;) |
# |
Mar 9th 2018, 13:58 |
admad |
bootstrap: there's friendsofcake/boostrap-ui plugin |
# |
Mar 9th 2018, 13:58 |
braguzz |
admad thanks admad ;) |
# |
Mar 9th 2018, 13:57 |
admad |
authentication: if you have made a proper authentication class then upgrading it to 3.x would be too difficult |
# |
Mar 9th 2018, 13:57 |
admad |
braguzz: you could try adding an AppTable and overriding setTable() method to add prefix. Then make all your table classes extends AppTable |
# |
Mar 9th 2018, 13:54 |
braguzz |
impossible task |