Commit Graph

77 Commits

Author SHA1 Message Date
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
b33ffa4401 fix: remove unnecessary information in help commands 2022-11-18 13:27:18 +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
fe8e81b54d feat: add page_size both in twitter and mastodon config 2022-11-15 21:13:23 +01:00
VC
7f7219ea78 feat: turn tokio-based async logic into futures 2022-11-15 10:06:00 +01:00
VC
f371b8a297 feat: add default rate_limiting option 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
89de1cf7a3 refactor: migrate from clap v2 to clap v4 2022-11-14 20:36:15 +01:00
VC
78924f6eeb refactor: simpler error bubbling inside async block 2022-11-14 14:33:39 +01:00
VC
9c14636735 refactor: avoid Box::new syntax, prefer into() 2022-11-14 14:25:08 +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
4415c4ac12 refactor: better logic flow for uploading/deleting media 2022-11-08 10:54:42 +01:00
VC
06904434c8 fix: indentation error when registering 2022-11-08 08:54:36 +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
3b0e7234af refactor: downloads/uploads every media from a tweet async way 2022-11-08 08:37:17 +01:00
VC
62011b4b81 refactor: downloads/uploads every media from a tweet async way 2022-11-07 21:47:12 +01:00
VC
5ce3bde3e7 fix: remove unecessary \n in TOML conf 2022-11-07 18:25:55 +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
8673dd7866 feat: adapt to rust 1.63 2022-08-17 18:02:12 +02:00
VC
b11595bfca style: fmt & clippy processed 2022-08-11 12:33:05 +02:00
VC
08368b2a73 refactor(error): remove deprecated description() 2022-05-03 12:14:23 +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
6c0383d9d0 refactor: build better decode functions 2022-04-24 12:18:17 +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
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