Commit graph

9073 commits

Author SHA1 Message Date
Wesley Aptekar-Cassels
3e78e398c0 Switch from priority queues to function-based queues
Fixes: #2907
2023-07-20 12:25:30 -04:00
dependabot[bot]
7d1f3deaca
build(deps): bump aiohttp from 3.8.3 to 3.8.5
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.8.3 to 3.8.5.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/v3.8.5/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.8.3...v3.8.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 15:55:55 +00:00
Mouse Reeve
ccf3a4c5c1 Skip trying to match editions
It's rare that it will be useful, and it was a huge hassle.
2023-07-18 19:33:39 -07:00
Mouse Reeve
8b88de624d Adds test and fixes logic errors 2023-07-17 20:00:45 -07:00
Mouse Reeve
eee4e30e25 Adds managment command to repair editions in bad state 2023-07-17 11:22:59 -07:00
Mouse Reeve
fbb9d75cc8 Avoid server error when encountering broken edition
If an edition is missing its work, this change allows the page to still
load without a server error; this is important because otherwise the
book will break every page it appears on, including the feed page.
2023-07-17 07:07:01 -07:00
Mouse Reeve
107f5b38ca
Merge pull request #2904 from bookwyrm-social/updating-pluralization-error
Fixes plural display on import admin page
2023-07-17 06:40:15 -07:00
Mouse Reeve
ac4276f212
Merge pull request #2834 from zachflanders/2678
Add support for title sort to ignore initial article
2023-07-17 06:04:25 -07:00
Mouse Reeve
6778046906 Formats large numbers 2023-07-17 05:53:23 -07:00
Mouse Reeve
fbb6c41035 Joins entire sentence in import pluralization string 2023-07-17 05:49:40 -07:00
Mouse Reeve
815e788245
Merge pull request #2631 from rritik772/pluralization-error
fixed singularisation/pluralisation
2023-07-17 05:46:34 -07:00
Mouse Reeve
3bd20e3ff8
Set batch size to 1,000
Updated as per the comments on the PR so this is ready to merge
2023-07-17 05:42:17 -07:00
Mouse Reeve
f39a1fd580
Merge pull request #2894 from bookwyrm-social/dependabot/pip/django-3.2.20
build(deps): bump django from 3.2.19 to 3.2.20
2023-07-16 07:15:39 -07:00
Mouse Reeve
0818d5aabb
Merge branch 'main' into report-actions 2023-07-16 07:13:42 -07:00
Mouse Reeve
0832a2fa8e
Merge branch 'main' into reactivation-bug 2023-07-16 07:13:34 -07:00
Mouse Reeve
c2a7b9a77b
Merge pull request #2903 from bookwyrm-social/prettier-update
Fixes prettier JS complaints
2023-07-16 07:13:23 -07:00
Mouse Reeve
245ae35a81 Pin prettier version in github workflow 2023-07-16 06:57:31 -07:00
Mouse Reeve
d56b9f14a2 Handles changing user perms from report 2023-07-16 06:36:32 -07:00
Mouse Reeve
040dca0c31 Places first item of report history at top 2023-07-16 06:11:26 -07:00
Mouse Reeve
a7e6919b96 Fixes confirm email slow and adds test 2023-07-16 05:55:38 -07:00
Mouse Reeve
61037cf38a
Merge pull request #2883 from hughrun/modal-fix
Ensure report button triggers modal
2023-07-15 19:58:36 -07:00
dependabot[bot]
7f3a8f27ab
build(deps): bump django from 3.2.19 to 3.2.20
Bumps [django](https://github.com/django/django) from 3.2.19 to 3.2.20.
- [Commits](https://github.com/django/django/compare/3.2.19...3.2.20)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 23:27:36 +00:00
Hugh Rundle
dd92c53410
Merge pull request #2887 from hughrun/federation
add `FEDERATION.md` so other app maintainers understand how BookWyrm behaves in the fediverse.
2023-07-03 09:21:40 +10:00
Hugh Rundle
fad1eb8952
clean up and add stopped-reading shelf type 2023-07-03 08:38:53 +10:00
Hugh Rundle
c875b18e34
complete FEDERATION.md initial file 2023-07-01 14:23:02 +10:00
Hugh Rundle
1841d196ff
Ensure report button triggers modal
Clicking on "report" in any context closed the dropdown menu and required a second click on the dropdown to trigger the modal.
With this change, the modal opens as expected.

Reverses part of #2322
2023-06-26 12:22:14 +10:00
Hugh Rundle
e783c90693
add FEDERATION info 2023-06-26 08:27:14 +10:00
Mouse Reeve
6a949c24e2 Typo fix 2023-06-21 15:52:32 -07:00
Mouse Reeve
11f1a4662e Don't allow invalid account reactivation 2023-06-21 15:47:20 -07:00
Mouse Reeve
4f6a235d77 Reverses order of report action list 2023-06-21 15:05:02 -07:00
Jascha Ezra Urbach
a601be4708
Merge branch 'main' into 2678 2023-06-01 16:53:28 +02:00
Mouse Reeve
65e3a31354
Merge pull request #2864 from bookwyrm-social/locales
Update locales
2023-05-30 11:37:01 -07:00
Mouse Reeve
c6d23ba26a Record statuses deleted in reports 2023-05-30 11:35:47 -07:00
Mouse Reeve
0bb0537215 Updates version number 2023-05-30 11:00:12 -07:00
Mouse Reeve
ca3054fdac
Merge pull request #2827 from hughrun/2571
Retain subjects and authors when new book form fails validation
2023-05-30 10:51:52 -07:00
Mouse Reeve
9056a5d9e7
Merge pull request #2842 from bookwyrm-social/set-remote-server
Set remote servers synchonously where possible
2023-05-30 10:51:39 -07:00
Mouse Reeve
a1b3fc1a79 Update locales 2023-05-30 10:50:09 -07:00
Mouse Reeve
d251f4201b
Merge pull request #2857 from bpeel/no-rating
Show “no rating” instead of blank stars if the review has no rating
2023-05-30 10:42:09 -07:00
Mouse Reeve
aec99ba173
Merge pull request #2862 from kvibber/rssdate
Add dates to RSS feeds and sort by most recent first
2023-05-30 10:36:01 -07:00
Mouse Reeve
bf0225fe93
Merge pull request #2858 from bookwyrm-social/dependabot/pip/requests-2.31.0
build(deps): bump requests from 2.28.2 to 2.31.0
2023-05-29 19:54:48 -07:00
Mouse Reeve
a4ccd45537
Merge pull request #2812 from hughrun/gts
Fix federation with GoToSocial and inconsistent KeyId in headers
2023-05-29 19:54:00 -07:00
Kelson Vibber
70679856bd apply linter 2023-05-28 22:42:37 -07:00
Kelson Vibber
c21d580fd8 sort feed by most recent 2023-05-28 22:38:53 -07:00
Kelson Vibber
98f5cd9393 apply linting 2023-05-28 22:25:01 -07:00
Kelson Vibber
637e0376d4 rss dates 2023-05-28 21:55:26 -07:00
Philip James
9ff28d97b1
Merge pull request #6 from bookwyrm-social/main
Update to upstream
2023-05-24 23:42:35 -07:00
dependabot[bot]
76fc0dfcc4
build(deps): bump requests from 2.28.2 to 2.31.0
Bumps [requests](https://github.com/psf/requests) from 2.28.2 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.28.2...v2.31.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 05:59:52 +00:00
Neil Roberts
603b2d9502 Show “no rating” instead of stars if the review has no rating
The stars.html template now outputs a span containing “no rating” when
the stars represent a non-existent or zero rating. This text is already
translated because it was previously added as a invisible text only for
screen readers. The span is given a special CSS class so that it can be
styled as italic in the stylesheet.

There is now also an extra span in book.html to group the stars with the
“(2 reviews)” text. This is needed because the outer div is using a flex
layout and it eats the spacing between the two parts otherwise.

Fixes #2856
2023-05-22 15:40:18 +02:00
Mouse Reeve
affaf3d0ba Fixes tests and incorrect class method reference 2023-05-22 06:39:23 -07:00
Mouse Reeve
b3a519c082 Converts report "comments" into broader "actions" table
This table will now track all actions taken on a report, like resolving
it, re-opening it, suspending the reported user, et cetera, in addition
to comments. When there are multiple admins, this change will make it
easier to understand what actions have been taken by whom on a report.
2023-05-16 11:00:33 -07:00