Hugh Rundle
25a2615d5f
stop pylint constantly whining
2023-10-28 06:51:26 +11:00
Hugh Rundle
f30555be0f
minor pylint and mypy fixes
2023-10-23 21:30:17 +11:00
Hugh Rundle
e29c93a1e9
complete jobs more sensibly
...
- fix tuple in tar export I accidentally broke by following pylint blindly
- just use job.set_status to complete jobs since it does everything we need
- fix/avoid Celery "not JSON deserializable" error by not saving whole job including user value
2023-10-23 20:44:52 +11:00
Hugh Rundle
ddec2dbaa9
fix tar types notification docstring
2023-10-23 20:43:49 +11:00
Hugh Rundle
b8fc5c9b7a
fix tests
2023-10-23 20:42:56 +11:00
Hugh Rundle
afb5c01947
Merge pull request #3058 from hughrun/user-migrate
...
oops import Any
2023-10-22 17:57:57 +11:00
Hugh Rundle
2b6852e7a0
oops import Any
2023-10-22 17:56:46 +11:00
Hugh Rundle
d05cf8e59b
Merge pull request #3057 from hughrun/user-migrate
...
once more into the linting breach!
2023-10-22 17:50:58 +11:00
Hugh Rundle
b6b55b2e65
once more into the linting breach!
2023-10-22 17:49:26 +11:00
Hugh Rundle
c5e536aeaa
Merge pull request #3056 from hughrun/user-migrate
...
fix tests and linting
2023-10-22 17:27:57 +11:00
Hugh Rundle
07ef12ce8e
fix tests and linting
2023-10-22 17:26:27 +11:00
Hugh Rundle
0c846ca31f
Merge pull request #3055 from hughrun/user-migrate
...
formatting and linting fixes
2023-10-22 16:56:20 +11:00
Hugh Rundle
0a2efeb5aa
Merge branch 'user-migration' into user-migrate
2023-10-22 16:55:00 +11:00
Hugh Rundle
6222088f15
Merge branch 'user-migrate' of github.com:hughrun/bookwyrm into user-migrate
2023-10-22 16:53:32 +11:00
Hugh Rundle
fd1ebf5f71
formatting and pylint fixes
2023-10-22 16:52:29 +11:00
Hugh Rundle
11a726b40b
Merge pull request #3037 from hughrun/user-migrate
...
complete most outstanding user migrate tasks
2023-10-22 15:40:22 +11:00
Hugh Rundle
c0a5e55f7f
Merge branch 'user-migration' into user-migrate
2023-10-22 15:38:06 +11:00
Hugh Rundle
b34a491172
run black
2023-10-22 15:34:25 +11:00
Hugh Rundle
a27c652501
admin view for user imports
...
- makes user_import_time_limit a site setting rather than a value in settings.py (note this applies to exports as well as imports)
- admins can change user_import_time_limit from UI
- admins can cancel stuck user imports
- disabling new imports also disables user imports
2023-10-22 15:07:49 +11:00
Hugh Rundle
836127f369
cooldown period for user exports
...
add USER_EXPORT_COOLDOWN_HOURS setting for controlling user exports and imports
2023-10-22 10:49:13 +11:00
Hugh Rundle
20114b0059
add notifs and error handling for user export/import
2023-10-22 09:03:28 +11:00
Hugh Rundle
781b01a007
add error handling and status for user exports
...
* fix Safari not downloading with the correct filename
* add FAILED status
* don't provide download link for stopped jobs
2023-10-21 19:43:44 +11:00
Hugh Rundle
f07d730e03
Merge pull request #2980 from CSDUMMI/upstream2
...
Complete Migrations of Bookwyrm Accounts across instances
Merging this into `user-migration` branch to enable final work on this within the main Bookwyrm repository. We will pull in the final PR from there into `main` when ready.
Thanks to @CSDUMMI and the crew for this huge job.
2023-10-15 15:19:01 +11:00
Hugh Rundle
a4bfcb34d5
fix tests and clean up
...
* cleans up some test logging
* cleans up some commented-out code
* adds export_job model tests
* reconsiders some tests in export user view tests
2023-10-15 15:09:19 +11:00
Hugh Rundle
e34fe9a059
Merge pull request #2917 from jderuiter/mypy-utils
...
Type annotations for utils
2023-10-01 10:29:52 +11:00
Joeri de Ruiter
d4088ac854
Merge branch 'main' into mypy-utils
2023-09-28 09:43:40 +02:00
Mouse Reeve
33e179e44b
Merge pull request #3010 from bookwyrm-social/locales
...
Updates locales
2023-09-27 16:52:36 -07:00
Mouse Reeve
2a08170fb5
Updates locales
2023-09-26 18:14:24 -07:00
Mouse Reeve
bab28a8fc9
Merge pull request #3000 from dato/position_serialization
...
Minor improvements to Quotation pure content
2023-09-23 17:47:27 -07:00
Adeodato Simó
fadf30b942
Also use italics for book title in editions.html template
2023-09-23 17:49:38 -03:00
Adeodato Simó
cc05cabcb5
Note content: use italics for book titles + em-dash for Quotation
2023-09-23 17:49:38 -03:00
Mouse Reeve
ef582f1bc2
Merge pull request #2986 from NetspherePub/2985
...
Correct EPUB spelling
2023-09-22 17:04:18 -07:00
Mouse Reeve
b75b5cb165
Merge pull request #2987 from JJimenez71/main
...
Pinned versions of docker containers
2023-09-22 17:03:39 -07:00
Mouse Reeve
0a029e6e01
Merge pull request #2992 from jderuiter/new-edition-issues
...
parent_work was not always included when needed
2023-09-22 17:00:40 -07:00
Mouse Reeve
85b647b7ab
Merge pull request #3002 from dato/django_serve_static_debug
...
Serve static files in debug mode
2023-09-22 16:17:58 -07:00
Adeodato Simó
1e495684af
Serve static files in debug mode
2023-09-18 19:01:22 -03:00
Adeodato Simó
ce3885d4f6
Use endposition
when serializing Quotation
2023-09-17 15:18:48 -03:00
Adeodato Simó
1322a0c693
Substitute “p.” for “page” in page progress serialization
2023-09-17 15:18:21 -03:00
Adeodato Simó
25fd7276ea
pure_content()
refactor: shorter conditionals
2023-09-17 15:01:04 -03:00
Joeri de Ruiter
af5f71f5ac
Revert return type for get_or_set
2023-09-13 10:21:30 +02:00
Joeri de Ruiter
05f8bd0d3c
parent_work was not always included in work when needed
2023-09-13 09:46:31 +02:00
Joeri de Ruiter
a5cf912ae8
Fix some annotations
2023-09-13 09:22:53 +02:00
Joeri de Ruiter
a5ede835b2
Dump dependencies related to typing
2023-09-13 09:09:43 +02:00
FoW
d8ba1f4309
Correct EPUB spelling
2023-09-08 22:52:11 +09:00
Joeri de Ruiter
6e9f64262c
Merge branch 'main' into mypy-utils
2023-09-08 08:53:38 +02:00
JJimenez71
2260e14868
Pinned versions of docker containers
2023-09-07 19:30:29 -06:00
CSDUMMI
688978369f
Implement self-contained archives to import and export entire users between instances ( #38 )
...
Co-authored-by: Daniel Burgess <developerdannymate@gmail.com>
Co-authored-by: Hugh Rundle <hugh@hughrundle.net>
Co-authored-by: dannymate <dannymate@noreply.codeberg.org>
Co-authored-by: hughrun <hughrun@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/GuildAlpha/bookwyrm/pulls/38
Co-authored-by: CSDUMMI <csdummi.misquality@simplelogin.co>
Co-committed-by: CSDUMMI <csdummi.misquality@simplelogin.co>
2023-09-07 22:37:28 +02:00
Mouse Reeve
a09b2ab45c
Merge pull request #2964 from bookwyrm-social/delete-announcement-view
...
Makes the delete announcement view post-only
2023-09-05 16:43:31 -07:00
Mouse Reeve
bc870a305f
Merge pull request #2962 from jderuiter/mypy-isbn
...
Type annotations and tests for isbn
2023-09-01 17:05:01 -07:00
Mouse Reeve
c2196fb704
Merge pull request #2948 from bookwyrm-social/populate-sort-title
...
Pre-populate sort title in edit book form if not provided
2023-09-01 17:01:41 -07:00