Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
724 commits
Select commit Hold shift + click to select a range
93fdebd
New translations django.po (Greek)
mouse-reeve Jun 24, 2025
64b1b68
New translations django.po (Basque)
mouse-reeve Jun 24, 2025
e9f627e
New translations django.po (Finnish)
mouse-reeve Jun 24, 2025
02863a9
New translations django.po (Irish)
mouse-reeve Jun 24, 2025
20f8cc6
New translations django.po (Hebrew)
mouse-reeve Jun 24, 2025
c048180
New translations django.po (Hungarian)
mouse-reeve Jun 24, 2025
d55b473
New translations django.po (Italian)
mouse-reeve Jun 24, 2025
63974d0
New translations django.po (Japanese)
mouse-reeve Jun 24, 2025
0023e84
New translations django.po (Korean)
mouse-reeve Jun 24, 2025
1a43812
New translations django.po (Lithuanian)
mouse-reeve Jun 24, 2025
eaf5c15
New translations django.po (Norwegian)
mouse-reeve Jun 24, 2025
1c5f012
New translations django.po (Polish)
mouse-reeve Jun 24, 2025
66f4607
New translations django.po (Portuguese)
mouse-reeve Jun 24, 2025
0b75947
New translations django.po (Russian)
mouse-reeve Jun 24, 2025
5bb402f
New translations django.po (Slovenian)
mouse-reeve Jun 24, 2025
43a8948
New translations django.po (Serbian (Cyrillic))
mouse-reeve Jun 24, 2025
fbaf6e1
New translations django.po (Turkish)
mouse-reeve Jun 24, 2025
ffbf51c
New translations django.po (Chinese Simplified)
mouse-reeve Jun 24, 2025
ea3e523
New translations django.po (Chinese Traditional)
mouse-reeve Jun 24, 2025
7c8291f
New translations django.po (Vietnamese)
mouse-reeve Jun 24, 2025
45dd60f
New translations django.po (Galician)
mouse-reeve Jun 24, 2025
665c061
New translations django.po (Portuguese, Brazilian)
mouse-reeve Jun 24, 2025
b2ae2cf
New translations django.po (Indonesian)
mouse-reeve Jun 24, 2025
cbe03f2
New translations django.po (Bengali)
mouse-reeve Jun 24, 2025
0487aee
New translations django.po (Welsh)
mouse-reeve Jun 24, 2025
fd37823
New translations django.po (Faroese)
mouse-reeve Jun 24, 2025
4b18548
New translations django.po (Esperanto)
mouse-reeve Jun 24, 2025
65ae1c0
New translations django.po (Bashkir)
mouse-reeve Jun 24, 2025
e4bec73
New translations django.po (Bengali, India)
mouse-reeve Jun 24, 2025
1cd5a90
New translations django.po (Oulipo)
mouse-reeve Jun 24, 2025
8d9b765
New translations django.po (Eastern Min)
mouse-reeve Jun 24, 2025
9cfc44c
New translations django.po (Galician)
mouse-reeve Jun 24, 2025
e5f194c
New translations django.po (Norwegian)
mouse-reeve Jun 24, 2025
4d06ddb
New translations django.po (Dutch)
mouse-reeve Jun 24, 2025
28db34b
New translations django.po (Czech)
mouse-reeve Jun 26, 2025
d9a954c
New translations django.po (Portuguese)
mouse-reeve Jun 26, 2025
2ca2576
New translations django.po (Portuguese)
mouse-reeve Jun 26, 2025
e92d6da
New translations django.po (Italian)
mouse-reeve Jun 28, 2025
5010388
New translations django.po (Italian)
mouse-reeve Jun 28, 2025
1bde7d0
New translations django.po (Italian)
mouse-reeve Jun 28, 2025
a39477d
Changed shelf RSS items to show shelved pubDate value instead of edit…
timothyjrogers Jun 29, 2025
86e70e8
Merge branch 'main' into tweak/generate_secrets
hughrun Jun 30, 2025
f1e3c6c
Merge pull request #3570 from ilkka-ollakka/tweak/generate_secrets
hughrun Jun 30, 2025
8665052
requirements: pump psycopg2 to psycopg3 binary
ilkka-ollakka Jun 8, 2025
7e90e68
settings: change backend to psycopg3 engine
ilkka-ollakka Jun 8, 2025
55cb437
psycopg3: migration fix as eecute_values doesn't exists in psycopg3 d…
ilkka-ollakka Jun 8, 2025
5f4f698
opentelemetry: use psycopg3 instrumentor
ilkka-ollakka Jun 8, 2025
cdabf74
Merge pull request #3605 from ilkka-ollakka/tweak/upgrade_psycopg2_to…
hughrun Jul 5, 2025
6682238
Merge pull request #3622 from ilkka-ollakka/tweak/rework_duplicate_li…
hughrun Jul 5, 2025
f28f635
Merge pull request #3634 from timothyjrogers/fix-shelf-rss-item-publi…
hughrun Jul 5, 2025
e224cb9
Update .gitignore to exclude QNAP NAS temporary files
Guanchishan Jul 5, 2025
27a4f18
Removed authentication requirement for viewing a user's non-private g…
timothyjrogers Jul 6, 2025
780c296
Disabled too many public methods on group model tests
timothyjrogers Jul 7, 2025
1d22447
New translations django.po (Korean)
mouse-reeve Jul 8, 2025
57d89d1
New translations django.po (Italian)
mouse-reeve Jul 9, 2025
77003be
Merge pull request #3635 from Guanchishan/patch-1
hughrun Jul 14, 2025
9f55f7e
Merge pull request #3637 from timothyjrogers/fix-user-groups-view-sho…
hughrun Jul 14, 2025
a33d47b
forms: with file-imports use file-widget that warns about too big files
ilkka-ollakka Jun 25, 2025
abf9cc8
file-upload widget: add attributes about upload limits instead of sta…
ilkka-ollakka Jun 25, 2025
daaa013
bookwyrm.js: use dataset to get upload-limit for file
ilkka-ollakka Jun 25, 2025
1de65cd
nginx: set client_max_body_size based on env instead of static 10MB
ilkka-ollakka Jun 25, 2025
6987f01
widgets: add has-background-danger-light to file size warning
ilkka-ollakka Jul 5, 2025
a804c99
widgets: add warning template to cover image upload widget also
ilkka-ollakka Jul 5, 2025
21f985b
Merge pull request #3627 from ilkka-ollakka/feat/upload_limit_from_env
hughrun Jul 15, 2025
a27ba73
Bump aiohttp from 3.11.11 to 3.12.14
dependabot[bot] Jul 15, 2025
1a875c8
show finna links/update button in book info if finna key is present
ilkka-ollakka Jul 15, 2025
7fbe0d0
Merge pull request #3641 from bookwyrm-social/dependabot/pip/aiohttp-…
mouse-reeve Jul 15, 2025
a75167a
Fix #3632: Add anchor link to scroll to reviews section
AdityaDeshmukh1 Jul 24, 2025
646e1c1
initial work to fix user imports
hughrun Jul 27, 2025
cd6843d
template improvements and fix missing list notes throwing
hughrun Jul 28, 2025
3153479
fix tests and improve complete_job
hughrun Jul 28, 2025
fcee8e3
remove covers from export files
hughrun Jul 28, 2025
b736f06
add export s3 configs to settings
hughrun Jul 28, 2025
ff44a56
Merge pull request #3646 from AdityaDeshmukh1/scroll-to-reviews-3632
hughrun Jul 28, 2025
5d2cab7
New translations django.po (German)
mouse-reeve Jul 31, 2025
e2f33b0
New translations django.po (German)
mouse-reeve Jul 31, 2025
a7f4121
Updated EXIF removal to support large image uploads
timothyjrogers Aug 2, 2025
3c6c5e3
update docker-compose to postgresql17 and add bw-dev command to upgra…
ilkka-ollakka May 18, 2025
dfc2b0a
github: use postgresql 17 on testing
ilkka-ollakka Jun 14, 2025
0666514
fix(nginx): remove client_max_body from https config
ilkka-ollakka Aug 3, 2025
d1a299c
Adds functionality to delete old export and import files with a sched…
hughrun Aug 1, 2025
e575675
Simplified EXIF removal code for image uploads
timothyjrogers Aug 3, 2025
da62d08
fix test_start_export_deletions
hughrun Aug 3, 2025
3edd94b
Merge pull request #3652 from ilkka-ollakka/fix/nginx_http_max_body
mouse-reeve Aug 6, 2025
538916b
Merge pull request #3651 from timothyjrogers/fix-large-cover-image-up…
mouse-reeve Aug 6, 2025
00bc542
Merge pull request #3642 from ilkka-ollakka/tweak/show_finna_links_on…
mouse-reeve Aug 6, 2025
5a033b6
Merge pull request #3626 from bookwyrm-social/l10n_main
mouse-reeve Aug 6, 2025
ba4de2a
fixes for more robust http calls
hughrun Aug 7, 2025
9c063d9
Merge branch 'main' into feat/upgrade_postgresql
hughrun Aug 7, 2025
068b2b5
Merge pull request #3653 from hughrun/exports-fix
mouse-reeve Aug 7, 2025
865551b
Merge pull request #3615 from ilkka-ollakka/feat/upgrade_postgresql
hughrun Aug 7, 2025
deaaea6
Merge pull request #3654 from hughrun/exports-no-covers
hughrun Aug 7, 2025
f3188e3
requirements: update Django to 5.2
ilkka-ollakka Jun 14, 2025
9ddeef9
migrations: add django 5.2 generated migrations
ilkka-ollakka Jun 14, 2025
4dae73e
modify localname migration to remove unique temporarily
ilkka-ollakka Jun 14, 2025
c32f2c4
invite: save(request) doesn't work anymore with djang0 5.2
ilkka-ollakka Jun 14, 2025
5241351
models: use condition in CheckConstraint instead of deprecated check
ilkka-ollakka Jun 19, 2025
ec05aff
models: disable pylint warning about abstract-method as false-positive
ilkka-ollakka Jun 19, 2025
ddc8c9f
migrations: replace Checkconstraint.check with .condition
ilkka-ollakka Jun 21, 2025
77f2fdc
Merge pull request #3616 from ilkka-ollakka/feat/upgrade_django_to_5.…
hughrun Aug 9, 2025
1e847e1
bw-dev: add init_ssl to listed options
ilkka-ollakka Aug 9, 2025
a6aedd1
New translations django.po (Turkish)
mouse-reeve Aug 10, 2025
9820cd1
New translations django.po (Turkish)
mouse-reeve Aug 10, 2025
7817732
Add ability to view and terminate user sessions
hughrun Aug 11, 2025
f9386fa
fix security template I think?
hughrun Aug 11, 2025
e164baa
Merge pull request #3661 from ilkka-ollakka/fix/add_init_ssl_to_bw_de…
hughrun Aug 11, 2025
be2b536
New translations django.po (Turkish)
mouse-reeve Aug 11, 2025
d0502b2
New translations django.po (Turkish)
mouse-reeve Aug 11, 2025
118b156
New translations django.po (Turkish)
mouse-reeve Aug 11, 2025
39b86c3
New translations django.po (Turkish)
mouse-reeve Aug 11, 2025
f984b15
New translations django.po (Turkish)
mouse-reeve Aug 11, 2025
3c1fc8a
Make form error messages more obvious
hughrun Aug 11, 2025
045e1bb
improve sort title handling
hughrun Aug 12, 2025
cd72511
fix test
hughrun Aug 12, 2025
bb69039
stop pylint whining
hughrun Aug 12, 2025
5b081fd
simplify 410 changes
hughrun Aug 12, 2025
2e7397a
New translations django.po (Basque)
mouse-reeve Aug 12, 2025
8ff273a
change user to CASCADE
hughrun Aug 12, 2025
4068eb0
fix migration
hughrun Aug 13, 2025
8c6bf11
New translations django.po (Finnish)
mouse-reeve Aug 14, 2025
12be303
New translations django.po (Finnish)
mouse-reeve Aug 14, 2025
8cc48bb
New translations django.po (Finnish)
mouse-reeve Aug 14, 2025
3528d3f
add joblog and ability to cancel tasks plus cleanup
hughrun Aug 16, 2025
f2dc148
Merge branch 'main' into scheduled-delete-exports
hughrun Aug 16, 2025
5f81289
add merge migration
hughrun Aug 16, 2025
7c423da
Merge branch 'main' into scheduled-delete-exports
hughrun Aug 16, 2025
fd61b91
openlibrary: try to parse series number from series-data
ilkka-ollakka Aug 6, 2025
f001101
https: send x-forwarded-proto from nginx and use it in django
ilkka-ollakka Aug 20, 2025
8a2b1dc
env: remove unnecessary setting related to header parsing
ilkka-ollakka Aug 20, 2025
c9c4098
Use setUpTestData for Import/Export job tests
dato Aug 22, 2025
aba9a8f
remove pointless pylint ignore
hughrun Aug 23, 2025
42954fc
Update bookwyrm/templates/preferences/security.html
hughrun Aug 23, 2025
baa0dd0
Update bookwyrm/models/session.py
hughrun Aug 23, 2025
3a4ff83
various cleanup fixes
hughrun Aug 23, 2025
13de756
Merge pull request #3676 from dato/push-nvrmxyytyyrz
hughrun Aug 23, 2025
3d1008f
Merge pull request #3673 from ilkka-ollakka/tweak/x-forwarded-proto
hughrun Aug 23, 2025
47b517d
Merge pull request #3657 from ilkka-ollakka/tweak/automatically_parse…
hughrun Aug 23, 2025
9363997
Merge pull request #3609 from hughrun/410
hughrun Aug 23, 2025
335b32c
Merge pull request #3664 from hughrun/sessions
hughrun Aug 23, 2025
c8762ad
fix covers in book search
hughrun Aug 24, 2025
8b6e7df
make dummy data file match what Inventaire actually returns
hughrun Aug 24, 2025
992eba9
New translations django.po (Galician)
mouse-reeve Aug 26, 2025
9b66b86
pump pillow to 11.3
ilkka-ollakka Aug 20, 2025
2be51c8
New translations django.po (Korean)
mouse-reeve Sep 3, 2025
47a9ac7
New translations django.po (Korean)
mouse-reeve Sep 3, 2025
cb57a09
New translations django.po (Korean)
mouse-reeve Sep 3, 2025
ef967c5
New translations django.po (Galician)
mouse-reeve Sep 5, 2025
437b419
Fix follower/following AP requests
hughrun Sep 7, 2025
68a8b21
Merge pull request #3674 from ilkka-ollakka/tweak/pump_pillow
mouse-reeve Sep 8, 2025
47a6dca
Merge pull request #3666 from hughrun/sort-title
mouse-reeve Sep 8, 2025
0b59c33
Merge branch 'scheduled-delete-exports' of github.com:hughrun/bookwyrm
mouse-reeve Sep 8, 2025
70c8830
Adds merge migration and UI tweaks
mouse-reeve Sep 8, 2025
a0948dc
Merge pull request #3678 from hughrun/inventaire
mouse-reeve Sep 8, 2025
48e5c2e
Merge pull request #3688 from bookwyrm-social/hughrun-schedule-delete
mouse-reeve Sep 8, 2025
8c3cfd3
Merge pull request #3663 from bookwyrm-social/l10n_main
mouse-reeve Sep 8, 2025
f3ff022
Recompiles locale files
mouse-reeve Sep 8, 2025
2c62c91
Merge pull request #3686 from hughrun/followers
mouse-reeve Sep 8, 2025
2b05283
Merge pull request #3665 from hughrun/form-errors
mouse-reeve Sep 8, 2025
1f5d80b
Merge pull request #3689 from bookwyrm-social/locales
mouse-reeve Sep 8, 2025
625db02
New translations django.po (Galician)
mouse-reeve Sep 8, 2025
06df7cb
New translations django.po (Korean)
mouse-reeve Sep 8, 2025
5057b98
New translations django.po (Romanian)
mouse-reeve Sep 8, 2025
abf3942
New translations django.po (French)
mouse-reeve Sep 8, 2025
5c36a8c
New translations django.po (Spanish)
mouse-reeve Sep 8, 2025
cad1ae4
New translations django.po (Afrikaans)
mouse-reeve Sep 8, 2025
83d92d0
New translations django.po (Arabic)
mouse-reeve Sep 8, 2025
243104c
New translations django.po (Bulgarian)
mouse-reeve Sep 8, 2025
3d1d4c4
New translations django.po (Catalan)
mouse-reeve Sep 8, 2025
3cb9b8f
New translations django.po (Czech)
mouse-reeve Sep 8, 2025
0d01f50
New translations django.po (Danish)
mouse-reeve Sep 8, 2025
5569e99
New translations django.po (German)
mouse-reeve Sep 8, 2025
cff765b
New translations django.po (Greek)
mouse-reeve Sep 8, 2025
01682a3
New translations django.po (Basque)
mouse-reeve Sep 8, 2025
03ab345
New translations django.po (Finnish)
mouse-reeve Sep 8, 2025
8f58db8
New translations django.po (Irish)
mouse-reeve Sep 8, 2025
7b11415
New translations django.po (Hebrew)
mouse-reeve Sep 8, 2025
c9dd444
New translations django.po (Hungarian)
mouse-reeve Sep 8, 2025
4c22ba4
New translations django.po (Italian)
mouse-reeve Sep 8, 2025
9250154
New translations django.po (Japanese)
mouse-reeve Sep 8, 2025
16eaaff
New translations django.po (Lithuanian)
mouse-reeve Sep 8, 2025
9c92b54
New translations django.po (Dutch)
mouse-reeve Sep 8, 2025
6b45fe7
New translations django.po (Norwegian)
mouse-reeve Sep 8, 2025
c66eb1e
New translations django.po (Polish)
mouse-reeve Sep 8, 2025
4eaa14b
New translations django.po (Portuguese)
mouse-reeve Sep 8, 2025
900748f
New translations django.po (Russian)
mouse-reeve Sep 8, 2025
ee32232
New translations django.po (Slovak)
mouse-reeve Sep 8, 2025
259ffce
New translations django.po (Slovenian)
mouse-reeve Sep 8, 2025
2aa3af8
New translations django.po (Serbian (Cyrillic))
mouse-reeve Sep 8, 2025
2d43c43
New translations django.po (Swedish)
mouse-reeve Sep 8, 2025
5962a02
New translations django.po (Turkish)
mouse-reeve Sep 8, 2025
a5714c4
New translations django.po (Ukrainian)
mouse-reeve Sep 8, 2025
341491d
New translations django.po (Chinese Simplified)
mouse-reeve Sep 8, 2025
3cfeeda
New translations django.po (Chinese Traditional)
mouse-reeve Sep 8, 2025
da6d61a
New translations django.po (Vietnamese)
mouse-reeve Sep 8, 2025
8765a01
New translations django.po (Portuguese, Brazilian)
mouse-reeve Sep 8, 2025
aa91d7d
New translations django.po (Indonesian)
mouse-reeve Sep 8, 2025
13730d9
New translations django.po (Bengali)
mouse-reeve Sep 8, 2025
cad3461
New translations django.po (Welsh)
mouse-reeve Sep 8, 2025
97f0401
New translations django.po (Faroese)
mouse-reeve Sep 8, 2025
99500b7
New translations django.po (Esperanto)
mouse-reeve Sep 8, 2025
33329f5
New translations django.po (Bashkir)
mouse-reeve Sep 8, 2025
155feb2
New translations django.po (Bengali, India)
mouse-reeve Sep 8, 2025
125b55b
New translations django.po (Oulipo)
mouse-reeve Sep 8, 2025
c5742c5
New translations django.po (Eastern Min)
mouse-reeve Sep 8, 2025
3e7db4d
New translations django.po (Galician)
mouse-reeve Sep 9, 2025
d8a65a6
New translations django.po (Catalan)
mouse-reeve Sep 9, 2025
2e9c18a
New translations django.po (Catalan)
mouse-reeve Sep 9, 2025
4b292e0
New translations django.po (Finnish)
mouse-reeve Sep 10, 2025
07e07ad
New translations django.po (Catalan)
mouse-reeve Sep 10, 2025
58c9414
New translations django.po (Swedish)
mouse-reeve Sep 10, 2025
f494b21
Improve Unicode support in slugs and URL patterns
talmuth Sep 10, 2025
949413b
Refactor Unicode slug tests for improved readability and consistency
talmuth Sep 11, 2025
983329d
New translations django.po (Catalan)
mouse-reeve Sep 11, 2025
b8d05ec
New translations django.po (Catalan)
mouse-reeve Sep 11, 2025
0907f30
New translations django.po (Catalan)
mouse-reeve Sep 13, 2025
db04409
New translations django.po (Catalan)
mouse-reeve Sep 13, 2025
3c5a54b
New translations django.po (Catalan)
mouse-reeve Sep 13, 2025
2574914
New translations django.po (Italian)
mouse-reeve Sep 13, 2025
10a169f
Merge pull request #3692 from talmuth/slugify-unicode-support
mouse-reeve Sep 15, 2025
4e553c8
New translations django.po (Spanish)
mouse-reeve Sep 15, 2025
d1412c7
New translations django.po (Dutch)
mouse-reeve Sep 17, 2025
922efb5
Put some dublin core metadata in the book pages for bibliographic too…
jakkarth Sep 14, 2025
63a4016
Addressing PR review notes
jakkarth Sep 18, 2025
2bcfec0
Merge pull request #3694 from jakkarth/feature/dublincore
hughrun Sep 19, 2025
c37cf0b
init_db: change command so it can be run against initialized database…
ilkka-ollakka Jul 5, 2025
ab49211
allow AWS_DEFAULT_ACL to be overridable
Aug 15, 2025
736e69f
replace other values
Aug 15, 2025
69d5419
doc - add AWS_DEFAULT_ACL variable to .env.example with explanation
Aug 17, 2025
53717ac
Merge pull request #3699 from hughrun/merge-backblaze
hughrun Sep 20, 2025
191ede0
New translations django.po (Catalan)
mouse-reeve Oct 8, 2025
8f2ddb1
Merge pull request #3696 from ilkka-ollakka/tweak/rework_initdb
hughrun Oct 11, 2025
093b924
New translations django.po (Arabic)
mouse-reeve Oct 11, 2025
cdd2a72
New translations django.po (Arabic)
mouse-reeve Oct 11, 2025
fb5fcb7
New translations django.po (Arabic)
mouse-reeve Oct 11, 2025
6009d04
New translations django.po (Arabic)
mouse-reeve Oct 11, 2025
c3d90a7
New translations django.po (Italian)
mouse-reeve Oct 11, 2025
5bfc23c
Merge pull request #3604 from ilkka-ollakka/tweak/nginx_cache_lock
mouse-reeve Oct 12, 2025
a303c39
Updates locale files
mouse-reeve Oct 13, 2025
95ea44b
Merge pull request #3690 from bookwyrm-social/l10n_main
mouse-reeve Oct 13, 2025
525e744
Bump version to 0.8.0.
mouse-reeve Oct 13, 2025
a360c6e
Merge pull request #3707 from bookwyrm-social/locales
mouse-reeve Oct 13, 2025
ba46e53
Merge pull request #3708 from bookwyrm-social/tick-version
mouse-reeve Oct 13, 2025
55211b9
Merge remote-tracking branch 'upstream/main'
phildini Oct 28, 2025
b69062e
Merge remote-tracking branch 'origin/main'
phildini Oct 28, 2025
9e7ab70
Fix password validation for v0.8.0 merge
phildini Oct 28, 2025
3144794
Fix remaining test passwords in registration tests
phildini Oct 28, 2025
e4faa9e
Fix Black formatting in RegisterForm
phildini Oct 28, 2025
6b43c28
Fix line length in RegisterForm to meet 88 char limit
phildini Oct 28, 2025
b43f9e2
Fix Black formatting by aligning dev-tools with CI version
phildini Oct 28, 2025
226e101
Fix pylint line-too-long errors in password views
phildini Oct 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
44 changes: 26 additions & 18 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY="7(2w1sedok=aznpq)ta1mc4i%4h=xx@hxwx*o57ctsuml0x%fr"
# SECRET_KEY="7(2w1sedok=aznpq)ta1mc4i%4h=xx@hxwx*o57ctsuml0x%fr"

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG=false
USE_HTTPS=true

