Commit graph

7687 commits

Author SHA1 Message Date
Mouse Reeve
fb60ffa512
Merge pull request #2384 from bookwyrm-social/search-improvements
Simplify identifier searches
2022-11-15 20:07:16 -08:00
Mouse Reeve
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
Mouse Reeve
807f8c02b2
Merge pull request #2382 from bookwyrm-social/invite-length
Longer invite answer field
2022-11-15 15:03:51 -08:00
Mouse Reeve
c64914b41b
Merge pull request #2381 from jaschaurbach/deactivate-2fa-with-manage.py
Remove TFA from user
2022-11-15 15:03:16 -08:00
Mouse Reeve
e47d84267f
Merge pull request #2376 from bookwyrm-social/env-defaults
Updates default state of .env file
2022-11-15 14:59:38 -08:00
Jascha Urbach
4c05e3b660
Merge branch 'main' into deactivate-2fa-with-manage.py 2022-11-15 23:52:52 +01:00
Mouse Reeve
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
Mouse Reeve
ec4d9f6b63
Merge pull request #2380 from bookwyrm-social/status-activity-tasks
Generate fewer add_status_tasks
2022-11-15 14:41:10 -08:00
Jascha Urbach
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
Jascha Urbach
cd57537854
Remove TFA from user
added bookwyrm/management/remove_2fa.py

changed bw-dev
2022-11-15 23:20:21 +01:00
Mouse Reeve
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
Mouse Reeve
413bd33894 Updates default state of .env file 2022-11-15 12:31:47 -08:00
Mouse Reeve
f0b73c18c1
Merge pull request #2367 from bookwyrm-social/footer-links
Include privacy policy and code of conduct in footer
2022-11-14 18:58:50 -08: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
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
Mouse Reeve
5b358094ab Fixes report emails always claiming to be about links 2022-11-14 18:03:36 -08:00
Mouse Reeve
e655f5c2f3 Fixes typo in url regex 2022-11-14 16:06:40 -08:00
Mouse Reeve
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
Mouse Reeve
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
Mouse Reeve
b812a5c73e Adds management command to revoke preview image tasks 2022-11-14 12:09:16 -08:00
Ell Bradshaw
c9adb7ff12 Linting fixes 2022-11-14 01:04:20 -08:00
Ell Bradshaw
b3603bc3f5 Merge branch 'main' into ignore-does-not-exist 2022-11-14 00:31:34 -08:00
Mouse Reeve
c29ce65c27
Merge pull request #2355 from Ryuno-Ki/task-queues
Use variable instead of string
2022-11-13 12:51:07 -08:00
André Jaenisch
530d7de309
Use variable instead of string
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2022-11-13 16:59:05 +01:00
Mouse Reeve
dc14670a2c
Merge pull request #2346 from bookwyrm-social/async-broadcast
Use aiohttp for broadcasting
2022-11-10 17:33:10 -08:00
Mouse Reeve
ddcaf8e3b8 Use asyncio for broadcasting 2022-11-10 15:41:56 -08:00
Mouse Reeve
cbd14a69ea
Merge pull request #2345 from bookwyrm-social/import-time-tweak
Another tweak to how import wait times are calculated
2022-11-10 14:20:21 -08:00
Mouse Reeve
49d0590599 Another tweak to how import wait times are calculated 2022-11-10 13:59:27 -08:00
Mouse Reeve
26e185718f
Merge pull request #2344 from bookwyrm-social/locales
Updates locales
2022-11-10 13:55:00 -08:00
Mouse Reeve
a670b45a4b Updates locales 2022-11-10 13:43:40 -08:00
Mouse Reeve
eae1866992
Allow users to temporarily deactivate their accounts (#2324) 2022-11-10 13:40:54 -08:00
Mouse Reeve
3ebd957d3d
Merge pull request #2341 from bookwyrm-social/import-time-estimate
Import time estimate fixes
2022-11-10 13:22:23 -08:00
Mouse Reeve
bbdba9e793 Python formatting 2022-11-10 13:13:53 -08:00
Mouse Reeve
8f2de48b0a Comments out unrelated test block 2022-11-10 13:05:42 -08:00
Mouse Reeve
48d4149151 Fixes null state 2022-11-10 12:39:07 -08:00
Mouse Reeve
f80e2465ed Adds tests for recent import average time 2022-11-10 12:29:36 -08:00
Mouse Reeve
f0d3ceefa0 Cache import time
Also uses a type hint
2022-11-10 12:27:38 -08:00
Mouse Reeve
784dab3d41 Fixes to how import times are estimated
The wrong attr was being used to grab the number of seconds, and imports
that were stopped were being counted
2022-11-10 11:42:38 -08:00
Mouse Reeve
89a2109731
Merge pull request #2339 from bookwyrm-social/locales
Updates locales
2022-11-07 11:50:42 -08:00
Mouse Reeve
cc95c4d7b5
Merge pull request #2338 from bookwyrm-social/sort-admin-imports
Make the import admin table sortable
2022-11-07 11:41:58 -08:00
Mouse Reeve
9e0867af91 Make the import admin table sortable 2022-11-07 11:32:45 -08:00
Mouse Reeve
ab0655a997 Updates locales 2022-11-07 11:22:13 -08:00
Mouse Reeve
16c92a62c4
Merge pull request #2337 from bookwyrm-social/invite-table-scroll
Makes the invite request table side scroll for mobile
2022-11-07 10:55:39 -08:00
Mouse Reeve
eb7777c0a1
Merge pull request #2336 from bookwyrm-social/cancel-imports
Fixes duplicate notification on import
2022-11-07 10:47:38 -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
1f022496dd Fixes duplicate notification on import 2022-11-07 10:36:31 -08:00