HelloZeroNet / HelloZeroNet/ZeroNet

FR: archived_before relative to current date

未关闭
#2,465 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
JavaScript
星标
18.8k
派生
2.3k
PR 合并指标
30 天内没有已合并 PR

描述

Setting user_contents.archived_before in content.json is not as useful as it might be.
It should allow to apply archiving (purging) in relative way.
Currently for site that user contents are no longer valid after period or for space limits concerns site owner have to manually apply purge dates.
New settings should allow automatic purging of user data older then number of seconds from current date.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先定位 content.json 中对 user_contents.archived_before 的处理,并追踪清理日期的应用方式。以当前日期为基准,用秒定义相对设置,然后验证早于该时间段的用户数据会被自动清理,同时确保现有的绝对日期行为仍然清晰。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
backend
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。