View Issue Details

IDProjectCategoryView StatusLast Update
0009021mantisbtplug-inspublic2009-06-23 15:29
Reportervboctor Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Target Version1.2.0rc1 
Summary0009021: Twitter clone inside Mantis for team updates
Description

Twitter is a cool way for people to know what their friends or the people they are following are up to. It would be useful for a collaborating team to do the same. Such teams may not want such updates to be public and hence can't use Twitter. The idea here is to develop a Mantis 1.2.x plugin that provides such functionality.

Attached is the implementation of such plugin, which works with the latest development version of Mantis. This issue will be used to track work on this plugin.

Feedback on the feature is welcome.

TagsNo tags attached.
Attached Files
ManTweet.zip (16,988 bytes)
ManTweet_20080624.zip (19,638 bytes)

Activities

vboctor

vboctor

2008-06-25 03:41

manager   ~0018178

Added ManTweet_20080624 which has the following fixes:

  1. Trim strings before posting them.
  2. If string is blank, trigger an error, rather than add an empty post.
  3. Add a configuration page for the plugin.
  4. If the logged in user doesn't have access, then hide the menu option.
  5. Added a configuration threshold that specifies what access level is required to publish updates to the public Twitter account (default NOBODY).
vboctor

vboctor

2008-06-25 03:42

manager   ~0018179

By the way, the plugin source code is hosted at the following location:
http://github.com/vboctor/mantis-plugins/tree/master

jreese

jreese

2008-06-26 14:25

reporter   ~0018193

Last edited: 2008-06-26 14:26

As reported by paulr, there was a Javascript error in ManTweet. For any user that did not have access to submit a tweet, the auto-focus script attemted to execute the focus() method of a non-existent DOM object. This was fixed in Git by wrapping the auto-focus in a conditional.

See revision 9fcc7d: http://github.com/vboctor/mantis-plugins/commit/9fcc7d70e768bc0fc8d413569968d6cc5a41899b

Edit: the JS error would not show up in Firefox, but I was able to replicate it in IE when not logged in and visiting http://bugs.mantisbt.org

vboctor

vboctor

2008-06-27 03:41

manager   ~0018198

Thanks jreese. I've updated ManTweet on this bug tracker with your fix. Thanks.