~sircmpwn/sr.ht-dev

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[PATCH core.sr.ht] Reduce unified login cookie size

Details
Message ID
<20230920203441.266523-1-ch@bitfehler.net>
DKIM signature
missing
Download raw message
Patch: +1 -0
By dropping some of the less likely-to-be-used items.
---
 srht/flask.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srht/flask.py b/srht/flask.py
index fee67de..e6c3a90 100644
--- a/srht/flask.py
+++ b/srht/flask.py
@@ -445,6 +445,7 @@ class SrhtFlask(Flask):
            else:
                # Set user info cookie
                user_info = g.current_user.to_dict(first_party=True)
                user_info = {k:v for k,v in user_info.items() if k not in ['bio', 'location', 'url']}
                user_info = json.dumps(user_info)
                response.set_cookie(cookie_key,
                        fernet.encrypt(user_info.encode()).decode(),
-- 
2.42.0

[core.sr.ht/patches] build failed

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CVO19VS020P5.BXK2CHY2T92A@cirno2>
In-Reply-To
<20230920203441.266523-1-ch@bitfehler.net> (view parent)
DKIM signature
missing
Download raw message
core.sr.ht/patches: FAILED in 5m5s

[Reduce unified login cookie size][0] from [Conrad Hoffmann][1]

[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/44909
[1]: ch@bitfehler.net

✗ #1060505 FAILED  core.sr.ht/patches/archlinux.yml https://builds.sr.ht/~sircmpwn/job/1060505
✓ #1060504 SUCCESS core.sr.ht/patches/alpine.yml    https://builds.sr.ht/~sircmpwn/job/1060504
✓ #1060506 SUCCESS core.sr.ht/patches/debian.yml    https://builds.sr.ht/~sircmpwn/job/1060506
Details
Message ID
<CVOGTHF1XRBF.2F0G1T3U9WO54@taiga>
In-Reply-To
<20230920203441.266523-1-ch@bitfehler.net> (view parent)
DKIM signature
missing
Download raw message
Thanks!

To git@git.sr.ht:~sircmpwn/core.sr.ht
   5e33dbc..9d194be  master -> master
Reply to thread Export thread (mbox)