Commit Graph

45 Commits

Author SHA1 Message Date
Louis Brauer
0e21d35e80 Use enum instead of numeric status codes for HTTP statuses 2024-05-26 21:45:41 +02:00
default
8cf7559a7e Added more const. 2024-05-23 10:01:37 +02:00
default
63e0ca5aba Also return an application/ld+json object in webfinger. 2024-05-22 16:14:58 +02:00
grunfink
76f20bb79e Merge pull request 'Change WebFinger content type to RFC-required type' (#167) from steve-bate/snac2:pr-webfinger-content-type into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/167
2024-05-22 14:01:03 +00:00
Steve Bate
59bdaca3a8 Change WebFinger content type to RFC-required type 2024-05-22 09:43:36 +02:00
default
4777fc86cb Added const everywhere. 2024-05-21 14:12:15 +02:00
default
aa95a45a7f More logging. 2024-05-05 09:34:14 +02:00
default
b4293f3c38 More logging. 2024-05-05 09:30:24 +02:00
default
26840e0dc0 Some tweaks to previous patch. 2024-04-18 17:13:31 +02:00
iwojim0
7312f4ce51 Ability to federate with hidden networks #93 (update for v2.49) 2024-03-09 14:37:54 +00:00
khm
cae37df80f webfinger: fix whitespace 2024-02-16 11:58:10 -08:00
khm
5bebe5f257 webfinger: fix stupid typo 2024-02-16 11:54:21 -08:00
khm
62dfe46bfb webfinger: add webfinger profile page to links 2024-02-16 11:53:23 -08:00
default
7f6a793146 Fixed minor collision in webfinger caching. 2024-01-10 19:16:05 +01:00
default
5172dc1e8f Webfinger queries are cached, as they should. 2024-01-08 17:26:33 +01:00
default
755d997fb1 Updated copyright year. 2024-01-04 09:22:03 +01:00
default
253e7f9eaa Don't allow creating users which user name strings only differ in case. 2023-10-13 06:33:12 +02:00
default
dfeb4668a7 Got rid of old d_char. 2023-08-31 07:00:15 +02:00
default
3e5bb109d1 Renamed json dump functions to new xs spec. 2023-08-08 19:29:34 +02:00
default
0f8c0cd694 Updated comment in headers. 2023-07-28 11:34:18 +02:00
default
1a94d7c05b Revert "New server config array "webfinger_domains"."
This reverts commit f2e0b77478.
2023-07-10 07:19:51 +02:00
default
f2e0b77478 New server config array "webfinger_domains". 2023-07-08 09:57:40 +02:00
default
e0c6fb786c New function webfinger_request_signed(). 2023-06-13 20:36:43 +02:00
default
970ad7a540 Got rid of xs_encdec.h. 2023-05-17 10:08:57 +02:00
default
5bd9b58f09 Merge branch 'master' of grunfink-codeberg:grunfink/snac2 2023-05-13 09:17:35 +02: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
poesty
e65760a349 Merge pull request 'master' (#1) from grunfink/snac2:master into master
Reviewed-on: https://codeberg.org/poesty/snac2/pulls/1
2023-05-07 07:27:24 +00:00
poesty
7d3a909598 Fixed webfinger and curl issues 2023-05-07 13:42:47 +08:00
default
185aac2387 Added -Wextra to C flags. 2023-05-04 09:28:36 +02:00
default
be5f08e6c3 Use xs_replace_n() where it suits. 2023-05-02 06:49:00 +02:00
default
5b93e9069e Added mastoapi code for account search. 2023-04-23 05:33:54 +02:00
default
fd1e281cba Use a shorter timeout for first output connections. 2023-01-24 15:06:58 +01:00
default
a38c7aeadc Updated year in copyright notices. 2023-01-17 09:50:16 +01:00
default
bb0d8f2a27 Backport from xs. 2023-01-12 09:28:02 +01:00
default
6e0b5c9d20 Fixed typo in webfinger_request(). 2022-11-09 07:34:04 +01:00
default
d86f6ee27f Backported from xs. 2022-09-25 22:57:18 +02:00
default
11134e58a3 webfinger_get_handler() returns the status. 2022-09-23 17:40:59 +02:00
default
40193b1320 webfinger_request() returns the status. 2022-09-23 17:36:40 +02:00
default
28c7961e67 New macro valid_status(). 2022-09-22 11:50:53 +02:00
default
d66b20a880 Deleted left debug information. 2022-09-22 11:40:50 +02:00
default
2a05ec3b6e Minor webfinger tweak. 2022-09-22 11:35:44 +02:00
default
f2e4de7f90 More webfinger work. 2022-09-22 11:28:13 +02:00
default
00a8929581 New function webfinger_request() (incomplete). 2022-09-22 10:15:24 +02:00
default
6e4294f8e8 Added a webfinger handler. 2022-09-21 21:12:49 +02:00