1
0
Fork 0
Commit graph

1307 commits

Author SHA1 Message Date
0594152f47
Merge pull request #2511 from Giebisch/import-limit
Added Import Limit
2023-01-19 11:16:58 -08:00
Alexander Ward
1f50a2dbfc
Email Config Has a Typo
There's an errant capital "E" preventing the SMTP user from appearing on the settings page.
2023-01-16 15:47:24 -08:00
Giebisch
d0adb370cd Merge branch 'main' into import-limit 2023-01-16 02:05:18 +01:00
10322cdff3
Merge pull request #2572 from chdorner/fix/create-edit-book-cover-url
Ensure transient `cover_url` field value gets persisted across form renders
2023-01-14 18:08:22 -08:00
5c8145b79d
Merge pull request #2586 from asmaloney/fix-duplicate-suggestions
{list} Fix duplicate suggestions in Add Books section
2023-01-11 08:40:32 -08:00
Giebisch
b22d060d93 Merge branch 'main' into import-limit 2023-01-11 16:22:08 +01:00
Andy Maloney
e5539a6faf Fix spelling in various comments 2023-01-10 17:24:02 -05:00
Andy Maloney
dd23bc4d0f {list} Fix duplicate suggestions in Add Books section
Fixes #2584

(Also fix a spelling mistake in a comment in book_search.py)
2023-01-10 11:08:11 -05:00
Giebisch
5200ea585a Import Limit Bugfix and lint 2023-01-05 23:37:43 +01:00
Christof Dorner
1c6548a0ad Ensure transient cover_url field value gets persisted across form renders
Given this field doesn't map to an `Edition` model field it lost its values when re-rendering the form.
It worked only when the form was valid and rendered as part of the confirmation screen, which is due to
the context data value being set in `add_authors` which was only getting called after the form validation.

I've opted to pull it out into a separate new function that gets called before form validation.
2023-01-04 18:02:04 +01:00
Joachim
bc19d7c658 Black 2023-01-01 19:45:12 +01:00
Joachim
f266c71da9 Replace hidden field with HTTP Referrer value 2023-01-01 19:42:03 +01:00
Joachim
78c214a6d4 Add validation before using url 2022-12-30 17:56:25 +01:00
Joachim
f5a79dfa82 Redirect to "next" value in view 2022-12-23 21:35:28 +01:00
d4351cfcb4
Merge branch 'main' into import-limit 2022-12-16 12:44:57 -08:00
Giebisch
df54df8309 Added Import Limit 2022-12-15 23:43:25 +01:00
89478ac87e
Merge pull request #2491 from chdorner/register-tz-support
Detect preferred timezone via JavaScript on register
2022-12-11 14:49:29 -08:00
Christof Dorner
13b262bb7b Detect preferred timezone via JavaScript on register 2022-12-11 23:32:07 +01:00
3a9a344089
Merge pull request #2478 from bookwyrm-social/admin-roles
Adds "owner" role
2022-12-11 13:05:39 -08:00
3e62cbe8b6 Fixes incorrect import from merge 2022-12-11 12:39:33 -08:00
a9846e7805
Merge pull request #2498 from bookwyrm-social/use-reactivate
Use user.reactivate when a user confirms their email address
2022-12-11 12:10:21 -08:00
58e8c0b5ec Merge branch 'main' into admin-roles 2022-12-11 11:58:54 -08:00
734fb5ad34
Merge pull request #2489 from chdorner/user-reviews-comments-tab
Add new user tab listing only reviews and comments
2022-12-11 11:53:31 -08:00
50a42dc0a2 Use user.reactivate when a user confirms their email address
This is cleaner and easier to maintain.
2022-12-11 11:44:04 -08:00
c314c9b5e3
Adds email config admin view (#2494)
This view lets you see your email configuration and send a test email.
2022-12-11 11:37:09 -08:00
ac8b060d58
Isfdb ID for books and authors (#2482)
* New ID: Audible ASIN

Audible belongs to Amazon BUT they do not share the same IDs. The Audible ASIN of an audiobook is never the same as the Amazon ASIN.

Yeah, I know, Amazon is great. The fact that the ASIN is a good distinction for different works and editions bothers me more than I will ever be willing to admint.

* New ID "ISFDB"

Internet Speculative Ficiton Database ID for books and authors.
Links to the entry if set.

* Added aasin to test

Added aasin to test

* the answer expects more emptxy fields...
2022-12-11 11:33:33 -08:00
Christof Dorner
fbd8e22b97 Add new user tab listing only reviews and comments 2022-12-11 20:24:00 +01:00
845bd2cc0d Only show themes to sys admin 2022-12-05 17:11:15 -08:00
933cb6440f Creates admin views for owner and admin registration settings 2022-12-05 16:58:11 -08:00
5172f67c35
Merge pull request #2450 from bookwyrm-social/impressum
Adds database fields for legal page/impressum
2022-12-04 12:12:26 -08:00
df42712b8e
Merge pull request #2449 from bookwyrm-social/empty-csv
Don't start imports with empty CSVs
2022-11-25 12:31:13 -08:00
70d639440e Show impressum 2022-11-25 12:06:32 -08:00
015af2c1e7 Don't start imports with empty csvs
Fixes #2353
2022-11-25 10:35:16 -08:00
81ab08aaa3 Fixes editing links 2022-11-25 08:28:45 -08:00
Joel Bradshaw
55bab0b70d Slice queryset before we resolve it
This was accidentally querying ALL books in the database to generate
suggestions if we didn't have enough, which broke some stuff
2022-11-23 19:26:09 +00:00
1e5a6ec744
Merge branch 'main' into show-2fa-code 2022-11-19 10:09:27 -08:00
9c5fe7610b Fixes reference to site model 2022-11-17 15:41:30 -08:00
28567e2d8e Disable imports in the UI and view 2022-11-17 15:19:42 -08:00
7c7c0e1a93 Admin UI to enable and disable importing 2022-11-17 14:23:39 -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
5a7afe45a2 Fixes permissions on settings invite request page 2022-11-16 18:03:52 -08:00
c29256708a
show otp_secret when setting up 2fa
solves #2389
2022-11-16 20:30:06 +01:00
f95729a0c3 Adds unit test for failing view 2022-11-15 21:45:06 -08: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
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
49d0590599 Another tweak to how import wait times are calculated 2022-11-10 13:59:27 -08:00
eae1866992
Allow users to temporarily deactivate their accounts (#2324) 2022-11-10 13:40:54 -08:00
48d4149151 Fixes null state 2022-11-10 12:39:07 -08:00
f80e2465ed Adds tests for recent import average time 2022-11-10 12:29:36 -08:00