# |
Aug 14th 2019, 16:58 |
jotpe |
How do i fix this |
# |
Aug 14th 2019, 16:58 |
jotpe |
I've got a `Identity found in request does not implement Authentication\IdentityInterface` when using the Authentication+Authorization Middlewares together. The AuthenticationHelper seem to cause this because the Ientity is of Authorization\IdentityDecorator |
# |
Aug 14th 2019, 16:57 |
neon1024 |
As that feels more correctly, than unlocking the action |
# |
Aug 14th 2019, 16:56 |
neon1024 |
When I am creating a form for Ajax, can I generate a `_Token` for the Security middleware? |
# |
Aug 14th 2019, 16:45 |
dereuromark |
People can also look into open ticket on backporting more features, this also decreases diff. |
# |
Aug 14th 2019, 16:40 |
dereuromark |
There is always change. You just have to handle it the smart way. FC/BC Shimming is one option. |
# |
Aug 14th 2019, 16:38 |
neon1024 |
That have deprecations fixed already I mean obviously |
# |
Aug 14th 2019, 16:38 |
neon1024 |
I didn’t think 4.0 was supposed to break 3.8+ compatible apps |
# |
Aug 14th 2019, 16:37 |
dereuromark |
I now released some more 4.x FC shims for 3.x apps - https://github.com/dereuromark/cakephp-shim/releases - If you plan on upgrading to 4.x they might be useful to include in your 3.x apps for "forward compatibility" :slightly_smiling_face: |
# |
Aug 14th 2019, 16:23 |
spriz |
I was not even aware of that |
# |
Aug 14th 2019, 16:23 |
spriz |
I see |
# |
Aug 14th 2019, 16:19 |
neon1024 |
Long term I think we’ll be moving to AWS and Call Connect |
# |
Aug 14th 2019, 16:18 |
neon1024 |
I think we’re moving to Semafone and Avaya |
# |
Aug 14th 2019, 16:17 |
spriz |
what stuff ya using? :) We recently moved to Aircall |
# |
Aug 14th 2019, 16:17 |
spriz |
sure! :muscle: |
# |
Aug 14th 2019, 16:16 |
neon1024 |
Hardly ideal, but, build fast, grow solid right? ;) |
# |
Aug 14th 2019, 16:16 |
neon1024 |
..but all the other functionality revolves around being able to process a call, so I’ve got to stub it |
# |
Aug 14th 2019, 16:15 |
neon1024 |
The spec is as solid as quicksand :face_palm: |
# |
Aug 14th 2019, 16:15 |
spriz |
Makes sense - yeah I'd just go with some random folder until that, then as mock :) |
# |
Aug 14th 2019, 16:15 |
neon1024 |
etc etc |
# |
Aug 14th 2019, 16:15 |
neon1024 |
The current call recorded will be going away, and doesn’t have an api |
# |
Aug 14th 2019, 16:15 |
neon1024 |
Well we’re changing the phone system |
# |
Aug 14th 2019, 16:15 |
neon1024 |
I can consider these options when I know how I am getting the files :slightly_smiling_face: |
# |
Aug 14th 2019, 16:14 |
spriz |
Ah! in that way - I thought you meant you did not know if they would come in request A or request B :) |
# |
Aug 14th 2019, 16:14 |
neon1024 |
So then I wouldn’t need any storage solution |
# |
Aug 14th 2019, 16:14 |
neon1024 |
They might be provided via api |
# |
Aug 14th 2019, 16:14 |
neon1024 |
> Currently I don’t know where the files will come from |
# |
Aug 14th 2019, 16:14 |
neon1024 |
Great, but you missed this bit |
# |
Aug 14th 2019, 16:14 |
spriz |
with https://github.com/WyriHaximus/FlyPie it's plug'n'play :ok_hand: |
# |
Aug 14th 2019, 16:13 |
spriz |
You can always swap out filesystems, local, s3, google cloud, dropbox, whatever you want :) |
# |
Aug 14th 2019, 16:13 |
spriz |
@neon1024 Gogogo Flysystem and S3 or something alike :) |
# |
Aug 14th 2019, 16:03 |
jotpe |
Is there somewhere a good practical example how to use the Authentication and Authorization Plugin? |
# |
Aug 14th 2019, 15:45 |
neon1024 |
I should get on that really |
# |
Aug 14th 2019, 15:39 |
neon1024 |
Ah, we haven’t got to a deployment tool yet :( |
# |
Aug 14th 2019, 15:38 |
steinkel |
a symlink to the shared folder would be good if you want to keep them between deployments |
# |
Aug 14th 2019, 15:37 |
steinkel |
I usually add 'files' to project config and place them under the `shared` folder, if you use this deployphp for deployment... https://github.com/deployphp/deployer/blob/master/recipe/cakephp.php#L17 |
# |
Aug 14th 2019, 15:36 |
neon1024 |
Yes, that’s a great though. I hadn’t thought of that yet. Currently I don’t know where the files will come from. So I’m using some test files to kind of stub out the functionality, and I’ll build the import later on :slightly_smiling_face: |
# |
Aug 14th 2019, 15:33 |
steinkel |
or tmp/files if disposable but I'd say if you can use a 3rd party storage like s3 that would be better |
# |
Aug 14th 2019, 15:32 |
neon1024 |
Clearly I need another coffee |
# |
Aug 14th 2019, 15:32 |
neon1024 |
@steinkel Clever! ;) |
# |
Aug 14th 2019, 15:32 |
neon1024 |
Indeed, but where do you put them was my question |