Commit graph

7921 commits

Author SHA1 Message Date
Giebisch
88e993d727 Frontend Mockup 2023-01-11 15:12:22 +01:00
Mouse Reeve
2bd94b1332
Merge pull request #2563 from joachimesque/update-github-actions
Update github actions versions
2023-01-02 07:58:25 -07:00
Joachim
4b55b4c026 Update black 2023-01-01 21:09:25 +01:00
Joachim
3f6cdff363 Update github actions versions 2023-01-01 21:06:35 +01:00
Mouse Reeve
e026f4535a
Merge pull request #2550 from chdorner/fix/cache-languages
Fix fragment caches (language codes, cache keys, etc.)
2022-12-30 07:33:15 -08:00
Mouse Reeve
ca89a6f098
Merge pull request #2543 from joachimesque/user-menu-mobile-align-right
User menu mobile align right
2022-12-30 07:20:23 -08:00
Mouse Reeve
cfbd0b97fc
Merge pull request #2552 from chdorner/fix/example-env-redis
Add REDIS_BROKER_HOST to example env
2022-12-27 06:40:14 -08:00
Christof Dorner
31028e9573 Add REDIS_BROKER_HOST to example env
This might avoid future confusion when somebody wants to run
this dockerless for example, given that in the settings module
this gets the default value of `redis_broker` when not set.
2022-12-27 11:29:09 +01:00
Christof Dorner
247d85305c Fix cache duration comment 2022-12-26 17:52:58 +01:00
Christof Dorner
9aad37acd5 Specificy fragment name in cache key for landing page 2022-12-26 17:52:03 +01:00
Christof Dorner
51c932802a Use language in cachey key for about_page_superlatives 2022-12-26 17:50:51 +01:00
Joachim
00d14cd37c Stylelint 2022-12-23 20:25:42 +01:00
Joachim
91d67b44fd Add back button to user submenu on mobile 2022-12-23 20:17:35 +01:00
Joachim
7f3b208927 Align user menu to the right on mobile 2022-12-23 20:17:12 +01:00
Mouse Reeve
6947e74f5d
Merge pull request #2525 from jaschaurbach/fix-form-submit
Update forms.js
2022-12-21 11:10:21 -08:00
Mouse Reeve
d0f7cf56f6
Merge pull request #2529 from chdorner/fix/titleby-cache-clearing
Fix titleby cache fragment clearing
2022-12-21 11:06:13 -08:00
Mouse Reeve
a4c3b79f41
Merge pull request #2532 from bookwyrm-social/generated-note-display
Display generated notes correctly depending on format
2022-12-21 11:05:48 -08:00
Mouse Reeve
b2fd5c26b9
Merge pull request #2538 from bookwyrm-social/basque
Adds Basque language
2022-12-21 10:56:50 -08:00
Mouse Reeve
8f3d702652
Merge pull request #2537 from chdorner/fix/admin-system-nav-items
Fix permissions check for System admin navigation section
2022-12-21 10:37:23 -08:00
Mouse Reeve
f2a52d4a18 Adds Basque language 2022-12-21 10:30:51 -08:00
Mouse Reeve
287cf75698
Merge pull request #2533 from bookwyrm-social/update_locals
Updates locales
2022-12-21 09:47:03 -08:00
Christof Dorner
4f6e4462dc Fix permissions check for System admin navigation section 2022-12-20 22:39:59 +01:00
Christof Dorner
3e25b04e4a Cache book_titleby only for 10 seconds
This should be enough caching when renderering pages like the feed, but
not so much that editing a book or author will not show the updated data.
At least without having to do some clever cache busting.
2022-12-20 21:48:16 +01:00
Jascha Urbach
8a4d500489
Merge branch 'bookwyrm-social:main' into fix-form-submit 2022-12-20 21:21:05 +01:00
Jascha Urbach
105144a026
New approach: Event Delegation
This works as follows:

The div where the input fields for the subjects live got an id. The script now listens to all keypresses in this div, but only does something if it is within an INPUT field. If it is an INPUT field within this div, it looks for keyCode 13. If it is 13, preventDefault() is triggered.  Else nothing happens.
2022-12-20 11:36:14 +01:00
Mouse Reeve
9c03ba48fb Updates locales 2022-12-19 20:20:21 -08:00
Mouse Reeve
d3c15efa0a Display generated notes correctly depending on format 2022-12-19 16:24:32 -08:00
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
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
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