Code Monkey home page Code Monkey logo

Comments (5)

Yureien avatar Yureien commented on July 26, 2024 1

@kayvanaarssen As of the latest version, it is possible to set a default expiry.

from yabin.

Yureien avatar Yureien commented on July 26, 2024
  1. Yep! Checkout the "Expires in" parameter on the right side (example here: https://bin.sohamsen.me/).
  2. Not yet, but I plan to implement that feature soon.
  3. Not really, restarting preserves data (assuming you are not removing the volumes themself). The yabin container can be completely removed and added again without any loss of data. The postgresql database is what holds all the data. Make sure to bind a volume (as in the docker-compose.yml file), and do not remove that volume. Restarting won't affect it.

from yabin.

kayvanaarssen avatar kayvanaarssen commented on July 26, 2024

@Yureien Thanks!
Do you have environment variables to force the expire of links etc. So we can set this at default.
We use for example Password Pusher already. Here you can set those things in the .env so its forced at default but you are able to change.

For 2. How can we delete / manage old links etc. at this time? Purge the DB etc? Or what are the options?

from yabin.

Yureien avatar Yureien commented on July 26, 2024

@kayvanaarssen There is no option to set a default expiry of links for now. I might implement that sometime in the future though. Feel free to open a PR if you need it now!

For now, the only way to purge old links is to delete them manually for the DB.

I have just added a user login/logout feature that enables editing pastes. I plan to set defaults such as a dashboard to view pastes, delete them and set defaults (such as expiry, encryption settings, etc.), which will be added in a future update!

from yabin.

kayvanaarssen avatar kayvanaarssen commented on July 26, 2024

@kayvanaarssen As of the latest version, it is possible to set a default expiry.

Awesome! Thanks

from yabin.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.