Commit graph

24 commits

Author SHA1 Message Date
Bart Schuurmans c42db40a63 Construct absolute URLs with the correct protocol and port 2024-04-24 15:30:47 +02:00
Hugh Rundle 5b051631ec
Move MVP
* update User model to allow for moved_to and also_known_as values
* allow users to add aliases (also_known_as) in UI
* allow users to move account to another one (moved_to)
* redirect webfinger to the new account after a move
* present notification to followers inviting to follow at new account

Note: unlike Mastodon we're not running any unfollow/autofollow action here: users can decide for themselves
This makes undoing moves easier.

TODO

There is still a bug with incoming Moves, at least from Mastodon.
This seems to be something to do with Update activities (rather than Move, strictly).
2023-09-18 21:21:04 +10:00
Jascha Urbach 0cae89b2b6
Update wellknown.py
./bw-dev black
2023-04-16 17:30:27 +02:00
Jascha Urbach f3b1b1d8e4
Fix language constant to show correct lang in API
api/v1/instance had "en" hardcoded as language. This fix takes LANGUAGE_CODE from settings.py/.env and takes the first two letters as response.
2023-04-16 17:28:05 +02:00
Hugh Rundle e9bb2a04a4
code cleanup 2021-11-28 21:38:28 +11:00
Hugh Rundle 9d52e3cf27
add ostatus subscribe to webfinger links 2021-11-27 18:32:50 +11:00
Mouse Reeve 3787a31c67 Updates image helpers on site 2021-11-18 14:39:22 -08:00
Mouse Reeve e3fec5885a Fixes logic on nodeinfo page 2021-11-16 16:20:29 -08:00
Mouse Reeve 4c539bc7eb Fixes image paths in endpoints 2021-10-06 08:49:07 -07:00
Mouse Reeve 0a37556941
Merge pull request #1401 from bookwyrm-social/opensearch
Adds opensearch xml file
2021-09-27 19:48:53 -07:00
Mouse Reeve 95cdaae4d4 Python formatting 2021-09-27 19:38:54 -07:00
Mouse Reeve c32f975a67 Working in firefox 2021-09-27 19:28:50 -07:00
Mouse Reeve 99ef81be9b Linter fixes 2021-09-27 19:05:13 -07:00
Mouse Reeve 15fc31bf77 Merge branch 'main' into opensearch 2021-09-27 18:58:28 -07:00
Mouse Reeve dfa8bafe18 Uses new visible/editable/deleteable functions 2021-09-27 16:04:40 -07:00
Mouse Reeve acfb1bb376 Updating string format synatx part 2 2021-09-18 11:32:00 -07:00
Mouse Reeve 09e49c70ed Fixes peers endpoint 2021-09-11 13:30:27 -07:00
Mouse Reeve 1f53ce33a8 Fixes user stats reporting 2021-09-11 07:52:56 -07:00
Mouse Reeve 7c3cf095f3 Adds opensearch xml file 2021-09-10 16:47:59 -07:00
Mouse Reeve 9413dacaf2 Updates instance info endpoint 2021-09-10 11:44:51 -07:00
D Anzorge 92b96afc2d Make webfinger match usernames in case insensitive manner 2021-08-27 21:27:54 +02:00
Mouse Reeve 3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve 6bf3d9dcd8 Adds hosts-meta path 2021-03-29 14:36:24 -07:00
Mouse Reeve 139416d9c3 Moves federation info endpoints into views module 2021-03-13 11:00:55 -08:00
Renamed from bookwyrm/wellknown.py (Browse further)