Page MenuHomePhabricator

Mark posts older than 30 days as inactive.
ClosedPublic

Authored by Info-Screen on Mar 24 2019, 11:09 PM.

Details

Summary

Convert Post.active from a Field that is saved into the database to a
dynamically calculated annotation.

Mark posts older than 30 days as inactive

Inactive posts will remain in a users queue, but new posts added to the queue can't be inactive

Test Plan

Check queue and drafts for the value of active.

Change the date of a post and check it's active value

Diff Detail

Repository
rAPI Server API
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Mar 24 2019, 11:19 PM
This revision was automatically updated to reflect the committed changes.