Skip to content

Commit eef05ab

Browse files
committed
Add Telescope Developer login account and blog for local dev
1 parent db06785 commit eef05ab

6 files changed

Lines changed: 93 additions & 0 deletions

File tree

config/simplesamlphp-users.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,21 @@
4242
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname' => 'Hans',
4343
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname' => 'Lippershey',
4444
'http://schemas.microsoft.com/identity/claims/displayname' => 'Hans Lippershey',
45+
),
46+
/**
47+
* We include one user for local development purposes, with a blog feed, posts, etc.
48+
* NOTE: we don't use this user account/info in tests. It's only there for running
49+
* everything locally.
50+
*/
51+
'telescope:telescope' => array(
52+
'uid' => array('2'),
53+
'eduPersonAffiliation' => array('group2'),
54+
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress' => 'telescope-developer@example.com',
55+
'email' => 'telescope-developer@example.com',
56+
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname' => 'Telescope',
57+
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname' => 'Developer',
58+
'http://schemas.microsoft.com/identity/claims/displayname' => 'Telescope Developer',
59+
),
4560
),
4661
),
4762

src/web/test-web-content/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ <h2>Test Files</h2>
2323
<li><a href="feed.xml">feed.xml</a></li>
2424
<li><a href="auth.html">auth.html</a></li>
2525
<li><a href="manual-auth/index.html">manual-auth/index.html</a></li>
26+
<li><a href="telescope-developer-blog/index.html">Telescope Developer Blog</a></li>
2627
</ul>
2728
</body>
2829
</html>

src/web/test-web-content/telescope-developer-blog/bamboo.min.css

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="windows-1252"?>
2+
<rss version="2.0">
3+
<channel>
4+
<title>Telescope Developer Blog Feed</title>
5+
<description>Blog feed for testing Telescope locally.</description>
6+
<link>http://localhost:8888/telescope-developer-blog/</link>
7+
<language>en-ca</language>
8+
<lastBuildDate>Sat, 16 Apr 2022 13:39:14 -0500</lastBuildDate>
9+
<item>
10+
<title>Hello World</title>
11+
<description>Welcome to &lt;a href=&quot;https://telescope.cdot.systems/&quot;&gt;Telescope&lt;/a&gt;. If you're reading this, you have have managed to get Telescope built and running locally. Congratulations! Our &lt;a href=&quot;https://github.com/Seneca-CDOT/telescope&quot;&gt;repo&lt;/a&gt; has lots of issues you can help us fix.</description>
12+
<link>http://localhost:8888/telescope-developer-blog/hello-world.html</link>
13+
<guid>http://localhost:8888/telescope-developer-blog/hello-world.html</guid>
14+
<category>open source</category>
15+
<pubDate>Sat, 16 Apr 2022 13:39:14 -0500</pubDate>
16+
</item>
17+
</channel>
18+
</rss>
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Telescope Developer Blog</title>
7+
<meta name="description" content="A blog for the local Telescope Developer account" />
8+
<link
9+
rel="alternate"
10+
type="application/rss+xml"
11+
title="Telescope Developer Blog"
12+
href="./feed.xml"
13+
/>
14+
<link rel="stylesheet" href="./bamboo.min.css" />
15+
</head>
16+
<body>
17+
<header>
18+
<h1>Hello World</h1>
19+
</header>
20+
<main>
21+
<p>
22+
Welcome to <a href="https://telescope.cdot.systems/">Telescope</a>. If you're reading this,
23+
you have have managed to get Telescope built and running locally. Congratulations! Our
24+
<a href="https://github.com/Seneca-CDOT/telescope">repo</a> has lots of issues you can help
25+
us fix.
26+
</p>
27+
</main>
28+
</body>
29+
</html>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Telescope Developer Blog</title>
7+
<meta name="description" content="A blog for the local Telescope Developer account" />
8+
<link
9+
rel="alternate"
10+
type="application/rss+xml"
11+
title="Telescope Developer Blog"
12+
href="./feed.xml"
13+
/>
14+
<link rel="stylesheet" href="./bamboo.min.css" />
15+
</head>
16+
<body>
17+
<header>
18+
<h1>Telescope Developer Blog</h1>
19+
<p>Welcome to the blog! This blog is used to test our system locally.</p>
20+
</header>
21+
<main>
22+
<h2>Posts</h2>
23+
<ol>
24+
<li><a href="./hello-world.html">Hello World</a></li>
25+
</ol>
26+
</main>
27+
</body>
28+
</html>

0 commit comments

Comments
 (0)