Commit graph

7304 commits

Author SHA1 Message Date
Mouse Reeve
44b86baa5b
Merge pull request #2223 from bookwyrm-social/shelf-edit-perms
Shelf edit perms
2022-07-14 12:22:33 -07:00
Mouse Reeve
317a239d40 Update shelf test now that it has multiple users 2022-07-14 12:10:29 -07:00
Mouse Reeve
3f47cca5e6 Python formatting 2022-07-14 11:56:18 -07:00
Mouse Reeve
c21864a1ac Merge branch 'main' into shelf-edit-perms 2022-07-14 11:50:27 -07:00
Mouse Reeve
95a72ae902
Merge pull request #2222 from bookwyrm-social/redirects
Removes insecure redirects
2022-07-14 11:46:47 -07:00
Mouse Reeve
73c4a01a6e Test for PermissionDenied error, not isNone 2022-07-14 11:45:59 -07:00
Mouse Reeve
4f1283ff52 Check editability before creating shelf 2022-07-14 11:42:59 -07:00
Mouse Reeve
05716c3578 Adds unit test for creating shelves for another user 2022-07-14 11:38:53 -07:00
Mouse Reeve
661865de87 Remmoves insecure redirects
This should really fundamentally work differently, but this is a quick
for for now to avoid an insecure redirect. There will be a negative
impact on user experience from this, and a followup change should look
into these views and improve their flow.
2022-07-14 11:22:17 -07:00
Mouse Reeve
2def5ff2bc
Merge pull request #2221 from bookwyrm-social/notification_order
Notification order
2022-07-14 11:21:49 -07:00
Mouse Reeve
235e877b3d Reverse order of notification users lists
Should show newest first
2022-07-14 11:00:05 -07:00
Mouse Reeve
3670ae46ec Reverse order of notification related users 2022-07-12 10:32:56 -07:00
Mouse Reeve
e3dbe5a142
Update README.md 2022-07-11 15:55:17 -07:00
Mouse Reeve
4929dd3b26
Merge pull request #2219 from bookwyrm-social/readme-update
Update README.md
2022-07-11 14:58:08 -07:00
Mouse Reeve
e895451a21
Update README.md 2022-07-11 14:47:56 -07:00
Mouse Reeve
222d0c6d4e
Merge pull request #2218 from bookwyrm-social/locales
Updates locales
2022-07-11 09:15:54 -07:00
Mouse Reeve
798476d670 Updates locales 2022-07-11 09:05:26 -07:00
Mouse Reeve
77bff3b263
Merge pull request #2217 from bookwyrm-social/connector-exceptions
Log failing to connect as info instead of exception
2022-07-11 09:04:01 -07:00
Mouse Reeve
5706028656 Log failing to connect as info instead of exception
These are normal, expected errors, and while we should probably
re-evaluate the connectors in some way, pending that, there's no need to
log these as unepected errors, which causes confusion and clutters my
error logging.
2022-07-11 08:47:18 -07:00
Mouse Reeve
f1ae64543f
Merge pull request #2216 from bookwyrm-social/export-post
Use HTTP post for CSV export
2022-07-11 08:14:47 -07:00
Mouse Reeve
9104d1f8db Fixes reference to renamed view 2022-07-11 08:05:32 -07:00
Mouse Reeve
42e29e40b3 Use HTTP post for csv export
Also fixes a missing translation string
2022-07-11 07:51:51 -07:00
Mouse Reeve
137311e006
Merge pull request #2215 from bookwyrm-social/change-password
Improves change password flow
2022-07-10 20:34:24 -07:00
Mouse Reeve
a0e01af2ca Updates tests 2022-07-10 20:22:54 -07:00
Mouse Reeve
f44b3cc4b2 Improves change password flow
There are two changes: one is to require the current password to change
your password (which is a security improvement), and the other is error
reporting when you either get your current password wrong or your new
password doesn't match it's second entry.
2022-07-10 20:05:54 -07:00
Mouse Reeve
bead43a20a
Merge pull request #2214 from bookwyrm-social/logout-post
Use POST instead of GET for logout function
2022-07-10 09:54:02 -07:00
Mouse Reeve
64bfe5934f Tick version number
This was reported as a security issue, so updating the version number
to indicate where the issue has been fixed.
2022-07-10 09:39:51 -07:00
Mouse Reeve
7a772c7d3e Use POST instead of GET for logout function 2022-07-10 09:30:39 -07:00
Mouse Reeve
a7cc41ce54
Merge pull request #2211 from bookwyrm-social/list-order
Fixes numbering on book lists
2022-07-09 13:44:12 -07:00
Mouse Reeve
591c4d9b75 Fixes numbering on book lists 2022-07-09 13:33:58 -07:00
Mouse Reeve
85f811022f
Merge pull request #2210 from bookwyrm-social/notification-cw
Show content warning in notification status previews
2022-07-09 13:29:22 -07:00
Mouse Reeve
be5e1be5f6 Use content warnings in notifications 2022-07-09 13:12:46 -07:00
Mouse Reeve
27e9eced67
Merge pull request #2208 from bookwyrm-social/follow-bug
Fixes bug in notifications breaking follows
2022-07-09 12:40:38 -07:00
Mouse Reeve
11a0c1691b Move status_preview snippet to notifications directory
That's the only place it's used, always nice to de-clutter the snippets
directory
2022-07-09 12:40:21 -07:00
Mouse Reeve
f92b4548b1 Fixes get_or_create error when multiple matching notifications exist 2022-07-09 12:30:05 -07:00
Mouse Reeve
c092d952bd Adds test to catch notification error 2022-07-09 12:29:29 -07:00
Mouse Reeve
a7553c0b8c Return HttpResponse instead of redirects for AJAX follows
This is more efficient, and most follow activities are ajax
2022-07-09 12:20:18 -07:00
Mouse Reeve
923495e454 More accurate button display
Now, a follow button will show as pending even if the user doesn't
manually approve followers, if that's the state the request is in.
2022-07-09 12:19:28 -07:00
Mouse Reeve
ed847494ab
Merge pull request #2206 from bookwyrm-social/locales
Adds French notification strings and new admin strings
2022-07-08 15:52:15 -07:00
Mouse Reeve
ef49171c7a Adds French notifiction strings and new admin strings 2022-07-08 15:42:43 -07:00
Mouse Reeve
bd6774fca8
Merge pull request #2202 from bookwyrm-social/settings-warnings
New and improved warnings on the admin dashboard
2022-07-08 15:39:23 -07:00
Mouse Reeve
147d092eac Removes line breaks from warning links 2022-07-08 15:29:55 -07:00
Mouse Reeve
0d05ff348d
Merge pull request #2203 from bookwyrm-social/dms
Improves UI around DMs
2022-07-08 12:30:17 -07:00
Mouse Reeve
36553ef2a9 Suppress protected-access warning on admin dashboard 2022-07-08 12:22:23 -07:00
Mouse Reeve
d0e986c283 Hide DMs from profile page 2022-07-08 12:19:51 -07:00
Mouse Reeve
441fef9e86 Use javascript to send DMs
This fixes the draft cache issue and also the weird redirects
2022-07-08 12:11:00 -07:00
Mouse Reeve
ba7ae46c75 Adds warnings for missing privacy policies and codes of conduct 2022-07-08 11:59:21 -07:00
Mouse Reeve
4a2e191d92 Refactors dashboard warnings
This cleans up the display so that they don't get all squished when a
bunch are present, and creates a layout to make them more DRY
2022-07-08 11:38:27 -07:00
Mouse Reeve
e35ce82052
Merge pull request #2200 from bookwyrm-social/docs-links
Fixes links to documentation pages
2022-07-08 10:26:42 -07:00
Mouse Reeve
b62bb157c0 Fixes links to documentation pages 2022-07-08 09:44:41 -07:00