1
0
Fork 0
Commit graph

9484 commits

Author SHA1 Message Date
229a035a2b
Introduce 'MEDIA_ROOT_ABS' environment variable 2025-03-13 14:56:30 +01:00
984b9b08fc
Add fallback for 'STATIC_ROOT_ABS' 2025-03-13 13:08:45 +01:00
3f968d4652
Introduce 'STATIC_ROOT_ABS' environment variable
Using 'BASE_DIR' doesn't really make sense in a proper deployment environment.
2025-03-13 12:56:41 +01:00
3ff5b3279c
Revert 71d0cd5e73 and e9f11a4d29 2025-03-12 17:02:27 +01:00
4b433e285d
Encode SQL statement as bytes in 0046_reviewrating database migration
An attempt to avoid a psycopg2 error about 'connection.encoding' not existing.
2025-03-12 16:38:22 +01:00
db34a9575b
Revert d81dbe07dd 2025-03-11 15:21:50 +01:00
d81dbe07dd
Revert specifying config path in settings.py 2025-03-11 15:13:20 +01:00
e9f11a4d29
Add 'bookwyrm' suffix to BASE_URL so that static and image urls use it 2025-03-11 12:28:11 +01:00
71d0cd5e73
Add 'bookwyrm/' prefix to all urls 2025-03-11 12:14:47 +01:00
1e0d547db5
Revert formatting changes 2025-03-11 10:25:28 +01:00
64ea602f02
Remove opentelemetry-related code from apps.py, formatting 2025-03-11 02:23:21 +01:00
0702731c7f
Fix template string syntax, formatting 2025-03-11 01:19:29 +01:00
6ed1025a8d
Formatting in settings.py 2025-03-11 00:47:28 +01:00
6e8e1d040a
Specify config path directly in settings.py
The original code looks for the .env file starting in the directory of the Python file itself, not the current working directory.
2025-03-11 00:41:37 +01:00
750b4c762c
Print cwd in settings.py to aid with debugging '.env' files 2025-03-10 23:35:50 +01:00
bb6e8e516c
Remove telemetry, Docker, Github-specifics, development-only tools 2025-03-10 18:33:17 +01:00
ba1f180c83
Merge pull request #3508 from bookwyrm-social/dependabot/pip/django-4.2.18
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Templates validator / lint (push) Has been cancelled
JavaScript Prettier (run ./bw-dev prettier to fix) / Lint with Prettier (push) Has been cancelled
Python / Tests (pytest) (push) Has been cancelled
Python / Linting (pylint) (push) Has been cancelled
Python / Typing (mypy) (push) Has been cancelled
Python / Formatting (black; run ./bw-dev black to fix) (push) Has been cancelled
Bump django from 4.2.17 to 4.2.18
2025-02-13 20:05:13 -08:00
dependabot[bot]
924f377e4e
Bump django from 4.2.17 to 4.2.18
Bumps [django](https://github.com/django/django) from 4.2.17 to 4.2.18.
- [Commits](https://github.com/django/django/compare/4.2.17...4.2.18)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-14 03:14:17 +00:00
eef66b5fc4
Merge pull request #3507 from bookwyrm-social/update-linter-ubuntu
GitHub emailed me to say we need to use a later ubuntu version for these
2025-02-13 19:13:28 -08:00
4138a2b6aa GitHub emailed me to say we need to use a later ubuntu version for these 2025-02-13 18:39:40 -08:00
03bab92ee6
Merge pull request #3492 from bookwyrm-social/inventaire-titles
Alters get_description code for inventaire queries
2025-01-10 18:21:17 -08:00
d9d614b3bc Updates test string for inventaire 2025-01-10 18:11:57 -08:00
609b7f58c8 Alters get_description code for inventaire queries 2025-01-10 18:01:48 -08:00
3916666897
Merge pull request #3478 from bookwyrm-social/dependabot/pip/django-4.2.17
Bump django from 4.2.16 to 4.2.17
2024-12-06 16:15:01 -08:00
dependabot[bot]
305ef9195b
Bump django from 4.2.16 to 4.2.17
Bumps [django](https://github.com/django/django) from 4.2.16 to 4.2.17.
- [Commits](https://github.com/django/django/compare/4.2.16...4.2.17)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-06 18:58:00 +00:00
de8ba3cf86
Merge pull request #3476 from hughrun/block-invites
Prevent invite requests from blocked domains
2024-11-30 19:25:03 -08:00
023e62294e
Prevent invite requests from blocked domains
Prevents form submission when requesting an email invite using an address from a blocked domain.

Fixes #3366
2024-11-30 15:54:37 +11:00
61845678c4
Merge pull request #3473 from bookwyrm-social/dependabot/pip/aiohttp-3.10.11
Bump aiohttp from 3.10.2 to 3.10.11
2024-11-18 18:49:03 -08:00
dependabot[bot]
0a48c7c81b
Bump aiohttp from 3.10.2 to 3.10.11
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.10.2 to 3.10.11.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.10.2...v3.10.11)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 21:30:35 +00:00
d16faac6da
Merge pull request #3460 from hughrun/3426
fix failing test from #3432
2024-10-20 18:50:46 -07:00
750cedd078
fix failing test 2024-10-21 12:41:16 +11:00
14dba48415
Merge pull request #3437 from hughrun/published_date
Fix post dates being inconsistent
2024-10-17 15:39:13 -07:00
09bbaf0671
Merge pull request #3442 from bookwyrm-social/dependabot/pip/django-4.2.16
Bump django from 4.2.15 to 4.2.16
2024-10-17 15:33:48 -07:00
f2eb3fdccb
Merge pull request #3458 from bookwyrm-social/update_locales
Update locales
2024-10-17 15:33:33 -07:00
20026b968d
Merge pull request #3454 from Guanchishan/patch-3
show Wikidata link on author page
2024-10-17 15:33:15 -07:00
7ecf3b65d7
Merge pull request #3451 from Guanchishan/patch-1
Fix IntegrityError caused by duplicate periodic task creation
2024-10-17 15:23:31 -07:00
0a3fc58669
Check for wikidata when determining if links are present 2024-10-17 15:18:48 -07:00
0ccbf8d739 Fixes inconsistent wording in source text 2024-10-17 14:56:20 -07:00
8594c8c0f6 Updates locales 2024-10-17 14:55:07 -07:00
f1b0e4b9d6
Merge pull request #3432 from hughrun/3426
add test for resolving users with aliases
2024-10-17 14:49:33 -07:00
1923db31b1
Merge pull request #3434 from hughrun/signed_requests
sign all AP requests
2024-10-17 14:13:55 -07:00
f8650bbb1c
show Wikidata link on author page
Supporting Wikidata is very wonderful. And how about make Wikidata link visible on author page? 
Modified bookwyrm\templates\author\author.html
2024-10-13 19:02:33 +09:00
6143aa66e3
Fix IntegrityError when creating periodic tasks
Change PeriodicTask.objects.get_or_create() to PeriodicTask.objects.update_or_create().

This change prevents a potential IntegrityError when creating a periodic task due to duplicate primary key. By using update_or_create, if the record already exists, it will be updated instead of attempting to insert a new record with the same primary key, ensuring the process completes without error.
2024-10-11 20:28:27 +09:00
dependabot[bot]
999829dc8b
Bump django from 4.2.15 to 4.2.16
Bumps [django](https://github.com/django/django) from 4.2.15 to 4.2.16.
- [Commits](https://github.com/django/django/compare/4.2.15...4.2.16)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-08 21:28:47 +00:00
514c54f30a
black formatting 2024-09-19 19:46:03 +10:00
6745a9a3f5
Add test for #3365 fix (#5) 2024-09-19 19:38:33 +10:00
bee9dafc9d
update tests 2024-09-18 19:51:43 +10:00
dd45823790
enable localised dates 2024-09-18 19:40:44 +10:00
a61ca162b0
Fix post dates being inconsistent
Makes all dates fixed except if in the last day, in which case they are relative times.

Fixes #3365
2024-09-14 14:33:02 +10:00
cfe10fa874
update error message 2024-09-09 10:19:03 +10:00