Commit Graph

81 Commits

Author SHA1 Message Date
a13d3317c6 Bust javascript cache 2021-09-12 11:46:51 -07:00
a4e6f610cd Adds javascript cache value to templates 2021-09-10 10:57:16 -07:00
37dcae4558 Simply celery settings 2021-09-07 14:02:03 -07:00
6a365eafb4 Merge branch 'main' into images-django-imagekit 2021-08-06 19:16:01 +02:00
9d75bc3982 Display books timeline 2021-08-04 17:53:44 -07:00
5a9dbc50da Adds books stream 2021-08-04 17:25:31 -07:00
af34dc6520 Merge branch 'main' into images-django-imagekit 2021-08-02 13:43:59 -06:00
d70469d2e0 Better .env vars defaults 2021-08-01 11:47:39 +02:00
3ea1bcb256 Merge branch 'main' into storage-s3 2021-07-05 13:06:19 +02:00
b720740762 Add Tranditional Chinese translation 2021-06-30 13:54:56 +08:00
e251b687dc Merge remote-tracking branch 'upstream/main' into images-django-imagekit 2021-06-19 19:32:56 +02:00
dee63d8825 Rename MEDIA_PATH to MEDIA_FULL_URL and handle protocol 2021-06-19 17:09:53 +02:00
d862be0564 Merge remote-tracking branch 'upstream/main' into storage-s3 2021-06-19 11:53:05 +02:00
973b23856c Merge branch 'main' into opengraph-image-generation 2021-06-17 15:17:54 -07:00
689fefb096 Merge remote-tracking branch 'upstream/main' into storage-s3 2021-06-08 18:20:57 +02:00
948a5dea10 Cleans up .env and settings files
Some outdated stuff doesn't need to be in there
2021-06-07 12:53:57 -07:00
d105ae9c78 Merge remote-tracking branch 'upstream/main' into images-django-imagekit 2021-06-07 19:53:11 +02:00
2731ea9aa9 Add env var to enable/disable thumbnail generation 2021-06-07 19:52:25 +02:00
f287a19f12 Update settings.py 2021-06-07 18:31:01 +02:00
715cb46e1e Lint 2021-06-07 18:15:48 +02:00
cba34780d8 Use S3 as static and media storage
TODO

- [ ] Write some documentation for non-AWS, S3-compatible services
- [ ] Make a management command to move existing media to the new S3 bucket
- [ ] See if Nginx can reverse-proxy the S3 bucket in order to keep the files accessible through the domain name
2021-06-07 18:12:48 +02:00
1f2c296cfd This should now work 2021-06-06 21:12:21 +02:00
4ea672f2a1 Merge pull request #1157 from bcj/bcj/urlencode-redis-password
URL-Encode password in broker_url
2021-06-05 12:51:25 -07:00
bbbae9fc9d Merge branch 'main' into images-django-imagekit 2021-06-05 11:46:57 -07:00
cd7c0ccaea Enable env on GitHub Actions 2021-05-29 15:51:56 +02:00
fbb262fe88 Try logging output 2021-05-29 13:44:43 +02:00
f206f61e9a Use global switch to enable/disable preview images 2021-05-28 17:00:07 +02:00
f848dcd756 Fix issue with protocol 2021-05-26 18:20:22 +02:00
e362c82495 Expose static & media paths 2021-05-26 17:54:59 +02:00
eb56cced8d Lint 2021-05-26 14:46:34 +02:00
65de40a95a Add generate_preview_images command 2021-05-26 13:52:10 +02:00
b47edc5f0d Add dark mode 2021-05-26 13:07:33 +02:00
dca0888d5d Thank you Black 2021-05-25 23:05:38 +02:00
fa7334826c Update 2021-05-25 23:04:28 +02:00
d1737b44bd First functioning commit
TODO

- [ ] Delay task (Celery?)
- [ ] Store the image in a subfolder unique to the edition, to make cleaning up the image easy
- [ ] Clean up the image before replacing it
- [ ] Ensure that the image will be cleaned when the edition is deleted ??
- [ ] Use instance custom colors?
- [ ] Use book cover color base?
2021-05-25 00:41:53 +02:00
77e81c4dbb Add django-imagekit to BookWyrm 2021-05-24 16:14:51 +02:00
bcj
31deb36c85 URL-Encode password in broker_url
Needed to prevent connection errors if the password contains non-urlsafe characters.

Dockerfile change because all the services using it are mirroring ./ in /app now anyway.
Flower needs because it needs bookwyrm in order to read the celerywyrm config (because flower only allows overwriting broker_url from the command line and we want to do it in Python so we have access to a urlencode function).
2021-05-23 23:49:12 -05:00
c9617c4bd3 Added EMAIL_BACKEND to env settings to be able to use console backend in local dev. 2021-05-23 14:09:13 +08:00
bcj
213a9508d8 Don't hardcode postres port in bookwyrm.settings
Have bookwyrm.settings check for an alternative postgres port.
2021-05-18 18:35:32 -05:00
b4ae639dab Imports bookwyrm settings into celery settings
It was redundant and super bug-prone!
2021-05-10 14:20:27 -07:00
b1c38d291c Set preferred language 2021-04-29 10:40:49 -07:00
cd869dde09 Fixes tests of bookwyrm abstract model 2021-04-26 11:28:33 -07:00
141d1a9a17 Adds auto field setting to avoid hella warnings 2021-04-26 11:22:08 -07:00
72d92343aa zh-cn should be zh-hans 2021-04-24 22:32:04 +08:00
fa762bc107 Merge pull request #871 from SavinaRoja/857-ease-production
Easier to deploy by avoiding merge conflicts in production
2021-04-12 09:34:38 -07:00
92e9ff6cff update links in README and {bookwyrm,celerywyrm}/settings.py files
the link to celery's homepage has been dead for at least several months
activitypub.rocks now supports tls (yay!)
the links to django's docs were for older versions of django than what bookwyrm uses
2021-04-12 11:56:26 -04:00
d38efa9a9d Easier to deploy by avoiding merge conflicts in production 2021-04-11 13:12:50 -04:00
a52729daae adds SSL params 2021-04-09 13:28:58 +02:00
5cbf7bbc71 Ensure EMAIL_USE_TLS is read as a bool 2021-04-09 04:53:18 +02:00
d25c68f887 Restores stream length settings 2021-04-04 21:01:52 -07:00