# |
May 26th 2016, 13:56 |
slackebot |
~tell eax about hybridauth |
# |
May 26th 2016, 13:56 |
slackebot |
Command sent from Slack by admad: |
# |
May 26th 2016, 13:55 |
saliak |
Iâ??m getting the error â??Call to undefined function App\Test\TestCase\Shell\assertTextContains()â? in a test case in a Shell. im using the Cake\TestSuite\TestCase namespace in my test. any ideas what could be going on? |
# |
May 26th 2016, 13:55 |
Eax |
nemmons: I'm using most of it? :) For why I'm not using the Form Auth - I'm using facebook to auth , so the moment I have identified a user from their facebook ID, I can just setUser($user) |
# |
May 26th 2016, 13:52 |
hmic |
because he likes the pain :p |
# |
May 26th 2016, 13:52 |
nemmons |
out of curiousity, why aren't you just using cakephp's built-in auth? |
# |
May 26th 2016, 13:48 |
Eax |
hmic : Haven't made it into a custom auth (yet) but my cookie issue remains :/ |
# |
May 26th 2016, 13:34 |
nemmons |
if someone is good with associations using custom finders in 3.x i'd appreciate a little insight here. I'm not sure if what i want to do is actually possible using 3.x's custom finders. In 2.x i defined the association using a raw SQL query. https://gist.github.com/nemmons/80075ad94519995a73513a321a69b341 is a brief overview of what i'm trying to do and what i did in 2.x |
# |
May 26th 2016, 13:33 |
Eax |
Duly noted thanks! :) |
# |
May 26th 2016, 13:31 |
hmic |
by all means, yes! |
# |
May 26th 2016, 13:31 |
hmic |
do a custom auth to check and allow users by your cookie |
# |
May 26th 2016, 13:31 |
Eax |
Like make a custom auth for it, or? |
# |
May 26th 2016, 13:31 |
hmic |
this is pretty much shit, the checking should go into the auth, not the controller |
# |
May 26th 2016, 13:31 |
Eax |
Lemme try killing it |
# |
May 26th 2016, 13:31 |
Eax |
hmic hmm good point |
# |
May 26th 2016, 13:30 |
hmic |
Eax, you've got an exit, this might prevent the cookie from beeing set at all or every other thing break |
# |
May 26th 2016, 13:29 |
fquffio |
fgarcia: yes, it has, plus it did not meet my needs, but I found it a very good source to be inspired from. :slightly_smiling_face: |
# |
May 26th 2016, 13:28 |
Eax |
hmic: Never! Need it solved :p |
# |
May 26th 2016, 13:28 |
hmic |
Eax, still not given up asking? |
# |
May 26th 2016, 13:27 |
Eax |
Ey folks! Cake3 question: I have this LoginController: https://gist.github.com/eaxexe/64442df2e6465a67fe7a0fcd98ad27f7 (It uses Facebook to auth the login, hence no password checking) - My question is: Can anyone see why the cookie simply dissapears after being set and the user being redirected? Thanks! ð??? |
# |
May 26th 2016, 13:27 |
fgarcia |
Https://github.com/josegonzalez/cakephp-upload already tried and has some bugs |
# |
May 26th 2016, 13:26 |
nemmons |
oh wow awesome |
# |
May 26th 2016, 13:26 |
hmic |
yes, flysystem is the way to go! |
# |
May 26th 2016, 13:25 |
fgarcia |
Thank you slackebot |
# |
May 26th 2016, 13:25 |
fquffio |
fgarcia, this library (http://flysystem.thephpleague.com/) provides a good level of abstraction amongst several storage options, including Amazon S3. This CakePHP 3 plugin (https://github.com/josegonzalez/cakephp-upload) makes use of that library. |
# |
May 26th 2016, 13:23 |
nemmons |
if you're on cake 2.x there's a plugin that might work for you: https://github.com/robmcvey/cakephp-amazon-s3 but i as far as i know there isn't an AWS or S3 plugin for Cake3 yet |
# |
May 26th 2016, 13:22 |
nemmons |
fgarcia, https://aws.amazon.com/sdk-for-php/ is probably a good place to start. |
# |
May 26th 2016, 13:19 |
fgarcia |
How I can upload images to Amazon S3 with cakephp 3? |
# |
May 26th 2016, 13:05 |
unorthodox |
Is there any option to find a row based on a translated field? |
# |
May 26th 2016, 12:56 |
phpcoder |
hmic, :D |
# |
May 26th 2016, 12:55 |
hmic |
its not over 80 chars, so you are still good :p |
# |
May 26th 2016, 12:54 |
phpcoder |
how can i optimize $totalAgentNotValidatedWithApplicationsToday ? :D |
# |
May 26th 2016, 12:52 |
rawroland |
Good old Bobby Tables just came up at Cakefest2016 |
# |
May 26th 2016, 12:52 |
tzvika |
'prefix' |
# |
May 26th 2016, 12:51 |
tzvika |
says unkown option ' |
# |
May 26th 2016, 12:51 |
tzvika |
for example: bin/cake bake test Controller CustomersController --prefix admin |
# |
May 26th 2016, 12:36 |
tzvika |
i couldn't find the right syntax to do that |
# |
May 26th 2016, 12:35 |
tzvika |
can i use cake bake to make a test to a controller with prefix(admin) ? |
# |
May 26th 2016, 12:34 |
spriz |
Not to cakefest :) |
# |
May 26th 2016, 12:34 |
ionas |
make some bake |
# |
May 26th 2016, 12:34 |
ionas |
bake some cake |