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
Mouse Reeve
5fcea99029
Indicate reading status changes with comments
2021-08-16 13:39:56 -07:00
Mouse Reeve
48c6a3923a
Save reading status update
2021-08-16 13:32:20 -07:00
Mouse Reeve
45e82abda4
Merge branch 'main' into images-django-imagekit
2021-08-11 12:47:25 -06:00
Mouse Reeve
21a954c7df
Always use underscores in html ids
...
Plus some other shifting around
2021-08-08 19:44:12 -07:00
Mouse Reeve
c14bcf19cc
Use activitystreams to populate discovery view
2021-08-07 18:56:05 -07:00
Mouse Reeve
aad5de3b61
Improves cross-edition display for lists
2021-08-06 19:03:15 -07:00
Joachim
ce4553b367
Add simple tag to provide fallback if original image doesn't exist
2021-08-03 17:45:52 +02:00
Mouse Reeve
973b23856c
Merge branch 'main' into opengraph-image-generation
2021-06-17 15:17:54 -07:00
Fabien Basmaison
6be97a6102
Be consistent between variable name & logic. Equal is already too short.
2021-06-09 19:03:15 +02:00
Fabien Basmaison
c4072cbc04
Be nice to Black and follow styleguides.
2021-06-09 18:54:05 +02:00
Fabien Basmaison
0ecea5710b
Use gettext to add subtitle to short titles (use variable for length).
2021-06-09 18:51:20 +02:00
Fabien Basmaison
b9562e44e3
Merge branch 'main' into frontend/subtitle
2021-06-09 10:14:34 +02:00
Joachim
7d1e4aebbc
Better forms
2021-06-02 18:17:53 +02:00
Joachim
7ea3153026
Fix site_path tag
2021-05-26 16:57:28 +02:00
Joachim
e5e549d125
Add opengraph image depending on context
2021-05-26 14:44:15 +02:00
Fabien Basmaison
c894f5ef35
Update subtitle behaviour:
...
- on Book
- Remove problematic punctuation (locale and multiple punctuation if the title ends with `?`, `!` or similar).
- Update view.
- Use proper semantic to split combined title into `name`, `alternativeHeadline` and series-related microdata.
- The author is not a subtitle, just data.
- Use parenthesis in the `get_title` filter instead of punctuation.
2021-05-26 13:21:06 +02:00
Mouse Reeve
ca8067769c
Don't show deleted ratings in stars
2021-05-23 08:48:00 -07:00
Mouse Reeve
7a4c4248df
Improves status template performance
...
Reduces queries about about 65
2021-05-22 19:01:40 -07:00
Mouse Reeve
e5ff4ac36d
Python formatting
2021-05-22 18:02:14 -07:00
Mouse Reeve
3d3ab6433e
Improves query efficiency for shelve buttons
...
About 50 fewer queries (yikes)
2021-05-22 17:58:08 -07:00
Mouse Reeve
d64e0c4aa8
Adds admin view for individual announcement
2021-05-20 08:09:35 -07:00
Mouse Reeve
3b9fed1b31
Filter for concise status timestamps
2021-05-11 18:59:31 -07:00
Mouse Reeve
dbf795be5d
Python formatting
2021-05-11 15:16:27 -07:00
Mouse Reeve
ac2b63d0cd
More templatetag files
2021-05-11 15:14:42 -07:00
Mouse Reeve
58da17d694
Use smaller templatetag modules
2021-05-11 14:41:28 -07:00
Mouse Reeve
eba6159f68
Moves status interaction filters into their own module
2021-05-11 14:14:22 -07:00
Mouse Reeve
acd26012be
Removes more unused filters
2021-05-11 14:12:28 -07:00
Mouse Reeve
f5eb5f982a
Removes filter for checking for follow requests
2021-05-11 14:05:46 -07:00
Mouse Reeve
3de8ae00ae
Removes unused templatetag
2021-05-11 14:00:23 -07:00
Mouse Reeve
04cc2fb3f3
Removes unused dict_key filter
2021-05-11 13:55:46 -07:00
Mouse Reeve
b8fc4f99a3
Don't calculate mutuals for logged out users
2021-04-30 11:11:18 -07:00
Mouse Reeve
62884c6111
Show mutual counts instead of totals for other users
2021-04-30 09:50:11 -07:00
Mouse Reeve
3ade2d3bb1
New version of black, new whitespace
2021-04-26 09:15:42 -07:00
Mouse Reeve
179ba24115
Safely handle invalid book
2021-04-23 15:29:55 -07:00
Mouse Reeve
a499259163
Fixes python formatting
2021-04-23 15:01:35 -07:00
Mouse Reeve
9ba0aec6d9
Show subtitles when titles are very short
2021-04-23 14:58:48 -07:00
Joachim
6c89eb1b65
Update bookwyrm_tags.py
2021-04-22 20:48:25 +02:00
Joachim
15241e3807
……… come back another day
2021-04-22 20:48:06 +02:00
Joachim
ebf20de10e
linter linter go away
2021-04-22 20:45:16 +02:00
Joachim
00e6d0524f
Accessibility: add language to lang
attr on html
tag
...
I only use the first subtag of the language string given by `get_language()`, because `get_language()` returns an all-lowercase string, and I don't know if it'll be considered valid by browsers.
2021-04-22 20:41:58 +02:00
Mouse Reeve
914f617689
Cleans up imports
2021-04-20 14:06:45 -07:00
Mouse Reeve
baa423bb69
Merge pull request #967 from bookwyrm-social/date-localization
...
Fixes localization weirdness with dates
2021-04-20 13:44:34 -07:00
Mouse Reeve
70a819951e
Fixes localization weirdness with dates
2021-04-19 16:18:29 -07:00
Mouse Reeve
0947b79fb1
Python formatting
2021-04-19 15:06:33 -07:00
Mouse Reeve
77775d9bf8
Remove superfluous calls to all()
2021-04-19 14:47:59 -07:00
Pablo Barton
b0dc5f3f93
357 Users set preferred timezone, used for readthroughs
2021-03-28 19:16:43 -04:00
Mouse Reeve
70296e760b
Runs black
2021-03-08 08:49:10 -08:00
Mouse Reeve
bcdf2ee142
Improves privacy-related display
2021-02-24 11:35:19 -08:00
Mouse Reeve
485de039cf
Merge branch 'main' into shelve-buttons
2021-02-09 13:28:00 -08:00
Mouse Reeve
acd922970a
Add to and edit lists
2021-01-31 10:34:25 -08:00
Mouse Reeve
e5fd14b206
Confirmation modal for to-read shelve action
2021-01-30 13:11:43 -08:00
Mouse Reeve
e5746d6117
Menu list for shelf button options
2021-01-30 11:43:40 -08:00
Mouse Reeve
2411b4fe79
puts @'mentions directly in compose box
2021-01-19 16:16:22 -08:00
Mouse Reeve
6c80b128a4
Adds status tests
2021-01-12 14:02:38 -08:00
Mouse Reeve
a8483754c3
Fixes edit book view
2021-01-11 20:21:32 -08:00
Mouse Reeve
03a5f333e1
Cleans up notifications
2021-01-06 15:53:09 -08:00