Commit graph

5244 commits

Author SHA1 Message Date
Hugh Rundle ca47f836d1 adjust Group test mocks 2021-10-17 07:21:47 +11:00
Hugh Rundle 9116af1b3f add makemigrations merge file 2021-10-17 06:33:11 +11:00
Hugh Rundle 6e5c0cc4c3 Merge branch 'main' into bookwyrm-groups
There are database migrations in main ahead of this branch so they need to be merged in to the branch before we can merge back into main.
2021-10-17 06:22:04 +11:00
Mouse Reeve 5558216917
Merge pull request #1542 from bookwyrm-social/cancel-button
A cancel button that leads nowhere
2021-10-16 07:21:39 -07:00
Mouse Reeve 17eebfb916
Merge pull request #1537 from bookwyrm-social/locale-improvements
Locale improvements
2021-10-16 07:13:56 -07:00
Mouse Reeve 94bce7fd83 Use javascript back button on create book page 2021-10-16 07:11:12 -07:00
Mouse Reeve 584e0a54af Adds test to catch invalid link 2021-10-16 07:06:49 -07:00
Hugh Rundle 8192d6ad10 code indenting fix 2021-10-16 18:00:55 +11:00
Hugh Rundle 0cd8ece474 code formatting 2021-10-16 17:45:39 +11:00
Hugh Rundle a476b52f86 database migrations for groups 2021-10-16 17:45:21 +11:00
Hugh Rundle 2a31bf2f0c delete groups
Whoops, forgot to add this functionality earlier.

- allow owner to delete a group
- change all group lists to closed curation with group=False when group deleted
2021-10-16 17:35:36 +11:00
Hugh Rundle 85784f07d2 groups templates improvements
- require confirmation before removing a member
- require confirmation before removing self
- make button text less verbose
- use more standardised formatting for group editing form
- improve button colours
- add missing trans tags
- reload group page when removing member
2021-10-16 16:43:09 +11:00
Hugh Rundle 1736419538 (hopefully) fix group tests 2021-10-16 16:42:08 +11:00
Hugh Rundle 91534aff82 group view fixes
- fix form details not appearing in group member search view
- fix query term appearing in main search box when searching for new members
- direct request user back to the group rather than the user when adding a user to a group
2021-10-16 16:39:50 +11:00
Hugh Rundle afd00cc67a improve group removal flow
Use .save() twice, but with broadcast=False on the second update. This is more efficient than doing a query and update() and avoids the duplicate AP broadcast.
2021-10-16 16:38:02 +11:00
Hugh Rundle 6f13c0d808 formatting fix 2021-10-16 16:09:03 +11:00
Mouse Reeve 3b817adf97 Updates locales with edit page change 2021-10-15 15:04:19 -07:00
Mouse Reeve fe00032da5 Merge branch 'main' into locale-improvements 2021-10-15 15:02:44 -07:00
Mouse Reeve 53e49baa20
Merge pull request #1538 from bookwyrm-social/author-page
Author page validation
2021-10-15 15:02:22 -07:00
Mouse Reeve 2945a88a1d
Merge pull request #1539 from bookwyrm-social/edit-tweaks
Edit tweaks
2021-10-15 14:56:16 -07:00
Mouse Reeve 0e30d1f856 Show status header on edit page 2021-10-15 14:45:26 -07:00
Mouse Reeve 896885bffd Don't show progress field on status update comments
Also retitle the view
2021-10-15 14:43:02 -07:00
Mouse Reeve a9daa4670e Retain reading status on comments 2021-10-15 14:41:14 -07:00
Mouse Reeve 1e7b56cdb0 Don't show last edited by link if it's not set 2021-10-15 14:26:16 -07:00
Mouse Reeve 931f78d7c2 Validate author page html 2021-10-15 14:26:07 -07:00
Hugh Rundle e261bfdb6a fix local filter for suggested users 2021-10-16 08:20:12 +11:00
Hugh Rundle 864d8cea2b clean up templates 2021-10-16 08:18:55 +11:00
Hugh Rundle 97ea61dd7e efficiency improvement to remove_from_group 2021-10-16 08:17:42 +11:00
Mouse Reeve 9e7b73a884 Compiles locales 2021-10-15 14:13:59 -07:00
Mouse Reeve 4178d1f7f6 Adds context to translation strings on discover page 2021-10-15 14:10:34 -07:00
Mouse Reeve 3621224074 Properly localize book format 2021-10-15 13:59:07 -07:00
Mouse Reeve dede101d17 Capitalize html and markdown 2021-10-15 13:58:59 -07:00
Mouse Reeve 032dedabb4 Goodreads capitalization standardization 2021-10-15 13:50:05 -07:00
Mouse Reeve 7f75cd329a Use instance name instead of the word "instance" where possible
trying to use less jargon
2021-10-15 13:42:32 -07:00
Mouse Reeve eac1ed3484
Merge pull request #1534 from bookwyrm-social/followers-display
Fixes privacy filters for followers-only replies
2021-10-15 13:38:42 -07:00
Mouse Reeve 145a31045a Use "like" consistently (instead of mixing in "favorite") 2021-10-15 13:36:48 -07:00
Mouse Reeve c6caa5a3f4 Fixes privacy display 2021-10-15 13:26:02 -07:00
Mouse Reeve 66a2b4c7c7 Tests for status raise_visible_to_user function 2021-10-15 13:25:47 -07:00
Hugh Rundle 2f38af4faa Revert "clean up List db queries"
This reverts commit 41f27a4a66.

I forgot that update() can only be done on a query result, not on an object, so we will need to go back to querying in order to update rather than saving.
2021-10-16 06:59:07 +11:00
Mouse Reeve 1072381b7d Fixes followers filter for non-status objs 2021-10-15 11:09:46 -07:00
Mouse Reeve 72a8f34a8f
Merge pull request #1536 from bookwyrm-social/markdown
Edit posts in original markdown syntax
2021-10-15 10:48:21 -07:00
Mouse Reeve bd0e4abd56 Uses correct model field for raw values 2021-10-15 10:36:46 -07:00
Mouse Reeve 61a0b50b91 Test raw version is saved 2021-10-15 10:10:38 -07:00
Mouse Reeve e8f5678867 More test names 2021-10-15 10:10:25 -07:00
Mouse Reeve 60b910172d Update migration 2021-10-15 10:09:34 -07:00
Mouse Reeve b9e6824360 Imrpove test names 2021-10-15 10:07:29 -07:00
Mouse Reeve 117e6a08b2 Merge branch 'main' into markdown 2021-10-15 10:06:34 -07:00
Mouse Reeve 1e41458a44
Merge pull request #1535 from bookwyrm-social/edit-posts
Edit posts
2021-10-15 10:04:17 -07:00
Mouse Reeve 9ac5384d68 Fixes test and css linter 2021-10-15 09:54:14 -07:00
Mouse Reeve b84152d84b tick version number 2021-10-15 09:42:21 -07:00