Commit Graph
100 Commits
Author SHA1 Message Date
Vlad Stan 2edb9da387 fix: name conflict 2023-01-18 17:38:36 +02:00
Vlad Stan 795d05c109 refactor: extract extensions.py 2023-01-18 17:38:36 +02:00
Vlad Stan e7a150e708 refactor: move more logic to InstallableExtension 2023-01-18 17:38:36 +02:00
Vlad Stan 1b07768b76 refactor: use check_admin decorator 2023-01-18 17:38:36 +02:00
Vlad Stan 3ed2b3cdeb refactor: move more logic to InstallableExtension 2023-01-18 17:38:36 +02:00
Vlad Stan cb6349fd76 refactor: extract dome methods to helpers 2023-01-18 17:38:36 +02:00
Vlad Stan cae71faf37 refactor: use the new check_admin 2023-01-18 17:38:36 +02:00
Vlad Stan ece7a82b3d fix: make function async 2023-01-18 17:38:36 +02:00
Vlad Stan 8f77c3f7bf fix: handle no-path scenario 2023-01-18 17:38:36 +02:00
Vlad Stan 59d8cff1da fix: avoid conflicts with dbversions table from cashu schema 2023-01-18 17:38:36 +02:00
Vlad Stan cb24a6a4f9 fix: rating star size 2023-01-18 17:38:36 +02:00
Vlad Stan a2201c9d31 chore: add extra log 2023-01-18 17:38:36 +02:00
Vlad Stan 51c8e183d1 fix: add module_name property 2023-01-18 17:38:36 +02:00
Vlad Stan 6ec1a668ae chore: code format 2023-01-18 17:38:36 +02:00
Vlad Stan 8c1479427d fix: merge issues 2023-01-18 17:38:36 +02:00
Vlad Stan 9dfeef15fd fix: merge issue 2023-01-18 17:38:36 +02:00
Vlad Stan 76cfaf93ad fix: merge issue 2023-01-18 17:38:36 +02:00
Vlad Stan bdee9f46e3 refactor: put classes together 2023-01-18 17:38:36 +02:00
Vlad Stan 691e175370 feat: add re-routing for upgraded extension APIs 2023-01-18 17:38:36 +02:00
Vlad Stan 0d61db13ec fix: handle first time install different than subsequent updates 2023-01-18 17:38:36 +02:00
Vlad Stan a2d35f65c9 fix: enforce unique key in v-for 2023-01-18 17:38:36 +02:00
Vlad Stan 08be621529 fix: migration module name 2023-01-18 17:38:36 +02:00
Vlad Stan a6e3b5e049 feat: use hash for unique extension id 2023-01-18 17:38:36 +02:00
Vlad Stan 8f8ebbeeaa refactor: class rename and code format 2023-01-18 17:38:36 +02:00
Vlad Stan 598d2a6939 feat: re-route trafic when an extension is upgraded 2023-01-18 17:38:36 +02:00
Vlad Stan 3fbac927e9 chore: clean-up 2023-01-18 17:38:36 +02:00
Vlad Stan 6c41ac841b feat: temporary fix for upgrades 2023-01-18 17:38:36 +02:00
Vlad Stan 11815958a3 chore: remove test code 2023-01-18 17:38:36 +02:00
Vlad Stan 2d3ba2c457 fix: UI position 2023-01-18 17:38:36 +02:00
Vlad Stan 66c908e600 chore: migrate after major changes on main 2023-01-18 17:38:36 +02:00
Vlad Stan 331e93195d chore: ignore the data dir 2023-01-18 17:38:24 +02:00
Vlad Stan 1f4f4d93ca feat: add LNBITS_EXTENSIONS_MANIFESTS env var 2023-01-18 17:38:24 +02:00
Vlad Stan 4d1480eff3 fix: mypy - double import of lnurldevice_ext 2023-01-10 09:50:35 +02:00
Vlad Stan 9ed5a19bd0 Revert "fix: narrow down the list of ignore_missing_imports modules"
This reverts commit 7b6dfe1f498646cefe1bd8a5f25f3abe2d341b36.
2023-01-10 09:45:12 +02:00
Vlad Stan c54a0b4f2a fix: narrow down the list of ignore_missing_imports modules 2023-01-10 09:45:12 +02:00
Vlad Stan 5ce79d9440 chore: use list[] instead of csv for ignore_missing_imports 2023-01-10 09:45:12 +02:00
Vlad Stan 6235215c89 fix: use relative import 2023-01-10 09:45:12 +02:00
Vlad Stan 54139371f6 fix: mypy 2023-01-10 09:45:12 +02:00
Vlad Stan 5547bb69e6 fix: use relative import 2023-01-10 09:45:12 +02:00
Vlad Stan c370bd18c6 refactor: remove redundant # type: ignore 2023-01-10 09:45:12 +02:00
Vlad Stan 8cd6c7c9bc refactor: use relative imports for own module 2023-01-10 09:44:52 +02:00
Vlad Stan e97fb086cc feat: explicitly specify for which modules to ignore_missing_imports 2023-01-10 09:44:52 +02:00
Vlad Stan b764c93e7c fix: (rollback refactoring) Use the tipjar id to fetch the created tipjar 2023-01-09 14:21:14 +02:00
Vlad Stananddni ⚡ d51ba2b4fb refactor: remove redundant # type: ignore 2023-01-09 10:30:15 +01:00
Vlad Stan 50addd73dd chore: log error in debug mode 2022-12-23 22:21:14 +02:00
Vlad Stan 8a447ecc4f fix: onchain wallet deleted for charge 2022-12-23 22:15:32 +02:00
Vlad Stan 98e0ea5ae2 refactor: only use one (direction) flag for identifying payment 2022-12-22 12:23:46 +02:00
Vlad Stan a434731729 fix: update the rest of update_payment_extra calls 2022-12-22 11:28:12 +02:00
Vlad Stan b56d08a70e fix: handle extra updates for internal payments 2022-12-22 11:12:19 +02:00
Vlad Stan 7b0f9f61fc fix: remove double dict 2022-12-21 15:47:35 +02:00
Vlad Stan f3c884111d refactor: use dict.update() 2022-12-21 15:47:22 +02:00
Vlad Stan ec01c74da1 fix: mypy 2022-12-21 15:10:12 +02:00
Vlad Stan 60cd40d5e5 feat: update_payment_extra with webhook response 2022-12-21 15:06:45 +02:00
Vlad Stan 0ab99bef41 refactor: use update_payment_extra 2022-12-21 15:06:45 +02:00
Vlad Stan 8fae90bb9d feat: add webhook_headers and webhook_body to withdraws 2022-12-21 15:06:45 +02:00
Vlad Stan dd4a9f10cf feat: add function to update the extra JSON values 2022-12-21 15:06:45 +02:00
Vlad Stan b68b8a0292 fix: do not loose error, log it 2022-12-21 15:06:45 +02:00
Vlad Stan c5fdd35078 feat: store mor info about the webhook call status 2022-12-20 13:32:03 +02:00
Vlad Stan 681883a8f9 fix: catch all exceptions for webhook 2022-12-20 13:32:03 +02:00
Vlad Stan 1d509fb9d2 fix: typo Setings -> Settings 2022-12-19 11:07:24 +02:00
Vlad Stan 1f3dff16fb fix: wrong permission required 2022-12-19 11:07:02 +02:00
Vlad Stan dc0c4564af fix: merge conflict 2022-12-16 12:27:26 +02:00
Vlad StanandGitHub 2eeef5c1ed Merge branch 'main' into FinalAdminUI 2022-12-16 12:21:25 +02:00
Vlad Stan c9745f849e fix: mypy 2022-12-16 12:14:00 +02:00
Vlad Stan 1751831e57 fix: create default wallet for auto created super_user 2022-12-16 12:09:13 +02:00
Vlad Stan d596992993 feat: .env super_user overwrites DB super_user 2022-12-16 11:22:32 +02:00
Vlad Stan d6757ed2cf chore: code format 2022-12-16 10:29:53 +02:00
Vlad Stan 4ee68628cc fix: use super_admin from .env if present 2022-12-16 10:29:43 +02:00
Vlad Stan 6ccc783377 feat: store & show webhook response body 2022-12-13 13:36:21 +02:00
Vlad Stan 1859ff5e36 fix: watchonly db (not sure why it was corrupted) 2022-12-12 18:28:24 +02:00
Vlad Stan fd111a3150 fix: temp test: folded column names to lowercase 2022-12-12 18:09:26 +02:00
Vlad Stan ae194b3bc7 fix: update dbversions after merge 2022-12-12 12:18:15 +02:00
Vlad Stan 50a509dfc3 chore: code-format 2022-12-12 11:36:24 +02:00
Vlad Stan 9e61c80d02 feat: move Admin to left hand side menu 2022-12-12 11:31:29 +02:00
Vlad Stan 6a80f7c713 chore: code formatting 2022-12-12 10:52:01 +02:00
Vlad StanandGitHub 6cab77ece4 Merge branch 'main' into FinalAdminUI 2022-12-12 10:49:31 +02:00
Vlad Stan 53af4a4b99 fix: only super-user should be able to restart 2022-12-12 10:34:23 +02:00
Vlad Stan b758cb5be3 fix: remove super_admin from lnbits_admin_users 2022-12-12 10:28:53 +02:00
Vlad Stan 63ea3369d3 fix: do not hide Exception message 2022-12-12 10:20:27 +02:00
Vlad Stan 7e2b1e65a0 fix: super-user is a special read-only value that is logged to the console 2022-12-12 10:12:35 +02:00
Vlad Stan bed2eff7fb fix: send_admin_user_to_saas is not a settings method 2022-12-12 09:45:08 +02:00
Vlad Stan 3288722ef4 refactor: spit ReadOnlySettings 2022-12-09 15:13:58 +02:00
Vlad Stan e28dea97d8 fix: update the in-memory settings object when the DB is updated 2022-12-09 14:53:51 +02:00
Vlad Stan 6252119485 fix: add super_user to the lnbits_admin_users list 2022-12-09 14:53:09 +02:00
Vlad Stan 84a24c389f feat: add Admin Console icon 2022-12-09 14:27:32 +02:00
Vlad Stan b5a39e32c3 fix: old env variables 2022-12-09 14:13:41 +02:00
Vlad Stan 99e7bf5cd0 chore: code format 2022-12-09 14:09:16 +02:00
Vlad StanandGitHub 4cd2fe7ee1 Merge branch 'main' into FinalAdminUI 2022-12-09 14:06:47 +02:00
Vlad Stan 49855669a5 refactor: move init logic at the bottom 2022-12-09 13:40:22 +02:00
Vlad Stan 6d1db80bb3 refactor: build dynamically readonly_variables 2022-12-09 13:37:36 +02:00
Vlad Stan d6d42250a9 refactor: use JSON for settings 2022-12-09 13:14:22 +02:00
Vlad Stan 0ed2ec6519 refactor: extract funding sources to their own classes 2022-12-09 11:35:46 +02:00
Vlad Stan 68b4a20e26 feat: enable validator for ReadonlySettings 2022-12-09 11:06:43 +02:00
Vlad Stan 7952a462e3 feat: extract parent LNbitsSetings class 2022-12-09 10:57:53 +02:00
Vlad Stan 60bb556f2c fix: log init exceptions 2022-12-09 10:31:29 +02:00
Vlad Stan 0d4954c01a chore: temp commit (does not work); don't want to lose changes 2022-12-09 09:46:30 +02:00
Vlad Stan d15782521d refactor: include admin extension into core 2022-12-08 15:41:52 +02:00
Vlad StanandGitHub 1ff76defc3 Merge pull request #1168 from motorina0/broadcast_signed_psbt
Watchonly wallet: allow broadcast of already signed transation
2022-12-02 14:06:13 +02:00
Vlad Stan f7061da361 chore: code clean-up 2022-12-02 14:02:59 +02:00
Vlad Stan 88035305c5 fix: hide New Payment button 2022-12-02 13:46:51 +02:00