Commit graph

9454 commits

Author SHA1 Message Date
Hugh Rundle
750cedd078
fix failing test 2024-10-21 12:41:16 +11:00
Mouse Reeve
14dba48415
Merge pull request #3437 from hughrun/published_date
Fix post dates being inconsistent
2024-10-17 15:39:13 -07:00
Mouse Reeve
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
Mouse Reeve
f2eb3fdccb
Merge pull request #3458 from bookwyrm-social/update_locales
Update locales
2024-10-17 15:33:33 -07:00
Mouse Reeve
20026b968d
Merge pull request #3454 from Guanchishan/patch-3
show Wikidata link on author page
2024-10-17 15:33:15 -07:00
Mouse Reeve
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
Mouse Reeve
0a3fc58669
Check for wikidata when determining if links are present 2024-10-17 15:18:48 -07:00
Mouse Reeve
0ccbf8d739 Fixes inconsistent wording in source text 2024-10-17 14:56:20 -07:00
Mouse Reeve
8594c8c0f6 Updates locales 2024-10-17 14:55:07 -07:00
Mouse Reeve
f1b0e4b9d6
Merge pull request #3432 from hughrun/3426
add test for resolving users with aliases
2024-10-17 14:49:33 -07:00
Mouse Reeve
1923db31b1
Merge pull request #3434 from hughrun/signed_requests
sign all AP requests
2024-10-17 14:13:55 -07:00
Davidzdh
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
Davidzdh
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
Hugh Rundle
514c54f30a
black formatting 2024-09-19 19:46:03 +10:00
Adeodato Simó
6745a9a3f5
Add test for #3365 fix (#5) 2024-09-19 19:38:33 +10:00
Hugh Rundle
bee9dafc9d
update tests 2024-09-18 19:51:43 +10:00
Hugh Rundle
dd45823790
enable localised dates 2024-09-18 19:40:44 +10:00
Hugh Rundle
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
Hugh Rundle
cfe10fa874
update error message 2024-09-09 10:19:03 +10:00
Mouse Reeve
13381b9b4d
Merge pull request #3435 from hughrun/docker-version
docker-compose 'version' has been deprecated
2024-09-08 17:16:10 -07:00
Hugh Rundle
c0ce22a607
docker-compose 'version' has been deprecated 2024-09-09 10:04:16 +10:00
Hugh Rundle
9c89e0fbaf
sign all AP requests
We have been attempting unsigned GET requests and then if they fail,
sending another signed request within the same loop.

This not only causes single-threaded instances to fail, confusing new
users, but is also unnecessary, since servers that don't require
requests to be signed will just ignore the signed headers.

Signing all AP requests simplifies things and should see a
marginal increase in speed when interacting with new servers
that require signed payloads.
2024-09-09 09:46:04 +10:00
Hugh Rundle
1a93ba0cac
check alias with new user data
Instead of breaking a bunch of existing tests...
2024-09-09 08:47:59 +10:00
Hugh Rundle
ed55e052f6
add test for resolving users with aliases 2024-09-08 18:11:47 +10:00
Mouse Reeve
cbdb59d3cf
Merge pull request #3408 from bookwyrm-social/dependabot/pip/aiohttp-3.10.2
Bump aiohttp from 3.9.4 to 3.10.2
2024-09-02 05:39:26 -07:00
Dato Simó
80248d3c1d Convert min_confidence param to string to appease mypy 2024-08-31 20:16:41 -03:00
Mouse Reeve
904aa6c49a
Merge pull request #3394 from matthewmincher/feature/user-shelf-preview-order
Order user shelf previews by book shelved date
2024-08-27 18:38:21 -07:00
Mouse Reeve
4123478058
Merge pull request #3423 from bookwyrm-social/misc-tests
Adds some unit tests
2024-08-27 18:33:43 -07:00
Mouse Reeve
3555ef9d2e
Merge pull request #3416 from bookwyrm-social/edit-status-header
Sets edit status header to indicate status type
2024-08-27 14:37:26 -07:00
Hugh Rundle
23dfe3924d
Merge pull request #3418 from bookwyrm-social/hide-ratings
Hide ratings
2024-08-27 19:06:07 +10:00
Mouse Reeve
abb97e6044
Merge branch 'main' into edit-status-header 2024-08-26 13:34:49 -07:00
Mouse Reeve
a6912dc0c2
Merge branch 'main' into hide-ratings 2024-08-26 12:35:47 -07:00
Mouse Reeve
df607a0e45
Merge pull request #3419 from bookwyrm-social/test-fix
Uses workaround for test that fails ~sometimes~
2024-08-26 12:35:32 -07:00
Mouse Reeve
bd773f41c7 Uses much simpler approach to ensuring test result order 2024-08-26 11:33:01 -07:00
Mouse Reeve
9f5ca7ae60 Uses workaround for test that fails ~sometimes~ 2024-08-25 17:53:43 -07:00
Mouse Reeve
698a0b113c Adds some unit tests 2024-08-24 14:54:52 -07:00
Mouse Reeve
c9155bdd78 Adds migration 2024-08-23 18:17:36 -07:00
Mouse Reeve
23471f698c Prettifies javascript 2024-08-23 17:41:02 -07:00
Mouse Reeve
612098475a Adds option to show ratings to the user settings panel 2024-08-23 17:34:52 -07:00
Mouse Reeve
f53bb62b2b Allow users to hide ratings in the UI 2024-08-23 17:32:03 -07:00
Mouse Reeve
142ed70d4d Sets edit status header to indicate status type
Fixes #2671
2024-08-23 16:42:39 -07:00
Mouse Reeve
413c26bc5e
Merge pull request #3135 from hughrun/csv
csv import and export fixes
2024-08-23 16:29:04 -07:00
Mouse Reeve
7ff1ab974e
Merge pull request #3411 from timothyjrogers/fix-link-verification-modal-unauthenticated-buttons
Narrowed is_authenticated check in verfication_modal to only restrict…
2024-08-12 19:11:07 -07:00
Tim Rogers
cf61279e18 Narrowed is_authenticated check in verfication_modal to only restrict report button 2024-08-12 19:56:26 -05:00
Mouse Reeve
6ec3783736
Merge branch 'main' into dependabot/pip/aiohttp-3.10.2 2024-08-11 17:12:21 -07:00
Mouse Reeve
cf753afaa9
Merge pull request #3410 from timothyjrogers/trim-search-whitespace
Trim search whitespace
2024-08-11 17:12:04 -07:00
Tim Rogers
f68e33ffc6 Added additional test cases for searches with leading and trailing whitespace 2024-08-11 14:02:24 -05:00
Tim Rogers
2bb77d9bf8 Updated search view to trim leading and trailing whitespace for author, book, and list query values 2024-08-11 13:01:48 -05:00
Hugh Rundle
7fc54c509c
fixes for bookwyrm csv import
- fix tests
- revert change to GenericImporter tests
- import the review name
- add extra properties to ImportItem
2024-08-10 16:37:30 +10:00