New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Branding updates for 2.0 #5947
Branding updates for 2.0 #5947
Conversation
dc48116
to
0548e0f
Compare
BTCPayServer/Controllers/UIStorePullPaymentsController.PullPayments.cs
Outdated
Show resolved
Hide resolved
@dennisreimann can you document the breaking changes in the description of this PR? I will then add it to #5964 |
0d6c642
to
adec6a8
Compare
We recently removed the section the anchor links to and we'll remove the links entirely in btcpayserver#5947.
|
||
private async Task<string?> GetRelativeFilePath(string fileId) | ||
{ | ||
return (await _fileService.GetFileUrl(new Uri("/"), fileId))?.Replace("file://", ""); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return (await _fileService.GetFileUrl(Context.Request.GetAbsoluteRootUri(), fileId))?.Replace("file://", "");
It isn't something that is easy to fix, as in the migrations, there isn't any access to the Ideally, the There is I think two things we could consider:
I think About the migration: I will check later on if I can't replace it with just a simple postgres query. But a test is needed. |
We recently removed the section the anchor links to and we'll remove the links entirely in btcpayserver#5947.
We recently removed the section the anchor links to and we'll remove the links entirely in #5947.
d3cad48
to
af3722a
Compare
Rebased |
30a051f
to
dd1b9fa
Compare
Two things I noticed:
|
85fd650
to
e93372c
Compare
e93372c
to
b069c38
Compare
Done in c703a4c.
The view uses it here — it gets passed to the |
Breaking changes
Public
CustomCSSLink
andEmbeddedCSS
properties from Payment Request, Pull Payment, Point of Sale and Crowdfund. They are replaced by the unified store branding functionality.Internal
...FileId
properties (which we use in conjunction with file uploads) are replaced with (relative) URLs, which directly reference the file. This was done to allow retrieval and editing via the API. Closes Branding: Change File IDs to full URL #5953.