Jason Kelly
6e655cb0e0
Added new widget to alert if a file is set at larger than 10 MB.
...
- Updated default widget to use template that adds a notification box.
- Added JS to add onchange & load events to look at the value in the input and trigger the notification & disable the form submits.
2021-05-23 14:12:00 +08:00
Mouse Reeve
bdf267dea5
Refactors block button for query efficiency
2021-05-22 20:36:30 -07:00
Mouse Reeve
9285f483c2
Query tweaks for book page
2021-05-22 20:14:57 -07:00
Mouse Reeve
7a4c4248df
Improves status template performance
...
Reduces queries about about 65
2021-05-22 19:01:40 -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
368d2cd716
Reduces feed page queries for goals
...
9 fewer queries
2021-05-22 17:34:16 -07:00
Mouse Reeve
644e5926db
Remove suggested users on block
2021-05-22 14:05:59 -07:00
Mouse Reeve
0044dc6587
Show suggested users when the feed is empty
2021-05-22 11:29:41 -07:00
Mouse Reeve
d33b55e025
Hide delete button text on mobile
2021-05-21 09:52:40 -07:00
Mouse Reeve
00eba98e9f
Fixes display of announcement show/hide button on mobile
2021-05-21 09:50:23 -07:00
Mouse Reeve
a70c713c29
Fixes default values in edit announcement form
2021-05-20 20:21:04 -07:00
Mouse Reeve
d39374f13c
Fixes editions page
2021-05-20 18:41:36 -07:00
Mouse Reeve
c52b26f404
Moves rss templates to base level directory
2021-05-20 16:12:24 -07:00
Mouse Reeve
9c13bf34a8
Only show banner to authenticated users
2021-05-20 15:11:47 -07:00
Mouse Reeve
cefc5994a6
Makes extra content optional
2021-05-20 12:40:03 -07:00
Mouse Reeve
2e193aa3c6
Delete announcements
2021-05-20 12:08:12 -07:00
Mouse Reeve
a415991e96
Fixes clashing filter names in templates
2021-05-20 11:56:26 -07:00
Mouse Reeve
b8e9b9f57e
Cleans up show/hide behavior
2021-05-20 11:46:24 -07:00
Mouse Reeve
49916a7498
Sorting for announcement headers and pagination
2021-05-20 09:43:29 -07:00
Mouse Reeve
3d70a36d86
Editable announcement
2021-05-20 09:28:39 -07:00
Mouse Reeve
d64e0c4aa8
Adds admin view for individual announcement
2021-05-20 08:09:35 -07:00
Mouse Reeve
c73c063949
Show announcements on all pages
2021-05-19 15:35:14 -07:00
Mouse Reeve
346d718265
Don't need both name and preview
2021-05-19 15:18:43 -07:00
Mouse Reeve
515d5bb237
Create announcements admin view
2021-05-19 14:57:28 -07:00
Mouse Reeve
8fc0da8dc2
Adds inventaire ID field to edit book form
2021-05-18 16:10:43 -07:00
Mouse Reeve
6fff45d36c
Adds language field to edit book form
2021-05-18 15:56:11 -07:00
Mouse Reeve
0bddad259b
Merge pull request #1095 from bookwyrm-social/display-fixes
...
Display fixes
2021-05-18 11:46:28 -07:00
Mouse Reeve
9f789cd5d4
Merge branch 'main' into top-bar
2021-05-18 11:39:36 -07:00
Mouse Reeve
04c165113f
Cleans up login page
2021-05-18 11:22:45 -07:00
Mouse Reeve
58a059c85f
Fixes display of user ratings
2021-05-18 11:17:59 -07:00
Mouse Reeve
07d59c8c09
Don't show ratings below user statuses
2021-05-18 11:09:19 -07:00
Mouse Reeve
ab69abb8f0
Gap between book search results
2021-05-18 10:57:54 -07:00
Mouse Reeve
8b14f8585e
Small fixes for list display
2021-05-18 10:55:05 -07:00
Mouse Reeve
5cd5a6107f
Show text with buttons in most places
2021-05-18 10:45:51 -07:00
Mouse Reeve
7dccce6b1f
Adds keyboard focus to add readthrough form
2021-05-18 09:59:40 -07:00
Mouse Reeve
2b4ac71d7a
Updates footer language around github link
2021-05-14 15:21:26 -07:00
Mouse Reeve
3b9fed1b31
Filter for concise status timestamps
2021-05-11 18:59:31 -07:00
Mouse Reeve
865faf6714
Fixes tests
2021-05-11 15:52:41 -07:00
Mouse Reeve
65f78b45da
Merge branch 'main' into templatetags
2021-05-11 15:41:07 -07:00
Mouse Reeve
87bf863ac6
Revert "Preserve width when cover images fail to load"
2021-05-11 15:29:18 -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
f5eb5f982a
Removes filter for checking for follow requests
2021-05-11 14:05:46 -07:00
Mouse Reeve
63172ecf00
Fixes ratings on shelf pages
2021-05-11 13:54:38 -07:00
Mouse Reeve
1fbd6537b7
Remove unnecessary tags from import page
2021-05-11 13:28:52 -07:00
Mouse Reeve
680f300e7c
Preserve width when cover images fail to load
2021-05-11 08:15:02 -07:00
Mouse Reeve
4c99fd7f12
Adds metadata to author view
2021-05-10 17:24:10 -07:00
Mouse Reeve
443109bac3
Adds aliases and inventaire id to edit author form
...
Plus consolidates some wording
2021-05-10 17:06:22 -07:00
Mouse Reeve
9bfe4f4e91
Uses a different snippet for previewing books on author page
2021-05-10 16:43:40 -07:00
Mouse Reeve
867a33de57
Creates author template dir
2021-05-10 16:34:37 -07:00
Mouse Reeve
27fe09a32b
Merge pull request #1062 from alisww/storygraph-import
...
add storygraph import
2021-05-10 16:23:00 -07:00
Mouse Reeve
202c43f610
Adds import option to books page
2021-05-10 16:13:17 -07:00
Mouse Reeve
6abe9274c0
Switches out links in the top bar and dropdown
2021-05-10 15:55:42 -07:00
Mouse Reeve
3f4807a345
Revert "Adds datepicker script dependencies to templates"
...
This reverts commit 33ca7b4b76
.
2021-05-10 14:56:43 -07:00
Mouse Reeve
485f4b7eba
Revert "Replaces date elements with datepicker"
...
This reverts commit 869cfa6d34
.
2021-05-10 14:56:33 -07:00
allie
314a27841b
Merge branch 'bookwyrm-social:main' into storygraph-import
2021-05-10 18:52:54 -03:00
Mouse Reeve
b0055f398d
Makes the show/hide buttons easier to find in book search
2021-05-10 13:24:00 -07:00
allie
df99060898
Merge branch 'bookwyrm-social:main' into storygraph-import
2021-05-10 15:58:04 -03:00
Allie Signet
36439506b6
add storygraph import
2021-05-10 14:00:51 -03:00
Mouse Reeve
852f8da62e
Adds tabs to notifications
2021-05-07 14:00:55 -07:00
Fabien Basmaison
a137bd21ff
Display author biography with style. 😎
2021-05-06 17:24:05 +02:00
Joachim
1f747e4f68
Merge branch 'main' into list-style-fixes
2021-05-05 16:06:48 +02:00
Mouse Reeve
dcde3ded95
Merge pull request #1049 from bookwyrm-social/datepicker
...
Datepicker
2021-05-05 07:00:07 -07:00
Mouse Reeve
906201fa2a
Fixes notification import link
2021-05-04 09:45:13 -07:00
Mouse Reeve
748810cd41
Use reverse lookups for urls
2021-05-04 09:34:16 -07:00
Mouse Reeve
869cfa6d34
Replaces date elements with datepicker
2021-05-04 09:04:21 -07:00
Mouse Reeve
33ca7b4b76
Adds datepicker script dependencies to templates
2021-05-04 08:54:53 -07:00
Mouse Reeve
a81901f9fe
Re-adds "manually add book" link
2021-05-03 11:20:43 -07:00
Mouse Reeve
93959fc600
Merge pull request #1036 from SavinaRoja/pagination-list
...
pagination list navigation using a range of pages such as provided by get_elided_page_range
2021-05-03 10:57:38 -07:00
Joachim
4c021e6357
Add Mobile styles
2021-05-02 21:34:43 +02:00
Mouse Reeve
c47f672238
Removes aria-hidden from covers
2021-05-02 06:59:47 -07:00
Mouse Reeve
ddf5022970
Merge pull request #1033 from bookwyrm-social/search-changes
...
Search changes
2021-05-01 19:15:40 -07:00
Pablo Barton
e71a0dd7e8
pagination list navigation using a range of pages such as provided by get_elided_page_range
2021-05-01 19:30:43 -04:00
Mouse Reeve
037362e49f
Adds labels for form elements
2021-05-01 10:55:10 -07:00
Mouse Reeve
c42be7a589
Adds pagination
2021-05-01 10:47:01 -07:00
Mouse Reeve
3ee63fdab4
Merge pull request #1034 from bookwyrm-social/dm-bug
...
Removes extra "content" field in status editor that broke dms
2021-05-01 07:32:18 -07:00
Mouse Reeve
ad8666ebec
Removes extra "content" field in status editor that broke dms
2021-05-01 07:20:54 -07:00
Mouse Reeve
f9c1ecfabe
Fixes bad whitespace
2021-04-30 20:16:34 -07:00
Mouse Reeve
5f7191a976
Safer logged out search
2021-04-30 20:09:43 -07:00
Mouse Reeve
499c4e3267
Don't search remote sources by default
2021-04-30 19:56:29 -07:00
Mouse Reeve
cb6c0035d7
List and user previews
2021-04-30 19:19:10 -07:00
Mouse Reeve
21a5147c3c
Controls search type
2021-04-30 18:59:02 -07:00
Mouse Reeve
5ca9d2a7b0
Adds search templates
2021-04-30 18:35:09 -07:00
Mouse Reeve
f55ded092c
Fixes link on follow pages
2021-04-30 16:44:14 -07:00
Mouse Reeve
b8711c820f
Merge pull request #1027 from arkhi/frontend-book-cover
...
Fix lists layout for user
2021-04-30 13:59:05 -07:00
Mouse Reeve
735ef369b9
Merge pull request #1020 from bookwyrm-social/notification-color
...
Only make notification count red for mentions
2021-04-30 13:49:57 -07:00
Mouse Reeve
de017ca7ce
Merge pull request #1021 from bookwyrm-social/following-display
...
Cleans up user/followers/following pages
2021-04-30 13:49:44 -07:00
Mouse Reeve
dcc54e8421
Merge pull request #1022 from bookwyrm-social/footer-bonus
...
Let instance admins add a column of whatever they want in the footer
2021-04-30 13:49:22 -07:00
Fabien Basmaison
544e29fe76
Fix lists layout for user.
2021-04-30 22:44:53 +02:00
Mouse Reeve
a502a0c51d
Merge branch 'main' into following-display
2021-04-30 13:40:01 -07:00
Mouse Reeve
01f2d80cbd
Show book descriptions in list items
2021-04-30 13:21:19 -07:00
Mouse Reeve
b4ef800505
Hide start list item in readthrough if absent
2021-04-30 12:07:59 -07:00
Mouse Reeve
900e7feb1b
Moved reviews into center column on books page
2021-04-30 12:06:21 -07:00
Mouse Reeve
57454afa42
Creates visual separation between reading activity and reviews
2021-04-30 12:02:19 -07:00
Mouse Reeve
974de9e4c2
Removes set goal link from user page
...
It's already in the tabs
2021-04-30 11:47:28 -07:00
Mouse Reeve
0d7ffbc175
Hide user status tabs when there are none
2021-04-30 11:34:59 -07:00
Mouse Reeve
b8fc4f99a3
Don't calculate mutuals for logged out users
2021-04-30 11:11:18 -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
62884c6111
Show mutual counts instead of totals for other users
2021-04-30 09:50:11 -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
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
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
6d7b3e9ae7
Show/hide individual search results
2021-04-29 12:56:42 -07:00
Joachim
0a71fb094f
Move counter in Ordered List
2021-04-29 21:41:43 +02:00
Joachim
b59b3e294f
Arrange Sort List form fields
2021-04-29 21:41:31 +02:00
Joachim
daa7746f47
Stretch List card in list of lists
2021-04-29 21:40:54 +02: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
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
Fabien Basmaison
91c42b497e
cover: Tweak width and height of cover on feeds.
2021-04-28 20:54:35 +02: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
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
64c2313a5d
Merge branch 'main' into inventaire
2021-04-26 14:22:05 -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
398ecd545e
Merge pull request #1008 from bookwyrm-social/show-rating
...
Show rating in statuses
2021-04-26 11:47:55 -07:00
Mouse Reeve
df31ac9742
Show rating in statuses
2021-04-26 11:33:17 -07:00
Mouse Reeve
786cf4fb97
Paginate followers/following pages
2021-04-26 10:26:49 -07:00
Mouse Reeve
7fcf48e84d
Adds success notification for adding books to lists
2021-04-26 09:57:01 -07:00
Mouse Reeve
0cb80aeb55
Preserve search results after adding a book
2021-04-26 07:24:03 -07: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
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
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