lnbits-legend/lnbits/static/i18n
Vlad Stan d72cf40439
[feat] Pay to enable extension (#2516)
* feat: add payment tab

* feat: add buttons

* feat: persist `pay to enable` changes

* fix: do not disable extension on upgrade

* fix: show releases tab first

* feat: extract `enableExtension` logic

* refactor: rename routes

* feat: show dialog for paying extension

* feat: create invoice to enable

* refactor: extract enable/disable extension logic

* feat: add extra info to UserExtensions

* feat: check payment for extension enable

* fix: parsing

* feat: admins must not pay

* fix: code checks

* fix: test

* refactor: extract extension activate/deactivate to the `api` side

* feat: add `get_user_extensions `

* feat: return explicit `requiresPayment`

* feat: add `isPaymentRequired` to extension list

* fix: `paid_to_enable` status

* fix: ui layout

* feat: show QR Code

* feat: wait for invoice to be paid

* test: removed deprecated test and dead code

* feat: add re-check button

* refactor: rename paths for endpoints

* feat: i18n

* feat: add `{"success": True}`

* test: fix listener

* fix: rebase errors

* chore: update bundle

* fix: return error status code for the HTML error pages

* fix: active extension loading from file system

* chore: temp commit

* fix: premature optimisation

* chore: make check

* refactor: remove extracted logic

* chore: code format

* fix: enable by default after install

* fix: use `discard` instead of `remove` for `set`

* chore: code format

* fix: better error code

* fix: check for stop function before invoking

* feat: check if the wallet belongs to the admin user

* refactor: return 402 Requires Payment

* chore: more typing

* chore: temp checkout different branch for tests

* fix: too much typing

* fix: remove try-except

* fix: typo

* fix: manual format

* fix: merge issue

* remove this line

---------

Co-authored-by: dni  <office@dnilabs.com>
2024-05-28 12:07:33 +01:00
..
br.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
cn.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
cs.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
de.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
en.js [feat] Pay to enable extension (#2516) 2024-05-28 12:07:33 +01:00
es.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
fi.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
fr.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
i18n.js add i18n to frontend, still incomplete, but a start 2023-04-13 09:32:12 +02:00
it.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
jp.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
kr.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
nl.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
pi.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
pl.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
pt.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
sk.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00
we.js chore(i18n-ai-tool): use gpt-4o model + chore(i18n): update strings using the AI tool (#2511) 2024-05-22 14:18:23 +03:00