1
0
Fork 0
Commit graph

57 commits

Author SHA1 Message Date
5b051631ec
Move MVP
* update User model to allow for moved_to and also_known_as values
* allow users to add aliases (also_known_as) in UI
* allow users to move account to another one (moved_to)
* redirect webfinger to the new account after a move
* present notification to followers inviting to follow at new account

Note: unlike Mastodon we're not running any unfollow/autofollow action here: users can decide for themselves
This makes undoing moves easier.

TODO

There is still a bug with incoming Moves, at least from Mastodon.
This seems to be something to do with Update activities (rather than Move, strictly).
2023-09-18 21:21:04 +10:00
220cad8661 Only show author confirmation if new authors are added, show suggestions for parent work and set it correctly. 2023-08-01 15:12:50 +02:00
Zach Flanders
a6e5939ad2 adding sort title to edit book form 2023-04-26 23:05:03 -05:00
Zach Flanders
a94a4732ec add support for title sort to ignore initial article 2023-04-24 23:29:55 -05:00
Josh Soref
050cd583df spelling: expiration
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-04-04 20:02:54 -04:00
bba0d09fa4
Merge branch 'main' into totp-window 2023-02-27 18:21:39 +11:00
Chris Young
867b2ff542 Specify TOTP validity window in settings.py 2023-02-13 15:17:54 +00:00
Chris Young
5bae00b3fe Expand TOTP validity window 2023-02-09 12:49:05 +00:00
Giebisch
f085315d70 Added Backend Part 2023-01-30 16:12:14 +01:00
Christof Dorner
2c680cb365 Add default user auth group to registration settings 2023-01-21 17:04:32 +01:00
54e0fdd5ae
Here we go again! 2023-01-15 09:41:39 +01:00
dd2b166382
Revert "Add Website field to author" 2023-01-11 19:21:40 -08:00
Andy Maloney
a027204e5b Fix spelling in author form
"oepnlibrary" ➡️ "openlibrary"
2023-01-10 16:51:13 -05:00
2d76595af6
Add Website field to author
Authors have Websites. that might be interesting for BookWyrm users. Now there is a field specify the website of an author and it is shown tu users under the wikipedia link

Adds max char for ISFDB ID (6) and ISNI (19 - 16 plus three -)
2022-12-28 15:41:48 +01:00
3a9a344089
Merge pull request #2478 from bookwyrm-social/admin-roles
Adds "owner" role
2022-12-11 13:05:39 -08:00
b65a46582b Fixes new identifier fields in edit book form 2022-12-11 12:37:40 -08:00
58e8c0b5ec Merge branch 'main' into admin-roles 2022-12-11 11:58:54 -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
ca5676c287 Uses a list of fields rather than exclusions for edit book form 2022-12-11 10:58:19 -08:00
8325fbd772
goodreads_key for books editable
The field goodreads_key is now editable.
ID shows in ID section of book.
2022-12-10 10:50:25 +01:00
933cb6440f Creates admin views for owner and admin registration settings 2022-12-05 16:58:11 -08:00
dd9fbca7d7 Removes registration from site settings form 2022-12-05 16:19:15 -08:00
e7a0c3e421 Fixes bug that caused imports to be disabled unexpectedly 2022-12-04 18:07:17 -08:00
81ab08aaa3 Fixes editing links 2022-11-25 08:28:45 -08:00
eae1866992
Allow users to temporarily deactivate their accounts (#2324) 2022-11-10 13:40:54 -08:00
9b74c26742 backup codes
- add hotp_secret to user model
- view to create backup codes in user prefs
- check backup code if otp doesn't work
- increment hotp count if used
- show correct errors if code wrong
2022-10-15 07:47:20 +11:00
6db4fb39ed improve security and fix error msg
- Instead of passing the user as a hidden form element, we use a session variable.
- Introduces a 60 second limit on completing the login, and an exponentially increasing delay to attempt to login with 2FA if the code is entered incorrectly.
- use proper Django form error when incorrect otp value entered
2022-10-15 07:47:20 +11:00
9d12b7caff make pylint stop grumbling 2022-10-15 07:47:20 +11:00
0e1751eb57 prep for 2fa login check
- new 2fa checker page to be inserted between initial login and completion of login
- new views and forms for above
2022-10-15 07:47:20 +11:00
54daade9f9 prepare for 2FA
- add and migrate User fields for 2FA
- add views for 2FA
- add new forms for 2FA
- update package list in requirements.txt
- add URLs for 2FA views
2022-10-15 07:47:20 +11:00
b06c35b7dd
Update forms.py 2022-10-14 12:06:54 -07:00
f97b6f3da2 fix pylint complaint 2022-10-12 11:25:03 +02:00
4ab5e4b5d9 re-format code 2022-10-11 14:40:52 +02:00
b895fbd8f2 fix bug, can no longer finish a book in the future 2022-10-11 14:40:45 +02:00
aeeb2c3442 WIP: fix reading status ending in the future 2022-10-11 14:40:32 +02:00
7d61cb55bc Ignore pylint complaints about argument counts to form saves 2022-09-19 13:23:18 -07:00
330be16516 Adds permissions checking for admin models 2022-09-19 10:12:47 -07:00
8f79b362f8 Check permissions automatically on form save 2022-08-05 09:56:32 -07:00
3846b201bd Updates reset password flow to use validators 2022-07-15 11:39:18 -07:00
659ee96002 Use password validation in change password flow
This also moves the form validation into a form instead of doing it in
the view.
2022-07-15 10:51:58 -07:00
4a65ee326a Use password validation in register view 2022-07-15 09:59:57 -07:00
e2a50230c7 Fixes setting acces level to "user"
This wasn't working because "user" isn't a group, it's the absense of
any group.
2022-07-04 21:44:55 -07:00
375c5a8789 Adds stopped date separate from finish date on readthrough 2022-05-26 11:36:37 -07:00
45672c2b70 Adds missing widgets file 2022-03-19 09:04:50 -07:00
a701bfcf8e Uses custom date select widget for publication dates 2022-03-19 08:45:10 -07:00
287b5603d6 Fixes progress updates 2022-03-18 19:11:58 -07:00
2047365d31
Merge pull request #1973 from bookwyrm-social/add-edition
Create another edition for existing work
2022-03-17 08:51:13 -07:00
0101d2561a Python formatting 2022-03-17 08:18:44 -07:00
a684d86d15 Fixes subjects in add edition view 2022-03-17 08:02:59 -07:00
7b3b357756 Merge branch 'main' into form-conflict 2022-03-16 16:51:57 -07:00