diced / zipline

A ShareX/file upload server that is easy to use, packed with features, and with an easy setup!
https://zipline.diced.sh/
MIT License
1.49k stars 140 forks source link

feat: add sessions to zipline #554

Closed TacticalTechJay closed 1 month ago

TacticalTechJay commented 5 months ago

This should resolve #552.

This PR adds sessions, here's how it'll work

Oh and I may have changed the devcontainer a little :3

made this in a day xd

diced commented 4 months ago

getting this in logs when changing password and accessing another link on zipline while in a incognito window

2024-05-22 09:06:57,720 PM debug [withZipline] Cannot read properties of null (reading 'sessions')

Screenshot_20240522_210849

TacticalTechJay commented 3 months ago

Drafted cuz I'll be spending a looot of time figuring it out.

TacticalTechJay commented 3 months ago

Screw it, we ballin'. Give this one a try

diced commented 3 months ago

Seems like it works but when a session is invalidated, you can still navigate through the dashboard but all the API calls fail with "not logged in"

diced commented 1 month ago

Closing this since it's being implemented in v4 but differently.