Commit graph

102 commits

Author SHA1 Message Date
Joachim
eb56cced8d Lint 2021-05-26 14:46:34 +02:00
Joachim
65de40a95a Add generate_preview_images command 2021-05-26 13:52:10 +02:00
Joachim
b47edc5f0d Add dark mode 2021-05-26 13:07:33 +02:00
Joachim
dca0888d5d Thank you Black 2021-05-25 23:05:38 +02:00
Joachim
fa7334826c Update 2021-05-25 23:04:28 +02:00
Joachim
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
Joachim
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
Jason Kelly
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
Mouse Reeve
b4ae639dab Imports bookwyrm settings into celery settings
It was redundant and super bug-prone!
2021-05-10 14:20:27 -07:00
Mouse Reeve
b1c38d291c Set preferred language 2021-04-29 10:40:49 -07:00
Mouse Reeve
cd869dde09 Fixes tests of bookwyrm abstract model 2021-04-26 11:28:33 -07:00
Mouse Reeve
141d1a9a17 Adds auto field setting to avoid hella warnings 2021-04-26 11:22:08 -07:00
GuDzpoz
72d92343aa zh-cn should be zh-hans 2021-04-24 22:32:04 +08:00
Mouse Reeve
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
n2no1
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
Pablo Barton
d38efa9a9d Easier to deploy by avoiding merge conflicts in production 2021-04-11 13:12:50 -04:00
tofuwabohu
a52729daae adds SSL params 2021-04-09 13:28:58 +02:00
D Anzorge
5cbf7bbc71 Ensure EMAIL_USE_TLS is read as a bool 2021-04-09 04:53:18 +02:00
Mouse Reeve
d25c68f887 Restores stream length settings 2021-04-04 21:01:52 -07:00
Mouse Reeve
940e841502 Fixes trimming streams 2021-04-04 20:57:30 -07:00
Mouse Reeve
e86f160c53
Merge pull request #812 from SavinaRoja/357-tz-in-datetimes
357 Users set preferred timezone, used for readthroughs
2021-03-29 15:20:01 -07:00
Mouse Reeve
f63b6fb325 Fixes sending invite emails
Corrects the email sender and avoids integrity error on saves
2021-03-29 08:33:12 -07:00
Pablo Barton
765e6b542f adding middleware and use in readthrough template 2021-03-29 08:20:35 -04:00
Mouse Reeve
a67b0ae8a7 Adds stream length to .env 2021-03-24 08:33:05 -07:00
Mouse Reeve
3efabf1da3 Creates activity stream class 2021-03-22 18:39:16 -07:00
Mouse Reeve
459479db43 Add statuses to timelines 2021-03-22 16:19:02 -07:00
Mouse Reeve
ebc01362e6 Adds redis image for activity streams 2021-03-22 12:50:55 -07:00
Mouse Reeve
70296e760b Runs black 2021-03-08 08:49:10 -08:00
Mouse Reeve
208a38a34d Adds spanish locale to settings and rebuilds messages 2021-03-03 20:14:42 -08:00
Mouse Reeve
caed268227 Adds german language to settings 2021-03-02 13:36:30 -08:00
Mouse Reeve
bb6a82fdff Adds simplified chinese language code to settings 2021-03-02 09:26:21 -08:00
Mouse Reeve
6a18803417 Catches more template translation moments 2021-02-28 17:10:30 -08:00
Mouse Reeve
d3676ff984 Removes non-existant german language support 2021-02-28 08:13:49 -08:00
Mouse Reeve
27316678d5 Adds test german translations
with apologies to actual german speakers
2021-02-27 16:44:58 -08:00
Mouse Reeve
2d79a52133 Translations working in templates 2021-02-27 16:18:56 -08:00
Mouse Reeve
b2e431daed Adds test localization file 2021-02-27 15:00:19 -08:00
Mouse Reeve
ad2a87d317 First pass at internationalization and localization 2021-02-27 13:43:55 -08:00
Mouse Reeve
5623c268d6 Set application version number in settings 2020-12-30 11:55:13 -08:00
Renato "Lond" Cerqueira
fb10cb35ad Add BookWyrm user-agent to http requests
This allows other software to identify BookWyrm in calls, as well as
will allow BookWyrm to differentiate between calls done from other
fediverse software and BookWyrm to answer with specific BookWyrm data.
2020-12-30 12:36:50 +01:00
Mouse Reeve
ae435a3165 Removes sqlite support 😢
RIP, things have gotten too complicated for this I think
2020-12-12 20:11:23 -08:00
Mouse Reeve
b33ea40da2 Use context processor to include site settings in templates 2020-12-11 12:07:37 -08:00
Mouse Reeve
d7e9a00cf1 Fixes password reset flow 2020-12-02 15:19:29 -08:00
Joel Bradshaw
1d0c0ae5c5 Add rename_app command and use it
This allows users to migrate from a pre-rename database without
resetting their database, hopefully
2020-11-19 13:49:53 -08:00
Mouse Reeve
91a32c014e Uses django paginator for feed page 2020-11-11 10:35:34 -08:00
Mouse Reeve
d4b18678bd Forgot password flow 2020-10-02 13:32:19 -07:00
Mouse Reeve
74de2b5cd3 Adds email config 2020-09-23 15:44:47 -07:00
Mouse Reeve
2d4dab00cc Uncomments admin app 2020-09-21 10:33:23 -07:00
Mouse Reeve
13a8bb45af Corrects references in tests 2020-09-21 08:22:58 -07:00
Mouse Reeve
c7883cd615 Updates migrations
To get the app working again I ran resetdb, let it crash in initdb,
then ran the migration, then re-ran initdb
2020-09-21 08:10:37 -07:00
Mouse Reeve
f77c156733 rename main code directory 2020-09-17 13:30:54 -07:00
Renamed from fedireads/settings.py (Browse further)