summaryrefslogtreecommitdiff
path: root/src/com/p4square/grow/frontend/TrainingPageResource.java
AgeCommit message (Collapse)Author
2014-07-27Adding new transition page before Teacher section.20140727aJesse Morgan
Also added the Leader page to the normal Chapter list.
2014-03-31Enabling the Feed and various bug fixes.Jesse Morgan
* Fixing thread ordering. * Adding a limit of 5 threads per topic. * Changing frontend /account references to UserRecord.
2014-02-22Adding Author and Feed Cookie.Jesse Morgan
* Adding an Author indicator on the feed. * Adding showfeed cookie to enable/disable feed demo. * Hiding the feed on the introduction chapter. * Adding whitespace compression to all pages.
2014-02-20Added support for displaying message on Feed.Jesse Morgan
Changed MessageThread so that a thread always contains one original message. Added support in JsonEncodedProvider for JavaTypes in addition to classes. Updated communityfeed.ftl to actually display questions and answers.
2014-02-01Adding the feed backend support.Jesse Morgan
2014-02-01Fixing regression computing required videos.Jesse Morgan
After refactoring users were required to watch all videos regardless of their assessment score. Also enabling strict video ordering and adding the option magicskip to watch out of order.
2014-01-30Updating Videos and Script.Jesse Morgan
Video numbers may now be decimals (i.e. 5.1, 5.2). If the number is 0 it is not displayed on the website. Updating the videos-from-csv.py script to distinguish between user facing video numbers and video ids. Also updating urls for many videos.
2013-12-14Adding Group Leader training videosJesse Morgan
2013-11-18Making strict viewing order configurable.Jesse Morgan
2013-11-09Enforcing the viewing order of videos.Jesse Morgan
Also made the Outline links more noticeable.
2013-11-09Refactored TrainingResource to use the Provider interface.Jesse Morgan
Playlists are now generated from a default playlist and regularly merged with the default playlist to get updates. Also adding the Question tests that got left out of a previous commit.
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-09Redirecting to seeker if all sections are complete.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-01Adding video completion tracking to frontendJesse 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-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