Commit Graph

65 Commits

Author SHA1 Message Date
VC
6af1e4c55a fix: encode display_name as utf16 2022-12-03 17:27:18 +01:00
VC
0f5ab4158c feat: add copyprofile subcommand 2022-12-02 09:14:26 +01:00
VC
7f42c9d01a feat: use megalodon instead of elefren 2022-11-29 21:23:30 +01:00
VC
2ae87b2767 feat: when quoting another Scootaloo instance user, try to find the corresponding toot to replace it inside the url entities 2022-11-25 19:57:04 +01:00
VC
5633bf9187 refactor: twitter threading no longer on top 2022-11-24 23:10:30 +01:00
VC
f42aa8cbb6 refactor: build status text more progressively 2022-11-24 15:41:50 +01:00
VC
faab50d1ea feat: main logic for regex + url filtering 2022-11-24 08:00:45 +01:00
VC
2501d5990f fix: typo in the scootaloo_mentions var 2022-11-21 21:27:40 +01:00
VC
18e8b9d306 feat: add scootaloo_mentions hash from config file to be inserted into mentions 2022-11-21 08:40:52 +01:00
VC
331adec60f fix: visibility 2022-11-19 17:45:52 +01:00
VC
032e3cf8dd fix: lang is not the default one anymore 2022-11-19 17:33:50 +01:00
VC
93a27deae8 refactor: eliminate response tweet earlier 2022-11-18 12:48:40 +01:00
VC
d5db8b0d85 feat: add customizable page_size to twitter timeline 2022-11-15 21:14:01 +01:00
VC
7f7219ea78 feat: turn tokio-based async logic into futures 2022-11-15 10:06:00 +01:00
VC
ce84c05581 refactor: use futures instead of tokio for media upload 2022-11-15 10:05:57 +01:00
VC
4f5663b450 feature: better error implementation for ScootalooError inside async block 2022-11-09 19:36:00 +01:00
VC
9970968b47 refactor: avoid panicking into thread, bubble up errors to main thread to be handled 2022-11-09 18:23:06 +01:00
VC
291c86677e refactor: get mastodon token after ensuring feed is not empty 2022-11-09 08:40:04 +01:00
VC
3c64df23bc refactor: add info/debug 2022-11-08 08:54:32 +01:00
VC
c62f67c3b3 refactor: simpler mtask var 2022-11-08 08:37:26 +01:00
VC
de758c7bda refactor: separate function for media ids 2022-11-05 10:23:21 +01:00
VC
df75520175 feat: async treatment of all accounts 2022-11-04 15:26:27 +01:00
VC
dad49da090 feat: add multi-account ability 2022-11-03 23:30:50 +01:00
VC
b11595bfca style: fmt & clippy processed 2022-08-11 12:33:05 +02:00
VC
99a6adc1f4 refactor: remove useless crate:: ref 2022-04-25 11:27:11 +02:00
VC
905793af72 refactor(fmt): delete String::from() format in favor of .to_string()/to_owned() 2022-04-24 14:20:45 +02:00
VC
734f03f5a9 feature: add test for build_basic_status() fn 2022-04-24 14:06:46 +02:00
VC
a90facae86 refactor: refactor run() fn to be more efficient/more clear 2022-04-24 11:14:32 +02:00
VC
22402f0f46 refactor: optimize import and last_tweet_id var 2022-04-24 11:01:46 +02:00
VC
13bb6d6f37 feature: make thread in Twitter thread in Mastodon 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
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