Mouse Reeve
fdc53d6c60
Merge pull request #2394 from jaschaurbach/show-2fa-code
...
show otp_secret when setting up 2fa
2022-11-19 10:25:15 -08:00
Mouse Reeve
2adcbdea2f
Merge pull request #2419 from bookwyrm-social/robots
...
Expand robots.txt
2022-11-19 10:24:55 -08:00
Mouse Reeve
1e5a6ec744
Merge branch 'main' into show-2fa-code
2022-11-19 10:09:27 -08:00
Mouse Reeve
7d51a69c71
Expand robots.txt
2022-11-19 10:03:40 -08:00
Hugh Rundle
6baa58260a
2fa qrcode fixes ( #2407 )
...
* 2fa qrcode fixes
- add light background to qr code when using dark theme
- show OTP secret code under qr code for manual entry on apps if required
fixes #2386
fixes #2389
* fix code formatting
* revert changes re visible code
This conflicts with an existing PR.
* i code pretty
2022-11-19 09:51:18 -08:00
Mouse Reeve
e11811d461
Fancier UI around OTP codes
2022-11-19 09:48:44 -08:00
Mouse Reeve
c5fb710f29
Fixes code of conduct link
2022-11-18 08:23:53 -08:00
Mouse Reeve
9aab14ee96
Merge pull request #2406 from bookwyrm-social/disable-imports
...
Allow admins to disable starting imports
2022-11-17 19:51:17 -08:00
Mouse Reeve
d36521c460
Merge pull request #2405 from bookwyrm-social/admins-list
...
Fixes collecting list of admins
2022-11-17 15:22:10 -08:00
Mouse Reeve
28567e2d8e
Disable imports in the UI and view
2022-11-17 15:19:42 -08:00
Mouse Reeve
b1c6781036
Fixes collecting list of admins
2022-11-17 14:38:05 -08:00
Mouse Reeve
7c7c0e1a93
Admin UI to enable and disable importing
2022-11-17 14:23:39 -08:00
Mouse Reeve
474da162ba
Uses correct css paths in embeds
2022-11-17 13:34:54 -08:00
Mouse Reeve
77d96bf245
Only offer RSS feeds for local users
2022-11-17 12:03:59 -08:00
Jascha Urbach
170aa7460a
Update 2fa.html
...
Or now, because obviously I can not write HTML^^
2022-11-16 20:35:28 +01:00
Jascha Urbach
a98dbb97a5
fix error
...
fix my copy paste error -.-
2022-11-16 20:32:40 +01:00
Jascha Urbach
c29256708a
show otp_secret when setting up 2fa
...
solves #2389
2022-11-16 20:30:06 +01:00
Jascha Urbach
be97fd2d39
Remove dead URL
...
https://fediblock.org delivers a 410 Gone as respone.
2022-11-16 18:24:19 +01:00
Mouse Reeve
bf3043f91f
Fixes column widths
2022-11-14 18:48:30 -08:00
Mouse Reeve
85337c73e5
Merge branch 'main' into footer-links
2022-11-14 18:46:42 -08:00
Mouse Reeve
4178eb81e4
Merge pull request #2366 from bookwyrm-social/footer-snippet
...
Uses the same snippet for the footer across different templates
2022-11-14 18:46:15 -08:00
Mouse Reeve
fe82599de9
Include privacy policy and code of conduct in footer
2022-11-14 18:37:27 -08:00
Mouse Reeve
dbe74f6388
Uses the same snippet for the footer across different templates
2022-11-14 18:18:27 -08:00
Mouse Reeve
5b358094ab
Fixes report emails always claiming to be about links
2022-11-14 18:03:36 -08:00
Mouse Reeve
eae1866992
Allow users to temporarily deactivate their accounts ( #2324 )
2022-11-10 13:40:54 -08:00
Mouse Reeve
9e0867af91
Make the import admin table sortable
2022-11-07 11:32:45 -08:00
Mouse Reeve
4b01103f84
Makes the invite request table side scroll for mobile
...
Fixes #2335
2022-11-07 10:44:49 -08:00
Mouse Reeve
6e748c5476
Typo fix
2022-11-05 18:16:59 -07:00
Mouse Reeve
817047bdeb
Use stop functionality in import admin view
2022-11-05 15:44:00 -07:00
Mouse Reeve
6792b3d7b8
adds button to stop job
2022-11-05 14:44:09 -07:00
Mouse Reeve
59fe9e4d3b
Show import status in table
2022-11-05 13:44:07 -07:00
Mouse Reeve
3c2f2c10bf
Show recent imports in a table
2022-11-05 13:12:23 -07:00
Mouse Reeve
4806a6273e
Show average run times for imports
...
This should give users a sense of when to start wondering if their
import isn't running after all.
2022-11-05 12:50:51 -07:00
Mouse Reeve
40e9428b49
Adds more fields to import admin table and ticks version
2022-11-03 11:30:43 -07:00
Mouse Reeve
0ba4dbbc6f
Fixes pagination and user links on import admin
2022-11-03 10:54:59 -07:00
Mouse Reeve
91b935bc0a
Merge pull request #2327 from bookwyrm-social/imports-admin
...
Imports admin
2022-11-01 20:53:58 -07:00
Mouse Reeve
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
Mouse Reeve
6eab1fdd6d
Adds import admin view
2022-11-01 19:05:51 -07:00
Mouse Reeve
553f170f89
Only show editions with the author on the author page
2022-11-01 18:04:27 -07:00
Mouse Reeve
eb07deadf2
Merge pull request #2320 from bookwyrm-social/announcement-size
...
Remove extra whitespace in announcements
2022-10-20 20:56:52 -07:00
Mouse Reeve
b81a5faff7
Remove extra whitespace in announcements
2022-10-20 07:45:53 -07:00
Hugh Rundle
cffbf82ddb
DRY footer for 2FA pages
2022-10-15 07:47:20 +11:00
Hugh Rundle
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
Hugh Rundle
e1b1bb20dc
make password field less goofy in 2fa screen
2022-10-15 07:47:20 +11:00
Hugh Rundle
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
Hugh Rundle
9616abb6bd
clean up 2fa prompt page
2022-10-15 07:47:20 +11:00
Hugh Rundle
5b244f06d6
fix error messages when setting up 2FA
2022-10-15 07:47:20 +11:00
Hugh Rundle
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
Hugh Rundle
f26ac1ccde
2fa page templates
2022-10-15 07:47:20 +11:00
Hugh Rundle
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