Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 в таблицах с сотрировкой + сбор произвольных кодов ошибок #113

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/parameters.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ db:
base_url: /
#base_url: /pinboard/
#base_url: http://your-host.com/pinboard
min_error_code: 302
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Необходимо по умолчанию сохранить старое поведение. Здесь должно быть 500.

logging:
# in seconds
long_request_time:
Expand Down
4 changes: 2 additions & 2 deletions src/Pinboard/Command/AggregateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
FROM
request
WHERE
status >= 500
status >= '.$this->params['min_error_code'].'
GROUP BY
server_name, hostname, script_name
LIMIT
Expand Down Expand Up @@ -762,4 +762,4 @@ private function sendBorderOutEmails($data)

unset($message);
}
}
}
8 changes: 4 additions & 4 deletions web/css/tableStyle.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
/* tables */
table.tablesorter thead tr .header {
background-image: url(/img/bg.gif);
background-image: url(../img/bg.gif);
background-repeat: no-repeat;
background-position: center right;
cursor: pointer;
vertical-align: middle;
}

table.tablesorter thead tr .headerSortUp {
background-image: url(/img/asc.gif);
background-image: url(../img/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
background-image: url(/img/desc.gif);
background-image: url(../img/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #C1DBE9;
}
}