Commit Graph

658 Commits

Author SHA1 Message Date
Pavol Rusnak
5ea75be052 Introduce config.MinPasswordEntropy option
that allows an operator to set minimum entropy (in bits)
of a password to be accepted during account creation
2022-07-29 09:02:33 +02:00
kiwiidb
2bdd71c0ea Merge pull request #215 from prusnak/psql-unix-prefix
Enable "unix:" prefix for PostgreSQL connection string
2022-07-22 09:17:56 +02:00
Pavol Rusnak
487524c236 Enable "unix:" prefix for PostgreSQL connection string 2022-07-21 17:34:52 +02:00
Michael Bumann
c6a56b5aa9 Merge pull request #214 from prusnak/readme-amount-units
readme: add satoshi units to readme
2022-07-21 13:13:11 +02:00
Pavol Rusnak
c66d315f7b readme: add satoshi units to readme 2022-07-21 13:01:10 +02:00
kiwiidb
bc5f4248b9 Merge pull request #212 from prusnak/branding
Make it possible to override branding
2022-07-18 10:52:38 +02:00
Pavol Rusnak
3fa782c2d4 Make it possible to override branding 2022-07-17 22:27:42 +02:00
kiwiidb
85440ebb70 Merge pull request #211 from prusnak/typo
Fix typo and whitespace
2022-07-16 12:23:00 +02:00
Pavol Rusnak
5ac1f8dd62 Use LndHub capitalization consistently 2022-07-15 01:08:34 +02:00
Pavol Rusnak
ce0825e8be Fix typo 2022-07-14 02:17:09 +02:00
Pavol Rusnak
97abfe6178 Fix whitespace via go fmt 2022-07-14 02:17:09 +02:00
Michael Bumann
152373e87d Merge pull request #209 from prusnak/version
Fix version in documentation
2022-07-13 20:06:50 +02:00
Michael Bumann
e8986561bb Merge pull request #210 from prusnak/docs-macaroon
Explain how to bake custom macaroon
2022-07-13 20:06:16 +02:00
Pavol Rusnak
9cf670f7fe Explain how to bake custom macaroon 2022-07-10 19:15:22 +02:00
Pavol Rusnak
5a8aafd7fc Fix license identifier 2022-07-10 18:58:03 +02:00
Pavol Rusnak
362c2cbe12 Fix version in documentation 2022-07-10 18:24:27 +02:00
kiwiidb
a43779259a Merge pull request #208 from getAlby/feature/id-in-auth-response
also return user id when generating token
0.9.0
2022-07-08 11:37:26 +02:00
kiwiidb
bc8873b2b4 only return user id on create call 2022-07-08 10:06:46 +02:00
kiwiidb
4498312249 Merge pull request #207 from getAlby/refactor/username-login
replace username by login
2022-07-08 07:20:01 +02:00
kiwiidb
96c6a4f952 replace username by login 2022-07-07 14:07:28 +02:00
kiwiidb
5e31a28fa2 Merge pull request #200 from prusnak/limits
Introduce MaxReceiveAmount, MaxSendAmount, MaxAccountBalance
2022-06-30 14:35:52 +02:00
kiwiidb
fa8a1d6d61 Merge pull request #206 from prusnak/makefile
Fix makefile
2022-06-30 14:35:35 +02:00
Pavol Rusnak
12f1062913 Fix makefile
After Legacy/v2 endpoints refactoring the old build command fails with:

./main.go:152:2: undefined: RegisterLegacyEndpoints
./main.go:153:2: undefined: RegisterV2Endpoints
2022-06-30 12:31:13 +02:00
Pavol Rusnak
6740e66094 Introduce MaxReceiveAmount, MaxSendAmount, MaxAccountBalance 2022-06-30 10:55:51 +02:00
kiwiidb
5adf1a8363 Merge pull request #198 from prusnak/create-accounts-option
Make it possible to disable account creation
2022-06-30 09:45:12 +02:00
Pavol Rusnak
45e9728fb8 Make it possible to disable account creation
This covers the usecase when LndHub is used to serve closed communities
which do not want to accept new members anymore (friends, families, etc).

The PR introduces a new envconfig option CREATE_ACCOUNTS which is true
by default but can be set to false if needed.
2022-06-21 14:09:05 +02:00
kiwiidb
36c2d632f1 Merge pull request #202 from getAlby/chore/v2-api
Chore/v2 api
2022-06-20 14:29:40 +02:00
kiwiidb
13025b513d Merge pull request #199 from getAlby/chore/remove-sqlite
remove all sqlite dependencies and mentions
2022-06-18 10:53:57 +02:00
kiwiidb
5f3c325daf fix merge conflicts 2022-06-18 10:49:28 +02:00
kiwiidb
4fbfde8a3c Merge pull request #197 from getAlby/chore/mock-lnd
Chore/mock lnd
2022-06-18 10:45:47 +02:00
kiwiidb
dc891d137b fix merge conflicts 2022-06-18 10:37:08 +02:00
kiwiidb
e01f4ec9f1 update swagger groups 2022-06-17 16:36:15 +02:00
kiwiidb
7b3565a659 tested all controllers 2022-06-17 16:26:58 +02:00
kiwiidb
adba6d3006 add getinvoice endpoint 2022-06-17 15:44:54 +02:00
kiwiidb
b256a3fefe remove old api docs 2022-06-17 15:38:44 +02:00
kiwiidb
71c09f258a v2 api 2022-06-17 11:40:06 +02:00
kiwiidb
c8bdddc013 remove all sqlite dependencies and mentions 2022-06-17 08:56:00 +02:00
kiwiidb
0194923839 Merge pull request #193 from prusnak/fee-reserve
Implement fee-reserve
2022-06-16 13:45:54 +02:00
Pavol Rusnak
1adea74429 Implement fee-reserve 2022-06-15 23:06:53 +02:00
kiwiidb
367242b505 Merge pull request #196 from prusnak/go-1.17
switch to Go 1.17
2022-06-15 23:02:11 +02:00
kiwiidb
13fcf02182 too many / 2022-06-15 18:44:24 +02:00
kiwiidb
40e34086d7 all tests passing 2022-06-15 18:27:03 +02:00
Pavol Rusnak
999f6f7611 run go mod tidy -compat=1.17 and go mod vendor 2022-06-15 18:11:45 +02:00
Pavol Rusnak
b7b61f4293 add vendor/ to .gitignore 2022-06-15 18:11:04 +02:00
Pavol Rusnak
fe5c7cac5d Update to Go 1.17 2022-06-15 18:10:49 +02:00
kiwiidb
057a8f3c57 praise the lord 2022-06-15 18:00:58 +02:00
kiwiidb
c9d7ddd9c7 one more file to refactor 2022-06-15 17:54:15 +02:00
kiwiidb
8952227bee fix another test 2022-06-15 16:40:06 +02:00
kiwiidb
1067224dfe fix bug in decoding 2022-06-15 16:31:58 +02:00
kiwiidb
c680f77798 mock: add destination and proper signing 2022-06-15 16:12:04 +02:00