Commit Graph
100 Commits
Author SHA1 Message Date
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
Vlad Stan 8b0c004883 feat: allow external signed PSBT 2022-12-02 13:41:26 +02:00
Vlad Stan 3ad0463dfe feat: extract utxos. from PSBT 2022-12-02 13:40:59 +02:00
Vlad Stananddni ⚡ e3050062f3 fix: show completelink in the absence of webhook 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 44759d23ae fix: show completelink in the absence of webhook 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 92bb0979d2 feat: add Advanced toggle 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 338462af78 feat: move custom css next to the other optional fileds 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 5d1d13765d fix: custom css is optional 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ d8c34690eb fix: merge leftover 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 04a5d834d2 fix: merge bug 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ c1890d4b4c fix: SQL syntax 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 431bfd6c09 fix: sql insert 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 0dbd91048f fix: rebase clean-up 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ cc6648df85 fix: quote user column 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 798dc73fc8 fix: timestamp does not exist on themes 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 0326f3bb9e refactor: remove single use var 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ ca0373406c chore: update comment 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 179b884eb5 chore: format code 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ c7ffdfa8ac fix: object is not subscriable 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 5a4726224c fix: persist webhook call status 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 4319836195 fix: important info, should be visible in the logs 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 6c6d00fb8c refactor: move business logic logic to helpers.py 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ e0f595775c chore: code clean-up 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 871d716539 feat: store onchain charge config with the charge 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ bb16870c66 fix: center back button 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 2ca48a26a6 fix: refresh when both onchain and ln are present 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 683eb6992a fix: mempool hostname 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 13203055e9 fix: remove wallet inkey 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 948e7f0a4e fix: call webhook in the background (from the task.py) 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ a301b97766 refactor: remove duplicate code 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 5ddad18f64 fix: oldObj should not overwrite properties 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ 755ce9c7da fix: use lnbitswallet form data 2022-12-01 12:21:25 +01:00
Vlad Stananddni ⚡ c59e502519 fix: remove de-selected wallet 2022-12-01 12:21:25 +01:00