# |
Oct 7th 2016, 17:03 |
doonot |
I have a strange problem when trying to test my CakePHP 3 app. When I start unit tests, some methods like beforeEvent() from the AppController are accessing the normal DB and not de test DB. Is this supposed to be like that? |
# |
Oct 7th 2016, 16:40 |
nemmons |
julez which version of cake |
# |
Oct 7th 2016, 15:52 |
asdfXXasdf |
Neon1024: Authentication locally, authorization with OAuth by remote calls? |
# |
Oct 7th 2016, 15:52 |
asdfXXasdf |
Neon1024: What do you mean with locally? |
# |
Oct 7th 2016, 15:47 |
Neon1024 |
Oh I see, I would manage that locally :) |
# |
Oct 7th 2016, 15:43 |
asdfXXasdf |
Neon1024: I think OAuth only supports Authorization, not Authentication... That's why I want to use OpenID ;-) |
# |
Oct 7th 2016, 15:42 |
Neon1024 |
Iz gud. |
# |
Oct 7th 2016, 15:42 |
Neon1024 |
OAuth2 |
# |
Oct 7th 2016, 15:42 |
Neon1024 |
Then use OAuth |
# |
Oct 7th 2016, 15:41 |
asdfXXasdf |
Neon1024: Probably not. I just want to use my own OpenID service with hybridauth as a client. |
# |
Oct 7th 2016, 15:41 |
Neon1024 |
Or perhaps Iâ??m thinking of OAuth? |
# |
Oct 7th 2016, 15:41 |
Neon1024 |
There are probably more adapters than youâ??d need |
# |
Oct 7th 2016, 15:41 |
Neon1024 |
Iirc |
# |
Oct 7th 2016, 15:41 |
Neon1024 |
It supports OpenID already |
# |
Oct 7th 2016, 15:41 |
Neon1024 |
asdfXXasdf: You read right, but incorrectly |
# |
Oct 7th 2016, 15:40 |
asdfXXasdf |
I read that hybridauth supports only specific providers. Does anybody know how to implement an additional OpenID provider? |
# |
Oct 7th 2016, 15:24 |
dakota |
0.9.9 is a very old version |
# |
Oct 7th 2016, 15:17 |
rchavik |
but recent ones should be headless and does not need xvfb afaik |
# |
Oct 7th 2016, 15:17 |
maikh |
yes, im reading... |
# |
Oct 7th 2016, 15:17 |
rchavik |
maikh, http://stackoverflow.com/questions/9604625/wkhtmltopdf-cannot-connect-to-x-server |
# |
Oct 7th 2016, 15:15 |
rchavik |
hmm, maybe try updating to a more recent version maikh |
# |
Oct 7th 2016, 15:13 |
maikh |
0.9.9 |
# |
Oct 7th 2016, 15:12 |
rchavik |
maikh what is the version of wkhtmltopdf ? |
# |
Oct 7th 2016, 15:08 |
maikh |
cannot connect to X server |
# |
Oct 7th 2016, 15:06 |
dakota |
To test it, run wkhtmltopdf in terminal |
# |
Oct 7th 2016, 15:06 |
dakota |
And preferably in your PATH environment variable |
# |
Oct 7th 2016, 15:06 |
dakota |
ensure the binary is executable and somewhere that the webserver can access |
# |
Oct 7th 2016, 15:06 |
nemmons |
ah okay |
# |
Oct 7th 2016, 15:06 |
maikh |
@nemmons this part is done ;) |
# |
Oct 7th 2016, 15:05 |
nemmons |
maikh what user is running your webserver? |
# |
Oct 7th 2016, 15:05 |
bravo-kernel |
:face_with_rolling_eyes: |
# |
Oct 7th 2016, 15:05 |
dakota |
download http://wkhtmltopdf.org/ |
# |
Oct 7th 2016, 15:05 |
dakota |
Itâ??s very easy to run it |
# |
Oct 7th 2016, 15:05 |
maikh |
i know... i meant the github "friendsofcake" |
# |
Oct 7th 2016, 15:05 |
bravo-kernel |
we are all friendsofcake x) |
# |
Oct 7th 2016, 15:04 |
maikh |
@dakota are you a "friendsofcake" |
# |
Oct 7th 2016, 15:02 |
maikh |
i dont get it run... :( |
# |
Oct 7th 2016, 14:48 |
dakota |
And full css3 |
# |
Oct 7th 2016, 14:48 |
dakota |
wkhtmltopdf is the one to use if you want speed :slightly_smiling_face: |
# |
Oct 7th 2016, 14:44 |
spriz |
one really shouldnâ??t use bootstrap in dompdf :,) |
# |
Oct 7th 2016, 14:44 |
nemmons |
Haha that probably explains it |