diff options
author | mkanat%bugzilla.org <> | 2009-01-22 05:08:35 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-01-22 05:08:35 +0100 |
commit | c7b2b76566b8258c676967537986e996c17c3d8d (patch) | |
tree | ead1d770b601720c2aac9bdfc3133cd56071d694 /Bugzilla/Constants.pm | |
parent | fdfe948ab5eea11a0ce98b84044308a6f95adfa0 (diff) | |
download | bugzilla-c7b2b76566b8258c676967537986e996c17c3d8d.tar.gz bugzilla-c7b2b76566b8258c676967537986e996c17c3d8d.tar.xz |
Bug 472872: Add a field where people can put the URLs to Bugzilla bugs (from any Bugzilla installation)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index d93f91271..1105c27dc 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -124,6 +124,7 @@ use File::Basename; FIELD_TYPE_TEXTAREA FIELD_TYPE_DATETIME FIELD_TYPE_BUG_ID + FIELD_TYPE_BUG_URLS USAGE_MODE_BROWSER USAGE_MODE_CMDLINE @@ -156,6 +157,7 @@ use File::Basename; MAX_COMPONENT_SIZE MAX_FIELD_VALUE_SIZE MAX_FREETEXT_LENGTH + MAX_BUG_URL_LENGTH PASSWORD_DIGEST_ALGORITHM PASSWORD_SALT_LENGTH @@ -361,6 +363,7 @@ use constant FIELD_TYPE_MULTI_SELECT => 3; use constant FIELD_TYPE_TEXTAREA => 4; use constant FIELD_TYPE_DATETIME => 5; use constant FIELD_TYPE_BUG_ID => 6; +use constant FIELD_TYPE_BUG_URLS => 7; # The maximum number of days a token will remain valid. use constant MAX_TOKEN_AGE => 3; @@ -447,6 +450,9 @@ use constant MAX_FIELD_VALUE_SIZE => 64; # Maximum length allowed for free text fields. use constant MAX_FREETEXT_LENGTH => 255; +# The longest a bug URL in a BUG_URLS field can be. +use constant MAX_BUG_URL_LENGTH => 255; + # This is the name of the algorithm used to hash passwords before storing # them in the database. This can be any string that is valid to pass to # Perl's "Digest" module. Note that if you change this, it won't take |