sissbruecker / linkding

Self-hosted bookmark manager that is designed be to be minimal, fast, and easy to set up using Docker.
MIT License
5.33k stars 261 forks source link

Auto logout #700

Closed nirav-mj closed 2 months ago

nirav-mj commented 2 months ago

Hello,

First of all thank you for the excellent application and all the hard work went in creating this awesome app. Is there a way to enable auto logout option, currently user session remains signed in all day.

Thanks, NNS

sissbruecker commented 2 months ago

There's linkding option for that, but it looks like Django allows to do that: https://docs.djangoproject.com/en/5.0/topics/http/sessions/#browser-length-sessions-vs-persistent-sessions

You could try mounting a custom settings file to /etc/linkding/siteroot/settings/custom.py and configure the Django option in that like so:

SESSION_EXPIRE_AT_BROWSER_CLOSE=True
nirav-mj commented 2 months ago

I will try it and will follow-up. Thank you

nirav-mj commented 2 months ago

I'm running it in Docker so 100% sure how to get to the file, I will figure it out. Also, is there any option to find and remove duplicates and/or option not to import duplicates? I can't find it in the documentation.

sissbruecker commented 2 months ago

Looks like the import would not detect if the imported HTML contains duplicates. If there's already a bookmark with the same URL in the DB, that will be updated by the import at least. Also when adding bookmarks in linkding you can not create duplicates, it always updates the existing bookmark and will warn you about that.

nirav-mj commented 2 months ago

Thank you and greatly appreciate. How do I make donation?

sissbruecker commented 2 months ago

Thanks, but at this point I don't accept donations. You could consider donating to the Internet Archive instead if you make use of the linkding feature that creates snapshots on the IA whenever you save a bookmark.

nirav-mj commented 2 months ago

I will once I enable the Archive option. If I missed LINKDING is AWESOME!!