Commit graph

1335 commits

Author SHA1 Message Date
default
50f249a926 Updated RELEASE_NOTES. 2023-05-18 09:51:06 +02:00
default
d4695a9cbb Mastoapi: added block / unblock. 2023-05-18 09:46:21 +02:00
default
3738eccce2 Updated RELEASE_NOTES. 2023-05-18 09:25:04 +02:00
default
35f5b9fb98 Updated documentation. 2023-05-17 13:33:51 +02:00
default
b2a784bbed Updated documentation. 2023-05-17 12:35:46 +02:00
default
ef1db81d1a Updated documentation. 2023-05-17 12:03:35 +02:00
default
237947f87e Updated RELEASE_NOTES. 2023-05-17 11:53:53 +02:00
default
ef59df5db2 Fixed bug in drop_dm_from_unknown web processing. 2023-05-17 11:47:11 +02:00
default
b3f2d15d00 Added web interface for drop_dm_from_unknown. 2023-05-17 11:37:23 +02:00
default
93d1649ba6 New config option 'drop_dm_from_unknown'. 2023-05-17 11:24:47 +02:00
default
6a2979c131 Updated RELEASE_NOTES. 2023-05-17 10:58:14 +02:00
default
b5eaabe77e When updating the user info, also spam the following list. 2023-05-17 10:49:46 +02:00
default
83aad1b7a4 Added some comments. 2023-05-17 10:40:44 +02:00
default
970ad7a540 Got rid of xs_encdec.h. 2023-05-17 10:08:57 +02:00
default
7f1b87a6b6 Backport from xs. 2023-05-17 09:42:31 +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
32b53e8db5 Updated RELEASE_NOTES. 2023-05-15 11:47:25 +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
d3c1b3127a Bumped version. 2023-05-15 11:15:53 +02:00
default
e9588a71ae Add /v1/account/search support. 2023-05-15 11:15:28 +02:00
default
59b049fe3b Backport from xs. 2023-05-15 10:31:15 +02:00
grunfink
08e43f2093 Merge pull request 'Reformat the codeblocks in README.md' (#35) from bouncepaw/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/35
2023-05-13 15:46:02 +00:00
bouncepaw
c079d530e3 Reformat the codeblocks in README.md
1. Remove the extra indent
2. Add `sh` language
2023-05-13 15:08:30 +00:00
default
47ce73553f Version 2.31 RELEASED. 2023-05-13 16:56:06 +02:00
default
6b597ffdb4 Only show the bio in the top of the page for public pages. 2023-05-13 09:35:43 +02:00
default
ac39a3b796 Updated RELEASE_NOTES. 2023-05-13 09:19:23 +02:00
default
5bd9b58f09 Merge branch 'master' of grunfink-codeberg:grunfink/snac2 2023-05-13 09:17:35 +02:00
grunfink
f66080f67c Merge pull request 'Added user-agent to webfinger query' (#34) from poesty/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/34

This is to avoid that when sending webfinger queries to some instances (e.g. GoToSocial), we cannot fetch their resources because of the 418 status code returned by the other side.
2023-05-13 07:16:33 +00:00
poesty
962a45ccd1 Added user-agent to webfinger query 2023-05-13 02:33:29 +08:00
default
24f802be7e Use a different approach towards incomplete mentions.
This time, incomplete mentions are completed using a) the host of
the first mention, if there are any, or b) the current host.
2023-05-12 19:01:53 +02:00
default
cada652f3f Merge branch 'master' of triptico.com:git/snac2 2023-05-12 13:06:45 +02:00
default
bdb1ce3fdf Added more comment marks. 2023-05-12 13:06:38 +02:00
default
3ada6b6de9 Updated RELEASE_NOTES. 2023-05-12 12:33:02 +02:00
default
13129a6374 Updated RELEASE_NOTES. 2023-05-12 12:32:24 +02:00
default
5325da02e6 Added some code comments. 2023-05-12 12:29:24 +02:00
default
d35c949a13 Resolve (partially) the issue with mentions without server.
Mastodon (mainly from the API) usually include mentions without server,
which is just stupid. This patch tries to resolve these broken mentions in
process_tags() by looking for a user name starting with it in the already
pre-populated tag list. As of now, this only works if the message is an
inReplyTo and the broken mention is the one of the original
(attributedTo) poster.
2023-05-12 11:56:17 +02:00
default
2e27a805fc Minor refactor to msg_note(): the tag list is created here, not in process_tags(). 2023-05-12 10:33:59 +02:00
default
3d4bf235f0 Minor function prototype tweak. 2023-05-12 10:15:44 +02:00
default
7e17310397 Updated RELEASE_NOTES. 2023-05-11 23:15:38 +02:00
default
6d82dde0c5 Added support from exclude notification types. 2023-05-11 10:54:56 +02:00
default
9c4e491497 Backport from xs. 2023-05-11 10:48:37 +02:00
default
2a073116d3 In /relationship, the id[] can be a list. 2023-05-11 10:44:27 +02:00
default
2a7f5f7b4d Updated RELEASE_NOTES. 2023-05-10 19:16:01 +02:00
default
a15ec49a1d Fixed conflict. 2023-05-09 17:22:31 +02:00
grunfink
d91150997c Merge pull request 'Fixed the issue of semaphore name conflicts.' (#33) from poesty/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/33
2023-05-09 15:19:32 +00:00