Commit graph

50 commits

Author SHA1 Message Date
Mouse Reeve
8bbc4d3301 Cache checking if books are on shelve in shelve button snippet 2022-01-18 10:52:15 -08:00
Mouse Reeve
0f9881365b Python formatting 2022-01-11 10:41:33 -08:00
Mouse Reeve
4ca90ca10f Renames class view 2022-01-11 10:40:32 -08:00
Mouse Reeve
68d943fb26 Preserve readthrough id in edit 2022-01-11 10:33:58 -08:00
Mouse Reeve
cdaf0fe8e3 Show error message when start and finish date is invalid 2022-01-11 10:22:19 -08:00
Mouse Reeve
0d2c6e63d1 Converts create readthrough to modal 2022-01-11 09:50:04 -08:00
Mouse Reeve
e8c830750a No cache for suggested books 2022-01-09 13:00:02 -08:00
Mouse Reeve
82294909a8 Python formatting 2022-01-08 16:38:52 -08:00
Mouse Reeve
ad6d7d5eca Caches suggested books 2022-01-05 13:43:15 -08:00
Mouse Reeve
cc4469e7e1 Python formatting 2022-01-04 18:05:26 -08:00
Mouse Reeve
5981575f0e Cache template snipped for shelve buttons 2022-01-04 17:59:35 -08:00
Hugh Rundle
1a37903583
remove unnecessary function call arg 2021-11-26 17:39:35 +11:00
Hugh Rundle
5b67226571
forceReload prevents ajax submission
...instead of weird hacky workarounds forcing refreshes later.
2021-11-25 19:12:03 +11:00
Hugh Rundle
a3270551f9
code cleanup 2021-11-20 19:19:51 +11:00
Hugh Rundle
b273123708
code style 2021-11-20 16:06:16 +11:00
Hugh Rundle
12810d8e34
don't try to update non-existent readthroughs 2021-11-20 16:03:46 +11:00
Hugh Rundle
41862e854c
move from reading to editable shelf with logic that actually works 2021-11-20 13:57:37 +11:00
Hugh Rundle
a082121930
fix shelves not being unshelved if any shelf is read-status 2021-11-20 08:55:43 +11:00
Hugh Rundle
9ffe4d340e
trigger reading status modals from move button
- unhide reading status shelves
- trigger modals when moving to a read status shelf
- force page refresh when using move button
2021-11-20 08:06:13 +11:00
Mouse Reeve
75e69eb269 Post-processes statuses composed in modals 2021-09-30 10:00:05 -07:00
Mouse Reeve
52c6a90498 Don't redirect on http request to readthrough 2021-09-29 11:02:04 -07:00
Mouse Reeve
62ff9d6199 Python formatting 2021-09-27 16:08:52 -07:00
Mouse Reeve
dfa8bafe18 Uses new visible/editable/deleteable functions 2021-09-27 16:04:40 -07:00
Mouse Reeve
d510d72b8d Fixes syntax in reading view 2021-09-22 16:41:43 -07:00
Mouse Reeve
a96d027cf3 Easier to read first-item-or-none list logic 2021-09-22 16:16:53 -07:00
Mouse Reeve
c54609d7fd Refactors how readthroughs get updated 2021-09-22 16:08:25 -07:00
Mouse Reeve
3c38a64a81 Return http responses for ajax requests 2021-09-10 08:03:22 -07:00
Mouse Reeve
a2811b6c1b Fixes redirects in fallback post modal 2021-09-05 15:24:03 -07:00
Mouse Reeve
b991510c03 Fixes want to read status slug 2021-08-16 15:00:35 -07:00
Mouse Reeve
6280671d92 Create comments when commentary is provided 2021-08-16 13:08:45 -07:00
Mouse Reeve
4107f7ddf1 Updates readthrough tests 2021-06-09 11:07:15 -07:00
Mouse Reeve
113ced2900 Merge reading status views into one view 2021-06-09 10:53:52 -07:00
Mouse Reeve
3356c652ee Adds standalone modal views for reading steps 2021-06-08 11:55:18 -07:00
Mouse Reeve
b5d0a9e0b4 Removes deplicate progress code form reading views 2021-06-08 11:43:30 -07:00
Mouse Reeve
1231d40e80 Want to read view 2021-06-08 11:23:53 -07:00
Mouse Reeve
45146b4999 Convert start and finish reading into view classes 2021-06-08 11:10:39 -07:00
Mouse Reeve
3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve
91aa6fa95f Remove unneeded page checking logic 2021-04-19 15:01:20 -07:00
Mouse Reeve
e86f160c53
Merge pull request #812 from SavinaRoja/357-tz-in-datetimes
357 Users set preferred timezone, used for readthroughs
2021-03-29 15:20:01 -07:00
Pablo Barton
765e6b542f adding middleware and use in readthrough template 2021-03-29 08:20:35 -04:00
Pablo Barton
b0dc5f3f93 357 Users set preferred timezone, used for readthroughs 2021-03-28 19:16:43 -04:00
Pablo Barton
daf69d2375 716 books can be on multiple shelves, but only on one shelf for reading status 2021-03-26 08:21:42 -04:00
Mouse Reeve
70296e760b Runs black 2021-03-08 08:49:10 -08:00
Mouse Reeve
7381536ad6 circular import issues and added_by migration 2021-02-04 14:27:26 -08:00
Mouse Reeve
42d80ce238 Remove explicit broadcast calls 2021-02-04 13:21:55 -08:00
Mouse Reeve
5377a8f187 Fixes reading view 2021-01-27 09:29:34 -08:00
Joel Bradshaw
a4519d55c9 Merge branch 'main' into progress_update 2021-01-17 13:05:38 -08:00
Mouse Reeve
7d6a06025e Adds more reading tests 2021-01-13 18:02:01 -08:00
Mouse Reeve
a385aa4cb5 Following views 2021-01-13 13:06:26 -08:00
Mouse Reeve
7555d76c3f Adds reading acitivity views 2021-01-13 12:35:39 -08:00