Commit graph

154 commits

Author SHA1 Message Date
default
15f755960b Added xs_json_load() wherever possible. 2023-08-05 14:56:07 +02:00
default
f5a3dbf8d6 Use xs_json_dump_pp() wherever possible. 2023-08-03 09:02:08 +02:00
default
0f8c0cd694 Updated comment in headers. 2023-07-28 11:34:18 +02:00
default
d1add0598a In mastoapi, notes can be pinned / unpinned. 2023-06-28 20:36:33 +02:00
default
15684721c3 Added some lost fields in mastoapi_status(). 2023-06-28 19:53:25 +02:00
default
9a47a7c2d1 Don't discard notes from people we don't follow in mastoapi. 2023-06-28 19:16:58 +02:00
default
478cb2cf15 Use xs_stock_* values wherever possible. 2023-06-15 17:51:24 +02:00
default
3977a12bef Avoid writing a NULL header in mastoapi_account(). 2023-06-12 19:39:15 +02:00
Haijo7
42958900a0
removed additinal empty string 2023-06-12 19:01:38 +02:00
Haijo7
564b5b1161 add mastodon profile header to mastodon api 2023-06-12 10:42:59 +02:00
Haijo7
9b1c5cc843
set bot to true in mastodon account if user type is service 2023-06-11 16:53:50 +02:00
Haijo7
2544ec92b2
add user type to mastodon profile 2023-06-11 16:38:06 +02:00
poesty
fb5f34bb5a Only allow logged-in user to use statuses API 2023-06-11 12:06:37 +08:00
poesty
15137fc5c7 Only allow logged-in user to use search API 2023-06-11 03:04:08 +08:00
poesty
2b64892e83 Use MID_TO_MD5 for ID comparison 2023-06-10 14:35:16 +08:00
poesty
56c44eb455 Ignore non-followed users' notes without boosts in private timeline 2023-06-10 14:07:58 +08:00
poesty
86198549e7 Ignore timestamps in mastoapi_id when filtering entries 2023-06-10 02:39:11 +08:00
default
fafdbbf815 Replaced usage of random() with xs_rnd_buf(). 2023-06-05 18:29:25 +02:00
default
513d81c694 Now you can vote from the mastoapi. 2023-06-01 08:40:08 +02:00
default
182ba33c76 Minor refactoring to mastoapi_poll(). 2023-06-01 08:13:58 +02:00
default
3b72b0f0ac New function was_question_voted(). 2023-05-31 22:06:31 +02:00
default
796a111de8 New function mastoapi_poll(). 2023-05-31 18:35:50 +02:00
default
bec8e88fb9 Started voting on mastoapi (non-working). 2023-05-31 11:13:06 +02:00
default
a3eb84b932 Fixed poll id in mastoapi. 2023-05-31 10:57:06 +02:00
default
96481a3836 Don't show votes to polls as descendants in mastoapi. 2023-05-31 10:51:37 +02:00
default
db1bc858a1 Votes are shown in mastoapi. 2023-05-31 10:49:08 +02:00
default
bcc2eb6234 Show the finished poll notification correctly in mastoapi. 2023-05-30 15:01:45 +02:00
default
654e171b93 New macro ISO_DATE_SPEC. 2023-05-29 09:07:27 +02:00
default
ec1ee8a137 Added the missing field "header" to mastodon acoount. 2023-05-27 13:43:50 +02:00
default
bf6fcee21c In mastoapi, don't show poll votes in timelines. 2023-05-24 14:12:21 +02:00
default
d4695a9cbb Mastoapi: added block / unblock. 2023-05-18 09:46:21 +02:00
default
970ad7a540 Got rid of xs_encdec.h. 2023-05-17 10:08:57 +02:00
default
81cec4ab27 Don't autocomplete local users if they are already added. 2023-05-17 08:03:46 +02:00
default
9bc10da8a5 In mastoapi account search, return local users at the end. 2023-05-17 07:27:08 +02:00
default
e6eb1adc65 Also find local users in /api/v1/search. 2023-05-15 13:04:30 +02:00
default
3e1944abbf Deleted repeated code. 2023-05-15 11:38:29 +02:00
default
40fa322c54 mastoapi_account() returns the acct field as user@host. 2023-05-15 11:36:09 +02:00
default
bcf267075d Made mastoapi account search case-insensitive. 2023-05-15 11:28:59 +02:00
default
bd8886f8a6 Don't repeat accounts when searching. 2023-05-15 11:23:36 +02:00
default
e9588a71ae Add /v1/account/search support. 2023-05-15 11:15:28 +02:00
default
bdb1ce3fdf Added more comment marks. 2023-05-12 13:06:38 +02:00
default
5325da02e6 Added some code comments. 2023-05-12 12:29:24 +02:00
default
6d82dde0c5 Added support from exclude notification types. 2023-05-11 10:54:56 +02:00
default
2a073116d3 In /relationship, the id[] can be a list. 2023-05-11 10:44:27 +02:00
default
de12b8d0a2 Fill the mastoapi instance contact_account field, if possible. 2023-05-08 10:13:43 +02:00
default
e2e7bc2d71 Added a source (web, mastoapi, etc) to lastlog_write(). 2023-05-08 09:02:45 +02:00
default
eed24fde1a Fixed a bug in Tusky's image send. 2023-05-06 11:10:08 +02:00
default
212d1350fe Fixed mastoapi debug levels. 2023-05-04 11:53:17 +02:00
default
ec6f94e27e New url /oauth/x-snac-get-token. 2023-05-04 11:52:04 +02:00
default
f6ef275fa3 Made the post action configurable in login_page. 2023-05-04 11:08:35 +02:00