# |
May 26th 2016, 23:41 |
Joeycake |
I have a cake app that requires logging in, and it redirects to the login page, but it also shows the "not authorized" message. |
# |
May 26th 2016, 23:34 |
Joeycake |
Is there a way to turn off the auth message for a specific view? |
# |
May 26th 2016, 22:02 |
phpcoder |
is it possible to change the paginator count query? i need to count using the "distinct", like COUNT(distinct Agents.id) |
# |
May 26th 2016, 21:38 |
ionas |
anyway cant figure why the test cases dont succeed |
# |
May 26th 2016, 21:38 |
ionas |
ah right |
# |
May 26th 2016, 21:28 |
bravo-kernel |
`phpunit` |
# |
May 26th 2016, 21:28 |
bravo-kernel |
`composer install` |
# |
May 26th 2016, 21:21 |
ionas |
and need to run tests |
# |
May 26th 2016, 21:21 |
ionas |
now I am in [/var/www/app/vendor/cakephp/cakephp]-[git fixExistsIn] |
# |
May 26th 2016, 21:11 |
ionas |
ah now |
# |
May 26th 2016, 21:11 |
ionas |
git pull upstream master |
# |
May 26th 2016, 21:11 |
ionas |
eh |
# |
May 26th 2016, 21:11 |
ionas |
somehow I cannot use git@github.com:cakephp/cakephp.git for git pull origin upstream |
# |
May 26th 2016, 21:11 |
ionas |
but its also different vagrant boxes |
# |
May 26th 2016, 21:11 |
ionas |
why not |
# |
May 26th 2016, 21:11 |
ionas |
copyingâ?¦ good idea actually |
# |
May 26th 2016, 21:09 |
nrother |
or maybe you should just set up it all the may the want and copy that folder every time you want to try something? |
# |
May 26th 2016, 21:08 |
nrother |
theres also the app template containing a lot of demo configuration |
# |
May 26th 2016, 21:08 |
nrother |
you can install phpunit and phpcs globally, so you don't have to have them in every project |
# |
May 26th 2016, 21:07 |
ionas |
upstream, own repo etc |
# |
May 26th 2016, 21:07 |
ionas |
I have to setup vendor/cakephp/cakephp git clone, phpunit, phpcs etc |
# |
May 26th 2016, 21:07 |
ionas |
but what I meant is after setting up fresh projects |
# |
May 26th 2016, 21:07 |
ionas |
no, I know that one its for running the tests speedy ;p |
# |
May 26th 2016, 21:06 |
nrother |
maybe you are looking for the --filter option of phpunit? |
# |
May 26th 2016, 21:06 |
ionas |
quickest best practise to run tests? |
# |
May 26th 2016, 21:05 |
ionas |
before creating PRs and possibly unit tests |
# |
May 26th 2016, 21:05 |
ionas |
I am often testing â??bugsâ? and â??featuresâ? in cake core against my live application |
# |
May 26th 2016, 21:05 |
ionas |
to make sure that you can always run unit tests |
# |
May 26th 2016, 21:05 |
ionas |
do you ahve some quick tip |
# |
May 26th 2016, 20:59 |
ionas |
hey guys |
# |
May 26th 2016, 20:24 |
slackebot |
Action: admad pokes spriz in the eye |
# |
May 26th 2016, 20:24 |
spriz |
sorry about that :P But thanks for making me double checking |
# |
May 26th 2016, 20:23 |
royalty |
haha |
# |
May 26th 2016, 20:23 |
spriz |
I guess that means Iâ??m out for today. |
# |
May 26th 2016, 20:22 |
spriz |
I thought I was passing `â??defaultâ??` but I was passing `false´ |
# |
May 26th 2016, 20:20 |
spriz |
I derped |
# |
May 26th 2016, 20:20 |
spriz |
oh wait, |
# |
May 26th 2016, 20:19 |
spriz |
`$this->initializeUI(['layout' => 'default']);` |
# |
May 26th 2016, 20:19 |
spriz |
exactly |
# |
May 26th 2016, 20:19 |
spriz |
Aye |
# |
May 26th 2016, 20:19 |
royalty |
to default? and it is showing the plug in layout? |