1
0
Fork 0
Commit graph

6194 commits

Author SHA1 Message Date
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
Joachim
610d8fdf5b Add notifications count on mobile header 2022-08-05 11:15:11 +02: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
0bc3c3b5f6 Adds locale migration 2022-08-02 11:09:58 -07:00
f9b772e234 Adds polish locale 2022-08-02 10:59:40 -07:00
6d258d5445 Fixes test mocks 2022-07-30 10:07:13 -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
844023f104
Merge pull request #2246 from bookwyrm-social/goal-model
Moves annual goal to its own file
2022-07-29 13:22:12 -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
2298a478cf Moves annual goal to its own file
The user model file is just,, very long
2022-07-29 13:00:59 -07:00
f52965b8f4 Fixes a couple typos 2022-07-29 12:08:36 -07:00
29db9c68a1 Fixes typo and spacing 2022-07-29 11:31:35 -07:00
868ab62863 Fixes template string quote escapes
It seems totally reasonable that using an escape slash would make
apostrophes in words work, but the translation system works in
mysterious ways that do not include supporting that. I've used backticks
as a third quote type to escape everything in a way that both
javascript and gettext understand.

While I was there I split up some strings that have more complicated
html in them, since that can be fragile when passed through translation,
and confusing for translators.
2022-07-29 11:22:31 -07:00
2837d0148f Checks permissions when saving a list 2022-07-28 11:44:04 -07:00
85dce81b6a Adds unit test or list create perms 2022-07-28 11:42:27 -07:00
ed20587695
Merge pull request #2168 from hughrun/tour
Add guided tour / walkthrough
2022-07-28 11:08:49 -07:00
2455aadbfd add scrollTo where needed
A couple of tour steps could benefit from a scrollTo for users on smallers screens.
2022-07-27 15:53:54 +10:00
a4714f097f fix anchors not working on homepage tour
Fixes bug on larger screens.

We need to use a function to set the anchor for tour steps when using menus and other elements that become visible or hidden responsively. Because the element is still in the DOM, we can't just rely on it disappearing completely, we have to assign a different (visible) element otherwise the step will simply disappear and the user cannot continue the tour. Previously this used a simple selector which didn't work due to the above.
2022-07-27 15:14:28 +10:00
7eb2a82e5f
Merge branch 'main' into misc/add_signatures_to_requests_for_masto_compat 2022-07-26 15:46:18 -07:00
f3bc7d759f Only show pending follow requests from active users 2022-07-24 12:26:58 -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
639b727c92 Fixes perms check for ratings 2022-07-17 16:21:43 -07:00
3f5bb41380 Unit test for creating rating status 2022-07-17 16:18:59 -07:00
356c1c0b62 fix migration dependency order
Show_guided_tour needs to come after alter_user_preferred_language due to conficts. I think.
2022-07-17 16:34:42 +10:00
17dc5e7eb1 Merge branch 'main' into tour
- we need to do this because of conflicting migrations
2022-07-17 16:30:45 +10:00
c48ddf419d cleanup 2022-07-17 16:19:55 +10:00
bec2943aad remove console logs 2022-07-17 16:17:08 +10:00
387f2a70c9 update tour text
- new classname for posting guide
- various improvements to wording
- use function to find responsive menu elements
- add scrollTo transitions where needed
2022-07-17 16:13:12 +10:00
43c598d92c remove DMs from guided tour 2022-07-17 11:11:34 +10:00
d3f35fb691 Adds Catalan 2022-07-15 12:28:31 -07:00
4a82bef9a6 Ticks version number 2022-07-15 12:21:25 -07:00
086ec10849
Merge pull request #2229 from bookwyrm-social/password-validation
Password validation
2022-07-15 11:53:27 -07:00
65117fe3c6 Use manual password field to customize id 2022-07-15 11:41:39 -07:00
b1f5171502 Updates reset password tests 2022-07-15 11:39:29 -07:00
3846b201bd Updates reset password flow to use validators 2022-07-15 11:39:18 -07:00
1bb0a9d998 Updates tests 2022-07-15 11:18:47 -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
4a65ee326a Use password validation in register view 2022-07-15 09:59:57 -07:00
d74d59a57b Disable pylint complaint 2022-07-15 09:33:13 -07:00
7fdfd0c9c7 Check permissions when creating a status 2022-07-15 09:26:52 -07:00