7d51a69c71
Expand robots.txt
2022-11-19 10:03:40 -08:00
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
e11811d461
Fancier UI around OTP codes
2022-11-19 09:48:44 -08:00
238a1b0e88
set HTTP_X_FORWARDED_PROTO in .env
...
This fixes #2397 .
The description in .env is whith a warning and a link to the official documentation about what this setting is doing if set to true.
2022-11-19 17:54:44 +01:00
c5fb710f29
Fixes code of conduct link
2022-11-18 08:23:53 -08:00
9aab14ee96
Merge pull request #2406 from bookwyrm-social/disable-imports
...
Allow admins to disable starting imports
2022-11-17 19:51:17 -08:00
9c5fe7610b
Fixes reference to site model
2022-11-17 15:41:30 -08:00
d36521c460
Merge pull request #2405 from bookwyrm-social/admins-list
...
Fixes collecting list of admins
2022-11-17 15:22:10 -08:00
28567e2d8e
Disable imports in the UI and view
2022-11-17 15:19:42 -08:00
46b663b139
Rename new user to avoid duplication
2022-11-17 15:10:11 -08:00
34f05c135b
Adds unit tests for list of admins method
2022-11-17 14:59:46 -08:00
b1c6781036
Fixes collecting list of admins
2022-11-17 14:38:05 -08:00
7c7c0e1a93
Admin UI to enable and disable importing
2022-11-17 14:23:39 -08:00
2d3ec93086
Updates unit tests
2022-11-17 14:06:43 -08:00
474da162ba
Uses correct css paths in embeds
2022-11-17 13:34:54 -08:00
7e10b0cd1f
Merge pull request #2400 from bookwyrm-social/local-rss
...
Only offer RSS feeds for local users
2022-11-17 12:53:19 -08:00
b37a4322de
Change log level to info for connector exceptions
...
These errors in resolve_remote_id aren't really errors, they're
routine problems that we can expect from dealing with the outside world,
like a connection timeout, a server being down, a server being blocked,
et cetera. It's cluttering up the logs and causing unnecessary worry.
2022-11-17 12:35:19 -08:00
77d96bf245
Only offer RSS feeds for local users
2022-11-17 12:03:59 -08:00
6dd671ae5a
Fixes user follow cache
2022-11-17 11:23:48 -08:00
fe7163be33
Render markdown to html when using activitypub
...
This will produce better federated results outside of bookwyrm, and will
still display correctly within bookwyrm
2022-11-17 11:05:48 -08:00
24f73f81f6
Update version number
2022-11-16 18:43:51 -08:00
2dad14bdcf
Merge pull request #2395 from bookwyrm-social/settings-view-perms
...
Fixes permissions on settings invite request page
2022-11-16 18:33:20 -08:00
a546ab578b
Fixes decorator on view method
2022-11-16 18:23:26 -08:00
fcdb7f106e
Ticks version number
2022-11-16 18:19:23 -08:00
5a7afe45a2
Fixes permissions on settings invite request page
2022-11-16 18:03:52 -08:00
170aa7460a
Update 2fa.html
...
Or now, because obviously I can not write HTML^^
2022-11-16 20:35:28 +01:00
a98dbb97a5
fix error
...
fix my copy paste error -.-
2022-11-16 20:32:40 +01:00
c29256708a
show otp_secret when setting up 2fa
...
solves #2389
2022-11-16 20:30:06 +01:00
be97fd2d39
Remove dead URL
...
https://fediblock.org delivers a 410 Gone as respone.
2022-11-16 18:24:19 +01:00
f95729a0c3
Adds unit test for failing view
2022-11-15 21:45:06 -08:00
47f1865c59
Remove trailing whitespace from queries
2022-11-15 20:09:00 -08:00
f0f65b8b73
Python formatting
2022-11-15 20:08:17 -08:00
9185708224
Simplify how default edition is checked
...
This logic is still totally bonkers, but this change puts a hard limit
on how many iterations the loop can go through and makes the query that
selects which edition to display a little simpler.
2022-11-15 20:05:41 -08:00
eb61033626
Simplify identifier searches
...
This commit removes code that deduplicated search results for identifier
searches. If it was the case that multiple books have the same
identifier, in theory this would produce better search results, but in
practice this doesn't happen very much, is probably worth seeing when
it does, and worsens the performance of identifier search overall.
2022-11-15 19:42:40 -08:00
807f8c02b2
Merge pull request #2382 from bookwyrm-social/invite-length
...
Longer invite answer field
2022-11-15 15:03:51 -08:00
Jascha Urbach
4c05e3b660
Merge branch 'main' into deactivate-2fa-with-manage.py
2022-11-15 23:52:52 +01:00
c47a425cbe
Longer invite answer field
...
It was an oversight that it was only set to 50 characters I expect!
2022-11-15 14:52:07 -08:00
8a99482a2f
correct linter errors
...
./bw-dev black
reformatted bookwyrm/management/commands/remove_2fa.py
All done! ✨ 🍰 ✨
1 file reformatted, 544 files left unchanged.
2022-11-15 23:32:24 +01:00
cd57537854
Remove TFA from user
...
added bookwyrm/management/remove_2fa.py
changed bw-dev
2022-11-15 23:20:21 +01:00
317cf5fcf5
Generate fewer add_status_tasks
...
Previously, every time a status was saved, a task would start to add it
to people's timelines. This meant there were a ton of duplicate tasks
that were potentially heavy to run. Now, the Status model has a "ready"
field which indicates that it's worth updating the timelines. It
defaults to True, which prevents statuses from accidentally not being
added due to ready state.
The ready state is explicitly set to false in the view, which is the
source of most of the noise for that task.
2022-11-15 14:14:32 -08:00
bf3043f91f
Fixes column widths
2022-11-14 18:48:30 -08:00
85337c73e5
Merge branch 'main' into footer-links
2022-11-14 18:46:42 -08:00
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
fe82599de9
Include privacy policy and code of conduct in footer
2022-11-14 18:37:27 -08:00
dbe74f6388
Uses the same snippet for the footer across different templates
2022-11-14 18:18:27 -08:00
914479f1c9
Merge pull request #2365 from bookwyrm-social/url-typo
...
Small fixes - typo in a url and emails about reports
2022-11-14 18:13:09 -08:00
5b358094ab
Fixes report emails always claiming to be about links
2022-11-14 18:03:36 -08:00
e655f5c2f3
Fixes typo in url regex
2022-11-14 16:06:40 -08:00
36f511ebb7
Merge pull request #2140 from cincodenada/ignore-does-not-exist
...
Ignore VariableDoesNotExist errors in debug logging
2022-11-14 12:26:06 -08:00
a91d9f67be
Merge pull request #2362 from bookwyrm-social/revoke-image-tasks
...
Adds management command to revoke preview image tasks
2022-11-14 12:20:05 -08:00