Mouse Reeve
0031a63511
Updates add cover modal
2021-12-30 14:07:30 -08:00
Mouse Reeve
2d875b5575
Add link properties for remotes
2021-12-05 12:29:54 -08:00
Mouse Reeve
baca5e50e7
Merge pull request #1608 from hughrun/move-shelves
...
refactor shelf activity on book page
2021-12-02 12:06:07 -08:00
Hugh Rundle
a9d921cc06
code cleanup
2021-11-22 12:52:59 +11:00
Hugh Rundle
fd2ade2313
refactor isni author enrichment
...
- use activitypub.Author instead of custom dict
- prefer to display "Author of [title]" from ISNI data instead of short description
- merge isni and db authors for edit_book display
- fix edit_book template to use changed data
- rename some functions in utils/isni.py
2021-11-22 08:49:22 +11:00
Hugh Rundle
b273123708
code style
2021-11-20 16:06:16 +11:00
Hugh Rundle
373cc2c762
active_shelf should always be a reading status shelf
2021-11-20 09:58:34 +11:00
Hugh Rundle
ec39346e67
check shelf.editable instead of custom filter
2021-11-16 19:26:49 +11:00
Hugh Rundle
eab2ec0ffd
code cleanup in is_shelf_type template tag
2021-11-15 21:19:16 +11:00
Hugh Rundle
168a2488e2
refactor shelf activity on book page
...
- disallow moving from custom shelf to a reading status shelf with shelf_selector
- always use shelve_button for moving books from a reading status shelf
- redesign shelf information as a list of boxes
2021-11-15 20:59:22 +11:00
Hugh Rundle
c3ba7ba547
pylint Y U like this?
2021-11-01 20:04:25 +11:00
Hugh Rundle
6556090524
Update existing authors when isni data available
...
When an existing author is selected as a new author when editing a book,
if they have an ISNI ID recorded we check the record and augment the local
database record from the ISNI data.
Also dedupes author aliases for this feature and when adding a completely
new author.
2021-11-01 19:50:49 +11:00
Hugh Rundle
c845b7a5d0
code cleanup
2021-11-01 16:00:34 +11:00
Hugh Rundle
775470a852
normalise isnis
...
Some isnis are imported with spaces and some not.
This normalises them for comparison and creating URLs
2021-11-01 15:48:52 +11:00
Hugh Rundle
630f508ee4
code cleanup
2021-11-01 11:39:37 +11:00
Hugh Rundle
552980e208
select correct isni record when adding authors
...
The original implementation of this was so, so broken.
Now it's not.
2021-11-01 11:34:32 +11:00
Hugh Rundle
37148c5127
display isni bio with existing author name
...
If an existing author has an isni on record and it matches an author from the isni api call,
display the isni short description to aid with identifying the appropriate author.
2021-11-01 10:26:17 +11:00
Mouse Reeve
73a8f89bee
Merge branch 'main' into bookwyrm-groups
2021-10-06 11:37:38 -07:00
Mouse Reeve
97cc129478
Updates calls to privacy_filter
2021-10-06 10:37:09 -07:00
Hugh Rundle
dafda649f1
run Black on changed code
2021-10-04 21:31:28 +11:00
Hugh Rundle
2b96b3365c
Merge branch 'main' into bookwyrm-groups
2021-10-04 21:10:15 +11:00
Mouse Reeve
3c82230eed
Load subclasses
2021-10-02 19:24:23 -07:00
Hugh Rundle
602664b8d7
Merge branch 'main' into groups-merge-test
...
Big merge of a couple of weeks' work from the main project back into this branch. :ohno:
2021-10-03 10:49:38 +11:00
Hugh Rundle
52a083a907
revert name change for Group, GroupMember
...
these were named as BookwyrmGroup and BookwyrmGroupMember due to a misunderstanding about related_name and a dodgy development environment. This naming makes more sense.
2021-10-02 16:52:34 +10:00
Hugh Rundle
80fb37b55c
add has_groups tag for use on user page
2021-10-02 12:12:59 +10:00
Hugh Rundle
0f3be40957
fix group references in templates
...
Let's do this the sensible way huh, by using backwards references to memberships etc
Also adds filters for is_member and is_invited so we don't have to do weird things in group Views
2021-10-02 10:47:42 +10:00
Mouse Reeve
d78c278665
Progress update flow for modal
2021-09-29 10:59:36 -07:00
Mouse Reeve
1efe62a70e
Check for readthrough annotation
2021-09-27 13:08:11 -07:00
Mouse Reeve
d7a54b0b10
Removes stray print
2021-09-27 12:56:40 -07:00
Mouse Reeve
dd3850a3ba
Updates books test
2021-09-27 12:26:56 -07:00
Mouse Reeve
ba4df5b38b
Safely return if there are no current shelves
2021-09-27 11:29:53 -07:00
Mouse Reeve
35131262ff
CHeck for current shelves attr before querying for it
2021-09-27 11:17:53 -07:00
Hugh Rundle
035fc5209d
better logic for identifying group manager
2021-09-25 20:23:59 +10:00
Hugh Rundle
62a5ed7a9e
identify group manager
2021-09-25 19:53:06 +10:00
Mouse Reeve
4a3bf1d92d
Updates active readthrough templatetag
2021-09-22 12:27:57 -07:00
Mouse Reeve
cf3157a3b5
Merge branch 'main' into pylint-update
2021-09-20 16:31:27 -07:00
Mouse Reeve
89fad59793
Query efficiency in user view
2021-09-20 15:25:29 -07:00
Mouse Reeve
acfb1bb376
Updating string format synatx part 2
2021-09-18 11:32:00 -07:00
Mouse Reeve
8840e09eac
Fixes labels
2021-09-10 14:41:55 -07:00
Mouse Reeve
79602f69d7
Separate out shelve button options lists
2021-09-09 16:32:21 -07:00
Mouse Reeve
9ee1a110a9
Update visible shelve buttons on read action
2021-09-09 15:36:58 -07:00
Mouse Reeve
ccc41deb36
Retain whitespace in split for detecting urls
2021-09-02 13:36:01 -07:00
Mouse Reeve
a236163e67
Small cleanup
2021-09-02 09:12:56 -07:00
Mouse Reeve
f267e53b56
let's call it save not bookmark
2021-08-23 15:07:38 -07:00
Mouse Reeve
42abc145c8
Adds action views
2021-08-23 13:15:35 -07:00
Mouse Reeve
135fcbd269
Adds button to template
2021-08-23 13:02:27 -07:00
Mouse Reeve
3f8eefd694
Fixes want to read status header
...
jankily, mind you
2021-08-21 11:49:57 -07:00
Joachim
bf6ee9f53c
Thumbnails: fix default size definition in template utility
2021-08-20 18:06:09 +02:00
Mouse Reeve
0829696add
Merge pull request #1138 from joachimesque/images-django-imagekit
...
Generate thumnails for books
2021-08-18 19:53:12 -06:00
Joachim
489f97030e
apply suggested changes
2021-08-18 10:27:17 +02:00