Hugh Rundle
cbd08127ef
initial work on fixing user exports with s3
...
- custom storages
- tar.gz within bucket using s3_tar
- slightly changes export directory structure
- major problems still outstanding re delivering s3 files to end users
2024-01-14 12:14:44 +11:00
Mouse Reeve
f72ada4780
Updates javascript cache buster just in case
2024-01-01 19:29:43 -08:00
Mouse Reeve
430e4eb90d
Update bookwyrm/settings.py
...
Co-authored-by: Demid <grrrr@protonmail.com>
2023-12-17 06:52:49 -08:00
Mouse Reeve
5c0e159d43
Adds Ukranian locale and updates locales
2023-12-12 15:42:40 -08:00
Mouse Reeve
198c0037c6
Merge pull request #3121 from hughrun/413
...
Display custom page on 413 errors
2023-12-09 08:31:25 -08:00
Hugh Rundle
a7fcd898c2
middleware for displaying 413 page
...
When a RequestDataTooBig exception is thrown, users are largely in the dark about what happened and how it can be fixed.
This commit resolves this by inserting middleware to redirect the request to a custom 413 error page.
This exception is thrown when DATA_UPLOAD_MAX_MEMORY_SIZE is exceeded. The default value is 2.5MB.
Fixes #2340
Fixes #2633
2023-11-18 22:10:36 +11:00
Hugh Rundle
1bedcdaebd
Merge branch 'main' into file-resubmit
2023-11-11 13:14:52 +11:00
Hugh Rundle
f3fc5f6179
add file_resubmit to DUMMY caches settings
2023-11-11 12:45:04 +11:00
Hugh Rundle
df43a8e2c5
Use django-file-resubmit plugin
...
- save cover images to cache when checking author and work for existing records
- fixes #2760
2023-10-30 19:43:39 +11:00
Hugh Rundle
853b5f28a4
add defaults of None to optional AWS values
...
fixes #2989
2023-10-29 11:29:49 +11:00
Jascha Ezra Urbach
1685ac1953
Move version out of settings ( #3045 )
...
This removes the content of VERSION from settings.py and moves it into a seperate file which makes it easier to update versionnumbers via script in the future.
2023-10-19 11:29:59 +02:00
Mouse Reeve
bcfd4d2efa
Merge pull request #3016 from bookwyrm-social/release-changes
...
Updates locales and version number for release
2023-10-02 10:22:05 -07:00
Mouse Reeve
703a56940c
Merge pull request #2953 from phildini/add-spanish-articles
...
Add spanish articles
2023-10-02 10:20:51 -07:00
Mouse Reeve
fcfe34f2f6
Updates locales and version number for release
2023-10-02 09:42:22 -07:00
Mouse Reeve
bc870a305f
Merge pull request #2962 from jderuiter/mypy-isbn
...
Type annotations and tests for isbn
2023-09-01 17:05:01 -07:00
0x29a
1c9da7b84b
chore: bump version to match the latest tag
2023-08-25 14:11:29 +02:00
Joeri de Ruiter
f6d8786179
Type annotations for bookwyrm.isbn
2023-08-21 15:46:50 +02:00
Margaret Fero
d7adada29c
Add Spanish Articles
...
Added articles for spanish language to list of articles in settings
2023-08-15 22:53:43 -07:00
Joeri de Ruiter
308dfd1be0
Include Dutch locale
2023-07-23 21:27:42 +02:00
Mouse Reeve
9c5b5d0ac1
Updates version
2023-07-20 19:08:47 -07:00
Jascha Ezra Urbach
a601be4708
Merge branch 'main' into 2678
2023-06-01 16:53:28 +02:00
Mouse Reeve
0bb0537215
Updates version number
2023-05-30 11:00:12 -07:00
Zach Flanders
1985c2d284
Merge branch 'main' into 2678
2023-04-25 19:47:07 -05:00
Zach Flanders
575e1bac4c
responding to review comments
2023-04-25 19:46:38 -05:00
Mouse Reeve
b77ae9e783
Ticks version number
2023-04-25 17:42:32 -07:00
Zach Flanders
a94a4732ec
add support for title sort to ignore initial article
2023-04-24 23:29:55 -05:00
Wesley Aptekar-Cassels
f91fcd518a
Increase network timeout in Celery tasks
...
Since Celery tasks don't affect interactive latency, we should have a
more generous timeout. This also allows admins to set the timeout for
Celery and the web frontend separately, without breaking backwards
compatibility with the previous environment variable.
2023-04-06 01:21:27 -04:00
Mouse Reeve
6e427cf372
Update version number
2023-04-03 21:31:41 -07:00
Mouse Reeve
56cc0eb80f
Adds Esperanto locale
2023-03-28 15:03:40 -07:00
Mouse Reeve
e9d08e7424
Merge pull request #2744 from WesleyAC/opentelemetry-console-exporter
...
Add OpenTelemetry console exporter option
2023-03-20 14:26:24 -07:00
Mouse Reeve
89bb541bef
Merge pull request #2704 from tebriel/azure-support
...
Enable Azure BlobStorage as an alternative to AWS S3
2023-03-20 14:12:57 -07:00
Wesley Aptekar-Cassels
63ab3abe67
Add setting for OpenTelemetry console exporter
...
This is primarily useful for debugging changes to the OpenTelemetry
setup.
2023-03-18 15:47:30 -04:00
Wesley Aptekar-Cassels
fea3b67a55
Raise error if using default SECRET_KEY in production
2023-03-18 15:44:20 -04:00
Wesley Aptekar-Cassels
b3d3de5374
Use typecasting env functions
...
Many of these environment variables were probably not actually usable,
since they would be strings if set in the env file. Using the
typecasting functions fixes this, and generally shows the intention of
the code more clearly.
2023-03-18 15:35:08 -04:00
Mouse Reeve
9c1aaadab3
Update verison number and js cachebuster
2023-03-13 07:52:28 -07:00
Chris Moultrie
86675ee944
Example Settings and run black
2023-03-08 14:48:04 -05:00
Chris Moultrie
f8e60f4a89
Enable Azure BlobStorage as an alternative to AWS S3
...
This adds a new storage backend for Azure BlobStorage, I'm running this patch in Azure Kubernetes
hosting all my assets in Azure BlobStorage and it's been stable enough I thought I should commit
this back upstream.
2023-03-05 12:08:16 -05:00
Hugh Rundle
bba0d09fa4
Merge branch 'main' into totp-window
2023-02-27 18:21:39 +11:00
Christof Dorner
3814cb5b58
Add config variable for additional CSP hosts
2023-02-21 22:02:52 +01:00
Mouse Reeve
db207065ce
Update version number
2023-02-20 09:15:38 -08:00
Chris Young
d123cc6b0c
Add default values if not in .env
2023-02-17 11:36:21 +00:00
Chris Young
9460553086
Read TOTP variables from .env
2023-02-17 09:40:31 +00:00
Chris Young
867b2ff542
Specify TOTP validity window in settings.py
2023-02-13 15:17:54 +00:00
Robert George
b82231202c
lint
2023-02-03 12:03:52 -08:00
Robert George
36605efd20
Added support for secure cookies and django-csp
2023-02-01 12:59:10 -08:00
Mouse Reeve
90e3661636
Merge pull request #2623 from chdorner/fix/passwordless-redis
...
Fix passwordless redis connection string
2023-01-26 08:41:46 -08:00
Christof Dorner
afab255c85
Allow empty broker and activity redis password
2023-01-26 17:24:20 +01:00
Christof Dorner
80d3474cef
Quote redis activity password
...
Same as the broker password in celerywyrm/settings.py
2023-01-26 17:23:55 +01:00
Mouse Reeve
62d1c54b31
Merge pull request #2613 from hughrun/authorized-fetch
...
Enable communication with "authorized_fetch" Mastodon servers
2023-01-26 08:21:34 -08:00
Mouse Reeve
9c3c34834f
Update version number
2023-01-26 07:39:25 -08:00