1
0
Fork 0
Commit graph

2567 commits

Author SHA1 Message Date
0ba4dbbc6f Fixes pagination and user links on import admin 2022-11-03 10:54:59 -07:00
91b935bc0a
Merge pull request #2327 from bookwyrm-social/imports-admin
Imports admin
2022-11-01 20:53:58 -07:00
a8424f61f2 Mark imports as complete
This will let the user debug the import, and should only be used when
the import is in a bad state (marked as incomplete but with no pending
tasks)
2022-11-01 19:26:23 -07:00
6eab1fdd6d Adds import admin view 2022-11-01 19:05:51 -07:00
553f170f89 Only show editions with the author on the author page 2022-11-01 18:04:27 -07:00
eb07deadf2
Merge pull request #2320 from bookwyrm-social/announcement-size
Remove extra whitespace in announcements
2022-10-20 20:56:52 -07:00
b81a5faff7 Remove extra whitespace in announcements 2022-10-20 07:45:53 -07:00
cffbf82ddb DRY footer for 2FA pages 2022-10-15 07:47:20 +11:00
aefc7a23bc fix 2fa templates
- translate all strings
- do not embed svg element inside svg element
- fix sizing of input for confirming 2fa setup
2022-10-15 07:47:20 +11:00
e1b1bb20dc make password field less goofy in 2fa screen 2022-10-15 07:47:20 +11:00
9b74c26742 backup codes
- add hotp_secret to user model
- view to create backup codes in user prefs
- check backup code if otp doesn't work
- increment hotp count if used
- show correct errors if code wrong
2022-10-15 07:47:20 +11:00
9616abb6bd clean up 2fa prompt page 2022-10-15 07:47:20 +11:00
5b244f06d6 fix error messages when setting up 2FA 2022-10-15 07:47:20 +11:00
6db4fb39ed improve security and fix error msg
- Instead of passing the user as a hidden form element, we use a session variable.
- Introduces a 60 second limit on completing the login, and an exponentially increasing delay to attempt to login with 2FA if the code is entered incorrectly.
- use proper Django form error when incorrect otp value entered
2022-10-15 07:47:20 +11:00
f26ac1ccde 2fa page templates 2022-10-15 07:47:20 +11:00
0e1751eb57 prep for 2fa login check
- new 2fa checker page to be inserted between initial login and completion of login
- new views and forms for above
2022-10-15 07:47:20 +11:00
aca5c19f70 2fa templates
- new page templates for 2FA
- add 2FA to menu in user preferences
2022-10-15 07:47:20 +11:00
78d36ebc39 Fixes typo in tour 2022-09-24 19:41:37 -07:00
35aebacf70 Fixes theme form and adds view tests 2022-09-19 13:13:21 -07:00
fcd96c332d Null state 2022-09-15 11:09:07 -07:00
d76eae358f Show queues and runtime instead of start time 2022-09-15 10:53:08 -07:00
0f55b76a93 Adds celery status view 2022-09-14 18:58:51 -07:00
fcf796abe1 Null state for review view during imports
Without this, it will show an empty progress bar and no info about why
the table is empty.
2022-09-14 18:08:16 -07:00
230d30abb8 sidebar review stars should default to zero
PR #2283 surfaced an existing formerly-hidden issue with star rating defaults in the sidebar of book pages.
This commit ensures the default rating is zero, not half a star.

Fixes #2291
2022-09-10 07:03:12 +10:00
marty hiatt
b4cc9f5753 conditional display of notifs button 2022-09-01 11:54:49 +02:00
775ee6f590
Merge pull request #2283 from hughrun/halfstars
fix visibility of stars when editing a review
2022-08-29 13:39:47 -07:00
f0effb9d3e Uses theme in remote follow template 2022-08-29 07:10:36 -07:00
252fe7fd6a fix visibility of stars when editing a review
Previously the star rating appeared to be five stars when editing a review, regardless of what value was actually stored.
Now it will show the actual rating, including half stars.

Fixes #2213
2022-08-29 14:02:04 +10:00
1581491471 Removes duplicate version warning 2022-08-05 17:03:56 -07:00
9d7ece47ef
Merge pull request #2254 from bookwyrm-social/fixes-search-pagination
Fixes search pagination
2022-08-05 12:32:47 -07:00
bdf563748c
Merge pull request #2255 from joachimesque/front/mobile-header
Add notifications count on mobile header
2022-08-05 11:28:42 -07:00
7c7df99cef Fixes template syntax error 2022-08-05 11:14:14 -07:00
4dd7f88e0a Updates all links that open in new tabs 2022-08-05 10:20:43 -07:00
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
Joachim
610d8fdf5b Add notifications count on mobile header 2022-08-05 11:15:11 +02:00
06d1936ac9 Fixes pagination of local search results 2022-08-04 12:04:13 -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
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
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
f3bc7d759f Only show pending follow requests from active users 2022-07-24 12:26:58 -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
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