Labs/Bespin/Bespin Gallery
Jump to navigation
Jump to search
The Bespin Gallery is a website where plugins for the Bespin project are stored and displayed.
The following page will contain documentation and business rules for the Bespin Gallery.
The url for the site will be http://bespinplugins.mozillalabs.com
Home Page
- Editors Picks
- An admin may hand-select 3 Plugins to feature on the homepage. The Plugins must have been submitted by an active user and have a status of 1.
- May be selected at http://bespinplugins.mozillalabs.com/admin/plugins_editor_picks
- Top * Lists
- Top Plugins - The 10 most downloaded plugins.
- Top Contributors - The 10 people who have committed the most plugins.
- Top Reviews - The 10 reviews that have been declared the most helpful. Must have at least a 50% helpful percentage and must have been voted on at least twice.
Admin
- The admin section is available at http://bespinplugins.mozilla.com/admin
- A user must be logged-in and must have been granted admin access in order to see any of the pages found within this section.
Contributors
- A member of the Bespin Gallery will be identified throughout the site as a Contributor.
- Username supports characters a-z A-Z 0-9 and "_".
- All uppercase characters found within the username will be converted to lowercase characters upon account creation.
- Username must be between 4-32 characters in length.
- Username must be unique; another user on the site cannot have that same Username.
- Passwords must be between 6-42 characters in length.
- Email address must be unique - another user on the site cannot have that email address.
- Verified will be set to 0 if the user has not verified their email address.
- All users who have not verified their email address within 24 hours will be deleted. Garbage collection happens randomly through the Auth Verification model.
- User Status will be set to 1 if the user has any associated login roles. User Status will be set to 0 if the user does not have any associated login roles.
- In order to login, user must have a Verified = 1, Status = 1, and must have an associated login role.
- Users may be designated as site admins through the User admin screen.
- A user cannot voluntary delete their account.
- Users can be edited at http://jetpack.stage.mozilla.com/admin/users
- Users may update their profiles and allow logged-in site users to view their email address, so that the users may contact the developer directly.
Licenses
- Each Plugin must have a license associated with it.
- The user may select a custom license, by filling in the License Other field when submitting their Plugin. When this happens, this Plugin will receive a license_id of 999, which signifies that Plugin Gallery should look at the "license_other" field.
- Licenses can be added and edited at http://bespinplugins.mozillalabs.com/admin/licenses
Plugins
Tags
- Tags may be added to any Plugin.
- The Plugin owner may add, edit and delete tags for a Plugin.
- Tags support characters a-z A-Z and 0-9.
- Spaces, punctuation and all other unsupported characters will be removed when a user adds tags.
- Tags may be from 1 character to 24 characters in length.
- Double quotation marks must be used to add a single tag containing multiple words.
- Adding the tags `red blue "primary colors"` will result in 3 tags being added: `red`, `blue` and `primarycolors`.
- Admins may remove tags from individual plugins via the Plugin Admin page.
- Admins may edit and/or remove specific tags from the site in the Tags Admin page at http://bespinplugins.mozillalabs.com/admin/tags
Popular Tags Graph
- The popular tags graph displays the 10 tags that have been used the most for Plugins across the site.
- The graph displays the most popular of the 10 tags at the top of the graph and the least popular of the 10 tags at the bottom of the graph.