Mouse Reeve
271337a7e5
Merge pull request #2523 from joachimesque/update-pillow-deprecated
...
Remove deprecation warnings from Pillow
2022-12-19 12:27:13 -08:00
Christof Dorner
aefc02e3ee
Disable sass processor when not in debug mode
2022-12-19 18:43:16 +01:00
Christof Dorner
744bd33d99
Add compile_themes command to themes admin page instructions
2022-12-19 18:43:16 +01:00
Christof Dorner
f5ebdd4ba1
Add compile_themes management command
2022-12-19 18:43:16 +01:00
Jascha Urbach
befcf4f3e9
bump some versions in requirements
...
Why update:
iohttp: supports now more of http standard.
celery: supports redis > = 4.0.2 (the docker image uses redis 7.0.6
django-celery-beat: better Django 3.2 support, bump celery to 5.2, downgrade of dependencies for better celery support
django-compressor: official Django 3.2 support, updates requirements
django-model-utils: official django 3.2 support.
django-sass-processor: remove deprecated default_app_config, support of ManifestStaticFilesStorage (which might be needed in the future)
environs: bugfixes
libsass: removes deprecated cli
Pillow: bug fixing
psycopg2: Bugfixing
pycryptodome: bugfixes
python-dateutil: updated tzdata
requests: better json Handling, bugfixing
responses: bugfixes and more
pytz: python3 code generation, All the corect timezone behaviour!
boto3: Updsate all the S3 Handling
signtures.py update because of breaking change in pycryptodome
migration because uf updated timezones
With updated celery I have less 501 errors on my instance. updated psycopg2 has better performance.
I have NOT chekced opentelemetry packages.
Upgrading redis package wold need a deeper inspection of the code as some functions are dropped in newer versions.
2022-12-19 16:37:41 +01:00
Jascha Urbach
7c88f7081c
Merge branch 'bookwyrm-social:main' into fix-form-submit
2022-12-18 22:53:36 +01:00
Jascha Urbach
64968c3081
Update forms.js
...
fixes #2519
2022-12-18 22:28:05 +01:00
Joachim
c5eb27a7c5
Lint
2022-12-17 20:27:39 +01:00
Joachim
26f8710c6f
Black
2022-12-17 19:52:58 +01:00
Joachim
bf82b4cd35
Replace Font.getsize_multiline with Draw.multiline_textbbox
2022-12-17 19:52:52 +01:00
Joachim
003d1425f9
Fix comments
2022-12-17 19:32:10 +01:00
Joachim
684e84f5c3
Remove deprecated Font.getsize()
...
https://pillow.readthedocs.io/en/stable/deprecations.html#font-size-and-offset-methods
2022-12-17 19:24:07 +01:00
Joachim
86c810ee37
Change ANTIALIAS to Resampling.LANCZOS
2022-12-17 18:44:17 +01:00
Joachim
00c2930290
Black
2022-12-17 17:56:28 +01:00
Joachim
cd940e2c40
Add tests for remove_user_preview_image_task
2022-12-17 17:49:39 +01:00
Joachim
b570602a47
Update remove_remote_user_preview_images.py
2022-12-17 17:35:44 +01:00
Joachim
75ea2cdbb4
Fix generate_user_preview_image_task comment wording
2022-12-17 17:34:49 +01:00
Joachim
09c095cfec
Add remove_remote_user_preview_images command
2022-12-17 17:34:27 +01:00
Joachim
8c34b23c35
Disable preview images generation for remote users
2022-12-17 11:39:10 +01:00
Mouse Reeve
d86e6a6949
Merge pull request #2516 from bookwyrm-social/import-queue
...
Create a separate celery queue for imports
2022-12-16 14:58:35 -08:00
Mouse Reeve
37bd90e88b
Merge pull request #2515 from bookwyrm-social/import-statuses
...
Don't add imported reviews to timelines
2022-12-16 14:58:24 -08:00
Mouse Reeve
7ff654720c
updates tests
2022-12-16 14:45:32 -08:00
Mouse Reeve
3972d1cc7b
Don't mark imports as active until their job task runs
2022-12-16 14:41:35 -08:00
Mouse Reeve
427d0c4fc8
Create a separate celery queue for imports
2022-12-16 14:20:50 -08:00
Mouse Reeve
0354eb9828
Don't add imported reviews to timelines
...
Generally they're so backdated that they don't add, and they put too
much load on the instance.
2022-12-16 14:11:15 -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
Huey
b11a2dafc4
fix #2508
2022-12-16 10:38:08 +08: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
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
a6604c197d
Updates tests
2022-12-11 13:19:26 -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
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
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
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
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
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
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
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
Mouse Reeve
a2874bf460
Updates forms
2022-12-05 17:09:10 -08:00
Mouse Reeve
b8e403ce59
Fixes migration to give the correct perms
2022-12-05 17:04:58 -08:00
Mouse Reeve
c7234bff64
Update admin role for new perms
2022-12-05 16:58:23 -08:00
Mouse Reeve
933cb6440f
Creates admin views for owner and admin registration settings
2022-12-05 16:58:11 -08:00
Mouse Reeve
dd9fbca7d7
Removes registration from site settings form
2022-12-05 16:19:15 -08:00
Mouse Reeve
9b087199ed
Adds new role and permissions
2022-12-05 16:07:09 -08:00
Mouse Reeve
8951628e02
Don't try to markdownify a null field
2022-12-05 15:12:53 -08:00
Mouse Reeve
97358da503
Merge pull request #2452 from indutny/fix/gh-2451
...
Fix serialization of JSON-LD subarrays
2022-12-05 09:53:27 -08:00
Fedor Indutny
cdc833657f
Fix serialization of JSON-LD subarrays
...
Properties like "tag" could be lists containing multiple subclasses of
ActivityObject. Make sure to serialize them recursively instead of
outputting them as they are, because otherwise we could get a bunch of
nulls in the resulting JSON and that wouldn't necessarily be a valid
JSON-LD object.
Fix : #2451
2022-12-04 18:12:39 -08:00
Mouse Reeve
e7a0c3e421
Fixes bug that caused imports to be disabled unexpectedly
2022-12-04 18:07:17 -08:00
Mouse Reeve
26a05d2182
Adds tests for impressum page
2022-12-04 13:13:05 -08:00
Mouse Reeve
4a89a9ec88
Adds missing template
2022-12-04 13:05:03 -08:00
Mouse Reeve
5172f67c35
Merge pull request #2450 from bookwyrm-social/impressum
...
Adds database fields for legal page/impressum
2022-12-04 12:12:26 -08:00
Mouse Reeve
b7b7b2680e
Fixes unit test
2022-12-04 11:44:42 -08:00
Mouse Reeve
c4d252754e
Merge pull request #2466 from rickosborne/storygraph-csv-isbn
...
StoryGraph import ISBN tweak
2022-12-04 11:31:12 -08:00
Mouse Reeve
300573e66e
Merge pull request #2457 from viviicat/use-html-templates
...
make use of templates instead of hidden divs which is more elegant
2022-12-04 11:24:04 -08:00
Mouse Reeve
5be7dad6f7
Merge pull request #2469 from bookwyrm-social/typo-fix
...
Typo fix
2022-12-04 11:16:57 -08:00
Mouse Reeve
712455368c
Typo fix
2022-12-03 18:21:47 -08:00
Rick Osborne
862260294a
StoryGraph import ISBN tweak
...
Looks like SG updated their CSV headers just a little, so that the importer
hadn't been picking up the ISBN.
2022-12-02 19:16:22 -08:00
Mouse Reeve
61d8748d59
Merge pull request #2459 from viviicat/dark-theme-contrast
...
Dark theme contrast
2022-11-26 20:43:53 -08:00
Mouse Reeve
7eb267fbd1
Merge pull request #2460 from viviicat/visual-tweaks
...
Visual tweaks
2022-11-26 20:38:58 -08:00
Vivianne Langdon
56519d569d
fix broken css
2022-11-26 15:29:08 -08:00
Vivianne Langdon
1fa7262b52
padding for edit shelf form
2022-11-26 15:29:08 -08:00
Vivianne Langdon
3728ee67d1
edit-list/save button spacing
2022-11-26 15:29:08 -08:00
Vivianne Langdon
bfe2003e5c
author book list read more spacing
2022-11-26 15:29:08 -08:00
Vivianne Langdon
ab43134cc0
many minor visual tweaks to fix spacing and usability
2022-11-26 15:29:08 -08:00
Vivianne Langdon
9738c96175
fix css which caused weird spacing for desc. field
2022-11-26 15:29:08 -08:00
Vivianne Langdon
6cf028994e
dark theme: increase background color darkness, fix shepherd color
2022-11-26 13:18:11 -08:00
Vivianne Langdon
86d1c8552e
use transparent buttons for reply and more
2022-11-26 13:17:48 -08:00
Vivianne Langdon
c2b447cf49
lint
2022-11-26 12:19:37 -08:00
Vivianne Langdon
c4398ff187
make use of templates instead of hidden divs which is more elegant
2022-11-26 12:14:48 -08:00
Vivianne Langdon
e0896e3828
fix input type
2022-11-26 11:54:55 -08:00
Vivianne Langdon
cac9dc2603
registration answer was not long enough client side, fixes #2377 for real
2022-11-26 11:33:16 -08:00
Mouse Reeve
8ec984c3ff
Tick version number
2022-11-25 14:37:34 -08:00
Mouse Reeve
df42712b8e
Merge pull request #2449 from bookwyrm-social/empty-csv
...
Don't start imports with empty CSVs
2022-11-25 12:31:13 -08:00
Mouse Reeve
8b068e94d5
Headers aren't one of the rows
2022-11-25 12:19:49 -08:00
Mouse Reeve
70d639440e
Show impressum
2022-11-25 12:06:32 -08:00
Mouse Reeve
16f9232e1e
Adds database fields for legal page/impressum
2022-11-25 11:02:42 -08:00
Mouse Reeve
ccb60f45c3
Merge pull request #2447 from bookwyrm-social/fix-inventaire-import
...
Fixes error on importing from inventaire
2022-11-25 10:54:10 -08:00
Mouse Reeve
304757091e
Fixes checking csv length to consider headers
2022-11-25 10:53:42 -08:00