Commit Graph

93 Commits

Author SHA1 Message Date
VC
26491f146f refactor: replace scootaloo_config with &str in init_db() 2022-04-24 10:40:52 +02:00
VC
13bb6d6f37 feature: make thread in Twitter thread in Mastodon 2022-04-24 09:42:26 +02:00
VC
abfb2ff50a feature: more tests 2022-04-24 09:42:26 +02:00
VC
8b0945cb48 refactor: more clear option 2022-04-24 09:42:26 +02:00
VC
48b8eaaa5b feature: state is held into a sqlite db 2022-04-24 09:42:22 +02:00
VC
6363c12460 feature(test): add tests 2022-04-24 09:39:29 +02:00
VC
080218f385 refactor: make everything a little more modular 2022-04-24 09:39:29 +02:00
VC
ff03b32f9d fix: remove unused struct 2022-04-12 12:55:40 +02:00
VC
c301649d49 last correction 2022-04-12 12:03:49 +02:00
VC
fd9cc31848 Update src/lib.rs 2021-04-24 08:04:52 +00:00
VC
ac80b67c9f Merge branch 'master' into 'noasync'
# Conflicts:
#   .gitlab-ci.yml
#   Cargo.lock
#   Cargo.toml
#   src/lib.rs
2021-04-24 07:40:04 +00:00
VC
394ec5d1f3 I consider this a good compromise between all async (that works but is pretty complex and honestly a bit useless) and nothing async that is not the most optimal way to deal with things as reqwest and egg-mode are async by nature 2021-04-24 09:08:09 +02:00
VC
c10de76854 Adding logging facility 2021-04-24 09:07:06 +02:00
VC
2e052ebf6a Still a WIP: need to use async reqwest to respect the global context of usage (reqwest::blocking is using async inside so it does not really sync whatever) 2021-04-18 17:00:44 +00:00
VC
367377c090 Update various shits and give tokio compat 0.2 2021-03-10 20:59:42 +01:00
VC
1f98954d2e Revert "Use futures instead of tokio (for just one call, sounds more appropriate)"
This reverts commit 9809327784
2020-07-27 21:02:10 +02:00
VC
9809327784 Use futures instead of tokio (for just one call, sounds more appropriate) 2020-05-19 22:33:19 +02:00
VC
11e94d6a3e elefren use 2020-05-19 15:43:05 +02:00
VC
eb0213eeac Add some comment on the fact that the NewStatus can fail 2020-05-19 15:36:01 +02:00
VC
50e27034d8 Adaptation to elefren instead of Mammut 2020-05-19 15:21:23 +02:00
VC
1bf38f986c Trim some more fat from the executable by aligning the reqwest version of the main thread to the version of mammut 2020-05-18 14:15:50 +02:00
VC
99c5d38f12 Add a more modern reqwest version, eliminate the old tokio version 2020-05-18 13:56:02 +02:00
VC
fe9bd55c01 Update to egg-mode 0.14, need to find a fix for async call of user_timeline 2020-05-18 13:38:36 +02:00
VERET Clément
6d46258d2d Does proper mentions through the MentionEntity struct 2020-03-05 15:02:43 +01:00
VERET Clément
7e2fc12487 Add the support of threads without replies: if we replied to ourselves, it is considered, if not, it is rejected 2020-03-05 11:38:57 +01:00
VC
caf38559f1 Need replies to have threads so… 2020-03-05 07:56:10 +01:00
VC
da67fee0fc Deletes replies from the user_timeline 2020-03-05 07:12:16 +01:00
VC
aae59f641e Decode HTML Entities inside Tweet 2020-03-03 18:38:49 +01:00
VC
db92f419c8 Deletes the RT from the user_timeline : this is not OUR content and copying to Mastodon would be gross at best 2020-03-03 16:47:17 +01:00
VERET Clément
fca4d02907 Replace & by & in the text of the toot (from the tweet) 2020-03-02 14:08:10 +01:00
VERET Clément
28547ed430 Bump version number 2020-03-02 14:07:23 +01:00
VC
ebd03a2bd1 Reactivate RT and limite size (200) 2020-03-01 20:59:40 +01:00
VC
c39784fca7 Version with functionning media upload 2020-03-01 20:42:06 +01:00
VC
e8edb4412a Resolving to error to debug media 2020-03-01 17:12:51 +01:00
VC
b73a8afa2f Dereferences Twitter short url (t.co) to the real URLs + add Error handling (not used at the moment) 2020-03-01 17:02:10 +01:00
VC
89494f7e29 Change -h to -H to keep help available 2020-03-01 15:10:17 +01:00
VC
d6332a6252 First ever functionnal version 2020-03-01 14:51:39 +01:00
VC
18655f1e68 Main mastodon logic, reorganization of the global app to reflect the fact that a subcommand is possible 2020-03-01 13:44:32 +01:00
VC
3641bf61bb Some more testing on tweet entities 2020-03-01 10:13:00 +01:00
VC
b6748975c3 It starts to look like something… 2020-03-01 09:35:19 +01:00
VC
52f98690a5 Second series of tests 2020-02-29 15:39:27 +01:00
VC
c38b46cb8d General structure 2020-02-29 13:54:14 +01:00
VC
0be301c119 Initial commit 2020-02-29 13:47:37 +01:00