GithubHelp home page GithubHelp logo

Comments (8)

Kukks avatar Kukks commented on June 11, 2024 1

API: Permission on Refund Invoice endpoint The current permission is btcpay.store.cancreatepullpayments but it should imo be btcpay.store.cancreatenonapprovedpullpayments

I believe we can do this without a breaking change as it softens the permission

from btcpayserver.

NicolasDorier avatar NicolasDorier commented on June 11, 2024

Refactor onchain support to be similar to LN (connection string style, allows plugins to provide their own onchain tracker system instead)

@Kukks I believe it isn't possible. We are querying NBX database directly in SQL.

from btcpayserver.

pavlenex avatar pavlenex commented on June 11, 2024

Convert various UIs to Blazor

Can we be more specific when listing issues, what does this mean?

from btcpayserver.

Kukks avatar Kukks commented on June 11, 2024

Convert various UIs to Blazor

Can we be more specific when listing issues, what does this mean?

I believe it is any UI that uses Vue currently. We can work on a list later

from btcpayserver.

pavlenex avatar pavlenex commented on June 11, 2024

Alright, I understood this list should be a list of breaking changes, but it seems we're pilling quite a lot of things here, and I am trying to understand how to prioritize what is now becoming quite a massive list of tasks.

from btcpayserver.

ndeet avatar ndeet commented on June 11, 2024

2nd try, had written everything up got distracted and shut down the laptop, all gone 🙈

I have no access to tasklist so posting here for review and discussion.

API: inconsistent webhook event naming (breaking change)
We have InvoiceReceivedPayment and InvoicePaymentSettled, it would be more logical to have them aligned and change InvoiceReceivedPayment to InvoicePaymentReceived

API: Clean up store wallet docs
We have two sections in the navigation "Store Payment Methods (On Chain)" (SPM) and "Store Wallet (On Chain)" (SW), both use the same endpoint path (stores/{storeId}/payment-methods/onchain/{cryptoCode}/) and the listed endpoints are mixed up a bit.

  1. SPM has the Create store on-chain wallet endpoint listed which better fits to SW
  2. The response of above create wallet endpoint contains a legacy field which is not settable through above mentions endpoint called label that is always null on newer wallets
  3. Discuss: Preveiw store on-chain payment method addresses and Preview proposed store on-chain payment methods should also be renamed and moved to SW as it relates to wallet and not payment method, if there is a reason to have it here then maybe move Get Store onchain-wallet address to have address fetching together in one section

API: Cleanup Apps / Crowdfund / PoS (possibly breaking change)

  1. The "App" section has create/create/delete endpoints for both Crowdfund and PoS but their specific sections only 1-2 endpoints, either move everything to apps or to their specific sections
  2. Update Crowdfund endpoint is missing (at least in docs)
  3. there is only one general Delete App endpoint but not specific for crowdfund or PoS

I had a few other API related issues on my list but those inconsistencies have been already fixed.

Does anybody find the old BTCPay 2.0 megathread, afair there was one but I could not find it?

from btcpayserver.

ndeet avatar ndeet commented on June 11, 2024

API: Permission on Refund Invoice endpoint
The current permission is btcpay.store.cancreatepullpayments but it should imo be btcpay.store.cancreatenonapprovedpullpayments

from btcpayserver.

ndeet avatar ndeet commented on June 11, 2024

API: Invoice refund inconsistency
With the pull payments endpoint you can set paymentMethods as an array and if not set it will apply all available payment methods, with the invoice refund endpoint you only can pass a string and it is required too.

Suggestion: Make it a nullable array too to be consistent and more flexible

from btcpayserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.