tastytea
7baaae1abc
Bugfix: Use the right mastodon-cpp object.
2019-04-21 06:13:51 +02:00
tastytea
64f78e0300
Ported to mastodon-cpp 0.105.0.
2019-04-20 01:47:23 +02:00
tastytea
0f471e860f
Updated to mastodon-cpp 0.30.0
2019-01-27 04:51:03 +01:00
tastytea
f42bff3918
bugfix: Treated Easy::Results as Easy::Status, resulting in always-false validity.
2018-08-14 15:46:31 +02:00
tastytea
c4b4522dc7
Rewrote send_reply(), upped mastodon-cpp dependency to version 0.17.0
2018-06-16 03:53:36 +02:00
tastytea
764e84cefd
fixed connectionbrokennessdetection
2018-06-11 17:15:35 +02:00
tastytea
209743fd55
Check for new messages every 2 seconds (was: 5), made the connection-brokenness-detection easier to understand
2018-06-11 05:47:34 +02:00
tastytea
f5a8f04d73
make surer config file is written on shutdown
2018-06-06 21:17:10 +02:00
tastytea
42d1898ce3
git.schlomp.space -> schlomp.space
2018-06-04 21:04:38 +02:00
tastytea
bf5fffca3a
Changed website URL when registering on the server
2018-06-04 20:20:01 +02:00
tastytea
b147b42b79
Increased delay after error from 60 to 120 seconds
2018-06-02 14:43:18 +02:00
tastytea
bf608f5145
removed redundancy in error message
2018-05-29 19:15:53 +02:00
tastytea
a1ef65b71c
set _ptr to nullptr after reset()
2018-05-28 15:52:57 +02:00
tastytea
50d3ab6bba
Fixed reconnect issues, hopefully
...
Make the main thread sleep when the stream thread sleeps due to a connection error.
This should solve the problem of having multiple stream threads running doing too many connection attempts
2018-05-28 13:23:16 +02:00
tastytea
7938cfb30b
Rewrote config file management
2018-05-27 16:08:49 +02:00
tastytea
6dbddb6df2
Fix premature "Connected to..." message
2018-05-27 12:28:20 +02:00
tastytea
992f6373ab
Added warning if in_reply_to_id is not found
2018-05-27 01:34:47 +02:00
tastytea
0a380dbab4
Incresed wait time after broken connection from 30 to 60 seconds
2018-05-27 01:25:32 +02:00
tastytea
1273f72e4b
Try fetching the status 2 times
2018-05-27 01:24:11 +02:00
tastytea
575fb5b4e2
Added proxy support #1
2018-05-26 23:52:22 +02:00
tastytea
95c9eea3df
Added 30-second delay on stream error
2018-05-26 11:14:08 +02:00
tastytea
9f94317b7d
added "Connected to …" log message
2018-05-24 11:39:25 +02:00
tastytea
293600447b
Corrected logstring format
2018-05-22 20:45:54 +02:00
tastytea
e9419c07a1
Logging via syslog added, logging vio stdout/stderr removed
2018-05-22 13:44:41 +02:00
tastytea
c215c076e4
improved error checking
2018-05-22 12:44:17 +02:00
tastytea
1b70a29896
Do not print replies in debug output
2018-05-21 12:58:23 +02:00
tastytea
2efd88bc4d
Added registration and config file creation
2018-05-20 21:23:26 +02:00
tastytea
30a8903197
new feature: catches up on missed mentions
2018-05-20 15:27:31 +02:00
tastytea
b361753f51
switched confuig file format from cfg to json
2018-05-20 14:25:20 +02:00
tastytea
d7b59ad6bc
Revert "reconnect: quick & dirty fix"
...
This reverts commit 1112092cb2
.
2018-05-20 12:35:54 +02:00
tastytea
1112092cb2
reconnect: quick & dirty fix
2018-05-20 11:07:38 +02:00
tastytea
e053d7cd44
Reconnections did not work, this should fix it. Needs testing
2018-05-19 22:49:40 +02:00
tastytea
df818317ac
get_new_messages(): Return mentions only
2018-05-19 22:47:56 +02:00
tastytea
784dc4269a
Try to fetch full status before getting in_reply_to_id
2018-05-18 21:02:15 +02:00
tastytea
44f1692e80
Added mutex
2018-05-17 18:27:44 +02:00
tastytea
08a7cb1988
fixed reconnect code
2018-05-17 13:57:21 +02:00
tastytea
4d48e5fa1c
forgot to reset counter m(
2018-05-17 13:46:00 +02:00
tastytea
6d578f7e1e
If we got an empty message 5 times, set state to not running
2018-05-17 13:21:45 +02:00
tastytea
286a9baa06
mild refactoring
2018-05-14 21:44:44 +02:00
tastytea
cea2f7c295
updated to mastodon-cpp-0.12.2, etc....
2018-05-13 16:11:37 +02:00
tastytea
73640c3b66
Errors to stderr, debug output to stdout
2018-05-12 14:24:53 +02:00
tastytea
ca261ca031
Catching SIGTERM, cosmetic changes
2018-05-12 10:42:22 +02:00
tastytea
18b92496e5
reestablishing connection after it is lost
2018-05-12 10:29:57 +02:00
tastytea
dbebbd934f
mild refactoring
2018-05-12 04:17:34 +02:00
tastytea
5ebaf7678c
bugfix: in_reply_to_id only shows up in the status after it is fetched again
2018-05-12 03:21:10 +02:00
tastytea
e9e16f96d8
Check if there are URLs in that message
2018-05-11 07:24:03 +02:00
tastytea
8f083e127d
Posting works now
2018-05-11 07:03:23 +02:00