* adding users cache in memory
* adding users cache in memory
* adding eko/gocache and removing CopyLowercaseUser
* using UpdateUserRecord
* updateCachedUser in user states
* remove redundant updatePersistentUser
* refactor
* remove cachedUser
* remove user chan
* errors for failed invoice creation
* errors for failed invoice and failed pay
* add GetUserBalanceCached inline commands
* translation
* remove redundant set user state reset state
* update cache ttl
Co-authored-by: lngohumble <lngohumble@gmail.com>
* anonymous user ID for lnurl
* anonymous lnurl
* migrate at every start, not good
* anon id at user creation
* migrations file
* fix database migration task
* remove comment
* anon label
Co-authored-by: lngohumble <lngohumble@gmail.com>
* Translation to Indonesian language
First time using github but I think I did everything correctly though.
Truly sorry if I've made a noob mistake
Trying to make the language as friendly yet polite and as formal as possible
Thanx and keep up the great work
* inline commands in english
* readd en.toml
* enable translation
Co-authored-by: hmalau <92701132+hmalau@users.noreply.github.com>
* add generalized bunt database transaction
* use bunt tx for inline faucet and send
* use bunt tx for inline receive
* use bunt tx for inline send
* use bunt tx for pay
* fix typo
* readd context
* add generalized bunt database transaction
* use bunt tx for inline faucet and send
* use bunt tx for inline receive
* use bunt tx for inline send
* use bunt tx for pay
* fix typo
* readd context
* some fixes
* tigher error checking
* add CreatedAt and UpdatedAt flags
* check error in GetTransaction
* add bunt transaction package and rename stuff
* use transaction.Base as function receiver for transaction functions
* add transaction.Base.Set function
* fix tiptooltip bunt index
* refactor
* auto update updated at
* refactor
* remove balance from error
* fix updated at
* faucet errors
* add generalized bunt database transaction
* use bunt tx for inline faucet and send
* use bunt tx for inline receive
* use bunt tx for inline send
* use bunt tx for pay
* fix typo
* readd context
* some fixes
* tigher error checking
* add generalized bunt database transaction
* use bunt tx for inline faucet and send
* use bunt tx for inline send
* add CreatedAt and UpdatedAt flags
* check error in GetTransaction
* add bunt transaction package and rename stuff
* use transaction.Base as function receiver for transaction functions
* add transaction.Base.Set function
* fix tiptooltip bunt index
* refactor
* auto update updated at
* fix updated at
* faucet errors
* refactor
* remove balance from error
* rebase fixes
* fix imports
* fix de string
* fix receive and send
* faucet language
* remove pay constructor
* release faucet
* remove redundant inTransaction
* remove constructor
* remove constructor
* transaction get pointer receiver
* send race condition
* inactivate in db
Co-authored-by: LightningTipBot <hWOofXvq4m@mail.com>
* new lookup function
* use persitant object
* rename to avoid collisions
* send with persistent structs
* add persistant pay struct
* finish up
* clean comments
* revert
* fix ID check
* less logging
* error logging fixed
* payment error verbose
* reply to interceptor for send
* reply to send command if channel
* add interceptor for handler context
* remove user load
* remove UserInitializedWallet
* remove getuser invocation
* add lnbits user to inlineFaucet
* set wallet client
* lnbits user to inline receive
* lnbits user to inline send
* add context to handleInlineReceiveQuery
* add handler.go
* fix help message
* fix handler registration
* rename
* check if reply to is nil
* remove unwanted stuff
* error handlers
* remove client from wallet
* rename force to require
* string fixes
* add intercept.Func
* add PrivateChat check
* remove private chat requirement for anytexthandler
* fix callback
* errors fixed
* fix callback
* loadUser
* do not require
* check type in interceptor
* check type in interceptor
* check for user wallets
* allow send for toUser with wallet but not initialized
* fix reply to context
* mdescape
* strfux
* set state columns only
* update str
* set user now
* anytext should not load user outside pm
* rename endpoint to donationEndpoint
* register uppercase endpoints and add comments
* fix photos in logMessageInterceptor
* reduce log level to trace
Co-authored-by: LightningTipBot <hWOofXvq4m@mail.com>