1. ZenTao API development guides
- 1.1 Configuration and FAQ
- 1.2 Examples of the calling SDK
- 1.3. Department interface
- 1.4. User interface
- 1.5. Product interface
- 1.6. Project interface
- 1.7. Task interface
- 1.8. Bug interface
2. ZenTao API documents (V1.0)
- 2.1.1 Get Token
- 2.2. Department
- 2.3. User
- 2.4. Program
- 2.5. Product
2.6. Product plan
- 2.6.1 Get the list of product plans
- 2.6.2 Create plans
- 2.6.3 Get plan details
- 2.6.4 Edit plans
- 2.6.5 Delete plans
- 2.6.6 Link the stories to the product plan
- 2.6.7 Cancel the link between the product plans and stories
- 2.6.8 Link the bugs to the product plan
- 2.6.9 Cancel the link between the product plan and bugs
- 2.7. Release
- 2.8. Story
- 2.9. Project
- 2.10. Build
- 2.11. Execution
- 2.12. Task
- 2.13. Bug
- 2.14. Use case
- 2.15. Test request
- 2.16. Feedback
- 2.17. Ticket
- 2.1. Token
3. Customized development
- 3.1 Secondary development mechanism
- 3.2 The directory structure of ZenTao
- 3.3 Find your target file to be modified
- 3.4 The database structure of ZenTao
- 3.5 Public module - common
- 3.6 How to register on menu
- 3.7 How to register on permission
- 3.8 Example: how to modify the prompt
- 3.9 Example: priority field setting when creating bugs
- 3.10 The online extension editor
- 3.11 Secondary development editor and translation function restrictions instructions
- 3.12 ZenTao project management software packaging specification (V1.1)
1. Top-level directory structure
- "bin" is where the command line scripts for ZenTao are stored.
- "config" is where the main configuration file and database configuration file for running ZenTao are stored.
- "db" is where the sql files of each version are stored and the sql files that need to be executed when upgrading the version.
- "framework" is where the core files of ZenTaoPHP are stored.
- "lib" is for class library files and basic files. Such as database access, sending emails, data verification, etc.
- "module" is where the specific modules are stored. ZenTao currently has more than 30 modules.
- "tmp" is where the temporary files are stored while the ZenTao program is running.
- "www" is for the website directory including js files, picture files, entrance program of ZenTao, and index.php.
- "data" is where the upload attachments are stored.
- "fushioncharts" is where the flash files needed by the report solution.
- "js" is where the various jquery plugins and corresponding functions used by ZenTao are stored.
- "theme" is where the style sheets are stored.
- "index.php" is the entrance program of the whole ZenTao, and all the requests come in through this program.
- "install.php" is the installation program.
- "upgrade.php" is the upgrading program, and every time when we upgrade ZenTao we need to access this file.
- ".htaccess" and "".ztaccess" files are configuration files used by apache. You can configure ZenTao to use static access with the rewrite module open.
There are more than 30 modules in total under the "module" directory, each corresponding to a particular functional module in ZenTao. The entire functionality of ZenTao is a combination of these modules. Now let's check a specific module.
- "lang" is where the language files for the current module are stored. "zh-cn" is for simplified Chinese, "zh-tw" is for the traditional Chinese, and so on. If you need to change the name or configuration of certain fields inside ZenTao, you need to open the corresponding file to make the changes.
- "view" is where the template files for each page are stored. Such as the bug browsing page, its corresponding template is "browse.html.php".
- "config.php" is where the configuration items for the current module are stored.
- "control.php" is the entrance for all pages in the bug module. In other words, all bug-related pages browsing can be found the corresponding method definitions in this file.
- "model.php" is a list of methods for bug-related database operations.