grunfink
eac5e61275
Minor semantic tweak.
2026-04-06 11:42:17 +02:00
grunfink
1b7d558c97
Follow to previous change: only use an alias for the current host.
2026-04-06 11:40:55 +02:00
grunfink
45d7d893a2
Webfinger: if the 'subject' is not an acct:, search in 'aliases'.
...
Implementations like Hubzilla return a subject that is an http: instead of an acct:,
but have one in the 'aliases' array, so use it.
2026-04-06 11:39:15 +02:00
grunfink
bd64d219ac
More webfinger fixes.
2026-03-22 09:34:58 +01:00
grunfink
e1186cac54
Commented out aliases in webfinger, as they are generating following problems.
...
At least for misskey, because it's using the /users/... alias
instead of the real actor id.
2026-03-22 09:06:21 +01:00
grunfink
f66d52d701
Added more "rel" links to webfinger.
2026-03-20 16:33:52 +01:00
grunfink
94b1513590
Replaced some tabs with spaces.
2026-03-20 16:21:04 +01:00
Giuseppe Ranieri
e21a933a6e
Implemented tootfinder.ch compatibility mimic Mastodon Behaviour
...
Added aliases list on webfinger response
Return the /users/<actor> in the webfinger response ( mimic Mastodon )
Implemented /users endpoint redirect to access actor profile
Files changed:
modified: data.c
modified: httpd.c
modified: snac.h
modified: webfinger.c
2026-03-19 11:50:03 +01:00
grunfink
11af00194e
Bumped copyright year.
2026-01-01 17:01:03 +01:00
green
d704b3c23e
fixed memory leak
2025-11-14 16:49:26 +01:00
grunfink
212284c792
xs_http.h: new file.
2025-10-13 13:07:06 +02:00
grunfink
08f03cde6b
Added some const here and there.
2025-07-08 17:30:45 +02:00
grunfink
1417ffd9dc
Minor webfinger tweak.
...
Some implementations (at least, Activitypub for Wordpress) return valid
webfinger queries also for posts; this confused poor simple snac. This
change only accepts as valid actor requests those queries that have a
'subject' field that start with 'acct:'.
If this has a side effect, remains to be seen.
2025-07-08 17:20:51 +02:00
default
932227bbac
Bumped copyright year.
2025-01-08 16:59:14 +01:00
default
bde5748a6e
Minor webfinger tweak.
2024-12-19 05:37:27 +01:00
default
d5f0acaf87
Log fake uids in webfinger_request_fake().
2024-09-19 15:02:00 +02:00
default
836b66358d
Use webfinger_request_fake() in export_csv().
2024-09-18 20:05:22 +02:00
default
ee63e2a78c
New function webfinger_request_fake().
2024-09-18 19:56:40 +02:00
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