60 Commits
Author SHA1 Message Date
MichilisandClaude Opus 5.5 8faab56990 Harden LNURLcash, webhook replay and ticket restarts; add command aliases
- LNURLcash: mint single notes directly when the mint rounds fees to whole
  sats, recover lost direct-note funding, melt to the callback named in the
  note's own withdraw info, and poll for settlement so redeems/reclaims
  finish without waiting on the webhook. Read-only lookups use a pooled
  client; every mutation stays on the no-keep-alive client.
- Webhook: expire replay markers only for payments without an invoice event,
  so an event callback can never run twice.
- Tickets: on restart, enforce tickets that ran out while the bot was down
  unless LNbits says the invoice was paid; drop stale ones without a ban.
- Telegram: register translated /faucet and /tipjar command aliases.
- i18n: load translations from one language list and log broken files.
- Config example: one entry per mint; ignore local docs/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 17:20:52 +00:00
MichilisandClaude Sonnet 5.5 48f8a6c7c9 Send note mutations to the mint's callback and polish LNURLcash UX
- Splits and melts went to the withdraw link, but mints such as
  mint.600.wtf take mutations at the callback named in the note's own
  withdraw info (/w/cb). The mint answered 200 without a status, which
  read as an unknown outcome and left minting stuck in recovery. The
  fake mint now behaves the same way.
- Count the LNbits routing reserve (max 1 sat, 1%) in the balance check.
- Allow several comma separated mints in one url entry.
- Format the LNURLcash help like the other help menus.
- Fix int64 passed to %s in the claimed, reclaimed, redeem and view
  messages.
- Reword the in-progress and insufficient-balance messages in every
  language.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-14 23:48:14 +00:00
