Commit graph

21 commits

Author SHA1 Message Date
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
Mouse Reeve e90cb52f23 Add option to hide follows 2022-02-28 11:48:49 -08:00
Mouse Reeve 5c99f142f9 Serialize links for books 2021-12-15 17:12:53 -08:00
Mouse Reeve 9e5c7053e9 More pylint fixes 2021-06-18 14:29:24 -07:00
Mouse Reeve 3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve 7c85b554cf Handle both Image and Document types 2021-04-17 11:47:48 -07:00
Mouse Reeve 220fb926c9 Rename Image to Document 2021-04-15 16:35:04 -07:00
Mouse Reeve ef12b077dd Adds following field to actor serialization 2021-04-07 10:32:16 -07:00
Mouse Reeve 9c8ce5f77d Makes followers an optional AP field 2021-04-02 07:38:37 -07:00
Mouse Reeve 45d229d712 Makes outbox an optional field on the user table 2021-04-02 07:35:56 -07:00
Mouse Reeve 3e75253ff1 Updates activitpub and tests for discoverability 2021-03-21 14:50:36 -07:00
Mouse Reeve ba09377041 Use None instead of empty dict for endpoint default value 2021-03-17 13:59:16 -07:00
Mouse Reeve 0d8e1f0ae2 Makes endponts a default field 2021-03-17 09:34:20 -07:00
Mouse Reeve 70296e760b Runs black 2021-03-08 08:49:10 -08:00
Mouse Reeve 60738011a2 user's name and bio field are optional
get it together, mouse
2020-12-20 12:09:19 -08:00
Mouse Reeve 74a58e5267 Use custom model fields in user model 2020-11-30 10:32:29 -08:00
Mouse Reeve 4ae785a7f7 move image activity to its own file 2020-11-27 17:59:46 -08:00
Mouse Reeve 9b57cfd331 Fixes default lists on activitypub dataclasses 2020-11-25 10:45:39 -08:00
Mouse Reeve a7d8376b6a Small activitypub serialization issues 2020-10-31 13:06:22 -07:00
Mouse Reeve c7883cd615 Updates migrations
To get the app working again I ran resetdb, let it crash in initdb,
then ran the migration, then re-ran initdb
2020-09-21 08:10:37 -07:00
Mouse Reeve f77c156733 rename main code directory 2020-09-17 13:30:54 -07:00
Renamed from fedireads/activitypub/person.py (Browse further)