Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Poduptime
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
diasporg
Poduptime
Commits
eb27b372
Commit
eb27b372
authored
Aug 07, 2014
by
dmorley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
just some clean up
parent
576755ef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
db/pull.php
db/pull.php
+4
-4
index.php
index.php
+1
-1
js/podup.js
js/podup.js
+1
-0
No files found.
db/pull.php
View file @
eb27b372
...
...
@@ -96,8 +96,8 @@ unset($xdver);
curl_setopt
(
$chss
,
CURLOPT_URL
,
"https://"
.
$domain
.
"/statistics.json"
);
curl_setopt
(
$chss
,
CURLOPT_POST
,
0
);
curl_setopt
(
$chss
,
CURLOPT_HEADER
,
1
);
curl_setopt
(
$chss
,
CURLOPT_CONNECTTIMEOUT
,
5
);
curl_setopt
(
$chss
,
CURLOPT_TIMEOUT
,
5
);
curl_setopt
(
$chss
,
CURLOPT_CONNECTTIMEOUT
,
1
5
);
curl_setopt
(
$chss
,
CURLOPT_TIMEOUT
,
1
5
);
curl_setopt
(
$chss
,
CURLOPT_RETURNTRANSFER
,
1
);
curl_setopt
(
$chss
,
CURLOPT_NOBODY
,
0
);
$outputssl
=
curl_exec
(
$chss
);
...
...
@@ -107,8 +107,8 @@ unset($xdver);
curl_setopt
(
$ch
,
CURLOPT_URL
,
"http://"
.
$domain
.
"/statistics.json"
);
curl_setopt
(
$ch
,
CURLOPT_POST
,
0
);
curl_setopt
(
$ch
,
CURLOPT_HEADER
,
1
);
curl_setopt
(
$ch
,
CURLOPT_CONNECTTIMEOUT
,
5
);
curl_setopt
(
$ch
,
CURLOPT_TIMEOUT
,
5
);
curl_setopt
(
$ch
,
CURLOPT_CONNECTTIMEOUT
,
1
5
);
curl_setopt
(
$ch
,
CURLOPT_TIMEOUT
,
1
5
);
curl_setopt
(
$ch
,
CURLOPT_RETURNTRANSFER
,
1
);
curl_setopt
(
$ch
,
CURLOPT_NOBODY
,
0
);
$output
=
curl_exec
(
$ch
);
...
...
index.php
View file @
eb27b372
...
...
@@ -84,7 +84,7 @@ if ($detect->isMobile()) {echo '<link rel="stylesheet" href="css/mobile.css" />'
Its easy start monitoring on your pod with a free
<a
href=
"https://uptimerobot.com"
target=
"new"
>
Uptime Robot
</a>
account.
<br>
Create a monitor for your pod, then in "My Settings" create a monitor-specific API key and paste below.
<br>
<br><form
action=
"db/add.php"
method=
"post"
>
Monitor API Key:
<input
type=
"text"
name=
"url"
class=
"xlarge span8"
placeholder=
"m58978-80abdb799f6ccf15e3e4ttwe"
><br>
Monitor API Key:
<input
type=
"text"
name=
"url"
class=
"xlarge span8"
placeholder=
"m58978-80abdb799f6ccf15e3e4ttwe"
>
(don't copy the period on the end)
<br>
Pod domainname:
<input
type=
"text"
name=
"domain"
class=
"xlarge span4"
placeholder=
"domain.com"
><br>
Your Email:
<input
type=
"text"
name=
"email"
class=
"xlarge span4"
placeholder=
"user@domain.com"
><br>
<input
type=
"submit"
value=
"submit"
>
...
...
js/podup.js
View file @
eb27b372
...
...
@@ -10,6 +10,7 @@ function map() {
map
.
addLayer
(
new
OpenLayers
.
Layer
.
OSM
());
map
.
addControl
(
new
OpenLayers
.
Control
.
LayerSwitcher
());
var
layer
=
new
OpenLayers
.
Layer
.
GeoRSS
(
"
Diaspora Pods
"
,
"
/api.php?key=4r45tg&format=georss
"
);
//map.popupSize(2,2);
map
.
addLayer
(
layer
);
map
.
zoomTo
(
2
);
}
...
...
Write
Preview
Markdown
is supported
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