moonfire-nvr/server/db
Scott Lamb 560fe804d6 use SameSite=Lax instead of SameSite=Strict
To improve reliability of live streams (#59) on Safari.

Safari was dropping the cookie from websocket update requests.
(But it worked sometimes. I don't get why.) I saw folks on the Internet
thinking this related to HttpOnly:

*   https://developer.apple.com/forums/thread/104488
*   https://stackoverflow.com/q/47742807/23584

but I still see this behavior without HttpOnly. SameSite=Strict vs
SameSite=Lax appears to make a difference. Try that instead.
SameSite=Strict is pointless for us anyway as noted in a new comment.
Turning off HttpOnly would be more unfortunate security-wise.
2021-03-31 13:08:03 -07:00
..
proto shorten per-file copyright headers 2021-02-17 15:39:17 -08:00
testdata restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
upgrade shorten per-file copyright headers 2021-02-17 15:39:17 -08:00
auth.rs use SameSite=Lax instead of SameSite=Strict 2021-03-31 13:08:03 -07:00
build.rs shorten per-file copyright headers 2021-02-17 15:39:17 -08:00
Cargo.toml shorten per-file copyright headers 2021-02-17 15:39:17 -08:00
check.rs rearrange check deletes to satisfy foreign key 2021-03-05 12:02:43 -08:00
coding.rs shorten per-file copyright headers 2021-02-17 15:39:17 -08:00
compare.rs shorten per-file copyright headers 2021-02-17 15:39:17 -08:00
days.rs present signal days in API requests 2021-03-23 21:07:07 -07:00
db.rs fix incorrect prev_media_duration_90k calculation 2021-03-25 22:09:29 -07:00
dir.rs shorten per-file copyright headers 2021-02-17 15:39:17 -08:00
fs.rs shorten per-file copyright headers 2021-02-17 15:39:17 -08:00
lib.rs extract & generalize calendar day indexes 2021-03-23 09:40:52 -07:00
raw.rs shorten per-file copyright headers 2021-02-17 15:39:17 -08:00
recording.rs shorten per-file copyright headers 2021-02-17 15:39:17 -08:00
schema.sql fix incorrect prev_media_duration_90k calculation 2021-03-25 22:09:29 -07:00
signal.rs present signal days in API requests 2021-03-23 21:07:07 -07:00
testutil.rs shorten per-file copyright headers 2021-02-17 15:39:17 -08:00
writer.rs fix invariant violation on pts jump (#112) 2021-03-10 12:45:32 -08:00