# Your domain ("example.com"). If running development on localhost, set this to localhost
DOMAIN=your.domain.here
# This is the email address registered by certbot when you set up https in production
EMAIL=your@email.here

# If you use letsencrypt and get https directly to nginx, use https mode,

# if you have something in front of nginx, like traefik/ngrok/apache that handles certificates and
# you want to pass just http to nginx, use reverse_proxy mode.
# For local development, use 'reverse_proxy' config to allow testing/development without an ssl certificate.
#
# If NGINX_SETUP is not defined, we default to https mode
#
# docker compose NGINX setup: https, reverse_proxy
NGINX_SETUP=https

# Instance default language (see options at bookwyrm/settings.py "LANGUAGES"
LANGUAGE_CODE="en-us"
# Used for deciding which editions to prefer
Expand All @@ -16,16 +27,17 @@ DEFAULT_LANGUAGE="English"
## Leave unset to allow all hosts
# ALLOWED_HOSTS="localhost,127.0.0.1,[::1]"

# Specify when the site is served from a port that is not the default
# for the protocol (80 for HTTP or 443 for HTTPS).
# Probably only necessary in development.
# Specifying PORT is only necessary in reverse_proxy mode.
# By default PORT is 443 unless you are using localhost for development work.
# If developing with localhost you do not need to set a port and it defaults to 80.
# PORT=1333

