Log message #4171640

# At Username Text
# Dec 29th 2018, 17:18 NickBusey Just using cake as the backend for an api
# Dec 29th 2018, 17:17 NickBusey So, to turn cake into an SPA basically
# Dec 29th 2018, 17:17 NickBusey Wiring up https://preview.pro.ant.design/
# Dec 29th 2018, 17:17 itmpls to warrant react
# Dec 29th 2018, 17:17 itmpls what components are you using for react, nickbusey?
# Dec 29th 2018, 17:16 NickBusey Oh nice, looks like 4.0 is coming along nicely.. anyone know if the Events system is going to get some love with 4.0?
# Dec 29th 2018, 17:15 NickBusey I'm hoping to get this little react<->cake project working, stripping it down to barebones and releasing it as a starter template
# Dec 29th 2018, 17:08 nayakvradhit Hi can you please tell me which default files in cakephp 2.10 is not modified while migrating to php7?
# Dec 29th 2018, 16:57 challgren Or it could be today depending on your TZ :P
# Dec 29th 2018, 16:56 k4t hehe, tomorrow ;p
# Dec 29th 2018, 16:56 challgren https://github.com/cakephp/cakephp/milestone/187
# Dec 29th 2018, 16:54 admad GitHub milestone might have it
# Dec 29th 2018, 16:53 k4t @admad are you able to sive me release date of next Cake version with bug mentioned about fixed?
# Dec 29th 2018, 16:52 k4t thank you
# Dec 29th 2018, 16:52 challgren Well I still cant figure out that stupid Mailer issue
# Dec 29th 2018, 16:52 slackebot <challgren>
# Dec 29th 2018, 16:52 k4t ok, I understand, just simple code snipped in AppController beforeFilter should solve the problem
# Dec 29th 2018, 16:51 admad @challgren stop chasing fool's gold :)
# Dec 29th 2018, 16:51 slackebot Action: challgren does happy dance!!! 99.95% covered!!!!!
# Dec 29th 2018, 16:51 admad The framework isn't psychic so can't know by itself when you want jsonview to be used if you don't use .jaon extension not accept header
# Dec 29th 2018, 16:50 admad There's already is, set the view class you want
# Dec 29th 2018, 16:49 k4t is it possible that you could add such feature to the framework itself?
# Dec 29th 2018, 16:49 k4t as probably most of the users will jsut use url in the browser address bar
# Dec 29th 2018, 16:49 admad Set viewClass yourself
# Dec 29th 2018, 16:49 itmpls i'm trying to test for that
# Dec 29th 2018, 16:48 itmpls even though those records aren't really "new", the *selection* of them is "dirty"
# Dec 29th 2018, 16:48 itmpls would a belongsToMany be marked dirty if different ones are marked via $this->Form->control('categories._ids', ['multiple' => 'checkbox']); ?
# Dec 29th 2018, 16:48 k4t without setting "accept" header
# Dec 29th 2018, 16:48 admad Set "Accept" header
# Dec 29th 2018, 16:48 k4t instead I would like to see the same bahavior as it was .json URL or just throw 404 error
# Dec 29th 2018, 16:48 k4t now when I will use url witohut .json ext I will got error 500 and Missing template
# Dec 29th 2018, 16:47 k4t could you please also give me some hints how I can disable urls without .json / .xml extension when I am building REST API?
# Dec 29th 2018, 16:47 k4t thanks
# Dec 29th 2018, 16:46 admad Fix will be available in next 3.7 release
# Dec 29th 2018, 16:45 k4t oh no!
# Dec 29th 2018, 16:45 admad It's a bug
# Dec 29th 2018, 16:45 k4t if I do not throw any errors/exception from that action I will get normal JSON response
# Dec 29th 2018, 16:44 k4t @admad any ideas (latest Cake and CRUD plugin version) why when I throw exception from e.g. url like: "/api/v1/users.json" I am not getting response in JSON format but normal HTML?
# Dec 29th 2018, 16:42 NickBusey Hmm, looks interesting but also not unfinished
# Dec 29th 2018, 16:40 challgren https://github.com/FriendsOfCake/crud-users
# Dec 29th 2018, 16:40 NickBusey Hmm, don't see that on awesome-cake, this one? burzum/cakephp-user-tools