Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/#130341347/landing page (#12)
* Add new layout and styles for landing page * Add animation for landing page slider * Fix indentations issues raised by houndCI * #131246955 Authenticated users can view game history (#11) * Feature(base-files): Add base files needed to for the frontend Start #131246955 * Feature(add-history-route): Add /#!/history route to the main controller * Feature(history-test): Add test files for angular history code Add spec files to test the angular js code to be written for getting authenticated user's game history. The test files will contain tests for an angular factory(service) and angular controller. * Feature(service-test): Add spec to test History service is defined Add some specs to the history.test.js file to test if the History service is defined. This is just a basic test to ascertain the existence of the existence of the service. * Feature(test-files): Add location of new files to karma The new files created for the History service and History controller have been added to the karma config file. Also, the History test file has also been added. * Feature(pass-test): Add History service to pass the first test * Feature(karma-config): Add all js files in app folder to karma * Feature(service-test): Add spec to test history service has getHistory function * add history api endpoints * Feature(base-files): Add base files needed to for the frontend Start #131246955 * Feature(add-history-route): Add /#!/history route to the main controller * Feature(history-test): Add test files for angular history code Add spec files to test the angular js code to be written for getting authenticated user's game history. The test files will contain tests for an angular factory(service) and angular controller. * Feature(service-test): Add spec to test History service is defined Add some specs to the history.test.js file to test if the History service is defined. This is just a basic test to ascertain the existence of the existence of the service. * Feature(test-files): Add location of new files to karma The new files created for the History service and History controller have been added to the karma config file. Also, the History test file has also been added. * Feature(pass-test): Add History service to pass the first test * Feature(karma-config): Add all js files in app folder to karma * Feature(service-test): Add spec to test history service has getHistory function * add history api endpoints * Refactor(standards) simplify code by multi-lining * Feature(add-history-controller): Add new angular module `services.history` to main module `mean` Add services.History as a dependency to the mean angular module which serves as the main controller. Also registers services.History controller and its dependency * Test(History-serice-test): Add test for HistoryFac test add tests to check that the HistoryFac service exists and if it has the getHistory function defined. It also checks if the getHistory function makes a http get request to /api/users/:id/history endpoint * Feature(Implement-getHistory): Implement getHistory() of HistoryFac implement getHistory() function in HistoryFac service to make a http request to /api/users/:id/history to get user history * Test(history-controller-test): Add test for HistoryController add test to check if HistoryController controller exists and if it calls the getHistory() function of HistoryFac service * Feature(history-controller): Implement HistoryController implement HistoryController to call the getHistory() function of the HistoryFac service. * Feature(add-new-files): Add new controller and service file to food.jade Add HistoryController and HistoryFac files to footer.jade file * Refactor(variable-name): Change variable name for HistoryController in test file * Feature(check-authentication): Check HistoryController if user is authenticated * Feature(html-template): Add content to history.tpl.html Add content to the template that displays the history of an authenticated user. The page shows a message to unauthenticated users indicating that they are not logged in. Also shows a message to users who don't have a game history yet * Feature(add-history-link): Add link to history in the top menu add history link to the top menu. The link only shows up for authenticated users * Feature(change-binding): Change binding on history.tpl.html changed from {{}} binding to using ng-bind online on line 59 of history.tpl.html * Refactor(const-to-var): Change const to var on line 6 in history.ctr.js * Refactor(const-to-var): Change let to var on line 144 in history.test.js * Refactor(refactor-history-test): Rewrite history.test.js to remove Hound CI errors * #130341343 signup with jwt (#10) * chore(readme-update): update read me with new relevant info Finishes #130373385 * feature(signup): JWT for signup Finishes #130341343 * feature(signup): signup-with-jwt -Update code in auth.js, routes.js, all.js and signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in auth.js and signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): JWT for signup Finishes #130341343 * feature(signup): signup-with-jwt -Update code in auth.js, routes.js, all.js and signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in auth.js and signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt - Allow signup without the need of a token Finishes #130341343 * feature(signup): signup-with-jwt - Rebase with develop branch Finishes #130341343 * feature(signup): signup-with-jwt - Rebase with develop branch Finishes #130341343 * feature(signup): JWT for signup Finishes #130341343 * feature(signup): signup-with-jwt -Update code in auth.js, routes.js, all.js and signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in auth.js and signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt -Update code in signup-spec.js to meet hound specifications. Finishes #130341343 * feature(signup): signup-with-jwt - Allow user signup without token Finishes #130341343 * feature(signup): signup-with-jwt - Rebase with develop Finishes #130341343 * feature(signup): signup-with-jwt - Rebase with develop Finishes #130341343 * feature(signup): signup-with-jwt - Add password hashing function to signup Finishes #130341343 * Feature(delete-history): Add a function to the history controller to delete history from the db * Feature(delete-endpoint): Add route for history delete endpoint * Feature(tests): Add afterEach to delete added history after each /api/history spec runs * Feature(jasmine-jquery): Install jasmine-jquery from bower * Refactor(move-response): Move response in history file to its file move the mock response json object to its own file and require it through the getJSONFixture of jasmine-jquery * Feature(base-files): Add base files needed to for the frontend Start #131246955 * Feature(add-history-route): Add /#!/history route to the main controller * Feature(history-test): Add test files for angular history code Add spec files to test the angular js code to be written for getting authenticated user's game history. The test files will contain tests for an angular factory(service) and angular controller. * Feature(service-test): Add spec to test History service is defined Add some specs to the history.test.js file to test if the History service is defined. This is just a basic test to ascertain the existence of the existence of the service. * Feature(test-files): Add location of new files to karma The new files created for the History service and History controller have been added to the karma config file. Also, the History test file has also been added. * Feature(pass-test): Add History service to pass the first test * Feature(karma-config): Add all js files in app folder to karma * Feature(service-test): Add spec to test history service has getHistory function * add history api endpoints * Feature(history-test): Add test files for angular history code Add spec files to test the angular js code to be written for getting authenticated user's game history. The test files will contain tests for an angular factory(service) and angular controller. * add history api endpoints * Refactor(standards) simplify code by multi-lining * Feature(add-history-controller): Add new angular module `services.history` to main module `mean` Add services.History as a dependency to the mean angular module which serves as the main controller. Also registers services.History controller and its dependency * Test(History-serice-test): Add test for HistoryFac test add tests to check that the HistoryFac service exists and if it has the getHistory function defined. It also checks if the getHistory function makes a http get request to /api/users/:id/history endpoint * Feature(Implement-getHistory): Implement getHistory() of HistoryFac implement getHistory() function in HistoryFac service to make a http request to /api/users/:id/history to get user history * Test(history-controller-test): Add test for HistoryController add test to check if HistoryController controller exists and if it calls the getHistory() function of HistoryFac service * Feature(history-controller): Implement HistoryController implement HistoryController to call the getHistory() function of the HistoryFac service. * Feature(add-new-files): Add new controller and service file to food.jade Add HistoryController and HistoryFac files to footer.jade file * Refactor(variable-name): Change variable name for HistoryController in test file * Feature(check-authentication): Check HistoryController if user is authenticated * Feature(html-template): Add content to history.tpl.html Add content to the template that displays the history of an authenticated user. The page shows a message to unauthenticated users indicating that they are not logged in. Also shows a message to users who don't have a game history yet * Feature(add-history-link): Add link to history in the top menu add history link to the top menu. The link only shows up for authenticated users * Feature(change-binding): Change binding on history.tpl.html changed from {{}} binding to using ng-bind online on line 59 of history.tpl.html * Refactor(const-to-var): Change const to var on line 6 in history.ctr.js * Refactor(const-to-var): Change let to var on line 144 in history.test.js * Refactor(refactor-history-test): Rewrite history.test.js to remove Hound CI errors * Feature(delete-history): Add a function to the history controller to delete history from the db * Feature(delete-endpoint): Add route for history delete endpoint * Feature(tests): Add afterEach to delete added history after each /api/history spec runs * Feature(jasmine-jquery): Install jasmine-jquery from bower * Refactor(move-response): Move response in history file to its file move the mock response json object to its own file and require it through the getJSONFixture of jasmine-jquery * Fix responsive design issue for animated card * Add new layout and styles for landing page * Add animation for landing page slider * Fix indentations issues raised by houndCI * Fix responsive design issue for animated card
- Loading branch information