# |
Mar 16th 2018, 11:44 |
oldskool |
@neothermic The question would be why you want to do shell stuff from your controller. The two should be separated. |
# |
Mar 16th 2018, 11:26 |
neothermic |
I don't suppose in cake2 you can get a list of shells programatically? I've spotted CommandTask::getShellList, but I don't know if there's a good way to execute that from a controller |
# |
Mar 16th 2018, 10:38 |
dereuromark |
I just released a new https://github.com/dereuromark/cakephp-ide-helper/releases/tag/0.11.0 version - with full auto-complete for element() calls. Saves me a lot of typing and typos now :slightly_smiling_face: |
# |
Mar 16th 2018, 10:31 |
pierre-baptiste.varle |
@rogerpro yes I try this but when I adding the cas auth in configuration of users plugin the cass is used after the form so never. I make it work by overwriting the configuration with Configure::write. But I had to edit the cas auth file. I will make a pr for bug fix and and my "bridge" with event listner |
# |
Mar 16th 2018, 09:52 |
neon1024 |
Ah, I’ll use Comparison :slightly_smiling_face: |
# |
Mar 16th 2018, 09:48 |
neon1024 |
Need something which implements `\Cake\Database\ExpressionInterface` |
# |
Mar 16th 2018, 09:48 |
neon1024 |
Functions are expressions right? https://book.cakephp.org/3.0/en/orm/query-builder.html#using-sql-functions |
# |
Mar 16th 2018, 09:47 |
neon1024 |
What’s a nice easy Expression to use in a select? |
# |
Mar 16th 2018, 09:37 |
slackebot |
at https://github.com/snelg/cakephp-3-cas/issues or share questions here during your try/error task. Also maybe https://www.cakedc.com/roger_campanera/2018/01/26/integrating-users-and-acl-plugins-in-cakephp can help you to figure out how two plugins work together regarding auth. |
# |
Mar 16th 2018, 09:37 |
rogerpro |
I would follow both cakedc/users and snelg/cakephp-3-cas docs and then configure them following https://github.com/CakeDC/users/blob/master/Docs/Documentation/Configuration.md#configuration-options and https://github.com/snelg/cakephp-3-cas#usage — Somehow both configure Cake’s AuthComponent, so if functionality is not overloaded I guess they must work well together (but will require some try/error). Additionaly, you can ask for a deeper d |
# |
Mar 16th 2018, 09:20 |
pierre-baptiste.varle |
I need some doc on how to use a custom auth for users plugins |
# |
Mar 16th 2018, 09:17 |
pierre-baptiste.varle |
I would like to use https://github.com/snelg/cakephp-3-cas with https://github.com/CakeDC/users I don't know how this works |
# |
Mar 16th 2018, 09:15 |
rogerpro |
Hi @pierre-baptiste.varle expose your issue and whoever knows the answer will help you |
# |
Mar 16th 2018, 08:36 |
neon1024 |
Morning all, happy Friday |
# |
Mar 16th 2018, 08:16 |
pierre-baptiste.varle |
someone is using CakeDC/users? I need help |
# |
Mar 16th 2018, 08:07 |
crazycoder |
any problem about running cakephp on windows? |
# |
Mar 16th 2018, 08:07 |
crazycoder |
hello |
# |
Mar 16th 2018, 07:52 |
megan |
@rachna Hi! Go ahead and ask your question and then if someone can help then they will jump in |
# |
Mar 16th 2018, 07:49 |
rachna |
? |
# |
Mar 16th 2018, 07:49 |
rachna |
can you help me for few thinks in cake php |
# |
Mar 16th 2018, 07:49 |
rachna |
hi |
# |
Mar 16th 2018, 07:36 |
bravo-kernel |
It would be nice to see the cakefest talks in a similar way, not wait xxx weeks/months |
# |
Mar 16th 2018, 07:36 |
vwpoit |
Ok, @savant! Thank you. |
# |
Mar 16th 2018, 07:35 |
bravo-kernel |
https://emberweekly.us4.list-manage.com/track/click?u=ac25c8565ec37f9299ac75ca0andid=ff07f64e54ande=fe23a4efd3 |
# |
Mar 16th 2018, 07:35 |
bravo-kernel |
May I ask one more time why we are not able to watch the CakeFest talks on youtube/whatever right away? I am already looking at the full Ember video right now on youtube |
# |
Mar 16th 2018, 07:12 |
rudy1976s |
morning question: can I use a cell inside another cell ? |
# |
Mar 16th 2018, 07:11 |
rudy1976s |
good morning ! |
# |
Mar 16th 2018, 07:05 |
savant |
@cookieguru if that was for submitting a talk to the conference, please reach out to @megan who can help facilitate :slightly_smiling_face: |
# |
Mar 16th 2018, 07:04 |
savant |
hope that helps (sorry for not responding earlier, was submitting talks to cakefest :P ) |
# |
Mar 16th 2018, 07:02 |
savant |
In regards to performance, that really depends upon the view itself and how its constructed for your particular datastore |
# |
Mar 16th 2018, 07:01 |
savant |
newer versions handle complex joins and subqueries in a much more performant manner |
# |
Mar 16th 2018, 07:00 |
savant |
@vwpoit I would definitely try to ensure you are using a newer version of MySQL |
# |
Mar 16th 2018, 07:00 |
savant |
james_fr: You need to `use` the class path |
# |
Mar 16th 2018, 06:49 |
james_fr |
i installed Piwik lib https://packagist.org/packages/piwik/device-detector in cakephp using composer and i can see its in vendor folder... not i want to use it in controller.. how can i do .. |
# |
Mar 16th 2018, 06:47 |
james_fr |
hi admad |
# |
Mar 16th 2018, 05:47 |
vwpoit |
It combines data from lots of different places and I'm trying to find out if creating a MySQL view directly into my database will help or not. |
# |
Mar 16th 2018, 05:46 |
vwpoit |
I ask because I keep getting very poor performance on one particular screen on my app. |
# |
Mar 16th 2018, 05:46 |
vwpoit |
Hello, everyone! I came here because I haven't found solid information on how CakePHP handles MySQL views in terms of performance. Does it cache them like it does with regular MySQL tables? If so, does that mean results are more readily available than traditional CakePHP find methods and/or queries? |
# |
Mar 16th 2018, 01:53 |
dereuromark |
We should make all magic strings auto-completeable.. |
# |
Mar 16th 2018, 01:53 |
dereuromark |
I added autocomplete for element() template calls: https://github.com/dereuromark/cakephp-ide-helper/pull/77 Can someone with PHPStorm maybe test and give feedback here? |
# |
Mar 16th 2018, 00:58 |
bez |
hi! i have a question about CakePHP 3 password hashing with DefaultPasswordHasher: does it uses the Security.salt for something? is it possible to change Security.salt in controller before hashing the password, for say, creating an account for another CakePHP application with a distinct Security.salt? |