# |
Jun 9th 2019, 08:07 |
challgren |
Stand by I'm on mobile |
# |
Jun 9th 2019, 08:06 |
ra7bi |
i got an error ` View class "CakePdf.pdf" is missing ` |
# |
Jun 9th 2019, 08:05 |
ra7bi |
maybe i can have idea how you make it work |
# |
Jun 9th 2019, 08:05 |
ra7bi |
@challgren Can u show me your controller |
# |
Jun 9th 2019, 08:04 |
challgren |
Try putting it in your app.php, Im not really sure if that works in bootstrap |
# |
Jun 9th 2019, 08:03 |
ra7bi |
i've the config in bootstrap.php after `Plugin:::load` |
# |
Jun 9th 2019, 08:03 |
challgren |
This is mine but I use WkHtmlToPdf |
# |
Jun 9th 2019, 08:03 |
challgren |
@ra7bi Do you have the config in your app.php? |
# |
Jun 9th 2019, 08:02 |
ra7bi |
any idea what could be the problem ? |
# |
Jun 9th 2019, 08:01 |
ra7bi |
i used composer to download the plugin and also composer to download Mpdf |
# |
Jun 9th 2019, 08:01 |
ra7bi |
Hey , im trying to use CakePdf plugin but when i render the view it shows blank pdf and when i download it and open it with notepad i can see html code |
# |
Jun 9th 2019, 04:45 |
challgren |
That should be it |
# |
Jun 9th 2019, 03:38 |
adithya |
I have added the redirect url on my FB app settings page in the valid oauth redirections section, is this it or am I missing something? |
# |
Jun 9th 2019, 00:50 |
challgren |
If you also need to extend/customize the Writer look at the DefaultWriter. |
# |
Jun 9th 2019, 00:48 |
JDD_Canada |
league/flysystem-webdav - there is my nextcloud adapter, sweeeeeeetttt |
# |
Jun 9th 2019, 00:48 |
JDD_Canada |
oh wow. Thanks man |
# |
Jun 9th 2019, 00:47 |
challgren |
https://github.com/FriendsOfCake/awesome-cakephp |
# |
Jun 9th 2019, 00:44 |
JDD_Canada |
I guess is hsould have checked foc first to see if they had a plugin |
# |
Jun 9th 2019, 00:44 |
JDD_Canada |
thanks, I'll try this |
# |
Jun 9th 2019, 00:44 |
JDD_Canada |
aaaah |
# |
Jun 9th 2019, 00:44 |
JDD_Canada |
well, already the docs seem better. I am going to want to extend it with a nextcloud adapter in the next dev round. |
# |
Jun 9th 2019, 00:44 |
challgren |
josegonzalez/cakephp-upload is what you need for composer |
# |
Jun 9th 2019, 00:43 |
challgren |
It uses Flysystem which has a ton of Adapters |
# |
Jun 9th 2019, 00:42 |
challgren |
https://github.com/FriendsOfCake/cakephp-upload |
# |
Jun 9th 2019, 00:42 |
JDD_Canada |
thanks |
# |
Jun 9th 2019, 00:41 |
challgren |
FOC |
# |
Jun 9th 2019, 00:41 |
JDD_Canada |
I will take a look right now :P |
# |
Jun 9th 2019, 00:41 |
challgren |
Have you looked into FOK/Upload? |
# |
Jun 9th 2019, 00:41 |
JDD_Canada |
Ive never really understood the event system, I am struggling here |
# |
Jun 9th 2019, 00:41 |
JDD_Canada |
I am trying to figur eout burzum/filestorage |
# |
Jun 9th 2019, 00:41 |
challgren |
Depends on what your doing |
# |
Jun 9th 2019, 00:40 |
JDD_Canada |
There is no functional difference between adding code to bootstrap.php, or putting inside the bootstrap() function of Application.php, correct? |
# |
Jun 9th 2019, 00:37 |
JDD_Canada |
oh, I feel much better now. These guys have a hodgepodge of dropbox, shareit, sharepoint, they have no idea where anything is hah ha. Thanks for the input |
# |
Jun 9th 2019, 00:16 |
challgren |
Yeah I wrote all those rate limits and alerting and it hasnt been triggered once either |
# |
Jun 9th 2019, 00:15 |
challgren |
Yeah my use case was a contractor could work for a number of tenants and/or be a tenant so the UUID was the best way to allow the contractor to access the job |
# |
Jun 9th 2019, 00:14 |
JDD_Canada |
Ah, that's great. I am not the only one with this idea :) that ratelimiting and blocking is a fantastic idea, no one is going to guess a uuid in 5 tries hah ha Thanks |
# |
Jun 8th 2019, 23:27 |
challgren |
@JDD_Canada thats my implementation for the contractors, yeah its not the best but its better than being public. Plus you can have rate limiting and a blacklist for invalid URLs. In my app if someone access a Invalid UUID more than 5 times they are blacklisted from accessing them for 5 minutes, then if they try 3 more times in a 24 hour period I’m alerted about the IP and can choose to firewall it if needed. |
# |
Jun 8th 2019, 23:24 |
challgren |
@adithya You need to whitelist the url with Facebook |
# |
Jun 8th 2019, 18:24 |
adithya |
Hi, I'm using admad's hybrid auth plugin and I'm trying to integrate FB login and I have whitelisted my redirect url to https://mywebsite/hybrid-auth/endpoint but fb is still throwing an error asking me to whitelist the redirect uri, can somebody please help me figure this? |
# |
Jun 8th 2019, 17:57 |
JDD_Canada |
I suppose i'm a little nervous putting business logic and data on a public access uri. Feedback for other devs using cake will give me the bit of handholding I need to take the risk hah hah |
# |
Jun 8th 2019, 17:55 |
JDD_Canada |
is before, and if so, considerations they took. Right now, the client is sharing with share it, and they have all their info in excel files, and the public links are awful :/ |