├── .editorconfig ├── .ember-cli ├── .eslintignore ├── .eslintrc.js ├── .github └── workflows │ ├── development.yml │ └── main.yml ├── .gitignore ├── .nvmrc ├── .template-lintrc.js ├── .vscode └── launch.json ├── .watchmanconfig ├── README.md ├── app ├── adapters │ ├── application.js │ └── web-challenge-submission.js ├── app.js ├── authenticators │ └── jwt.js ├── components │ └── .gitkeep ├── controllers │ └── .gitkeep ├── helpers │ ├── .gitkeep │ └── includes.js ├── index.html ├── instance-initializers │ └── authenticator.js ├── mixins │ ├── authenticated-route-mixin.js │ ├── email-required-mixin.js │ └── utm-cookie-route-mixin.js ├── models │ ├── .gitkeep │ ├── admission-contest.js │ ├── badge.js │ ├── bookmarked-content.js │ ├── choice.js │ ├── college.js │ ├── college_contest.js │ ├── competition-attempt.js │ ├── competition-leaderboard.js │ ├── competition.js │ ├── content-attempt.js │ ├── content-feedback.js │ ├── content-leaderboard.js │ ├── content.js │ ├── contest-attempt.js │ ├── contest-feedback.js │ ├── contest-leaderboard.js │ ├── contest-problem.js │ ├── contest-registration.js │ ├── contest-streak.js │ ├── contest.js │ ├── course-contest.js │ ├── course.js │ ├── dashboard-banner.js │ ├── dcb.js │ ├── editorial.js │ ├── hiring-contest.js │ ├── notification.js │ ├── organization.js │ ├── overall-leaderboard.js │ ├── practice.js │ ├── problem-feedback.js │ ├── problem-leaderboard.js │ ├── problem.js │ ├── progress.js │ ├── project.js │ ├── question.js │ ├── quiz-attempt.js │ ├── quiz-question-submission.js │ ├── quiz.js │ ├── solution-stub.js │ ├── submission.js │ ├── tag.js │ ├── testcase.js │ ├── unlocked-editorial.js │ ├── unlocked-testcase.js │ ├── user-level.js │ ├── user-tag.js │ ├── user.js │ ├── web-challenge-submission.js │ └── web-challenge.js ├── pods │ ├── 404 │ │ └── template.hbs │ ├── application │ │ ├── controller.js │ │ ├── route.js │ │ └── template.hbs │ ├── competitions │ │ ├── id │ │ │ ├── contest-archive │ │ │ │ ├── index │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── problem │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── route.js │ │ │ │ └── template.hbs │ │ │ ├── index │ │ │ │ ├── controller.js │ │ │ │ ├── route.js │ │ │ │ └── template.hbs │ │ │ ├── route.js │ │ │ └── template.hbs │ │ ├── index │ │ │ ├── route.js │ │ │ └── template.hbs │ │ ├── route.js │ │ └── template.hbs │ ├── components │ │ ├── archived-competition-contest-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── author-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── award-badge-component │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── bookmarked-problems-view │ │ │ ├── bookmarked-problems-list │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── code-editor-component │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── code-window │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── competition-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── competition-contest-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── competition-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── content-header │ │ │ └── template.hbs │ │ ├── content │ │ │ ├── content-problem-view │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ └── content-quiz-view │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ ├── contest-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── contest-feedback-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── contest-streak-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── contest │ │ │ ├── contest-content-list-item │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── contest-content-list │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ └── contest-list │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ ├── course-contest-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── daily-goal-card-small │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── daily-goal-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── dashboard-carousel │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── dashboard-dcb-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── dashboard-interview-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── dashboard-metrics-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── dashboard-performance-graph │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── dashboard-practice-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── dcb-header │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── dcb-problem-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── error-view │ │ │ ├── component.js │ │ │ ├── not-found │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── template.hbs │ │ │ └── user-email-not-verified │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ ├── fa-icon │ │ │ └── component.js │ │ ├── file-uploader │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── form-view │ │ │ ├── checkbox-field │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── component.js │ │ │ ├── radio-field │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── template.hbs │ │ │ └── text-field │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ ├── full-screen-contest-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── full-screen-problem-list │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── full-screen-problem-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── full-screen-project-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── full-screen-quiz-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── full-screen-web-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── input-search │ │ │ └── template.hbs │ │ ├── intermediate-contest-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── jotted-editor │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── leaderboard-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── level-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── level-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── loading-component │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── login-button │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── monaco-editor │ │ │ ├── component.js │ │ │ └── template.js │ │ ├── nav-bar │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── overall-leaderboard-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── pagination-pill │ │ │ └── template.hbs │ │ ├── practice-contest-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── practice-filter-component │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── practice-header │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── practice-problem-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── problem-discuss-view │ │ │ ├── component.js │ │ │ ├── post-view │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ └── template.hbs │ │ ├── problem-explanation │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── problem-list-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── problem-list │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── problem-status │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── problem-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── profile-badges │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── profile-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── project-view │ │ │ ├── component.js │ │ │ ├── drag-drop-file │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── project-detail-view │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── project-leaderboard-view │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── project-submission-view │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ └── template.hbs │ │ ├── public-contest-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── question-container │ │ │ ├── choice-view │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── question-pill │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── quiz-questions-pad │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── quiz-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── rating-card │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── rating-stars │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── register-button │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── registered-contests-view │ │ │ ├── component.js │ │ │ ├── contest-row-small │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── contest-row │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ └── template.hbs │ │ ├── registered-contests │ │ │ └── template.hbs │ │ ├── run-result │ │ │ ├── component.js │ │ │ ├── error-run-message │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── judgement-delay-run-message │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ └── template.hbs │ │ ├── side-nav │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── small-leaderboard-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── solution-component │ │ │ ├── component.js │ │ │ ├── editorial-view │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── template.hbs │ │ │ └── testcase-view │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ ├── submission-result │ │ │ ├── component.js │ │ │ ├── submission-error │ │ │ │ └── template.hbs │ │ │ ├── submission-status │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── submission-success │ │ │ │ └── template.hbs │ │ │ ├── submission-testcases │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ └── template.hbs │ │ ├── submissions-heat-map-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── submissions-heat-map │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── submissions-list │ │ │ ├── analytics-graph │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── component.js │ │ │ ├── submission-modal │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ └── template.hbs │ │ ├── submit-result │ │ │ ├── component.js │ │ │ ├── success-submission-message │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ │ ├── template.hbs │ │ │ └── wrong-submission-message │ │ │ │ ├── component.js │ │ │ │ └── template.hbs │ │ ├── upcoming-competition-contest │ │ │ ├── component.js │ │ │ └── template.hbs │ │ ├── user-tag-graph │ │ │ ├── component.js │ │ │ └── template.hbs │ │ └── web-challenge │ │ │ ├── full-screen-web-challenge-view │ │ │ ├── component.js │ │ │ └── template.hbs │ │ │ ├── web-challenge-code-editor │ │ │ ├── component.js │ │ │ └── template.hbs │ │ │ ├── web-challenge-explanation │ │ │ ├── component.js │ │ │ └── template.hbs │ │ │ └── web-challenge-submissions │ │ │ ├── component.js │ │ │ └── template.hbs │ ├── contests │ │ ├── admission │ │ │ ├── apat │ │ │ │ ├── archived │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── index │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── route.js │ │ │ │ ├── template.hbs │ │ │ │ └── upcoming │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ ├── cast │ │ │ │ ├── archived │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── index │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── route.js │ │ │ │ ├── template.hbs │ │ │ │ └── upcoming │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ ├── index │ │ │ │ ├── route.js │ │ │ │ └── template.hbs │ │ │ ├── route.js │ │ │ └── template.hbs │ │ ├── college │ │ │ ├── all │ │ │ │ ├── archived │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── live │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── route.js │ │ │ │ ├── template.hbs │ │ │ │ └── upcoming │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ ├── index │ │ │ │ ├── route.js │ │ │ │ └── template.hbs │ │ │ ├── route.js │ │ │ └── template.hbs │ │ ├── contest │ │ │ ├── attempt │ │ │ │ ├── content │ │ │ │ │ ├── index │ │ │ │ │ │ └── route.js │ │ │ │ │ ├── problem │ │ │ │ │ │ ├── controller.js │ │ │ │ │ │ ├── route.js │ │ │ │ │ │ └── template.hbs │ │ │ │ │ ├── project │ │ │ │ │ │ ├── route.js │ │ │ │ │ │ └── template.hbs │ │ │ │ │ ├── quiz │ │ │ │ │ │ ├── controller.js │ │ │ │ │ │ ├── route.js │ │ │ │ │ │ └── template.hbs │ │ │ │ │ ├── route.js │ │ │ │ │ ├── template.hbs │ │ │ │ │ └── web │ │ │ │ │ │ ├── route.js │ │ │ │ │ │ └── template.hbs │ │ │ │ ├── controller.js │ │ │ │ ├── loading │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── route.js │ │ │ │ └── template.hbs │ │ │ ├── content │ │ │ │ ├── index │ │ │ │ │ └── route.js │ │ │ │ ├── problem │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── project │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── quiz │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── route.js │ │ │ │ └── template.hbs │ │ │ ├── feedback │ │ │ │ ├── controller.js │ │ │ │ ├── route.js │ │ │ │ └── template.hbs │ │ │ ├── index │ │ │ │ ├── controller.js │ │ │ │ ├── route.js │ │ │ │ └── template.hbs │ │ │ ├── loading │ │ │ │ ├── route.js │ │ │ │ └── template.hbs │ │ │ ├── route.js │ │ │ └── template.hbs │ │ ├── course │ │ │ ├── id │ │ │ │ ├── route.js │ │ │ │ └── template.hbs │ │ │ ├── index │ │ │ │ ├── route.js │ │ │ │ └── template.hbs │ │ │ ├── route.js │ │ │ └── template.hbs │ │ ├── hiring │ │ │ ├── all │ │ │ │ ├── archived │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── index │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── route.js │ │ │ │ ├── template.hbs │ │ │ │ └── upcoming │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ ├── index │ │ │ │ ├── route.js │ │ │ │ └── template.hbs │ │ │ ├── route.js │ │ │ └── template.hbs │ │ ├── index │ │ │ ├── controller.js │ │ │ ├── route.js │ │ │ └── template.hbs │ │ ├── old-contest │ │ │ ├── route.js │ │ │ └── template.hbs │ │ ├── route.js │ │ └── template.hbs │ ├── dcb │ │ ├── index │ │ │ ├── controller.js │ │ │ ├── route.js │ │ │ └── template.hbs │ │ ├── problem │ │ │ ├── controller.js │ │ │ ├── route.js │ │ │ └── template.hbs │ │ ├── route.js │ │ └── template.hbs │ ├── error │ │ ├── controller.js │ │ ├── route.js │ │ └── template.hbs │ ├── help │ │ ├── route.js │ │ └── template.hbs │ ├── index │ │ ├── controller.js │ │ ├── route.js │ │ └── template.hbs │ ├── loading │ │ ├── route.js │ │ └── template.hbs │ ├── login │ │ └── route.js │ ├── logout │ │ ├── route.js │ │ └── template.hbs │ ├── practice │ │ ├── contest │ │ │ ├── content │ │ │ │ ├── problem │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── project │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── quiz │ │ │ │ │ ├── controller.js │ │ │ │ │ ├── route.js │ │ │ │ │ └── template.hbs │ │ │ │ ├── route.js │ │ │ │ └── template.hbs │ │ │ ├── index │ │ │ │ ├── controller.js │ │ │ │ ├── route.js │ │ │ │ └── template.hbs │ │ │ ├── route.js │ │ │ └── template.hbs │ │ ├── index │ │ │ ├── route.js │ │ │ └── template.hbs │ │ ├── route.js │ │ └── template.hbs │ └── users │ │ ├── id │ │ ├── controller.js │ │ ├── route.js │ │ └── template.hbs │ │ ├── route.js │ │ └── template.hbs ├── resolver.js ├── router.js ├── routes │ └── .gitkeep ├── services │ ├── api.js │ ├── current-user.js │ ├── layout.js │ ├── monitorer.js │ ├── navigation.js │ ├── server-time.js │ ├── session.js │ ├── submission.js │ ├── uploader.js │ ├── webengage.js │ └── zipjs.js ├── session-stores │ └── application.js ├── styles │ ├── app.scss │ └── components │ │ └── drag-drop.scss ├── templates │ ├── application.hbs │ └── components │ │ └── .gitkeep ├── transitions.js └── util │ └── blobEmberUploader.js ├── config ├── environment.js ├── optional-features.json └── targets.js ├── deployToProduction.sh ├── deployToStaging.sh ├── ember-cli-build.js ├── key.enc ├── lib └── ember-w-pack │ ├── addon │ ├── components │ │ ├── w-async.js │ │ ├── w-async │ │ │ └── loading.js │ │ ├── w-pulse.js │ │ └── w-read-more.js │ └── templates │ │ └── components │ │ ├── w-async.hbs │ │ ├── w-async │ │ └── loading.hbs │ │ ├── w-pulse.hbs │ │ └── w-read-more.hbs │ ├── app │ └── components │ │ ├── w-async.js │ │ ├── w-async │ │ └── loading.js │ │ ├── w-pulse.js │ │ └── w-read-more.js │ ├── index.js │ └── package.json ├── package-lock.json ├── package.json ├── public ├── favicon │ ├── android-icon-144x144.png │ ├── android-icon-192x192.png │ ├── android-icon-36x36.png │ ├── android-icon-48x48.png │ ├── android-icon-72x72.png │ ├── android-icon-96x96.png │ ├── apple-icon-114x114.png │ ├── apple-icon-120x120.png │ ├── apple-icon-144x144.png │ ├── apple-icon-152x152.png │ ├── apple-icon-180x180.png │ ├── apple-icon-57x57.png │ ├── apple-icon-60x60.png │ ├── apple-icon-72x72.png │ ├── apple-icon-76x76.png │ ├── apple-icon-precomposed.png │ ├── apple-icon.png │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ ├── favicon-96x96.png │ ├── favicon.ico │ ├── ms-icon-144x144.png │ ├── ms-icon-150x150.png │ ├── ms-icon-310x310.png │ └── ms-icon-70x70.png ├── images │ ├── .DS_Store │ ├── 404.png │ ├── admission_banner.png │ ├── admissioncontest_w.png │ ├── badge_orange.png │ ├── bookmark_o.png │ ├── code.gif │ ├── code_problem.png │ ├── collegecontest_w.png │ ├── confetti.png │ ├── cong.png │ ├── contest_orange.png │ ├── contests_w.png │ ├── coursecontest_w.png │ ├── email.png │ ├── empty_leaderboard.png │ ├── error_o.png │ ├── hb_logo_monochrome_full_dg.png │ ├── hexagon.jpg │ ├── hiringcontest_w.png │ ├── loader.gif │ ├── logo_white.png │ ├── quiz_problem.png │ ├── star_grey.png │ ├── star_orange.png │ ├── submission_orange.png │ ├── tick_g.png │ ├── user.svg │ ├── wrong_g.png │ └── wrong_r.png ├── robots.txt └── zipjs │ ├── deflate.js │ ├── inflate.js │ ├── z-worker.js │ └── zip.js ├── testem.js ├── tests ├── helpers │ └── .gitkeep ├── index.html ├── integration │ ├── .gitkeep │ ├── components │ │ ├── w-async-test.js │ │ ├── w-async │ │ │ └── loading-test.js │ │ ├── w-pulse-test.js │ │ └── w-read-more-test.js │ ├── helpers │ │ └── prevent-defaults-test.js │ └── pods │ │ └── components │ │ ├── archived-competition-contest-card │ │ └── component-test.js │ │ ├── author-card │ │ └── component-test.js │ │ ├── award-badge-component │ │ └── component-test.js │ │ ├── bookmarked-problems-view │ │ └── component-test.js │ │ ├── code-editor-component │ │ └── component-test.js │ │ ├── code-window │ │ └── component-test.js │ │ ├── competition-card │ │ └── component-test.js │ │ ├── competition-contest-view │ │ └── component-test.js │ │ ├── competition-view │ │ └── component-test.js │ │ ├── content │ │ ├── content-problem-view │ │ │ └── component-test.js │ │ └── content-quiz-view │ │ │ └── component-test.js │ │ ├── contest-card │ │ └── component-test.js │ │ ├── contest-feedback-card │ │ └── component-test.js │ │ ├── contest-header │ │ └── component-test.js │ │ ├── contest-streak-view │ │ └── component-test.js │ │ ├── contest │ │ ├── contest-content-list-item │ │ │ └── component-test.js │ │ ├── contest-content-list │ │ │ └── component-test.js │ │ └── contest-list │ │ │ └── component-test.js │ │ ├── course-contest-card │ │ └── component-test.js │ │ ├── daily-goal-card-small │ │ └── component-test.js │ │ ├── daily-goal-card │ │ └── component-test.js │ │ ├── dashboard-carousel │ │ └── component-test.js │ │ ├── dashboard-dcb-card │ │ └── component-test.js │ │ ├── dashboard-interview-card │ │ └── component-test.js │ │ ├── dashboard-metrics-card │ │ └── component-test.js │ │ ├── dashboard-performance-graph │ │ └── component-test.js │ │ ├── dashboard-practice-view │ │ └── component-test.js │ │ ├── dcb-problem-card │ │ └── component-test.js │ │ ├── drag-drop-file │ │ └── component-test.js │ │ ├── error-view │ │ ├── component-test.js │ │ ├── not-found │ │ │ └── component-test.js │ │ └── user-email-not-verified │ │ │ └── component-test.js │ │ ├── fa-icon │ │ └── component-test.js │ │ ├── file-uploader │ │ └── component-test.js │ │ ├── form-view │ │ ├── checkbox-field │ │ │ └── component-test.js │ │ ├── component-test.js │ │ ├── radio-field │ │ │ └── component-test.js │ │ └── text-field │ │ │ └── component-test.js │ │ ├── full-screen-contest-view │ │ └── component-test.js │ │ ├── full-screen-problem-list │ │ └── component-test.js │ │ ├── full-screen-problem-view │ │ └── component-test.js │ │ ├── full-screen-project-view │ │ └── component-test.js │ │ ├── full-screen-quiz-view │ │ └── component-test.js │ │ ├── full-screen-web-view │ │ └── component-test.js │ │ ├── input-search │ │ └── component-test.js │ │ ├── intermediate-contest-view │ │ └── component-test.js │ │ ├── jotted-editor │ │ └── component-test.js │ │ ├── leaderboard-view │ │ └── component-test.js │ │ ├── level-card │ │ └── component-test.js │ │ ├── level-view │ │ └── component-test.js │ │ ├── loading-component │ │ └── component-test.js │ │ ├── login-button │ │ └── component-test.js │ │ ├── monaco-editor │ │ └── component-test.js │ │ ├── nav-bar │ │ └── component-test.js │ │ ├── overall-leaderboard-view │ │ └── component-test.js │ │ ├── pagination-pill │ │ └── component-test.js │ │ ├── practice-filter-component │ │ └── component-test.js │ │ ├── practice-header │ │ └── component-test.js │ │ ├── practice-problem-card │ │ └── component-test.js │ │ ├── problem-discuss-view │ │ ├── component-test.js │ │ └── post-view │ │ │ └── component-test.js │ │ ├── problem-explanation │ │ └── component-test.js │ │ ├── problem-header │ │ └── component-test.js │ │ ├── problem-list-view │ │ └── component-test.js │ │ ├── problem-list │ │ └── component-test.js │ │ ├── problem-status │ │ └── component-test.js │ │ ├── problem-view │ │ └── component-test.js │ │ ├── profile-badges │ │ └── component-test.js │ │ ├── profile-card │ │ └── component-test.js │ │ ├── project-explanation │ │ └── component-test.js │ │ ├── project-view │ │ ├── project-detail-view │ │ │ └── component-test.js │ │ ├── project-leaderboard-view │ │ │ └── component-test.js │ │ └── project-submission-view │ │ │ └── component-test.js │ │ ├── public-contest-card │ │ └── component-test.js │ │ ├── question-container │ │ ├── choice-view │ │ │ └── component-test.js │ │ └── component-test.js │ │ ├── question-pill │ │ └── component-test.js │ │ ├── quiz-questions-pad │ │ └── component-test.js │ │ ├── quiz-view │ │ └── component-test.js │ │ ├── rating-card │ │ └── component-test.js │ │ ├── rating-stars │ │ └── component-test.js │ │ ├── register-button │ │ └── component-test.js │ │ ├── registered-contests-view │ │ ├── component-test.js │ │ ├── contest-row-small │ │ │ └── component-test.js │ │ └── contest-row │ │ │ └── component-test.js │ │ ├── run-result │ │ ├── component-test.js │ │ ├── error-run-message │ │ │ └── component-test.js │ │ └── judgement-delay-run-message │ │ │ └── component-test.js │ │ ├── side-nav │ │ └── component-test.js │ │ ├── small-leaderboard-view │ │ └── component-test.js │ │ ├── solution-component │ │ ├── component-test.js │ │ ├── editorial-view │ │ │ └── component-test.js │ │ └── testcase-view │ │ │ └── component-test.js │ │ ├── submission-result │ │ ├── component-test.js │ │ ├── submission-error │ │ │ └── component-test.js │ │ ├── submission-success │ │ │ └── component-test.js │ │ └── submission-testcases │ │ │ └── component-test.js │ │ ├── submission-status │ │ └── component-test.js │ │ ├── submissions-heat-map-view │ │ └── component-test.js │ │ ├── submissions-heat-map │ │ └── component-test.js │ │ ├── submissions-list │ │ ├── analytics-graph │ │ │ └── component-test.js │ │ ├── component-test.js │ │ └── submission-modal │ │ │ └── component-test.js │ │ ├── submit-result │ │ ├── component-test.js │ │ ├── success-submission-message │ │ │ └── component-test.js │ │ └── wrong-submission-message │ │ │ └── component-test.js │ │ ├── upcoming-competition-contest │ │ └── component-test.js │ │ ├── user-tag-graph │ │ └── component-test.js │ │ ├── w-async │ │ ├── component-test.js │ │ └── loading │ │ │ └── component-test.js │ │ └── web-challenge │ │ ├── full-screen-web-challenge-view │ │ └── component-test.js │ │ ├── web-challenge-code-editor │ │ └── component-test.js │ │ ├── web-challenge-explanation │ │ └── component-test.js │ │ └── web-challenge-submissions │ │ └── component-test.js ├── test-helper.js └── unit │ ├── .gitkeep │ ├── adapters │ ├── problem-test.js │ └── quiz-question-submission-test.js │ ├── mixins │ ├── authenticated-route-mixin-test.js │ ├── email-required-mixin-test.js │ └── utm-cookie-route-test.js │ ├── models │ ├── admission-contest-test.js │ ├── bookmarked-problem-test.js │ ├── choice-test.js │ ├── college-test.js │ ├── competition-attempt-test.js │ ├── competition-leaderboard-test.js │ ├── content-attempt-test.js │ ├── content-leaderboard-test.js │ ├── content-test.js │ ├── contest-attempt-test.js │ ├── contest-feedback-test.js │ ├── contest-leaderboard-test.js │ ├── contest-problem-test.js │ ├── contest-registration-test.js │ ├── contest-streak-test.js │ ├── contest-test.js │ ├── dashboard-banner-test.js │ ├── dcb-test.js │ ├── editorial-test.js │ ├── hiring-contest-test.js │ ├── notification-test.js │ ├── organization-test.js │ ├── overall-leaderboard-test.js │ ├── practice-test.js │ ├── problem-feedback-test.js │ ├── problem-leaderboard-test.js │ ├── problem-test.js │ ├── question-test.js │ ├── quiz-attempt-test.js │ ├── quiz-submission-test.js │ ├── quiz-test.js │ ├── solution-stub-test.js │ ├── submission-test.js │ ├── tag-test.js │ ├── testcase-test.js │ ├── unlocked-editorial-test.js │ ├── unlocked-testcase-test.js │ ├── user-level-test.js │ └── user-test.js │ ├── pods │ ├── 404 │ │ └── route-test.js │ ├── application │ │ ├── controller-test.js │ │ └── route-test.js │ ├── authenticator │ │ └── instance-initializer-test-test.js │ ├── competitions │ │ ├── controller-test.js │ │ ├── id │ │ │ ├── contest-archive │ │ │ │ ├── index │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── problem │ │ │ │ │ └── route-test.js │ │ │ │ └── route-test.js │ │ │ ├── contest │ │ │ │ ├── attempt │ │ │ │ │ ├── controller-test.js │ │ │ │ │ ├── problem │ │ │ │ │ │ └── route-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── feedback │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ └── index │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ ├── index │ │ │ │ ├── controller-test.js │ │ │ │ └── route-test.js │ │ │ └── route-test.js │ │ ├── index │ │ │ └── route-test.js │ │ └── route-test.js │ ├── contests │ │ ├── admission │ │ │ ├── apat │ │ │ │ ├── archived │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── index │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── route-test.js │ │ │ │ └── upcoming │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ ├── cast │ │ │ │ ├── archived │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── index │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── route-test.js │ │ │ │ └── upcoming │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ ├── contest │ │ │ │ ├── attempt │ │ │ │ │ ├── problem │ │ │ │ │ │ ├── controller-test.js │ │ │ │ │ │ └── route-test.js │ │ │ │ │ ├── quiz │ │ │ │ │ │ ├── controller-test.js │ │ │ │ │ │ └── route-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── feedback │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── index │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ └── route-test.js │ │ │ ├── index │ │ │ │ └── route-test.js │ │ │ └── route-test.js │ │ ├── admissions │ │ │ └── case │ │ │ │ └── index │ │ │ │ └── route-test.js │ │ ├── college │ │ │ ├── all │ │ │ │ ├── archived │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── live │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── route-test.js │ │ │ │ └── upcoming │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ ├── contest │ │ │ │ ├── attempt │ │ │ │ │ ├── index │ │ │ │ │ │ ├── controller-test.js │ │ │ │ │ │ └── route-test.js │ │ │ │ │ ├── problem │ │ │ │ │ │ └── route-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── index │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ └── route-test.js │ │ │ ├── index │ │ │ │ └── route-test.js │ │ │ └── route-test.js │ │ ├── contest │ │ │ ├── attempt │ │ │ │ ├── content │ │ │ │ │ ├── index │ │ │ │ │ │ └── route-test.js │ │ │ │ │ ├── project │ │ │ │ │ │ └── route-test.js │ │ │ │ │ ├── route-test.js │ │ │ │ │ └── web │ │ │ │ │ │ └── route-test.js │ │ │ │ ├── controller-test.js │ │ │ │ ├── loading │ │ │ │ │ └── route-test.js │ │ │ │ ├── problem │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── quiz │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ └── route-test.js │ │ │ ├── content │ │ │ │ ├── index │ │ │ │ │ └── route-test.js │ │ │ │ ├── problem │ │ │ │ │ └── route-test.js │ │ │ │ ├── project │ │ │ │ │ └── route-test.js │ │ │ │ ├── quiz │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ └── route-test.js │ │ │ ├── feedback │ │ │ │ ├── controller-test.js │ │ │ │ └── route-test.js │ │ │ ├── index │ │ │ │ ├── controller-test.js │ │ │ │ └── route-test.js │ │ │ ├── loading │ │ │ │ └── route-test.js │ │ │ ├── problem │ │ │ │ └── route-test.js │ │ │ └── route-test.js │ │ ├── controller-test.js │ │ ├── course │ │ │ ├── contest │ │ │ │ ├── index │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── problem │ │ │ │ │ └── route-test.js │ │ │ │ └── route-test.js │ │ │ ├── id │ │ │ │ └── route-test.js │ │ │ ├── index │ │ │ │ └── route-test.js │ │ │ └── route-test.js │ │ ├── hiring │ │ │ ├── all │ │ │ │ ├── archived │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── index │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── route-test.js │ │ │ │ └── upcoming │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ ├── contest │ │ │ │ ├── attempt │ │ │ │ │ ├── problem │ │ │ │ │ │ ├── controller-test.js │ │ │ │ │ │ └── route-test.js │ │ │ │ │ ├── quiz │ │ │ │ │ │ ├── controller-test.js │ │ │ │ │ │ └── route-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── feedback │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ ├── index │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ └── route-test.js │ │ │ ├── index │ │ │ │ └── route-test.js │ │ │ └── route-test.js │ │ ├── index │ │ │ ├── controller-test.js │ │ │ └── route-test.js │ │ ├── old-contest │ │ │ ├── index │ │ │ │ ├── controller-test.js │ │ │ │ └── route-test.js │ │ │ ├── problem │ │ │ │ └── route-test.js │ │ │ └── route-test.js │ │ └── route-test.js │ ├── dcb │ │ ├── index │ │ │ ├── controller-test.js │ │ │ └── route-test.js │ │ ├── problem │ │ │ ├── controller-test.js │ │ │ └── route-test.js │ │ └── route-test.js │ ├── error │ │ ├── controller-test.js │ │ └── route-test.js │ ├── help │ │ └── route-test.js │ ├── index │ │ ├── controller-test.js │ │ └── route-test.js │ ├── loading │ │ └── route-test.js │ ├── login │ │ └── route-test.js │ ├── logout │ │ └── route-test.js │ ├── practice │ │ ├── contest │ │ │ ├── content │ │ │ │ ├── problem │ │ │ │ │ └── route-test.js │ │ │ │ ├── project │ │ │ │ │ └── route-test.js │ │ │ │ ├── quiz │ │ │ │ │ ├── controller-test.js │ │ │ │ │ └── route-test.js │ │ │ │ └── route-test.js │ │ │ ├── controller-test.js │ │ │ ├── index │ │ │ │ ├── controller-test.js │ │ │ │ └── route-test.js │ │ │ ├── problem │ │ │ │ ├── controller-test.js │ │ │ │ └── route-test.js │ │ │ └── route-test.js │ │ ├── index │ │ │ └── route-test.js │ │ └── route-test.js │ └── users │ │ ├── id │ │ ├── controller-test.js │ │ └── route-test.js │ │ └── route-test.js │ └── services │ ├── api-test.js │ ├── current-user-test.js │ ├── layout-test.js │ ├── monitorer-test.js │ ├── navigation-test.js │ ├── server-time-test.js │ ├── session-test.js │ ├── submission-test.js │ ├── uploader-test.js │ ├── webengage-test.js │ └── zipjs-test.js ├── vendor └── .gitkeep └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig helps developers define and maintain consistent 2 | # coding styles between different editors and IDEs 3 | # editorconfig.org 4 | 5 | root = true 6 | 7 | 8 | [*] 9 | end_of_line = lf 10 | charset = utf-8 11 | trim_trailing_whitespace = true 12 | insert_final_newline = true 13 | indent_style = space 14 | indent_size = 2 15 | 16 | [*.hbs] 17 | insert_final_newline = false 18 | 19 | [*.{diff,md}] 20 | trim_trailing_whitespace = false 21 | -------------------------------------------------------------------------------- /.ember-cli: -------------------------------------------------------------------------------- 1 | { 2 | /** 3 | Ember CLI sends analytics information by default. The data is completely 4 | anonymous, but there are times when you might want to disable this behavior. 5 | 6 | Setting `disableAnalytics` to true will prevent any data from being sent. 7 | */ 8 | "disableAnalytics": false, 9 | "usePods": true 10 | } 11 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | # unconventional js 2 | /blueprints/*/files/ 3 | /vendor/ 4 | 5 | # compiled output 6 | /dist/ 7 | /tmp/ 8 | 9 | # dependencies 10 | /bower_components/ 11 | /node_modules/ 12 | 13 | # misc 14 | /coverage/ 15 | !.* 16 | 17 | # ember-try 18 | /.node_modules.ember-try/ 19 | /bower.json.ember-try 20 | /package.json.ember-try 21 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 10.14.2 2 | -------------------------------------------------------------------------------- /.template-lintrc.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = { 4 | extends: 'recommended' 5 | }; 6 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "type": "chrome", 9 | "request": "attach", 10 | "name": "Attach to Chrome", 11 | "port": 9222, 12 | "url": "http://localhost:4200/*", 13 | "webRoot": "${workspaceFolder}" 14 | } 15 | ] 16 | } -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | { 2 | "ignore_dirs": ["tmp", "dist"] 3 | } 4 | -------------------------------------------------------------------------------- /app/adapters/web-challenge-submission.js: -------------------------------------------------------------------------------- 1 | import ApplicationAdapter from './application' 2 | 3 | export default ApplicationAdapter.extend({ 4 | urlForCreateRecord(modelName, snapshot) { 5 | const contest_id = snapshot.adapterOptions.contest_id 6 | if (contest_id) { 7 | return this._super(...arguments) + `?contest_id=${contest_id}` 8 | } 9 | return this._super(...arguments) 10 | } 11 | }) -------------------------------------------------------------------------------- /app/app.js: -------------------------------------------------------------------------------- 1 | import Application from '@ember/application'; 2 | import Resolver from './resolver'; 3 | import loadInitializers from 'ember-load-initializers'; 4 | import config from './config/environment'; 5 | 6 | const App = Application.extend({ 7 | modulePrefix: config.modulePrefix, 8 | podModulePrefix: config.podModulePrefix, 9 | Resolver 10 | }); 11 | 12 | loadInitializers(App, config.modulePrefix); 13 | 14 | export default App; 15 | -------------------------------------------------------------------------------- /app/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/app/components/.gitkeep -------------------------------------------------------------------------------- /app/controllers/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/app/controllers/.gitkeep -------------------------------------------------------------------------------- /app/helpers/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/app/helpers/.gitkeep -------------------------------------------------------------------------------- /app/helpers/includes.js: -------------------------------------------------------------------------------- 1 | import { helper } from '@ember/component/helper'; 2 | 3 | export function includes(params/*, hash*/) { 4 | return params[0].includes(params[1]); 5 | } 6 | 7 | export default helper(includes); 8 | -------------------------------------------------------------------------------- /app/instance-initializers/authenticator.js: -------------------------------------------------------------------------------- 1 | export function initialize(appInstance) { 2 | appInstance.inject('service', 'authenticator', 'authenticator:jwt'); 3 | } 4 | 5 | export default { 6 | initialize 7 | }; 8 | -------------------------------------------------------------------------------- /app/models/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/app/models/.gitkeep -------------------------------------------------------------------------------- /app/models/admission-contest.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | name: DS.attr(), 6 | type: DS.attr(), 7 | contest: DS.belongsTo('contest') 8 | }); 9 | -------------------------------------------------------------------------------- /app/models/badge.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | import Ember from 'ember'; 3 | const { Model } = DS; 4 | 5 | export default Model.extend({ 6 | metric: DS.attr('number'), 7 | icon: DS.attr(), 8 | createdAt: DS.attr(), 9 | contest: DS.belongsTo('contest', {inverse: null}), 10 | theme: DS.attr(), 11 | submission: DS.belongsTo('submission') 12 | }); 13 | -------------------------------------------------------------------------------- /app/models/choice.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | title: DS.attr(), 6 | description: DS.attr() 7 | }); 8 | -------------------------------------------------------------------------------- /app/models/college.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | name: DS.attr(), 6 | oneauth_id: DS.attr() 7 | }); 8 | -------------------------------------------------------------------------------- /app/models/college_contest.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | name: DS.attr(), 6 | contest: DS.belongsTo('contest') 7 | }) -------------------------------------------------------------------------------- /app/models/competition-attempt.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | user: DS.belongsTo('user'), 6 | competition: DS.belongsTo('competition') 7 | }); 8 | -------------------------------------------------------------------------------- /app/models/competition-leaderboard.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | score: DS.attr(), 6 | time: DS.attr(), 7 | competition: DS.belongsTo('competition'), 8 | user: DS.belongsTo('user'), 9 | college: DS.belongsTo('college') 10 | }) -------------------------------------------------------------------------------- /app/models/competition.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | name: DS.attr(), 6 | contests: DS.hasMany('contest'), 7 | startDate: DS.attr(), 8 | endDate: DS.attr(), 9 | faqs: DS.attr(), 10 | stats: DS.attr(), 11 | banner: DS.attr(), 12 | thumbnail: DS.attr(), 13 | theme: DS.attr(), 14 | prizes: DS.attr(), 15 | overview: DS.attr(), 16 | description: DS.attr(), 17 | organization: DS.belongsTo('organization') 18 | }); 19 | -------------------------------------------------------------------------------- /app/models/content-attempt.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | content: DS.belongsTo('content'), 6 | contestAttempt: DS.belongsTo('contest-attempt'), 7 | quizQuestionSubmissions: DS.hasMany('quiz-question-submission') 8 | }); 9 | -------------------------------------------------------------------------------- /app/models/content-feedback.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | stars: DS.attr(), 6 | body: DS.attr(), 7 | contest: DS.belongsTo('contest'), 8 | content: DS.belongsTo('content'), 9 | user: DS.belongsTo('user') 10 | }); 11 | -------------------------------------------------------------------------------- /app/models/content-leaderboard.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | score: DS.attr(), 6 | time: DS.attr(), 7 | language: DS.attr(), 8 | plagiarism_detected: DS.attr(), 9 | user: DS.belongsTo('user'), 10 | contest: DS.belongsTo('contest'), 11 | content: DS.belongsTo('content'), 12 | college: DS.belongsTo('college') 13 | }); 14 | -------------------------------------------------------------------------------- /app/models/contest-feedback.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | stars: DS.attr(), 6 | body: DS.attr(), 7 | contest: DS.belongsTo('contest'), 8 | user: DS.belongsTo('user') 9 | }); 10 | -------------------------------------------------------------------------------- /app/models/contest-leaderboard.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | score: DS.attr(), 6 | scoreAfterPlagiarismFiltering: DS.attr(), 7 | time: DS.attr(), 8 | contest: DS.belongsTo('contest'), 9 | user: DS.belongsTo('user'), 10 | college: DS.belongsTo('college') 11 | }) -------------------------------------------------------------------------------- /app/models/contest-problem.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | problem: DS.belongsTo('problem'), 6 | contest: DS.belongsTo('contest') 7 | }); 8 | -------------------------------------------------------------------------------- /app/models/contest-streak.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | perfectSubmissionCount: DS.attr(), 6 | lastSubmissionAt: DS.attr(), 7 | contest: DS.belongsTo('contest'), 8 | user: DS.belongsTo('user') 9 | }); 10 | -------------------------------------------------------------------------------- /app/models/course-contest.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | name: DS.attr(), 6 | course: DS.belongsTo('course'), 7 | contest: DS.belongsTo('contest') 8 | }); 9 | -------------------------------------------------------------------------------- /app/models/course.js: -------------------------------------------------------------------------------- 1 | import DS from "ember-data"; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | name: DS.attr(), 6 | logo: DS.attr(), 7 | theme: DS.attr(), 8 | courseContests: DS.hasMany("course-contest"), 9 | "contestCount": DS.attr(), 10 | }); 11 | -------------------------------------------------------------------------------- /app/models/dashboard-banner.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | image_url: DS.attr(), 6 | alt_text: DS.attr(), 7 | order: DS.attr(), 8 | link: DS.attr() 9 | }); 10 | -------------------------------------------------------------------------------- /app/models/dcb.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | import Moment from 'moment'; 3 | const { Model } = DS; 4 | 5 | export default Model.extend({ 6 | contest: DS.belongsTo('contest'), 7 | contents: DS.hasMany('content'), 8 | top_content: Ember.computed('contents', function() { 9 | const contents = this.get('contents') 10 | return contents.find(content => content.dcbContents && Moment(content.dcbContents.start) > Moment().subtract(1, 'day')) 11 | }) 12 | }); 13 | -------------------------------------------------------------------------------- /app/models/editorial.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | content: DS.attr(), 6 | video: DS.attr(), 7 | problem: DS.belongsTo('problem') 8 | }); 9 | -------------------------------------------------------------------------------- /app/models/hiring-contest.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | name: DS.attr(), 6 | contest: DS.belongsTo('contest') 7 | }); 8 | -------------------------------------------------------------------------------- /app/models/notification.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | message: DS.attr(), 6 | notiIcon: DS.attr(), 7 | bgColor: DS.attr(), 8 | link: DS.attr() 9 | }); 10 | -------------------------------------------------------------------------------- /app/models/organization.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | about: DS.attr(), 6 | logo: DS.attr(), 7 | name: DS.attr(), 8 | url: DS.attr() 9 | }); 10 | -------------------------------------------------------------------------------- /app/models/overall-leaderboard.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | month: DS.attr(), 6 | year: DS.attr(), 7 | score: DS.attr(), 8 | college: DS.belongsTo('college'), 9 | user: DS.belongsTo('user') 10 | }); 11 | -------------------------------------------------------------------------------- /app/models/practice.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | name: DS.attr(), 6 | logo: DS.attr(), 7 | contest: DS.belongsTo('contest'), 8 | tags: DS.hasMany('tag') 9 | }); 10 | -------------------------------------------------------------------------------- /app/models/problem-feedback.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | stars: DS.attr(), 6 | body: DS.attr(), 7 | contest: DS.belongsTo('contest'), 8 | problem: DS.belongsTo('problem'), 9 | user: DS.belongsTo('user') 10 | }); 11 | -------------------------------------------------------------------------------- /app/models/problem-leaderboard.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | score: DS.attr(), 6 | time: DS.attr(), 7 | language: DS.attr(), 8 | plagiarism_detected: DS.attr(), 9 | user: DS.belongsTo('user'), 10 | contest: DS.belongsTo('contest'), 11 | problem: DS.belongsTo('problem'), 12 | college: DS.belongsTo('college') 13 | }); 14 | -------------------------------------------------------------------------------- /app/models/progress.js: -------------------------------------------------------------------------------- 1 | import Ember from 'ember'; 2 | import moment from 'moment'; 3 | import DS from 'ember-data'; 4 | const { Model } = DS; 5 | 6 | export default Model.extend({ 7 | status: DS.attr(), 8 | contestAttempt: DS.belongsTo('contest-attempt'), 9 | content: DS.belongsTo('content') 10 | }); 11 | -------------------------------------------------------------------------------- /app/models/project.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | language: DS.attr(), 6 | details: DS.attr(), 7 | time_limits: DS.attr(), 8 | source_url: DS.attr(), 9 | config_yml: DS.attr(), 10 | contest: DS.belongsTo('contest'), 11 | }); 12 | -------------------------------------------------------------------------------- /app/models/question.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | title: DS.attr(), 6 | description: DS.attr(), 7 | difficulty: DS.attr(), 8 | multicorrect: DS.attr(), 9 | choices: DS.hasMany('choice') 10 | }); 11 | -------------------------------------------------------------------------------- /app/models/quiz-attempt.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | user: DS.attr(), 6 | contest: DS.attr(), 7 | quiz: DS.attr(), 8 | quiz_submissions: DS.hasMany('quiz-submission') 9 | }); 10 | -------------------------------------------------------------------------------- /app/models/quiz-question-submission.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | question_id: DS.attr(), 6 | answer_ids: DS.attr({ defaultValue: () => [] }), 7 | review_later: DS.attr(), 8 | contentAttempt: DS.belongsTo('content-attempt') 9 | }); 10 | -------------------------------------------------------------------------------- /app/models/quiz.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | title: DS.attr(), 6 | quiz_id: DS.attr(), 7 | description: DS.attr(), 8 | image: DS.attr(), 9 | duration: DS.attr(), 10 | maxAttempts: DS.attr(), 11 | startDate: DS.attr(), 12 | endDate: DS.attr(), 13 | contest: DS.belongsTo('contest'), 14 | questions: DS.hasMany('question') 15 | }); 16 | -------------------------------------------------------------------------------- /app/models/solution-stub.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | language: DS.attr(), 6 | body: DS.attr(), 7 | problem: DS.belongsTo('problem') 8 | }); 9 | -------------------------------------------------------------------------------- /app/models/tag.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | name: DS.attr() 6 | }); 7 | -------------------------------------------------------------------------------- /app/models/testcase.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | input: DS.attr(), 6 | expected_output: DS.attr(), 7 | problem: DS.belongsTo('problem') 8 | }); 9 | -------------------------------------------------------------------------------- /app/models/unlocked-editorial.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | contest: DS.belongsTo('contest'), 6 | problem: DS.belongsTo('problem') 7 | }); 8 | -------------------------------------------------------------------------------- /app/models/unlocked-testcase.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | const { Model } = DS; 3 | 4 | export default Model.extend({ 5 | contest: DS.belongsTo('contest'), 6 | problem: DS.belongsTo('problem') 7 | }); 8 | -------------------------------------------------------------------------------- /app/models/user-tag.js: -------------------------------------------------------------------------------- 1 | import Ember from 'ember'; 2 | import DS from 'ember-data'; 3 | const { Model } = DS; 4 | 5 | export default Model.extend({ 6 | tag: DS.attr(), 7 | rating: DS.attr() 8 | }); 9 | -------------------------------------------------------------------------------- /app/models/user.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | 3 | export default DS.Model.extend({ 4 | name: DS.attr(), 5 | email: DS.attr(), 6 | verifiedemail: DS.attr(), 7 | verifiedmobile: DS.attr(), 8 | course: DS.attr(), 9 | oauth_id: DS.attr(), 10 | photo: DS.attr(), 11 | createdAt: DS.attr() 12 | }); 13 | -------------------------------------------------------------------------------- /app/models/web-challenge-submission.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | 3 | export default DS.Model.extend({ 4 | source: DS.attr(), 5 | score: DS.attr(), 6 | isTopSubmission: DS.attr(), 7 | content: DS.belongsTo('content'), 8 | contestAttempt: DS.belongsTo('contest-attempt') 9 | }); -------------------------------------------------------------------------------- /app/models/web-challenge.js: -------------------------------------------------------------------------------- 1 | import DS from 'ember-data'; 2 | 3 | export default DS.Model.extend({ 4 | title: DS.attr(), 5 | description: DS.attr() 6 | }) 7 | -------------------------------------------------------------------------------- /app/pods/404/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
404
5 |
Sorry, Page not found
6 | 7 | 404 8 |
9 |
10 |
11 | -------------------------------------------------------------------------------- /app/pods/application/controller.js: -------------------------------------------------------------------------------- 1 | import Controller from '@ember/controller'; 2 | import { inject as service } from '@ember/service'; 3 | 4 | export default class ApplicationController extends Controller { 5 | @service navigation 6 | @service layout 7 | @service serverTime 8 | @service currentUser 9 | @service monitorer 10 | 11 | init() { 12 | this._super(...arguments) 13 | this.monitorer 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/pods/competitions/id/contest-archive/index/template.hbs: -------------------------------------------------------------------------------- 1 | 9 |
10 | {{contestView.leaderboardComponent}} 11 |
12 |
13 | -------------------------------------------------------------------------------- /app/pods/competitions/id/contest-archive/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | 7 |
8 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/competitions/id/index/controller.js: -------------------------------------------------------------------------------- 1 | import Controller from '@ember/controller'; 2 | import { action } from '@ember/object'; 3 | 4 | export default class Index extends Controller { 5 | @action 6 | onParticipate(contest_id) { 7 | this.transitionToRoute('contests.contest', contest_id) 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /app/pods/competitions/id/index/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | import RSVP from 'rsvp'; 3 | 4 | export default class IndexRoute extends Route { 5 | 6 | async model() { 7 | const competition = this.modelFor('competitions.id') 8 | 9 | return RSVP.hash({ 10 | competition 11 | }) 12 | } 13 | 14 | setupController (controller, model) { 15 | controller.set('competition', model.competition) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/pods/competitions/id/index/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | 7 |
8 |
9 | 12 |
-------------------------------------------------------------------------------- /app/pods/competitions/id/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default class CompetitionIdRoute extends Route{ 4 | model (params) { 5 | return this.store.findRecord('competition', params.competition_id, { 6 | include: 'organization' 7 | }) 8 | } 9 | afterModel(model) { 10 | this.set('breadCrumb', { 11 | title: model.name 12 | }) 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /app/pods/competitions/id/template.hbs: -------------------------------------------------------------------------------- 1 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/competitions/index/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default class CompetitionRoute extends Route { 4 | model () { 5 | return this.store.findAll('competition'); 6 | } 7 | 8 | setupController(controller, model) { 9 | controller.set('competitions', model) 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /app/pods/competitions/index/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |

Competitions

3 |
4 | Participate in competitions and see where you stand amongst your peers 5 |
6 |
7 | 8 |
9 |
10 | {{#each competitions as |competition|}} 11 |
12 | 13 |
14 | {{/each}} 15 |
16 |
-------------------------------------------------------------------------------- /app/pods/competitions/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | import { inject as service } from '@ember/service'; 3 | 4 | export default Route.extend({ 5 | }); 6 | -------------------------------------------------------------------------------- /app/pods/competitions/template.hbs: -------------------------------------------------------------------------------- 1 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/components/archived-competition-contest-card/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default class ArchivedContestCard extends Component {} 4 | -------------------------------------------------------------------------------- /app/pods/components/author-card/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/award-badge-component/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default class AwaredBadgeComponent extends Component{ 4 | } 5 | -------------------------------------------------------------------------------- /app/pods/components/bookmarked-problems-view/component.js: -------------------------------------------------------------------------------- 1 | import Component from "@ember/component"; 2 | import { inject as service } from "@ember/service"; 3 | 4 | export default class BookmarkedProblemsView extends Component { 5 | @service store; 6 | 7 | q = ""; 8 | } 9 | -------------------------------------------------------------------------------- /app/pods/components/bookmarked-problems-view/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |

Bookmarked Challenges

3 | 4 | 5 |
-------------------------------------------------------------------------------- /app/pods/components/competition-card/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/content/content-problem-view/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/content/content-problem-view/template.hbs: -------------------------------------------------------------------------------- 1 | {{yield}} -------------------------------------------------------------------------------- /app/pods/components/content/content-quiz-view/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/content/content-quiz-view/template.hbs: -------------------------------------------------------------------------------- 1 | {{yield}} -------------------------------------------------------------------------------- /app/pods/components/contest-card/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import { computed } from '@ember/object'; 3 | import moment from 'moment'; 4 | 5 | export default class ContestCard extends Component { 6 | @computed('contest.duration') 7 | get durationAsHour () { 8 | return this.get('contest.duration') ? moment.duration(this.get('contest.duration')*1000).as("hours").toFixed(2) + "hrs" : "--" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /app/pods/components/contest-streak-view/template.hbs: -------------------------------------------------------------------------------- 1 | {{component streakComponent streak=streak topSubmission=topSubmission contest=contest}} 2 | {{yield}} -------------------------------------------------------------------------------- /app/pods/components/contest/contest-list/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import { inject as service } from '@ember/service'; 3 | 4 | export default class ContestList extends Component { 5 | @service store 6 | 7 | didReceiveAttrs() { 8 | this.set('taskTrigger', true) 9 | } 10 | 11 | } 12 | -------------------------------------------------------------------------------- /app/pods/components/course-contest-card/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import { computed } from '@ember/object'; 3 | 4 | export default class CourseContestCard extends Component { 5 | @computed('course') 6 | get contestCount() { 7 | return this.course.hasMany('courseContests').ids().length 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /app/pods/components/daily-goal-card-small/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import { computed } from '@ember/object'; 3 | 4 | export default class DailyGoalCardSmall extends Component{ 5 | @computed('level') 6 | get progress() { 7 | return (this.level.perfectSubmissionCount / this.level.nextRequiredSubmissionCount)*100 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /app/pods/components/daily-goal-card-small/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |

Daily Goal

3 |
Complete daily goal to count it as streak
4 | 5 |
{{or topSubmission.score 0}}/100 Points Scored
6 | {{yield}} 7 |
-------------------------------------------------------------------------------- /app/pods/components/dashboard-interview-card/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/dashboard-performance-graph/template.hbs: -------------------------------------------------------------------------------- 1 | {{ember-chart 2 | type="line" 3 | data=performanceData 4 | options=options 5 | width="300" 6 | height="300" 7 | class="bg-white"}} 8 | -------------------------------------------------------------------------------- /app/pods/components/dashboard-practice-view/template.hbs: -------------------------------------------------------------------------------- 1 | 2 |

Practice Problems

3 | 12 | -------------------------------------------------------------------------------- /app/pods/components/dcb-problem-card/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import { computed } from '@ember/object'; 3 | import moment from 'moment'; 4 | 5 | export default class DcbProblemCard extends Component { 6 | @computed('content') 7 | get end_time() { 8 | return moment(this.content.dcbContents.start).add(86400, 'second') 9 | } 10 | 11 | @computed('content') 12 | get ended() { 13 | return moment(this.content.dcbContents.start).add(86400, 'second') < moment() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/pods/components/error-view/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/error-view/not-found/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/error-view/not-found/template.hbs: -------------------------------------------------------------------------------- 1 | {{yield}} -------------------------------------------------------------------------------- /app/pods/components/error-view/template.hbs: -------------------------------------------------------------------------------- 1 | {{component errorComponent tryAgain=(action tryAgain)}} 2 | -------------------------------------------------------------------------------- /app/pods/components/file-uploader/template.hbs: -------------------------------------------------------------------------------- 1 | {{yield}} -------------------------------------------------------------------------------- /app/pods/components/form-view/checkbox-field/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import { action } from '@ember/object'; 3 | import { A } from '@ember/array'; 4 | 5 | export default class CheckboxField extends Component { 6 | selected = A() 7 | 8 | @action 9 | updateFieldValue(val) { 10 | if (this.selected.includes(val)) { 11 | this.selected.removeObject(val) 12 | } else { 13 | this.selected.addObject(val) 14 | } 15 | 16 | this.onUpdate(this.selected) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/pods/components/form-view/checkbox-field/template.hbs: -------------------------------------------------------------------------------- 1 | {{#each field.options as |option|}} 2 | 11 | {{/each}} 12 | -------------------------------------------------------------------------------- /app/pods/components/form-view/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import { action } from '@ember/object'; 3 | 4 | export default class FormView extends Component { 5 | didReceiveAttrs() { 6 | const formEntry = {} 7 | this.get('form.fields').map(field => { 8 | formEntry[field.name] = field.type === 'checkbox' ? [] : '' 9 | }) 10 | this.set('formEntry', formEntry) 11 | } 12 | 13 | @action 14 | onUpdate(key, value) { 15 | this.set(`formEntry.${key}`, value) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/pods/components/form-view/radio-field/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/form-view/radio-field/template.hbs: -------------------------------------------------------------------------------- 1 | {{#each field.options as |option|}} 2 | 10 | {{/each}} 11 | -------------------------------------------------------------------------------- /app/pods/components/form-view/text-field/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import { action } from '@ember/object'; 3 | 4 | export default class TextField extends Component { 5 | @action 6 | onChange(event) { 7 | this.onUpdate(event.target.value) 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /app/pods/components/form-view/text-field/template.hbs: -------------------------------------------------------------------------------- 1 | 7 | -------------------------------------------------------------------------------- /app/pods/components/input-search/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | 8 |
9 | 10 | {{#if q}} 11 |
12 | Showing results for {{q}} 13 |
14 | {{/if}} 15 | 16 |
17 | 18 | {{yield}} -------------------------------------------------------------------------------- /app/pods/components/jotted-editor/template.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/pods/components/level-view/template.hbs: -------------------------------------------------------------------------------- 1 | {{component levelComponent level=topLevel contest=contest}} 2 | {{yield}} -------------------------------------------------------------------------------- /app/pods/components/loading-component/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default class LoadingComponent extends Component {} 4 | -------------------------------------------------------------------------------- /app/pods/components/loading-component/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | Loader 3 |
4 | 5 | {{yield}} 6 | -------------------------------------------------------------------------------- /app/pods/components/login-button/template.hbs: -------------------------------------------------------------------------------- 1 | {{#if session.isAuthenticated}} 2 | 3 | {{else}} 4 | 7 | {{/if}} 8 | -------------------------------------------------------------------------------- /app/pods/components/monaco-editor/component.js: -------------------------------------------------------------------------------- 1 | export { default } from 'ember-monaco/components/code-editor'; 2 | -------------------------------------------------------------------------------- /app/pods/components/monaco-editor/template.js: -------------------------------------------------------------------------------- 1 | export { default } from 'ember-monaco/templates/components/code-editor'; 2 | -------------------------------------------------------------------------------- /app/pods/components/practice-header/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import DS from 'ember-data'; 3 | import { computed } from '@ember/object'; 4 | 5 | export default class PracticeHeader extends Component { 6 | @computed('practice.contest') 7 | get problemCount() { 8 | return DS.PromiseObject.create({ 9 | promise: this.practice.contest.then(c => ({ 10 | count: c.hasMany('problems').ids().length 11 | })) 12 | }) 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /app/pods/components/practice-problem-card/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/problem-discuss-view/post-view/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | 5 | }); 6 | -------------------------------------------------------------------------------- /app/pods/components/problem-list/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import { action } from '@ember/object'; 3 | 4 | export default class ProblemListComponent extends Component {} 5 | -------------------------------------------------------------------------------- /app/pods/components/problem-status/template.hbs: -------------------------------------------------------------------------------- 1 | {{yield fetchStatusTask.lastSuccessful.value}} -------------------------------------------------------------------------------- /app/pods/components/profile-card/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import { inject as service } from '@ember/service'; 3 | import { computed } from '@ember/object'; 4 | 5 | export default class ProfileCard extends Component{ 6 | @service currentUser; 7 | 8 | @computed('currentUser', 'user') 9 | get userHimself() { 10 | return this.user.id === this.currentUser.user.id 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /app/pods/components/project-view/project-detail-view/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import { computed } from '@ember/object'; 3 | import YAML from 'js-yaml'; 4 | 5 | export default class ProjectDetailView extends Component { 6 | @computed('project.config_yml') 7 | get allowedDirectories() { 8 | const config = YAML.load(this.project.config_yml) 9 | return config.project && config.project['allowed-folders'] 10 | } 11 | } -------------------------------------------------------------------------------- /app/pods/components/question-container/choice-view/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import { computed } from '@ember/object'; 3 | 4 | export default class ChoiceView extends Component { 5 | @computed('submission.answer_ids') 6 | get selected() { 7 | return this.submission.answer_ids.includes(this.choice.id) 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /app/pods/components/question-container/choice-view/template.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/pods/components/question-pill/template.hbs: -------------------------------------------------------------------------------- 1 | 5 | {{inc index}} 6 | -------------------------------------------------------------------------------- /app/pods/components/quiz-questions-pad/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/rating-stars/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/rating-stars/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | {{#each (range 1 (inc scale)) as |star|}} 3 | 6 | 7 | 8 | {{/each}} 9 |
-------------------------------------------------------------------------------- /app/pods/components/registered-contests-view/contest-row-small/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/registered-contests-view/contest-row/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/run-result/error-run-message/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/run-result/error-run-message/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
Damn! That’s an error!
5 |
6 | You were close! Inspect your code again. 7 |
8 |
9 |
10 |
-------------------------------------------------------------------------------- /app/pods/components/run-result/judgement-delay-run-message/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/run-result/judgement-delay-run-message/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
Judgement Delay!
5 |
6 | Our online judge seems to be hung up! Please check submissions tab in a while. 7 |
8 |
9 |
10 |
-------------------------------------------------------------------------------- /app/pods/components/side-nav/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/solution-component/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default class SolutionComponent extends Component {} 4 | -------------------------------------------------------------------------------- /app/pods/components/solution-component/template.hbs: -------------------------------------------------------------------------------- 1 | {{solution-component/editorial-view contest=contest problem=problem}} 2 | {{solution-component/testcase-view contest=contest problem=problem}} -------------------------------------------------------------------------------- /app/pods/components/submission-result/submission-error/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |

Compilation Error

3 |
Check the compiler output, fix the error and try again.
4 |
5 |
Compile Message
6 |
7 |
{{output}}
8 |
9 |
10 | -------------------------------------------------------------------------------- /app/pods/components/submission-result/submission-status/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |

{{status}}

3 | Submission Status 4 |
5 | -------------------------------------------------------------------------------- /app/pods/components/submission-result/submission-success/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | 3 | Compilation Successful 4 | 5 | {{#if output}} 6 |
{{output}}
7 | {{/if}} 8 |
-------------------------------------------------------------------------------- /app/pods/components/submission-result/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | {{#if isRunning}} 3 | 4 | {{else if isErrored}} 5 | 6 | {{else if isSubmission}} 7 | 8 | {{else}} 9 | 10 | {{/if}} 11 |
-------------------------------------------------------------------------------- /app/pods/components/submissions-heat-map/template.hbs: -------------------------------------------------------------------------------- 1 | {{#if fetchSubmissionsCountTask.isRunning}} 2 | 3 | {{/if}} 4 |
-------------------------------------------------------------------------------- /app/pods/components/submissions-list/analytics-graph/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |

Language Analytics

3 | 7 |
8 |
9 |

Submission Summary

10 | 14 |
15 | -------------------------------------------------------------------------------- /app/pods/components/submissions-list/submission-modal/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import { computed } from '@ember/object'; 3 | 4 | export default class SubmissionsListComponent extends Component{ 5 | @computed('submission.solution') 6 | get sourceCode () { 7 | return window.atob(this.submission.solution.source) 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /app/pods/components/submit-result/success-submission-message/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/submit-result/success-submission-message/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
Congratulations!
5 |
6 | You solved this challenge. Share it with your friends & challenge them to solve it! 7 |
8 |
9 |
10 |
11 | -------------------------------------------------------------------------------- /app/pods/components/submit-result/wrong-submission-message/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/submit-result/wrong-submission-message/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
Wrong Answer!
5 |
6 | Sorry Mate! You missed it this time. 7 |
8 |
9 |
10 |
-------------------------------------------------------------------------------- /app/pods/components/user-tag-graph/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |

Topic-Vise Performance

3 | 4 | 8 | 9 |
-------------------------------------------------------------------------------- /app/pods/components/web-challenge/web-challenge-explanation/component.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | 3 | export default Component.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/components/web-challenge/web-challenge-explanation/template.hbs: -------------------------------------------------------------------------------- 1 |

2 | {{markdown-to-html webChallenge.description}} 3 |

4 | -------------------------------------------------------------------------------- /app/pods/contests/admission/apat/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default Route.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/contests/admission/cast/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default class IndexRoute extends Route {} 4 | -------------------------------------------------------------------------------- /app/pods/contests/admission/index/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | import AuthenticatedRouteMixin from 'hackerblocks/mixins/authenticated-route-mixin'; 3 | 4 | export default Route.extend(AuthenticatedRouteMixin, { 5 | }); 6 | -------------------------------------------------------------------------------- /app/pods/contests/admission/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default Route.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/contests/admission/template.hbs: -------------------------------------------------------------------------------- 1 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/contests/college/all/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default class AllRoute extends Route{ 4 | breadCrumb = null 5 | } 6 | -------------------------------------------------------------------------------- /app/pods/contests/college/index/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default class IndexRoute extends Route { 4 | afterModel(){ 5 | this.transitionTo('contests.college.all.live') 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/pods/contests/college/index/template.hbs: -------------------------------------------------------------------------------- 1 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/contests/college/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | import AuthenticatedRouteMixin from 'hackerblocks/mixins/authenticated-route-mixin'; 3 | 4 | export default Route.extend(AuthenticatedRouteMixin, { 5 | breadCrumb: { 6 | title: 'College Contests' 7 | } 8 | }); 9 | -------------------------------------------------------------------------------- /app/pods/contests/college/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | 7 |
8 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/contests/contest/attempt/content/problem/controller.js: -------------------------------------------------------------------------------- 1 | import Controller from '@ember/controller'; 2 | 3 | export default class ProblemController extends Controller { 4 | } 5 | -------------------------------------------------------------------------------- /app/pods/contests/contest/attempt/content/problem/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | 7 |
8 | -------------------------------------------------------------------------------- /app/pods/contests/contest/attempt/content/project/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |
3 | 7 |
8 |
9 | -------------------------------------------------------------------------------- /app/pods/contests/contest/attempt/content/quiz/controller.js: -------------------------------------------------------------------------------- 1 | import Controller from '@ember/controller'; 2 | import { inject as service } from '@ember/service'; 3 | import { action } from '@ember/object'; 4 | 5 | export default class QuizController extends Controller { 6 | @service api 7 | 8 | queryParams = ['q'] 9 | 10 | q = 1 11 | 12 | @action 13 | changeQuestion(question_id) { 14 | this.set('q', question_id) 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/pods/contests/contest/attempt/content/quiz/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | 9 |
10 | -------------------------------------------------------------------------------- /app/pods/contests/contest/attempt/content/template.hbs: -------------------------------------------------------------------------------- 1 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/contests/contest/attempt/content/web/template.hbs: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /app/pods/contests/contest/attempt/loading/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default class AttemptLoadingRoute extends Route{ 4 | 5 | 6 | } 7 | -------------------------------------------------------------------------------- /app/pods/contests/contest/attempt/loading/template.hbs: -------------------------------------------------------------------------------- 1 | {{outlet}} 2 | -------------------------------------------------------------------------------- /app/pods/contests/contest/attempt/template.hbs: -------------------------------------------------------------------------------- 1 | 8 | {{outlet}} 9 | -------------------------------------------------------------------------------- /app/pods/contests/contest/content/project/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |
3 | 7 |
8 |
9 | 12 |
13 |
14 | -------------------------------------------------------------------------------- /app/pods/contests/contest/content/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | 7 |
8 |
9 |
10 | 13 |
14 |
15 | 16 | {{outlet}} 17 | -------------------------------------------------------------------------------- /app/pods/contests/contest/feedback/controller.js: -------------------------------------------------------------------------------- 1 | import Controller from '@ember/controller'; 2 | import { action } from '@ember/object'; 3 | 4 | export default class FeedbackController extends Controller { 5 | @action 6 | onSkip() { 7 | this.transitionToRoute('index') 8 | } 9 | 10 | @action 11 | afterSave() { 12 | this.transitionToRoute('index') 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /app/pods/contests/contest/feedback/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |
3 | 8 |
9 |
10 | -------------------------------------------------------------------------------- /app/pods/contests/contest/loading/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default Route.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/contests/contest/loading/template.hbs: -------------------------------------------------------------------------------- 1 | {{outlet}} 2 | -------------------------------------------------------------------------------- /app/pods/contests/contest/template.hbs: -------------------------------------------------------------------------------- 1 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/contests/course/id/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default class CourseIdRoute extends Route { 4 | model(params) { 5 | return this.store.findRecord('course', params.course_id) 6 | } 7 | 8 | setupController(controller, model) { 9 | controller.set('course', model) 10 | } 11 | 12 | afterModel(model) { 13 | this.set('breadCrumb', { 14 | title: model.name 15 | }) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/pods/contests/course/id/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | {{#each course.courseContests as |contest|}} 3 |
4 | 7 | {{#link-to 'contests.contest' contest.contest.id}} 8 | 11 | {{/link-to}} 12 | 13 |
14 | {{/each}} 15 |
-------------------------------------------------------------------------------- /app/pods/contests/course/index/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default class CourseIndexRoute extends Route{ 4 | model(){ 5 | return this.modelFor('contests.course') 6 | } 7 | 8 | setupController(controller, model){ 9 | controller.set('courses', model) 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /app/pods/contests/course/index/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |

COURSE CONTESTS

3 |
Compete with your peers and boast your rank
4 |
5 |
6 | {{#each courses as |course|}} 7 |
8 | 9 |
10 | {{/each}} 11 |
-------------------------------------------------------------------------------- /app/pods/contests/course/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | import AuthenticatedRouteMixin from 'hackerblocks/mixins/authenticated-route-mixin'; 3 | 4 | export default Route.extend(AuthenticatedRouteMixin, { 5 | model(){ 6 | return this.store.findAll('course') 7 | } 8 | }); 9 | -------------------------------------------------------------------------------- /app/pods/contests/course/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | 7 |
8 | {{outlet}} 9 | -------------------------------------------------------------------------------- /app/pods/contests/hiring/all/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default Route.extend({ 4 | }); 5 | -------------------------------------------------------------------------------- /app/pods/contests/hiring/index/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default class IndexRoute extends Route { 4 | afterModel(){ 5 | this.transitionTo('contests.hiring.all.index') 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /app/pods/contests/hiring/index/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | 7 |
8 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/contests/hiring/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | import AuthenticatedRouteMixin from 'hackerblocks/mixins/authenticated-route-mixin'; 3 | 4 | export default Route.extend(AuthenticatedRouteMixin); 5 | -------------------------------------------------------------------------------- /app/pods/contests/hiring/template.hbs: -------------------------------------------------------------------------------- 1 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/contests/index/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default class IndexRoute extends Route { } 4 | -------------------------------------------------------------------------------- /app/pods/contests/old-contest/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | import AuthenticatedRouteMixin from 'hackerblocks/mixins/authenticated-route-mixin'; 3 | const AuthenticatedRoute = Route.extend(AuthenticatedRouteMixin) 4 | export default class OldContest extends AuthenticatedRoute { 5 | beforeModel() { 6 | const { contest_id } = this.paramsFor('contests.old-contest') 7 | this.transitionTo('contests.contest', contest_id) 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /app/pods/contests/old-contest/template.hbs: -------------------------------------------------------------------------------- 1 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/contests/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | import { inject as service } from '@ember/service'; 3 | export default class ContestsRoute extends Route { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /app/pods/contests/template.hbs: -------------------------------------------------------------------------------- 1 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/dcb/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | import RSVP from 'rsvp'; 3 | import { inject as service } from '@ember/service'; 4 | 5 | export default class DCBRoute extends Route { 6 | async model() { 7 | const dcb = await this.store.findRecord('dcb', 1) 8 | const contest = await dcb.contest 9 | const contents = dcb.get('contents') 10 | return RSVP.hash({ 11 | dcb, 12 | contest, 13 | contents 14 | }) 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/pods/dcb/template.hbs: -------------------------------------------------------------------------------- 1 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/error/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default class ErrorRoute extends Route { 4 | queryParams = { 5 | errorCode: { 6 | refreshModel: true 7 | }, 8 | next: { 9 | refreshModel: true 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /app/pods/error/template.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/pods/help/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | import { inject as service } from '@ember/service'; 3 | 4 | export default Route.extend({ 5 | }); 6 | -------------------------------------------------------------------------------- /app/pods/index/controller.js: -------------------------------------------------------------------------------- 1 | import Controller from '@ember/controller'; 2 | import { inject as service } from '@ember/service'; 3 | 4 | export default class IndexController extends Controller { 5 | @service layout 6 | } 7 | -------------------------------------------------------------------------------- /app/pods/index/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | import AuthenticatedRouteMixin from 'hackerblocks/mixins/authenticated-route-mixin'; 3 | import { inject as service } from '@ember/service'; 4 | 5 | export default Route.extend(AuthenticatedRouteMixin, { 6 | 7 | }) 8 | -------------------------------------------------------------------------------- /app/pods/loading/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | import { action } from '@ember/object'; 3 | import { inject as service } from '@ember/service'; 4 | 5 | export default class LoadingRoute extends Route { 6 | @service navigation 7 | 8 | @action 9 | willTransition() { 10 | this.navigation.setVisibility(true) 11 | } 12 | 13 | @action 14 | didTransition() { 15 | this.navigation.setVisibility(false) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /app/pods/loading/template.hbs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/pods/logout/route.js: -------------------------------------------------------------------------------- 1 | import Route from "@ember/routing/route"; 2 | import { inject as service } from '@ember/service'; 3 | 4 | export default class Logout extends Route { 5 | @service api; 6 | @service session; 7 | 8 | async beforeModel(transition) { 9 | try { 10 | window.localStorage.clear() 11 | await this.session.invalidate(); 12 | } catch (err) { 13 | window.location.replace("/") 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /app/pods/logout/template.hbs: -------------------------------------------------------------------------------- 1 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/practice/contest/content/project/controller.js: -------------------------------------------------------------------------------- 1 | import Controller from '@ember/controller'; 2 | 3 | 4 | export default class Project extends Controller { 5 | 6 | 7 | 8 | } 9 | -------------------------------------------------------------------------------- /app/pods/practice/contest/content/project/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |
3 | 7 |
8 |
9 | 12 |
13 |
14 | -------------------------------------------------------------------------------- /app/pods/practice/contest/content/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |
3 | 6 |
7 |
8 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/practice/contest/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | 7 |
8 | {{outlet}} 9 | -------------------------------------------------------------------------------- /app/pods/practice/index/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | import { inject as service } from '@ember/service'; 3 | 4 | export default class PracticeRoute extends Route { 5 | @service store 6 | 7 | model() { 8 | return this.store.query('practice', { 9 | filterRelationships: { 10 | contest: { 11 | is_listed: true 12 | } 13 | } 14 | }) 15 | } 16 | 17 | setupController(controller, model) { 18 | controller.set('practices', model) 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/pods/practice/index/template.hbs: -------------------------------------------------------------------------------- 1 |
2 |

PRACTICE PROBLEMS

3 |
4 | Take these challenges and improve your problem solving skills 5 |
6 |
7 | 8 |
9 | {{#each practices as |practice|}} 10 |
11 | 12 |
13 | {{/each}} 14 |
15 | -------------------------------------------------------------------------------- /app/pods/practice/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | import { inject as service } from '@ember/service'; 3 | 4 | export default class PracticeRoute extends Route { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /app/pods/practice/template.hbs: -------------------------------------------------------------------------------- 1 | {{outlet}} -------------------------------------------------------------------------------- /app/pods/users/id/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default class IdRoute extends Route { 4 | queryParams = { 5 | offset: { 6 | refreshModel: false 7 | }, 8 | limit: { 9 | refreshModel: false 10 | } 11 | } 12 | 13 | model(params) { 14 | return this.store.findRecord('user', params.user_id) 15 | } 16 | 17 | setupController(controller, model){ 18 | controller.set('user', model) 19 | } 20 | }; 21 | -------------------------------------------------------------------------------- /app/pods/users/route.js: -------------------------------------------------------------------------------- 1 | import Route from '@ember/routing/route'; 2 | 3 | export default Route.extend({ 4 | }) 5 | -------------------------------------------------------------------------------- /app/pods/users/template.hbs: -------------------------------------------------------------------------------- 1 |
2 | {{outlet}} 3 |
-------------------------------------------------------------------------------- /app/resolver.js: -------------------------------------------------------------------------------- 1 | import Resolver from 'ember-resolver'; 2 | 3 | export default Resolver; 4 | -------------------------------------------------------------------------------- /app/routes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/app/routes/.gitkeep -------------------------------------------------------------------------------- /app/services/layout.js: -------------------------------------------------------------------------------- 1 | import Service from '@ember/service'; 2 | import { action } from '@ember/object'; 3 | 4 | export default class LayoutService extends Service { 5 | outsideElement = null 6 | 7 | @action 8 | setOutsideLayout(element) { 9 | this.set('outsideElement', element) 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /app/services/navigation.js: -------------------------------------------------------------------------------- 1 | import Service from '@ember/service'; 2 | 3 | export default class NavigationService extends Service { 4 | visible = true 5 | 6 | setVisibility(visible) { 7 | this.set('visible', visible) 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /app/services/webengage.js: -------------------------------------------------------------------------------- 1 | import Service from '@ember/service'; 2 | 3 | export default Service.extend({ 4 | trackUser(user) { 5 | webengage.user.login(user.get('id')) 6 | webengage.user.setAttribute('hb_email', user.get('email')) 7 | webengage.user.login(user.get('hb_oneauth_id', user.get('oauth_id'))) 8 | }, 9 | trackEvent(event_name, meta) { 10 | webengage.track(event_name, {...meta}) 11 | } 12 | }); 13 | -------------------------------------------------------------------------------- /app/session-stores/application.js: -------------------------------------------------------------------------------- 1 | import CookieStore from 'ember-simple-auth/session-stores/cookie'; 2 | 3 | export default CookieStore.extend({ 4 | cookieName: "hack_auth_session", 5 | sameSite: "lax", 6 | _secureCookies() { 7 | return false 8 | } 9 | }); -------------------------------------------------------------------------------- /app/templates/application.hbs: -------------------------------------------------------------------------------- 1 | {{!-- The following component displays Ember's default welcome message. --}} 2 | 3 | {{!-- Feel free to remove this! --}} 4 | 5 | {{outlet}} -------------------------------------------------------------------------------- /app/templates/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/app/templates/components/.gitkeep -------------------------------------------------------------------------------- /app/transitions.js: -------------------------------------------------------------------------------- 1 | export default function(){ 2 | // Add your transitions here, like: 3 | // this.transition( 4 | // this.fromRoute('people.index'), 5 | // this.toRoute('people.detail'), 6 | // this.use('toLeft'), 7 | // this.reverse('toRight') 8 | // ); 9 | } 10 | -------------------------------------------------------------------------------- /app/util/blobEmberUploader.js: -------------------------------------------------------------------------------- 1 | import S3Uploader from 'ember-uploader/uploaders/s3'; 2 | 3 | export default S3Uploader.extend({ 4 | createFormData(files, extra = { type: 'zip' }) { 5 | const formData = new FormData(); 6 | 7 | for (const prop in extra) { 8 | if (extra.hasOwnProperty(prop)) { 9 | formData.append(this.toNamespacedParam(prop), extra[prop]); 10 | } 11 | } 12 | formData.append('file', files) 13 | return formData; 14 | } 15 | }) 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /config/optional-features.json: -------------------------------------------------------------------------------- 1 | { 2 | "jquery-integration": true 3 | } 4 | -------------------------------------------------------------------------------- /config/targets.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | const browsers = [ 4 | 'last 1 Chrome versions', 5 | 'last 1 Firefox versions', 6 | 'last 1 Safari versions' 7 | ]; 8 | 9 | const isCI = !!process.env.CI; 10 | const isProduction = process.env.EMBER_ENV === 'production'; 11 | 12 | if (isCI || isProduction) { 13 | browsers.push('ie 11'); 14 | } 15 | 16 | module.exports = { 17 | browsers 18 | }; 19 | -------------------------------------------------------------------------------- /deployToProduction.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | rm -rf dist/* 4 | ember build --env production 5 | chmod 600 key.pem 6 | 7 | ssh -o StrictHostKeyChecking=no -i key.pem $USER@$SERVER "mkdir ~/temp" 8 | scp -o StrictHostKeyChecking=no -i key.pem -r ./dist/* $USER@$SERVER:~/temp/ 9 | ssh -o StrictHostKeyChecking=no -i key.pem $USER@$SERVER "rm -rf ~/frontends/hackerblocks/* && \ 10 | cp -rf ~/temp/* ~/frontends/hackerblocks && \ 11 | rm -rf ~/temp" 12 | -------------------------------------------------------------------------------- /deployToStaging.sh: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | 3 | rm -rf dist/* 4 | ember build --env staging 5 | chmod 600 key.pem 6 | 7 | ssh -o StrictHostKeyChecking=no -i key.pem $USER@$SERVER "mkdir ~/temp" 8 | scp -o StrictHostKeyChecking=no -i key.pem -r ./dist/* $USER@$SERVER:~/temp/ 9 | ssh -o StrictHostKeyChecking=no -i key.pem $USER@$SERVER "rm -rf ~/frontends/hackerblocks.staging/* && \ 10 | cp -rf ~/temp/* ~/frontends/hackerblocks.staging && \ 11 | rm -rf ~/temp" 12 | -------------------------------------------------------------------------------- /key.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/key.enc -------------------------------------------------------------------------------- /lib/ember-w-pack/addon/components/w-async/loading.js: -------------------------------------------------------------------------------- 1 | import Component from '@ember/component'; 2 | import layout from '../../templates/components/w-async/loading'; 3 | 4 | export default Component.extend({ 5 | layout 6 | }); 7 | -------------------------------------------------------------------------------- /lib/ember-w-pack/addon/templates/components/w-async.hbs: -------------------------------------------------------------------------------- 1 | {{#if showLoader}} 2 | {{#if loaderComponent}} 3 | {{loaderComponent}} 4 | {{else}} 5 | Loading 6 | {{/if}} 7 | {{else}} 8 | {{yield task.last.value}} 9 | {{/if}} -------------------------------------------------------------------------------- /lib/ember-w-pack/addon/templates/components/w-async/loading.hbs: -------------------------------------------------------------------------------- 1 | Loading... -------------------------------------------------------------------------------- /lib/ember-w-pack/addon/templates/components/w-pulse.hbs: -------------------------------------------------------------------------------- 1 | {{#if triggered}} 2 | {{yield}} 3 | {{/if}} -------------------------------------------------------------------------------- /lib/ember-w-pack/addon/templates/components/w-read-more.hbs: -------------------------------------------------------------------------------- 1 | {{#if isMarkdown}} 2 | {{markdown-to-html displayContent}} 3 | {{else}} 4 | {{ displayContent }} 5 | {{/if}} 6 | 7 | {{ toggleText }} -------------------------------------------------------------------------------- /lib/ember-w-pack/app/components/w-async.js: -------------------------------------------------------------------------------- 1 | export { default } from 'ember-w-pack/components/w-async'; -------------------------------------------------------------------------------- /lib/ember-w-pack/app/components/w-async/loading.js: -------------------------------------------------------------------------------- 1 | export { default } from 'ember-w-pack/components/w-async/loading'; -------------------------------------------------------------------------------- /lib/ember-w-pack/app/components/w-pulse.js: -------------------------------------------------------------------------------- 1 | export { default } from 'ember-w-pack/components/w-pulse'; -------------------------------------------------------------------------------- /lib/ember-w-pack/app/components/w-read-more.js: -------------------------------------------------------------------------------- 1 | export { default } from 'ember-w-pack/components/w-read-more'; -------------------------------------------------------------------------------- /lib/ember-w-pack/index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | module.exports = { 4 | name: require('./package').name, 5 | 6 | isDevelopingAddon() { 7 | return true; 8 | } 9 | }; 10 | -------------------------------------------------------------------------------- /lib/ember-w-pack/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ember-w-pack", 3 | "keywords": [ 4 | "ember-addon" 5 | ], 6 | "dependencies": { 7 | "ember-decorators": "*", 8 | "ember-cli-babel": "*", 9 | "ember-cli-htmlbars": "*", 10 | "ember-cli-showdown": "*" 11 | 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /public/favicon/android-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/android-icon-144x144.png -------------------------------------------------------------------------------- /public/favicon/android-icon-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/android-icon-192x192.png -------------------------------------------------------------------------------- /public/favicon/android-icon-36x36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/android-icon-36x36.png -------------------------------------------------------------------------------- /public/favicon/android-icon-48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/android-icon-48x48.png -------------------------------------------------------------------------------- /public/favicon/android-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/android-icon-72x72.png -------------------------------------------------------------------------------- /public/favicon/android-icon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/android-icon-96x96.png -------------------------------------------------------------------------------- /public/favicon/apple-icon-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/apple-icon-114x114.png -------------------------------------------------------------------------------- /public/favicon/apple-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/apple-icon-120x120.png -------------------------------------------------------------------------------- /public/favicon/apple-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/apple-icon-144x144.png -------------------------------------------------------------------------------- /public/favicon/apple-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/apple-icon-152x152.png -------------------------------------------------------------------------------- /public/favicon/apple-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/apple-icon-180x180.png -------------------------------------------------------------------------------- /public/favicon/apple-icon-57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/apple-icon-57x57.png -------------------------------------------------------------------------------- /public/favicon/apple-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/apple-icon-60x60.png -------------------------------------------------------------------------------- /public/favicon/apple-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/apple-icon-72x72.png -------------------------------------------------------------------------------- /public/favicon/apple-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/apple-icon-76x76.png -------------------------------------------------------------------------------- /public/favicon/apple-icon-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/apple-icon-precomposed.png -------------------------------------------------------------------------------- /public/favicon/apple-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/apple-icon.png -------------------------------------------------------------------------------- /public/favicon/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/favicon-16x16.png -------------------------------------------------------------------------------- /public/favicon/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/favicon-32x32.png -------------------------------------------------------------------------------- /public/favicon/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/favicon-96x96.png -------------------------------------------------------------------------------- /public/favicon/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/favicon.ico -------------------------------------------------------------------------------- /public/favicon/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/ms-icon-144x144.png -------------------------------------------------------------------------------- /public/favicon/ms-icon-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/ms-icon-150x150.png -------------------------------------------------------------------------------- /public/favicon/ms-icon-310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/ms-icon-310x310.png -------------------------------------------------------------------------------- /public/favicon/ms-icon-70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/favicon/ms-icon-70x70.png -------------------------------------------------------------------------------- /public/images/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/.DS_Store -------------------------------------------------------------------------------- /public/images/404.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/404.png -------------------------------------------------------------------------------- /public/images/admission_banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/admission_banner.png -------------------------------------------------------------------------------- /public/images/admissioncontest_w.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/admissioncontest_w.png -------------------------------------------------------------------------------- /public/images/badge_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/badge_orange.png -------------------------------------------------------------------------------- /public/images/bookmark_o.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/bookmark_o.png -------------------------------------------------------------------------------- /public/images/code.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/code.gif -------------------------------------------------------------------------------- /public/images/code_problem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/code_problem.png -------------------------------------------------------------------------------- /public/images/collegecontest_w.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/collegecontest_w.png -------------------------------------------------------------------------------- /public/images/confetti.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/confetti.png -------------------------------------------------------------------------------- /public/images/cong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/cong.png -------------------------------------------------------------------------------- /public/images/contest_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/contest_orange.png -------------------------------------------------------------------------------- /public/images/contests_w.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/contests_w.png -------------------------------------------------------------------------------- /public/images/coursecontest_w.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/coursecontest_w.png -------------------------------------------------------------------------------- /public/images/email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/email.png -------------------------------------------------------------------------------- /public/images/empty_leaderboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/empty_leaderboard.png -------------------------------------------------------------------------------- /public/images/error_o.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/error_o.png -------------------------------------------------------------------------------- /public/images/hb_logo_monochrome_full_dg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/hb_logo_monochrome_full_dg.png -------------------------------------------------------------------------------- /public/images/hexagon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/hexagon.jpg -------------------------------------------------------------------------------- /public/images/hiringcontest_w.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/hiringcontest_w.png -------------------------------------------------------------------------------- /public/images/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/loader.gif -------------------------------------------------------------------------------- /public/images/logo_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/logo_white.png -------------------------------------------------------------------------------- /public/images/quiz_problem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/quiz_problem.png -------------------------------------------------------------------------------- /public/images/star_grey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/star_grey.png -------------------------------------------------------------------------------- /public/images/star_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/star_orange.png -------------------------------------------------------------------------------- /public/images/submission_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/submission_orange.png -------------------------------------------------------------------------------- /public/images/tick_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/tick_g.png -------------------------------------------------------------------------------- /public/images/wrong_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/wrong_g.png -------------------------------------------------------------------------------- /public/images/wrong_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/public/images/wrong_r.png -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # http://www.robotstxt.org 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /tests/helpers/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/tests/helpers/.gitkeep -------------------------------------------------------------------------------- /tests/integration/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/tests/integration/.gitkeep -------------------------------------------------------------------------------- /tests/test-helper.js: -------------------------------------------------------------------------------- 1 | import Application from '../app'; 2 | import config from '../config/environment'; 3 | import { setApplication } from '@ember/test-helpers'; 4 | import { start } from 'ember-qunit'; 5 | 6 | setApplication(Application.create(config.APP)); 7 | 8 | start(); 9 | -------------------------------------------------------------------------------- /tests/unit/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/tests/unit/.gitkeep -------------------------------------------------------------------------------- /tests/unit/adapters/problem-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Adapter | problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let adapter = this.owner.lookup('adapter:problem'); 10 | assert.ok(adapter); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/adapters/quiz-question-submission-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Adapter | quiz question submission', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let adapter = this.owner.lookup('adapter:quiz-question-submission'); 10 | assert.ok(adapter); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/models/admission-contest-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | admission contest', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('admission-contest', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/bookmarked-problem-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | bookmarked problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('bookmarked-problem', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/choice-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | choice', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('choice', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/college-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | college', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('college', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/competition-attempt-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | competition attempt', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('competition-attempt', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/competition-leaderboard-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | competition leaderboard', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('competition-leaderboard', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/content-attempt-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | content attempt', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('content-attempt', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/content-leaderboard-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | content leaderboard', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('content-leaderboard', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/content-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | content', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('content', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/contest-attempt-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | contest attempt', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('contest-attempt', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/contest-feedback-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | contest feedback', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('contest-feedback', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/contest-leaderboard-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | contest leaderboard', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('contest-leaderboard', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/contest-problem-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | contest problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('contest-problem', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/contest-registration-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | contest registration', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('contest-registration', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/contest-streak-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | contest streak', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('contest-streak', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/contest-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | contest', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('contest', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/dashboard-banner-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | dashboard banner', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('dashboard-banner', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/dcb-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | dcb', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('dcb', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/editorial-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | editorial', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('editorial', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/hiring-contest-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | hiring contest', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('hiring-contest', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/notification-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | notification', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('notification', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/organization-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | organization', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('organization', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/overall-leaderboard-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | overall leaderboard', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('overall-leaderboard', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/practice-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | practice', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('practice', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/problem-feedback-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | problem feedback', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('problem-feedback', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/problem-leaderboard-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | problem leaderboard', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('problem-leaderboard', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/problem-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('problem', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/question-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | question', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('question', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/quiz-attempt-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | quiz attempt', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('quiz-attempt', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/quiz-submission-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | quiz submission', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('quiz-submission', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/quiz-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | quiz', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('quiz', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/solution-stub-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | solution stub', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('solution-stub', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/submission-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | submission', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('submission', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/tag-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | tag', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('tag', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/testcase-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | testcase', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('testcase', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/unlocked-editorial-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | unlocked editorial', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('unlocked-editorial', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/unlocked-testcase-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | unlocked testcase', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('unlocked-testcase', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/user-level-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | user level', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('user-level', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/models/user-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Model | user', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let store = this.owner.lookup('service:store'); 10 | let model = store.createRecord('user', {}); 11 | assert.ok(model); 12 | }); 13 | }); 14 | -------------------------------------------------------------------------------- /tests/unit/pods/404/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | 404', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:404'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/application/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | application', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:application'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/application/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | application', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:application'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | competitions', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:competitions'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/id/contest-archive/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | competitions/id/contest-archive/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:competitions/id/contest-archive/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/id/contest-archive/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | competitions/id/contest-archive/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:competitions/id/contest-archive/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/id/contest-archive/problem/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | competitions/id/contest-archive/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:competitions/id/contest-archive/problem'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/id/contest-archive/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | competitions/id/contest-archive', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:competitions/id/contest-archive'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/id/contest/attempt/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | competitions/id/contest/attempt', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:competitions/id/contest/attempt'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/id/contest/attempt/problem/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | competitions/id/contest/attempt/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:competitions/id/contest/attempt/problem'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/id/contest/attempt/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | competitions/id/contest/attempt', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:competitions/id/contest/attempt'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/id/contest/feedback/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | competitions/id/contest/feedback', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:competitions/id/contest/feedback'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/id/contest/feedback/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | competitions/id/contest/feedback', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:competitions/id/contest/feedback'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/id/contest/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | competitions/id/contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:competitions/id/contest/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/id/contest/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | competitions/id/contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:competitions/id/contest/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/id/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | competitions/id/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:competitions/id/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/id/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | competitions/id/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:competitions/id/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/id/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | competitions/id', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:competitions/id'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | competitions/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:competitions/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/competitions/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | competitions', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:competitions'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/apat/archived/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/admission/apat/archived', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/admission/apat/archived'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/apat/archived/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/apat/archived', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/apat/archived'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/apat/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/admission/apat/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/admission/apat/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/apat/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/apat/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/apat/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/apat/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/apat', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/apat'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/apat/upcoming/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/admission/apat/upcoming', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/admission/apat/upcoming'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/apat/upcoming/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/apat/upcoming', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/apat/upcoming'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/cast/archived/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/admission/cast/archived', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/admission/cast/archived'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/cast/archived/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/cast/archived', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/cast/archived'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/cast/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/admission/cast/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/admission/cast/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/cast/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/cast/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/cast/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/cast/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/cast', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/cast'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/cast/upcoming/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/admission/cast/upcoming', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/admission/cast/upcoming'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/cast/upcoming/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/cast/upcoming', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/cast/upcoming'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/contest/attempt/problem/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/admission/contest/attempt/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/admission/contest/attempt/problem'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/contest/attempt/problem/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/contest/attempt/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/contest/attempt/problem'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/contest/attempt/quiz/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/admission/contest/attempt/quiz', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/admission/contest/attempt/quiz'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/contest/attempt/quiz/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/contest/attempt/quiz', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/contest/attempt/quiz'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/contest/attempt/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/contest/attempt', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/contest/attempt'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/contest/feedback/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/admission/contest/feedback', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/admission/contest/feedback'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/contest/feedback/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/contest/feedback', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/contest/feedback'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/contest/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/admission/contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/admission/contest/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/contest/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/contest/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/contest/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/contest', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/contest'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admission/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admission', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admission'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/admissions/case/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/admissions/case/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/admissions/case/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/all/archived/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/college/all/archived', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/college/all/archived'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/all/archived/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/college/all/archived', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/college/all/archived'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/all/live/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/college/all/live', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/college/all/live'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/all/live/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/college/all/live', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/college/all/live'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/all/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/college/all', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/college/all'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/all/upcoming/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/college/all/upcoming', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/college/all/upcoming'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/all/upcoming/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/college/all/upcoming', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/college/all/upcoming'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/contest/attempt/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/college/contest/attempt/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/college/contest/attempt/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/contest/attempt/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/college/contest/attempt/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/college/contest/attempt/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/contest/attempt/problem/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/college/contest/attempt/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/college/contest/attempt/problem'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/contest/attempt/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/college/contest/attempt', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/college/contest/attempt'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/contest/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/college/contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/college/contest/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/contest/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/college/contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/college/contest/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/contest/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/college/contest', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/college/contest'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/college/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/college/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/college/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/college', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/college'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/attempt/content/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/attempt/content/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/attempt/content/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/attempt/content/project/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/attempt/content/project', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/attempt/content/project'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/attempt/content/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/attempt/content', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/attempt/content'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/attempt/content/web/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/attempt/content/web', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/attempt/content/web'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/attempt/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/contest/attempt', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/contest/attempt'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/attempt/loading/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/attempt/loading', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/attempt/loading'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/attempt/problem/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/contest/attempt/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/contest/attempt/problem'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/attempt/problem/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/attempt/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/attempt/problem'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/attempt/quiz/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/contest/attempt/quiz', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/contest/attempt/quiz'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/attempt/quiz/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/attempt/quiz', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/attempt/quiz'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/attempt/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/attempt', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/attempt'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/content/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/content/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/content/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/content/problem/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/content/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/content/problem'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/content/project/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/content/project', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/content/project'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/content/quiz/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/contest/content/quiz', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/contest/content/quiz'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/content/quiz/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/content/quiz', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/content/quiz'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/content/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/content', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/content'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/feedback/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/contest/feedback', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/contest/feedback'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/feedback/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/feedback', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/feedback'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/contest/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/loading/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/loading', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/loading'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/problem/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest/problem'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/contest/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/contest', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/contest'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/course/contest/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/course/contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/course/contest/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/course/contest/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/course/contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/course/contest/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/course/contest/problem/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/course/contest/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/course/contest/problem'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/course/contest/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/course/contest', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/course/contest'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/course/id/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/course/id', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/course/id'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/course/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/course/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/course/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/course/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/course', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/course'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/all/archived/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/hiring/all/archived', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/hiring/all/archived'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/all/archived/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/hiring/all/archived', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/hiring/all/archived'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/all/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/hiring/all/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/hiring/all/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/all/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/hiring/all/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/hiring/all/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/all/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/hiring/all', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/hiring/all'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/all/upcoming/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/hiring/all/upcoming', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/hiring/all/upcoming'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/all/upcoming/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/hiring/all/upcoming', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/hiring/all/upcoming'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/contest/attempt/problem/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/hiring/contest/attempt/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/hiring/contest/attempt/problem'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/contest/attempt/problem/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/hiring/contest/attempt/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/hiring/contest/attempt/problem'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/contest/attempt/quiz/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/hiring/contest/attempt/quiz', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/hiring/contest/attempt/quiz'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/contest/attempt/quiz/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/hiring/contest/attempt/quiz', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/hiring/contest/attempt/quiz'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/contest/attempt/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/hiring/contest/attempt', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/hiring/contest/attempt'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/contest/feedback/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/hiring/contest/feedback', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/hiring/contest/feedback'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/contest/feedback/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/hiring/contest/feedback', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/hiring/contest/feedback'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/contest/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/hiring/contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/hiring/contest/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/contest/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/hiring/contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/hiring/contest/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/contest/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/hiring/contest', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/hiring/contest'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/hiring/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/hiring/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/hiring/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/hiring', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/hiring'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/old-contest/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | contests/old-contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:contests/old-contest/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/old-contest/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/old_contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/old-contest/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/old-contest/problem/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/old_contest/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/old-contest/problem'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/old-contest/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests/old_contest', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests/old-contest'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/contests/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | contests', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:contests'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/dcb/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | dcb/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:dcb/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/dcb/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | dcb/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:dcb/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/dcb/problem/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | dcb/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:dcb/problem'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/dcb/problem/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | dcb/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:dcb/problem'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/dcb/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | dcb', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:dcb'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/error/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | error', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:error'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/error/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | error', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:error'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/help/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | help', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:help'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/loading/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | loading', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:loading'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/login/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | login', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:login'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/logout/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | logout', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:logout'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/practice/contest/content/problem/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | practice/contest/content/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:practice/contest/content/problem'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/practice/contest/content/project/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | practice/contest/content/project', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:practice/contest/content/project'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/practice/contest/content/quiz/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | practice/contest/content/quiz', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:practice/contest/content/quiz'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/practice/contest/content/quiz/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | practice/contest/content/quiz', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:practice/contest/content/quiz'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/practice/contest/content/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | practice/contest/content', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:practice/contest/content'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/practice/contest/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | practice/contest', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:practice/contest'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/practice/contest/index/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | practice/contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:practice/contest/index'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/practice/contest/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | practice/contest/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:practice/contest/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/practice/contest/problem/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | practice/contest/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:practice/contest/problem'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/practice/contest/problem/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | practice/contest/problem', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:practice/contest/problem'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/practice/contest/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | practice/contest', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:practice/contest'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/practice/index/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | practice/index', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:practice/index'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/practice/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | practice', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:practice'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/users/id/controller-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Controller | users/id', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let controller = this.owner.lookup('controller:users/id'); 10 | assert.ok(controller); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/pods/users/id/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | users/id', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:users/id'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/pods/users/route-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Route | users', function(hooks) { 5 | setupTest(hooks); 6 | 7 | test('it exists', function(assert) { 8 | let route = this.owner.lookup('route:users'); 9 | assert.ok(route); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /tests/unit/services/api-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Service | api', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let service = this.owner.lookup('service:api'); 10 | assert.ok(service); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/services/current-user-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Service | current-user', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let service = this.owner.lookup('service:current-user'); 10 | assert.ok(service); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/services/layout-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Service | layout', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let service = this.owner.lookup('service:layout'); 10 | assert.ok(service); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/services/monitorer-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Service | monitorer', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let service = this.owner.lookup('service:monitorer'); 10 | assert.ok(service); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/services/navigation-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Service | navigation', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let service = this.owner.lookup('service:navigation'); 10 | assert.ok(service); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/services/server-time-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Service | server-time', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let service = this.owner.lookup('service:server-time'); 10 | assert.ok(service); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/services/session-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Service | session', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let service = this.owner.lookup('service:session'); 10 | assert.ok(service); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/services/submission-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Service | submission', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let service = this.owner.lookup('service:submission'); 10 | assert.ok(service); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/services/uploader-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Service | uploader', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let service = this.owner.lookup('service:uploader'); 10 | assert.ok(service); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/services/webengage-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Service | webengage', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let service = this.owner.lookup('service:webengage'); 10 | assert.ok(service); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /tests/unit/services/zipjs-test.js: -------------------------------------------------------------------------------- 1 | import { module, test } from 'qunit'; 2 | import { setupTest } from 'ember-qunit'; 3 | 4 | module('Unit | Service | zipjs', function(hooks) { 5 | setupTest(hooks); 6 | 7 | // Replace this with your real tests. 8 | test('it exists', function(assert) { 9 | let service = this.owner.lookup('service:zipjs'); 10 | assert.ok(service); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /vendor/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/coding-blocks/hackerblocks.projectx/cf1d280256bab616afc5ea8c07a61c65199c7e95/vendor/.gitkeep --------------------------------------------------------------------------------