Log message #4228143

# At Username Text
# Feb 21st 2020, 10:43 neon1024 ..but hey, why not run a race with your shoelaces tied? You’ll still finish right?
# Feb 21st 2020, 10:43 challgren I dont think deprecations really came around until 3.7
# Feb 21st 2020, 10:43 neon1024 What you really mean is <insert excuse here>
# Feb 21st 2020, 10:43 challgren At least to 3.6 I would think
# Feb 21st 2020, 10:43 neon1024 You can always upgrade it
# Feb 21st 2020, 10:42 dsar Why you can't upgrade it?
# Feb 21st 2020, 10:41 peppejaripappalardo ok thanks to all
# Feb 21st 2020, 10:40 dereuromark it is part of how framework application development is supposed to work.
# Feb 21st 2020, 10:40 peppejaripappalardo anyway we use 3.0 not 3.1
# Feb 21st 2020, 10:39 dereuromark failure by design, jep. Always use latest minor. Upgrading is trivial here and necessary.
# Feb 21st 2020, 10:39 peppejaripappalardo It is an old project we can’t upgrade it :S
# Feb 21st 2020, 10:39 dsar However I don't understand why a project should still stick with 3.0
# Feb 21st 2020, 10:38 dsar I thought he means to use it in CakePHP 3.0 where it's not present
# Feb 21st 2020, 10:38 neon1024 I assume people mean any release, good job on knowing the release version 8)
# Feb 21st 2020, 10:37 dsar notMatching was implemented in CakePHP 3.1
# Feb 21st 2020, 10:37 neon1024 Yes, you can use `notMatching()`
# Feb 21st 2020, 10:33 peppejaripappalardo Hello to everybody, in CakePHP 3.0 there is a way to perform something like notMatching?
# Feb 21st 2020, 10:23 spriz Ah, it was a build rule without errorField and message :upside_down_face: :shrug:
# Feb 21st 2020, 10:12 spriz (https://api.cakephp.org/3.8/class-Cake.Database.Query.html#_from)
# Feb 21st 2020, 10:12 spriz and a bit of extra support: `$query->from(['sub' => $countQuery]); // FROM (SELECT ...) sub`
# Feb 21st 2020, 10:11 spriz @latenal Check out https://book.cakephp.org/3/en/orm/query-builder.html#subqueries :)
# Feb 21st 2020, 10:10 spriz with Crud `ApiListener` that is :)
# Feb 21st 2020, 10:10 spriz Have anyone ever tried getting something like this `0 validation errors occurred` from crud?! :)
# Feb 21st 2020, 09:50 latenal Hi how to select from a subquery? Something like `select avg(..) FROM (SELECT … ) as T`
# Feb 21st 2020, 08:08 kaliel morning all :coffee::croissant:
# Feb 21st 2020, 08:08 spriz thank god for phpstorm spelling check :,)
# Feb 21st 2020, 08:08 spriz Sorry about that :)
# Feb 21st 2020, 08:08 spriz Well do'h - `frozen_until` vs `frozen_untill`
# Feb 21st 2020, 08:04 spriz I have a special `edit()`-ish action where I want API consumers only to change 1 field in the entity
# Feb 21st 2020, 08:03 spriz Heya! Is there some sneaky way to do something like this: ``` $this->Crud->action()->setConfig('saveOptions', [ 'accessibleFields' => [ '*' => false, 'frozen_until' => true, ], ]);``` This code does not work :) :)
# Feb 21st 2020, 06:54 javier.villanueva morning all
# Feb 21st 2020, 06:24 christianjohn.gss goodmorning
# Feb 21st 2020, 06:24 alexdd55976 morning dudes
# Feb 21st 2020, 06:00 admad Bil8411: muffin/webserice is a good (if not the best) way to organize access to REST source. If you mention specifics about what problem you are having someone might be able to help you
# Feb 21st 2020, 05:08 christianjohn.gss thank you. i used `$this->Auth->user()` then redirect to another controller's method
# Feb 21st 2020, 03:55 matthttam @christianjohn.gss In the Users controller under the logon function probably. https://book.cakephp.org/4/en/tutorials-and-examples/cms/authentication.html
# Feb 21st 2020, 03:47 christianjohn.gss where can i insert code to redirect me on dashboard if user is logged in? my current situation is that the user is logged in and i open again the app on different tab, it goes back to login page
# Feb 21st 2020, 03:30 Bil8411 I've been trying for days now to figure out an ORM setup for accessing a remote REST api. I've been working to implement Muffin/Webservice ^4.0 (beta) but I'm not having much luck. Am I going about this all wrong? What is the best way to organize using a remote REST source using cakephp 4.x?
# Feb 21st 2020, 03:30 challgren Do you have a ddos service such as Cloudflare that is maybe blocking it?
# Feb 21st 2020, 03:28 challgren Have you tried replicating the request with postman? Checking logs? Checking auth
# Feb 21st 2020, 03:25 itamer Cake seems to be throwing 302 headers when a bot visits but 200 headers when a human visits. Where's all that happening?