Commit graph

1809 commits

Author SHA1 Message Date
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
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
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
146e92480b
Merge pull request #543 from mouse-reeve/import-url
Fixes import paths
2021-01-19 07:19:14 -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
1c1492d468
Merge pull request #541 from mouse-reeve/markdown-trimmed-text
Render markdown to html in the right order
2021-01-18 18:55:34 -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
e04b5b7df8
Merge pull request #537 from mouse-reeve/edit-shelf-fix
Fixes edit shelf view
2021-01-18 16:46:45 -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
Mouse Reeve
dda4698a84
Merge pull request #536 from mouse-reeve/reply-privacy
Set reply privacy to parent privacy
2021-01-18 13:51:57 -08:00
Mouse Reeve
fc218c5d48 Set reply privacy to parent privacy 2021-01-18 13:02:30 -08:00
Mouse Reeve
043c1f75a6
Merge pull request #534 from mouse-reeve/post-release-ui-fixes
UI fixes for latest release
2021-01-18 12:54:37 -08:00
Mouse Reeve
7a153a9942 Collapse status content box for empty status (like goal)
this is janky... oh well
2021-01-18 12:36:34 -08:00
Mouse Reeve
2a6c67c427 Correct placement of shelve pulldown 2021-01-18 12:25:26 -08:00
Mouse Reeve
69b38bfe91 Show latest read books first in goals page 2021-01-18 12:22:36 -08:00
Mouse Reeve
25643faf72 Fixes misplaced close diff causing cascading nesting on editions page 2021-01-18 12:22:11 -08:00