summaryrefslogtreecommitdiff
path: root/src/com/p4square/grow/frontend
AgeCommit message (Collapse)Author
2013-09-22Fixing tomcat config overrides.20130922bJesse Morgan
Finally fixing config overrides. Found a bug? in restlet where the Servlet context parameters aren't passed to the final application. I'm working around the issue by creating my own component which builds the config and shares it with the frontend and backend. Overall I think it's a much more elegant solution. Now we have the ability to specify an external config file for the F1 credentials and the ability configure different domains in different tomcat containers.
2013-09-17Fixing stuck progress bar when trump answers are selected.Jesse Morgan
2013-09-17Fixing question 4 to skip 4a in some cases.Jesse Morgan
For this fix I am moving Question and Answer from the backend into a new model package. Question is now used in SurveyPageResource instead of the Map. Eventually I should encode/decode the model from the json directly. I am adding support to the Question model to find the next question based on the answer to the current question. If the answer has a specific nextQuestion field, that is used. Otherwise the question's nextQuestion field is used. This is to facilitate skipping irrelevant questions.
2013-09-17Adding logout functionv20130917aJesse Morgan
2013-09-15Adding Introduction Chapter.Jesse Morgan
Introduction chapter is always required and thus after the assessment the user is taken directly to the introduction. After the introduction training continues with whichever section the user assessed in to.
2013-09-12Making index.html the default page.Jesse Morgan
2013-09-10Adding redirect page /account.Jesse Morgan
/account redirects to either the assessment or the training page, as appropriate. This change adds the /accounts/UID backend resource, which simply stores an arbitrary json document for now.
2013-09-09Adding the progress bar to the assessment.Jesse Morgan
Also adding a header to the Assessment Results page.
2013-09-09Redirecting to seeker if all sections are complete.Jesse Morgan
2013-09-09Adding the chapter transition page to the training section.Jesse Morgan
2013-09-09Adding Playlist Support.Jesse Morgan
The TrainingRecordResource now builds a playlist of videos for each user. The playlist is a map of video id to meta-data (completion date, completed, required). Some videos are required, others are not. TrainingPageResource now redirects to the earliest uncompleted chapter, based on information in the playlist. SurveyResultsResource now caches computed scores.
2013-09-08Fixed login page redirectJesse Morgan
2013-09-05Moving Sessions to FMFacade. Adding transition from Assessment to Training.Jesse Morgan
2013-09-03Fixing the assessment to take the user to the question after the last ↵Jesse Morgan
answered question
2013-09-03New account page improvements and renumbered questions.Jesse Morgan
2013-09-01Adding video completion tracking to frontendJesse Morgan
2013-09-01Adding ErrorPage representation for error messagesJesse Morgan
2013-09-01Adding redirect to login pageJesse Morgan
2013-09-01Fixing default redirectJesse Morgan
2013-08-31Fixing logins and configurationJesse Morgan
2013-08-27Introducing F1 Authentication and Adding Site Content.Jesse Morgan
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.
2013-08-21Adding images, creating circle questions and misc. fixes.Jesse Morgan
2013-08-04Adding VideosResource to return JSON blobs of video data for the training page.Jesse Morgan
2013-08-04Committing everything since its long overdue.Jesse Morgan
2013-06-09Configuration ChangesJesse Morgan
Fixing a bug in the config class and updating all templates and pages to use the dynamicRoot and staticRoot config values to prefix URLs.
2013-06-04Adding config support.Jesse Morgan
2013-06-03Adding the Survey page logic.Jesse Morgan
2013-06-03Adding Login logic and updating navigation.Jesse Morgan
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.
2013-06-03Initial frontend which can only serve static pages.Jesse Morgan