Commit graph

164 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
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
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
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
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
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
88143b9a66
fix migration (#264)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-05 01:43:33 +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
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
LightningTipBot
a7cf6f957e
edit stack fix (#257)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-01 22:26:56 +01:00
LightningTipBot
e9da937c75
Hotfix edit bug (#256)
* fix edit bug and log faucet better

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-29 22:17:59 +01:00
LightningTipBot
113fc02b28
Faucet problem 123 (#254)
* speed up tx lock

* yolo master

* logging

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-29 11:04:17 +01:00
LightningTipBot
1459fcb68e
Fix link delete message (#253)
* fix

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-28 15:09:45 +01:00
LightningTipBot
3d3d7ab2f6
Send keyboard recommendation (#252)
* speed up tx lock

* yolo master

* keyboard with recent contacts

* translate message

* better query

* keyboard pops up

* log level

* skip keyboard if no entry

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-28 12:20:47 +01:00
LightningTipBot
fdb58a7f2b
Fix faucet again (#251)
* speed up tx lock

* yolo master

* fix faucet again

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-27 19:13:07 +01:00
LightningTipBot
a9fecc1e8f
Fix faucet again 123 (#250)
* speed up tx lock

* yolo master

* skip edit error

* do not return

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-27 18:48:58 +01:00
LightningTipBot
95c733459d
Fix faucet edit (#248)
* speed up tx lock

* yolo master

* better printing

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-27 18:28:06 +01:00
LightningTipBot
9fe0d776c7
Mini fixes123 (#247)
* speed up tx lock

* yolo master

* fixes

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-26 23:37:46 +01:00
gohumble
25dc9d7b34
add edit stack lifo (#231)
* add edit stack lifo

* remove log message

* Finish the faucet (#232)

* speed up tx lock

* yolo master

* finish the faucet when inactive

* delete comments

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

* add once + singleton click interceptor (#229)

* speed up tx lock

* yolo master

* add once + singleton click interceptor

* yoooo;

* stuff

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

* Log oncemap (#233)

* speed up tx lock

* yolo master

* logging

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

* Balance button (#236)

* speed up tx lock

* yolo master

* blanace button

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

* Balance on invoice (#237)

* speed up tx lock

* yolo master

* balance check on invoice

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

* add mutex http endpoints (#238)

* Faucet balance update (#239)

* speed up tx lock

* yolo master

* balance check faucet

* limit reset

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

* Unlock admin (#240)

* add mutex http endpoints

* remove mutex by id

* remove mutex by id

Co-authored-by: lngohumble <lngohumble@gmail.com>

* fix nLocks (#241)

* using shop.base.id (#242)

* using shop.base.id

* using shop.base.id

* using shop.base.id

* Adjust log levels (#244)

* speed up tx lock

* yolo master

* better log

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

* fix edit signature rate limiter (#234)

* Skip duplicate edits (#245)

* speed up tx lock

* yolo master

* skip duplicate edit

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

* only remove on unlock (#246)

* add edit stack lifo

* finish faucet corrected

* improve edit stack

* edit.go

* uncomment faucet check

Co-authored-by: LightningTipBot <88730856+LightningTipBot@users.noreply.github.com>
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-26 20:57:38 +01:00