Commit graph

71 commits

Author SHA1 Message Date
Enju Aihara
65ef38213b refactored the pleroma part 2022-04-09 18:51:01 +02:00
Enju Aihara
dcb862ed71 added hash function 2022-04-09 00:00:29 +02:00
Enju Aihara
46cf65678e refactored get_mastodon_blocks 2022-04-08 23:12:01 +02:00
Enju Aihara
433bcd3f00 added better way of getting the software type 2022-04-08 22:07:05 +02:00
Enju Aihara
f1c3126c0a removed mistake 2022-04-07 11:14:25 +00:00
Enju Aihara
eee3cd6c9b added user-agent 2022-04-06 17:40:49 +02:00
Enju Aihara
e4dd3a6346 use .json() instead of .text 2022-04-06 17:31:32 +02:00
Enju Aihara
39b07232bc cleaned code a bit more 2022-04-01 00:58:52 +02:00
Enju Aihara
012fd3ceef cleaned code a bit 2022-04-01 00:32:38 +02:00
Enju Aihara
a3f1348b6e removed mastodon api 2022-03-31 19:00:08 +02:00
Enju Aihara
6ddbc8ab29 check if fields are in json to reduce errors 2022-03-31 18:07:32 +02:00
Enju Aihara
e3bca69eaf added variable types to function 2022-03-31 17:17:11 +02:00
Enju Aihara
fb9677fd5d fetch from instances from database instead of text files 2022-03-21 14:04:44 +01:00
Enju Aihara
e00823707d ignore empty blocks 2022-03-05 13:09:00 +01:00
Enju Aihara
58be487edc drying some code 2022-03-05 12:19:28 +01:00
Enju Aihara
cd985a676a insert new domains with hash into the instance table 2022-03-05 11:56:13 +01:00
Enju Aihara
bea677e585 only clear blocks if theres no error 2022-03-05 09:41:11 +01:00
Enju Aihara
ad7bc06709 get block reasons from pleroma instances 2022-03-05 09:21:10 +01:00
Enju Aihara
807d114ea1 use domain from mastodon instances if not censored 2022-03-05 00:15:08 +01:00
Enju Aihara
955caf5eb2 can now also fetch from mastodon instances 2022-03-04 16:50:32 +01:00
Enju Aihara
8bf251b931 added block fetching from pleroma instances 2022-03-04 00:41:18 +01:00