Projects:Community Branding/Functional Documentation
Contents |
Community Branding - Functional Specifications
Overview
Purpose
The purpose of this project is to add a new frame on the home page of Openbravo with interesting information for users served by openbravo.com based on the version and edition of the instance. Each request to the community branding server will also store on butler an unskipable beat.
Design Considerations
Assumptions
- The content of the community branding will be served by butler.openbravo.com
- If the client's browser does not have Internet connection a static content served by the backend is shown.
Dependencies
- org.openbravo.butler module needs to be updated as well.
Constraints
- Fixed top area: openbravo logo -> right now it is configurable from System window -> risk of problem with sizes (use different boxes for the logo and the rest?)
Functional Requirements
Business process definition
Functional requirements based on business processes
The implementation has to be done on core and org.openbravo.butler modules:
requirements on core
Num | Requirement | Importance | Status |
---|---|---|---|
1.1 | Change Home.java servlet to show on an iframe the content of the community branding. On the home page it has to be shown as well the instance purpose, the version and the license type of the instance. If the browser has access to butler it will request to butler.openbravo.com the content, if not it will do the request to the backend. | Must have | Done |
1.2 | Create a new servlet to get the static content based on the version and license of the instance | Must have | Done |
1.3 | Add on the web the static html pages for 2.50 version and Community, Basic and Professional Editions. | Must have | Done |
1.4 | Add a flag on the System Info window to enable/disable the Community Branding for all roles different than System Administrator. Enabled by default. | Must have | Done |
1.5 | Create a new servlet to get the static content based on the version and license of the instance | Must have | Done |
1.6 | The request to butler in case the browser has internet connection has to include as parameters:
| Must have | Done |
1.7 | Modify org.openbravo.client.application and to request the my openbravo page from butler.openbravo.com when using 3.0 UI mode. | Must have | Done |
1.8 | Content served by butler should be cached for 1 day. | Must have | Done |
requirements on butler
Num | Requirement | Importance | Status |
---|---|---|---|
2.1 | Add a new servlet on org.openbravo.butler module to get the request from Openbravo instances for the community branding. | Must have | Done |
2.2 | The new servlet must redirect the corresponding Community Branding html based on the ui mode, version and license. | Must have | Done |
2.3 | The new servlet must log a community branding type beat on the heartbeat.
The information stored is:
| Must have | Done |
2.4 | Demo instances on demo.openbravo.com must have their own content. | Must have | Done |
2.5 | Add new htmls on apache for each version, license and uimode. Currently:
| Must have | Done |
2.6 | Add a new js file on apache to check from Openbravo if there is access to butler. | Must have | Done |
User interface mockups
Community branding image 2.50 ui:
Community branding image 3.0 ui: