Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@151 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
Kenzaburo Ito committed Feb 4, 2001
1 parent 19e6660 commit 2762752
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 19 deletions.
38 changes: 33 additions & 5 deletions ChangeLog
Expand Up @@ -2,15 +2,43 @@ Mantis

To Do:

* Add emailing module
* Add ip tracking/banning capability
* Search bugs capability
* Add file upload module
* Add postgreSQL support and/or a Database abstraction layer (PHPLib)
* Make priority, projection, eta useful
* Search bugs capability
* Add glyphs and icons as optional display feature
* Userland partitioning for multiple projects
* Add ip tracking/banning capability
* Add postgreSQL support and/or a Database abstraction layer (PHPLib)
* More documentation on installation, configuration, and customization
* Multiple project support with userland partitioning

02.05.2001 - 0.14.0

* Fixed error in print_html_bottom
* Fixed error in db_upgrade.sql, changed "need info" to "feedback"
* Fixed bug_update where resolution was being set to blank
* Added summary by assignee
* Added one click "Assign to Me"
* Added corresponding bug_assign.php3 file, global, and string variables
* Added $g_content_expire for META tag
* Added direct "assign to" in advanced bug report
* Added view by assignee
* Added view by reporter
* Added method for users to create their own accounts
* Added better error handling for db_connect and db_result
* Added remember view settings
* Added bold indicator when a bugnote has been added
* Added maxlength= to all input types
* Added some bug info at the top of the bugnote add page
* Added login_count field to user_table
* Left aligned Summary
* Reset password now emails a randomly generated password to user
* Created date format global variables
*   is echoed when the bugnote count is 0 (Netscape problem)
* Tweaked css_inc.php
* Tweaked the bug list view for better indication of which view the user
is viewing
* Removed cols=7 in the view bug in list form pages (Netscape problem)
* Removed mysql_error_page and references

12.26.2000 - 0.13.1

Expand Down
3 changes: 1 addition & 2 deletions INSTALL
Expand Up @@ -87,5 +87,4 @@ result the crypt() funtion may not work properly.
http://www.mysql.com/ - good documentation.
http://www.phpwizard.net/ - an excellent web front end to mysql.
http://www.php.net/ - excellent documentation.
http://www.apache.org/ - you should be able to find what you need, I hope.
http://www.phpwizard.net/ - phpMyAdmin: a web based front end to mysql.
http://www.apache.org/ - you should be able to find what you need, I hope.
15 changes: 14 additions & 1 deletion db_generate.sql
Expand Up @@ -141,4 +141,17 @@ CREATE TABLE mantis_user_pref_table (
PRIMARY KEY (id)
);

INSERT INTO mantis_user_pref_table VALUES ( '0000000001', '0000000001', '', '');
INSERT INTO mantis_user_pref_table VALUES ( '0000000001', '0000000001', '', '');

#
# Table structure for table 'mantis_projects_table'
#

CREATE TABLE mantis_projects_table (
id int(10) unsigned zerofill DEFAULT '0000000000' NOT NULL auto_increment,
name varchar(128) NOT NULL,
status enum('active','development','closed') DEFAULT 'active' NOT NULL,
description text NOT NULL,
PRIMARY KEY (id),
KEY id (id)
);
77 changes: 66 additions & 11 deletions db_upgrade.sql
@@ -1,10 +1,9 @@
#
# Run this to upgrade your bugtracker
# It might complain if the change was already made but no big deal.
# Double check any errors to make sure that it wasn't another problem

# Run these queries to upgrade your bugtracker
#
# mysql -u<username> -p<password> <databasename> < db_upgrade.sql

# Here's the basic command to login to your database via telnet/ssh.
# mysql -u<username> -p<password> <databasename>
#

# =================
Expand All @@ -22,14 +21,14 @@ ALTER TABLE mantis_user_table ADD protected VARCHAR (3) not null;

# inserted feedback as a status

ALTER TABLE mantis_bug_table CHANGE status status ENUM ('new','need info',
ALTER TABLE mantis_bug_table CHANGE status status ENUM ('new','feedback',
'acknowledged','confirmed','assigned','resolved') DEFAULT 'new' not null;

# New user profile tables

CREATE TABLE mantis_user_profile_table (
id int(10) unsigned zerofill DEFAULT '0000000000' NOT NULL auto_increment,
user_id int(10) unsigned zerofill DEFAULT '0000000000' NOT NULL,
id int(7) unsigned zerofill DEFAULT '0000000000' NOT NULL auto_increment,
user_id int(7) unsigned zerofill DEFAULT '0000000000' NOT NULL,
platform varchar(32) NOT NULL,
os varchar(32) NOT NULL,
os_build varchar(16) NOT NULL,
Expand All @@ -45,8 +44,8 @@ ALTER TABLE mantis_bug_table CHANGE version version ENUM ('none') not null;
# New table for default user preferences

CREATE TABLE mantis_user_pref_table (
id int(10) unsigned zerofill DEFAULT '0000000000' NOT NULL auto_increment,
user_id int(10) unsigned zerofill DEFAULT '0000000000' NOT NULL,
id int(7) unsigned zerofill DEFAULT '0000000000' NOT NULL auto_increment,
user_id int(7) unsigned zerofill DEFAULT '0000000000' NOT NULL,
advanced_report char(3) NOT NULL,
advanced_view char(3) NOT NULL,
PRIMARY KEY (id)
Expand All @@ -58,4 +57,60 @@ CREATE TABLE mantis_user_pref_table (

# Add a new field to store profile descriptions

ALTER TABLE mantis_bug_table ADD profile_id INT UNSIGNED ZEROFILL not null AFTER votes
ALTER TABLE mantis_bug_table ADD profile_id INT (7) UNSIGNED ZEROFILL not null AFTER votes

# =================
# 0.12.x to 0.14.0
# =================

#
# Table structure for table 'mantis_projects_table'
#
# Supports multiple projects

CREATE TABLE mantis_project_table (
id int(7) unsigned zerofill DEFAULT '0000001' NOT NULL auto_increment,
name varchar(128) NOT NULL,
status enum('development','release','stable','obsolete') DEFAULT 'development' NOT NULL,
enabled char(3) NOT NULL,
view_state set('public','private') DEFAULT 'public' NOT NULL,
description text NOT NULL,
PRIMARY KEY (id),
KEY id (id)
);

INSERT INTO mantis_project_table VALUES ( '0000001', 'mantis', 'development', 'on', 'public', 'Mantis. Report problems with the actual bug tracker here. (Do not remove this account. You can set it to be disabled if you do not wish to see it)');

#
# Table structure for table 'mantis_project_category_table'
#

CREATE TABLE mantis_project_category_table (
project_id int(7) unsigned zerofill DEFAULT '0000000' NOT NULL,
category varchar(32) NOT NULL
);

#
# Table structure for table 'mantis_project_version_table'
#

CREATE TABLE mantis_project_version_table (
project_id int(7) unsigned zerofill DEFAULT '0000000' NOT NULL,
version varchar(32) NOT NULL
);

# Add new project_id fields for our tables

ALTER TABLE mantis_bug_table ADD project_id INT (7) UNSIGNED ZEROFILL not null AFTER id;
ALTER TABLE mantis_news_table ADD project_id INT (7) UNSIGNED ZEROFILL not null AFTER id;
ALTER TABLE mantis_user_pref_table CHANGE project_id default_project_id INT (7) UNSIGNED ZEROFILL DEFAULT '0000000000' not null;

# make changes to bug_table

ALTER TABLE mantis_bug_table CHANGE category category VARCHAR (32) not null;
ALTER TABLE mantis_bug_table CHANGE version version VARCHAR (32) DEFAULT 'none' not null

# make changes to user_table

ALTER TABLE mantis_user_table ADD login_count INT not null DEFAULT '0' AFTER access_level;
ALTER TABLE mantis_user_table CHANGE access_level access_level ENUM ('viewer','reporter','updater','developer','manager','administrator') DEFAULT 'viewer' not null

0 comments on commit 2762752

Please sign in to comment.