Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
Fixing a bug in the config class and updating all templates and pages to
use the dynamicRoot and staticRoot config values to prefix URLs.
|
|
|
|
|
|
Adding a LoginAuthenticator to parse session cookies and a
LoginPageResource to handle submissions to the login page.
Also updating the navigation header to show Take Assessment when the
user is authenticated.
|
|
|
|
Adding the base survey template and the image and text question types.
Moved the hero section to the index.html template to make common-page
more common. Also adding jquery and some initial grow.js code.
|
|
Changing templates to have .html in their name to reflect the links on
the site. Also adding a placeholder about page and a rough cut of the
login page.
|
|
The content root is used to specify the location of the static content.
It is currently hard-coded to my desktop, but it will be updated after a
config system is introduced.
|
|
|