GithubHelp home page GithubHelp logo

Comments (4)

arp242 avatar arp242 commented on July 18, 2024 1

i think it might be helpful to mention this on the delete page, to avoid confusion.

I might just remove it; need to think about it but it would make everything simpler. It's been like this since day one, but it hasn't really come up very often; I think only one person has asked to "undelete" their site. I added the "undelete" much later after someone did what you did: delete site and then re-create it. But just deleting everything would have been fine there too.

And all things considered, it's not really that important data in the grand scheme of things, and I do have backups if it is (although it's a pain to restore one site from them, it can be done).

from goatcounter.

arp242 avatar arp242 commented on July 18, 2024 1

In the meanwhile, what you can do is first rename the site you want to delete, then delete it, and then re-use that name for a new site.

Or you can just delete all data from "manage pageviews" and entering "%".

from goatcounter.

arp242 avatar arp242 commented on July 18, 2024

It "soft-deletes" for a week and then it permanently removes stuff, just in case people change their minds. The "undelete" is intentional, although I can see how that's confusing.

does this potentially open the door to being able to see data from deleted sites from other accounts?

No, it should check for that: https://github.com/arp242/goatcounter/blob/d2bd78c/handlers/settings.go#L292-L294

from goatcounter.

woutrbe avatar woutrbe commented on July 18, 2024

Thanks for the quick answer, that makes sense. I sort of guessed that’s how it would work, but wanted to raise it anyway, just in case.

i think it might be helpful to mention this on the delete page, to avoid confusion.

from goatcounter.

Related Issues (20)

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.