summaryrefslogtreecommitdiff
path: root/src/com/p4square/grow/frontend/GrowFrontend.java
AgeCommit message (Collapse)Author
2016-04-09Switching from Ivy+Ant to Maven.Jesse Morgan
2016-03-20Adding support for Church Community Builder login.Jesse Morgan
Beginning with this change all of the Church Management System integration logic is moving into implementations of the new IntegrationDriver interface. The desired IntegrationDriver can be selected by setting the integrationDriver config to the appropriate class name. This commit is only moving login support. Progress reporting will move in a later commit.
2015-05-12Fixing undefined reference to config on error page.Jesse Morgan
2014-10-04Adding metrics.Jesse Morgan
2014-09-09Moving F1OAuthHelper to F1Access.Jesse Morgan
F1Access will provide a collection of F1 API methods, rather than placing all of those methods in F1User as I was originally planning.
2014-07-27Adding new transition page before Teacher section.20140727aJesse Morgan
Also added the Leader page to the normal Chapter list.
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-22Adding support to post new messages.Jesse Morgan
Other Changes: * JsonEncodedProvider no longer implements Provider. * Only the first answer is shown. Others slide down. * Switch going deeper and the feed.
2014-02-13Adding New Believer resource.Jesse Morgan
2014-02-01Changing user identifier from email to F1 user id.Jesse Morgan
2014-02-01Adding access to error pages in devJesse Morgan
2013-12-14Adding Group Leader training videosJesse Morgan
2013-11-18Adding a resource to delete an assessment.Jesse Morgan
2013-10-20First stage of a major refactoring.Jesse Morgan
Question and Answer can now be serialized and deserialized to/from JSON. As such, I no longer have to pass awkward maps around. As part of this change I have introduced a Provider interface to abstract out loading and persisting these beans. The scoring logic has been completed factored out of SurveyResultsResource and into the various ScoringEngines. Tests have been added for Question, Answer, and the ScoringEngines. A bug has been fixed in computing the value for slider questions. The label identifiers in the circle questions have changed from all lower case to camel case. That is, topleft is now topLeft. Several issues have been corrected in the circle answers where the point values did not match the labels. Testing and code coverage support and reports have been added.
2013-10-18Fixing config issues when not running in tomcatJesse Morgan
2013-09-22Fixing tomcat config overrides.Jesse 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-17Adding logout functionJesse Morgan
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 chapter transition page to the training section.Jesse Morgan
2013-09-08Fixed login page redirectJesse Morgan
2013-09-05Moving Sessions to FMFacade. Adding transition from Assessment to Training.Jesse Morgan
2013-09-01Adding ErrorPage representation for error messagesJesse 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-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