Commit graph

8053 commits

Author SHA1 Message Date
Jascha Urbach
259ceeea21
./bw-dev prettier 2022-12-20 00:06:02 +01:00
Jascha Urbach
e4892701d8
Update forms.js
Now it works in the correct fields.
2022-12-19 23:57:00 +01:00
Mouse Reeve
5ea922a551
Merge pull request #2528 from bookwyrm-social/broadcast-queues
Increase priority for follow activities and lower for shelve
2022-12-19 14:37:10 -08:00
Mouse Reeve
fe29d30ab5
Merge pull request #2522 from joachimesque/disable-remote-users-preview-images
Disable remote users preview images generation
2022-12-19 14:36:52 -08:00
Giebisch
3295d419bf Add Test for Import Limit 2022-12-19 23:25:43 +01:00
Mouse Reeve
157c9c825b Increase priority for follow activities and lower for shelve 2022-12-19 14:07:44 -08:00
Joachim
f0dc146005 Merge branch 'main' into disable-remote-users-preview-images 2022-12-19 22:32:30 +01:00
Joachim
a44f427d84 Add remote user test before the task is called 2022-12-19 22:26:09 +01:00
Giebisch
32463c1157 Fix merge 2022-12-19 21:50:34 +01:00
Mouse Reeve
c57d8d14b3
Merge pull request #2526 from jaschaurbach/bump_requirements
bump some versions in requirements
2022-12-19 12:46:03 -08:00
Mouse Reeve
7397a2dcb1
Merge branch 'main' into bump_requirements 2022-12-19 12:28:33 -08:00
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
Mouse Reeve
66dc070a26
Merge pull request #2527 from chdorner/fix/compile-scss
Disable sass processer when not in debug mode
2022-12-19 12:16:42 -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
8bb5c867eb Add compile_themes to bw-dev 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
4549edb569 Bump Pillow minimum version 2022-12-17 18:43:48 +01:00
Joachim
e9abae9b7d Add shell completion for remove_remote_user_preview_images command 2022-12-17 18:05:33 +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
e9ad1b4bf0
Merge pull request #2517 from bookwyrm-social/import-status
Don't mark imports as active until their job task runs
2022-12-16 14:50:23 -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
44941ffc9c
Merge pull request #2514 from bookwyrm-social/update-locales
Updates locales
2022-12-16 13:10:14 -08:00
Mouse Reeve
01524110a7 Updates locales 2022-12-16 12:53:40 -08:00
Mouse Reeve
1a2a5b8bd2
Merge pull request #2499 from bookwyrm-social/nginx-prod
Updates nginx production config
2022-12-16 12:48:05 -08:00
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