Commit graph

537 commits

Author SHA1 Message Date
Mouse Reeve
375c5a8789 Adds stopped date separate from finish date on readthrough 2022-05-26 11:36:37 -07:00
Mouse Reeve
23c6019340 Adds merge migration 2022-05-26 10:23:32 -07:00
Mouse Reeve
88b2cffcf2
Merge pull request #2035 from bookwyrm-social/stopped-shelf
Stopped shelf
2022-05-26 10:11:32 -07:00
Mouse Reeve
a2a04da493 Adds many to many related items to notifications 2022-04-09 09:44:42 -07:00
Mouse Reeve
8d266fda4d Removes unused related_book field on notification model 2022-04-08 15:21:38 -07:00
Mouse Reeve
ae86829a7e
Adds Finnish locale (#2069)
* Adds Finnish locale
2022-03-31 08:20:52 -07:00
Mouse Reeve
71cbe611de Merge migration 2022-03-26 13:07:27 -07:00
Mouse Reeve
ec21d20b90 Merge branch 'main' into stopped-shelf 2022-03-26 13:06:06 -07:00
Mouse Reeve
5cf52cff54 Formats migration 2022-03-26 10:32:07 -07:00
Mouse Reeve
a6ae55608a Adds Romanian locale 2022-03-26 10:03:50 -07:00
Mouse Reeve
8b061f9432 Manually updates migration 2022-03-16 16:53:16 -07:00
Mouse Reeve
7b3b357756 Merge branch 'main' into form-conflict 2022-03-16 16:51:57 -07:00
Mouse Reeve
108981a226 Creates fresh migration and removes merges 2022-03-16 16:35:03 -07:00
Mouse Reeve
159b73d860 Fixes errors in migration 2022-03-16 13:54:25 -07:00
Mouse Reeve
f2b0b306e9
Merge pull request #1934 from tversteeg/partially-read-shelf
Add 'Stopped Reading' shelf
2022-03-16 13:51:15 -07:00
Mouse Reeve
820279166a Adds update script 2022-03-16 12:39:49 -07:00
Thomas Versteeg
b3f03164cc Apply black 2022-03-15 09:28:40 +01:00
corentin-feys
a0ae96923c fix to pass invite request pytest 2022-03-13 23:34:49 +01:00
corentin-feys
3e9cb2acb1 Revert to stable commit
This reverts commit d542be943f.
2022-03-13 22:56:41 +01:00
Orage Pika
bcdee8071c fixing errors from check 2022-03-13 15:49:09 +01:00
Orage Pika
d542be943f bw-dev black and fixing things according to the warning messages of the checks. 2022-03-13 13:23:58 +01:00
Thomas Versteeg
5d8404f797 Add merge migration 2022-03-12 11:45:09 +01:00
corentin-feys
1b4e532f90 Added invite question migration 2022-03-12 11:19:14 +01:00
corentin-feys
e1e03ebd22 removed unneded migrations 2022-03-07 19:41:24 +01:00
Orage Pika
5fbb5c655b custom questions 2022-03-07 18:49:59 +01:00
Mouse Reeve
34a4c18397
Merge branch 'main' into partially-read-shelf 2022-03-05 19:23:35 -08:00
Mouse Reeve
41ea7db8b6 Removes hardcoded white in announcements 2022-03-01 11:06:15 -08:00
Mouse Reeve
a6883b5b87 Adds merge migration 2022-02-28 13:30:02 -08:00
Mouse Reeve
043fd54d70
Merge branch 'main' into themes 2022-02-28 13:27:05 -08:00
Mouse Reeve
e90cb52f23 Add option to hide follows 2022-02-28 11:48:49 -08:00
Mouse Reeve
8850b68b52 Show theme options 2022-02-27 10:48:33 -08:00
Mouse Reeve
3dfbb3272e Theme selector 2022-02-27 10:00:50 -08:00
Mouse Reeve
43269429ac Use selected theme 2022-02-26 13:40:06 -08:00
Mouse Reeve
e15193e100 Adds themes 2022-02-26 12:44:20 -08:00
Mouse Reeve
a5571c65bc
Update 0134_alter_stopped_reading.py 2022-02-25 18:25:41 -08:00
Mouse Reeve
b511928400
Create 0134_alter_stopped_reading.py 2022-02-25 18:08:30 -08:00
Thomas Versteeg
8deee2220e Fix stopped reading status model in non-javascript environment 2022-02-25 22:39:42 +01:00
Thomas Versteeg
5eb113af6b Create merge migration 2022-02-25 22:03:49 +01:00
Thomas Versteeg
e9dfa42e11
Merge branch 'main' into partially-read-shelf 2022-02-25 21:00:29 +00:00
Mouse Reeve
93f82fbf18 Adds notifications 2022-02-24 13:20:18 -08:00
Mouse Reeve
ad41f19dc5 Updates report model 2022-02-24 13:00:41 -08:00
Mouse Reeve
3ce8b3390e Adds task 2022-02-24 12:16:18 -08:00
Mouse Reeve
12f67dc0ce Adds automod view 2022-02-24 11:18:43 -08:00
Mouse Reeve
c8b4d5ecf1 Adds model for creating automated moderation flags 2022-02-24 09:58:37 -08:00
Mouse Reeve
63558bb75e Python formatting 2022-02-17 11:31:52 -08:00
Mouse Reeve
2883c42534 Disable registration by default 2022-02-17 11:27:05 -08:00
Mouse Reeve
c31ec7dbd5 Adds setup view 2022-02-17 10:03:02 -08:00
Mouse Reeve
c04d2d285b Python formatting 2022-02-17 08:42:12 -08:00
Thomas Versteeg
d67dac4519
Merge branch 'main' into partially-read-shelf 2022-02-17 16:34:10 +00:00
Mouse Reeve
a2c4dd4f9f Updates migration and database fields 2022-02-17 08:25:01 -08:00
Mouse Reeve
39691bed3a Merge branch 'main' into openlibrary-author-fields 2022-02-16 18:06:04 -08:00
Thomas Versteeg
c88b34814f Rename 'Partially Read' to 'Stopped Reading' 2022-02-12 19:49:54 +01:00
Mouse Reeve
cfa91e2570 Adds color options to announcements 2022-02-11 14:00:01 -05:00
Thomas Versteeg
2b27889457 Add 'Partially Read' shelf 2022-02-11 14:33:46 +01:00
Mouse Reeve
0683ce1c33 Proper markdown formatting 2022-02-04 12:07:26 -08:00
Mouse Reeve
e18f6fbfaf Adds migration for locale name update 2022-02-02 12:44:11 -08:00
Mouse Reeve
c4b8e7949d Add more book identifier fields 2022-01-30 11:41:31 -08:00
Mouse Reeve
6009593b6b Migration formatting 2022-01-25 09:17:00 -08:00
Mouse Reeve
037cc35eeb Adds merge migration and python formatting 2022-01-25 08:45:22 -08:00
Mouse Reeve
de4576bc44 Merge branch 'main' into list-notes 2022-01-25 08:44:29 -08:00
Mouse Reeve
d0a4c78d02 Limit length on list item note 2022-01-24 12:02:05 -08:00
Mouse Reeve
eeee62cd04 Adds Swedish to the app 2022-01-24 09:39:13 -08:00
Mouse Reeve
39814a21f2 Set book availability 2022-01-17 09:22:40 -08:00
Mouse Reeve
7b1693a435 Larger file type field 2022-01-17 09:03:53 -08:00
Mouse Reeve
e6355f76de Adds merge migration 2022-01-12 17:16:20 -08:00
Mouse Reeve
d74360a13f Merge branch 'main' into book-file-links 2022-01-12 17:14:27 -08:00
Mouse Reeve
8b2335c52c Build-in translations to privacy choices dropdwon 2022-01-12 15:26:13 -08:00
Mouse Reeve
78dd5caf9f Allow users to report spam links 2022-01-10 14:55:10 -08:00
Mouse Reeve
6c78a7b6ef Add user attribution to links and domains 2022-01-10 13:20:31 -08:00
Mouse Reeve
dcf51020bc Removes initialization from migration
Just doesn't seem right
2022-01-10 13:05:08 -08:00
Mouse Reeve
d610115a5b Null state for links 2022-01-10 12:09:03 -08:00
Mouse Reeve
32e3fdb438 Adds admin view 2022-01-10 10:12:28 -08:00
Mouse Reeve
aa9864a21e Only show approved links 2022-01-09 20:30:23 -08:00
Mouse Reeve
63075a6fe9 Updates models 2022-01-09 14:21:13 -08:00
Mouse Reeve
bae355e8d2 Adds link domain table 2022-01-09 13:19:29 -08:00
Mouse Reeve
4931e5cad2 Merge branch 'main' into book-file-links 2022-01-09 13:15:58 -08:00
Mouse Reeve
79f6fb966e Updates migration 2022-01-08 17:07:51 -08:00
Mouse Reeve
16a58ae079 Merge branch 'main' into book-file-links 2022-01-08 16:58:37 -08:00
Mouse Reeve
ac1787ce6b Merge branch 'main' into new-languages 2022-01-08 16:54:31 -08:00
Mouse Reeve
02a963c4ef Adds locales to application 2022-01-08 07:38:14 -08:00
Mouse Reeve
996d1fc571 Don't crash tests 2022-01-06 10:22:27 -08:00
Mouse Reeve
d9857839dc Add all superusers to admin group 2022-01-06 10:14:21 -08:00
Mouse Reeve
557acd40ad Fixes locale names 2022-01-04 14:34:22 -08:00
Mouse Reeve
d8c682fb2b Adds Portuguese to the language list 2022-01-04 13:30:08 -08:00
Mouse Reeve
aa1a7189ae Uses function to get current year for annual goal default 2022-01-04 11:02:59 -08:00
Joachim
24b0e086e7 Add summary_keys JSONField for the user 2021-12-22 14:57:26 +01:00
Mouse Reeve
86b294afd7 Re-structures link models 2021-12-15 16:23:21 -08:00
Mouse Reeve
4f576b77a0 Use urlfield 2021-12-15 12:46:10 -08:00
Mouse Reeve
c6bdc34499 Updates migration 2021-12-15 10:20:00 -08:00
Mouse Reeve
a4859668b8 Merge branch 'main' into book-file-links 2021-12-15 10:05:29 -08:00
Joachim
3bd28afe93 Add unique embed_key to List model 2021-12-04 16:06:07 +01:00
Joachim
40e4591a24 Apply review suggestions 2021-11-24 11:59:45 +01:00
Joachim
bc7de410b7 Add migration 2021-11-22 00:33:08 +01:00
Mouse Reeve
9961a08c93 Adds Galician locale 2021-11-17 10:02:39 -08:00
Mouse Reeve
7d66013b52 Adds Lithuanian to the user options 2021-11-15 10:26:00 -08:00
Mouse Reeve
f92863ad3e Notify when import completes 2021-11-14 09:56:23 -08:00
Mouse Reeve
47b98ad0d9 Track completed items on job 2021-11-14 09:04:12 -08:00
Mouse Reeve
1e46de4c9d Associate imported review with import item 2021-11-13 11:44:05 -08:00
Mouse Reeve
40fff02eec Approve or delete import guesses 2021-11-12 17:10:47 -08:00
Mouse Reeve
5967834805 Adds migration 2021-11-11 12:29:51 -08:00
Hugh Rundle
1d791d950f add migration for updated notification types 2021-10-22 20:30:25 +11:00
Hugh Rundle
9116af1b3f add makemigrations merge file 2021-10-17 06:33:11 +11:00
Hugh Rundle
6e5c0cc4c3 Merge branch 'main' into bookwyrm-groups
There are database migrations in main ahead of this branch so they need to be merged in to the branch before we can merge back into main.
2021-10-17 06:22:04 +11:00
Hugh Rundle
a476b52f86 database migrations for groups 2021-10-16 17:45:21 +11:00
Mouse Reeve
bd0e4abd56 Uses correct model field for raw values 2021-10-15 10:36:46 -07:00
Mouse Reeve
60b910172d Update migration 2021-10-15 10:09:34 -07:00
Mouse Reeve
117e6a08b2 Merge branch 'main' into markdown 2021-10-15 10:06:34 -07:00
Mouse Reeve
b11b810ec9 Use edit date to track is status has been updated 2021-10-15 08:56:07 -07:00
Mouse Reeve
af567ba05e Edit posts in original markdown syntax 2021-10-14 18:34:26 -07:00
Mouse Reeve
175df2181c Adds edited field to status model 2021-10-14 17:33:04 -07:00
Mouse Reeve
4384098292 Updates Spanish locale 2021-10-11 12:17:39 -07:00
Mouse Reeve
48b84afbde Python formatting 2021-10-11 09:37:25 -07:00
Mouse Reeve
69110497ae Adds Brazilian Portuguese locale 2021-10-11 09:23:28 -07:00
Hugh Rundle
14d3158871 add database migrations for Groups 2021-10-10 12:33:51 +11:00
Mouse Reeve
cef46a1827 Adds migration 2021-10-07 17:30:42 -07:00
Mouse Reeve
4ba3234f6c
Merge branch 'main' into bookwyrm-groups 2021-10-07 17:27:11 -07:00
Mouse Reeve
ba5ec878fa Adds language preference to database 2021-10-06 12:19:52 -07:00
Hugh Rundle
f8e0de1ea9 run black for clean code
Godammit Hugh remember to do this before pushing new code.
2021-10-05 21:32:48 +11:00
Hugh Rundle
fe87e815e6 database migrations for Groups 2021-10-05 20:41:48 +11:00
Mouse Reeve
ea18252549 Fixes broken migration 2021-10-03 13:26:02 -07:00
Mouse Reeve
5cd8109820 Adds missing connector migration 2021-10-03 12:15:44 -07:00
Mouse Reeve
e1271dd079 Less costly migration 2021-10-02 19:04:01 -07:00
Mouse Reeve
b8fd909fe3 Adds thread id to status model 2021-10-01 14:12:03 -07:00
Mouse Reeve
232e4bed79 Updates migrations 2021-09-30 11:06:12 -07:00
Mouse Reeve
38f82fe660 Remove/re-add connector in migration 2021-09-30 10:55:18 -07:00
Mouse Reeve
e6e44decf9 Updates migration 2021-09-30 10:47:53 -07:00
Mouse Reeve
5dd2aac600 Merge branch 'main' into search-refactor 2021-09-30 10:41:30 -07:00
Mouse Reeve
32391dd64d Python formatting 2021-09-29 12:38:31 -07:00
Mouse Reeve
123b23728f Infer format in openlibrary import 2021-09-29 12:21:19 -07:00
Mouse Reeve
54a8815f49 Updates migrations 2021-09-29 11:49:57 -07:00
Mouse Reeve
2f93e6d723 Merge branch 'main' into book-format-choices 2021-09-29 11:33:06 -07:00
Mouse Reeve
dba0aaff2c Adds description field to shelf 2021-09-28 16:36:47 -07:00
Mouse Reeve
bc87856c2e Merge branch 'main' into book-format-choices 2021-09-27 10:29:12 -07:00
Mouse Reeve
2160a5c729 Newly created readthroughs are active by default 2021-09-22 13:00:38 -07:00
Mouse Reeve
a05ef1a222 Adds active field to readthrough model 2021-09-22 11:23:56 -07:00
Mouse Reeve
38c66b208c Adds customizable invite request copy 2021-09-18 15:45:04 -07:00
Mouse Reeve
8a5004d947 Adds migration 2021-09-17 12:00:00 -07:00
Mouse Reeve
1f06d1a1d8 Removes local connector 2021-09-14 15:26:36 -07:00
Mouse Reeve
bd1e31d981 Merge migration 2021-09-11 17:44:56 -07:00
Mouse Reeve
717dc91d49 Merge branch 'main' into admin-tests 2021-09-11 17:43:45 -07:00
Mouse Reeve
d31683e21f Adds merge migration 2021-09-11 14:45:56 -07:00
Mouse Reeve
d972ad2541 Merge branch 'main' into csv-import-failures 2021-09-11 14:42:59 -07:00
Mouse Reeve
992e478e95 Use readable/translatable strings for db choices 2021-09-11 14:23:47 -07:00
Mouse Reeve
430554444f Adds deactivation date to user model
Also fixes django admin around saved lists
2021-09-11 08:57:38 -07:00
Mouse Reeve
255e59503b Updates migration 2021-09-11 07:23:22 -07:00
Mouse Reeve
b36f7d7b69 Merge branch 'main' into csv-import-failures 2021-09-11 07:19:40 -07:00
Mouse Reeve
def4d89bf8 Adds short description to edit site form 2021-09-10 12:13:24 -07:00
Mouse Reeve
9413dacaf2 Updates instance info endpoint 2021-09-10 11:44:51 -07:00
Mouse Reeve
7ef179a4f3 Merge migration 2021-09-08 17:44:17 -07:00
Mouse Reeve
de3c79ce21 Merge branch 'main' into email-blocking 2021-09-08 17:43:08 -07:00
Mouse Reeve
658e12eb86 Allow admins to suspend pending users 2021-09-08 16:47:12 -07:00
Mouse Reeve
c4a43d5029 Updates migration 2021-09-08 15:31:07 -07:00
Mouse Reeve
8717d8a675 Create new email domain block entries 2021-09-08 15:31:01 -07:00
Mouse Reeve
7a684a2f96 Adds model 2021-09-08 14:39:38 -07:00
Mouse Reeve
a5ef8aa6e9 Adds flag on user model to hide suggested users 2021-09-08 09:30:13 -07:00
Mouse Reeve
8a748fa675 Adds format fields to edit book view 2021-09-07 12:49:28 -07:00
Mouse Reeve
f80503d947 Merge migration 2021-09-06 22:15:13 -07:00
Mouse Reeve
22caf34d86 Merge branch 'main' into book-format-choices 2021-09-06 22:13:24 -07:00
Mouse Reeve
b80de929fd Create and view quotation page numbers 2021-09-05 16:00:40 -07:00
Mouse Reeve
e98ee64e2b Merge migration 2021-08-29 11:20:30 -07:00
Mouse Reeve
57ef1522b5 Merge branch 'main' into readthrough-dates 2021-08-29 11:18:35 -07:00
Mouse Reeve
66f8e9b4fc Fixes model name 2021-08-29 11:12:57 -07:00
Mouse Reeve
dc72df7339 Generate likely followers url for existing users 2021-08-28 11:15:17 -07:00
Mouse Reeve
e9d951e4cd Add user model field for followers url 2021-08-28 10:33:57 -07:00
Mouse Reeve
2c78eddbeb Normalize readthrough dates in advance of migration 2021-08-27 10:47:56 -07:00
Mouse Reeve
3f2f8f0e50 Updates migrations 2021-08-27 10:32:51 -07:00
Mouse Reeve
01d82cfa3a Merge branch 'main' into readthrough-dates 2021-08-27 10:25:41 -07:00
Mouse Reeve
eca0ff371c Adds saved lists many to many field 2021-08-23 11:19:15 -07:00
Mouse Reeve
0b4a267745 Adds missing migration 2021-08-17 12:17:35 -07:00
Mouse Reeve
2d20fa4146 Adds reading status field to book statuses 2021-08-16 13:32:12 -07:00
Mouse Reeve
1be125fc1d Adds database constraint for readthrough dates 2021-08-11 11:19:06 -07:00
Mouse Reeve
fa396d4bc8 Save best-guess search results on import 2021-08-10 13:54:52 -07:00
Mouse Reeve
5926224d7e Confirm email views 2021-08-06 16:26:46 -07:00
Mouse Reeve
3e2f1806e9 Adds email confirmation code field 2021-08-06 14:42:18 -07:00
Mouse Reeve
2e7dd9d4ef Fixes over-reporting user last active date 2021-08-05 19:52:15 -07:00
Mouse Reeve
5a9dbc50da Adds books stream 2021-08-04 17:25:31 -07:00
Mouse Reeve
2c08be79f8 Merge migration 2021-08-04 14:19:17 -07:00
Mouse Reeve
fd0f9324d3 Merge branch 'main' into book-format-choices 2021-08-04 14:13:55 -07:00
Mouse Reeve
48fcdcbe93 Python formatting 2021-08-04 14:12:37 -07:00
Mouse Reeve
9bbdde1597 Python formatting 2021-08-04 10:58:23 -07:00
Mouse Reeve
2b1d647c85 Adds merge migration 2021-08-04 10:46:56 -07:00
Mouse Reeve
63c8301eb9 Merge branch '253-user-post-privacy-v2' of https://github.com/ibrand/bookwyrm into ibrand-253-user-post-privacy-v2 2021-08-04 10:44:30 -07:00
Joel Bradshaw
a16d759766 Add shelved_date field and populate it on import 2021-07-13 21:04:11 -07:00
Mouse Reeve
6470033ac9 Fixes search query syntax
mad about the lack of django docs on this, jeez
2021-06-26 16:20:18 -07:00
Mouse Reeve
68fc5f2b5a Trigger search vector update when author is edited 2021-06-26 12:34:05 -07:00
Mouse Reeve
deb1b9943a Uses simple dictionary as backup for english dictionary
Creates search vectors with stop words if the english version is empty,
and uses a SearchQuery OR with simple and english on the view side.
2021-06-24 10:56:27 -07:00
Mouse Reeve
04c51a6598 Uses simple dictionary for names 2021-06-24 10:01:07 -07:00
Mouse Reeve
7c15fbbb0b More efficient search index
Co-authored-by: asmr-hex <0.0@asmr.software>
2021-06-23 16:54:59 -07:00
Mouse Reeve
f82161d648 Fixes migration query 2021-06-19 08:41:37 -07:00
Mouse Reeve
cb811c92a6 Adds reverse migration stub 2021-06-19 08:36:12 -07:00
Mouse Reeve
e99e4831f1 Updates migration 2021-06-19 08:17:27 -07:00
Mouse Reeve
15555e61d0 Merge branch 'main' into book-format-choices 2021-06-19 07:43:34 -07:00
Mouse Reeve
27a3d0ae96
Merge branch 'main' into 253-user-post-privacy-v2 2021-06-14 16:47:57 -07:00
Joachim
5943e6d79a Black 2021-05-26 15:18:05 +02:00
Joachim
4db8aa85f0 Fix migration 2021-05-26 14:55:55 +02:00
Joachim
fd82567cbf Update 0076_book_preview_image.py 2021-05-26 09:16:15 +02:00
Joachim
8c25272462 Fix last night's bugs 2021-05-26 09:09:13 +02:00
Joachim
dca0888d5d Thank you Black 2021-05-25 23:05:38 +02:00
Joachim
fa7334826c Update 2021-05-25 23:04:28 +02:00
Joachim
d1737b44bd First functioning commit
TODO

- [ ] Delay task (Celery?)
- [ ] Store the image in a subfolder unique to the edition, to make cleaning up the image easy
- [ ] Clean up the image before replacing it
- [ ] Ensure that the image will be cleaned when the edition is deleted ??
- [ ] Use instance custom colors?
- [ ] Use book cover color base?
2021-05-25 00:41:53 +02:00