STATIC_ROOT=static/
MEDIA_ROOT=images/

# Database configuration
PGPORT=5432
POSTGRES_PASSWORD=securedbypassword123
# POSTGRES_PASSWORD=securedbypassword123
POSTGRES_USER=bookwyrm
POSTGRES_DB=bookwyrm
POSTGRES_HOST=db
Expand All @@ -34,7 +46,7 @@ POSTGRES_HOST=db
MAX_STREAM_LENGTH=200
REDIS_ACTIVITY_HOST=redis_activity
REDIS_ACTIVITY_PORT=6379
REDIS_ACTIVITY_PASSWORD=redispassword345
# REDIS_ACTIVITY_PASSWORD=redispassword345
# Optional, use a different redis database (defaults to 0)
# REDIS_ACTIVITY_DB_INDEX=0
# Alternatively specify the full redis url, i.e. if you need to use a unix:// socket
Expand All @@ -43,7 +55,7 @@ REDIS_ACTIVITY_PASSWORD=redispassword345
# Redis as celery broker
REDIS_BROKER_HOST=redis_broker
REDIS_BROKER_PORT=6379
REDIS_BROKER_PASSWORD=redispassword123
# REDIS_BROKER_PASSWORD=redispassword123
# Optional, use a different redis database (defaults to 0)
# REDIS_BROKER_DB_INDEX=0
# Alternatively specify the full redis url, i.e. if you need to use a unix:// socket
Expand All @@ -52,7 +64,7 @@ REDIS_BROKER_PASSWORD=redispassword123
# Monitoring for celery
FLOWER_PORT=8888
FLOWER_USER=admin
FLOWER_PASSWORD=changeme
# FLOWER_PASSWORD=changeme

