Mouse Reeve
0da0091237
Cache title author snippet
2022-01-05 14:33:10 -08:00
Mouse Reeve
6823d5f1b7
Cache follow button template snippet
2022-01-05 12:59:52 -08:00
Mouse Reeve
aa1a7189ae
Uses function to get current year for annual goal default
2022-01-04 11:02:59 -08:00
Mouse Reeve
0422421d60
Fixes bug in logged out group view
2021-12-28 14:33:30 -08:00
Joachim
24b0e086e7
Add summary_keys JSONField for the user
2021-12-22 14:57:26 +01:00
Mouse Reeve
2f47284c77
Removes outdated code
2021-12-16 09:12:00 -08:00
Mouse Reeve
5c99f142f9
Serialize links for books
2021-12-15 17:12:53 -08:00
Mouse Reeve
86b294afd7
Re-structures link models
2021-12-15 16:23:21 -08:00
Mouse Reeve
4f576b77a0
Use urlfield
2021-12-15 12:46:10 -08:00
Mouse Reeve
a4859668b8
Merge branch 'main' into book-file-links
2021-12-15 10:05:29 -08:00
Mouse Reeve
bee3c86223
Lookup by openlibrary key
2021-12-14 12:49:00 -08:00
Mouse Reeve
79af354dfd
Don't produce error is author is unset in import
2021-12-14 11:27:13 -08:00
Mouse Reeve
a3d5acc70c
Model name in comment
2021-12-10 12:46:40 -08:00
Mouse Reeve
73e09f8d18
Use transaction decorator on group accept
2021-12-10 12:03:18 -08:00
Joachim
5b8c1bde89
Merge branch 'main' into list-embed
2021-12-08 16:40:15 +01:00
Mouse Reeve
4085714764
Update openlibrary author with ISNI
2021-12-05 13:26:22 -08:00
Mouse Reeve
2d875b5575
Add link properties for remotes
2021-12-05 12:29:54 -08:00
Joachim
8a84bd3490
Apply suggestions from python lint
2021-12-04 17:33:28 +01:00
Joachim
3bd28afe93
Add unique embed_key to List model
2021-12-04 16:06:07 +01:00
Mouse Reeve
ed28d5f945
Merge branch 'main' into add-feed-filters
2021-12-02 12:14:54 -08:00
Mouse Reeve
3a7f070a79
Typo fix
2021-11-28 08:50:29 -08:00
Mouse Reeve
54cef421e2
Fixes checking if image fields are already set
2021-11-28 07:57:27 -08:00
Joachim
0001d6e92a
PyLint
2021-11-24 19:04:14 +01:00
Joachim
40e4591a24
Apply review suggestions
2021-11-24 11:59:45 +01:00
Joachim
a0093a8a2e
Add status type filters
2021-11-22 00:25:47 +01:00
Hugh Rundle
a218fa21ea
Merge branch 'main' into isni-poc
2021-11-22 08:53:58 +11:00
Hugh Rundle
e2836d468d
don't use author name as deduplication field
2021-11-22 08:47:12 +11:00
Mouse Reeve
3787a31c67
Updates image helpers on site
2021-11-18 14:39:22 -08:00
Mouse Reeve
41dd915d7f
Email templates
2021-11-17 20:22:00 -08:00
Mouse Reeve
f22ae23574
Safer call to get preview image or books
2021-11-15 13:34:02 -08:00
Mouse Reeve
9f6796bbf5
Safer request for normalized data
2021-11-14 10:29:12 -08:00
Mouse Reeve
31f3351854
Fixes bug comparing dates to nonetype
2021-11-14 10:22:26 -08:00
Mouse Reeve
8cede05d32
Retry hanging items
2021-11-14 10:20:14 -08:00
Mouse Reeve
f92863ad3e
Notify when import completes
2021-11-14 09:56:23 -08:00
Mouse Reeve
47b98ad0d9
Track completed items on job
2021-11-14 09:04:12 -08:00
Mouse Reeve
bdc3f6828b
Python formatting
2021-11-14 07:11:48 -08:00
Mouse Reeve
c614f638fd
Merge branch 'import-field-names' of github.com:bookwyrm-social/bookwyrm into import-field-names
2021-11-14 07:06:48 -08:00
Mouse Reeve
fb91c33682
Fixes isbn assignment for goodreads
2021-11-13 12:24:16 -08:00
Mouse Reeve
1e46de4c9d
Associate imported review with import item
2021-11-13 11:44:05 -08:00
Mouse Reeve
40fff02eec
Approve or delete import guesses
2021-11-12 17:10:47 -08:00
Mouse Reeve
e09c02017c
Fixes title/author search handling
2021-11-12 14:46:39 -08:00
Mouse Reeve
80c1954aa3
Fixes first_search_result behavior
2021-11-12 13:48:31 -08:00
Mouse Reeve
1e8269b6c9
Refactors import status view
2021-11-12 13:10:52 -08:00
Mouse Reeve
e6a251fdad
Updates mocks across tests
2021-11-12 10:07:38 -08:00
Mouse Reeve
9fee860b00
Adds enum for queue names
2021-11-11 19:10:22 -08:00
Mouse Reeve
6aa57d4d34
Set queue for broadcast task
2021-11-11 19:00:01 -08:00
Mouse Reeve
915c41f59f
Merge branch 'main' into import-field-names
2021-11-11 14:08:16 -08:00
Mouse Reeve
c37472b484
Merge pull request #1599 from bookwyrm-social/remove-serialize-image-helper
...
Remove serialize image helper
2021-11-11 13:53:17 -08:00
Mouse Reeve
4ccd9fc633
Use generalized mappings to handle import
2021-11-10 16:49:54 -08:00
Mouse Reeve
81450ac2d5
Merge pull request #1597 from bookwyrm-social/import-fixes
...
Don't broadcast imported reviews outside bookwyrm
2021-11-10 12:32:51 -08:00
Mouse Reeve
0736c7e160
Uses general names for fields in parsed csvs
2021-11-10 11:10:09 -08:00
Mouse Reeve
717da918cf
Use social media preview images
2021-11-10 10:59:21 -08:00
Mouse Reeve
d61595abb9
Clearer syntax
2021-11-10 10:50:05 -08:00
Mouse Reeve
cf477a03ae
Corrects broadcast flow for objects
2021-11-10 10:39:51 -08:00
Mouse Reeve
9815e9e100
Python formatting
2021-11-10 10:30:18 -08:00
Mouse Reeve
4f5d23e785
Replace image_serialzier helper with built-in serializers
2021-11-10 10:28:43 -08:00
Mouse Reeve
d204e8dbb8
Merge pull request #1247 from joachimesque/image-absolute-url-getter
...
Add get_absolute_url to ImageField
2021-11-10 10:27:29 -08:00
Mouse Reeve
97a71f5e39
Cleans up software check syntax
2021-11-10 09:55:56 -08:00
Mouse Reeve
aeef472ee1
Fixes flow in checking software for broadcast
2021-11-10 09:33:00 -08:00
Mouse Reeve
e19c4620ce
Don't broadcast imported reviews outside bookwyrm
2021-11-08 12:00:08 -08:00
Joachim
b956b79bd0
Add full URL generation to image_serializer
2021-10-27 18:56:37 +02:00
Joachim
35bd4a4071
Apply review suggestion
2021-10-27 18:13:47 +02:00
Hugh Rundle
6bc86f189f
notify group members of group changes
...
Send a notification to all group members when group name, description, or privacy are changed.
2021-10-22 20:23:45 +11:00
Hugh Rundle
bd20c9ce2c
remove followers group visibility test
...
Also updates description of group.followers_filter() override
2021-10-22 18:42:18 +11:00
Mouse Reeve
9d4e0851a0
Merge branch 'main' into image-absolute-url-getter
2021-10-20 15:12:06 -07:00
Hugh Rundle
6e5c0cc4c3
Merge branch 'main' into bookwyrm-groups
...
There are database migrations in main ahead of this branch so they need to be merged in to the branch before we can merge back into main.
2021-10-17 06:22:04 +11:00
Hugh Rundle
2a31bf2f0c
delete groups
...
Whoops, forgot to add this functionality earlier.
- allow owner to delete a group
- change all group lists to closed curation with group=False when group deleted
2021-10-16 17:35:36 +11:00
Hugh Rundle
6f13c0d808
formatting fix
2021-10-16 16:09:03 +11:00
Hugh Rundle
97ea61dd7e
efficiency improvement to remove_from_group
2021-10-16 08:17:42 +11:00
Mouse Reeve
eac1ed3484
Merge pull request #1534 from bookwyrm-social/followers-display
...
Fixes privacy filters for followers-only replies
2021-10-15 13:38:42 -07:00
Mouse Reeve
c6caa5a3f4
Fixes privacy display
2021-10-15 13:26:02 -07:00
Hugh Rundle
2f38af4faa
Revert "clean up List db queries"
...
This reverts commit 41f27a4a66
.
I forgot that update() can only be done on a query result, not on an object, so we will need to go back to querying in order to update rather than saving.
2021-10-16 06:59:07 +11:00
Mouse Reeve
1072381b7d
Fixes followers filter for non-status objs
2021-10-15 11:09:46 -07:00
Mouse Reeve
bd0e4abd56
Uses correct model field for raw values
2021-10-15 10:36:46 -07:00
Mouse Reeve
117e6a08b2
Merge branch 'main' into markdown
2021-10-15 10:06:34 -07:00
Mouse Reeve
b11b810ec9
Use edit date to track is status has been updated
2021-10-15 08:56:07 -07:00
Hugh Rundle
1634c8774e
remove useless field in Notifications model
2021-10-15 17:59:39 +11:00
Hugh Rundle
41f27a4a66
clean up List db queries
...
- don't unnecessarily query DB in List views
- use more efficient query in remove_from_group List class method
2021-10-15 17:56:23 +11:00
Mouse Reeve
af567ba05e
Edit posts in original markdown syntax
2021-10-14 18:34:26 -07:00
Mouse Reeve
175df2181c
Adds edited field to status model
2021-10-14 17:33:04 -07:00
Mouse Reeve
cc650e235b
Fixes privacy filters for followers-only replies
2021-10-14 16:26:28 -07:00
Hugh Rundle
726217577f
linting
2021-10-10 13:18:16 +11:00
Hugh Rundle
83f46b6cda
remove print() statement
...
Whoops accidentally left this behind from manual troubleshooting
2021-10-10 12:01:21 +11:00
Hugh Rundle
252ff0d689
emblacken files
...
Wouldn't it be great if I just remembered to run Black before every commit?
2021-10-09 22:15:24 +11:00
Hugh Rundle
9940abfd81
refactor removing user from group
...
This is in preparation for removing a user and their lists when the group owner blocks them.
Remove the user via models.group
Remove the lists via models.list
2021-10-09 22:11:46 +11:00
Hugh Rundle
1bf5758e01
overide filters for groups and group lists
...
- use more sensible query for displaying groups on user page
- privacy_filter now allows group members to see followers_only and private lists and groups they would otherwise not see
2021-10-09 16:11:11 +11:00
Hugh Rundle
056150d583
CASCADE group.user
...
Delete groups when group.user is deleted.
2021-10-08 21:21:19 +11:00
Hugh Rundle
39e002ee13
Merge remote-tracking branch 'origin/bookwyrm-groups' into bookwyrm-groups
...
Merge changes from main project into local branch
2021-10-08 18:53:59 +11:00
Hugh Rundle
05bde27944
remove commented out code
2021-10-08 18:46:30 +11:00
Mouse Reeve
cef46a1827
Adds migration
2021-10-07 17:30:42 -07:00
Mouse Reeve
4ba3234f6c
Merge branch 'main' into bookwyrm-groups
2021-10-07 17:27:11 -07:00
Mouse Reeve
37e03e8993
Merge branch 'main' into book-file-links
2021-10-07 15:27:16 -07:00
Mouse Reeve
ba5ec878fa
Adds language preference to database
2021-10-06 12:19:52 -07:00
Mouse Reeve
73a8f89bee
Merge branch 'main' into bookwyrm-groups
2021-10-06 11:37:38 -07:00
Mouse Reeve
8d00ef4318
Style cleanup
2021-10-06 11:23:36 -07:00
Mouse Reeve
53e5762563
Status-specific filters in status model
2021-10-06 11:19:13 -07:00
Mouse Reeve
34d6c88861
Move privacy levels filter to clearer location
2021-10-06 11:15:17 -07:00
Mouse Reeve
2307cb2227
Filter followers only in place
...
It's only used in one spot
2021-10-06 11:12:03 -07:00
Mouse Reeve
68b6b1fbae
User override in child class instead of if/else for privacy_filter
2021-10-06 11:08:54 -07:00
Mouse Reeve
97cc129478
Updates calls to privacy_filter
2021-10-06 10:37:09 -07:00