Commit graph

245 commits

Author SHA1 Message Date
calle
048141908e
Group help text (#329)
* group help text

* string

* add group to help
2022-04-09 21:20:20 +02:00
LightningTipBot
900ce09aa6
notify group (#328)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-03-31 23:29:58 +02:00
calle
bd41dd078b
remove telebot on error log (#327) 2022-03-27 23:14:13 +02:00
gohumble
bf643f103d
🪄 update telebot v3 🤖 (#325)
* 🚧 minor changes to all handlers...

* 🚧 passing callback to tryEditStack

* 🚧 edit and delete callback messages

* 🚧 refactor again

* 🚧 uncomment this

* 🚧 using ctx.Message().Text

* 🚧 refactor

* 🚧 refactor

* 🚧 uncomment

* context not queruy

* 🚧 update forked lightningtipbot

* 🚧 reset ArticleResult

* fix inline receive

* readd shop

* remove chat from shopView

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-03-27 22:19:38 +02:00
bassim
23db317c0d
Update en.toml (#326)
fixed typos in photoQrNotRecognizedMessage
2022-03-27 11:26:40 +02:00
calle
7085b4dbf6
base_fee (#323) 2022-03-17 10:22:47 +01:00
calle
9895498237
lower fee (#322) 2022-03-17 09:36:47 +01:00
calle
4a93019428
ticket type fix (#321) 2022-03-17 00:29:06 +01:00
calle
71d8aa202c
Group invite link management (#310)
* group invite link

* link

* works

* ticketinvoiceevent type

* Add invoice event interface

* add AssertEventType

* generalize AssertEventType invocation

* wip: payment button

* all new

* callback

* fix TicketEvent Key()

* invoiceEvent in ticketEvent

* fix errors

* add payment button

* commission

* minimum price

* remove redundant ticket event data

* commission

* fixes

* update balance

* notify user if ticket < 10

* commission rounding error

* refactor

* refactor

* /join

* add /join handler

* fix handler

* fix /join

* fix handler

* fix /join interceptor

* add startUserInterceptor

* delete qr

* no test blyad

* fix defer

* message

Co-authored-by: gohumble <lngohumble@gmail.com>
2022-03-17 00:21:28 +01:00
gohumble
a9f6539eaf
🪄 fix LNURL states redundant initialization (#318) 2022-02-27 15:33:04 +03:00
gohumble
1179800a4b
🪄 fix withdraw state handler (#316) 2022-02-26 10:53:15 +03:00
calle
a5d8c5d7e5
lnurl amounts same (#315) 2022-02-25 14:11:05 +03:00
LightningTipBot
0dcf4bd845
fix the tipjar and send a summary (#312)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-02-17 17:14:25 +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