Commit graph

5273 commits

Author SHA1 Message Date
Mouse Reeve
2307cb2227 Filter followers only in place
It's only used in one spot
2021-10-06 11:12:03 -07:00
Mouse Reeve
68b6b1fbae User override in child class instead of if/else for privacy_filter 2021-10-06 11:08:54 -07:00
Mouse Reeve
97cc129478 Updates calls to privacy_filter 2021-10-06 10:37:09 -07:00
Mouse Reeve
b2671e78ef Moves privacy filter to model class 2021-10-06 09:48:11 -07:00
Mouse Reeve
67c83b8d32
Merge pull request #1507 from bookwyrm-social/api-images
Fixes image paths in endpoints
2021-10-06 09:32:51 -07:00
Mouse Reeve
4c539bc7eb Fixes image paths in endpoints 2021-10-06 08:49:07 -07:00
Mouse Reeve
46bfc2b2a2
Merge pull request #1506 from Tak/display-half-stars-when-federating
Display half-stars in generated statuses for federation
2021-10-06 07:01:08 -07:00
Levi Bard
094931d6d1 Display half-stars in generated statuses for federation.
Fixes #1505
2021-10-06 11:37:27 +02:00
Hugh Rundle
ec7d0db843 linting fixes 2021-10-05 21:48:59 +11:00
Hugh Rundle
f8e0de1ea9 run black for clean code
Godammit Hugh remember to do this before pushing new code.
2021-10-05 21:32:48 +11:00
Hugh Rundle
b3dc81dea0 update tests 2021-10-05 21:29:46 +11:00
Hugh Rundle
6fde19e9b1 lint fixes 2021-10-05 21:29:33 +11:00
Hugh Rundle
cdf7775e05 add test for Group views 2021-10-05 21:06:09 +11:00
Hugh Rundle
fe87e815e6 database migrations for Groups 2021-10-05 20:41:48 +11:00
Hugh Rundle
b1bb43d143 lint Group views file 2021-10-05 18:04:47 +11:00
Hugh Rundle
cc8db1c353 linting fixes
- remove unused imports
- add class docstrings
2021-10-05 09:05:20 +11:00
Hugh Rundle
484e9ed959 fix user Groups view pagination function 2021-10-05 08:14:52 +11:00
Hugh Rundle
90d92edd75 disable pylint on NotificationType now being "too long" 2021-10-05 08:10:23 +11:00
Hugh Rundle
78f5003407 lint raise_visible_to_user
Don't return True unnecessarily
2021-10-05 08:09:24 +11:00
Mouse Reeve
2a97458878
Merge pull request #1504 from bookwyrm-social/follow-request-recs
Remove follow suggestion on request
2021-10-04 13:14:32 -07:00
Mouse Reeve
f99a61b6bd Remove follow suggestion on request 2021-10-04 12:52:51 -07:00
Mouse Reeve
ebbc56b3d0
Merge pull request #1503 from bookwyrm-social/dashboard
More! Charts!
2021-10-04 11:59:46 -07:00
Mouse Reeve
636eca97cb Better mobile display 2021-10-04 11:22:14 -07:00
Mouse Reeve
2335945a50 Python formatting 2021-10-04 11:16:02 -07:00
Mouse Reeve
551b49b903 Adds works chart and updates colors 2021-10-04 11:14:50 -07:00
Mouse Reeve
5fdf9c569a
Merge pull request #1502 from bookwyrm-social/boost-bug-again
Boost bug again
2021-10-04 10:58:51 -07:00
Mouse Reeve
37cd7e684c Updates chart markup 2021-10-04 10:53:22 -07:00
Mouse Reeve
fa241b08e7 Rename charts snippets and add register chart file 2021-10-04 10:42:02 -07:00
Mouse Reeve
2a88753e17 Chart class 2021-10-04 10:40:39 -07:00
Mouse Reeve
ac70a810af Boosts by remote users 2021-10-04 09:58:05 -07:00
Mouse Reeve
321949f2fa Lightly updates tests 2021-10-04 09:47:33 -07:00
Mouse Reeve
443750d6db f strings for activistreams tasks tests 2021-10-04 09:14:04 -07:00
Hugh Rundle
da53bad0f5 make Black happy 2021-10-04 22:22:00 +11:00
Hugh Rundle
3a90311129 update indenting for linter 2021-10-04 22:20:02 +11:00
Hugh Rundle
05969c5311 improve group creation hint
- use help class
- hopefully make the linter happy
2021-10-04 22:18:51 +11:00
Hugh Rundle
57b2c83c64 disable pylint suppression
I don't know what this does so I removed it - maybe I'll find out!
2021-10-04 21:34:54 +11:00
Hugh Rundle
dafda649f1 run Black on changed code 2021-10-04 21:31:28 +11:00
Hugh Rundle
782512b2ce replace get_group_suggestions
- adds **filters argument to get_suggestions()
- passes local=True arg to get_suggestions() for group member suggestions
- removes get_group_suggestions()

Thanks to Mouse for the suggestion to keep the codebase DRY!
2021-10-04 21:25:38 +11:00
Hugh Rundle
2b96b3365c Merge branch 'main' into bookwyrm-groups 2021-10-04 21:10:15 +11:00
Mouse Reeve
2fe810ce5c
Merge pull request #1501 from oragegu/main
French and German Translation modifications as discussed at issues
2021-10-03 18:44:27 -07:00
oragegu
1aa3d67d64 localisation compiled 2021-10-04 02:44:37 +02:00
OragePika, aka "FANS DON'T CARE
7bf21cfb78
Merge branch 'bookwyrm-social:main' into main 2021-10-03 23:29:56 +02:00
Mouse Reeve
af068bdfd7
Merge pull request #1499 from bookwyrm-social/broken-migration
Fixes broken migration
2021-10-03 13:37:31 -07:00
Mouse Reeve
ea18252549 Fixes broken migration 2021-10-03 13:26:02 -07:00
OragePika, aka "FANS DON'T CARE
23b021e87d
Update django.po 2021-10-03 21:48:36 +02:00
Mouse Reeve
e12ac94e18
Merge pull request #1498 from bookwyrm-social/missing-migration
Adds missing connector migration
2021-10-03 12:27:46 -07:00
Mouse Reeve
5cd8109820 Adds missing connector migration 2021-10-03 12:15:44 -07:00
Mouse Reeve
a3f0e23d23
Merge pull request #1496 from bookwyrm-social/fix-add-book
Fixes create book flow for search refactor
2021-10-03 12:12:10 -07:00
Mouse Reeve
d72d4eddfd
Merge pull request #1495 from bookwyrm-social/unblock-bug
Unblock bug
2021-10-03 12:02:18 -07:00
Mouse Reeve
889930aa69 Fixes create book flow for search refactor 2021-10-03 11:55:16 -07:00