Eneko Illarramendi
3ab29e6e50
fix: lnbits.com deploy
2020-09-28 23:49:11 +02:00
Eneko and GitHub
f60cebb072
fix: add missing assets command ( #100 )
2020-09-28 23:11:59 +02:00
Eneko Illarramendi and fiatjaf
098089af75
PREFER_SECURE_URLS, get rid of FORCE_HTTPS hacks.
2020-09-24 13:08:59 -03:00
Eneko Illarramendi and fiatjaf
d62031b068
chore: let's just call it flask_migrate
...
I think it should stay, because it can come handy for some deployment methods.
2020-09-06 21:06:01 -03:00
Eneko Illarramendi and fiatjaf
1bc5e144d3
refactor: clean up __init__ file following some Flask conventions
...
Flask extensions are loaded in a way that makes them easily reusable by blueprints.
In this commit we are also adding `environs` to manage .env and settings:
breaking changes!
- FLASK_APP=lnbits.app
- LNBITS_ALLOWED_USERS needs to be empty now to allow all users (NOT "all")
2020-09-06 21:06:01 -03:00
Eneko Illarramendi
f238b3d1ef
fix: TypedDict import
2020-09-04 21:24:30 +02:00
Eneko Illarramendi
6b33f150c6
fix: revert default python version to 3.7 in Pipfile, closes #85
...
But tests will be run on both 3.7 and 3.8 as we want to support >= 3.7
2020-09-04 21:19:06 +02:00
Eneko Illarramendi
23cfe0d417
chore: update github workflows
2020-09-03 23:10:41 +02:00
Eneko Illarramendi
a651f747ac
chore: remove gunicorn and gevent from minimum requirements
...
It is now up to the user to install these (or other) for production deployment.
More info: https://flask.palletsprojects.com/en/1.1.x/tutorial/deploy/#run-with-a-production-server
2020-09-03 19:38:01 +02:00
Eneko Illarramendi
d4f957a5c8
chore: update js vendors
2020-09-02 14:39:20 +02:00
Eneko Illarramendi
0d0e00e699
chore: update Pipfile
2020-09-02 14:31:44 +02:00
Eneko Illarramendi
e01de0eae5
chore: update requirements (but lock gevents)
...
`gevents` has been locked to avoid myNode installation problems.
2020-08-18 08:43:04 +02:00
Eneko Illarramendi
0497c603c0
fix: lnurl bugfix
...
This is not using `$ pipenv update` because apparently other package updates break mynode installations, see #65
2020-08-13 22:19:36 +02:00
Eneko Illarramendi
5831fe2ab6
Revert "fix: requirements update, including lnurl bugfix"
...
This reverts commit bc984ab0db .
2020-08-13 22:16:16 +02:00
Eneko Illarramendi
bc984ab0db
fix: requirements update, including lnurl bugfix
2020-08-04 19:22:24 +02:00
Eneko and GitHub
e746dcd787
feat: enable code scanning
2020-07-06 18:51:02 +02:00
Eneko Illarramendi
8ea72c9934
feat: add CORS headers
2020-05-18 23:33:07 +02:00
Eneko Illarramendi
aed2414f3a
fix: show better errors when a LNURL-withdraw wallet cannot be created, closes #39
2020-05-18 06:33:02 +02:00
Eneko Illarramendi
41277e6931
fix(paywall): disable create button when an invoice already exists
2020-05-09 22:52:30 +02:00
Eneko Illarramendi
8add56a24c
feat: allow limiting the use of LNbits to some user uuids
...
The `LNBITS_ALLOWED_USERS` env var can be used to limit access
to the application to some uuids only. "all" gives open access.
UUIDs should be comma separated.
2020-05-09 22:30:33 +02:00
Eneko and GitHub
171e639109
chore: add paywall address to github funding
2020-05-09 15:23:22 +02:00
Eneko Illarramendi
14d61eaf56
feat(withdraw): type casting
2020-05-08 21:12:31 +02:00
Eneko Illarramendi
63b9741c14
feat(tpos): type casting
2020-05-08 21:11:59 +02:00
Eneko Illarramendi
22451ca806
fix: allow empty values (nullable)
2020-05-08 21:10:04 +02:00
Eneko Illarramendi
e73a508011
feat(paywall): improved extension
...
- make remember cookie optional
- improve database
- improve type casting
2020-05-08 21:05:32 +02:00
Eneko Illarramendi and GitHub
42d307adf9
Merge pull request #38 from fiatjaf/adminkey-to-inkey
...
allow inkey endpoints to be accessed with adminkeys.
2020-05-05 11:09:02 +02:00
Eneko Illarramendi and GitHub
d914c3f701
Merge pull request #36 from sgeisler/2020-05-domain-https
...
Use https in base url to avoid mixed content
2020-05-04 18:34:22 +02:00
Eneko Illarramendi
9eb253fe55
fix: typo
2020-05-04 17:34:53 +02:00
Eneko Illarramendi
35fb524e1e
Update CNAME
2020-05-04 17:31:53 +02:00
Eneko Illarramendi
01c8e8a23f
Create CNAME
2020-05-04 17:27:49 +02:00
Eneko Illarramendi
b37af0c600
feat: use github pages and jekyll for docs
2020-05-04 17:20:36 +02:00
Eneko Illarramendi
a61d346669
chore: update js vendors
2020-05-04 15:33:39 +02:00
Eneko Illarramendi and GitHub
8530413537
Merge pull request #35 from sgeisler/2020-05-js-formatting-ci
...
Add JS formatting enforcenemt to CI
2020-05-04 14:56:43 +02:00
Eneko Illarramendi and GitHub
d9fe80d41b
Merge pull request #34 from fiatjaf/prettier
...
apply prettier to everything.
2020-05-03 23:40:54 +02:00
Eneko Illarramendi
083f7a0a8d
chore: use standard library's HTTP status codes
2020-05-03 15:57:05 +02:00
Eneko Illarramendi and GitHub
236bcac263
Merge pull request #26 from eillarra/less_requirements
...
refactor: remove wallet only dependencies from core
2020-05-02 19:25:47 +02:00
Eneko Illarramendi
2c5e539795
refactor: make some wallet dependencies optional
2020-05-02 19:16:10 +02:00
Eneko Illarramendi
8dfdd15adb
fix: self host icon fonts
2020-04-29 13:24:49 +02:00
Eneko Illarramendi
8442f277c4
tests: only use github for CI
2020-04-28 23:09:59 +02:00
Eneko Illarramendi and GitHub
8f76da66e8
Merge pull request #25 from sgeisler/2020-04-ci-lnpay
...
Use LNPay backend for CI
2020-04-28 08:49:30 +02:00
Eneko Illarramendi and GitHub
c951577962
Merge pull request #19 from frennkie/allow-lightning-scheme
...
Allow lightning scheme
2020-04-28 00:00:19 +02:00
Eneko Illarramendi
178fe65fb2
test: configure Travis for CI
2020-04-27 19:39:00 +02:00
Eneko Illarramendi and GitHub
0197c6c44a
Merge pull request #23 from sgeisler/mypy_fixes
...
Fix mypy errors
2020-04-27 14:39:34 +02:00
Eneko Illarramendi and Sebastian Geisler
c3e337a319
fix: mypy errors
2020-04-26 16:58:29 +02:00
Eneko Illarramendi
4b4a297c3f
refactor(paywall): remove unnecessary hashing paranoia
2020-04-25 23:55:07 +02:00
Eneko Illarramendi
ab190454f4
fix: LNbits backend wallet
2020-04-25 20:13:49 +02:00
Eneko Illarramendi and GitHub
5fe64d324d
Merge pull request #16 from sgeisler/2020-04-ci
...
Add type checking CI
2020-04-25 09:28:38 +02:00
Eneko Illarramendi
efd2cb7170
fix: use a fee reserve and actual wallet fees
2020-04-24 22:45:09 +02:00
Eneko Illarramendi
4995ab5aaf
chore: linguist config
2020-04-24 15:17:05 +02:00
Eneko Illarramendi
97f4fabea1
fix: create temporal payments to keep balance updated
2020-04-24 14:56:10 +02:00
Eneko Illarramendi
897644956a
feat: only dhow disclaimer if SERVICE_FEE has been set
2020-04-23 21:25:55 +02:00
Eneko Illarramendi
f02526585f
docs: add LNbits logos to repo
2020-04-23 18:42:27 +02:00
Eneko Illarramendi
4bf93d36c6
refactor: change the WITH_ONION env var and use FORCE_HTTPS instead
2020-04-23 18:37:22 +02:00
Eneko Illarramendi
e461e34fc0
feat(vue): move confirmDialog to LNbits.utils so we can reuse the styling
2020-04-23 07:32:45 +02:00
Eneko Illarramendi
34e6d2a7bb
chore: update requirements
2020-04-23 07:32:05 +02:00
Eneko Illarramendi
1978cafe44
chore: update supporter logos
2020-04-23 07:23:45 +02:00
Eneko Illarramendi
498eceeb46
feat: use dynamic root in api docs
2020-04-22 21:49:31 +02:00
Eneko Illarramendi
eb938c11a8
chore(paywall): minor updates
2020-04-21 23:47:21 +02:00
Eneko Illarramendi
b1da103080
chore: minor tweaks
2020-04-21 23:47:21 +02:00
Eneko Illarramendi
d90ae26062
style: icon change
2020-04-21 23:43:15 +02:00
Eneko Illarramendi
403385c205
feat: paywall extension
2020-04-21 23:42:41 +02:00
Eneko Illarramendi
fd4dc6c48f
chore: remove pending macaroon mentions
2020-04-21 23:22:01 +02:00
Eneko Illarramendi
e1c5e970c4
feat: allow disabling extensions at installation level
2020-04-21 23:17:11 +02:00
Eneko Illarramendi
f12f52db2d
fix: homepage bug
2020-04-21 23:17:11 +02:00
Eneko Illarramendi
8d328c5465
refactor: remove legacy code
2020-04-21 23:17:11 +02:00
Eneko Illarramendi
efb9deb028
feat: remove FEE_RESERVE
2020-04-21 23:17:11 +02:00
Eneko Illarramendi
5806beaeb7
feat(core): move disclaimer to wallet page
2020-04-21 23:15:50 +02:00
Eneko Illarramendi
d917feeb02
feat: prepare for deploying to Dokku
2020-04-21 23:13:37 +02:00
Eneko Illarramendi
efbba20872
style: minor tweaks
2020-04-21 23:13:37 +02:00
Eneko Illarramendi
93e51a7398
fix: wallet button
2020-04-21 23:13:37 +02:00
Eneko Illarramendi
94e524bf4c
chore: clean requirements
2020-04-21 08:17:55 +02:00
Eneko Illarramendi
364b6dc857
fix(vue): use @submit to send forms, and catch users pressing return
2020-04-21 08:16:56 +02:00
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