1
0
Fork 0
Commit graph

1307 commits

Author SHA1 Message Date
5c3bb2da13 Refactors how mentions are collected
This should be quicker, because it queries the users in one go instead
of jumping straight to iterating over them, and it checks if a user
blocks the poster before allowing them to be tagged.
2022-08-05 14:06:39 -07:00
9d7ece47ef
Merge pull request #2254 from bookwyrm-social/fixes-search-pagination
Fixes search pagination
2022-08-05 12:32:47 -07:00
9fad5b5623 Fixes isbn view 2022-08-05 11:44:10 -07:00
8f79b362f8 Check permissions automatically on form save 2022-08-05 09:56:32 -07:00
2894aa37a2 Fixes perms checks for groups 2022-08-05 09:12:48 -07:00
b4cfda0587 Updates tests 2022-08-05 08:56:24 -07:00
ed71b791c9 Python formatting 2022-08-04 12:19:26 -07:00
48df5076e7 Use elided page range and paginate user and list results 2022-08-04 12:11:39 -07:00
06d1936ac9 Fixes pagination of local search results 2022-08-04 12:04:13 -07:00
3270d0a7d4
Merge pull request #2247 from bookwyrm-social/followers-following-views
Merges follower/following views
2022-08-02 11:59:06 -07:00
d7bf348c77
Merge pull request #2249 from bookwyrm-social/crsf-exempt
Removes improperly placed csrf_exempt decorator
2022-07-29 13:49:29 -07:00
8e2a8ec6e0 Removes improperly places csrf_exempt decorator 2022-07-29 13:40:40 -07:00
96f1521239
Merge pull request #2248 from bookwyrm-social/list-suggestions
Move list suggestions into helper function
2022-07-29 13:27:04 -07:00
d301cecc9f Move list suggestions into helper function
The view was complicated, this makes it a little easier to read and
test.
2022-07-29 13:15:24 -07:00
23188dfc5f
Merge branch 'main' into followers-following-views 2022-07-29 13:09:30 -07:00
d458001491 Merges follower/following views
They were almost identical!
2022-07-29 13:07:15 -07:00
2837d0148f Checks permissions when saving a list 2022-07-28 11:44:04 -07:00
ed20587695
Merge pull request #2168 from hughrun/tour
Add guided tour / walkthrough
2022-07-28 11:08:49 -07:00
0217d36f7b Show lists to logged out viewers
The activitystreams for lists require a logged in user, so this just
uses a simple database query of all public lists when there is no logged
in user.
2022-07-23 20:42:40 -07:00
17dc5e7eb1 Merge branch 'main' into tour
- we need to do this because of conflicting migrations
2022-07-17 16:30:45 +10:00
086ec10849
Merge pull request #2229 from bookwyrm-social/password-validation
Password validation
2022-07-15 11:53:27 -07:00
3846b201bd Updates reset password flow to use validators 2022-07-15 11:39:18 -07:00
b62f8eff42 Updates method decorators 2022-07-15 10:59:35 -07:00
659ee96002 Use password validation in change password flow
This also moves the form validation into a form instead of doing it in
the view.
2022-07-15 10:51:58 -07:00
7fdfd0c9c7 Check permissions when creating a status 2022-07-15 09:26:52 -07:00
5ecd75ee24 Remove redirecting to "next"
This wasn't even particularly working
2022-07-14 12:54:02 -07:00
aa579605e0
Merge pull request #2224 from bookwyrm-social/email-not-found-text
Remove error reporting on resend to invalid email address
2022-07-14 12:34:14 -07:00
69728439c8 Remove error reporting on resend to invalid email address 2022-07-14 12:23:43 -07:00
c21864a1ac Merge branch 'main' into shelf-edit-perms 2022-07-14 11:50:27 -07:00
4f1283ff52 Check editability before creating shelf 2022-07-14 11:42:59 -07:00
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
f1ae64543f
Merge pull request #2216 from bookwyrm-social/export-post
Use HTTP post for CSV export
2022-07-11 08:14:47 -07:00
42e29e40b3 Use HTTP post for csv export
Also fixes a missing translation string
2022-07-11 07:51:51 -07:00
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
7a772c7d3e Use POST instead of GET for logout function 2022-07-10 09:30:39 -07:00
c092d952bd Adds test to catch notification error 2022-07-09 12:29:29 -07:00
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
ab5e4128e6 Merge branch 'main' into tour
Also fixes conflict
2022-07-09 20:54:48 +10:00
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
36553ef2a9 Suppress protected-access warning on admin dashboard 2022-07-08 12:22:23 -07:00
d0e986c283 Hide DMs from profile page 2022-07-08 12:19:51 -07:00
ba7ae46c75 Adds warnings for missing privacy policies and codes of conduct 2022-07-08 11:59:21 -07:00
be86fef42d Move deleted users to a separate tab
Since there's nothing to be done with them, they get their own tab.
2022-07-08 09:21:48 -07:00
a972c58f3b Fixes errors in permissions 2022-07-07 14:01:51 -07:00
742d97b177 Python formatting 2022-07-07 12:23:10 -07:00
76c466ee45 Fixes cache invalidation for editions
Your reading status is shown across all editions of a work, so when you
change your status in relation to the edition you're currently reading,
it needs to invalidate the cached values for all editions of that work.
2022-07-07 12:21:24 -07:00
0b7c8e8dc0
Merge pull request #2082 from bookwyrm-social/notifications
Notifications refactor
2022-07-07 09:34:19 -07:00
fd5e513ad6 Update password reset copy so as not to reveal whether the email exists
A malicious user could use this to test which email addresses are in the
user database.
2022-07-06 19:34:00 -07:00
cded3e973d Fixes html on notifications page 2022-07-06 19:16:14 -07:00
5a6ef7ccd8 Merge branch 'main' into notifications 2022-07-06 14:41:15 -07:00