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
fed6bcd375
Merge pull request #2314 from chambersh1129/2194-normalize-stored-ISNI
...
Closes #2194 Normalize stored ISNI
2022-10-14 12:20:07 -07:00
b02ad2ec68
Merge pull request #2316 from redshiftss/bugfix/reading-status-future
...
Make it so that finishing a book cannot happen in the future
2022-10-14 12:17:42 -07: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
Hunter Chambers
32f68c3f62
remove trailing whitespace causing pylint/black errors
2022-10-10 14:13:57 -04:00
Hunter Chambers
02c7397eaf
Closes #2194 Normalize stored ISNI
2022-10-09 19:36:24 -04:00
74b89b2d4a
That test didn't work
2022-10-04 12:09:05 -07:00
5b5e15d48b
Just adds a couple tests
2022-10-04 11:40:01 -07:00
78d36ebc39
Fixes typo in tour
2022-09-24 19:41:37 -07:00
3a73ced5fa
Adds a couple tests to annual review views
...
Also I tweaked the save functions so they don't broadcast
2022-09-19 14:38:30 -07:00
fdc477afdf
Merge pull request #2258 from bookwyrm-social/form-perms
...
Check permissions automatically on form save
2022-09-19 13:32:41 -07:00
7d61cb55bc
Ignore pylint complaints about argument counts to form saves
2022-09-19 13:23:18 -07:00
35aebacf70
Fixes theme form and adds view tests
2022-09-19 13:13:21 -07:00
bf092ec44e
Small fixes
2022-09-19 12:10:27 -07:00
4c099afc63
Python formatting
2022-09-19 11:23:40 -07:00
37dacaff6f
Fixes creating notifications for auto-moderation reports
2022-09-19 11:11:08 -07:00
6947f3b787
Uses class method to get list of instance admins
...
Re-writing this query over and over is a bad approach
2022-09-19 10:43:52 -07:00
9d8d85ebc1
Invite perms checks
2022-09-19 10:26:40 -07:00
1e988cae6c
More edit book lines
2022-09-19 10:26:29 -07:00
be480e40f0
Updates links form saves
2022-09-19 10:18:30 -07:00
3fd573c0da
Check perms on site model form
2022-09-19 10:16:38 -07:00
b0d8697006
Adds missing save in edit book view
2022-09-19 10:16:29 -07:00
330be16516
Adds permissions checking for admin models
2022-09-19 10:12:47 -07:00
e51980bc12
Use BookWyrmModel as parent for admin models
...
This will make them more internally consistent and give them built-in
permissions checking
2022-09-19 09:35:38 -07:00
b0236b95bd
Merge branch 'main' into form-perms
2022-09-19 09:32:48 -07:00
3f5eb6c682
Adds raise_not_editable to User model
...
This model doens't inherit from BookwyrmModel for various reasons, but
it still needs to editability check.
2022-09-19 09:26:01 -07:00
aa67f23b03
Override raise_not_editable for report model
...
This model uses "reporter" as the field that represents the onwer of the
object, and "user" and the subject. In retrospect, maybe not the ideal
way to do it.
2022-09-19 09:20:44 -07:00
81d5195d20
Adds test
2022-09-15 11:12:05 -07:00
fcd96c332d
Null state
2022-09-15 11:09:07 -07:00
d76eae358f
Show queues and runtime instead of start time
2022-09-15 10:53:08 -07:00
3739bdbf81
Better comments
2022-09-15 09:49:58 -07:00
0f55b76a93
Adds celery status view
2022-09-14 18:58:51 -07:00
fcf796abe1
Null state for review view during imports
...
Without this, it will show an empty progress bar and no info about why
the table is empty.
2022-09-14 18:08:16 -07:00
aa18179dbc
add migration
2022-09-10 10:27:17 +10:00
0ad3dc6245
allow 0.5 star ratings
2022-09-10 07:24:11 +10:00
230d30abb8
sidebar review stars should default to zero
...
PR #2283 surfaced an existing formerly-hidden issue with star rating defaults in the sidebar of book pages.
This commit ensures the default rating is zero, not half a star.
Fixes #2291
2022-09-10 07:03:12 +10:00
543d13af6e
Removes explicit calls to raise_not_editable from views
...
These raises are handled implicitly in the form, so they don't have to
be called outright.
2022-09-08 11:03:06 -07:00
351292fcda
Catches places where form.save() needs the request
...
Thank you, tests.
2022-09-08 11:02:17 -07:00
c71d133d2c
Merge pull request #2288 from mooseyboots/del-notifs-button
...
conditional display of notifs button
2022-09-08 10:16:07 -07:00
834c7e9cd5
Merge pull request #2282 from hughrun/normalise-isbn
...
Normalise ISBNs for searching
2022-09-08 10:14:30 -07:00
marty hiatt
b4cc9f5753
conditional display of notifs button
2022-09-01 11:54:49 +02:00
1ee2ff4811
normalise isbn on local book search
...
- uppercase ISBN before checking it's a number to account for trailing 'x'
- check maybe_isbn for search_identifiers search. Without this we are only searching external connectors, not locally!
2022-08-30 20:00:09 +10:00
68d91086ed
add wonky ISBN test
2022-08-30 19:57:25 +10:00
1f93dc9c62
Merge pull request #2260 from bookwyrm-social/mentions
...
Refactors how mentions are collected
2022-08-29 15:17:40 -07:00
e782b3f360
Fixes logic that displays search remote or manually add link
2022-08-29 14:03:47 -07:00
98562dc92f
Allow x in isbn path
2022-08-29 13:41:49 -07:00