bookwyrm/bookwyrm
Hugh Rundle 6684d60526
refactor Move for more redundancy
As outlined in #3354, a use `Move` fails if the user is moving from a BookWyrm server to another BookWrym server.
This is because:

1. the original code did not announce changes to alsoKnownAs;
2. the original code always checked the locally saved profile rather than refetching the remote data;

This commit fixes both these problems by forcing `MoveUser` to always perform a "refresh" of the local data from the remote, and by saving the user with broadcast=True when updating alsoKnownAs ids.
2024-04-22 13:35:08 +10:00
..
activitypub Merge pull request #3150 from dato/get_representative_atomic 2024-01-01 19:14:19 -08:00
connectors Change import of clean 2023-08-02 19:37:52 +02:00
forms Merge pull request #3054 from bookwyrm-social/user-migration 2024-01-01 19:04:43 -08:00
importers stop pylint constantly whining 2023-10-28 06:51:26 +11:00
isbn Adds test for invalid isbns and handle isbns with dashes 2023-11-02 19:03:15 -07:00
management Adds success message 2024-01-02 18:29:55 -08:00
middleware middleware for displaying 413 page 2023-11-18 22:10:36 +11:00
migrations disable user exports by default 2024-01-16 21:32:13 +11:00
models refactor Move for more redundancy 2024-04-22 13:35:08 +10:00
static add comment back to bookwyrm.js 2023-11-21 20:20:11 +11:00
telemetry Added mypy to scripts and workflow, and some first annotations for celerywyrm 2023-07-22 13:27:43 +02:00
templates Merge pull request #3219 from bSolt/issue-3178 2024-01-17 15:31:52 -08:00
templatetags Pass correct user id in Move notification 2024-01-17 21:06:04 +11:00
tests refactor Move for more redundancy 2024-04-22 13:35:08 +10:00
utils Merge branch 'main' into user-migration 2023-11-19 19:18:22 -08:00
views refactor Move for more redundancy 2024-04-22 13:35:08 +10:00
__init__.py
activitystreams.py fix illegal values in redis jobs 2023-08-19 08:34:03 +10:00
admin.py
apps.py Add automatic instrumentation to Postgres queries 2023-04-07 01:58:49 -04:00
book_search.py Merge branch 'main' into let-a-user-search-within-their-books 2023-12-14 10:25:05 -08:00
context_processors.py Python formatting 2022-03-01 11:39:08 -08:00
emailing.py Switch from priority queues to function-based queues 2023-07-20 12:25:30 -04:00
imagegenerators.py
lists_stream.py Switch from priority queues to function-based queues 2023-07-20 12:25:30 -04:00
preview_images.py Switch from priority queues to function-based queues 2023-07-20 12:25:30 -04:00
redis_store.py Merge pull request #2784 from WesleyAC/add-status-cache-get-audience 2023-04-07 06:43:04 -07:00
settings.py disable user exports by default 2024-01-16 21:32:13 +11:00
signatures.py fix tests and formatting 2023-04-13 22:33:54 +10:00
status.py Catches missing reference to previous sanitizer 2022-07-04 13:24:13 -07:00
storage_backends.py Enable Azure BlobStorage as an alternative to AWS S3 2023-03-05 12:08:16 -05:00
suggested_users.py hide instance actor from users 2023-11-20 12:17:52 +11:00
tasks.py Switch from priority queues to function-based queues 2023-07-20 12:25:30 -04:00
thumbnail_generation.py Update thumbnail_generation.py 2022-01-08 17:54:03 +01:00
urls.py disable user exports by default 2024-01-16 21:32:13 +11:00
wsgi.py