Commit Graph
54 Commits
Author SHA1 Message Date
Eneko Illarramendi 1154d632a2 chore: update currencies list from OpenNode 2020-04-19 23:36:57 +02:00
Eneko Illarramendi 57c26ed2bb chore: outline some buttons 2020-04-18 23:17:16 +02:00
Eneko Illarramendi 9e98dae317 chore: update js dependencies 2020-04-18 09:18:56 +02:00
Eneko Illarramendi d4c9043278 feat(core): delete expired payments 2020-04-17 21:13:57 +02:00
Eneko Illarramendi d03e472cc2 feat(core): add search to payments table 2020-04-17 21:13:32 +02:00
Eneko Illarramendi de75057a15 chore: remove legacy frontend libraries 2020-04-17 20:43:14 +02:00
Eneko Illarramendi a455379ee1 refactor(tpos): migrate extension 2020-04-17 20:39:23 +02:00
Eneko Illarramendi fd4dddda6e chore: rename api-key-macaroon 2020-04-16 20:58:16 +02:00
Eneko Illarramendi a834a64319 refactor(withdraw): migrate extension to Vue 2020-04-16 20:58:16 +02:00
Eneko Illarramendi dd23b20090 chore: various tweaks 2020-04-16 20:58:16 +02:00
Eneko Illarramendi 490e166f75 refactor: improve database migrations 2020-04-16 20:58:16 +02:00
Eneko Illarramendi af5269e239 refactor: add core.utils for creating and paying invoices
This methods can be used by extensions too.
2020-04-11 23:15:24 +02:00
Eneko Illarramendi 4397a6cab3 feat: use cerberus schemas to validate POST data 2020-04-11 20:16:54 +02:00
Eneko Illarramendi 768f0427e7 feat(paywall): extension basics 2020-04-05 12:20:03 +02:00
Eneko Illarramendi fb7dfb3a32 chore: minor fixes 2020-04-05 12:19:25 +02:00
Eneko Illarramendi 8dc2143080 chore: update requirements 2020-04-03 22:52:08 +02:00
Eneko Illarramendi a81de95f73 chore(vue): use g for consistency with Flask 2020-04-03 22:38:50 +02:00
Eneko Illarramendi d0b44eada9 chore: brokenbits example extension 2020-04-03 22:28:25 +02:00
Eneko Illarramendi 649cc888ab refactor: /wallet tweaks 2020-04-01 22:18:46 +02:00
Eneko Illarramendi d03785558b refactor: a wallet is a wallet is a wallet 2020-03-31 19:05:25 +02:00
Eneko Illarramendi 75d97ddfc1 refactor: camera ready 2020-03-10 23:12:22 +01:00
Eneko Illarramendi 49addb8d56 refactor: breaking bad 2020-03-08 23:00:41 +01:00
Eneko Illarramendi d862b16ee6 refactor: "payments" is the name, and API updates 2020-03-07 22:27:00 +01:00
Eneko Illarramendi 7996c48b70 chore: remove wait option for LntxbotWallet 2020-03-05 23:01:37 +01:00
Eneko Illarramendi 9382381144 chore: initial version of tx chart 2020-03-05 23:01:37 +01:00
Eneko Illarramendi f98a5040ac refactor: decorators, models and more broken bits 2020-03-04 23:11:15 +01:00
Eneko Illarramendi 30cf2e9f99 feat: automatically import extension blueprints 2020-02-19 20:52:34 +01:00
Eneko Illarramendi 6e921e5102 chore: update requirements 2020-02-18 21:01:28 +01:00
Eneko Illarramendi e5915bc493 refactor: add a simple config file to extensions
It makes possible to automagically keep the extensions admin page updated.
2020-02-18 20:27:04 +01:00
Eneko Illarramendi 0d33bc2933 refactor: remove databases from code an use schemas instead
All databases are now saved together in the same LNBITS_DATA_FOLDER.
Extensions have to define a schema.yml file for creating the necessary database.
2020-02-10 19:40:01 +01:00
Eneko Illarramendi 9e90aabead refactor: use Flask Blueprints to organize extensions
- extensions are now blueprints: keep views, templastes and statics in the same folder
- increase app security using `flask-talisman`
- whenever possible use {{ url_for }} for links between pages
- remove references to non-existing JavaScript code
- add missing favicon.ico
2020-01-31 21:07:05 +01:00
Eneko Illarramendi 4beb7be852 refactor: rename faucet extension 2020-01-31 20:25:14 +01:00
Eneko Illarramendi f10585abe1 chore: update requirements 2020-01-31 20:20:45 +01:00
Eneko Illarramendi 4c739dbb90 fix: don't call r.json() until we know we have a response 2020-01-16 14:26:51 +01:00
Eneko Illarramendi 0d517b884a refactor: code review 2020-01-16 13:58:27 +01:00
Eneko Illarramendi 2bb30aa880 fix: LND invoice payments and status checks 2020-01-11 23:51:35 +01:00
Eneko Illarramendi 6d019bcb2b fix: get correct LND payment_hash 2020-01-11 23:31:07 +01:00
Eneko Illarramendi 47b93a97d6 refactor: unify responses in backend wallets 2020-01-10 21:26:42 +01:00
Eneko Illarramendi 676fa29852 chore: update requirements 2020-01-10 13:43:52 +01:00
Eneko Illarramendi 9a21cee902 refactor: change folder case 2019-12-17 17:04:51 +01:00
Eneko Illarramendi 0ddf6f76c9 chore: use lnurl.LnurlWithdrawResponse instead of a magic .handle() 2019-12-15 09:39:59 +01:00
Eneko Illarramendi da6b67a1ad fix: redirect to homepage when no more user_wallets are found 2019-12-15 09:18:06 +01:00
Eneko Illarramendi 80c43701b3 refactor: clean lnurlwallet view 2019-12-14 12:24:21 +01:00
Eneko Illarramendi 21a6958458 fix: minor issues 2019-12-14 11:08:54 +01:00
Eneko Illarramendi 5849ffc678 refactor: abstract wallets 2019-12-14 10:13:27 +01:00
Eneko Illarramendi e5dc309eb1 refactor: clean database calls in api_checkinvoice view 2019-12-13 23:22:49 +01:00
Eneko Illarramendi 3f7c7e7807 chore: clean imports 2019-12-13 23:02:56 +01:00
Eneko Illarramendi d875bb84bd refactor: clean database calls in api_transactions view
And minor fixes.
2019-12-13 23:02:56 +01:00
Eneko Illarramendi badc60f44e chore: this looks better 2019-12-13 23:02:56 +01:00
Eneko Illarramendi dfd00cfe05 refactor: clean database calls in /v1/invoices view
And return fails first to simplify if..else and make the
code more readable.
2019-12-13 23:02:56 +01:00
Eneko Illarramendi 52f31da4f8 refactor: clean database calls in wallet view 2019-12-13 18:41:22 +01:00
Eneko Illarramendi 69a979eb8f refactor: ad a Database class and clean deletewallet view 2019-12-13 18:14:25 +01:00
Eneko Illarramendi 7c6c7a2bf6 refactor: move encrypt() function to helpers 2019-12-13 17:59:40 +01:00
Eneko Illarramendi 3d3632a06f refactor: add some dev files and black original code
Original server code has been moved to __init__ file, so we can
work on `lnbits` as a package.
2019-12-13 17:56:19 +01:00