Commit Graph

593 Commits

Author SHA1 Message Date
Michael Bumann
d1b33ec65c Merge branch 'main' into gettxs-endpoint 2022-01-14 03:18:00 +02:00
Michael Bumann
75200362a4 Merge pull request #17 from getAlby/checkpayment-endpoint
Check Payment endpoint
2022-01-14 03:17:31 +02:00
Michael Bumann
6c72aab6f0 Merge branch 'main' into checkpayment-endpoint 2022-01-14 03:17:23 +02:00
Michael Bumann
fc65643008 Merge pull request #15 from getAlby/balance-endpoint
Balance endpoint
2022-01-14 03:16:33 +02:00
Viktor Patchev
4c41864fcf Check Payment endpoint 2022-01-13 20:11:15 +01:00
Viktor Patchev
f61ffba545 Consistent file naming 2022-01-13 20:02:31 +01:00
Viktor Patchev
e3e752af5c Consistent file naming 2022-01-13 20:00:51 +01:00
Viktor Patchev
742bea615e Get TXS endpoint 2022-01-13 19:55:38 +01:00
Michael Bumann
ba2719a59b Merge remote-tracking branch 'origin/main'
* origin/main:
  Return not hashed password
2022-01-13 19:52:31 +01:00
Michael Bumann
53b7ff636b Merge pull request #27 from bumi/return-not-hashed-password
Return not hashed password
2022-01-13 20:51:49 +02:00
Viktor Patchev
c783e41354 Balance endpoint 2022-01-13 19:16:43 +01:00
Viktor Patchev
ea700a117e Return not hashed password 2022-01-13 17:27:58 +01:00
Michael Bumann
1ac2934006 Merge remote-tracking branch 'getalby/main'
* getalby/main:
  Fix request body
  Add payinvoice endpoint
  Update notes.md
  Update notes.md
2022-01-13 17:27:16 +01:00
Michael Bumann
764fde7703 Update notes.md 2022-01-13 17:20:55 +01:00
Michael Bumann
6799e23f40 Update notes.md 2022-01-13 17:20:55 +01:00
Michael Bumann
a56d836185 Merge pull request #16 from bumi/add-password-hashing
Add password hashing
2022-01-13 18:20:37 +02:00
Viktor Patchev
4cf70f1853 Compare password hash after fetching the user 2022-01-13 17:09:36 +01:00
Viktor Patchev
c316a9a4a9 Fix import 2022-01-13 17:07:49 +01:00
Viktor Patchev
37ee9f731b Merge branch 'main' into add-password-hashing 2022-01-13 17:05:59 +01:00
Viktor Patchev
182873b286 Fix request body 2022-01-13 12:02:04 +01:00
Viktor Patchev
324aa78d3e Add payinvoice endpoint 2022-01-13 12:02:04 +01:00
Michael Bumann
19cf10af1b Merge pull request #26 from bumi/payinvoice-endpoint
Add payinvoice endpoint
2022-01-13 13:01:15 +02:00
Viktor Patchev
cda87b7f77 Fix request body 2022-01-13 10:08:47 +01:00
Viktor Patchev
477d524cc3 Add payinvoice endpoint 2022-01-12 18:16:31 +01:00
Michael Bumann
d3672520d2 Update notes.md 2022-01-12 17:42:42 +02:00
Michael Bumann
f24ca85b1c Update notes.md 2022-01-12 17:42:19 +02:00
Michael Bumann
8b9038a037 Merge branch 'pure-go-sqlite'
* pure-go-sqlite:
  Use pure go implementaiton for sqlite

# Conflicts:
#	pkg/database/database.go
2022-01-11 11:10:14 +01:00
Viktor Patchev
169c30aa27 Merge pull request #25 from bumi/models2
why models2?
2022-01-11 00:11:44 +01:00
Michael Bumann
1060eca626 why models2? 2022-01-10 22:52:59 +01:00
Michael Bumann
b0c43f153a Merge pull request #23 from bumi/change-folder-structure
Change folder structure
2022-01-10 23:52:11 +02:00
Michael Bumann
1cb0ec3739 Use pure go implementaiton for sqlite
apparently CGO is a bit of a pain?
2022-01-10 22:06:27 +01:00
Viktor Patchev
b3584bbc14 Change controller types names 2022-01-10 21:22:40 +01:00
Viktor Patchev
1ee2bdb909 Change folder structure 2022-01-10 21:15:30 +01:00
Michael Bumann
32adea127e Merge pull request #20 from bumi/database-connection-uri
Database uri logic refactor
2022-01-09 19:09:54 +02:00
Michael Bumann
551bd55dba Default to sqlite databse 2022-01-09 18:09:29 +01:00
Michael Bumann
68a9b199bb Support only database URIs in the config 2022-01-09 18:07:38 +01:00
Michael Bumann
baab584c4b Merge pull request #21 from bumi/fix-indexes
Fix indexes
2022-01-09 18:44:16 +02:00
Michael Bumann
691989c693 Merge pull request #22 from bumi/nullstring-fixes
NullString fixes
2022-01-09 18:43:38 +02:00
Viktor Patchev
76cc532079 NullString fixes 2022-01-09 15:47:45 +01:00
Viktor Patchev
9e7e3b598f Fix indexes 2022-01-09 15:28:09 +01:00
Viktor Patchev
d372c74990 Database uri logic refactor 2022-01-09 15:25:22 +01:00
Viktor Patchev
c96e9958e8 Merge pull request #17 from bumi/learning
Learning
2022-01-08 21:41:09 +01:00
Michael Bumann
efa25f7ad1 Merge pull request #19 from bumi/remove-code-leftovers
Removed code leftovers
2022-01-08 19:53:02 +02:00
Michael Bumann
cac27f5962 LNDHub response for /auth call 2022-01-08 18:46:17 +01:00
Viktor Patchev
64430c43c2 Remove code leftovers 2022-01-08 18:36:11 +01:00
Michael Bumann
2223ef41d9 User model updates
also use sql.NullString to set access/refresh token
2022-01-08 18:03:06 +01:00
Michael Bumann
3e758d0e61 LDNHub error responses 2022-01-08 17:55:38 +01:00
Michael Bumann
3a36a74d5c Update user DB config
* use null string for optional attributes
* auto update created_at/updated_at
* set indexes
2022-01-08 17:55:14 +01:00
Michael Bumann
89559b4d3a Raise an error if a user could not be created 2022-01-08 17:48:13 +01:00
Michael Bumann
4162965ef8 Merge pull request #11 from bumi/addinvoice-endpoint
Add invoice endpoint
2022-01-08 17:02:35 +02:00