Commit graph

331 commits

Author SHA1 Message Date
default
00004500a9 mastoapi: fixed audio attachments. 2024-12-21 16:49:45 +01:00
default
1167b64f8f mastoapi: minor tweak to notification list (Tusky was in a forever request loop). 2024-12-20 09:45:11 +01:00
default
4877528879 Merge branch 'master' of comam.es:git/snac2 2024-12-20 08:33:05 +01:00
default
664f9cbeef Mastoapi: added badlogin support. 2024-12-20 08:33:02 +01:00
Paul Martin
fa253f008a Implement mastoapi markers for notifications and home. 2024-12-20 00:18:32 +00:00
default
b010be8180 Fixed bad url in timeline link. 2024-12-15 23:25:11 +01:00
default
c6562fa39b New function timeline_link_header(). 2024-12-15 22:52:41 +01:00
default
e8ae4920f6 Fixed crash in mastoapi_status() Emoji list. 2024-12-15 15:47:27 +01:00
default
b2d301de2d mastoapi: deleted useless code. 2024-12-15 15:23:28 +01:00
default
ee607734d8 mastoapi: fixed incorrect field 'bot' for newly created accounts. 2024-12-15 15:17:38 +01:00
default
e6d8cc26ea mastoapi: also fill metrics from credentials_get(). 2024-12-04 21:58:19 +01:00
default
2edce5e0ec mastoapi: show contact metrics if the user want. 2024-12-04 21:45:49 +01:00
default
e0ba66a53e Check for existing id. 2024-12-04 05:53:12 +01:00
default
203db3b09e Fixed bug in blocked instance rejection. 2024-12-04 05:51:17 +01:00
default
781c0edcc6 mastoapi: fixed crash in posts without 'published' field. 2024-11-20 15:59:36 +01:00
default
085caa7747 New function get_in_reply_to(). 2024-11-19 06:46:14 +01:00
default
41aa022e0d Merge branch 'master' of grunfink-codeberg:grunfink/snac2 2024-11-18 15:23:17 +01:00
François Kooman
a7974cbaa7 do not autocapitalize "Login: " masto api field
on Chrome/Safari the Mastodon API OAuth login page auto capitalizes
the first char of the "Login: " field. This disabled that.
2024-11-18 11:46:14 +01:00
default
437829a833 mastoapi: more tweaks to notifications code. 2024-11-17 11:08:25 +01:00
default
442b46abc0 mastoapi: added more checks in the notifications code. 2024-11-17 10:53:47 +01:00
default
50fa2ae0e6 mastoapi: a lot of proxy code. 2024-11-12 06:35:00 +01:00
default
4971e54e56 mastoapi: added some proxy code. 2024-11-12 06:11:10 +01:00
default
5b759a6bc5 mastoapi: fixed timeline/public (it was showing less posts that it should). 2024-10-11 04:22:08 +02:00
Nicolai Dagestad
ba5cbb6d82 URL decode data after splitting the arguments
Data decoding should happen after the parsing if not, a '?', '&', '#'
or other character decoded will interfere with the parsing. e.g. the
users password contains a '&', then it is truncated on that character,
and login will fail.
2024-09-15 18:39:49 +02:00
default
5e5abd76a0 Minor logging tweak. 2024-08-31 07:14:59 +02:00
default
08de491395 mastoapi: added bookmark list. 2024-08-29 08:30:09 +02:00
default
54520f0411 mastoapi: added support for [un]bookmarking. 2024-08-29 08:11:30 +02:00
default
35503ed2b4 mastoapi: also use mastoapi_timeline() with lists. 2024-08-09 18:07:05 +02:00
default
9457a7358a Use mastoapi_timeline() also for the instance timeline and tags. 2024-08-09 17:25:57 +02:00
default
61d8b46782 More mastoapi_timeline() tweaks. 2024-08-09 17:17:27 +02:00
default
339dc1a325 Use index_desc_first() / index_desc_next() in mastoapi_timeline(). 2024-08-09 16:57:14 +02:00
default
db7a68d198 New function mastoapi_timeline(). 2024-08-09 16:09:45 +02:00
default
d91a016a6c mastoapi: show EmojiReact notifications as 'favourites'. 2024-08-06 18:15:04 +02:00
default
88fc843d3e Use xs_between() where applicable. 2024-08-05 18:39:15 +02:00
default
ae02f6542b mastoapi: don't generate stupid, non-existent header fields. 2024-07-27 06:33:44 +02:00
default
e113f95738 mastoapi: in /v2/search, store found local actors. 2024-07-27 05:52:41 +02:00
default
7a20b14fbc mastoapi: opening a token file updates its file date and its app's. 2024-07-24 18:31:49 +02:00
default
de628c5f33 Use MD5_HEX_SIZE in more places. 2024-07-23 10:09:12 +02:00
default
c648fab797 mastoapi: Reverted empty ctype rejection. 2024-06-09 16:56:54 +02:00
default
6e8adc86d0 mastoapi: Added missing field in list creation. 2024-06-08 21:25:02 +02:00
default
bbb365e81b Many Mastodon apps don't send Content-Type in DELETE, so ignore it. 2024-06-08 21:08:12 +02:00
Louis Brauer
3fb0a0acf0 mastoapi: fix create list response & duplicate actor adding 2024-06-07 01:01:04 +02:00
default
7a6b94a058 mastoapi: fix crashes on unset content-type. 2024-06-01 08:47:50 +02:00
default
21efd9cd9c mastoapi: added an 'emojis' field to mastoapi_poll(). 2024-05-31 19:29:17 +02:00
default
6d29cfd63d Don't propagate the user change after dismissing the announcement. 2024-05-31 17:51:33 +02:00
default
affab3ab3c Minor tweaks. 2024-05-31 11:24:39 +02:00
default
f1712dbe5d Merge branch 'master' of grunfink-codeberg:grunfink/snac2 2024-05-31 11:11:25 +02:00
grunfink
fe52b7612e Merge pull request 'Implement instance announcements' (#173) from louis77/snac2:announcements into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/173
2024-05-31 09:09:54 +00:00
default
c80a30e228 mastoapi: return an empty /v1/trends/statuses. 2024-05-31 11:01:42 +02:00
default
9d87960836 mastoapi: return an empty /v1/trends/tags. 2024-05-31 11:00:05 +02:00