Commit graph

165 commits

Author SHA1 Message Date
Enju Aihara
267f873fb3 can now get misskey type 2022-04-13 23:18:56 +02:00
Enju Aihara
e077b77a74 reformatted 2022-04-09 19:26:33 +02:00
Enju Aihara
7941765b04 refactored the mastodon part 2022-04-09 19:23:05 +02:00
Enju Aihara
65ef38213b refactored the pleroma part 2022-04-09 18:51:01 +02:00
Enju Aihara
1d2079c3ae changed spacing 2022-04-09 15:15:00 +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
63d201da8e added requests to requirements 2022-04-06 20:08:05 +02: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
7b3cec623e changed try out links 2022-03-31 23:28:05 +02:00
Enju Aihara
d8ccd71522 added pip install requirements 2022-03-31 23:16:08 +02:00
Enju Aihara
32db175944 rewrote the api in python 2022-03-31 23:13:44 +02:00
Enju Aihara
b6ef7be08f changed how the api is installed 2022-03-31 19:31:34 +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
f45e42cd50 changed api url 2022-03-23 22:52:46 +01:00
Enju Aihara
b6371b04c0 deleted unused files 2022-03-22 17:43:02 +01:00
Enju Aihara
b4710b377f removed get_isntance_type.py 2022-03-22 17:27:27 +01:00
Enju Aihara
57d39c3fd9 added base_url 2022-03-22 17:09:18 +01:00
Enju Aihara
1e0e5927a6 added source_code url 2022-03-22 17:06:08 +01:00
Enju Aihara
c79a268eea added more block_levels 2022-03-21 18:01:18 +01:00
Enju Aihara
e2f4b5bfe2 added /info endpoint 2022-03-21 16:58:20 +01:00
Enju Aihara
0b4c1e61d1 changed error log 2022-03-21 16:01:59 +01:00
Enju Aihara
fb9677fd5d fetch from instances from database instead of text files 2022-03-21 14:04:44 +01:00
Enju Aihara
08616cfda4 added links 2022-03-11 22:43:10 +01:00
Enju Aihara
a782ef7de0 added software column 2022-03-11 22:20:40 +01:00
Enju Aihara
17588f06b6 use res.json 2022-03-07 00:36:41 +01:00
Enju Aihara
2b54705e95 changed json returned by the API 2022-03-06 22:22:20 +01:00
Enju Aihara
65ca5940e5 return the array directly 2022-03-06 19:17:42 +01:00
Enju Aihara
8fb0266ead use non stupid edited thing 2022-03-06 19:15:38 +01:00
Enju Aihara
fc2501e7b0 added new 400 status messages 2022-03-06 15:51:48 +01:00
Enju Aihara
d2cf9eb561 added the fedi block api 2022-03-06 14:46:43 +01:00
Enju Aihara
63ecfd1e40 added missing semicolon 2022-03-05 17:07:22 +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
c7b0769f1b dont crash at instances with extra tables 2022-03-05 00:52:58 +01:00
Enju Aihara
807d114ea1 use domain from mastodon instances if not censored 2022-03-05 00:15:08 +01:00
Enju Aihara
00a1a766bb now also returns the domain 2022-03-04 22:13:00 +01:00
Enju Aihara
db02d17119 changed url to domain 2022-03-04 22:01:44 +01:00
Enju Aihara
456cc2559e make it restart after a day 2022-03-04 20:56:44 +01:00
Enju Aihara
34d40e6073 sorted instances by name 2022-03-04 20:33:44 +01:00