Project

General

Profile

Actions

Feature proposal #8674

closed

Implement additional published states

Added by krileon over 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
16 August 2021
Due date:
% Done:

100%

Estimated time:

Description

Currently something is unpublished or published. Implement additional values to cover additional cases. The following cases need to be covered.

Pending/Unapproved
User Blocked/Unapproved/Unconfirmed

The user blocked state will allow us to reverse their state. For example if the activity is published and the user becomes blocked switch their activity to the blocked state and if they become unblocked then reverse this back to published.

Actions #1

Updated by krileon over 1 year ago

  • % Done changed from 0 to 50
Actions #2

Updated by krileon over 1 year ago

  • Status changed from Assigned to Resolved
  • % Done changed from 50 to 100

Activity and Comments can now have the following states

0 = Unpublished
1 = Published
2 = Pending
3 = Reported (has reached the report threshold)
-1 = Published, but User is Blocked
-2 = Pending, but User is Blocked
-3 = Reported, but User is Blocked

For the negative value states when a users account is blocked their posts will (optionally) flip to a negative state and be hidden from everyone. When their account is unblocked it can safely revert the state.

Actions #3

Updated by krileon over 1 year ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF