Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

auto_publish and redit_time setting

#103

Originally posted on Trac by gaspard Original Trac Ticket

 Description (Last modified by gaspard)

Add a site level setting auto_publish to automatically publish redactions on save (useful for intranet/app behavior where publish states are not needed).

We should also add a redit_time setting to set the minimum time between versions: a user that saves a redaction that should auto_publish (either by v_status attribute or site.auto_publish) and is less then x minutes older then the last published version will not create a new version but will update the last version (if he is the author). This lets users publish successive updates without creating tons of versions. A good default redit_time could be 30 minutes.

The redit_time setting is also useful to avoid tons of versions with the one clic actions (#88).

Trac Attachments

Trac Comments

2008-01-30 11:36:05 changed by gaspard

status changed from new to assigned.

description changed.

status changed from new to assigned.

description changed.

2008-01-30 12:01:58 changed by gaspard

description changed.

description changed.

2008-01-30 14:36:30 changed by gaspard

(In [828]) Added migration for site settings 'redit_time', 'auto_publish'. Refs #103 auto_publish and redit_time setting

2008-01-31 01:27:28 changed by gaspard

(In [830]) Implemented auto_publish and redit_time site settings. These settings can be used to hide the publication mechanism and avoid generating tons of versions through zafu edits with auto publish (see #88 simple actions (flag, link)). Closes #103 auto_publish and redit_time setting.

status changed from assigned to closed.

resolution set to fixed.

(In [830]) Implemented auto_publish and redit_time site settings. These settings can be used to hide the publication mechanism and avoid generating tons of versions through zafu edits with auto publish (see #88 simple actions (flag, link)). Closes #103 auto_publish and redit_time setting.

status changed from assigned to closed.

resolution set to fixed.

2008-01-31 14:31:15 changed by gaspard

It could be better to set this value on a section basis. If NULL, the setting is inherited from the site setting. A new section inherits the setting from it's parent section.

status changed from closed to reopened.

estimatedhours changed from 2 to 4.

resolution deleted.

It could be better to set this value on a section basis. If NULL, the setting is inherited from the site setting. A new section inherits the setting from it's parent section.

status changed from closed to reopened.

estimatedhours changed from 2 to 4.

resolution deleted.

2008-02-01 17:05:54 changed by gaspard

We keep it a site-wide setting and use the syntax in zafu.

2008-02-01 17:23:18 changed by gaspard

status changed from reopened to closed.

resolution set to fixed.

status changed from reopened to closed.

resolution set to fixed.

Reported by Gaspard Bucher · September 3rd, 2008 @ 03:05 PM

State: resolved
Milestone: 1.0
Assigned to: Gaspard Bucher Gaspard Bucher

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.