Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish scheduling for nodes and module items #99

Merged
merged 20 commits into from
Jan 23, 2019

Conversation

holystix
Copy link
Contributor

@holystix holystix commented Jan 16, 2019

Updates Nodes to allow for publishing and unpublishing them at a set time.
Adds a checkbox to published nodes to allow for easy unpublishing.
Adds a model trait to easily implement this functionality in other modules.
Fixes issue where DateTime fields are automatically filled with current datetime without options for the developer or user to easily modify this behaviour.

@coveralls
Copy link

coveralls commented Jan 16, 2019

Coverage Status

Coverage decreased (-0.01%) to 2.137% when pulling fa8f6fd on holystix:publish_scheduling into 8910e13 on arbory:master.

src/Admin/Form/Fields/DateTime.php Outdated Show resolved Hide resolved
src/Admin/Form/Fields/Renderer/DateFieldRenderer.php Outdated Show resolved Hide resolved
src/Admin/Form/Fields/DateTime.php Outdated Show resolved Hide resolved
src/Nodes/Node.php Outdated Show resolved Hide resolved
src/Support/Activation/HasActivationDates.php Outdated Show resolved Hide resolved
@exabyssus exabyssus mentioned this pull request Jan 17, 2019
@exabyssus
Copy link
Contributor

This PR introduces braking changes by dropping Active column. Please set target as next Major release 1.0.0 (branch 0.3).

@exabyssus exabyssus self-assigned this Jan 23, 2019
@holystix holystix changed the base branch from master to 0.3 January 23, 2019 15:23
@holystix holystix changed the base branch from 0.3 to 1.0 January 23, 2019 15:50
@exabyssus exabyssus merged commit 7dd117e into arbory:1.0 Jan 23, 2019
rerzy pushed a commit to rerzy/arbory that referenced this pull request Mar 7, 2019
Change Nodes active property from bool to time based (activated_at, expire_at)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants