From 1cdb43bb3e432040aed18c05e129f0131ee7d20a Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Tue, 27 Aug 2013 08:28:16 -0700 Subject: Introducing F1 Authentication and Adding Site Content. This change introduced the f1oauth and jesterpm oauth packages for interacting with Fellowship One's developer API. I have also reworked the login authentication to verify credentials through F1 and added session management to track logged in users. The Authenticator chain works as follows: on every page load we check for a session cookie, if the cookie exists, the Request is marked as authenticated and the OAuthUser object is restored in ClientInfo. If this request is going to an account page, we require authentication. The LoginFormAuthenticator checks if the user is already authenticated (via cookie) and if not redirects the user to the login page. When the login form is submitted, LoginFormAuthenticator catches the POST request and authenticates the user through F1. I'm also adding a new account page, but it is currently a work in progress. This commit also adds Allen's content to the site. --- web/favicon.ico | Bin 0 -> 4286 bytes web/style.css | 4 ++++ 2 files changed, 4 insertions(+) create mode 100644 web/favicon.ico (limited to 'web') diff --git a/web/favicon.ico b/web/favicon.ico new file mode 100644 index 0000000..200f311 Binary files /dev/null and b/web/favicon.ico differ diff --git a/web/style.css b/web/style.css index 09cb5be..39d6756 100644 --- a/web/style.css +++ b/web/style.css @@ -118,6 +118,10 @@ nav.primary a.current { margin: 1em auto 1em auto; } +#content article.text { + text-align: left; +} + #content h1 { color: #696969; font-size: 24pt; -- cgit v1.2.3