# |
Dec 27th 2019, 09:01 |
alexdd55976 |
is that correct? |
# |
Dec 27th 2019, 09:01 |
alexdd55976 |
@admad there is no parameter for ` ```['layout' => 'default']``` |
# |
Dec 27th 2019, 09:00 |
admad |
yes |
# |
Dec 27th 2019, 09:00 |
challgren |
OK, so make a test_app Mailer? to test a MailerTrait? |
# |
Dec 27th 2019, 09:00 |
admad |
test the class using the trait |
# |
Dec 27th 2019, 08:54 |
challgren |
Whats the best way to test a trait? |
# |
Dec 27th 2019, 08:44 |
challgren |
composer require friendsofcake/bootstrap-ui “3.0.0-beta” |
# |
Dec 27th 2019, 08:43 |
alexdd55976 |
can i install it with composer? i am so bad getting this composer/github logic in my head? |
# |
Dec 27th 2019, 08:39 |
alexdd55976 |
@admad oh.. 3.0 is cake4? :) |
# |
Dec 27th 2019, 08:15 |
gianmarxgagliardi |
morning |
# |
Dec 27th 2019, 07:59 |
admad |
https://github.com/FriendsOfCake/bootstrap-ui/releases/tag/3.0.0-beta |
# |
Dec 27th 2019, 07:46 |
alexdd55976 |
is there any bootstrap helper working with cake4? |
# |
Dec 27th 2019, 07:37 |
alexdd55976 |
FriendsOfCake/*bootstrap-ui crashes* :( |
# |
Dec 27th 2019, 07:22 |
alexdd55976 |
morning duderinos |
# |
Dec 27th 2019, 06:14 |
slackebot |
transactions table is a common for all type of transactions like bookings, donations, memberships so we have tracked this using pivot table for all these table. all is file but in the booking section i am stucked according to requirement and the requirement is above mentioned. please check and help me |
# |
Dec 27th 2019, 06:14 |
yadav.manu36 |
Hello I have some problem to save data with belongsToMany data but i am stuck because we have different scenarios to save data. like we have single form to save booking and transactions also we need to manage belongsToMany strategy so please help me about how to do on this task. I have 3 tables like below: 1. bookings 2. transactions 3. transactions_bookings These are managed from 1 single form in the backend/admin section. |
# |
Dec 27th 2019, 04:19 |
challgren |
Why does codecov complain about a finally? https://codecov.io/gh/narendravaghela/cakephp-mailgun/src/master/src/Mailer/Transport/MailgunTransport.php#L167 |
# |
Dec 27th 2019, 03:39 |
latenal |
It worked. Thanks |
# |
Dec 27th 2019, 03:18 |
challgren |
Anyone have an idea how to test a trait? |
# |
Dec 27th 2019, 02:48 |
jeff.black |
@latenal https://book.cakephp.org/3/en/core-libraries/httpclient.html#sending-request-bodies |
# |
Dec 27th 2019, 02:45 |
ndm |
Pass JSON data, ie a string (`json_encode(['appId' => $appId, 'secret' => $secret])`), array data is treated as form data. gn8 |
# |
Dec 27th 2019, 02:38 |
latenal |
Hey guys, how do you set a `Content-Type` in `Cake\Http\Client` post-request? I tried ```$response = $this->httpClient->post( $url, ['appId' => $appId, 'secret' => $secret], [ 'headers' => ['content-type' => 'application/json']] );``` This is what it makes: ```POST /login HTTP/1.1 accept: */* Connection: close Content-Length: 34 content-type: application/json content-type: application/x-www-form-urlencoded``` |
# |
Dec 27th 2019, 01:22 |
neothermic |
WRT the modem discussion, speed of your first modem might also be an indicator of when you first got internet... mine was like 300 baud, but we had internet in 94... :P |
# |
Dec 27th 2019, 00:22 |
challgren |
Are you sshing into the remote server? |
# |
Dec 26th 2019, 23:09 |
peppejaripappalardo |
Hello guys, with cakephp 4 i get an error for databaseconnection. ```CakePHP is NOT able to connect to the database. Connection to database could not be established: SQLSTATE[HY000] [2002] No such file or directory``` |
# |
Dec 26th 2019, 19:08 |
AlexMax |
`/join #freenode_#cakephp:matrix.org` from a Matrix client such as Riot. |
# |
Dec 26th 2019, 19:07 |
AlexMax |
So I just found out that you can join the CakePHP IRC channel using the Matrix protocol. |
# |
Dec 26th 2019, 17:33 |
ron.rattie |
My first modem was 2400 baud, I incurred many big long distances phone bills connecting to "local" BBS in Virginia when I was living in Maryland (46 yrs old now) |
# |
Dec 26th 2019, 13:20 |
ndm |
:thinking_face: |
# |
Dec 26th 2019, 13:20 |
slackebot |
<ndm> |
# |
Dec 26th 2019, 13:09 |
dsar |
I really enjoyed that era of internet |
# |
Dec 26th 2019, 13:08 |
dsar |
When I got my first 56k I was so excited to see how MOTDs of various servers were so fast to show up |
# |
Dec 26th 2019, 13:07 |
dsar |
I'm 35 years old and my first modem was a 14.4k |
# |
Dec 26th 2019, 12:47 |
challgren |
Hey I remember when you had to put the headset on the modem! |
# |
Dec 26th 2019, 12:36 |
ndm |
28k was more than enough to download sexy bill gates pictures... |
# |
Dec 26th 2019, 12:19 |
admad |
not 56k? you are old :P |
# |
Dec 26th 2019, 12:06 |
ndm |
@kailas Look, I'm not _that_ old yet, when I was in what you'd call "high school", we already had 28k super high speed modems :) |
# |
Dec 26th 2019, 03:25 |
challgren |
@ndm you are the man! ->onlyMethods() works |
# |
Dec 26th 2019, 01:53 |
ashesh.social |
is there is any possibility to add Log in middleware files ? |
# |
Dec 26th 2019, 01:06 |
challgren |
I'll have to try that, ah no worries man, I hear you man I hear yah |
# |
Dec 26th 2019, 01:04 |
ndm |
Also I'm a little drunk over here, it was a rough day, Christmas is really stressful when you're old :grimacing: |