Commit graph

1127 commits

Author SHA1 Message Date
Mouse Reeve
a2e69d783d suggest button wording 2021-01-31 11:13:50 -08:00
Mouse Reeve
f15626b2cb Null state for search results 2021-01-31 11:13:05 -08:00
Mouse Reeve
6a68fe9475 Search for books to add to lists 2021-01-31 11:11:26 -08:00
Mouse Reeve
1e9189d43c Suggest recently edited books if we're out of user books 2021-01-31 10:56:40 -08:00
Mouse Reeve
1a4c53da2c Only show delete button to appropriate users 2021-01-31 10:44:46 -08:00
Mouse Reeve
acd922970a Add to and edit lists 2021-01-31 10:34:25 -08:00
Mouse Reeve
4883231347 Fixes model test 2021-01-31 09:08:06 -08:00
Mouse Reeve
d73a1b4ec1 handles list privacy in display 2021-01-31 08:41:11 -08:00
Mouse Reeve
69c2b192a4 Adds list creation form 2021-01-31 08:08:52 -08:00
Mouse Reeve
91483b56f5 Adds views tests 2021-01-31 07:09:03 -08:00
Mouse Reeve
8ef959ba73 Adds little icons, so cute 2021-01-31 06:52:18 -08:00
Mouse Reeve
0815b36ec9 Adds basic view and template files 2021-01-30 21:42:47 -08:00
Mouse Reeve
af65509527 stub test for list model 2021-01-30 21:03:50 -08:00
Mouse Reeve
fe088f21fb Model and migration for lists 2021-01-30 21:00:36 -08:00
Mouse Reeve
45ac13a7ff Clear unused editions with poor metadata 2021-01-30 18:30:07 -08:00
Mouse Reeve
a36de9026b
Merge pull request #575 from mouse-reeve/openlibrary-editions
Ignore openlibrary editions with little to no metadata
2021-01-30 17:49:54 -08:00
Mouse Reeve
9833f5a03d Tests creating editions 2021-01-30 17:44:42 -08:00
Mouse Reeve
661d49d9cc Ignore openlibrary editions with little to no metadata
Also fixes the isbn problem
2021-01-30 17:19:01 -08:00
Mouse Reeve
b3bd6822b2 Make sure templates render rather than checking template paths 2021-01-30 12:30:03 -08:00
Mouse Reeve
ac4a178e83 Fixes shelf page template path bug 2021-01-30 12:03:50 -08:00
Mouse Reeve
cd65ac7290 Fixes incorrect tempalte path in threaded status page 2021-01-30 11:46:15 -08:00
Mouse Reeve
8add05d7fd Fixes incorrect display of reading progress 2021-01-29 18:06:17 -08:00
Mouse Reeve
9d3f48a1a9 Settings views tests 2021-01-29 17:06:10 -08:00
Mouse Reeve
d1ee26e282 list of federated servers for admin panel 2021-01-29 16:02:59 -08:00
Mouse Reeve
9db327a69e Edit view for site settings 2021-01-29 15:50:46 -08:00
Mouse Reeve
21aadf2920 Adds site settings view 2021-01-29 15:38:42 -08:00
Mouse Reeve
02c466e04a
Merge pull request #568 from mouse-reeve/send-dms
Compose window for dms
2021-01-29 14:23:06 -08:00
Mouse Reeve
93ef9e31ad Send message to a particular user 2021-01-29 11:44:04 -08:00
Mouse Reeve
779a5e0cbf Compose window for dms 2021-01-29 11:14:18 -08:00
Mouse Reeve
640db7e9e3 Fixes more tests for moved-around views 2021-01-29 10:47:47 -08:00
Mouse Reeve
bae54b6847 Shuffles tests around for feed views 2021-01-29 10:33:44 -08:00
Mouse Reeve
cc5fedb1d1 Fixes template paths in views 2021-01-29 10:29:21 -08:00
Mouse Reeve
b53ef73faf Feed templates 2021-01-29 10:25:31 -08:00
Mouse Reeve
932acc961f Fixes template paths in tests 2021-01-29 09:41:32 -08:00
Mouse Reeve
60721fd41e Fixes user layout 2021-01-29 09:29:59 -08:00
Mouse Reeve
9fa8ee3940 Groups profile settings templates 2021-01-29 09:28:00 -08:00
Mouse Reeve
24af288c52 Refactors user pages 2021-01-29 09:05:53 -08:00
Mouse Reeve
6ccf7841e1 Moves components out of snippets 2021-01-29 08:51:36 -08:00
Mouse Reeve
65db2e63ac
Merge pull request #566 from mouse-reeve/blockquote
Allows blockquote markdown
2021-01-29 08:18:05 -08:00
Mouse Reeve
e6a0e5f96c
Merge pull request #554 from bibliotechy/430-add-rss-support
First attempt at adding rss support
2021-01-29 08:09:32 -08:00
Mouse Reeve
68d00d590c Allows blockquote markdown 2021-01-29 08:00:19 -08:00
Chad Nelson
4274bf0508 Patch site settings so this can pass 2021-01-27 22:13:35 -05:00
Chad Nelson
9c2813545c Closer to some passing tests 2021-01-27 21:23:20 -05:00
Mouse Reeve
7d1c5fb0f2 Patches broadcast call in reading test 2021-01-27 11:01:36 -08:00
Mouse Reeve
c2d0c4b022 Adds missing init file for views tests
this is important!!
2021-01-27 09:31:11 -08:00
Mouse Reeve
b52aa5bee9 Fixes status tests 2021-01-27 09:31:01 -08:00
Mouse Reeve
1a54ed875b easier way to get user statuses queryset 2021-01-27 09:30:03 -08:00
Mouse Reeve
5377a8f187 Fixes reading view 2021-01-27 09:29:34 -08:00
Mouse Reeve
e2935b6364 Fixes shelve tests 2021-01-27 09:27:29 -08:00
Mouse Reeve
662cbf2da9
Merge pull request #555 from mouse-reeve/blocking
Blocking
2021-01-26 14:43:01 -08:00
Mouse Reeve
36486ca731 block/unblock view tests 2021-01-26 13:02:14 -08:00
Mouse Reeve
369b24f9ec null state for block page 2021-01-26 13:02:04 -08:00
Mouse Reeve
22e4138555 unblock 2021-01-26 13:00:36 -08:00
Mouse Reeve
acfc865d4e Adds blocked users view
also refactors the setting view
2021-01-26 10:01:50 -08:00
Mouse Reeve
3f011445e2 Hide user pages to blocked users 2021-01-26 08:31:55 -08:00
Mouse Reeve
12b95c6cd4
Merge pull request #558 from mouse-reeve/image-crop
Moves avatar crop into function and adds test
2021-01-26 08:24:52 -08:00
Mouse Reeve
681f5482fd Don't allow blocked users to access user page 2021-01-26 08:07:38 -08:00
Mouse Reeve
2a6a000e05 Moves avatar crop into function and adds test 2021-01-26 08:03:16 -08:00
Mouse Reeve
ac2ab2981f ui path to iniate blocks 2021-01-25 14:03:18 -08:00
Mouse Reeve
d994d8d3c8 Moves blocking side effects to model 2021-01-24 17:07:19 -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
4e0ec12052 hide blocked content from feed 2021-01-24 16:13:26 -08:00
Chad Nelson
ad2baf3be5 Use display_name instead of username 2021-01-23 18:39:55 -05:00
Mouse Reeve
6cc29a6cf8 Hide content from blocked users 2021-01-23 11:40:41 -08:00
Mouse Reeve
cc8888dea2 Adds incoming handler for blocking 2021-01-23 11:03:10 -08:00
Chad Nelson
0fe2e7a356 First pass at basic RSS 2021-01-23 09:48:34 -05:00
Mouse Reeve
54f8a65ae2 Adds block option to status menu 2021-01-22 20:17:16 -08:00
Mouse Reeve
20758b662d don't need the showprogress get param any longer 2021-01-22 14:33:03 -08:00
Mouse Reeve
129ca0352f Consistent progress type form element 2021-01-22 13:00:20 -08:00
Mouse Reeve
12c23836b7 Fixes display of finish date 2021-01-22 12:54:25 -08:00
Mouse Reeve
69c5bf71ed Uses javascript show/hide for reading progress updates 2021-01-22 12:51:23 -08:00
Mouse Reeve
806b781f15 Adds html form validator for min value 2021-01-22 09:21:58 -08:00
Mouse Reeve
3db0de3dd4 Makes pages/percents toggle-able in sidebar 2021-01-22 09:19:02 -08:00
Mouse Reeve
6c52afeae0
Merge pull request #354 from cincodenada/progress_update
Keep track of progress through books over time
2021-01-21 16:57:16 -08:00
Mouse Reeve
2809095966
Merge pull request #548 from mouse-reeve/at-mentions
puts @'mentions directly in compose box
2021-01-20 09:35:18 -08:00
Mouse Reeve
fe42c6d853 Remove login decorator from about page 2021-01-20 07:16:25 -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
Joel Bradshaw
070fa04b63 Add validators and more tests
I don't think these validators will do anything unless we use them or
are submitting a form, but they're there nonetheless
2021-01-19 23:40:11 -08:00
Joel Bradshaw
edba55f7c2 Flatten and rework sidebar update 2021-01-19 23:04:08 -08:00
Joel Bradshaw
32346cf9a3 Cascade-delete progress updates
Add a warning about it, and update test to confirm it works
2021-01-19 22:36:44 -08:00
Mouse Reeve
9f2ca73a58 Tests terminal space in mentions string 2021-01-19 16:48:06 -08:00
Mouse Reeve
2411b4fe79 puts @'mentions directly in compose box 2021-01-19 16:16:22 -08:00
Mouse Reeve
0700a71803
Merge pull request #538 from mouse-reeve/polling
Polling to update notification count
2021-01-19 15:13:37 -08:00
Mouse Reeve
1778e8dd46 Uses timeout instead of interval 2021-01-19 14:59:46 -08:00
Mouse Reeve
94a41498cf Remove counts when notifications are deleted 2021-01-19 14:32:08 -08:00
Mouse Reeve
3fce67a60d Only update on change 2021-01-19 14:25:04 -08:00
Mouse Reeve
f049c7c3d9 Fixes clashing form ids in rate/review 2021-01-19 09:31:01 -08:00
Mouse Reeve
c1c7b68fc1 Fixes error state for goal 2021-01-19 07:40:37 -08:00
Mouse Reeve
589c128793 Sets min in html 2021-01-19 07:38:18 -08:00
Mouse Reeve
328ebc39c1 Adds migration 2021-01-19 07:38:12 -08:00
Mouse Reeve
6efe4d54f0 Sets minimum goal 2021-01-19 07:30:35 -08:00
Mouse Reeve
1048688284 Fixes import paths 2021-01-19 07:15:08 -08:00
Joel Bradshaw
60b42827f4 Mock the AP publishing to stop hanging tests 2021-01-18 20:00:04 -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
0d00857ef8 Render markdown to html in the right order 2021-01-18 17:54:36 -08:00
Mouse Reeve
128dc3be44 Remove a div 2021-01-18 16:52:51 -08:00
Mouse Reeve
a7620c07cb Fixes edit shelf view 2021-01-18 16:38:04 -08:00
Mouse Reeve
394666357f Poll for notifications 2021-01-18 16:32:02 -08:00