Daniele Tricoli
|
cda7fbb40c
|
Group stages in 2 blocks
|
3 months ago |
Daniele Tricoli
|
e59c805caa
|
Add LastUpdate label
We will handle container rebuild using it.
|
3 months ago |
Daniele Tricoli
|
bf3d28cb69
|
Add a test about split an empty string
|
4 months ago |
Daniele Tricoli
|
8cf5c263d3
|
s/message/caption/
|
4 months ago |
Daniele Tricoli
|
38101bd2a5
|
Don't cut caption to max toot chars
We split the caption as we do for messages and post it in a thread.
|
4 months ago |
Daniele Tricoli
|
37a52eda8a
|
Rephrase better the long description
|
4 months ago |
Daniele Tricoli
|
d3f19c58d7
|
Move DownloadFile into utils package
|
4 months ago |
Daniele Tricoli
|
a4027c4271
|
Move all the configuration stuff into cfg package
|
4 months ago |
Daniele Tricoli
|
a1b10758cd
|
Decouple layers 🚀
|
4 months ago |
Daniele Tricoli
|
0ccb1226fc
|
Fix error message for file download
|
4 months ago |
Daniele Tricoli
|
2c2331c371
|
Make possible to set an optional footer for toots
|
4 months ago |
Daniele Tricoli
|
30a96b9e27
|
Add a footer to each toot
|
4 months ago |
Daniele Tricoli
|
4ff99a750c
|
Fix the added space as fist character
|
4 months ago |
Daniele Tricoli
|
0059989510
|
Move SplitTextAtChunk function into a separate package
|
4 months ago |
Daniele Tricoli
|
7fb169443c
|
Add MASTODON_TOOT_FOOTER option key
|
4 months ago |
Daniele Tricoli
|
5b074691c4
|
Update README with deploy info
|
4 months ago |
Daniele Tricoli
|
399ec41a8c
|
Add dockerignore
|
4 months ago |
Daniele Tricoli
|
801a00cf09
|
Add a docker-compose file
|
4 months ago |
Daniele Tricoli
|
3cf55a9700
|
Upgrade all the packages on the final stage
This way we get latest security fixes.
|
4 months ago |
Daniele Tricoli
|
56540639e0
|
Remove bash from the final container
|
4 months ago |
Daniele Tricoli
|
89a16115e2
|
Containerize the bot
|
4 months ago |
Daniele Tricoli
|
30771e942a
|
Ignore the compiled bot
|
4 months ago |
Daniele Tricoli
|
4de8ea7e06
|
Update README
|
4 months ago |
Daniele Tricoli
|
7330ed07a1
|
Don't use a regexp in splitTextAtChunk
It was not reliable, split all the words using spaces and concatenate
them again to form each line to be < limit works better.
|
4 months ago |
Daniele Tricoli
|
6b162f1595
|
Use an heutistic technique to split text in chunks < mastodon max characters
|
4 months ago |
Daniele Tricoli
|
4851f662d1
|
Allowed Telegram channel configuration done
|
4 months ago |
Daniele Tricoli
|
58f682a4e1
|
Log the telegram message id for debugging purpose
|
4 months ago |
Daniele Tricoli
|
8f3c97a532
|
Fix logging for telegram chat id
|
4 months ago |
Daniele Tricoli
|
c7dc59ebc7
|
Check the allowed telegram chat id
Message from a chat that is not the allowed one will be ignored.
|
4 months ago |
Daniele Tricoli
|
c338bd0b68
|
Add TELEGRAM_CHAT_ID const field
|
4 months ago |
Daniele Tricoli
|
a9719668ee
|
Slice caption only when > 500 characters
|
4 months ago |
Daniele Tricoli
|
ac0d898af9
|
s/DEBUG/TELEGRAM_DEBUG/
|
4 months ago |
Daniele Tricoli
|
ff78aae3d7
|
Use max_characters also for photos' caption
|
4 months ago |
Daniele Tricoli
|
7596194fb9
|
Handle text > 500 characters
|
4 months ago |
Daniele Tricoli
|
86868d786f
|
Split longer telegram messages to the max mastodon toot length
|
4 months ago |
Daniele Tricoli
|
c5754e8ad0
|
Update project name
|
4 months ago |
Daniele Tricoli
|
f063fdf56f
|
Rename the project to telegram-group2mastodon
|
4 months ago |
Daniele Tricoli
|
947075bfef
|
Group of photos in Telegram are seen as a sequence
So each photo will be posted as it was sent alone.
|
4 months ago |
Daniele Tricoli
|
c37d99e6b2
|
Mention that messages with 1 photo and (optionally) caption is supported
|
4 months ago |
Daniele Tricoli
|
833ad0186e
|
Write telegram message caption in the toot
|
4 months ago |
Daniele Tricoli
|
a9fdaca4d8
|
Add support to post media
|
4 months ago |
Daniele Tricoli
|
4c082f2e03
|
Handle only text and photo
|
4 months ago |
Daniele Tricoli
|
5caf9c4618
|
Set completed toot visibility task
|
4 months ago |
Daniele Tricoli
|
f2c9bbacbc
|
Make toot visibility configurable
|
4 months ago |
Daniele Tricoli
|
8d2d78c8ec
|
Fix first TODO
|
4 months ago |
Daniele Tricoli
|
4182ccc8f2
|
Add note on allowed channels
|
4 months ago |
Daniele Tricoli
|
f4dd77760e
|
Update README
|
4 months ago |
Daniele Tricoli
|
bda25e2c20
|
Just use AccessToken to connect to Mastodon after correctly getting it
|
4 months ago |
Daniele Tricoli
|
bc9b090023
|
Add the authenticate sud command
|
4 months ago |
Daniele Tricoli
|
2db7323032
|
Switch to github.com/cking/go-mastodon
|
4 months ago |