Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
6a3ce66e
Commit
6a3ce66e
authored
Nov 12, 2018
by
Karl Hasselbring
Browse files
Merge with development
parents
7bb6479b
9d3367c9
Changes
3
Show whitespace changes
Inline
Side-by-side
app/Console/Kernel.php
View file @
6a3ce66e
...
...
@@ -2,6 +2,7 @@
namespace
App\Console
;
use
DB
;
use
Illuminate\Console\Scheduling\Schedule
;
use
Illuminate\Foundation\Console\Kernel
as
ConsoleKernel
;
...
...
@@ -25,6 +26,12 @@ class Kernel extends ConsoleKernel
protected
function
schedule
(
Schedule
$schedule
)
{
$schedule
->
command
(
'log:rotate'
)
->
everyTenMinutes
();
// Delete all of the old humanverification entries
$schedule
->
call
(
function
()
{
DB
::
delete
(
'DELETE FROM humanverification WHERE updated_at < (now() - interval 72 hour) AND whitelist = 0 ORDER BY updated_at DESC'
);
DB
::
delete
(
'DELETE FROM humanverification WHERE updated_at < (now() - interval 2 week) AND whitelist = 1 ORDER BY updated_at DESC'
);
})
->
everyThirtyMinutes
();
}
/**
...
...
resources/assets/less/metager/pages/resultpage/result-page.less
View file @
6a3ce66e
...
...
@@ -514,21 +514,30 @@ footer.resultPageFooter {
grid-template-areas: "results";
}
.metager3-unstable-warning
-resultpage
{
.metager3-unstable-warning {
text-align: center;
position: fixed;
bottom: 0;
margin-bottom: 0px;
width: 100%;
padding: 15px;
@media (max-width: @screen-mobile) {
padding: 5px;
}
}
.metager3-unstable-warning {
text-align: center;
position: fixed;
.metager3-unstable-warning-static-pages {
.metager3-unstable-warning;
top: 0;
width: 100%;
padding-right: 60px;
padding-left: 150px;
padding-right: 50px;
@media (max-width: @screen-mobile) {
padding: 5px;
padding-right: 50px;
}
}
.metager3-unstable-warning-resultpage {
.metager3-unstable-warning;
bottom: 0;
margin-bottom: 0px;
}
/* Settings button and checkboxes */
...
...
resources/views/layouts/staticPages.blade.php
View file @
6a3ce66e
...
...
@@ -33,7 +33,7 @@
</head>
<body>
@if(Request::getHttpHost() === "metager3.de")
<div
class=
"alert alert-info metager3-unstable-warning"
>
<div
class=
"alert alert-info metager3-unstable-warning
-static-pages
"
>
{!! @trans('resultPage.metager3') !!}
</div>
@endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment