This removes api authentification with token in favor of signature method. Refactorize code and clean up. It add more unit test plus code coverage in test/converage. - Added config.api.timestampTimeout - Added Helper::signRequest This calculates the request signature - Added more unit tests and extend code coverage. - Added rate limiter for web routes - Added RemoveSpaces Sanitizer on api requests - Added stress test suite - Changed AuthServiceProvider api-token to api-hmac - Changed CustomerSeeder to have at least of customer activated (for unit tests) - Changed used transation for saveing multiple models - Changed, in ServiceController generateApiToken to generateServicePassword - Changed, timestamp has to be send in request with a DateTime format, it also has to a UTC value - Composer added brianium/paratest - Composer update - Fixed case where removing single optin could be the wrong one (not for the good service) - Fixed customer delete - Fixed customer would not be resolved by brand. - Fixed Really check that request is json checking body content, preventing sending malformed requests - Remove ApiError::needAuth - Removed api_token - Removed ApiController::authenticate - Removed config.api.tokenTimeout - Removed Header check or usage because of HAProxy doing weird stuff - Removed lock files from gitignore - Removed memcached dependency - Removed unused questions resources api routes - Removed workspace file Migrations - Added unique index on services.bearer_token - Changed customer_id on customer_answer is nullable - Changed services.bearer_pwd length to 312 (the size of the token) - Dropped services.api_token and service.api_token_date
127 lines
2 KiB
CSS
Vendored
127 lines
2 KiB
CSS
Vendored
body {
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.popover {
|
|
max-width: none;
|
|
}
|
|
|
|
.octicon {
|
|
margin-right:.25em;
|
|
}
|
|
|
|
.table-bordered>thead>tr>td {
|
|
border-bottom-width: 1px;
|
|
}
|
|
|
|
.table tbody>tr>td, .table thead>tr>td {
|
|
padding-top: 3px;
|
|
padding-bottom: 3px;
|
|
}
|
|
|
|
.table-condensed tbody>tr>td {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.table .progress {
|
|
margin-bottom: inherit;
|
|
}
|
|
|
|
.table-borderless th, .table-borderless td {
|
|
border: 0 !important;
|
|
}
|
|
|
|
.table tbody tr.covered-by-large-tests, li.covered-by-large-tests, tr.success, td.success, li.success, span.success {
|
|
background-color: #dff0d8;
|
|
}
|
|
|
|
.table tbody tr.covered-by-medium-tests, li.covered-by-medium-tests {
|
|
background-color: #c3e3b5;
|
|
}
|
|
|
|
.table tbody tr.covered-by-small-tests, li.covered-by-small-tests {
|
|
background-color: #99cb84;
|
|
}
|
|
|
|
.table tbody tr.danger, .table tbody td.danger, li.danger, span.danger {
|
|
background-color: #f2dede;
|
|
}
|
|
|
|
.table tbody tr.warning, .table tbody td.warning, li.warning, span.warning {
|
|
background-color: #fcf8e3;
|
|
}
|
|
|
|
.table tbody td.info {
|
|
background-color: #d9edf7;
|
|
}
|
|
|
|
td.big {
|
|
width: 117px;
|
|
}
|
|
|
|
td.small {
|
|
}
|
|
|
|
td.codeLine {
|
|
font-family: "Source Code Pro", "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
td span.comment {
|
|
color: #888a85;
|
|
}
|
|
|
|
td span.default {
|
|
color: #2e3436;
|
|
}
|
|
|
|
td span.html {
|
|
color: #888a85;
|
|
}
|
|
|
|
td span.keyword {
|
|
color: #2e3436;
|
|
font-weight: bold;
|
|
}
|
|
|
|
pre span.string {
|
|
color: #2e3436;
|
|
}
|
|
|
|
span.success, span.warning, span.danger {
|
|
margin-right: 2px;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
#classCoverageDistribution, #classComplexity {
|
|
height: 200px;
|
|
width: 475px;
|
|
}
|
|
|
|
#toplink {
|
|
position: fixed;
|
|
left: 5px;
|
|
bottom: 5px;
|
|
outline: 0;
|
|
}
|
|
|
|
svg text {
|
|
font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, Helvetica, sans-serif;
|
|
font-size: 11px;
|
|
color: #666;
|
|
fill: #666;
|
|
}
|
|
|
|
.scrollbox {
|
|
height:245px;
|
|
overflow-x:hidden;
|
|
overflow-y:scroll;
|
|
}
|
|
|
|
table + .structure-heading {
|
|
border-top: 1px solid lightgrey;
|
|
padding-top: 0.5em;
|
|
}
|