Commit graph

7612 commits

Author SHA1 Message Date
Mouse Reeve
1518dbba86
Merge pull request #2259 from bookwyrm-social/links
Improves rel attrs on links that open on new tabs
2022-08-05 11:28:04 -07:00
Mouse Reeve
7c7df99cef Fixes template syntax error 2022-08-05 11:14:14 -07:00
Mouse Reeve
20572688ba Removes test exception 2022-08-05 11:04:32 -07:00
Mouse Reeve
1ba69acc49 Adds unit tests that checks if rel field is set on links 2022-08-05 11:01:02 -07:00
Mouse Reeve
4dd7f88e0a Updates all links that open in new tabs 2022-08-05 10:20:43 -07:00
Mouse Reeve
9407695328 Updates footer links
Adds a missing rel="nofollow noopener noreferrer" attribute for the
Patreon link, and makes the github link open in a new tab (and updates
the url, which was out of date)
2022-08-05 10:06:12 -07:00
Mouse Reeve
8f79b362f8 Check permissions automatically on form save 2022-08-05 09:56:32 -07:00
Mouse Reeve
e5611c7c03
Merge pull request #2257 from bookwyrm-social/group-perms
Fixes perms checks for groups
2022-08-05 09:24:22 -07:00
Mouse Reeve
9f22aeacea
Merge pull request #2256 from bookwyrm-social/locales
Locales update
2022-08-05 09:24:08 -07:00
Mouse Reeve
2894aa37a2 Fixes perms checks for groups 2022-08-05 09:12:48 -07:00
Mouse Reeve
44848c6621 Locales update 2022-08-05 09:04:26 -07:00
Mouse Reeve
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
Mouse Reeve
ed71b791c9 Python formatting 2022-08-04 12:19:26 -07:00
Mouse Reeve
77d1d70207 Much shorter search timeout 2022-08-04 12:16:12 -07:00
Mouse Reeve
48df5076e7 Use elided page range and paginate user and list results 2022-08-04 12:11:39 -07:00
Mouse Reeve
06d1936ac9 Fixes pagination of local search results 2022-08-04 12:04:13 -07:00
Mouse Reeve
0ee7054640
Merge pull request #2253 from bookwyrm-social/otel-fix
Updates and fixes opentelemetry install
2022-08-04 11:25:39 -07:00
Mouse Reeve
073d8b1d67 Updates and fixes opentelemetry install 2022-08-04 11:05:18 -07:00
Mouse Reeve
3270d0a7d4
Merge pull request #2247 from bookwyrm-social/followers-following-views
Merges follower/following views
2022-08-02 11:59:06 -07:00
Mouse Reeve
72281bc459
Merge pull request #2251 from bookwyrm-social/polish-locale
Adds Polish locale
2022-08-02 11:58:42 -07:00
Mouse Reeve
0bc3c3b5f6 Adds locale migration 2022-08-02 11:09:58 -07:00
Mouse Reeve
f9b772e234 Adds polish locale 2022-08-02 10:59:40 -07:00
Mouse Reeve
6d258d5445 Fixes test mocks 2022-07-30 10:07:13 -07:00
Mouse Reeve
d7bf348c77
Merge pull request #2249 from bookwyrm-social/crsf-exempt
Removes improperly placed csrf_exempt decorator
2022-07-29 13:49:29 -07:00
Mouse Reeve
8e2a8ec6e0 Removes improperly places csrf_exempt decorator 2022-07-29 13:40:40 -07:00
Mouse Reeve
96f1521239
Merge pull request #2248 from bookwyrm-social/list-suggestions
Move list suggestions into helper function
2022-07-29 13:27:04 -07:00
Mouse Reeve
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
Mouse Reeve
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
Mouse Reeve
23188dfc5f
Merge branch 'main' into followers-following-views 2022-07-29 13:09:30 -07:00
Mouse Reeve
d458001491 Merges follower/following views
They were almost identical!
2022-07-29 13:07:15 -07:00
Mouse Reeve
2298a478cf Moves annual goal to its own file
The user model file is just,, very long
2022-07-29 13:00:59 -07:00
Mouse Reeve
3c9c23803e
Merge pull request #2245 from bookwyrm-social/tour-strings
Fixes how guided tour strings are localized
2022-07-29 12:56:58 -07:00
Mouse Reeve
f52965b8f4 Fixes a couple typos 2022-07-29 12:08:36 -07:00
Mouse Reeve
29db9c68a1 Fixes typo and spacing 2022-07-29 11:31:35 -07:00
Mouse Reeve
5a7ce7a58c Updates locales 2022-07-29 11:24:47 -07:00
Mouse Reeve
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
Mouse Reeve
03a77c93ac
Merge pull request #2244 from bookwyrm-social/node-version
Updates node to version 18
2022-07-28 12:24:38 -07:00
Mouse Reeve
41b20c4dd5
Merge pull request #2243 from bookwyrm-social/list-crate-perms
Fixes list creation perms
2022-07-28 11:54:28 -07:00
Mouse Reeve
2837d0148f Checks permissions when saving a list 2022-07-28 11:44:04 -07:00
Mouse Reeve
85dce81b6a Adds unit test or list create perms 2022-07-28 11:42:27 -07:00
Mouse Reeve
cb4945c384
Merge pull request #2242 from bookwyrm-social/locales
Locales updates
2022-07-28 11:26:48 -07:00
Mouse Reeve
7bbe42fb30
Merge pull request #2230 from bookwyrm-social/nginx-rate-limit
Adds rate limiting to some views in nginx
2022-07-28 11:26:19 -07:00
Mouse Reeve
4013e1782e Locales updates
Grabs translations and adds guided tour strings
2022-07-28 11:13:14 -07:00
Mouse Reeve
ed20587695
Merge pull request #2168 from hughrun/tour
Add guided tour / walkthrough
2022-07-28 11:08:49 -07:00
Hugh Rundle
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
Hugh Rundle
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
Mouse Reeve
5faaa6b750
Merge pull request #2196 from bookwyrm-social/bw-dev-alerts
Block some bw-dev commands from being run in prod
2022-07-26 15:34:40 -07:00
Mouse Reeve
bdd75c434b Updates node to version 18 2022-07-26 15:07:40 -07:00
Mouse Reeve
6fc44cff8b
Merge pull request #2241 from bookwyrm-social/nonviable-follow-requests
Only show pending follow requests from active users
2022-07-24 12:38:55 -07:00