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
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