# Email config
EMAIL_HOST=smtp.mailgun.org
Expand Down Expand Up @@ -92,6 +104,9 @@ S3_SIGNED_URL_EXPIRY=900
# AWS_S3_URL_PROTOCOL=None # "http:"
# AWS_S3_REGION_NAME=None # "fr-par"
# AWS_S3_ENDPOINT_URL=None # "https://s3.fr-par.scw.cloud"
# AWS_DEFAULT_ACL="" # AWS_DEFAULT_ACL defaults to public-read, however, not all providers, e.g. BackBlaze, support it.
# Uncomment and set this value to an empty string (for Back Blaze) or whatever is required by your provider to override it.


# Commented are example values if you use Azure Blob Storage
# USE_AZURE=true
Expand Down Expand Up @@ -131,13 +146,6 @@ OTEL_EXPORTER_OTLP_HEADERS=
# Service name to identify your app
OTEL_SERVICE_NAME=

# Set HTTP_X_FORWARDED_PROTO ONLY to true if you know what you are doing.
# Only use it if your proxy is "swallowing" if the original request was made
# via https. Please refer to the Django-Documentation and assess the risks
# for your instance:
# https://docs.djangoproject.com/en/3.2/ref/settings/#secure-proxy-ssl-header
HTTP_X_FORWARDED_PROTO=false