MichilisandClaude Fable 5.1 7f89896a6c Translate the LNURLcash messages into every bot language
All 78 note keys now exist in cs, de, es, fi, fr, id, it, pl, pt-br, ru
and tr as well as en and nl, with indexed verbs where a language orders
the arguments differently. The mint fee line goes through a key instead
of the library's English text. A test localizes every key in every
language and formats it with the English argument list.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-13 22:50:58 +00:00
MichilisandClaude Fable 5.1 e36d522764 Add /lnurlhelp and list the note commands in the advanced help
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-13 22:39:49 +00:00
MichilisandClaude Fable 5.1 3c2ccf8d83 Add the LNURLcash Telegram commands
/note, /notes (list and batch), /redeem and /lnurlmints with confirm
dialogs, group posting with private receipts, claim notifications,
batch export as PDF/JSON/CSV, and LNURLcash notes detected inside the
existing /lnurl, paste and QR-photo flows. Plain withdraw links behave
as before. Two /lnurl log lines no longer print k1.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-11-13 22:12:27 +00:00
callebtcandGitHub 5adf090969 Display fiat currency (#496)
* add user currency for incoming payments

* also add currency to incoming LNURL payments
2023-12-05 15:54:53 +01:00
tlindiandGitHub aeb0c4a728 Create fi.toml Translate-Finnish (#469)
* Create fi.toml Translate-Finnish

* Update localize.go
2023-02-24 19:45:24 +01:00
callebtc ed17953a82 nostr: add bot pubkey to LNURLFirst not users 2023-02-17 14:51:08 +01:00
callebtc 51f2812ac6 group help 2023-01-22 10:29:06 +01:00
callebtc b3bbe614ff fix strings 2023-01-22 10:26:24 +01:00
callebtc 0efc5c4e43 disable gpt and remove from help 2023-01-17 00:44:15 +01:00
callebtc 1a21a1519f add memo to lnurl command 2023-01-14 19:01:56 +01:00
gohumbleandGitHub 8598adb280 added chatGPT (#435) 2022-12-11 19:12:34 +01:00
calleandGitHub 74e9f7aabf Merge pull request #434 from LightningTipBot/translation/fr/fix_lnurl
fix: fr translation lnurl message
2022-12-08 14:38:36 +01:00
callebtc 8b32e5fda5 fix: fr translation lnurl message 2022-12-08 14:37:41 +01:00
gohumbleandGitHub c611969feb moved translation (#431) 2022-11-03 10:15:48 +01:00
gohumbleandGitHub 9e8958ece2 Update pl.toml (#419)
fix polish help text from #417
2022-09-25 20:48:27 +02:00
7a2aba59ff add polish (#417)
* add polish

* Update localize.go

LoadMessageFile

Co-authored-by: Maciej Sołtysiak <maciej@soltysiak.com>
Co-authored-by: gohumble <55599638+gohumble@users.noreply.github.com>
2022-09-25 20:25:27 +02:00
callebtc 52ac3bfc13 fix kraut 2022-08-30 18:06:16 +02:00
callebtc fea7281e29 lesgo 2022-08-30 18:05:01 +02:00
callebtc 3c862d59ff docu 2022-08-30 17:43:30 +02:00
callebtc 890448ce81 ux 2022-08-30 17:16:38 +02:00
callebtc cb02fd557f sse 2022-08-21 12:52:54 +02:00
callebtc d7dc6f71aa check for descr hash 2022-08-14 21:50:14 +02:00
callebtc c27de372a5 update zeus help 2022-07-17 20:15:58 +02:00
b07053172b help (#334)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-04-16 00:20:52 +02:00
calleandGitHub 048141908e Group help text (#329)
* group help text

* string

* add group to help
2022-04-09 21:20:20 +02:00
bassimandGitHub 23db317c0d Update en.toml (#326)
fixed typos in photoQrNotRecognizedMessage
2022-03-27 11:26:40 +02:00
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
c72111dfb7 add (#296)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-23 00:57:17 +01:00
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
5a25f07bfb callback responses (#279)
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2022-01-09 22:20:42 +01:00
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
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
8f569ed4c3 send input (#138)
* send input

* remove message limiter

* write invoice into tx db

* do not delete tip twice

* hide link after 60 sedondw

* refactor button text update

* remove print

* translations enter user

* add tr

* no error on invalid user input

* printing fix

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-11-17 19:51:51 +01:00
1f25cc6ded Add russian translation (#136)
* Add Russian translation

* turn on ru.toml

* load gently

Co-authored-by: Filiph Protsenko <filprocenko@gmail.com>
Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-11-15 16:41:34 +01:00
69b0dd5a4a Lnurl errors localized1 (#134)
* verbose errors

* add translations

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2021-11-15 11:42:35 +01:00
0653498e0f Lnurl withdraw (#129)
* go-lnurl --> v1.8.4

* clean up comments

* delete HandleLNURL()

* lnurl-withdrawal

* actual file

* remove comments

* remove comments

* refactor translation

* translations

* add type check and

* translations

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
Co-authored-by: lngohumble <lngohumble@gmail.com>
2021-11-14 22:25:47 +01:00
KotyandGitHub 5eaf380e91 Tipjar translations into Spanish and Portuguese (#122)
* For mango-selling grannies in Brazil

* Update pt-br.toml

#TIPJAR pt-br translation

* Update es.toml :)

#TIPJAR es ahora alcancía

* Update es.toml

minor fix

* Update pt-br.toml

Minor fixes to pt-br.toml file

* remove pt.toml
2021-11-14 21:53:48 +01:00
LightningTipBotandGitHub 11edce049e General amount (#118)
* generalized amount started

* add new file

* uncomment old pay

* longer comments

* lnurl pay with generalized amount input

* generalized amount for /invoice

* amount input for all commands

* remove logging

* delete old comments
2021-10-30 21:26:01 +02:00
LightningTipBotandGitHub 51c410c045 Tipjar hotfix2: translations and help (#116)
* translations and help

* shorten it
2021-10-27 15:23:01 +02:00
LightningTipBotandGitHub f0385128db add username to tipjar (#115) 2021-10-27 12:04:32 +02:00
LightningTipBotandGitHub c90cfd9d8a tipjar (#114)
* tipjar

* tipjar

* fix pointers and wallet keys

* better comment
2021-10-27 11:55:59 +02:00
bb00253122 Translation Indonesian (#106)
* 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>
2021-10-18 20:46:59 +02:00
LightningTipBotandGitHub 10c9121cc7 lnurl for user id (#104)
* lnurl for user id

* adjust help
2021-10-18 10:30:07 +02:00
LightningTipBotandGitHub 236097a461 inline send and receive to specific user (#103) 2021-10-17 16:13:41 +02:00
LightningTipBotandGitHub 22d4ab284c turkish translations (#101)
* turkish translations

* fix

* fix

* fix

* add tr.toml
2021-10-13 17:13:28 +03:00
3a2c5b2c51 Portuguese (#100)
* For mango-selling grannies in Brazil

* fix

* rename to pt-br.toml

Co-authored-by: Koty <89604768+kotyauditore@users.noreply.github.com>
2021-10-13 09:01:06 +03:00
c7212131fa Fix fr.toml (#99)
* Create fr.toml 

French translation

* Update with correct line breaks

* typo change

* fix mistakes, enable fr.toml

Co-authored-by: Nicolas Bustamante <92287725+nbstme@users.noreply.github.com>
2021-10-13 08:43:37 +03:00
LightningTipBot 88fdb4de9b small fix 2021-10-11 18:20:25 +03:00