Mike
Mike
FFilament
Created by Mike on 9/13/2024 in #❓┊help
Implementing Content Security Policy Headers
@severfire sorry for late reply, been busy. I will send over what i created in a couple hours @Dennis Koch is there any way to have a newer filament version where we can have access to the footer scripts? What i mean, just the ability to add nonces that that script is from a verified source. The rest i took care of. The CSP issue is a big deal but also tough to implement i know, however better having some protection than none, most of the cases it needs to just block fields that have direct script tags
38 replies
FFilament
Created by Mike on 9/13/2024 in #❓┊help
Implementing Content Security Policy Headers
i started working on it but there were some javascript parts(footer if i recall correctly) that i could not have access to set nonces to so i skipped the whole thing. Its not an easy one
38 replies
FFilament
Created by Mike on 5/16/2024 in #❓┊help
Viewfield not updating state
Resolved it using $get thank you
8 replies
FFilament
Created by Mike on 5/16/2024 in #❓┊help
Viewfield not updating state
@Andrew Wallo how do i do that
8 replies
FFilament
Created by Mike on 5/16/2024 in #❓┊help
Viewfield not updating state
I cannot use closures, as it exprects mixed
8 replies
FFilament
Created by Mike on 5/15/2024 in #❓┊help
upload to s3 with thumbnails driving me nuts on filament side
@awcodes resolved thank you. i followed the default code of saveUploadedFileUsing
8 replies
FFilament
Created by Mike on 5/15/2024 in #❓┊help
upload to s3 with thumbnails driving me nuts on filament side
@awcodes But how do i hook into the upload process, if i specify the disk as s3 im unable to create the thumbnail as it appears the file upload is still in the temporary directory and events fail
8 replies
FFilament
Created by Mike on 5/1/2024 in #❓┊help
S3 image upload not getting full url?
i had it in the 'user messages' section, so my brain through exiting and reloading would go default state in the console. What a noob move lol, thank you
17 replies
FFilament
Created by Mike on 5/1/2024 in #❓┊help
S3 image upload not getting full url?
omg sorry, it is a cors issue, it was hidden in the errors section in the console. hehe. so i suppose this need to be whitelisted from s3?
17 replies
FFilament
Created by Mike on 5/1/2024 in #❓┊help
S3 image upload not getting full url?
as i said, i can probabily make this work, but this seem like an issue within filament, unless i messed some configs
17 replies
FFilament
Created by Mike on 5/1/2024 in #❓┊help
S3 image upload not getting full url?
which the image is uploaded in s3, with the following code: FileUpload::make('meta_image') ->label('Featured image') ->image() ->disk('s3') ->directory('images/posts') ->visibility('public') ->maxSize(2048) ->required(),
17 replies
FFilament
Created by Mike on 5/1/2024 in #❓┊help
S3 image upload not getting full url?
No description
17 replies
FFilament
Created by Mike on 5/1/2024 in #❓┊help
S3 image upload not getting full url?
No description
17 replies
FFilament
Created by Mike on 5/1/2024 in #❓┊help
S3 image upload not getting full url?
@Dennis Koch nope not working, on table build if i specify s3 disk for that image it works correctly but the FileUpload form will not behave the same. No cors issues, im locally developing, i think the file uploader fails to use s3 for file previews, and since the image url in the database is just the image name it never finds it. Please see images below
17 replies
FFilament
Created by Mike on 5/1/2024 in #❓┊help
S3 image upload not getting full url?
@Dennis Koch Sorry, following on this again. The thing is, isnt it supposed to append to the AWS_URL or AWS_ENDPOINT? Because this seems very counter productive. While storing the filename on db seems fine as a logical approach, im still specifying that the disk is s3, which in that case should preview the uploaded image using the s3 url declared in the env file. Correct me if wrong, as i see zero info on the net on the issue
17 replies
FFilament
Created by Mike on 5/1/2024 in #❓┊help
S3 image upload not getting full url?
Got it, thank you
17 replies
FFilament
Created by Mike on 5/1/2024 in #❓┊help
S3 image upload not getting full url?
@Dennis Koch i mean i can do it manually using states but i wonder if im doing something wrong as it makes no sense to me
17 replies
FFilament
Created by Ilham Dimas Prayudha on 12/9/2023 in #❓┊help
CreateOptionForm Modal Width
@jepewsykes Method Filament\Forms\Components\Select::modalWidth does not exist.
10 replies
FFilament
Created by Ilham Dimas Prayudha on 12/9/2023 in #❓┊help
CreateOptionForm Modal Width
any idea on this?
10 replies
FFilament
Created by Mike on 4/19/2024 in #❓┊help
Custom view OTP input not working(no js execution)?
@MohamedSabil83 Thank you, gonna test things out in a bit. between how can i add the otp input in the custom view?
3 replies