Implement ghost comment mitigation #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Codeberg/Discussion#24"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a config option USER_DELETE_WITH_COMMENTS_MAX_DAYS to the [service] section.
@ -1132,6 +1132,17 @@ func deleteUser(e *xorm.Session, u *User) error {return fmt.Errorf("deleteBeans: %v", err)}if section, err := setting.Cfg.GetSection("service"); err == nil {this should go into modules/setting/service.go as for example
AUTO_WATCH_ON_CHANGESThank you for having a look! Is there interest to merge this upstream, too?
This PR broke when I force pushed to codeberg-test, thats not good - sorry, I rebased the latest commits from upstream
Is this expected to happen?
I think this should be added upstream first ... but it can be cherry picked fom codeberg too, if merged the right way ...
Even cooler if this will be upstream.
Anyone know a trick how to fix this PR (the damage I did with force pushing)
I can look at this tomorrow
I'll try to cerry-pick and get it in upstream
https://github.com/go-gitea/gitea/pull/14349
EDIT: STATE: finished it ... waiting for reviews ...
@hw @ashimokawa can be cherry pick
@6543
Cherry-picked and deployed on codeberg-test, set to 7 days, ready for testing!
@6543
Seems to work!
The "cleanup" commit which removes the German translation is because that should be done with the official way of translating?
I could remove that commit to make german work again.
@ashimokawa yes you could add a reverted https://github.com/go-gitea/gitea/pull/14349/commits/9d767ff6ef9f668bfd22276c9b20dbbd335ff6d7 for codeberg ...
Closing this in favor of #11
Pull request closed