# |
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 |
# |
Aug 14th 2019, 15:31 |
louis |
@neon1024 In most case, I put private files out of webroot. Then I create a DocumentController that serve files using permissions |
# |
Aug 14th 2019, 15:31 |
steinkel |
neon1024 under /files ? |
# |
Aug 14th 2019, 15:31 |
steinkel |
serialize the conditions? |
# |
Aug 14th 2019, 15:28 |
kailas |
so not just for debug, informational purposes |
# |
Aug 14th 2019, 15:27 |
kailas |
@steinkel i need to store that SQL for use later |
# |
Aug 14th 2019, 15:27 |
neon1024 |
In some places I’ve been `public_html` which seems obvious, but `webroot` I can’t think of the opposite of that |
# |
Aug 14th 2019, 15:27 |
kailas |
@steinkel |
# |
Aug 14th 2019, 15:27 |
neon1024 |
What file structure do people use for private, non-public, files? |
# |
Aug 14th 2019, 15:25 |
steinkel |
kailas you can check sql generated in DebugKit or if you enable `log` option in your Datasource configuration and check queries.log file |
# |
Aug 14th 2019, 15:19 |
kailas |
if I have a finder, how can I get the fully populated SQL that will be executed (not just the PDO representation with the :c0, etc.)? |
# |
Aug 14th 2019, 15:17 |
davorminchorov |
nevermind, the values are in the url |
# |
Aug 14th 2019, 15:14 |
davorminchorov |
Anyone ever had a problem overriding the default config? I am trying to override some queue package configuration defaults with my own values and some of the values are not overriding like queue and timeout, the values are the same even after overriding them with dummy data. |
# |
Aug 14th 2019, 14:58 |
kailas |
that’d happen in a shell script |
# |
Aug 14th 2019, 14:58 |
kailas |
I want to be able to save this search to run on a regular basis and an action to be taken with the results |
# |
Aug 14th 2019, 14:57 |
kailas |
yeah. I’ve created a component that will create search fields for my model (based on a parameterized array for field types, etc.). it’ll take the query string and return the finder with the results. |
# |
Aug 14th 2019, 14:48 |
spriz |
That sounds a bit funky :thinking_face: How are those searches made? From user input? |
# |
Aug 14th 2019, 14:44 |
jh |
@steinkel |
# |
Aug 14th 2019, 14:44 |
jh |
yes I know |
# |
Aug 14th 2019, 14:36 |
steinkel |
ionas maybe using redis instead of memcache, it would keep a file based state you can pick up if the server goes down |
# |
Aug 14th 2019, 14:23 |
jh |
(new \FlexiFlatCms\Shell\RoutesShell())->cache('build', $portalName) |