Commit graph

4270 commits

Author SHA1 Message Date
Joachim
d1737b44bd First functioning commit
TODO

- [ ] Delay task (Celery?)
- [ ] Store the image in a subfolder unique to the edition, to make cleaning up the image easy
- [ ] Clean up the image before replacing it
- [ ] Ensure that the image will be cleaned when the edition is deleted ??
- [ ] Use instance custom colors?
- [ ] Use book cover color base?
2021-05-25 00:41:53 +02:00
Joachim
b72580daf6 Update author.html 2021-05-24 17:17:12 +02:00
Joachim
8b4cb4aeed Thanks, ./bw-dev black 2021-05-24 16:40:25 +02:00
Joachim
ef4961e4e9 Apply linter suggestions 2021-05-24 16:33:40 +02:00
Mouse Reeve
ea0f7ff925
Merge pull request #1137 from bookwyrm-social/title-header
Uses correct filter for book title
2021-05-24 07:21:12 -07:00
Joachim
36f447210a Specify sizes on all templates 2021-05-24 16:18:05 +02:00
Joachim
dc49432322 Change img_path to external_path 2021-05-24 16:17:39 +02:00
Joachim
c1456ce853 Update .cover-caption name and styles 2021-05-24 16:16:33 +02:00
Joachim
4c55f07f2a Update book_cover.html 2021-05-24 16:16:09 +02:00
Joachim
f60e9d76d2 Generate generators 2021-05-24 16:15:08 +02:00
Joachim
77e81c4dbb Add django-imagekit to BookWyrm 2021-05-24 16:14:51 +02:00
Joachim
ff95a709a8 Update .gitignore 2021-05-24 16:14:21 +02:00
Mouse Reeve
f058aa8f1d Uses correct filter for book title 2021-05-24 06:54:43 -07:00
Joachim
08ab6c09eb Merge remote-tracking branch 'upstream/main' into author-page-microformats 2021-05-24 13:20:14 +02:00
Joachim
25858ed3aa Added LibraryThing and Goodreads links 2021-05-24 12:51:41 +02:00
Joachim
594f7b3708 Style fixes 2021-05-24 12:51:18 +02:00
Joachim
58c07d1677 Apply review suggestions 2021-05-24 12:36:48 +02:00
bcj
31deb36c85 URL-Encode password in broker_url
Needed to prevent connection errors if the password contains non-urlsafe characters.

Dockerfile change because all the services using it are mirroring ./ in /app now anyway.
Flower needs because it needs bookwyrm in order to read the celerywyrm config (because flower only allows overwriting broker_url from the command line and we want to do it in Python so we have access to a urlencode function).
2021-05-23 23:49:12 -05:00
Jason Kelly
b362b72c57 Python linting 2021-05-24 09:35:21 +08:00
Mouse Reeve
e2d271d041
Merge pull request #1130 from joachimesque/fix-author-display
Fix date of death display
2021-05-23 17:11:52 -07:00
Joachim
55a3a28d49 Add microformats to author page 2021-05-23 21:17:14 +02:00
Joachim
6e9c9e839c Fix date of death display 2021-05-23 20:25:42 +02:00
Mouse Reeve
c9b337348e
Merge pull request #1126 from bookwyrm-social/deleted-ratings
Don't show deleted ratings in stars
2021-05-23 09:00:53 -07:00
Mouse Reeve
ca8067769c Don't show deleted ratings in stars 2021-05-23 08:48:00 -07:00
Mouse Reeve
4e9c7a7748
Merge pull request #1070 from bookwyrm-social/top-bar
Top bar
2021-05-23 08:42:14 -07:00
Mouse Reeve
94d6e07478
Merge pull request #1016 from joachimesque/list-style-fixes
List style fixes
2021-05-23 08:31:20 -07:00
Joachim
354b511089 Fix flex styles 2021-05-23 17:18:16 +02:00
Joachim
1aa319d6ee Move description text below header 2021-05-23 17:17:46 +02:00
Joachim
cf7cbfdf8f Fix title styles 2021-05-23 17:17:30 +02:00
Joachim
9eb719106f Fix display bug 2021-05-23 17:17:02 +02:00
Joachim
c7b59f8653 Update shelf translations 2021-05-23 16:01:01 +02:00
Joachim
6024fae766 Update translation 2021-05-23 15:23:35 +02:00
Joachim
251c8bbd08 Merge remote-tracking branch 'upstream/main' into list-style-fixes 2021-05-23 15:14:50 +02:00
Joachim
a31bbfd95e Update translations 2021-05-23 15:13:17 +02:00
Joachim
179560a009 French translation update
This PR replaces #935
2021-05-23 14:56:47 +02:00
Joachim
0708d64bf1 Update bookwyrm.css 2021-05-23 12:10:57 +02:00
Jason Kelly
7eb5f3b026 Making magic number more readable 2021-05-23 14:31:22 +08:00
Jason Kelly
318e0bf508 Fixing nginx-config misunderstanding. 2021-05-23 14:27:02 +08:00
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
Jason Kelly
c9617c4bd3 Added EMAIL_BACKEND to env settings to be able to use console backend in local dev. 2021-05-23 14:09:13 +08:00
Jason Kelly
e138a585d1 Setting client_max_body_size to 10m.
- Removed commented-out nginx config for clarity.
2021-05-23 14:08:22 +08:00
Mouse Reeve
de5893e7fe
Merge pull request #1122 from bookwyrm-social/feed-page-queries
Improves query efficiency for feed page
2021-05-22 22:11:33 -07:00
Mouse Reeve
f987a352c6 Fixes username helper 2021-05-22 21:33:56 -07: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
2d4cec4422 Improves shelf page query efficiency a little 2021-05-22 19:54:50 -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
368d2cd716 Reduces feed page queries for goals
9 fewer queries
2021-05-22 17:34:16 -07:00