Commit graph

2180 commits

Author SHA1 Message Date
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
Mouse Reeve
3a303448bc
Merge pull request #557 from cincodenada/fix-email-migration
Fix migration for if db has multiple empty emails
2021-01-24 16:49:03 -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
7ed63bacc9
Merge pull request #553 from mouse-reeve/pages-percents
Makes pages/percents toggle-able in sidebar for progress readthrough
2021-01-22 17:54:02 -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
c113b59b4c
Merge pull request #552 from bibliotechy/dev-docs-tweak
Add docker-compose up to README
2021-01-20 16:19:06 -08:00
Chad Nelson
b6b6a8a3f8 Add docker-compose up to README 2021-01-20 17:17:30 -05: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
bd2515fe22
Merge pull request #550 from mouse-reeve/about-page
Remove login decorator from about page
2021-01-20 09:34:16 -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
b82aa54c6e
Merge pull request #547 from mouse-reeve/form-clash
Fixes clashing form ids in rate/review
2021-01-19 09:53:37 -08:00
Mouse Reeve
f049c7c3d9 Fixes clashing form ids in rate/review 2021-01-19 09:31:01 -08:00
Mouse Reeve
243e998fbf
Merge pull request #545 from mouse-reeve/goal-min-2
Goal min
2021-01-19 07:49:28 -08:00
Mouse Reeve
c1c7b68fc1 Fixes error state for goal 2021-01-19 07:40:37 -08:00