Skip to content

Commit

Permalink
Issue #11576: New and improved admin/check.php functionality
Browse files Browse the repository at this point in the history
The existing check.php in the admin/ directory is outdated and of poor
quality to users. This check script needed a complete rewrite from
scratch to make it more user friendly, provide a wider range of checks
and have improved grammar/descriptions to make the test results easier
for users to digest.

The new check system is modular in nature so that it is easy to find and
add checks in the future as the MantisBT project grows. Thus it is
possible to include some of these "modules" in other administration
scripts (such as the installer).

Most of the old checks are carried over (with some deliberately left
out) and many new checks have been added.

This new system also includes a MantisBT installation integrity checker
that determines the hash of each file in a MantisBT installation to see
if it originates from an official release. This functionality makes it
easier for users to recognise failed upgrades (where new files haven't
overwritten old ones). More importantly, it is hoped that this
functionality can reduce the number of invalid bug reports at
mantisbt.org/bugs due to people making errors with custom "hard hacks"
to their MantisBT installations.
  • Loading branch information
davidhicks committed Mar 1, 2010
1 parent 0e5ad6c commit ba97560
Show file tree
Hide file tree
Showing 19 changed files with 1,645 additions and 447 deletions.
90 changes: 84 additions & 6 deletions admin/admin.css
@@ -1,10 +1,90 @@
body { background-color: #ffffff; font-family:Verdana, Arial; font-size: 10pt }
table {
border-collapse: collapse;
margin-left: auto;
margin-right: auto;
}

td { font-family:Verdana, Arial; font-size: 10pt }
td {
border-style: solid;
border-width: 1px;
border-color: black;
padding-left: 0.5em;
padding-right: 0.5em;
padding-top: 0.5ex;
padding-bottom: 0.5ex;
}

p { font-family:Verdana, Arial; font-size: 10pt }
.thead1 {
background-color: #8694c6;
}

.title { font-family:Verdana, Arial; font-size: 12pt; color: #000000; font-weight: bold; }
.thead2 {
background-color: #a5afd4;
}

.description1 {
background-color: #e8e8e8;
}

.description2 {
background-color: #f0f0f0;
}

.info1 {
background-color: #cccccc;
}

.info2 {
background-color: #dfdfdf;
}

.pass1 {
background-color: #96d063;
}

.pass2 {
background-color: #73ab43;
}

.warn1 {
background-color: #eede7d;
}

.warn2 {
background-color: #edbe38;
}

.fail1 {
background-color: #d97289;
}

.fail2 {
background-color: #d54565;
}

.error {
background-color: #fb4444;
}

.notice {
text-align: center;
padding-left: 2em;
padding-right: 2em;
padding-top: 2ex;
padding-bottom: 2ex;
border-style: solid;
border-width: 1px;
border-color: black;
}

#mantisbt-header-logo {
text-align: center;
}


#check-results {
width: 100%;
}

tr.top-bar { background-color: #98b8e8; padding: 3px; padding: 3px; color: #204888 }

Expand All @@ -23,5 +103,3 @@ table.width100 { width: 100%; border: solid 1px #000000; }
table.width50 { width: 50%; border: solid 1px #000000; }

td.center { text-align: center; }

.error { background-color: red; color: black; }

0 comments on commit ba97560

Please sign in to comment.