Commit graph

317 commits

Author SHA1 Message Date
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
default
a5e331c05e mastoapi: more list tweaks. 2024-05-31 10:16:43 +02:00
default
71c0799231 mastoapi: more list tweaks. 2024-05-31 10:00:35 +02:00
default
15bca0921f mastoapi: some tweaks to list entry points. 2024-05-31 09:50:37 +02:00
default
a41b66ce08 Updated RELEASE_NOTES. 2024-05-31 09:18:59 +02:00
grunfink
f7baafb416 Merge pull request 'Fix login issues with Mastodon, IceCube, Toot! on iOS' (#174) from louis77/snac2:apps into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/174
2024-05-31 07:00:13 +00:00
Louis Brauer
795790de08 Fix login with IceCubes and Mastodon on iOS 2024-05-31 01:28:29 +02:00
Louis Brauer
7e0ac64b85 Make Oauth login page actually readable on mobile devices 2024-05-31 01:28:20 +02:00
Louis Brauer
ac3b5dcbd4 Merge branch 'master' into announcements 2024-05-30 22:38:05 +00:00
Louis Brauer
c3bcb2bd3b Implement instance announcements 2024-05-31 00:30:37 +02:00
default
a2e08688d5 Fixed minor leak. 2024-05-30 10:49:32 +02:00
Louis Brauer
af8f1ef273 Implement image uploads for Tokodon 2024-05-29 11:53:34 +02:00
Louis Brauer
25ef07b1ec More or less smaller fixes :) 2024-05-27 23:55:51 +02:00
Louis Brauer
dfa0911c88 Implement empty response for /accounts/:id/featured_tags 2024-05-27 19:46:35 +02:00
Louis Brauer
81cf309e4d Implement Mastodon PATCH endpoint for account profile updates 2024-05-27 12:24:17 +02:00