Commit graph

233 commits

Author SHA1 Message Date
callebtc
08630f76e3 fix markdown things 2022-02-15 10:49:41 +01:00
LightningTipBot
afcbca28f2
faucet md (#309)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-02-14 20:44:34 +01:00
calle
205e75d2d6
markdown fix (#308) 2022-02-11 13:24:03 +01:00
calle
6e7886e029
payerdata hash fix (#307) 2022-02-11 12:56:30 +01:00
LightningTipBot
00b07998e6
Payerdata receive (#306)
* payerdata receive

* more

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-02-11 12:40:18 +01:00
calle
373b4a9752
payerdata receive (#305) 2022-02-11 12:16:46 +01:00
LightningTipBot
fa46f06f2e
resize image (#304)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-02-11 10:52:57 +01:00
LightningTipBot
24e321e5ed
bot pic (#303)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-02-11 10:47:40 +01:00
gohumble
725af545ab
WIP: adding downloadMyProfilePicture and botProfilePicture to LNURL Meta (#297)
* adding downloadMyProfilePicture and botProfilePicture to serveLNURLFirst (pay)

* fix image download to ram

* add downloadProfilePicture

* add cache and download limit

* error checks

* user picture

* empty entry bug check for uuid

* check

* fix example

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-02-11 10:04:08 +01:00
gohumble
2b09fc95dd
print debug stack on empty annon id update (#299)
* print debug stack on empty annon id update

* write stack to file

* use AnnonID

* set ids

* comments

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-02-07 22:12:03 +01:00
gohumble
54beceba32
add empty callback response (#301)
* add empty response

* commend

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-02-07 22:03:17 +01:00
LightningTipBot
70ecf335f2
honkhonk (#302)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-02-07 21:30:02 +01:00
LightningTipBot
d786dc58e0
Unban fix (#300)
* unban fix

* fix

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-30 20:41:12 +01:00
LightningTipBot
c72111dfb7
add (#296)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-23 00:57:17 +01:00
gohumble
902928f794
perform graceful shutdown on SIGTERM and SIGSTOP (#281)
* perform graceful shutdown on SIGTERM and SIGSTOP

* comments

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-23 00:48:27 +01:00
gohumble
96292604c7
adding lnurl auth (#294)
* adding lnurl auth poc

* add response and translation

* refactor

* simpler

* using http bot client with proxy transport

* functions

* translations

* clean

* comment

* revert

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-22 23:25:21 +01:00
LightningTipBot
9522418272
finish faucet (#295)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-22 14:04:48 +01:00
LightningTipBot
a112c1b25d
add shop db path (#292)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-19 11:25:37 +01:00
LightningTipBot
72e13e841d
faucet fix (#291)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-15 02:11:25 +01:00
LightningTipBot
83eb185634
echo fix (#290)
* echo fix

* echo fix

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-15 01:11:11 +01:00
LightningTipBot
dedc959f94
faucet summary (#289)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-15 00:58:59 +01:00
LightningTipBot
33776f2616
oops (#288)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-14 20:38:45 +01:00
LightningTipBot
545d20d043
Mutex fix 329823hf (#287)
* big change

* mutex

* global lock

* another lock

* fix log

* trySendMessageEditable added

* defer before return

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-14 20:34:20 +01:00
LightningTipBot
9d876cf5d5
stuck fix (#286)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-12 12:26:22 +01:00
LightningTipBot
c6087021b7
fix again (#285)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-12 12:20:00 +01:00
LightningTipBot
7c95daabfd
shop stuck fix (#284)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-12 12:16:47 +01:00
LightningTipBot
95a22401b2
shop logging (#283)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-11 00:44:07 +01:00
LightningTipBot
a7b9506a9f
better log (#282)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-11 00:34:59 +01:00
LightningTipBot
c1fb07fcda
mutex return (#280)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-09 23:44:06 +01:00
LightningTipBot
5a25f07bfb
callback responses (#279)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-09 22:20:42 +01:00
LightningTipBot
b6d1ed97f1
failsaves (#278)
* failsaves

* failsafe2

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-09 21:43:02 +01:00
gohumble
4e812f7897
add errors to handler (#273)
* add errors to handler

* add errors to handlers

* shop fixes (#274)

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>

* better log (#275)

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>

* add errors to map

* more errors

* rename NoWalletError

* fix one panic (#276)

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>

* add invalid type error

* Shop panic attempt 2 (#277)

* less log

* fix shop first view

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>

* make errors private

* add errors to handler

* add errors to handlers

* add errors to map

* more errors

* rename NoWalletError

* add invalid type error

* make errors private

* patch

* return handlers

* add noPrivateChat

* add invalid amount err

Co-authored-by: LightningTipBot <88730856+LightningTipBot@users.noreply.github.com>
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-09 21:39:09 +01:00
LightningTipBot
192930a289
Shop panic attempt 2 (#277)
* less log

* fix shop first view

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-09 20:01:26 +01:00
LightningTipBot
7ed34f656b
fix one panic (#276)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-09 19:52:18 +01:00
LightningTipBot
31250273b0
better log (#275)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-09 12:16:05 +01:00
LightningTipBot
e70344892f
shop fixes (#274)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-09 11:08:27 +01:00
LightningTipBot
39c727d3c4
fix the keyboard, fix the world (#272)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-07 12:13:58 +01:00
LightningTipBot
02eb0716aa
lil update (#270)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-06 10:39:25 +01:00
gohumble
c706ed7aaf
update edit stack (#269)
* update edit stack

* update faucet

* better debug logging

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-06 10:33:01 +01:00
LightningTipBot
8c41fba277
no edit stack (#268)
* no edit stack

* fix typo

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-05 22:05:18 +01:00
LightningTipBot
53c384834a
lnurl update (#267)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-05 10:14:24 +01:00
LightningTipBot
1e66dd6a68
fix auth (#266)
* fix auth

* comments

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-05 02:32:39 +01:00
gohumble
b42a9ae8b4
using UpdateUserRecord (#265) 2022-01-05 01:53:45 +01:00
LightningTipBot
88143b9a66
fix migration (#264)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-05 01:43:33 +01:00
gohumble
8f60cb82f3
add admin service (#263)
* add admin server + service

* string fixes

* ban and unban user

* add return

* ban using admin key

* ban reason

* remove redundant func call

* add http status

* add log

* anon_id_sha256 (#262)

* anon_id_sha256

* refactor sha256 hash to strings package

* oops

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>

* add admin server + service

* ban and unban user

* string fixes

* add return

* ban using admin key

* ban reason

* remove redundant func call

* add http status

* add log

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
Co-authored-by: LightningTipBot <88730856+LightningTipBot@users.noreply.github.com>
2022-01-05 01:40:37 +01:00
LightningTipBot
e275b8760a
anon_id_sha256 (#262)
* anon_id_sha256

* refactor sha256 hash to strings package

* oops

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-05 01:28:17 +01:00
gohumble
01710f3385
separate lnurl and api server (#261)
* separate lnurl and api server

* add lndhub handler and proxy

* update proxy

* fix AppendRoute with empty methods

* add logs

* fix trace

* dump request

* parse bearer token

* exclude banned users

* exclude banned users

* fix log levels
2022-01-05 00:09:11 +01:00
LightningTipBot
ec319cc691
fix ban (#260)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-04 13:49:31 +01:00
LightningTipBot
c6a064b332
Banned entirely (#259)
* do not react to banned users

* do not respond to banned

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-04 13:32:10 +01:00
LightningTipBot
615b90ab63
print banned (#258)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-04 12:56:38 +01:00