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
Mouse Reeve
6b3447761f
Adds book format field with choices
2021-05-20 18:16:35 -07:00
Mouse Reeve
cefc5994a6
Makes extra content optional
2021-05-20 12:40:03 -07:00
Mouse Reeve
346d718265
Don't need both name and preview
2021-05-19 15:18:43 -07:00
Mouse Reeve
d1f2d9812f
Adds model for instance admin announcements
2021-05-19 14:00:46 -07:00
Mouse Reeve
19f788b9aa
Deactivate connectors related to blocked federated servers
2021-05-11 11:31:02 -07:00
Mouse Reeve
e7c5b77b4c
Removes unused connector fields and adds active boolean
2021-05-11 09:54:04 -07:00
Mouse Reeve
e15d6654e3
Free text field for the site footer
2021-04-30 10:42:27 -07:00
Mouse Reeve
6551c59c45
Don't store default edition in the dataase
2021-04-28 16:05:17 -07:00
Mouse Reeve
85297426e0
Adds merge migration
2021-04-26 14:33:16 -07:00
Mouse Reeve
64c2313a5d
Merge branch 'main' into inventaire
2021-04-26 14:22:05 -07:00
Mouse Reeve
3ade2d3bb1
New version of black, new whitespace
2021-04-26 09:15:42 -07:00
Mouse Reeve
f9c40aadd9
Python formatting
2021-04-22 18:30:58 -07:00
Mouse Reeve
74ccaf27fa
Tag removal migration
2021-04-22 18:23:23 -07:00
Mouse Reeve
c7daf27baf
Adds migration for last edited by field
2021-04-22 09:06:26 -07:00
Pablo Barton
f6824268ed
584 sorting of lists
2021-04-16 22:17:15 -04:00
Mouse Reeve
878b3c6fe8
Only reactivate appropriate users when undoing domain block
2021-04-12 10:16:03 -07:00
Mouse Reeve
93fe091034
Adds field for user deactivation reason
2021-04-12 09:51:10 -07:00
Mouse Reeve
96d15d3d57
Adds merge migration
2021-04-11 10:05:36 -07:00
Mouse Reeve
77caf1a8fa
Merge branch 'main' into domain-block
2021-04-11 10:02:11 -07:00
Mouse Reeve
cca7c9a98a
Adds merge migrations
2021-04-10 09:35:03 -07:00
Mouse Reeve
13d54871b7
Merge branch 'main' into domain-block
2021-04-10 09:26:01 -07:00
Mouse Reeve
ee6f37d7d2
python formatting
2021-04-08 15:11:16 -07:00
Mouse Reeve
779377bd0c
Makes localname case insensitive
2021-04-08 09:00:32 -07:00
Mouse Reeve
8261fbf86a
Updates federated server model with notes field
...
Also makes it more editable, and changes the status types
2021-04-07 11:28:31 -07:00
Mouse Reeve
e3e28973f1
Adds merge migration
2021-04-07 11:24:09 -07:00
Mouse Reeve
4e0225749d
Merge branch 'main' into domain-block
2021-04-07 11:23:15 -07:00
Mouse Reeve
7c5f078682
Adds missing migration for #898
2021-04-07 10:33:56 -07:00
Mouse Reeve
fec3d63e46
Python formatting
2021-04-06 18:17:33 -07:00
Mouse Reeve
82c2f2eeb1
Adds more author identifier fields
2021-04-06 17:46:06 -07:00
Mouse Reeve
bfdcf611e7
Adds inventaire identifier to book data fields
2021-04-06 13:54:57 -07:00
Mouse Reeve
f30d05acfc
Update connector model to add new connector
2021-04-06 10:40:13 -07:00
Mouse Reeve
194fcb8055
Adds migration for federated server table statuses
2021-04-05 15:54:20 -07:00
Mouse Reeve
45d229d712
Makes outbox an optional field on the user table
2021-04-02 07:35:56 -07:00
Mouse Reeve
634509a7f3
Associate users with their invites
2021-04-01 17:20:02 -07:00
Pablo Barton
b0dc5f3f93
357 Users set preferred timezone, used for readthroughs
2021-03-28 19:16:43 -04:00
Mouse Reeve
320dfd1a59
Python formatting
2021-03-24 08:39:37 -07:00
Mouse Reeve
1707bba8a8
Adds ordering to status model
2021-03-24 08:37:25 -07:00
Mouse Reeve
abde06a700
Pytohn formatting
2021-03-21 16:47:09 -07:00
Mouse Reeve
16994908d8
Lets users opt in to directory
2021-03-21 14:45:11 -07:00
Mouse Reeve
81ab73f309
Black formatting
2021-03-20 20:19:27 -07:00
Mouse Reeve
5e24b438ff
Placeholders for send/ignore request flows
2021-03-20 20:16:13 -07:00
Mouse Reeve
4d07cb1eb5
Adds invite request model
2021-03-20 18:27:30 -07:00
Mouse Reeve
396a43136d
Black formatting
2021-03-20 18:04:10 -07:00
Mouse Reeve
d3a4282f11
Show progress on status
2021-03-20 18:03:20 -07:00
Mouse Reeve
2a612f7278
Formatting
2021-03-20 17:39:05 -07:00
Mouse Reeve
daa0268eb3
Update progress with comments
2021-03-20 17:35:10 -07:00
Mouse Reeve
1b5c71c7b1
formatting
2021-03-19 12:44:30 -07:00
Mouse Reeve
5a0723cde7
Migrations for django 3.1 upgrade
2021-03-19 12:43:36 -07:00
Mouse Reeve
5ed3320c9b
Formatting
2021-03-19 12:16:44 -07:00
Mouse Reeve
266c6fe777
Make rating a decimal field
2021-03-19 12:14:59 -07:00
Mouse Reeve
48a5232ebb
Formatting
2021-03-18 09:06:00 -07:00
Mouse Reeve
9a20b5dbd5
Hide goal using database field instead of localstorage
2021-03-18 09:00:25 -07:00
Mouse Reeve
550eba1f68
Black formatting
2021-03-16 12:59:25 -07:00
Mouse Reeve
e5750de3dd
Notify admins when a report is filed
2021-03-16 12:57:23 -07:00
Mouse Reeve
848edd2972
Adds missing migration for reports model
2021-03-12 16:32:11 -08:00
Mouse Reeve
0d2c641d01
Reformats report model
2021-03-09 12:57:38 -08:00
Mouse Reeve
21f199c548
Make reports
2021-03-08 18:36:50 -08:00
Mouse Reeve
e59c127686
Adds models for reporting
2021-03-08 17:16:59 -08:00
Mouse Reeve
5fe989e20f
Formats migrationwq
2021-03-08 09:58:07 -08:00
Mouse Reeve
84534a2991
Adds merge migration
2021-03-08 09:54:53 -08:00
Mouse Reeve
3bdfc341e4
Runs black
2021-03-08 09:54:02 -08:00
Mouse Reeve
ad43e5c83a
Merge branch 'main' into review-rate
2021-03-08 09:48:25 -08:00
Mouse Reeve
70296e760b
Runs black
2021-03-08 08:49:10 -08:00
Henri Bourcereau
703ff60271
isbn search
2021-03-06 18:09:15 +01:00
Mouse Reeve
0cf2baccac
Adds merge migration
2021-02-28 10:40:10 -08:00
Mouse Reeve
5bc4456d4e
Merge branch 'main' into review-rate
2021-02-28 10:35:20 -08:00
Mouse Reeve
7622bef35d
Adds separate privacy policy section
2021-02-27 11:53:36 -08:00
Joel Bradshaw
717cbe3034
Use very fancy SQL nonsense
...
This should be more efficient than running the queries one by one
2021-02-26 23:12:39 -08:00
Joel Bradshaw
ee7388052c
Use SQL parameters, and make unconvert work
...
DBAs don't want you to know about this One Simple Trick
2021-02-26 22:57:26 -08:00
Mouse Reeve
2e36cfbcf6
Creates new semi-functional migration
2021-02-25 14:58:09 -08:00
Ilona Brand
73c30e8c9a
Add user default privacy setting to the privacy_select and user preferences
2021-02-13 19:42:25 -06:00
Mouse Reeve
06feef44ad
Merge branch 'main' into review-rate
2021-02-12 18:33:05 -08:00
Mouse Reeve
3aa7f8afe0
Safer migration runpython function
2021-02-10 17:30:26 -08:00
Mouse Reeve
2bf4b17113
Adds notification type referencing lists
2021-02-10 13:15:12 -08:00
Mouse Reeve
9561bb2294
Adds reverse runpython for migration
2021-02-09 11:21:43 -08:00
Mouse Reeve
ad7a045582
Makes shelbook user required
2021-02-07 11:29:13 -08:00
Mouse Reeve
7381536ad6
circular import issues and added_by migration
2021-02-04 14:27:26 -08:00
Mouse Reeve
dfb5c396b0
Moves activitypub mixin to its own file
2021-02-04 10:47:18 -08:00
Mouse Reeve
23ce639e5c
migration to change privacy field type
2021-02-02 09:41:24 -08:00
Mouse Reeve
d73a1b4ec1
handles list privacy in display
2021-01-31 08:41:11 -08:00
Mouse Reeve
fe088f21fb
Model and migration for lists
2021-01-30 21:00:36 -08:00
Joel Bradshaw
ed83032330
Fix migration for if db has multiple empty emails
...
If the database has multiple users with an empty email column, this
migration will fail because multiple empty strings break the unique
constraint.
A fresh database won't have this problem because it won't have any
legacy users with empty strings instead of NULL, but for existing
databases we need to convert the empty strings to NULL so they don't run
awry of the unique constraint.
2021-01-24 16:39:26 -08:00
Mouse Reeve
3db0de3dd4
Makes pages/percents toggle-able in sidebar
2021-01-22 09:19:02 -08:00
Joel Bradshaw
57607c3590
Regenerate merge migration
2021-01-19 23:53:42 -08:00
Joel Bradshaw
85edee42ef
Merge branch 'main' into progress_update
2021-01-19 23:49:35 -08:00
Mouse Reeve
328ebc39c1
Adds migration
2021-01-19 07:38:12 -08:00
Joel Bradshaw
79e284e5be
Just scootch the migration merge up
2021-01-18 19:59:40 -08:00
Joel Bradshaw
29140be78e
Merge branch 'main' into progress_update
2021-01-18 19:41:06 -08:00
Mouse Reeve
96cc9d44db
Fixes email migration
2021-01-18 11:57:20 -08:00
Mouse Reeve
8a00c7741a
Nullable email
2021-01-18 11:51:51 -08:00
Mouse Reeve
11dd8c8f82
Allow users to log in with email or username
2021-01-18 11:06:28 -08:00
Joel Bradshaw
0af4863568
Update merge migration
2021-01-17 13:21:26 -08:00
Joel Bradshaw
a4519d55c9
Merge branch 'main' into progress_update
2021-01-17 13:05:38 -08:00
Mouse Reeve
112b9f9332
Create goal with privacy
2021-01-16 11:34:19 -08:00
Mouse Reeve
b648012af5
Adds form and models for reading goal
2021-01-16 08:18:54 -08:00
Joel Bradshaw
1e13997c5d
Create an actual user, add missing file
...
Also allow `./bw-dev up -d`
I'm not sure why this was necessary, but it makes enough sense
2021-01-13 23:02:56 -08:00
Joel Bradshaw
48147883ce
Merge branch 'main' into progress_update
2021-01-13 19:53:26 -08:00
Joel Bradshaw
ec2a43faa5
Fix error in migrations
...
I was getting the following error when running 0035:
AttributeError: 'Edition' object has no attribute 'get_rank',
But that line seems to be unnecessary, since save() does the same thing,
and we are already calling that.
2021-01-13 18:37:05 -08:00
Mouse Reeve
83852e29eb
Update edition ranks when work is saved
2021-01-11 10:02:49 -08:00
Mouse Reeve
6db64e33e4
set rank on editions
2021-01-11 09:29:23 -08:00
Mouse Reeve
b44b42be7e
Adds rank field to edition model
2021-01-11 09:18:40 -08:00
Mouse Reeve
d04271af75
Adds field on import job to check if job completed
...
the task isn't a reliable indicator, unfortunately.
2021-01-07 08:08:12 -08:00
Mouse Reeve
c8d53ee0df
Adds site invite created date
2021-01-05 11:38:03 -08:00
Mouse Reeve
ff9caf3d51
Fixes migration version numbering
2021-01-04 21:39:57 -08:00
Mouse Reeve
a73f51ad78
Merge branch 'main' into review-rate
2021-01-04 13:42:39 -08:00
Mouse Reeve
0f4a30324e
Makes more about instance text customizable
2021-01-04 12:58:31 -08:00