Mouse Reeve
00815b3105
Python formatting
2021-04-30 11:09:06 -07:00
Mouse Reeve
f747babb43
Changes column spacing
2021-04-30 11:03:36 -07:00
Mouse Reeve
e15d6654e3
Free text field for the site footer
2021-04-30 10:42:27 -07:00
Mouse Reeve
ca12359bee
Fixes unit tests
2021-04-30 10:16:24 -07:00
Mouse Reeve
62884c6111
Show mutual counts instead of totals for other users
2021-04-30 09:50:11 -07:00
Mouse Reeve
4dacf4df3a
Refactor get_user_from_username to raise 404 directly
2021-04-30 09:33:36 -07:00
Mouse Reeve
d810d1bb8c
Remove duplicate check for user blocks
2021-04-30 09:26:02 -07:00
Mouse Reeve
b65d0d05c9
Tabs for relationship views
2021-04-30 09:23:59 -07:00
Mouse Reeve
418e656aea
Uses layout for followers/following page
2021-04-30 09:17:46 -07:00
Mouse Reeve
e4cecf2874
Coherent logic on which tabs show in the user page
2021-04-30 09:02:14 -07:00
Mouse Reeve
862ef83536
Move user templates into more subdirectories
2021-04-30 08:47:04 -07:00
Mouse Reeve
d2355fef96
Consistent display on followers/following pages
2021-04-30 08:23:02 -07:00
Mouse Reeve
2867d703cc
Fixes python formatting
2021-04-30 07:57:38 -07:00
Mouse Reeve
454dd25681
Only make notification count red for mentions
2021-04-30 07:49:34 -07:00
Mouse Reeve
b4c155f134
Merge pull request #1019 from bookwyrm-social/change-password-url
...
Fixes invalid url breaking change password flow
2021-04-30 06:53:30 -07:00
Mouse Reeve
aa3cdee731
Fixes invalid url breaking change password flow
2021-04-30 06:43:43 -07:00
Fabien Basmaison
bcafc1bc6a
Merge branch 'main' into frontend-book-cover
2021-04-30 09:54:42 +02:00
Mouse Reeve
e126c13ff7
Merge pull request #1018 from bookwyrm-social/fix-rating
...
Test for failing rate federation
2021-04-29 15:29:19 -07:00
Mouse Reeve
d61ba2e474
Fixes review rating serialization
2021-04-29 15:16:51 -07:00
Mouse Reeve
daf65e230d
Test for failing rate federation
2021-04-29 14:43:14 -07:00
Mouse Reeve
3feba60665
Fixes test
2021-04-29 13:54:17 -07:00
Mouse Reeve
6983018d5e
Merge branch 'main' into suggested_user_logic
2021-04-29 13:42:05 -07:00
Mouse Reeve
6f38ab167e
Show clarifying text for empty search when logged out
2021-04-29 13:21:35 -07:00
Mouse Reeve
f4ebecfe75
Add background to search result boxes
2021-04-29 13:15:05 -07:00
Mouse Reeve
15790abc70
Don't show broken image previews when cover is absent
2021-04-29 13:03:56 -07:00
Mouse Reeve
6d7b3e9ae7
Show/hide individual search results
2021-04-29 12:56:42 -07:00
Mouse Reeve
9d89aaf9fc
Don't let logged out viwers search for users
2021-04-29 12:18:55 -07:00
Mouse Reeve
9e2b4f61bb
Make subheaders a lil smaller
2021-04-29 12:13:49 -07:00
Mouse Reeve
a31d05c694
Don't crash on books with no isbn
2021-04-29 11:31:01 -07:00
Mouse Reeve
095b60bff1
Show search result context for inventaire results
2021-04-29 11:22:09 -07:00
Mouse Reeve
d1b788b61f
Adds inventaire link to book page
2021-04-29 11:14:20 -07:00
Mouse Reeve
d1b5f3b6f0
Fixes ranks and normalizes isbns
2021-04-29 11:06:05 -07:00
Mouse Reeve
7853610a20
Load descriptions correctly
2021-04-29 10:54:36 -07:00
Mouse Reeve
b1c38d291c
Set preferred language
2021-04-29 10:40:49 -07:00
Mouse Reeve
ca86af22ce
Get inventaire entity descriptions
2021-04-29 10:30:38 -07:00
Mouse Reeve
cfd2c05ae2
Safely handle absent claims field
2021-04-29 10:12:56 -07:00
Mouse Reeve
8d38d1c9d1
Python formatting
2021-04-29 09:56:35 -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
fc095a087c
Adds search result test
2021-04-29 08:36:49 -07:00
Mouse Reeve
5e5392c007
Adds test file
2021-04-28 17:20:14 -07:00
Mouse Reeve
95fce963d1
Images may already be absolute paths
2021-04-28 17:18:14 -07:00
Mouse Reeve
8eec3eca5b
Don't spin out infinite load data tasks
2021-04-28 16:42:27 -07:00
Mouse Reeve
6551c59c45
Don't store default edition in the dataase
2021-04-28 16:05:17 -07:00
Mouse Reeve
ccf10e8012
Fixes cover load logic
2021-04-28 13:50:47 -07:00
Mouse Reeve
3faacffaca
Associated expanded editions with correct work
2021-04-28 13:28:07 -07:00
Fabien Basmaison
91c42b497e
cover: Tweak width and height of cover on feeds.
2021-04-28 20:54:35 +02:00
Mouse Reeve
e2b43bbd6d
Fixes unit test
2021-04-28 09:33:38 -07:00
Fabien Basmaison
b0f414570b
cover: Fix code that was reverted during a merge conflict.
2021-04-28 15:42:22 +02:00
Fabien Basmaison
5c8710c1c4
cover: Add removed link on Editions.
2021-04-28 15:08:58 +02:00
Fabien Basmaison
e37cbcd88d
cover: Comment CSS rules a bit more and add rules for consistency.
2021-04-28 15:02:47 +02:00
Fabien Basmaison
bba60c99e9
cover: Rearrange some CSS rules.
2021-04-28 14:48:25 +02:00
Fabien Basmaison
baaaeef4c0
cover: Fix little details.
2021-04-28 10:47:14 +02:00
Fabien Basmaison
7c875b2ac2
cover: Update /post?status_type=TYPE&book=ID
2021-04-27 21:52:28 +02:00
Fabien Basmaison
30b273f193
cover: Update shelf (/user/arkhi/books/to-read, etc.)
2021-04-27 21:35:05 +02:00
Fabien Basmaison
8a1c8cb061
cover: Update goal:
...
- Remove `.content` from template when not dealing with markdown-generated markup.
- Fix some duplicated CSS selectors.
2021-04-27 21:07:54 +02:00
Fabien Basmaison
182c18fe54
cover: Update /user/USERNAME.
2021-04-27 20:53:30 +02:00
Fabien Basmaison
d936417ddb
cover: Update /book/ID/edit.
2021-04-27 20:44:06 +02:00
Fabien Basmaison
a5359d1f80
cover: Update author.
2021-04-27 20:30:10 +02:00
Fabien Basmaison
8d53b7589f
cover: Update /get-started/books:
...
- Remove `.content` from templates.
- Remove a stray unclosed label.
2021-04-27 17:23:37 +02:00
Fabien Basmaison
d8b6676976
cover: Udpate logged out home and discover.
2021-04-27 16:27:39 +02:00
Fabien Basmaison
8ddc292ee6
cover: Change the logic again:
...
- Work on feeds.
- Add `.is-cover` to modify the behaviours of columns.
- Only apply logic for dimensions on the cover container; too many contextual side effects otherwise.
- Add classes to dimension and align, including auto margins for flex.
- Rename classes in templates accordingly.
2021-04-27 16:24:20 +02:00
Fabien Basmaison
56d821970a
Merge branch 'main' into frontend-book-cover
2021-04-27 09:16:10 +02:00
Mouse Reeve
7b65291a59
Python formatting for the new Black standard
2021-04-26 14:43:29 -07:00
Mouse Reeve
85297426e0
Adds merge migration
2021-04-26 14:33:16 -07:00
Mouse Reeve
64c2313a5d
Merge branch 'main' into inventaire
2021-04-26 14:22:05 -07:00
Mouse Reeve
ce0e90d472
Merge pull request #961 from bookwyrm-social/django-3-2
...
Update to django 3.2
2021-04-26 14:08:39 -07:00
Mouse Reeve
c5dc5e8b36
Merge pull request #1005 from bookwyrm-social/imported-ratings
...
Import ratings as ratings, not reviews
2021-04-26 14:07:06 -07:00
Mouse Reeve
674c4a99df
Adds missing data file
2021-04-26 13:56:09 -07:00
Mouse Reeve
55eb1c4526
Fixes model name
2021-04-26 13:50:43 -07:00
Mouse Reeve
4deb94714c
Adds test for import rating
2021-04-26 13:49:19 -07:00
Mouse Reeve
d4dbfbe3c0
Merge pull request #1003 from bookwyrm-social/list-fixes
...
Improve list suggestion experience
2021-04-26 13:48:26 -07:00
Mouse Reeve
7006f30ac8
Uses unique test model name
2021-04-26 11:51:17 -07:00
Mouse Reeve
398ecd545e
Merge pull request #1008 from bookwyrm-social/show-rating
...
Show rating in statuses
2021-04-26 11:47:55 -07:00
Mouse Reeve
5bb341ba52
Use copy of requests GET params in list redirect
2021-04-26 11:43:13 -07:00
Mouse Reeve
ff8601f329
Fixes spacing for new Black release
2021-04-26 11:37:07 -07:00
Mouse Reeve
b16ac91b16
Python formatting
2021-04-26 11:34:04 -07:00
Mouse Reeve
df31ac9742
Show rating in statuses
2021-04-26 11:33:17 -07:00
Mouse Reeve
cd869dde09
Fixes tests of bookwyrm abstract model
2021-04-26 11:28:33 -07:00
Mouse Reeve
141d1a9a17
Adds auto field setting to avoid hella warnings
2021-04-26 11:22:08 -07:00
Mouse Reeve
8b154b69fb
Fixes follower/following logic in suggested user annotations
2021-04-26 10:35:37 -07:00
Mouse Reeve
786cf4fb97
Paginate followers/following pages
2021-04-26 10:26:49 -07:00
Mouse Reeve
99efe6b290
Limit how many notifications are loaded
2021-04-26 10:11:13 -07:00
Mouse Reeve
c2ffdb8f03
Import ratings as ratings, not reviews
2021-04-26 10:04:33 -07:00
Mouse Reeve
7fcf48e84d
Adds success notification for adding books to lists
2021-04-26 09:57:01 -07:00
Mouse Reeve
1edd00a0d1
Merge branch 'main' into list-fixes
2021-04-26 09:44:55 -07:00
Mouse Reeve
3ade2d3bb1
New version of black, new whitespace
2021-04-26 09:15:42 -07:00
Mouse Reeve
0f6b5cc6be
Filter list search results to hide already added books
2021-04-26 08:02:30 -07:00
Mouse Reeve
0cb80aeb55
Preserve search results after adding a book
2021-04-26 07:24:03 -07:00
Fabien Basmaison
b089f6c86a
Update Bulma from v0.9.1 to v0.9.2.
2021-04-26 15:20:48 +02:00
Fabien Basmaison
26cacf502c
Rationalise behaviours of context, container and cover:
...
- Set minimum dimensions to avoid having to pass classes all over the place.
- Outline the container to show white on white covers properly.
- Remove extraneous code.
- Better size caption when no cover is available.
- Create Alignments, Positions and Spacings sections and move some existing dimensions.
- Update previous templates.
2021-04-26 13:39:17 +02:00
Fabien Basmaison
30bed6c963
Merge branch 'main' into frontend-book-cover
2021-04-26 11:35:10 +02:00
Mouse Reeve
ef83eb33b0
Merge pull request #993 from bookwyrm-social/find-own-book-content
...
Find own book content
2021-04-25 11:37:00 -07:00
Joachim
e92166c7f7
Directory: Homogenize cards heights
...
When the content of a profile card stretches it in height, the grid is not homogenous. This PR adds a CSS class that'll display cards as stretchable columns. The card content will be able to grow, which should always place the card footer at the bottom of the card.
2021-04-25 20:05:31 +02:00
Mouse Reeve
2fd8e12b96
Merge pull request #974 from joachimesque/list-table
...
Add mobile styles for book preview table
2021-04-25 10:42:27 -07:00
Mouse Reeve
aa557e4758
Merge pull request #971 from joachimesque/smaller-statuses-dense-cards
...
Move some status footer elements to the header
2021-04-25 10:39:23 -07:00
Fabien Basmaison
a268f339c0
Fix linting issues.
2021-04-25 15:45:49 +02:00
Fabien Basmaison
953dff90bb
cover: tweak styles:
...
- `optimizeQuality` > `smooth` (CSS language evolution)
- Use `auto` instead of a fixed width.
- Add exceptions for heights and apply them to some previously modified templates.
- Remove `is-large` exception.
- Widen the content column on list curation.
2021-04-25 15:37:46 +02:00
Fabien Basmaison
23985e4357
Merge branch 'main' into frontend-book-cover
2021-04-25 11:24:21 +02:00
Mouse Reeve
bb44ede2e7
Show book preview in full statuses on mobile
2021-04-24 12:56:53 -07:00
Fabien Basmaison
cf5a4ebe90
Fix typo:
...
Addresses https://github.com/bookwyrm-social/bookwyrm/pull/994#discussion_r619688900 .
2021-04-24 21:27:05 +02:00
Fabien Basmaison
eea8b4e750
cover: Handle covers with specific heights:
...
- Have an explicit contextual class on `cover-container`.
- Use more flexible, consistent and searchable variable name for passing classes to covers.
- Consistently use `'…'` with django variables.
- Give the option to not hide covers to screen readers.
- consitently give a title to the cover container if `alt_text` exists.
- [lists] Remove `.content` which is applying too extensive default styles.
2021-04-24 21:27:05 +02:00
Joachim
04e1806482
Update status_header.html
2021-04-24 20:47:39 +02:00
Joachim
59ed49f082
Update status_header.html
2021-04-24 20:39:54 +02:00
Joachim
e06154c457
Merge branch 'main' into smaller-statuses-dense-cards
2021-04-24 20:07:13 +02:00
GuDzpoz
72d92343aa
zh-cn
should be zh-hans
2021-04-24 22:32:04 +08:00
Mouse Reeve
deb1257114
Merge pull request #995 from bookwyrm-social/show-subtitles
...
Show subtitles when titles are very short
2021-04-24 06:58:00 -07:00
Fabien Basmaison
783cc6edf0
cover: List curation:
...
- Reduce Padding around covers.
- Remove `content` which is applying too extensive default styles.
- Style headings.
- Replace table with definition list.
- Clip cover container to avoid caption overflowing.
2021-04-24 15:49:30 +02:00
Fabien Basmaison
75a69988e4
cover: List:
...
- Reduce Padding around covers.
- Remove `content` which is applying too extensive default styles.
2021-04-24 14:24:25 +02:00
Fabien Basmaison
32fb06c9e6
Prevent stars from wrapping on multiple lines.
2021-04-24 13:23:03 +02:00
Fabien Basmaison
9ea91d8e7c
cover: Search layout: Reduce padding around covers.
2021-04-24 12:56:38 +02:00
Fabien Basmaison
7f0b3184a1
cover: Use book-cover as component:
...
- Avoid specifying context-dependent values in CSS for components. Those values can be defined by the context calling the component.
- Use `<figure>` with optional caption.
- Reduce redundant markup.
- Allow more variables to be passed to the book-cover (image path and class for the container).
- Hide the book cover to screen readers.
2021-04-24 12:48:55 +02: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
Mouse Reeve
126594ec49
Cleans up queryset declarations
2021-04-23 13:47:13 -07:00
Mouse Reeve
888930f891
User request path for pagination
2021-04-23 13:35:12 -07:00
Mouse Reeve
d2b2065db8
Show user's book content
2021-04-23 13:32:58 -07:00
Mouse Reeve
cbdf573261
Merge pull request #991 from bookwyrm-social/character-encoding
...
Fixes character encoding bug
2021-04-23 12:06:04 -07:00
Mouse Reeve
d31827e5aa
Merge pull request #975 from reesporte/main
...
spanish translation updates
2021-04-23 12:03:03 -07:00
Mouse Reeve
013d5f1db3
Merge pull request #987 from bookwyrm-social/duplicate-boosts
...
Don't broadcast boosts twice
2021-04-23 11:58:01 -07:00
Mouse Reeve
607e98b331
Fixes character encoding error
2021-04-23 11:53:45 -07:00
Mouse Reeve
c907b1ff09
Test to replicate character encoding bug
2021-04-23 11:07:19 -07:00
Mouse Reeve
79424f7bfb
Python formatting
2021-04-23 10:56:17 -07:00
Mouse Reeve
32e694032b
Fixes duplicate boost model verification
2021-04-23 10:49:17 -07:00
Joachim
de19c7d7a6
Update status_header.html
2021-04-23 18:38:33 +02:00
Mouse Reeve
b457446f2f
Don't save duplicate boosts
2021-04-22 19:36:27 -07:00
Mouse Reeve
f9c40aadd9
Python formatting
2021-04-22 18:30:58 -07:00
Mouse Reeve
74ccaf27fa
Tag removal migration
2021-04-22 18:23:23 -07:00
Mouse Reeve
a3f91d991f
Remove tag form
2021-04-22 18:19:42 -07:00
Mouse Reeve
563623616c
Merge branch 'main' into remove-tags
2021-04-22 18:18:24 -07:00
Mouse Reeve
9148f36719
Fixes duplicate boosts
2021-04-22 18:16:00 -07:00
Mouse Reeve
adb8f6f90f
Merge pull request #986 from bookwyrm-social/scroll-behavior
...
Removes scroll padding
2021-04-22 14:38:46 -07:00
reese
6915b195ce
translated some strings
2021-04-22 16:28:57 -05:00
Mouse Reeve
c6e8161a9f
Removes scroll padding
2021-04-22 13:08:22 -07:00
Joachim
15c7a1dc82
Update bookwyrm.css
2021-04-22 20:57:24 +02: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
c455585262
Adds missing data file
2021-04-22 10:30:00 -07:00
Mouse Reeve
3ed822b9ea
Don't erase follows on update
2021-04-22 10:28:10 -07:00
Mouse Reeve
a797b68558
Adds test that replicates follower deletion bug
2021-04-22 10:22:37 -07:00
Mouse Reeve
7bad8ac354
Merge pull request #982 from bookwyrm-social/flower-errors
...
Flower errors
2021-04-22 09:50:08 -07:00
Mouse Reeve
cfa424ca59
Fixes nondeterministic test outcome
2021-04-22 09:37:24 -07:00
Mouse Reeve
e9dc63e296
Only remove objects that are known
2021-04-22 09:25:12 -07:00
Mouse Reeve
c7daf27baf
Adds migration for last edited by field
2021-04-22 09:06:26 -07:00
Mouse Reeve
9c87c91c62
Merge pull request #979 from bookwyrm-social/allow-refollow
...
Allow refollow
2021-04-22 08:56:48 -07:00
Mouse Reeve
4a73894802
Merge pull request #978 from bookwyrm-social/federation-bugs
...
Federation bugs
2021-04-22 08:42:47 -07:00
Mouse Reeve
6b84e53ddd
Send accepts to duplicate follow requests
2021-04-22 08:40:32 -07:00