# |
Jul 12th 2017, 20:25 |
nicolas.r |
Yes I understand ^^ |
# |
Jul 12th 2017, 20:24 |
devito |
but that can lead down a rabit hole i really dont wana go down.. |
# |
Jul 12th 2017, 20:24 |
devito |
was thinking about doing exec and the the above |
# |
Jul 12th 2017, 20:23 |
devito |
hehe no worries |
# |
Jul 12th 2017, 20:23 |
nicolas.r |
really i dont know sorry haha |
# |
Jul 12th 2017, 20:23 |
nicolas.r |
and "parse" it maybe |
# |
Jul 12th 2017, 20:23 |
nicolas.r |
I think you need to lauch a php script to launch this cmd no ? |
# |
Jul 12th 2017, 20:23 |
nicolas.r |
In a view |
# |
Jul 12th 2017, 20:23 |
nicolas.r |
@devito bin/cake migrations status ? |
# |
Jul 12th 2017, 20:22 |
devito |
is there a way to access pending migrations in a view? I want to display to my admins fi there are pending migrations that need to be run |
# |
Jul 12th 2017, 20:18 |
nicolas.r |
Hi guys, i saw the function $this->Auth->allow(['add', 'logout']); But there is any function to not allow ? For example all a controller (unless admin) Do I need to add a function in all function of my controller to check authorization ? |
# |
Jul 12th 2017, 20:04 |
saeideng |
:loudspeaker: |
# |
Jul 12th 2017, 19:59 |
saeideng |
now |
# |
Jul 12th 2017, 19:59 |
saeideng |
in past i used locally `phpunit` but i can not use it |
# |
Jul 12th 2017, 19:58 |
saeideng |
how you test your core tests? |
# |
Jul 12th 2017, 19:58 |
saeideng |
i install it `phpunit` locally |
# |
Jul 12th 2017, 19:57 |
saeideng |
why |
# |
Jul 12th 2017, 19:57 |
saeideng |
but `phpunit` no |
# |
Jul 12th 2017, 19:57 |
saeideng |
works for me |
# |
Jul 12th 2017, 19:57 |
saeideng |
`vendor/bin/phpunit` |
# |
Jul 12th 2017, 19:50 |
saeideng |
i need test core tests |
# |
Jul 12th 2017, 19:50 |
saeideng |
i think mentioned PR is for user tests? |
# |
Jul 12th 2017, 19:48 |
sturm |
I guess I’m wondering how an average developer knows to use a certain property or method before even looking at the API for its syntax. Maybe it’s just familiarity with all of CakePHP’s classes, which is something I guess I’ll need to spend a lot of time on. |
# |
Jul 12th 2017, 19:45 |
saeideng |
:upside_down_face: |
# |
Jul 12th 2017, 19:44 |
saeideng |
thanks man |
# |
Jul 12th 2017, 19:44 |
saeideng |
dont worry |
# |
Jul 12th 2017, 19:43 |
cleptric |
Sorry saeideng, I haven’t looked into this issue at all :S |
# |
Jul 12th 2017, 19:43 |
saeideng |
:grinning: |
# |
Jul 12th 2017, 19:43 |
saeideng |
slaps CakeBot9 |
# |
Jul 12th 2017, 19:42 |
saeideng |
and not resolve for me |
# |
Jul 12th 2017, 19:41 |
saeideng |
i checkout before that commit |
# |
Jul 12th 2017, 19:41 |
saeideng |
and |
# |
Jul 12th 2017, 19:41 |
saeideng |
@cleptric i see that before |
# |
Jul 12th 2017, 19:39 |
slackebot |
Action: cleptric we need a number 9 here! |
# |
Jul 12th 2017, 19:39 |
slackebot |
Action: admad slaps CakeBot8 |
# |
Jul 12th 2017, 19:38 |
admad |
api.cakephp.org |
# |
Jul 12th 2017, 19:38 |
slackebot |
~tell @sturm about api |
# |
Jul 12th 2017, 19:38 |
slackebot |
Command sent from Slack by admad: |
# |
Jul 12th 2017, 19:38 |
admad |
@sturm you can check the API docblocks for methods/properties used in each statement |
# |
Jul 12th 2017, 19:28 |
sturm |
I can see that one of my stumbling blocks is going from “I know what I want the app to do” to “here’s the files I edit and what I put in them to make that happen.” I may be too much of a newb to really understand what each line does in the bookmarker tutorial and why they are all necessary. |
# |
Jul 12th 2017, 19:26 |
cleptric |
saeidneg: see https://github.com/cakephp/cakephp/pull/10821 but don’t ask me questions ,:) |