# TOTP settings
# TWO_FACTOR_LOGIN_VALIDITY_WINDOW sets the number of codes either side
# which will be accepted.
Expand All @@ -150,7 +158,7 @@ TWO_FACTOR_LOGIN_MAX_SECONDS=60
CSP_ADDITIONAL_HOSTS=

# Time before being logged out (in seconds)
# SESSION_COOKIE_AGE=2592000 # current default: 30 days
# SESSION_COOKIE_AGE=31536000 # current default: 365 days

# Maximum allowed memory for file uploads (increase if users are having trouble
# uploading BookWyrm export files).
Expand Down
58 changes: 24 additions & 34 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,29 @@
<!--
Thanks for contributing!

Please ensure the name of your PR is written in imperative present tense. For example:

- "fix color contrast on submit buttons"
- "add 'favourite food' value to Author model"
Thanks for contributing! This template has some checkboxes that help keep track of what changes go into a release.

To check (tick) a list item, replace the space between square brackets with an x, like this:

- [x] I have checked the box

You can find more information and tips for BookWyrm contributors at https://docs.joinbookwyrm.com/contributing.html
-->

## Are you finished?

### Linters
## Description
<!--
Please run linters on your code before submitting your PR.
If you miss this step it is likely that the GitHub task runners will fail.
Describe what your pull request does here
-->

