Commit Graph

32 Commits

Author SHA1 Message Date
im-adithya
b494219071 chore: further refactoring 2023-12-07 16:44:47 +05:30
im-adithya
d3208f2bb1 chore: refactor 2023-12-07 14:29:18 +05:30
im-adithya
e681e69fa2 chore: use limits from JWT if available 2023-12-05 15:58:45 +05:30
im-adithya
401cd4a458 chore: refactor payment checks 2023-12-04 16:21:06 +05:30
im-adithya
fb8c4784d6 chore(addincominginvoice): add exceeding checks for volume, balance, receive 2023-12-01 00:25:38 +05:30
kiwiidb
8bee438653 json logging 2023-09-22 17:12:49 +02:00
im-adithya
4ff3ebf79b chore: add missing logs 2023-09-20 13:53:58 +05:30
Pavol Rusnak
6740e66094 Introduce MaxReceiveAmount, MaxSendAmount, MaxAccountBalance 2022-06-30 10:55:51 +02:00
kiwiidb
b256a3fefe remove old api docs 2022-06-17 15:38:44 +02:00
kiwiidb
22a788e153 add missing amt validations 2022-06-10 10:20:54 +02:00
Michael Bumann
887e5fbf89 Log user ids on more errors
This should help analyzing the logs better for a specific user.
2022-05-02 09:38:57 +02:00
kiwiidb
2793303ad3 swagger: add all endpoints 2022-04-26 13:48:05 +02:00
Stefan Kostic
88d7d21aa1 Add common add invoice ctrl method 2022-03-18 18:06:39 +01:00
kiwiidb
3c08c5b349 Merge branch 'main' into feature/integration-testing-payments 2022-02-10 14:26:42 +01:00
Stefan Kostic
2748b7f2f3 Use request context in handlers 2022-02-08 13:36:50 +01:00
kiwiidb
6a1803ceb4 tests: add deposit integration test 2022-02-04 15:28:34 +01:00
Michael Bumann
d10701ad2f Custom HTTP error handler and send sentry notifications 2022-01-24 23:37:03 +01:00
Michael Bumann
891dd8394c DRY up error responses 2022-01-22 20:38:14 +01:00
Michael Bumann
3e088a7652 Pass invoice description hash string to LND 2022-01-21 17:40:52 +01:00
Michael Bumann
2097807c85 Support Amount values as string/integer in request JSON 2022-01-21 11:15:35 +01:00
Michael Bumann
d4183c100b Add payinvoice endpoint 2022-01-20 01:57:31 +01:00
Michael Bumann
f625ef7efc Implement addinvoice call 2022-01-19 19:43:29 +01:00
kiwiidb
8eef14fccc move service functions to service package 2022-01-19 16:10:55 +01:00
kiwiidb
55fda4d3f4 refactor auth and addinvoice 2022-01-19 15:25:07 +01:00
kiwiidb
a83fbc6067 add constructor funcs for controllers 2022-01-19 14:35:46 +01:00
kiwiidb
860e2fa402 refactor addinvoice 2022-01-19 14:10:37 +01:00
kiwiidb
e22ab6ce49 rename context to service 2022-01-19 13:53:40 +01:00
Viktor Patchev
919affa2db Update package name to new repo 2022-01-18 10:42:53 +01:00
Michael Bumann
236427b8e2 Use Echo logger 2022-01-17 10:22:02 +01:00
Roman Useinov
e7e5904829 UserMiddleware added 2022-01-16 14:02:58 +00:00
Michael Bumann
95512462f6 Cleanup typos (#28)
* Typo

* Typoc
2022-01-16 14:13:45 +01:00
Roman Useinov
628071160c Cleanup (#25)
* remove cmd folder as we are going to have only one entrypoint

* get rid of pkg directory

* rename test -> integration_tests as unit tests should reside next to the actual files they are testing

* database migration WIP

* reinstate gorm boilerplate in the addinvoice for now to make it compile

* introduce migrations

* add Makefile

* don't use unsigned types for database mappings

* migrations work now

* add build target

* use echo groups

* gorm removed

* add envconfig

* fix comments
2022-01-16 00:49:19 +01:00