summaryrefslogtreecommitdiff
path: root/src/com/p4square/grow/backend
AgeCommit message (Collapse)Author
2015-05-18Changing assessment scoring model.Jesse Morgan
Previously scores aligned on the answer values: 0 (seeker), 2, 3, and 4 (teacher). Now scores align halfway between: 0 (seeker), 1.5, 2.5, 3.5 (teacher)
2015-05-12Adding tests for TrainingRecordResource.Jesse Morgan
2014-10-04Adding metrics.Jesse Morgan
2014-09-27Adding F1 Attribute Backfill Tool.Jesse Morgan
2014-09-25Adding Support for Scan in DynamoDatabase.Jesse Morgan
Also added scan and scanf (filtered) options to DbTool.
2014-07-26Adding a delete option to the DbTool.Jesse Morgan
2014-07-02DbTool now overwrites the entire chapter row when loading videosJesse Morgan
2014-06-23Setting different throughputs for dev/prod tables.Jesse Morgan
2014-05-24Adding region and table name prefix support.Jesse Morgan
2014-05-24Adding serverprod target and import tool.Jesse Morgan
serverprod starts the frontend locally but points it to the prod dynamodb. The import tool loads data into dynamodb. Each record has a hash key and one or more attribute/value pairs. Records are separated by an empty line. The first line of the record is the hash key. Each subsequent line is an attribute key, followed by a space, followed by the value.
2014-05-23Adding dynamo support.Jesse Morgan
2014-05-23Abstracting out Cassandra.Jesse Morgan
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-03-24Adding index page to backend with API info.Jesse Morgan
2014-03-15Adding authenticated outside access to backend.Jesse Morgan
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-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-13Adding New Believer resource.Jesse Morgan
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-02-01Fixing high log levelJesse Morgan
2013-12-14Adding Group Leader training videosJesse Morgan
2013-11-18Adding a resource to delete an assessment.Jesse Morgan
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-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-01Adding message bannerJesse 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-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-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-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-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-03Fixing the assessment to take the user to the question after the last ↵Jesse Morgan
answered question
2013-08-31Fixing logins and configurationJesse Morgan
2013-08-21Adding images, creating circle questions and misc. fixes.Jesse Morgan
2013-08-04Committing everything since its long overdue.Jesse Morgan