Commit Graph

5644 Commits

Author SHA1 Message Date
fiatjaf
14dfa9ecc6 big bundle of changes.
* reorganize templates even more (and a small layout break)
* rename wallets.hash and accounts.userhash to id
* refactor /wallets so it's idempotent for each param combination
* many small changes
2019-12-14 15:49:41 -03:00
fiatjaf
1cee6dad42 reorganize templates with jinja2. 2019-12-14 11:48:53 -03:00
fiatjaf
8d9ab6cc77 fix balances view. 2019-12-14 09:18:48 -03:00
fiatjaf
b4426ba021 hashes as hex. 2019-12-14 09:18:42 -03: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
fiatjaf
23ffa40f30 balances view and other minor edits. 2019-12-14 00:11:41 -03:00
fiatjaf
582aaa812b payment logic safer and adapt db calls to new schema. 2019-12-13 22:59:35 -03:00
fiatjaf
754782b598 super naïve bolt11 decoder. 2019-12-13 21:57:22 -03:00
fiatjaf
7097d01f9e move schema to sqlfile, create on init. 2019-12-13 20:34:19 -03:00
fiatjaf
978854fc72 move variables to environment. 2019-12-13 19:41:39 -03: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
Arc
37d96345c9
Update README.md 2019-12-13 14:51:40 +00:00
Arc
741dc86cea
Update README.md 2019-12-13 14:41:58 +00:00
Arc
136117065a
Update README.md 2019-12-13 14:35:07 +00:00
Arc
773e294b85
Update README.md 2019-12-13 14:34:21 +00:00
Arc
7e99a91fad
Update README.md 2019-12-13 14:33:52 +00:00
Arc
93c0f0fe41
Update README.md 2019-12-13 14:25:17 +00:00
Arc
6b9ee3a3ec
Update README.md 2019-12-13 14:21:32 +00:00
Arc
f3c38ac723
Update README.md 2019-12-13 14:18:42 +00:00
Arc
ab26878173
Update README.md 2019-12-13 14:15:28 +00:00
Arc
65806ef1cd
Update README.md 2019-12-13 14:09:42 +00:00
Arc
815df37f80
Update README.md 2019-12-13 14:08:53 +00:00
Arc
11323cc710
Add files via upload 2019-12-12 23:15:49 +00:00
Arc
9617c25d37
Add files via upload 2019-12-12 23:13:55 +00:00
Arc
340ea68696
Create README 2019-12-12 23:12:53 +00:00
Arc
2e4b266648
Add files via upload 2019-12-12 23:11:30 +00:00
Arc
b7e5bff034
Add files via upload 2019-12-12 23:08:26 +00:00
Arc
4921ffc776
Create LICENSE 2019-12-12 23:06:51 +00:00
Arc
750dd7dfbf
Add files via upload 2019-12-12 23:04:35 +00:00
Arc
5f3030401d
Create requirements.txt 2019-12-12 23:03:50 +00:00
Arc
8d4f9b0591
Delete lnbits.zip 2019-12-12 23:01:46 +00:00
Arc
e9ce0dd6f2
Add files via upload 2019-12-09 21:39:41 +00:00
Arc
eb37b15814
Update README.md 2019-12-09 21:39:02 +00:00
Arc
87ae25fdc7
Initial commit 2019-12-09 21:38:29 +00:00