Dear s! Please post bug reports about FDM here!

Add-ons a61s

s: Alex 1a6c65

 avatar
Spheres-cu
Posts: 22
ed: Wed Jan 29, 2025 4:44 am

Re: Add-ons 1c467

Spheres-cu » Fri Apr 04, 2025 9:01 pm

Alex wrote:
Spheres-cu wrote:Ok then, have you seen my request for the digital signature of the plugin?
I'm just waiting for that to publish the first version on Github! :)

Hello,
Sorry for the long delay. In order for us to be able to sign your add-on, please write to our email with the request to sign your add-on. In that mail please include the following information:
1) URL of your GitHub repository (e.g. https://github.com/Spheres-cu/picta-fdm).
2) Hash of a commit you would like to sign (e.g. 2d8e3281852c1318e8c0097c8bb09d0f8e98c739).


Hi Alex !

Thanks for the reply, I ready send the request, but only I have one question:
For every time I make a release I have to sent this hash?

Regards!
Top
Alex
FDM Team
Posts: 2947
ed: Mon Jul 12, 2004 12:17 pm

Re: Add-ons 1c467

Alex » Mon Apr 07, 2025 2:24 am

Spheres-cu wrote:For every time I make a release I have to sent this hash?

Hello,
Yes. You can easily view it on GitHub web site.
Alex,
FDM development team
Top
 avatar
Spheres-cu
Posts: 22
ed: Wed Jan 29, 2025 4:44 am

Re: Add-ons 1c467

Spheres-cu » Mon Apr 07, 2025 11:35 pm

Alex wrote:
Spheres-cu wrote:For every time I make a release I have to sent this hash?

Hello,
Yes. You can easily view it on GitHub web site.


Hi !

Good to know !

But I don't have any after two request for a plugin signature :(

Regards !
Top
Alex
FDM Team
Posts: 2947
ed: Mon Jul 12, 2004 12:17 pm

Re: Add-ons 1c467

Alex » Tue Apr 08, 2025 12:43 am

Spheres-cu wrote:
Alex wrote:
Spheres-cu wrote:For every time I make a release I have to sent this hash?

Hello,
Yes. You can easily view it on GitHub web site.


Hi !

Good to know !

But I don't have any after two request for a plugin signature :(

Regards !


Hello,

Please sorry for this. We're still in a process of making things right. Just do what I told you and you'll get the signature if you still want it.
Alex,

FDM development team
Top
 avatar
Spheres-cu
Posts: 22
ed: Wed Jan 29, 2025 4:44 am

Re: Add-ons 1c467

Spheres-cu » Fri Apr 11, 2025 5:15 pm

Alex wrote:
Spheres-cu wrote:
Alex wrote:Hello,
Yes. You can easily view it on GitHub web site.


Hi !

Good to know !

But I don't have any after two request for a plugin signature :(

Regards !


Hello,

Please sorry for this. We're still in a process of making things right. Just do what I told you and you'll get the signature if you still want it.


Hi, Alex!

The FDM Team has send me the signature for the plugin, but it's no working, that's what is happen:

- In Github I can't use the signature with the same release commit so I edited the release putting the plugin along with the signature. But FDM give me an error of "incorrect parameter" when I try to update, this is my update.json:

Code: Select all

{
  "version" : "1.0.0",
  "distributiveUrl" : "https://github.com/Spheres-cu/picta-fdm/releases//1.0.0/picta-fdm.fda"
}


What can be happen, was is wrong?

Salutes !
Top
Alex
FDM Team
Posts: 2947
ed: Mon Jul 12, 2004 12:17 pm

Re: Add-ons 1c467

Alex » Sat Apr 12, 2025 3:53 am

Spheres-cu wrote:The FDM Team has send me the signature for the plugin, but it's no working

Hello,
I don't know what you did wrong, but here are the basic principles:
1) This signature.dat signs your plugin folder and all its contents. As soon as you change this folder in any way (except putting this signature.dat file in it) - the signature becomes invalid.
2) You just need to put this signature.dat file into your .fda file (in the same place where your manifest.json is located).

So, the final steps would be something like the following:
1) git clone repository
2) git checkout hash
3) copy signature.dat to plugin folder
4) make .fda file.
Alex,

FDM development team
Top
Alex
FDM Team
Posts: 2947
ed: Mon Jul 12, 2004 12:17 pm

Re: Add-ons 1c467

Alex » Sat Apr 12, 2025 4:10 am

Spheres-cu wrote:- In Github I can't use the signature with the same release commit

I don't know what you're talking about, but you can commit your signature.dat to your repository (if you want to) and it will remain valid until you make any changes to your plugin folder (except changing the signature itself).
Alex,

FDM development team
Top
Alex
FDM Team
Posts: 2947
ed: Mon Jul 12, 2004 12:17 pm

Re: Add-ons 1c467

Alex » Sat Apr 12, 2025 4:37 am

Spheres-cu wrote:But FDM give me an error of "incorrect parameter" when I try to update, this is my update.json:

Code: Select all

{
  "version" : "1.0.0",
  "distributiveUrl" : "https://github.com/Spheres-cu/picta-fdm/releases//1.0.0/picta-fdm.fda"
}


What can be happen, was is wrong?

It seems I understand now what you meant. Unfortunately, FDM requires for a web server to provide the exact files sizes of both update.json and picta-fdm.fda. GitHub web server does not meet this requirement. This can be a possible security flaw if we allow unknown sizes. We'll think about it.
Alex,

FDM development team
Top
Alex
FDM Team
Posts: 2947
ed: Mon Jul 12, 2004 12:17 pm

Re: Add-ons 1c467

Alex » Sat Apr 12, 2025 5:22 am

Alex wrote:It seems I understand now what you meant. Unfortunately, FDM requires for a web server to provide the exact files sizes of both update.json and picta-fdm.fda. GitHub web server does not meet this requirement. This can be a possible security flaw if we allow unknown sizes. We'll think about it.

This will be fixed in the next update of FDM. Sorry for the inconvenience.
Alex,

FDM development team
Top
 avatar
Spheres-cu
Posts: 22
ed: Wed Jan 29, 2025 4:44 am

Re: Add-ons 1c467

Spheres-cu » Wed Apr 16, 2025 4:24 pm

Alex wrote:
Alex wrote:It seems I understand now what you meant. Unfortunately, FDM requires for a web server to provide the exact files sizes of both update.json and picta-fdm.fda. GitHub web server does not meet this requirement. This can be a possible security flaw if we allow unknown sizes. We'll think about it.

This will be fixed in the next update of FDM. Sorry for the inconvenience.


Hi Alex,

Thanks again for your quick response.

I've seen that the FDM API has been upgraded to level 5, adding a Boolean flag to determine whether or not browser cookies are used.

My question, now that they're updating and adding new properties to the APP object API:

Is it possible to add an array of objects with language strings to the FORMATS object? Something similar to what's done with the SUBTITLES object, since the weighting for using the preferred language is solely up to the programmer, not the end . What I mean is, I can have the always a specific audio language, but not the one they want. There's no way the can do this unless they have the option in the form and this array with the language strings has been ed in the programming.

Apologies for my English; I'm not an expert in this language :) .

Regards
Top
Alex
FDM Team
Posts: 2947
ed: Mon Jul 12, 2004 12:17 pm

Re: Add-ons 1c467

Alex » Sat Apr 19, 2025 4:44 pm

Spheres-cu wrote:[There's no way the can do this unless they have the option in the form and this array with the language strings has been ed in the programming.

Hello,
Yes, there is no way as well as there are no requests from our s to do such a thing.
Sorry, we're not going to extend API until we sure it would be in demand.
Alex,

FDM development team
Top
 avatar
Spheres-cu
Posts: 22
ed: Wed Jan 29, 2025 4:44 am

Re: Add-ons 1c467

Spheres-cu » Wed May 07, 2025 2:05 am

Alex wrote:
Alex wrote:It seems I understand now what you meant. Unfortunately, FDM requires for a web server to provide the exact files sizes of both update.json and picta-fdm.fda. GitHub web server does not meet this requirement. This can be a possible security flaw if we allow unknown sizes. We'll think about it.

This will be fixed in the next update of FDM. Sorry for the inconvenience.


Plugin update ok:

Code: Select all

[2025-05-06T22:00:36.739][t:11372] [AppPluginUpdateManager][Www #1564]: request headers:
[2025-05-06T22:00:36.739][t:11372] [AppPluginUpdateManager][Www #1564]: GET /Spheres-cu/picta-fdm/refs/heads/main/update.json HTTP/1.1
[2025-05-06T22:00:36.739][t:11372] [AppPluginUpdateManager][Www #1564]: Host: raw.githubcontent.com
[2025-05-06T22:00:36.739][t:11372] [AppPluginUpdateManager][Www #1564]: -Agent: FDM/6.27.0.6265
[2025-05-06T22:00:36.739][t:11372] [AppPluginUpdateManager][Www #1564]: Referer: https://raw.githubcontent.com/Spheres-cu/picta-fdm/refs/heads/main/
[2025-05-06T22:00:37.091][t:11372] [AppPluginUpdateManager][Www #1564]: response headers:
[2025-05-06T22:00:37.091][t:11372] [AppPluginUpdateManager][Www #1564]: HTTP/1.1 200 OK
Top
Alex
FDM Team
Posts: 2947
ed: Mon Jul 12, 2004 12:17 pm

Re: Add-ons 1c467

Alex » Sat May 10, 2025 11:27 am

Spheres-cu wrote:Is it possible to add an array of objects with language strings to the FORMATS object?

Hello,
We'll think about it.
Alex,

FDM development team
Top
 avatar
Spheres-cu
Posts: 22
ed: Wed Jan 29, 2025 4:44 am

Re: Add-ons 1c467

Spheres-cu » Tue May 13, 2025 1:22 am

Alex wrote:
Spheres-cu wrote:Is it possible to add an array of objects with language strings to the FORMATS object?

Hello,
We'll think about it.


Hi Alex !

Thank you very much !
Top
Hishiryo
Posts: 2
ed: Fri May 16, 2025 3:39 pm

Re: Add-ons 1c467

Hishiryo » Fri May 16, 2025 3:45 pm

Well... I don't know why no one asked this question before in this thread, but, when will be a centralized FDM addons list/page/repo/ center created?
Because manually searching through all of GitHub (or some other code repository) is an incredibly slow, long, tedious, stressful, impractical, and very inconvenient task.
Last edited by Hishiryo on Sat May 17, 2025 6:01 pm, edited 1 time in total.
Top

Return to “General forum”

Who is online 3p6y2t

s browsing this forum: No ed s and 12 guests

 

  4avx