Bart Schuurmans
e04cd79ff8
Redirect to new URL when a merged object is requested
2024-03-23 19:28:57 +01:00
Joeri de Ruiter
d1bad521e9
When deleting readthrough, progressupdate or status, return to referer instead of main page
2023-08-01 17:19:10 +02:00
Josh Soref
2fb771f0de
spelling: sanitize
...
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-04-04 20:02:54 -04:00
Mouse Reeve
4e9fad2091
Updates views that currently use the validator to use the redirect
...
helper
2023-03-20 10:27:52 -07:00
Joachim
bc19d7c658
Black
2023-01-01 19:45:12 +01:00
Joachim
f266c71da9
Replace hidden field with HTTP Referrer value
2023-01-01 19:42:03 +01:00
Joachim
78c214a6d4
Add validation before using url
2022-12-30 17:56:25 +01:00
Joachim
f5a79dfa82
Redirect to "next" value in view
2022-12-23 21:35:28 +01:00
Mouse Reeve
8f79b362f8
Check permissions automatically on form save
2022-08-05 09:56:32 -07:00
Mouse Reeve
661865de87
Remmoves insecure redirects
...
This should really fundamentally work differently, but this is a quick
for for now to avoid an insecure redirect. There will be a negative
impact on user experience from this, and a followup change should look
into these views and improve their flow.
2022-07-14 11:22:17 -07:00
Mouse Reeve
742d97b177
Python formatting
2022-07-07 12:23:10 -07:00
Mouse Reeve
76c466ee45
Fixes cache invalidation for editions
...
Your reading status is shown across all editions of a work, so when you
change your status in relation to the edition you're currently reading,
it needs to invalidate the cached values for all editions of that work.
2022-07-07 12:21:24 -07:00
Mouse Reeve
4c5d2570ab
Save and display stopped date in readthrough
2022-05-26 11:53:33 -07:00
Mouse Reeve
007751c8cb
Adds error logging to status views
2022-05-26 10:58:11 -07:00
Thomas Versteeg
c88b34814f
Rename 'Partially Read' to 'Stopped Reading'
2022-02-12 19:49:54 +01:00
Thomas Versteeg
2b27889457
Add 'Partially Read' shelf
2022-02-11 14:33:46 +01:00
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