Bart Schuurmans
4f58b11330
Include the correct protocol and port in remote IDs
2024-04-24 15:35:19 +02:00
Bart Schuurmans
839ab2fafd
Merge branch 'main' into move-fix
2024-04-24 14:56:32 +02:00
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
Carlos Cámara
6ac38564e2
Add wikidata field for authors
2024-02-03 22:55:33 +00:00
Hugh Rundle
891b72c79c
update user export file to use ActivityPub objects where possible. ( #3109 )
...
* add more context to user export page
* fix BookData fields wrong for files
* use to_activity and to_model where possible
* fixes for import and export
- use AP JSON where possible
- minor template wording updates
* import fixes and updates tests
* minor cleanup
* remove todo for mastodon
2023-11-13 21:14:03 +11:00
Hugh Rundle
2d185dfb8a
remove unnecessary test data files
2023-11-06 14:51:52 +11:00
CSDUMMI
688978369f
Implement self-contained archives to import and export entire users between instances ( #38 )
...
Co-authored-by: Daniel Burgess <developerdannymate@gmail.com>
Co-authored-by: Hugh Rundle <hugh@hughrundle.net>
Co-authored-by: dannymate <dannymate@noreply.codeberg.org>
Co-authored-by: hughrun <hughrun@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/GuildAlpha/bookwyrm/pulls/38
Co-authored-by: CSDUMMI <csdummi.misquality@simplelogin.co>
Co-committed-by: CSDUMMI <csdummi.misquality@simplelogin.co>
2023-09-07 22:37:28 +02:00
Joeri de Ruiter
1a215e9b9e
Convert description from Markdown to HTML when importing from Open Library
2023-08-01 11:45:46 +02:00
Jascha Urbach
ac8b060d58
Isfdb ID for books and authors ( #2482 )
...
* New ID: Audible ASIN
Audible belongs to Amazon BUT they do not share the same IDs. The Audible ASIN of an audiobook is never the same as the Amazon ASIN.
Yeah, I know, Amazon is great. The fact that the ASIN is a good distinction for different works and editions bothers me more than I will ever be willing to admint.
* New ID "ISFDB"
Internet Speculative Ficiton Database ID for books and authors.
Links to the entry if set.
* Added aasin to test
Added aasin to test
* the answer expects more emptxy fields...
2022-12-11 11:33:33 -08:00
Rick Osborne
862260294a
StoryGraph import ISBN tweak
...
Looks like SG updated their CSV headers just a little, so that the importer
hadn't been picking up the ISBN.
2022-12-02 19:16:22 -08:00
André Jaenisch
22fcb61fb2
Write tests for Calibre importer
...
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2022-05-05 13:08:01 +02:00
Mouse Reeve
a58d600030
Adds librarything line without isbn to test data
2021-12-28 15:22:02 -08:00
Mouse Reeve
bb69c32a6c
Adds support for openlibrary csv shelf name format
2021-12-14 11:58:56 -08:00
Mouse Reeve
6cca3f9772
Updates test data
2021-11-14 07:57:13 -08:00
Mouse Reeve
32d0d8d027
Expand librarything csv processing tests
2021-11-13 13:04:54 -08:00
Mouse Reeve
20baf9385d
Updates goodreads tests
2021-11-11 09:22:44 -08:00
Mouse Reeve
4ccd9fc633
Use generalized mappings to handle import
2021-11-10 16:49:54 -08:00
Mouse Reeve
1b9d08414f
Adds storygraph tests
2021-11-10 09:55:52 -08:00
Mouse Reeve
1aff6322ea
Makes test user undiscoverable
2021-08-03 11:59:49 -07:00
Mouse Reeve
0c0dcc57d6
Adjusts line length
2021-05-18 12:51:57 -07:00
Mouse Reeve
f4800307b4
Adds isbn search
2021-04-29 09:54:42 -07:00
Mouse Reeve
0a41503572
Adds a couple more tests and test data
2021-04-29 09:06:17 -07:00
Mouse Reeve
674c4a99df
Adds missing data file
2021-04-26 13:56:09 -07:00
Mouse Reeve
c455585262
Adds missing data file
2021-04-22 10:30:00 -07:00
Mouse Reeve
c405580e8e
Updates edition federation test
2021-04-22 07:37:12 -07:00
Mouse Reeve
3e75253ff1
Updates activitpub and tests for discoverability
2021-03-21 14:50:36 -07:00
Fabien Basmaison
4a7c0cd184
Fix indentation in bookwyrm/tests/data/ol_isbn_search.json.
2021-03-20 15:36:25 +01:00
Henri Bourcereau
703ff60271
isbn search
2021-03-06 18:09:15 +01:00
Henri Bourcereau
bfedb300ca
librarything import : fix parsing & select box
2021-02-26 13:32:17 +01:00
Henri Bourcereau
b85fed3595
librarything import
2021-02-24 20:20:14 +01:00
Mouse Reeve
9833f5a03d
Tests creating editions
2021-01-30 17:44:42 -08:00
Joel Bradshaw
48147883ce
Merge branch 'main' into progress_update
2021-01-13 19:53:26 -08:00
Mouse Reeve
22f5fa154c
Add readthroughs even when a book is already shelved
2021-01-02 13:26:42 -08:00
Mouse Reeve
204967e421
Adds tests file for goodreads import
2021-01-02 09:42:50 -08:00
Mouse Reeve
fa1ddf359a
create single outgoing tests file
2020-12-21 14:37:28 -08:00
Mouse Reeve
d49e49f021
Notify mentioned users
2020-12-14 12:31:11 -08:00
Joel Bradshaw
7fadbeeb55
Merge branch 'main' into progress_update
2020-11-28 11:06:01 -08:00
Mouse Reeve
5638597112
Fixes errors caught in tests
2020-11-27 20:27:56 -08:00
Joel Bradshaw
5f2ac6d961
Rename fr_* to bw_*
2020-11-27 16:12:47 -08:00
Mouse Reeve
9b79eb5fc3
Removes outdated test of bookwyrm connector updater
2020-11-25 11:44:19 -08:00
Mouse Reeve
9b57cfd331
Fixes default lists on activitypub dataclasses
2020-11-25 10:45:39 -08:00
Mouse Reeve
0c73a1f42e
updates test data and serialization
2020-11-02 16:24:56 -08: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