Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp-module-proxystatistics
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp-module-proxystatistics
Commits
967e0312
Commit
967e0312
authored
7 years ago
by
Michal Procházka
Browse files
Options
Downloads
Patches
Plain Diff
Changes in captions.
parent
9e413645
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
www/graphs.php
+8
-6
8 additions, 6 deletions
www/graphs.php
www/summary.php
+4
-4
4 additions, 4 deletions
www/summary.php
www/tables.php
+7
-7
7 additions, 7 deletions
www/tables.php
with
19 additions
and
17 deletions
www/graphs.php
+
8
−
6
View file @
967e0312
...
...
@@ -6,7 +6,7 @@ include dirname(__DIR__)."/lib/Auth/Process/DatabaseCommand.php";
*/
?>
<h2>
All
logins
</h2>
<h2>
Number of
logins
</h2>
<div>
<script
type=
"text/javascript"
>
google
.
charts
.
load
(
'
current
'
,
{
'
packages
'
:[
'
corechart
'
,
'
controls
'
]});
...
...
@@ -33,7 +33,7 @@ include dirname(__DIR__)."/lib/Auth/Process/DatabaseCommand.php";
'
chartType
'
:
'
LineChart
'
,
'
containerId
'
:
'
line_div
'
,
'
options
'
:{
'
title
'
:
'
Login count
per
D
ay
'
,
'
title
'
:
'
Number of logins
per
d
ay
'
,
'
legend
'
:
'
none
'
}
});
...
...
@@ -51,7 +51,7 @@ include dirname(__DIR__)."/lib/Auth/Process/DatabaseCommand.php";
</div>
<h2>
Logins per IdP
</h2>
<h2>
Identity providers
</h2>
<div>
<script
type=
"text/javascript"
>
google
.
charts
.
load
(
'
current
'
,
{
'
packages
'
:[
'
corechart
'
]});
...
...
@@ -65,7 +65,8 @@ include dirname(__DIR__)."/lib/Auth/Process/DatabaseCommand.php";
]);
var
options
=
{
title
:
'
Login per IdP
'
title
:
'
Overall logins per identity provider
'
,
pieSliceText
:
'
value
'
};
var
chart
=
new
google
.
visualization
.
PieChart
(
document
.
getElementById
(
'
piechart
'
));
...
...
@@ -77,7 +78,7 @@ include dirname(__DIR__)."/lib/Auth/Process/DatabaseCommand.php";
<div
id=
"piechart"
style=
"width: 900px; height: 500px;"
></div>
</div>
<h2>
Access to the service
s
</h2>
<h2>
Service provider
s
</h2>
<div>
<script
type=
"text/javascript"
>
google
.
charts
.
load
(
'
current
'
,
{
'
packages
'
:[
'
corechart
'
]});
...
...
@@ -91,7 +92,8 @@ include dirname(__DIR__)."/lib/Auth/Process/DatabaseCommand.php";
]);
var
options
=
{
title
:
'
Access to services
'
title
:
'
Overall logins to service providers
'
,
pieSliceText
:
'
value
'
};
var
chart
=
new
google
.
visualization
.
PieChart
(
document
.
getElementById
(
'
piechart2
'
));
...
...
This diff is collapsed.
Click to expand it.
www/summary.php
+
4
−
4
View file @
967e0312
...
...
@@ -17,10 +17,10 @@ include dirname(__DIR__)."/lib/Auth/Process/DatabaseCommand.php";
data
.
addColumn
(
'
string
'
,
'
Name
'
);
data
.
addColumn
(
'
number
'
,
'
Count
'
);
data
.
addRows
([
[
'
Tota
l number of logins
'
,
<?php
DatabaseCommand
::
getCountOfAllLogins
()
?>
],
[
'
N
umber of
logins for today’
'
,
<?php
DatabaseCommand
::
getCountOfA
llLoginsForToday
()
?>
],
[
'
N
umber of
accessed Service
s
'
,
<?php
DatabaseCommand
::
getCountOf
AccesedServices
()
?>
],
[
'
Number of
used Idp
'
,
<?php
DatabaseCommand
::
getCountOf
UsedIdp
()
?>
]
[
'
Overal
l number of logins
'
,
<?php
DatabaseCommand
::
getCountOfAllLogins
()
?>
],
[
'
Total n
umber of
accessed service providers
'
,
<?php
DatabaseCommand
::
getCountOfA
ccesedServices
()
?>
],
[
'
Total n
umber of
used identity provider
s
'
,
<?php
DatabaseCommand
::
getCountOf
UsedIdp
()
?>
],
[
'
Number of
logins for today
'
,
<?php
DatabaseCommand
::
getCountOf
AllLoginsForToday
()
?>
]
]);
var
table
=
new
google
.
visualization
.
Table
(
document
.
getElementById
(
'
summaryTable
'
));
...
...
This diff is collapsed.
Click to expand it.
www/tables.php
+
7
−
7
View file @
967e0312
...
...
@@ -5,7 +5,7 @@ include dirname(__DIR__)."/lib/Auth/Process/DatabaseCommand.php";
*/
?>
<link
rel=
"stylesheet"
media=
"screen"
type=
"text/css"
href=
"
<?php
SimpleSAML_Module
::
getModuleUrl
(
'proxystatistics/statisticsproxy.css'
)
?>
"
/>
<h2>
All login
</h2>
<h2>
Number of logins per month
</h2>
<div
id=
"tableOfAllLogin"
>
<script
type=
"text/javascript"
>
google
.
charts
.
load
(
'
current
'
,
{
'
packages
'
:[
'
table
'
]});
...
...
@@ -31,7 +31,7 @@ include dirname(__DIR__)."/lib/Auth/Process/DatabaseCommand.php";
<h2>
A
ll login per
IdP
</h2>
<h2>
Overa
ll login
s
per
identity provider
</h2>
<div>
<script
type=
"text/javascript"
>
google
.
charts
.
load
(
'
current
'
,
{
'
packages
'
:[
'
table
'
]});
...
...
@@ -39,8 +39,8 @@ include dirname(__DIR__)."/lib/Auth/Process/DatabaseCommand.php";
function
drawTable
()
{
var
data
=
new
google
.
visualization
.
DataTable
();
data
.
addColumn
(
'
date
'
,
'
Date
'
);
data
.
addColumn
(
'
string
'
,
'
SourceIdp
'
);
data
.
addColumn
(
'
date
'
,
'
Month
'
);
data
.
addColumn
(
'
string
'
,
'
Identity provider
'
);
data
.
addColumn
(
'
number
'
,
'
Count
'
);
data
.
addRows
([
<?php
DatabaseCommand
::
getLoginCountPerDeyPerService
()
?>
]);
...
...
@@ -56,7 +56,7 @@ include dirname(__DIR__)."/lib/Auth/Process/DatabaseCommand.php";
<div
id=
"tablePerIdP"
></div>
</div>
<h2>
All access to the service
s
</h2>
<h2>
Overall logins to service provider
s
</h2>
<div>
<script
type=
"text/javascript"
>
google
.
charts
.
load
(
'
current
'
,
{
'
packages
'
:[
'
table
'
]});
...
...
@@ -64,8 +64,8 @@ include dirname(__DIR__)."/lib/Auth/Process/DatabaseCommand.php";
function
drawTable
()
{
var
data
=
new
google
.
visualization
.
DataTable
();
data
.
addColumn
(
'
date
'
,
'
Date
'
);
data
.
addColumn
(
'
string
'
,
'
Service
'
);
data
.
addColumn
(
'
date
'
,
'
Month
'
);
data
.
addColumn
(
'
string
'
,
'
Service
provider
'
);
data
.
addColumn
(
'
number
'
,
'
Count
'
);
data
.
addRows
([
<?php
DatabaseCommand
::
getAccessToServicesPerMonth
()
?>
]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment