1
0
Fork 0
Commit graph

532 commits

Author SHA1 Message Date
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
fdaa24edfe Tweaks group query in migration for tests 2022-12-05 17:33:40 -08:00
b8e403ce59 Fixes migration to give the correct perms 2022-12-05 17:04:58 -08:00
c7234bff64 Update admin role for new perms 2022-12-05 16:58:23 -08:00
9b087199ed Adds new role and permissions 2022-12-05 16:07:09 -08:00
16f9232e1e Adds database fields for legal page/impressum 2022-11-25 11:02:42 -08:00
7c7c0e1a93 Admin UI to enable and disable importing 2022-11-17 14:23:39 -08:00
c47a425cbe Longer invite answer field
It was an oversight that it was only set to 50 characters I expect!
2022-11-15 14:52:07 -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
eae1866992
Allow users to temporarily deactivate their accounts (#2324) 2022-11-10 13:40:54 -08:00
76fb4c9280 Revoke tasks 2022-11-05 15:41:06 -07:00
97513a43d6 Set import job status when job starts and finishes 2022-11-05 13:47:06 -07:00
59fe9e4d3b Show import status in table 2022-11-05 13:44:07 -07:00
24e5ea3295 Check if import is stopped and create import status field 2022-11-05 13:32:23 -07:00
da613c9b26 ugh forgot to run black 2022-10-15 07:47:20 +11:00
fda150fa0d resolve migration conflict 2022-10-15 07:47:20 +11: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
514762c233 fix typo in new user fields
oopsie
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
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
aa18179dbc add migration 2022-09-10 10:27:17 +10:00
0bc3c3b5f6 Adds locale migration 2022-08-02 11:09:58 -07:00
844023f104
Merge pull request #2246 from bookwyrm-social/goal-model
Moves annual goal to its own file
2022-07-29 13:22:12 -07:00
2298a478cf Moves annual goal to its own file
The user model file is just,, very long
2022-07-29 13:00:59 -07:00
356c1c0b62 fix migration dependency order
Show_guided_tour needs to come after alter_user_preferred_language due to conficts. I think.
2022-07-17 16:34:42 +10:00
17dc5e7eb1 Merge branch 'main' into tour
- we need to do this because of conflicting migrations
2022-07-17 16:30:45 +10:00
d3f35fb691 Adds Catalan 2022-07-15 12:28:31 -07:00
e1acdd0062 fix migrations
There was a conflict due to the order of migrations. Hopefully this commit fixes it!
2022-07-10 09:53:43 +10:00
ab5e4128e6 Merge branch 'main' into tour
Also fixes conflict
2022-07-09 20:54:48 +10:00
02c6932409 lint migration file 2022-07-09 20:10:28 +10:00
baad1314d8 default existing users to no tour 2022-07-09 19:51:05 +10:00
221b5138e8 Adds merge migration 2022-07-06 14:42:58 -07:00
5a6ef7ccd8 Merge branch 'main' into notifications 2022-07-06 14:41:15 -07:00
079f6d304e Python formatting 2022-07-06 12:22:07 -07:00
9fceeb3eda Adds another missing migration 2022-07-06 12:17:24 -07:00
003ef65db5 Adds missing migration 2022-07-05 18:01:10 -07:00
801ba03aaf Keep group as a foreign key field 2022-07-04 20:32:13 -07:00
9948dd2356 Use enums in more models 2022-07-04 20:27:56 -07:00
03f5a3f2c1 Use enums for notification types 2022-07-04 20:19:18 -07:00
b193652a67 Python formatting 2022-07-04 19:58:27 -07:00
a9a2da0957 Keep status as a single field 2022-07-04 19:20:04 -07:00
c7ecbb2fdf New migration file
I don't know why it felt important to do this but it did. The migrations
are in one file now and don't need a merge migration.
2022-07-04 18:42:56 -07:00
a718a168a3 Merge branch 'main' into notifications 2022-07-04 17:38:21 -07:00
b82cf887e2 linting fixes 2022-07-03 17:14:13 +10:00
80c71928c3 add show_guided_tour value to User
This boolean value indicates whether the user wishes to be show the guided tour.
It defaults to True but will be able to be easily set to False.
2022-06-13 13:07:48 +10:00
375c5a8789 Adds stopped date separate from finish date on readthrough 2022-05-26 11:36:37 -07:00
23c6019340 Adds merge migration 2022-05-26 10:23:32 -07:00
88b2cffcf2
Merge pull request #2035 from bookwyrm-social/stopped-shelf
Stopped shelf
2022-05-26 10:11:32 -07:00
a2a04da493 Adds many to many related items to notifications 2022-04-09 09:44:42 -07:00
8d266fda4d Removes unused related_book field on notification model 2022-04-08 15:21:38 -07:00