# |
Mar 13th 2018, 11:01 |
yadav.manu36 |
Hi all |
# |
Mar 13th 2018, 11:01 |
turkles |
is there a quick way of getting the first of the current month? |
# |
Mar 13th 2018, 10:59 |
dorxy |
but I'd try to create the interactive question first before diving into the details of changing the way it's prompted |
# |
Mar 13th 2018, 10:59 |
dorxy |
then perhaps you can implement your own IOInterface which extends the default one? (and your own shell to instantiate it probably) |
# |
Mar 13th 2018, 10:58 |
pierre-baptiste.varle |
I need th change this line, I would like to have '(conf) >' prefix instead of '>' |
# |
Mar 13th 2018, 10:57 |
pierre-baptiste.varle |
this could work but I would like to have a custom prompt https://github.com/cakephp/cakephp/blob/7d52085e6f3874abb18a5de6df73c0c1332054ad/src/Console/ConsoleIo.php#L360 |
# |
Mar 13th 2018, 10:57 |
dorxy |
:thumbsup: you should be set then :) |
# |
Mar 13th 2018, 10:57 |
pierre-baptiste.varle |
yes I read it already |
# |
Mar 13th 2018, 10:56 |
dorxy |
and for creation of a console you should check out https://book.cakephp.org/3.0/en/console-and-shells.html |
# |
Mar 13th 2018, 10:56 |
pierre-baptiste.varle |
thx I found it |
# |
Mar 13th 2018, 10:56 |
dorxy |
if you've installed CakePHP with composer it should be in your `/src/Console` folder |
# |
Mar 13th 2018, 10:55 |
pierre-baptiste.varle |
@dorxy where is Installer.php? |
# |
Mar 13th 2018, 10:54 |
pierre-baptiste.varle |
I looking for something like 'cake console' command |
# |
Mar 13th 2018, 10:53 |
dorxy |
`$io->askAndValidate` has a maximum attempts parameter and might be what you're looking for |
# |
Mar 13th 2018, 10:53 |
dorxy |
@pierre-baptiste.varle you should check out `Installer.php` |
# |
Mar 13th 2018, 10:51 |
pierre-baptiste.varle |
there is a way to have a interactive console? without a while true {$this->in()} ? |
# |
Mar 13th 2018, 10:50 |
braguzz |
if I put it in afterFind? |
# |
Mar 13th 2018, 10:44 |
reg01 |
Where can I report security vulnerabilities? |
# |
Mar 13th 2018, 10:43 |
braguzz |
(i'm on 2.x) |
# |
Mar 13th 2018, 10:43 |
reg01 |
I couldn't find anything on the website as to where to report security vulnerabilities. I would recommend adding that. |
# |
Mar 13th 2018, 10:43 |
braguzz |
some examples?? :) |
# |
Mar 13th 2018, 10:41 |
alysson-azevedo |
yes, you can. write a getter on the profstrut entity for that field that returns the titolo's data |
# |
Mar 13th 2018, 10:28 |
braguzz |
can I use a field in Titolo in a Profstrut virtulfield? |
# |
Mar 13th 2018, 10:27 |
braguzz |
Profstrut belongsTo Titolo |
# |
Mar 13th 2018, 10:27 |
braguzz |
hi all |
# |
Mar 13th 2018, 10:22 |
neon1024 |
Morning everyone |
# |
Mar 13th 2018, 10:18 |
steinkel |
^ I understand this is a qa/staging environment |
# |
Mar 13th 2018, 10:15 |
steinkel |
enable debug, you should get a more verbose message description from security component |
# |
Mar 13th 2018, 10:14 |
spriz |
@steinkel 3.4.x :) |
# |
Mar 13th 2018, 10:13 |
turkles |
Hi, is it possible to use paginate after tampering with some data? I have tried looping through my result set and adding/modifying data, but when I put the result into paginate it seems to reload the data from original query and not the modified stuff I have |
# |
Mar 13th 2018, 10:09 |
dereuromark |
acosonic: all of them resolved, right? |
# |
Mar 13th 2018, 10:04 |
steinkel |
@spriz which version of the framework? |
# |
Mar 13th 2018, 10:03 |
alysson-azevedo |
Hi. |
# |
Mar 13th 2018, 10:01 |
pierre-baptiste.varle |
Hello, anybody there? |
# |
Mar 13th 2018, 09:39 |
acosonic |
Hi all, cakephp rulez :) only 10 CVE entries... |
# |
Mar 13th 2018, 09:31 |
spriz |
anyone have an idea why cakephp would blackhole all requests to a heroku instance? :thinking_face: With “security” as reason - while it’s running with SSL already |
# |
Mar 13th 2018, 09:30 |
dereuromark |
asdfsdfsdfs : did your cat run over the keyboard? :slightly_smiling_face: |
# |
Mar 13th 2018, 09:04 |
asdfsdfsdfs |
hey |
# |
Mar 13th 2018, 09:01 |
dereuromark |
Does it work? |
# |
Mar 13th 2018, 01:47 |
dereuromark |
Wrong commit message at 3 in the morning - but hey.. :slightly_smiling_face: Good night |
# |
Mar 13th 2018, 01:47 |
dereuromark |
I might have fixed it: https://github.com/dereuromark/cakephp-tags/commit/a9b30fca9ebb88ffc65219d7a533d4f2d47d5385 |