- [ ] I have checked my code with `black`, `pylint`, and `mypy`, or `./bw-dev formatters`

### Tests
<!-- Check one -->
<!--
For pull requests that relate or close an issue, please include them
below. We like to follow [Github's guidance on linking issues to pull requests](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue).

- [ ] My changes do not need new tests
- [ ] All tests I have added are passing
- [ ] I have written tests but need help to make them pass
- [ ] I have not written tests and need help to write them
For example having the text: "closes #1234" would connect the current pull
request to issue 1234. And when we merge the pull request, Github will
automatically close the issue.
-->

- Related Issue #
- Closes #

## What type of Pull Request is this?
<!-- Check all that apply -->
Expand All @@ -48,21 +42,6 @@ If you miss this step it is likely that the GitHub task runners will fail.

### Details of breaking or configuration changes (if any of above checked)

## Description

<!--
Describe what your pull request does here.

For pull requests that relate or close an issue, please include them
below. We like to follow [Github's guidance on linking issues to pull requests](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue).

For example having the text: "closes #1234" would connect the current pull
request to issue 1234. And when we merge the pull request, Github will
automatically close the issue.
-->

- Related Issue #
- Closes #

## Documentation
<!--
Expand All @@ -76,3 +55,14 @@ Our documentation is maintained in a separate repository at https://github.com/b
- [ ] I have created a matching pull request in the Documentation repository
- [ ] I intend to create a matching pull request in the Documentation repository after this PR is merged

<!-- Amazing! Thanks for filling that out. Your PR will need to have passing tests and happy linters before we can merge
You will need to check your code with `black`, `pylint`, and `mypy`, or `./bw-dev formatters`
-->

### Tests
<!-- Check one -->

- [ ] My changes do not need new tests
- [ ] All tests I have added are passing
- [ ] I have written tests but need help to make them pass
- [ ] I have not written tests and need help to write them
2 changes: 1 addition & 1 deletion .github/workflows/lint-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
jobs:
lint:
name: Lint with stylelint and ESLint.
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prettier.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
lint:
name: Lint with Prettier
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:13
image: postgres:17
env: # does not inherit from jobs.build.env
POSTGRES_USER: postgres
POSTGRES_PASSWORD: hunter2
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Set up .env
run: cp .env.example .env
- name: Check migrations up-to-date
run: python ./manage.py makemigrations --check
run: python ./manage.py makemigrations --check -v 3
- name: Run Tests
run: pytest -n 3

Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ nginx/default.conf
#macOS
**/.DS_Store

#QTS (system in QNAP NAS)
**/.@__thumb/

# Docker
docker-compose.override.yml
14 changes: 13 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,19 @@ ignore=migrations
load-plugins=pylint.extensions.no_self_use

[MESSAGES CONTROL]
disable=E1101,E1135,E1136,R0903,R0901,R0902,W0707,W0511,W0406,R0401,R0801,C3001,import-error
disable =
cyclic-import,
duplicate-code,
fixme,
no-member,
raise-missing-from,
too-few-public-methods,
too-many-ancestors,
too-many-instance-attributes,
unnecessary-lambda-assignment,
unsubscriptable-object,
enable =
useless-suppression

[FORMAT]
max-line-length=88
53 changes: 53 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Contributing to BookWyrm

Our goal is to make BookWyrm a kind and welcoming place where everyone can contribute to the success of the project. Here are some ways you can join the project:

## Report things that are confusing

We want BookWyrm to be a fun experience that is intuitive to understand. If you're confused by something, it's probably because it is confusing! We are always keen to improve our [documentation](https://docs.joinbookwyrm.com) and Guided Tour as well as the platform itself.

You can [create an issue to improve our documentation](https://github.com/bookwyrm-social/documentation/issues) or if you prefer, [ask for help in our Matrix chat room](https://app.element.io/#/room/#bookwyrm:matrix.org).

## Report bugs

Sometimes things don't work the way we intended. We would love to have fewer bugs, but we can only fix them if we know about them.

You can [report bugs](https://github.com/bookwyrm-social/bookwyrm/issues) by clicking "New Issue". The more information you can provide, the easier it will be to understand the problem and squash that bug!

It's a good idea to search the Issues for key words associated with your bug first because someone else may have already reported it.

## Request and discuss new features

Got a great idea for an improvement to BookWyrm? You can [request new features](https://github.com/bookwyrm-social/bookwyrm/issues) by clicking "New Issue".

It's a good idea to search the Issues for key words associated with your feature suggestion first because someone else may have already requested it.

## Translate BookWyrm into international languages

Books are written in many languages, and BookWyrm should be too. If you know more than one language, you might be able to help us to [translate BookWyrm](https://translate.joinbookwyrm.com/). You can find out more about translation [in the documentation](https://docs.joinbookwyrm.com/translation.html).

## Keep the documentation up to date

Good documentation is crucial so that people know how to use, contribute to, and administer BookWyrm. No matter how you are involved with BookWyrm, your perspective is valuable and you can contribute to our documentation.

We managed documentation in [a separate GitHub repository](https://github.com/bookwyrm-social/documentation) where you can [log a documentation issue](https://github.com/bookwyrm-social/documentation/issues) or contribute to the documentation yourself.

## Test draft versions

Are you a BookWyrm instance administrator? You can help to test new features when we release them in a draft version of BookWyrm, and report back on your experiences. This is crucial to helping us to release stable versions with fewer bugs.

## Contribute code

If you're able to write code, you can contribute that way! Check out the [Guide to the developer environment](https://docs.joinbookwyrm.com/install-dev.html) and our code [style guide](https://docs.joinbookwyrm.com/style_guide.html).

## Provide expert advice

Bibliographic metadata wizard? Celery nerd? ActivityPub expert? SQL query obsessive? We need all kinds of expertise! You can contribute to discussions in [the Issues](https://github.com/bookwyrm-social/bookwyrm/issues) or reach out to make suggestions [in our Matrix chat room](https://app.element.io/#/room/#bookwyrm:matrix.org) or via an Issue of your own.

## More information

You can find out more about BookWyrm and contributing at [JoinBookWyrm.com](https://joinbookwyrm.com/get-involved/).

Ensure you are aware of and agree to our [Code of Conduct](https://github.com/bookwyrm-social/bookwyrm/blob/main/CODE_OF_CONDUCT.md).

Please note that the BookWyrm project is licensed under the [Anti-capitalist Software License](https://github.com/bookwyrm-social/bookwyrm/blob/main/LICENSE.md).
2 changes: 2 additions & 0 deletions FEDERATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ Bookwyrm uses the [Webfinger](https://datatracker.ietf.org/doc/html/rfc7033) sta

Bookwyrm uses and requires HTTP signatures for all `POST` requests. `GET` requests are not signed by default, but if Bookwyrm receives a `403` response to a `GET` it will re-send the request, signed by the default server user. This usually will have a user id of `https://example.net/user/bookwyrm.instance.actor`

As of the first version to be released in 2025, all `GET` requests will be signed by the instance user instead of re-sending requests that are rejected.

#### publicKey id

In older versions of Bookwyrm the `publicKey.id` was incorrectly listed in request headers as `https://example.net/user/username#main-key`. As of v0.6.3 the id is now listed correctly, as `https://example.net/user/username/#main-key`. In most ActivityPub implementations this will make no difference as the URL will usually resolve to the same place.
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ BookWyrm is built on [ActivityPub](http://activitypub.rocks/). With ActivityPub,

Federation makes it possible to have small, self-determining communities, in contrast to the monolithic service you find on GoodReads or Twitter. An instance can be focused on a particular interest, be just for a group of friends, or anything else that brings people together. Each community can choose which other instances they want to federate with, and moderate and run their community autonomously. Check out https://runyourown.social/ to get a sense of the philosophy and logistics behind small, high-trust social networks.

Developers of other ActivityPub software can find out more about BookWyrm's implementation at [`FEDERATION.md`](https://github.com/bookwyrm-social/bookwyrm/blob/main/FEDERATION.md).

## Features

### Post about books
Expand Down Expand Up @@ -61,3 +63,7 @@ Deployment

## Set up BookWyrm
The [documentation website](https://docs.joinbookwyrm.com/) has instruction on how to set up BookWyrm in a [developer environment](https://docs.joinbookwyrm.com/install-dev.html) or [production](https://docs.joinbookwyrm.com/install-prod.html).

## Contributing

There are many ways you can contribute to the success and health of the BookWyrm project! You do not have to know how to write code and we are always keen to see more people get involved. Find out how you can join the project at [CONTRIBUTING.md](https://github.com/bookwyrm-social/bookwyrm/blob/main/CONTRIBUTING.md)
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.4
0.8.0
Loading
Loading