Commit graph

26 commits

Author SHA1 Message Date
gohumble
33674de1b6 more logs 2022-08-20 18:29:45 +02:00
calle
0631fd53eb
WIP: Satdress (#331)
* satdress rebase

* check config

* satdress rebase

* check config

* check for invoices

* return error

* Update inline photo v5 (#332)

* update url

* round logo

* resize

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

* new logo (#333)

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

* help (#334)

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

* add file (#335)

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

* markdown (#336)

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

* satdress rebase

* check config

* satdress rebase

* check for invoices

* return error

* satdress works

* add lnbits

* timeout

* error checking

* small lnd

* errors

* button fix

Co-authored-by: LightningTipBot <88730856+LightningTipBot@users.noreply.github.com>
2022-04-29 14:28:12 +02: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
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
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
b6d1ed97f1
failsaves (#278)
* failsaves

* failsafe2

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-09 21:43:02 +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
gohumble
f1df1e6377
only remove on unlock (#246) 2021-12-26 16:58:05 +01:00
LightningTipBot
fc7247c72a
Adjust log levels (#244)
* speed up tx lock

* yolo master

* better log

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-26 16:30:27 +01:00
gohumble
35d5ed8d8e
fix nLocks (#241) 2021-12-26 15:12:18 +01:00
LightningTipBot
07ccc6cc28
Unlock admin (#240)
* add mutex http endpoints

* remove mutex by id

* remove mutex by id

Co-authored-by: lngohumble <lngohumble@gmail.com>
2021-12-26 14:51:10 +01:00
gohumble
24e4212a93
add mutex http endpoints (#238) 2021-12-26 14:20:50 +01:00
LightningTipBot
373ee844da
Log oncemap (#233)
* speed up tx lock

* yolo master

* logging

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-26 00:33:00 +01:00
gohumble
151ed39b04
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>
2021-12-26 00:23:58 +01:00
LightningTipBot
5414c82339
Logging mutex fix (#205)
* speed up tx lock

* better logging

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-24 15:00:55 +01:00
gohumble
47ef5baee3
fix mutex final last v2 maybe (#202)
* remove mutex on unlock

* add pprof

* fix mutex lock

* fix logs
2021-12-24 14:25:35 +01:00
LightningTipBot
8f8644a1d2
Faucet panic (#199)
* speed up tx lock

* remove panic

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-24 01:45:07 +01:00
LightningTipBot
f9aed70869
Soft lock (#198)
* add Lock and Unlock soft

* Update mutex.go

* sync mutex

* mutex bracket

* add idInterceptor

* context lock

Co-authored-by: lngohumble <lngohumble@gmail.com>
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-12-24 00:12:57 +01:00
LightningTipBot
67cff58c63
Revert "Soft lock (#195)" (#196)
This reverts commit 4730c94c84.
2021-12-23 19:29:14 +01:00
LightningTipBot
4730c94c84
Soft lock (#195)
* add Lock and Unlock soft

* Update mutex.go

Co-authored-by: lngohumble <lngohumble@gmail.com>
2021-12-23 19:25:55 +01:00
LightningTipBot
e53ef94306
Revert "add Lock and Unlock soft (#193)" (#194)
This reverts commit a9f2728c93.
2021-12-23 19:08:06 +01:00
gohumble
a9f2728c93
add Lock and Unlock soft (#193) 2021-12-23 19:06:15 +01:00
gohumble
dd88c93474
add mutex package (#185)
* add mutex package

* fix cancelSendHandler
2021-12-23 15:47:18 +01:00
LightningTipBot
f8fadb1729
Onlysats (#181)
* speed up tx lock

* add shops

* shop

* scrolling

* 🚀 add state stateCallbackMessage 🚀

* no shop

* scroll

* add shop browser

* scroll bug

* add buttons.go

* scrolling

* shop

* lnurl print after serving

* shop deletion

* adding and removing shops

* display photo captions

* refactor

* shops

* shops

* files work

* rename shop

* error handling

* fixes

* payments

* confirm delete all shops

* adding new items fix

* own bunt db for shop

* unlock transaction

* remove double print

* add transaction.Lock(id)

* unlock getShop

* add default interceptors to shop

* more files

* go sleep

* add fileStateResetTicker

* async sleep

* add runtime.ResettableFunctionTicker

* remove default duration

* generalized concurrent mutex

* simplify function ticker

* status message ticker queue

* add start index to shopViewDeleteAllStatusMsgs

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
Co-authored-by: lngohumble <lngohumble@gmail.com>
2021-12-23 10:16:13 +01:00
gohumble
acf0cb5af6 Initial commit 2021-09-10 08:52:44 +02:00