Commit graph

8004 commits

Author SHA1 Message Date
Mouse Reeve
d4351cfcb4
Merge branch 'main' into import-limit 2022-12-16 12:44:57 -08:00
Mouse Reeve
bcec4f07c5
Merge pull request #2510 from jaschaurbach/main
delete avatar when user is deleted
2022-12-16 12:42:42 -08:00
Mouse Reeve
09e4735ad9
Merge pull request #2512 from hueyy/fix/year_of_reading_no_page_data
Fix year of reading: phrasing when there are books without page data
2022-12-16 12:24:14 -08:00
Huey
b11a2dafc4
fix #2508 2022-12-16 10:38:08 +08:00
Giebisch
df54df8309 Added Import Limit 2022-12-15 23:43:25 +01:00
Jascha Urbach
0744bd5385
delete avatar when user is deleted 2022-12-15 23:01:56 +01:00
Mouse Reeve
89478ac87e
Merge pull request #2491 from chdorner/register-tz-support
Detect preferred timezone via JavaScript on register
2022-12-11 14:49:29 -08:00
Christof Dorner
13b262bb7b Detect preferred timezone via JavaScript on register 2022-12-11 23:32:07 +01:00
Mouse Reeve
c75bb1b4f8
Merge pull request #2504 from bookwyrm-social/version
Update version number and javascript cache buster
2022-12-11 13:57:23 -08:00
Mouse Reeve
abf206a82b Update version number and javascript cache buster 2022-12-11 13:46:53 -08:00
Mouse Reeve
bb5564461c
Merge pull request #2398 from bookwyrm-social/html-in-activitypub
Render markdown to html when using activitypub
2022-12-11 13:43:36 -08:00
Mouse Reeve
9ed2f7fc2b
Merge pull request #2502 from bookwyrm-social/locales
Updates locales
2022-12-11 13:43:18 -08:00
Mouse Reeve
a6604c197d Updates tests 2022-12-11 13:19:26 -08:00
Mouse Reeve
6f8251a283 Updates locales 2022-12-11 13:10:48 -08:00
Mouse Reeve
3a9a344089
Merge pull request #2478 from bookwyrm-social/admin-roles
Adds "owner" role
2022-12-11 13:05:39 -08:00
Mouse Reeve
53ddaee3d9
Merge pull request #2501 from bookwyrm-social/book-keys-fix
Fixes new identifier fields in edit book form
2022-12-11 13:04:06 -08:00
Mouse Reeve
3e62cbe8b6 Fixes incorrect import from merge 2022-12-11 12:39:33 -08:00
Mouse Reeve
b65a46582b Fixes new identifier fields in edit book form 2022-12-11 12:37:40 -08:00
Jascha Urbach
ea316627be
Manual email confirm (#2492)
* manual approve email via bw-dev/manage.py

./bw-dev confirm_email USER
(venv) python manage.py confirm_email USER

* add "confirm_email" and "remove_2fa" to autocompletion

* OK, sometimes I feel fooled by this.

The lione was not LONG ENOUGH.

* Change deactivate reason to None

* Whyever this works now

Python in my system is a wondermachine.
2022-12-11 12:35:20 -08:00
Mouse Reeve
3a0533b7fc Updates nginx production config
This copies over the changes Trammell added to the development file. I
also realized that I think it's fine to only commend out the https
redirect, rather than commenting out the entire server block for
listening on port 443? If this works it makes the file a lot easier to
read.

Co-authored-by: Trammell Hudson <hudson@trmm.net>
2022-12-11 12:28:53 -08:00
Mouse Reeve
a9846e7805
Merge pull request #2498 from bookwyrm-social/use-reactivate
Use user.reactivate when a user confirms their email address
2022-12-11 12:10:21 -08:00
Mouse Reeve
4f0e7b60d6 Adds merge migration 2022-12-11 12:03:22 -08:00
Mouse Reeve
58e8c0b5ec Merge branch 'main' into admin-roles 2022-12-11 11:58:54 -08:00
Mouse Reeve
734fb5ad34
Merge pull request #2489 from chdorner/user-reviews-comments-tab
Add new user tab listing only reviews and comments
2022-12-11 11:53:31 -08:00
Mouse Reeve
d1774f0c99
Merge pull request #2497 from chdorner/add-bw-dev-eslint
Add eslint subcommand to bw-dev
2022-12-11 11:47:18 -08:00
Mouse Reeve
50a42dc0a2 Use user.reactivate when a user confirms their email address
This is cleaner and easier to maintain.
2022-12-11 11:44:04 -08:00
Mouse Reeve
c314c9b5e3
Adds email config admin view (#2494)
This view lets you see your email configuration and send a test email.
2022-12-11 11:37:09 -08:00
Mouse Reeve
a25a5b1032 Updates expected number of groups in tests 2022-12-11 11:35:48 -08:00
Christof Dorner
08d4b2e063 Add eslint subcommand to bw-dev 2022-12-11 20:33:38 +01:00
Jascha Urbach
ac8b060d58
Isfdb ID for books and authors (#2482)
* New ID: Audible ASIN

Audible belongs to Amazon BUT they do not share the same IDs. The Audible ASIN of an audiobook is never the same as the Amazon ASIN.

Yeah, I know, Amazon is great. The fact that the ASIN is a good distinction for different works and editions bothers me more than I will ever be willing to admint.

* New ID "ISFDB"

Internet Speculative Ficiton Database ID for books and authors.
Links to the entry if set.

* Added aasin to test

Added aasin to test

* the answer expects more emptxy fields...
2022-12-11 11:33:33 -08:00
Mouse Reeve
0e2b88ad0c
Merge pull request #2495 from bookwyrm-social/edit-book-form
Uses a list of fields rather than exclusions for edit book form
2022-12-11 11:28:59 -08:00
Christof Dorner
fbd8e22b97 Add new user tab listing only reviews and comments 2022-12-11 20:24:00 +01:00
Mouse Reeve
0452731d02
Merge pull request #2496 from bookwyrm-social/unit-test
Trying to fix an unreliable unit test regex
2022-12-11 11:22:56 -08:00
Mouse Reeve
b4ddf281b5 Trying to fix an unreliable unit test regex 2022-12-11 11:13:16 -08:00
Mouse Reeve
3016f1416b
Merge pull request #2490 from chdorner/apple-touch-icon
Add apple-touch-icon to global layout
2022-12-11 11:10:21 -08:00
Mouse Reeve
ca5676c287 Uses a list of fields rather than exclusions for edit book form 2022-12-11 10:58:19 -08:00
Mouse Reeve
3b56c85a87
Merge pull request #2488 from jaschaurbach/goodreads-visibility
goodreads_key for books editable
2022-12-11 10:51:29 -08:00
Mouse Reeve
91f8b0e15e
Merge pull request #2465 from osresearch/nginx-caching
Enable nginx caching and optimizations.
2022-12-11 10:40:38 -08:00
Christof Dorner
9ea7029c2f Add apple-touch-icon to global layout 2022-12-10 17:57:05 +01:00
Jascha Urbach
8325fbd772
goodreads_key for books editable
The field goodreads_key is now editable.
ID shows in ID section of book.
2022-12-10 10:50:25 +01:00
Mouse Reeve
f779c57f33 Safely get or create permissions for tests/re-running 2022-12-06 14:25:50 -08:00
Mouse Reeve
309d5a535a
Merge pull request #2479 from bookwyrm-social/author-padding
Visually separate authors when creating book
2022-12-06 13:13:28 -08:00
Mouse Reeve
a80e020344 Add direction to book page fields 2022-12-06 12:26:52 -08:00
Mouse Reeve
8d5192c816 Don't show HR under last author item in confirm view 2022-12-06 12:26:35 -08:00
Trammell Hudson
43b194d612 nginx: route /flower to the queue monitoring system.
This patch removes the exposed port for the flower
server and instead uses nginx to route urls /flower/*
to the queue monitoring system.
2022-12-06 13:01:40 +00:00
Trammell Hudson
5922e29369 Enable nginx caching and optimizations.
This patch enabled nginx caching of responses for non-logged in users
so that a boost by a popular mastodon user doesn't DDOS the bookwyrm site.
It also silences some of the nginx access logs so that static files are
not logged.
2022-12-06 13:01:40 +00:00
Mouse Reeve
bffde6703c
Merge branch 'main' into html-in-activitypub 2022-12-05 17:46:31 -08:00
Mouse Reeve
aecb2d38d6 Visually separate authors when creating book 2022-12-05 17:44:08 -08:00
Mouse Reeve
fdaa24edfe Tweaks group query in migration for tests 2022-12-05 17:33:40 -08:00
Mouse Reeve
845bd2cc0d Only show themes to sys admin 2022-12-05 17:11:15 -08:00