Commit graph

7759 commits

Author SHA1 Message Date
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
Mouse Reeve
4e1da6a759
Merge pull request #2333 from bookwyrm-social/cancel-imports
Let users and admins cancel imports
2022-11-07 10:35:37 -08:00
Mouse Reeve
b64f0511a5 Another mock 2022-11-07 10:07:37 -08:00
Mouse Reeve
141d3aa813 Updates mocks in tests 2022-11-07 09:50:05 -08:00
Mouse Reeve
493fd68af4 Merge branch 'main' into cancel-imports 2022-11-07 09:06:13 -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
76fb4c9280 Revoke tasks 2022-11-05 15:41:06 -07:00
Mouse Reeve
6792b3d7b8 adds button to stop job 2022-11-05 14:44:09 -07:00
Mouse Reeve
7a36de5ebe Start and stop jobs from the model 2022-11-05 14:35:27 -07:00
Mouse Reeve
0399f9eb01
Merge pull request #2332 from bookwyrm-social/import-time-estimate
Show average run times for imports
2022-11-05 13:48:07 -07:00
Mouse Reeve
97513a43d6 Set import job status when job starts and finishes 2022-11-05 13:47:06 -07:00
Mouse Reeve
59fe9e4d3b Show import status in table 2022-11-05 13:44:07 -07:00
Mouse Reeve
9cfcad20e0 Avoid divide by zero error 2022-11-05 13:33:57 -07:00
Mouse Reeve
24e5ea3295 Check if import is stopped and create import status field 2022-11-05 13:32:23 -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
01d5274ebb
Merge pull request #2331 from bookwyrm-social/locales
Updates locales
2022-11-03 15:20:00 -07:00
Mouse Reeve
b439114932 Updates locales 2022-11-03 11:50:12 -07:00
Mouse Reeve
ccf091e42d
Merge pull request #2330 from bookwyrm-social/import-admin-table
Adds more fields to import admin table and ticks version
2022-11-03 11:49:57 -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
3f2f718878
Merge pull request #2329 from bookwyrm-social/import-admin-fixes
Import admin fixes
2022-11-03 11:06:29 -07:00
Mouse Reeve
14e61fa32d Adds extremely basic tests file 2022-11-03 10:55:21 -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
5af195de58 Python formatting 2022-11-01 20:43:27 -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
61c2d2a36a Use elided page range on user admin view 2022-11-01 18:45:21 -07:00