Fantastic work on the module! I use it on most of the sites.

One of my clients reported seeing duplicate tweets when he added a node and then edited it later on. Digging into the module, I found that the tweets were made on the node update hook as well. This is not desirable, as every minor edit would trigger duplicates.

The attached patch makes tweeting on node update configurable. It is a minor change. I am not sure why the tests are failing. Might need manual review.

Thanks,
Sumit

Comments

sumitmadan’s picture

Status: Active » Needs review
StatusFileSize
new1.59 KB

Created a patch of a configuration. Please review.

Status: Needs review » Needs work

The last submitted patch, 1: make_configurable_of-2430229-1.patch, failed testing.

sumitmadan’s picture

Title: Make configurable of tweet on node updation » Tweeting on node update should be configurable
Issue summary: View changes
Status: Needs work » Needs review
damienmckenna’s picture

Version: 7.x-5.8 » 7.x-5.x-dev

damienmckenna’s picture

Assigned: sumitmadan » Unassigned

@sumitmadan: Thanks for the patch, I'll review it shortly.

One thing to note - please only set the "assigned" field to your name when you're continuing to work on something - it isn't for indicating who worked on something in the past, it's for indicating who's going to work on it in the future.

dries arnolds’s picture

Tested this on two websites and works fine.

damienmckenna’s picture

StatusFileSize
new3.64 KB

I've simplified it a little bit and made it follow the same pattern as the existing default value.

damienmckenna’s picture

Version: 7.x-5.x-dev » 6.x-5.x-dev
StatusFileSize
new2.71 KB

Ported to 6.x-5.x.

  • DamienMcKenna committed a56cd9c on 6.x-5.x
    Issue #2430229 by DamienMcKenna, sumitmadan: By default don't re-post...

  • DamienMcKenna committed fbb3d39 on
    Issue #2430229 by DamienMcKenna, sumitmadan: By default don't re-post...
damienmckenna’s picture

Status: Needs review » Fixed

I've committed this to 6.x-5.x and 7.x-5.x.

damienmckenna’s picture

Version: 6.x-5.x-dev » 7.x-6.x-dev
Status: Fixed » Patch (to be ported)
Related issues: -#2402309: Plan for Twitter v7.x-6.0 release

I'm removing it from the lineup for 7.x-6.0-rc1 as I need to re-think the settings form.

damienmckenna’s picture

I'm moving it to the goals list for 7.x-6.1.

damienmckenna’s picture

Component: Code » Twitter Post
damienmckenna’s picture

Version: 7.x-6.x-dev » 7.x-5.x-dev
Status: Patch (to be ported) » Fixed
Related issues: -#2551779: Plan for Twitter v7.x-6.1 release +#2461937: Twitter Post support for revisioning and unpublished nodes

Because of the different architecture between 7.x-5.x and 7.x-6.x, I'm moving this goal into a separate issue for 7.x-6.x (#2461937: Twitter Post support for revisioning and unpublished nodes) and closing this one.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.