Skip to content

Commit

Permalink
Add Telescope Developer login account and blog for local dev
Browse files Browse the repository at this point in the history
  • Loading branch information
humphd committed Apr 16, 2022
1 parent 284ef7b commit cd1c423
Show file tree
Hide file tree
Showing 6 changed files with 93 additions and 0 deletions.
15 changes: 15 additions & 0 deletions config/simplesamlphp-users.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,21 @@
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname' => 'Hans',
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname' => 'Lippershey',
'http://schemas.microsoft.com/identity/claims/displayname' => 'Hans Lippershey',
),
/**
* We include one user for local development purposes, with a blog feed, posts, etc.
* NOTE: we don't use this user account/info in tests. It's only there for running
* everything locally.
*/
'telescope:telescope' => array(
'uid' => array('2'),
'eduPersonAffiliation' => array('group2'),
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress' => '[email protected]',
'email' => '[email protected]',
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname' => 'Telescope',
'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname' => 'Developer',
'http://schemas.microsoft.com/identity/claims/displayname' => 'Telescope Developer',
),
),
),

Expand Down
1 change: 1 addition & 0 deletions src/web/test-web-content/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ <h2>Test Files</h2>
<li><a href="feed.xml">feed.xml</a></li>
<li><a href="auth.html">auth.html</a></li>
<li><a href="manual-auth/index.html">manual-auth/index.html</a></li>
<li><a href="telescope-developer-blog/index.html">Telescope Developer Blog</a></li>
</ul>
</body>
</html>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions src/web/test-web-content/telescope-developer-blog/feed.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="windows-1252"?>
<rss version="2.0">
<channel>
<title>Telescope Developer Blog Feed</title>
<description>Blog feed for testing Telescope locally.</description>
<link>http://localhost:8888/telescope-developer-blog/</link>
<language>en-ca</language>
<lastBuildDate>Sat, 16 Apr 2022 13:39:14 -0500</lastBuildDate>
<item>
<title>Hello World</title>
<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>
<link>http://localhost:8888/telescope-developer-blog/hello-world.html</link>
<guid>http://localhost:8888/telescope-developer-blog/hello-world.html</guid>
<category>open source</category>
<pubDate>Sat, 16 Apr 2022 13:39:14 -0500</pubDate>
</item>
</channel>
</rss>
29 changes: 29 additions & 0 deletions src/web/test-web-content/telescope-developer-blog/hello-world.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Telescope Developer Blog</title>
<meta name="description" content="A blog for the local Telescope Developer account" />
<link
rel="alternate"
type="application/rss+xml"
title="Telescope Developer Blog"
href="./feed.xml"
/>
<link rel="stylesheet" href="./bamboo.min.css" />
</head>
<body>
<header>
<h1>Hello World</h1>
</header>
<main>
<p>
Welcome to <a href="https://telescope.cdot.systems/">Telescope</a>. If you're reading this,
you have have managed to get Telescope built and running locally. Congratulations! Our
<a href="https://github.com/Seneca-CDOT/telescope">repo</a> has lots of issues you can help
us fix.
</p>
</main>
</body>
</html>
28 changes: 28 additions & 0 deletions src/web/test-web-content/telescope-developer-blog/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Telescope Developer Blog</title>
<meta name="description" content="A blog for the local Telescope Developer account" />
<link
rel="alternate"
type="application/rss+xml"
title="Telescope Developer Blog"
href="./feed.xml"
/>
<link rel="stylesheet" href="./bamboo.min.css" />
</head>
<body>
<header>
<h1>Telescope Developer Blog</h1>
<p>Welcome to the blog! This blog is used to test our system locally.</p>
</header>
<main>
<h2>Posts</h2>
<ol>
<li><a href="./hello-world.html">Hello World</a></li>
</ol>
</main>
</body>
</html>

0 comments on commit cd1c423

Please sign in to comment.