Latest commit

History

4,670 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Doubtfire Logo

Doubtfire Web CI

A modern, lightweight learning management system.

🛠 Migration Status: In Development

Doubtfire web migration from AngularJS/Coffeescript to Angular/Typescript, including refactoring all components, is currently in development.

See the progress of component migration below.

Migration Progress

SUMMARY:

73 / 132 components migrated

MIGRATED:

  • ./src/app/home/splash-screen/splash-screen.component.ts
  • ./src/app/home/states/home/home.component.ts
  • ./src/app/tasks/task-submission-history/task-submission-history.component.ts
  • ./src/app/tasks/task-comments-viewer/task-assessment-comment/task-assessment-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/extension-comment/extension-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-player.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-recorder/intelligent-discussion-recorder.component.ts
  • ./src/app/tasks/task-comments-viewer/pdf-image-comment/pdf-image-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/comment-bubble-action/comment-bubble-action.component.ts
  • ./src/app/tasks/task-comments-viewer/task-comments-viewer.component.ts
  • ./src/app/tasks/task-comment-composer/task-comment-composer.component.ts
  • ./src/app/tasks/task-comment-composer/discussion-prompt-composer/discussion-prompt-composer.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/create-portfolio-task-list-item/create-portfolio-task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/task-list-item/task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-assessment-card/task-assessment-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-similarity-view/task-similarity-view.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-submission-card/task-submission-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-due-card/task-due-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.ts
  • ./src/app/admin/institution-settings/overseer-images/overseer-image-list.component.ts
  • ./src/app/admin/institution-settings/institution-settings.component.ts
  • ./src/app/admin/institution-settings/campuses/campus-list/campus-list.component.ts
  • ./src/app/admin/institution-settings/activity-type-list/activity-type-list.component.ts
  • ./src/app/admin/tii-action-log/tii-action-log.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-list/teaching-period-list.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-unit-import/teaching-period-unit-import.dialog.ts
  • ./src/app/eula/accept-eula/accept-eula.component.ts
  • ./src/app/welcome/welcome.component.ts
  • ./src/app/units/states/tasks/inbox/directives/staff-task-list/staff-task-list.component.ts
  • ./src/app/units/states/tasks/inbox/inbox.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-tutorial-select/student-tutorial-select.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/unit-students-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-campus-select/student-campus-select.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-manager/unit-tutorials-manager.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-list/unit-tutorials-list.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/unit-task-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-who/task-definition-who.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-dates/task-definition-dates.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-options/task-definition-options.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-resources/task-definition-resources.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-overseer/task-definition-overseer.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-general/task-definition-general.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-upload/task-definition-upload.component.ts
  • ./src/app/units/states/analytics/unit-analytics-route.component.ts
  • ./src/app/common/footer/footer.component.ts
  • ./src/app/common/audio-recorder/audio/audio-comment-recorder/audio-comment-recorder.ts
  • ./src/app/common/audio-recorder/audio/microphone-tester/microphone-tester.component.ts
  • ./src/app/common/audio-player/audio-player.component.ts
  • ./src/app/common/edit-profile-form/edit-profile-form.component.ts
  • ./src/app/common/file-drop/file-drop.component.ts
  • ./src/app/common/modals/extension-modal/extension-modal.component.ts
  • ./src/app/common/modals/about-doubtfire-modal/about-doubtfire-modal.component.ts
  • ./src/app/common/modals/calendar-modal/calendar-modal.component.ts
  • ./src/app/common/modals/task-assessment-modal/task-assessment-modal.component.ts
  • ./src/app/common/pdf-viewer/pdf-viewer.component.ts
  • ./src/app/common/obect-select/object-select.component.ts
  • ./src/app/common/hero-sidebar/hero-sidebar.component.ts
  • ./src/app/common/project-progress-bar/project-progress-bar.component.ts
  • ./src/app/common/f-chip/f-chip.component.ts
  • ./src/app/common/status-icon/status-icon.component.ts
  • ./src/app/common/user-badge/user-badge.component.ts
  • ./src/app/common/file-viewer/file-viewer.component.ts
  • ./src/app/common/user-icon/user-icon.component.ts
  • ./src/app/common/pdf-viewer-panel/pdf-viewer-panel.component.ts
  • ./src/app/common/header/header.component.ts
  • ./src/app/common/header/task-dropdown/task-dropdown.component.ts
  • ./src/app/common/header/unit-dropdown/unit-dropdown.component.ts
  • ./src/app/common/services/alert.service.ts
  • ./src/app/sessions/states/sign-in/sign-in.component.ts
  • ./src/app/account/edit-profile/edit-profile.component.ts

TODO:

  • ./src/app/visualisations/alignment-bar-chart.coffee
  • ./src/app/visualisations/summary-task-status-scatter.coffee
  • ./src/app/visualisations/target-grade-pie-chart.coffee
  • ./src/app/visualisations/achievement-custom-bar-chart.coffee
  • ./src/app/visualisations/student-task-status-pie-chart.coffee
  • ./src/app/visualisations/alignment-bullet-chart.coffee
  • ./src/app/visualisations/progress-burndown-chart.coffee
  • ./src/app/visualisations/task-status-pie-chart.coffee
  • ./src/app/visualisations/achievement-box-plot.coffee
  • ./src/app/visualisations/task-completion-box-plot.coffee
  • ./src/app/visualisations/visualisations.coffee
  • ./src/app/tasks/task-status-selector/task-status-selector.coffee
  • ./src/app/tasks/tasks.coffee
  • ./src/app/tasks/modals/modals.coffee
  • ./src/app/tasks/modals/upload-submission-modal/upload-submission-modal.coffee
  • ./src/app/tasks/modals/grade-task-modal/grade-task-modal.coffee
  • ./src/app/tasks/task-definition-selector/task-definition-selector.coffee
  • ./src/app/tasks/project-tasks-list/project-tasks-list.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-rater/task-ilo-alignment-rater.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment-modal/task-ilo-alignment-modal.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-editor/task-ilo-alignment-editor.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-viewer/task-ilo-alignment-viewer.coffee
  • ./src/app/config/privacy-policy/privacy-policy.coffee
  • ./src/app/config/config.coffee
  • ./src/app/config/runtime/runtime.coffee
  • ./src/app/config/root-controller/root-controller.coffee
  • ./src/app/config/local-storage/local-storage.coffee
  • ./src/app/config/routing/routing.coffee
  • ./src/app/config/vendor-dependencies/vendor-dependencies.coffee
  • ./src/app/config/analytics/analytics.coffee
  • ./src/app/config/debug/debug.coffee
  • ./src/app/projects/projects.coffee
  • ./src/app/projects/project-progress-dashboard/project-progress-dashboard.coffee
  • ./src/app/projects/states/states.coffee
  • ./src/app/projects/states/all/directives/directives.coffee
  • ./src/app/projects/states/all/directives/all-projects-list/all-projects-list.coffee
  • ./src/app/projects/states/all/all.coffee
  • ./src/app/projects/states/groups/groups.coffee
  • ./src/app/projects/states/feedback/feedback.coffee
  • ./src/app/projects/states/dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/progress-dashboard/progress-dashboard.coffee
  • ./src/app/projects/states/dashboard/directives/student-task-list/student-task-list.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-outcomes-card/task-outcomes-card.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.coffee
  • ./src/app/projects/states/dashboard/dashboard.coffee
  • ./src/app/projects/states/outcomes/outcomes.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-review-step/portfolio-review-step.coffee
  • ./src/app/projects/states/portfolio/directives/directives.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-learning-summary-report-step/portfolio-learning-summary-report-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-add-extra-files-step/portfolio-add-extra-files-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-grade-select-step/portfolio-grade-select-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-welcome-step/portfolio-welcome-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-tasks-step/portfolio-tasks-step.coffee
  • ./src/app/projects/states/portfolio/portfolio.coffee
  • ./src/app/projects/states/index/index.coffee
  • ./src/app/projects/states/tutorials/tutorials.coffee
  • ./src/app/projects/project-outcome-alignment/project-outcome-alignment.coffee
  • ./src/app/admin/modals/modals.coffee
  • ./src/app/admin/modals/create-unit-modal/create-unit-modal.coffee
  • ./src/app/admin/states/states.coffee
  • ./src/app/admin/states/units/units.coffee
  • ./src/app/admin/states/users/users.coffee
  • ./src/app/admin/admin.coffee
  • ./src/app/groups/group-selector/group-selector.coffee
  • ./src/app/groups/group-set-manager/group-set-manager.coffee
  • ./src/app/groups/group-member-contribution-assigner/group-member-contribution-assigner.coffee
  • ./src/app/groups/group-member-list/group-member-list.coffee
  • ./src/app/groups/group-set-selector/group-set-selector.coffee
  • ./src/app/groups/tutor-group-manager/tutor-group-manager.coffee
  • ./src/app/groups/groups.coffee
  • ./src/app/units/modals/unit-student-enrolment-modal/unit-student-enrolment-modal.coffee
  • ./src/app/units/modals/modals.coffee
  • ./src/app/units/modals/unit-ilo-edit-modal/unit-ilo-edit-modal.coffee
  • ./src/app/units/units.coffee
  • ./src/app/units/states/states.coffee
  • ./src/app/units/states/tasks/inbox/inbox.coffee
  • ./src/app/units/states/tasks/tasks.coffee
  • ./src/app/units/states/tasks/viewer/directives/directives.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-sheet-view/task-sheet-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-details-view/task-details-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/unit-task-list/unit-task-list.coffee
  • ./src/app/units/states/tasks/viewer/viewer.coffee
  • ./src/app/units/states/tasks/definition/definition.coffee
  • ./src/app/units/states/portfolios/portfolios.coffee
  • ./src/app/units/states/all/directives/all-units-list/all-units-list.coffee
  • ./src/app/units/states/all/directives/directives.coffee
  • ./src/app/units/states/all/all.coffee
  • ./src/app/units/states/groups/groups.coffee
  • ./src/app/units/states/edit/directives/directives.coffee
  • ./src/app/units/states/edit/directives/unit-group-set-editor/unit-group-set-editor.coffee
  • ./src/app/units/states/edit/directives/unit-details-editor/unit-details-editor.coffee
  • ./src/app/units/states/edit/directives/unit-staff-editor/unit-staff-editor.coffee
  • ./src/app/units/states/edit/directives/unit-ilo-editor/unit-ilo-editor.coffee
  • ./src/app/units/states/edit/edit.coffee
  • ./src/app/units/states/rollover/directives/directives.coffee
  • ./src/app/units/states/rollover/directives/unit-dates-selector/unit-dates-selector.coffee
  • ./src/app/units/states/rollover/rollover.coffee
  • ./src/app/units/states/index/index.coffee
  • ./src/app/units/states/students-list/students-list.coffee
  • ./src/app/units/states/analytics/analytics.coffee
  • ./src/app/common/filters/filters.coffee
  • ./src/app/common/content-editable/content-editable.coffee
  • ./src/app/common/alert-list/alert-list.coffee
  • ./src/app/common/modals/confirmation-modal/confirmation-modal.coffee
  • ./src/app/common/modals/comments-modal/comments-modal.coffee
  • ./src/app/common/modals/modals.coffee
  • ./src/app/common/modals/csv-result-modal/csv-result-modal.coffee
  • ./src/app/common/modals/progress-modal/progress-modal.coffee
  • ./src/app/common/grade-icon/grade-icon.coffee
  • ./src/app/common/file-uploader/file-uploader.coffee
  • ./src/app/common/common.coffee
  • ./src/app/common/services/grade-service.coffee
  • ./src/app/common/services/date-service.coffee
  • ./src/app/common/services/alert-service.coffee
  • ./src/app/common/services/media-service.coffee
  • ./src/app/common/services/recorder-service.coffee
  • ./src/app/common/services/outcome-service.coffee
  • ./src/app/common/services/listener-service.coffee
  • ./src/app/common/services/analytics-service.coffee
  • ./src/app/common/services/services.coffee
  • ./src/app/sessions/auth/http-auth-injector.coffee
  • ./src/app/sessions/sessions.coffee
  • ./src/app/errors/errors.coffee
  • ./src/app/errors/states/states.coffee
  • ./src/app/errors/states/unauthorised/unauthorised.coffee
  • ./src/app/errors/states/not-found/not-found.coffee
  • ./src/app/errors/states/timeout/timeout.coffee

Table of Contents

  1. Getting Started
  2. Resources
  3. Contributing
  4. Deployment
  5. License

Getting Started

If you will be using Docker, follow the instructions there.

Before you get started, make sure you have the Doubtfire API up and running. You will need to do this before continuing.

First, clone the web repository, and change to the root directory:

git clone https://github.com/doubtfire-lms/doubtfire-web.git
cd ./doubtfire-web

You can automate the installation process by running the automated setup script:

./setup.sh

Or, you can continue following the below steps to manually install doubtfire-web.

Install Node.js either by downloading it and installing it manually, or via Homebrew on OS X:

brew install node

or by using apt-get on Linux:

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install nodejs

Install Ruby SASS:

gem install sass

If gem fails, you should read the Doubtfire API README to install ruby. If you are not using rbenv, e.g., using Docker instead, you may need to prepend sudo to the above commands to have root write access.

If using rbenv, rehash to ensure each of the gems are on your PATH:

rbenv rehash

Install all node dependencies using npm, as well as grunt-cli globally:

npm install

Note: You may need to install grunt-cli globally in Linux using sudo.

Lastly, to compile and run a watch server and web server, use npm start:

npm start

This will automatically run the angular 1 grunt watch, and the angular 7 ng serve.

You can then navigate to the Doubtfire web interface at http://localhost:8000.

Deployment

To compile the front-end, ensure doubtfire-api is placed as a sibling directory to doubtfire-web, then run:

cd /path/to/repos
ls
doubtfire-api doubtfire-web
cd ./doubtfire-api
grunt deploy

You may prefix this command with the following environment variables:

  • DF_API_URL - the URL of the API (e.g., https://doubtfire.com/api). This will default to window.location.host if not set and dynamically generate a URL.
  • DF_EXTERNAL_NAME - a new name that removes references to the Doubtfire name should you so want to not use such its original name (😢).

Resources

Doubtfire Web is an Angular application built using Bootstrap. It uses many Open Source libraries, which you can read up on:

Contributing

Refer to CONTRIBUTING.md

License

Licensed under GNU Affero General Public License (AGPL) v3

About

Angular web application for the Doubtfire front-end

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Add copy buttons to all
 blocks\n(function() {\n function addCopyButtons() {\n document.querySelectorAll('pre code').forEach(function(codeBlock) {\n if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;\n codeBlock.parentElement.setAttribute('data-copy-added', 'true');\n \n var btn = document.createElement('button');\n btn.textContent = 'Copy';\n btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';\n btn.onmouseover = function() { this.style.opacity = '1'; };\n btn.onmouseout = function() { this.style.opacity = '0.7'; };\n btn.onclick = function() {\n navigator.clipboard.writeText(codeBlock.textContent).then(function() {\n btn.textContent = 'Copied!';\n setTimeout(function() { btn.textContent = 'Copy'; }, 1500);\n });\n };\n codeBlock.parentElement.style.position = 'relative';\n codeBlock.parentElement.appendChild(btn);\n });\n }\n \n addCopyButtons();\n \n // Re-run on dynamic content\n var observer = new MutationObserver(addCopyButtons);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Add Copy Buttons to Code Blocks");
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Skip to content

Latest commit

History

4,670 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Doubtfire Logo

Doubtfire Web CI

A modern, lightweight learning management system.

🛠 Migration Status: In Development

Doubtfire web migration from AngularJS/Coffeescript to Angular/Typescript, including refactoring all components, is currently in development.

See the progress of component migration below.

Migration Progress

SUMMARY:

73 / 132 components migrated

MIGRATED:

  • ./src/app/home/splash-screen/splash-screen.component.ts
  • ./src/app/home/states/home/home.component.ts
  • ./src/app/tasks/task-submission-history/task-submission-history.component.ts
  • ./src/app/tasks/task-comments-viewer/task-assessment-comment/task-assessment-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/extension-comment/extension-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-player.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-recorder/intelligent-discussion-recorder.component.ts
  • ./src/app/tasks/task-comments-viewer/pdf-image-comment/pdf-image-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/comment-bubble-action/comment-bubble-action.component.ts
  • ./src/app/tasks/task-comments-viewer/task-comments-viewer.component.ts
  • ./src/app/tasks/task-comment-composer/task-comment-composer.component.ts
  • ./src/app/tasks/task-comment-composer/discussion-prompt-composer/discussion-prompt-composer.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/create-portfolio-task-list-item/create-portfolio-task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/task-list-item/task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-assessment-card/task-assessment-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-similarity-view/task-similarity-view.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-submission-card/task-submission-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-due-card/task-due-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.ts
  • ./src/app/admin/institution-settings/overseer-images/overseer-image-list.component.ts
  • ./src/app/admin/institution-settings/institution-settings.component.ts
  • ./src/app/admin/institution-settings/campuses/campus-list/campus-list.component.ts
  • ./src/app/admin/institution-settings/activity-type-list/activity-type-list.component.ts
  • ./src/app/admin/tii-action-log/tii-action-log.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-list/teaching-period-list.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-unit-import/teaching-period-unit-import.dialog.ts
  • ./src/app/eula/accept-eula/accept-eula.component.ts
  • ./src/app/welcome/welcome.component.ts
  • ./src/app/units/states/tasks/inbox/directives/staff-task-list/staff-task-list.component.ts
  • ./src/app/units/states/tasks/inbox/inbox.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-tutorial-select/student-tutorial-select.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/unit-students-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-campus-select/student-campus-select.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-manager/unit-tutorials-manager.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-list/unit-tutorials-list.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/unit-task-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-who/task-definition-who.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-dates/task-definition-dates.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-options/task-definition-options.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-resources/task-definition-resources.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-overseer/task-definition-overseer.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-general/task-definition-general.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-upload/task-definition-upload.component.ts
  • ./src/app/units/states/analytics/unit-analytics-route.component.ts
  • ./src/app/common/footer/footer.component.ts
  • ./src/app/common/audio-recorder/audio/audio-comment-recorder/audio-comment-recorder.ts
  • ./src/app/common/audio-recorder/audio/microphone-tester/microphone-tester.component.ts
  • ./src/app/common/audio-player/audio-player.component.ts
  • ./src/app/common/edit-profile-form/edit-profile-form.component.ts
  • ./src/app/common/file-drop/file-drop.component.ts
  • ./src/app/common/modals/extension-modal/extension-modal.component.ts
  • ./src/app/common/modals/about-doubtfire-modal/about-doubtfire-modal.component.ts
  • ./src/app/common/modals/calendar-modal/calendar-modal.component.ts
  • ./src/app/common/modals/task-assessment-modal/task-assessment-modal.component.ts
  • ./src/app/common/pdf-viewer/pdf-viewer.component.ts
  • ./src/app/common/obect-select/object-select.component.ts
  • ./src/app/common/hero-sidebar/hero-sidebar.component.ts
  • ./src/app/common/project-progress-bar/project-progress-bar.component.ts
  • ./src/app/common/f-chip/f-chip.component.ts
  • ./src/app/common/status-icon/status-icon.component.ts
  • ./src/app/common/user-badge/user-badge.component.ts
  • ./src/app/common/file-viewer/file-viewer.component.ts
  • ./src/app/common/user-icon/user-icon.component.ts
  • ./src/app/common/pdf-viewer-panel/pdf-viewer-panel.component.ts
  • ./src/app/common/header/header.component.ts
  • ./src/app/common/header/task-dropdown/task-dropdown.component.ts
  • ./src/app/common/header/unit-dropdown/unit-dropdown.component.ts
  • ./src/app/common/services/alert.service.ts
  • ./src/app/sessions/states/sign-in/sign-in.component.ts
  • ./src/app/account/edit-profile/edit-profile.component.ts

TODO:

  • ./src/app/visualisations/alignment-bar-chart.coffee
  • ./src/app/visualisations/summary-task-status-scatter.coffee
  • ./src/app/visualisations/target-grade-pie-chart.coffee
  • ./src/app/visualisations/achievement-custom-bar-chart.coffee
  • ./src/app/visualisations/student-task-status-pie-chart.coffee
  • ./src/app/visualisations/alignment-bullet-chart.coffee
  • ./src/app/visualisations/progress-burndown-chart.coffee
  • ./src/app/visualisations/task-status-pie-chart.coffee
  • ./src/app/visualisations/achievement-box-plot.coffee
  • ./src/app/visualisations/task-completion-box-plot.coffee
  • ./src/app/visualisations/visualisations.coffee
  • ./src/app/tasks/task-status-selector/task-status-selector.coffee
  • ./src/app/tasks/tasks.coffee
  • ./src/app/tasks/modals/modals.coffee
  • ./src/app/tasks/modals/upload-submission-modal/upload-submission-modal.coffee
  • ./src/app/tasks/modals/grade-task-modal/grade-task-modal.coffee
  • ./src/app/tasks/task-definition-selector/task-definition-selector.coffee
  • ./src/app/tasks/project-tasks-list/project-tasks-list.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-rater/task-ilo-alignment-rater.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment-modal/task-ilo-alignment-modal.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-editor/task-ilo-alignment-editor.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-viewer/task-ilo-alignment-viewer.coffee
  • ./src/app/config/privacy-policy/privacy-policy.coffee
  • ./src/app/config/config.coffee
  • ./src/app/config/runtime/runtime.coffee
  • ./src/app/config/root-controller/root-controller.coffee
  • ./src/app/config/local-storage/local-storage.coffee
  • ./src/app/config/routing/routing.coffee
  • ./src/app/config/vendor-dependencies/vendor-dependencies.coffee
  • ./src/app/config/analytics/analytics.coffee
  • ./src/app/config/debug/debug.coffee
  • ./src/app/projects/projects.coffee
  • ./src/app/projects/project-progress-dashboard/project-progress-dashboard.coffee
  • ./src/app/projects/states/states.coffee
  • ./src/app/projects/states/all/directives/directives.coffee
  • ./src/app/projects/states/all/directives/all-projects-list/all-projects-list.coffee
  • ./src/app/projects/states/all/all.coffee
  • ./src/app/projects/states/groups/groups.coffee
  • ./src/app/projects/states/feedback/feedback.coffee
  • ./src/app/projects/states/dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/progress-dashboard/progress-dashboard.coffee
  • ./src/app/projects/states/dashboard/directives/student-task-list/student-task-list.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-outcomes-card/task-outcomes-card.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.coffee
  • ./src/app/projects/states/dashboard/dashboard.coffee
  • ./src/app/projects/states/outcomes/outcomes.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-review-step/portfolio-review-step.coffee
  • ./src/app/projects/states/portfolio/directives/directives.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-learning-summary-report-step/portfolio-learning-summary-report-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-add-extra-files-step/portfolio-add-extra-files-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-grade-select-step/portfolio-grade-select-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-welcome-step/portfolio-welcome-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-tasks-step/portfolio-tasks-step.coffee
  • ./src/app/projects/states/portfolio/portfolio.coffee
  • ./src/app/projects/states/index/index.coffee
  • ./src/app/projects/states/tutorials/tutorials.coffee
  • ./src/app/projects/project-outcome-alignment/project-outcome-alignment.coffee
  • ./src/app/admin/modals/modals.coffee
  • ./src/app/admin/modals/create-unit-modal/create-unit-modal.coffee
  • ./src/app/admin/states/states.coffee
  • ./src/app/admin/states/units/units.coffee
  • ./src/app/admin/states/users/users.coffee
  • ./src/app/admin/admin.coffee
  • ./src/app/groups/group-selector/group-selector.coffee
  • ./src/app/groups/group-set-manager/group-set-manager.coffee
  • ./src/app/groups/group-member-contribution-assigner/group-member-contribution-assigner.coffee
  • ./src/app/groups/group-member-list/group-member-list.coffee
  • ./src/app/groups/group-set-selector/group-set-selector.coffee
  • ./src/app/groups/tutor-group-manager/tutor-group-manager.coffee
  • ./src/app/groups/groups.coffee
  • ./src/app/units/modals/unit-student-enrolment-modal/unit-student-enrolment-modal.coffee
  • ./src/app/units/modals/modals.coffee
  • ./src/app/units/modals/unit-ilo-edit-modal/unit-ilo-edit-modal.coffee
  • ./src/app/units/units.coffee
  • ./src/app/units/states/states.coffee
  • ./src/app/units/states/tasks/inbox/inbox.coffee
  • ./src/app/units/states/tasks/tasks.coffee
  • ./src/app/units/states/tasks/viewer/directives/directives.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-sheet-view/task-sheet-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-details-view/task-details-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/unit-task-list/unit-task-list.coffee
  • ./src/app/units/states/tasks/viewer/viewer.coffee
  • ./src/app/units/states/tasks/definition/definition.coffee
  • ./src/app/units/states/portfolios/portfolios.coffee
  • ./src/app/units/states/all/directives/all-units-list/all-units-list.coffee
  • ./src/app/units/states/all/directives/directives.coffee
  • ./src/app/units/states/all/all.coffee
  • ./src/app/units/states/groups/groups.coffee
  • ./src/app/units/states/edit/directives/directives.coffee
  • ./src/app/units/states/edit/directives/unit-group-set-editor/unit-group-set-editor.coffee
  • ./src/app/units/states/edit/directives/unit-details-editor/unit-details-editor.coffee
  • ./src/app/units/states/edit/directives/unit-staff-editor/unit-staff-editor.coffee
  • ./src/app/units/states/edit/directives/unit-ilo-editor/unit-ilo-editor.coffee
  • ./src/app/units/states/edit/edit.coffee
  • ./src/app/units/states/rollover/directives/directives.coffee
  • ./src/app/units/states/rollover/directives/unit-dates-selector/unit-dates-selector.coffee
  • ./src/app/units/states/rollover/rollover.coffee
  • ./src/app/units/states/index/index.coffee
  • ./src/app/units/states/students-list/students-list.coffee
  • ./src/app/units/states/analytics/analytics.coffee
  • ./src/app/common/filters/filters.coffee
  • ./src/app/common/content-editable/content-editable.coffee
  • ./src/app/common/alert-list/alert-list.coffee
  • ./src/app/common/modals/confirmation-modal/confirmation-modal.coffee
  • ./src/app/common/modals/comments-modal/comments-modal.coffee
  • ./src/app/common/modals/modals.coffee
  • ./src/app/common/modals/csv-result-modal/csv-result-modal.coffee
  • ./src/app/common/modals/progress-modal/progress-modal.coffee
  • ./src/app/common/grade-icon/grade-icon.coffee
  • ./src/app/common/file-uploader/file-uploader.coffee
  • ./src/app/common/common.coffee
  • ./src/app/common/services/grade-service.coffee
  • ./src/app/common/services/date-service.coffee
  • ./src/app/common/services/alert-service.coffee
  • ./src/app/common/services/media-service.coffee
  • ./src/app/common/services/recorder-service.coffee
  • ./src/app/common/services/outcome-service.coffee
  • ./src/app/common/services/listener-service.coffee
  • ./src/app/common/services/analytics-service.coffee
  • ./src/app/common/services/services.coffee
  • ./src/app/sessions/auth/http-auth-injector.coffee
  • ./src/app/sessions/sessions.coffee
  • ./src/app/errors/errors.coffee
  • ./src/app/errors/states/states.coffee
  • ./src/app/errors/states/unauthorised/unauthorised.coffee
  • ./src/app/errors/states/not-found/not-found.coffee
  • ./src/app/errors/states/timeout/timeout.coffee

Table of Contents

  1. Getting Started
  2. Resources
  3. Contributing
  4. Deployment
  5. License

Getting Started

If you will be using Docker, follow the instructions there.

Before you get started, make sure you have the Doubtfire API up and running. You will need to do this before continuing.

First, clone the web repository, and change to the root directory:

git clone https://github.com/doubtfire-lms/doubtfire-web.git
cd ./doubtfire-web

You can automate the installation process by running the automated setup script:

./setup.sh

Or, you can continue following the below steps to manually install doubtfire-web.

Install Node.js either by downloading it and installing it manually, or via Homebrew on OS X:

brew install node

or by using apt-get on Linux:

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install nodejs

Install Ruby SASS:

gem install sass

If gem fails, you should read the Doubtfire API README to install ruby. If you are not using rbenv, e.g., using Docker instead, you may need to prepend sudo to the above commands to have root write access.

If using rbenv, rehash to ensure each of the gems are on your PATH:

rbenv rehash

Install all node dependencies using npm, as well as grunt-cli globally:

npm install

Note: You may need to install grunt-cli globally in Linux using sudo.

Lastly, to compile and run a watch server and web server, use npm start:

npm start

This will automatically run the angular 1 grunt watch, and the angular 7 ng serve.

You can then navigate to the Doubtfire web interface at http://localhost:8000.

Deployment

To compile the front-end, ensure doubtfire-api is placed as a sibling directory to doubtfire-web, then run:

cd /path/to/repos
ls
doubtfire-api doubtfire-web
cd ./doubtfire-api
grunt deploy

You may prefix this command with the following environment variables:

  • DF_API_URL - the URL of the API (e.g., https://doubtfire.com/api). This will default to window.location.host if not set and dynamically generate a URL.
  • DF_EXTERNAL_NAME - a new name that removes references to the Doubtfire name should you so want to not use such its original name (😢).

Resources

Doubtfire Web is an Angular application built using Bootstrap. It uses many Open Source libraries, which you can read up on:

Contributing

Refer to CONTRIBUTING.md

License

Licensed under GNU Affero General Public License (AGPL) v3

About

Angular web application for the Doubtfire front-end

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Force GitHub README to respect dark mode\n(function() {\n var style = document.createElement('style');\n style.textContent = '\n .markdown-body {\n color-scheme: dark light;\n }\n .markdown-body pre { background: #161b22 !important; }\n .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; }\n .markdown-body table th, .markdown-body table td { border-color: #30363d !important; }\n .markdown-body img { background: #0d1117; }\n .markdown-body blockquote { border-left-color: #8b949e; }\n .markdown-body hr { border-color: #30363d; }\n ';\n document.head.appendChild(style);\n})();", "GitHub Dark Mode README Fix"); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Latest commit

History

4,670 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Doubtfire Logo

Doubtfire Web CI

A modern, lightweight learning management system.

🛠 Migration Status: In Development

Doubtfire web migration from AngularJS/Coffeescript to Angular/Typescript, including refactoring all components, is currently in development.

See the progress of component migration below.

Migration Progress

SUMMARY:

73 / 132 components migrated

MIGRATED:

  • ./src/app/home/splash-screen/splash-screen.component.ts
  • ./src/app/home/states/home/home.component.ts
  • ./src/app/tasks/task-submission-history/task-submission-history.component.ts
  • ./src/app/tasks/task-comments-viewer/task-assessment-comment/task-assessment-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/extension-comment/extension-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-player.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-recorder/intelligent-discussion-recorder.component.ts
  • ./src/app/tasks/task-comments-viewer/pdf-image-comment/pdf-image-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/comment-bubble-action/comment-bubble-action.component.ts
  • ./src/app/tasks/task-comments-viewer/task-comments-viewer.component.ts
  • ./src/app/tasks/task-comment-composer/task-comment-composer.component.ts
  • ./src/app/tasks/task-comment-composer/discussion-prompt-composer/discussion-prompt-composer.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/create-portfolio-task-list-item/create-portfolio-task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/task-list-item/task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-assessment-card/task-assessment-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-similarity-view/task-similarity-view.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-submission-card/task-submission-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-due-card/task-due-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.ts
  • ./src/app/admin/institution-settings/overseer-images/overseer-image-list.component.ts
  • ./src/app/admin/institution-settings/institution-settings.component.ts
  • ./src/app/admin/institution-settings/campuses/campus-list/campus-list.component.ts
  • ./src/app/admin/institution-settings/activity-type-list/activity-type-list.component.ts
  • ./src/app/admin/tii-action-log/tii-action-log.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-list/teaching-period-list.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-unit-import/teaching-period-unit-import.dialog.ts
  • ./src/app/eula/accept-eula/accept-eula.component.ts
  • ./src/app/welcome/welcome.component.ts
  • ./src/app/units/states/tasks/inbox/directives/staff-task-list/staff-task-list.component.ts
  • ./src/app/units/states/tasks/inbox/inbox.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-tutorial-select/student-tutorial-select.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/unit-students-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-campus-select/student-campus-select.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-manager/unit-tutorials-manager.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-list/unit-tutorials-list.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/unit-task-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-who/task-definition-who.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-dates/task-definition-dates.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-options/task-definition-options.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-resources/task-definition-resources.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-overseer/task-definition-overseer.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-general/task-definition-general.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-upload/task-definition-upload.component.ts
  • ./src/app/units/states/analytics/unit-analytics-route.component.ts
  • ./src/app/common/footer/footer.component.ts
  • ./src/app/common/audio-recorder/audio/audio-comment-recorder/audio-comment-recorder.ts
  • ./src/app/common/audio-recorder/audio/microphone-tester/microphone-tester.component.ts
  • ./src/app/common/audio-player/audio-player.component.ts
  • ./src/app/common/edit-profile-form/edit-profile-form.component.ts
  • ./src/app/common/file-drop/file-drop.component.ts
  • ./src/app/common/modals/extension-modal/extension-modal.component.ts
  • ./src/app/common/modals/about-doubtfire-modal/about-doubtfire-modal.component.ts
  • ./src/app/common/modals/calendar-modal/calendar-modal.component.ts
  • ./src/app/common/modals/task-assessment-modal/task-assessment-modal.component.ts
  • ./src/app/common/pdf-viewer/pdf-viewer.component.ts
  • ./src/app/common/obect-select/object-select.component.ts
  • ./src/app/common/hero-sidebar/hero-sidebar.component.ts
  • ./src/app/common/project-progress-bar/project-progress-bar.component.ts
  • ./src/app/common/f-chip/f-chip.component.ts
  • ./src/app/common/status-icon/status-icon.component.ts
  • ./src/app/common/user-badge/user-badge.component.ts
  • ./src/app/common/file-viewer/file-viewer.component.ts
  • ./src/app/common/user-icon/user-icon.component.ts
  • ./src/app/common/pdf-viewer-panel/pdf-viewer-panel.component.ts
  • ./src/app/common/header/header.component.ts
  • ./src/app/common/header/task-dropdown/task-dropdown.component.ts
  • ./src/app/common/header/unit-dropdown/unit-dropdown.component.ts
  • ./src/app/common/services/alert.service.ts
  • ./src/app/sessions/states/sign-in/sign-in.component.ts
  • ./src/app/account/edit-profile/edit-profile.component.ts

TODO:

  • ./src/app/visualisations/alignment-bar-chart.coffee
  • ./src/app/visualisations/summary-task-status-scatter.coffee
  • ./src/app/visualisations/target-grade-pie-chart.coffee
  • ./src/app/visualisations/achievement-custom-bar-chart.coffee
  • ./src/app/visualisations/student-task-status-pie-chart.coffee
  • ./src/app/visualisations/alignment-bullet-chart.coffee
  • ./src/app/visualisations/progress-burndown-chart.coffee
  • ./src/app/visualisations/task-status-pie-chart.coffee
  • ./src/app/visualisations/achievement-box-plot.coffee
  • ./src/app/visualisations/task-completion-box-plot.coffee
  • ./src/app/visualisations/visualisations.coffee
  • ./src/app/tasks/task-status-selector/task-status-selector.coffee
  • ./src/app/tasks/tasks.coffee
  • ./src/app/tasks/modals/modals.coffee
  • ./src/app/tasks/modals/upload-submission-modal/upload-submission-modal.coffee
  • ./src/app/tasks/modals/grade-task-modal/grade-task-modal.coffee
  • ./src/app/tasks/task-definition-selector/task-definition-selector.coffee
  • ./src/app/tasks/project-tasks-list/project-tasks-list.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-rater/task-ilo-alignment-rater.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment-modal/task-ilo-alignment-modal.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-editor/task-ilo-alignment-editor.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-viewer/task-ilo-alignment-viewer.coffee
  • ./src/app/config/privacy-policy/privacy-policy.coffee
  • ./src/app/config/config.coffee
  • ./src/app/config/runtime/runtime.coffee
  • ./src/app/config/root-controller/root-controller.coffee
  • ./src/app/config/local-storage/local-storage.coffee
  • ./src/app/config/routing/routing.coffee
  • ./src/app/config/vendor-dependencies/vendor-dependencies.coffee
  • ./src/app/config/analytics/analytics.coffee
  • ./src/app/config/debug/debug.coffee
  • ./src/app/projects/projects.coffee
  • ./src/app/projects/project-progress-dashboard/project-progress-dashboard.coffee
  • ./src/app/projects/states/states.coffee
  • ./src/app/projects/states/all/directives/directives.coffee
  • ./src/app/projects/states/all/directives/all-projects-list/all-projects-list.coffee
  • ./src/app/projects/states/all/all.coffee
  • ./src/app/projects/states/groups/groups.coffee
  • ./src/app/projects/states/feedback/feedback.coffee
  • ./src/app/projects/states/dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/progress-dashboard/progress-dashboard.coffee
  • ./src/app/projects/states/dashboard/directives/student-task-list/student-task-list.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-outcomes-card/task-outcomes-card.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.coffee
  • ./src/app/projects/states/dashboard/dashboard.coffee
  • ./src/app/projects/states/outcomes/outcomes.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-review-step/portfolio-review-step.coffee
  • ./src/app/projects/states/portfolio/directives/directives.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-learning-summary-report-step/portfolio-learning-summary-report-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-add-extra-files-step/portfolio-add-extra-files-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-grade-select-step/portfolio-grade-select-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-welcome-step/portfolio-welcome-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-tasks-step/portfolio-tasks-step.coffee
  • ./src/app/projects/states/portfolio/portfolio.coffee
  • ./src/app/projects/states/index/index.coffee
  • ./src/app/projects/states/tutorials/tutorials.coffee
  • ./src/app/projects/project-outcome-alignment/project-outcome-alignment.coffee
  • ./src/app/admin/modals/modals.coffee
  • ./src/app/admin/modals/create-unit-modal/create-unit-modal.coffee
  • ./src/app/admin/states/states.coffee
  • ./src/app/admin/states/units/units.coffee
  • ./src/app/admin/states/users/users.coffee
  • ./src/app/admin/admin.coffee
  • ./src/app/groups/group-selector/group-selector.coffee
  • ./src/app/groups/group-set-manager/group-set-manager.coffee
  • ./src/app/groups/group-member-contribution-assigner/group-member-contribution-assigner.coffee
  • ./src/app/groups/group-member-list/group-member-list.coffee
  • ./src/app/groups/group-set-selector/group-set-selector.coffee
  • ./src/app/groups/tutor-group-manager/tutor-group-manager.coffee
  • ./src/app/groups/groups.coffee
  • ./src/app/units/modals/unit-student-enrolment-modal/unit-student-enrolment-modal.coffee
  • ./src/app/units/modals/modals.coffee
  • ./src/app/units/modals/unit-ilo-edit-modal/unit-ilo-edit-modal.coffee
  • ./src/app/units/units.coffee
  • ./src/app/units/states/states.coffee
  • ./src/app/units/states/tasks/inbox/inbox.coffee
  • ./src/app/units/states/tasks/tasks.coffee
  • ./src/app/units/states/tasks/viewer/directives/directives.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-sheet-view/task-sheet-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-details-view/task-details-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/unit-task-list/unit-task-list.coffee
  • ./src/app/units/states/tasks/viewer/viewer.coffee
  • ./src/app/units/states/tasks/definition/definition.coffee
  • ./src/app/units/states/portfolios/portfolios.coffee
  • ./src/app/units/states/all/directives/all-units-list/all-units-list.coffee
  • ./src/app/units/states/all/directives/directives.coffee
  • ./src/app/units/states/all/all.coffee
  • ./src/app/units/states/groups/groups.coffee
  • ./src/app/units/states/edit/directives/directives.coffee
  • ./src/app/units/states/edit/directives/unit-group-set-editor/unit-group-set-editor.coffee
  • ./src/app/units/states/edit/directives/unit-details-editor/unit-details-editor.coffee
  • ./src/app/units/states/edit/directives/unit-staff-editor/unit-staff-editor.coffee
  • ./src/app/units/states/edit/directives/unit-ilo-editor/unit-ilo-editor.coffee
  • ./src/app/units/states/edit/edit.coffee
  • ./src/app/units/states/rollover/directives/directives.coffee
  • ./src/app/units/states/rollover/directives/unit-dates-selector/unit-dates-selector.coffee
  • ./src/app/units/states/rollover/rollover.coffee
  • ./src/app/units/states/index/index.coffee
  • ./src/app/units/states/students-list/students-list.coffee
  • ./src/app/units/states/analytics/analytics.coffee
  • ./src/app/common/filters/filters.coffee
  • ./src/app/common/content-editable/content-editable.coffee
  • ./src/app/common/alert-list/alert-list.coffee
  • ./src/app/common/modals/confirmation-modal/confirmation-modal.coffee
  • ./src/app/common/modals/comments-modal/comments-modal.coffee
  • ./src/app/common/modals/modals.coffee
  • ./src/app/common/modals/csv-result-modal/csv-result-modal.coffee
  • ./src/app/common/modals/progress-modal/progress-modal.coffee
  • ./src/app/common/grade-icon/grade-icon.coffee
  • ./src/app/common/file-uploader/file-uploader.coffee
  • ./src/app/common/common.coffee
  • ./src/app/common/services/grade-service.coffee
  • ./src/app/common/services/date-service.coffee
  • ./src/app/common/services/alert-service.coffee
  • ./src/app/common/services/media-service.coffee
  • ./src/app/common/services/recorder-service.coffee
  • ./src/app/common/services/outcome-service.coffee
  • ./src/app/common/services/listener-service.coffee
  • ./src/app/common/services/analytics-service.coffee
  • ./src/app/common/services/services.coffee
  • ./src/app/sessions/auth/http-auth-injector.coffee
  • ./src/app/sessions/sessions.coffee
  • ./src/app/errors/errors.coffee
  • ./src/app/errors/states/states.coffee
  • ./src/app/errors/states/unauthorised/unauthorised.coffee
  • ./src/app/errors/states/not-found/not-found.coffee
  • ./src/app/errors/states/timeout/timeout.coffee

Table of Contents

  1. Getting Started
  2. Resources
  3. Contributing
  4. Deployment
  5. License

Getting Started

If you will be using Docker, follow the instructions there.

Before you get started, make sure you have the Doubtfire API up and running. You will need to do this before continuing.

First, clone the web repository, and change to the root directory:

git clone https://github.com/doubtfire-lms/doubtfire-web.git
cd ./doubtfire-web

You can automate the installation process by running the automated setup script:

./setup.sh

Or, you can continue following the below steps to manually install doubtfire-web.

Install Node.js either by downloading it and installing it manually, or via Homebrew on OS X:

brew install node

or by using apt-get on Linux:

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install nodejs

Install Ruby SASS:

gem install sass

If gem fails, you should read the Doubtfire API README to install ruby. If you are not using rbenv, e.g., using Docker instead, you may need to prepend sudo to the above commands to have root write access.

If using rbenv, rehash to ensure each of the gems are on your PATH:

rbenv rehash

Install all node dependencies using npm, as well as grunt-cli globally:

npm install

Note: You may need to install grunt-cli globally in Linux using sudo.

Lastly, to compile and run a watch server and web server, use npm start:

npm start

This will automatically run the angular 1 grunt watch, and the angular 7 ng serve.

You can then navigate to the Doubtfire web interface at http://localhost:8000.

Deployment

To compile the front-end, ensure doubtfire-api is placed as a sibling directory to doubtfire-web, then run:

cd /path/to/repos
ls
doubtfire-api doubtfire-web
cd ./doubtfire-api
grunt deploy

You may prefix this command with the following environment variables:

  • DF_API_URL - the URL of the API (e.g., https://doubtfire.com/api). This will default to window.location.host if not set and dynamically generate a URL.
  • DF_EXTERNAL_NAME - a new name that removes references to the Doubtfire name should you so want to not use such its original name (😢).

Resources

Doubtfire Web is an Angular application built using Bootstrap. It uses many Open Source libraries, which you can read up on:

Contributing

Refer to CONTRIBUTING.md

License

Licensed under GNU Affero General Public License (AGPL) v3

About

Angular web application for the Doubtfire front-end

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Highlight search terms from Google/DuckDuckGo/Bing referrer\n(function() {\n var ref = document.referrer;\n var terms = [];\n \n if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) {\n var url = new URL(ref);\n var q = url.searchParams.get('q') || url.searchParams.get('p');\n if (q) {\n terms = q.split(/\\s+/).filter(function(t) { return t.length > 2; });\n }\n }\n \n if (terms.length === 0) return;\n \n var style = document.createElement('style');\n style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }';\n document.head.appendChild(style);\n \n function highlight(node) {\n if (node.nodeType === 3) { // text node\n var text = node.textContent;\n var found = false;\n terms.forEach(function(term) {\n var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\') + ')', 'gi');\n if (regex.test(text)) {\n found = true;\n var frag = document.createDocumentFragment();\n var parts = text.split(regex);\n parts.forEach(function(part, i) {\n if (i % 2 === 0) {\n frag.appendChild(document.createTextNode(part));\n } else {\n var span = document.createElement('span');\n span.className = 'userscript-highlight';\n span.textContent = part;\n frag.appendChild(span);\n }\n });\n node.parentNode.replaceChild(frag, node);\n }\n });\n } else if (node.nodeType === 1 && node.childNodes) { // element\n var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];\n if (!skipTags.includes(node.tagName)) {\n Array.from(node.childNodes).forEach(highlight);\n }\n }\n }\n \n highlight(document.body);\n \n // Re-highlight on dynamic content\n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1 || node.nodeType === 3) highlight(node);\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Highlight Search Terms"); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Latest commit

History

4,670 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Doubtfire Logo

Doubtfire Web CI

A modern, lightweight learning management system.

🛠 Migration Status: In Development

Doubtfire web migration from AngularJS/Coffeescript to Angular/Typescript, including refactoring all components, is currently in development.

See the progress of component migration below.

Migration Progress

SUMMARY:

73 / 132 components migrated

MIGRATED:

  • ./src/app/home/splash-screen/splash-screen.component.ts
  • ./src/app/home/states/home/home.component.ts
  • ./src/app/tasks/task-submission-history/task-submission-history.component.ts
  • ./src/app/tasks/task-comments-viewer/task-assessment-comment/task-assessment-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/extension-comment/extension-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-player.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-recorder/intelligent-discussion-recorder.component.ts
  • ./src/app/tasks/task-comments-viewer/pdf-image-comment/pdf-image-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/comment-bubble-action/comment-bubble-action.component.ts
  • ./src/app/tasks/task-comments-viewer/task-comments-viewer.component.ts
  • ./src/app/tasks/task-comment-composer/task-comment-composer.component.ts
  • ./src/app/tasks/task-comment-composer/discussion-prompt-composer/discussion-prompt-composer.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/create-portfolio-task-list-item/create-portfolio-task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/task-list-item/task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-assessment-card/task-assessment-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-similarity-view/task-similarity-view.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-submission-card/task-submission-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-due-card/task-due-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.ts
  • ./src/app/admin/institution-settings/overseer-images/overseer-image-list.component.ts
  • ./src/app/admin/institution-settings/institution-settings.component.ts
  • ./src/app/admin/institution-settings/campuses/campus-list/campus-list.component.ts
  • ./src/app/admin/institution-settings/activity-type-list/activity-type-list.component.ts
  • ./src/app/admin/tii-action-log/tii-action-log.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-list/teaching-period-list.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-unit-import/teaching-period-unit-import.dialog.ts
  • ./src/app/eula/accept-eula/accept-eula.component.ts
  • ./src/app/welcome/welcome.component.ts
  • ./src/app/units/states/tasks/inbox/directives/staff-task-list/staff-task-list.component.ts
  • ./src/app/units/states/tasks/inbox/inbox.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-tutorial-select/student-tutorial-select.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/unit-students-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-campus-select/student-campus-select.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-manager/unit-tutorials-manager.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-list/unit-tutorials-list.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/unit-task-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-who/task-definition-who.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-dates/task-definition-dates.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-options/task-definition-options.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-resources/task-definition-resources.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-overseer/task-definition-overseer.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-general/task-definition-general.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-upload/task-definition-upload.component.ts
  • ./src/app/units/states/analytics/unit-analytics-route.component.ts
  • ./src/app/common/footer/footer.component.ts
  • ./src/app/common/audio-recorder/audio/audio-comment-recorder/audio-comment-recorder.ts
  • ./src/app/common/audio-recorder/audio/microphone-tester/microphone-tester.component.ts
  • ./src/app/common/audio-player/audio-player.component.ts
  • ./src/app/common/edit-profile-form/edit-profile-form.component.ts
  • ./src/app/common/file-drop/file-drop.component.ts
  • ./src/app/common/modals/extension-modal/extension-modal.component.ts
  • ./src/app/common/modals/about-doubtfire-modal/about-doubtfire-modal.component.ts
  • ./src/app/common/modals/calendar-modal/calendar-modal.component.ts
  • ./src/app/common/modals/task-assessment-modal/task-assessment-modal.component.ts
  • ./src/app/common/pdf-viewer/pdf-viewer.component.ts
  • ./src/app/common/obect-select/object-select.component.ts
  • ./src/app/common/hero-sidebar/hero-sidebar.component.ts
  • ./src/app/common/project-progress-bar/project-progress-bar.component.ts
  • ./src/app/common/f-chip/f-chip.component.ts
  • ./src/app/common/status-icon/status-icon.component.ts
  • ./src/app/common/user-badge/user-badge.component.ts
  • ./src/app/common/file-viewer/file-viewer.component.ts
  • ./src/app/common/user-icon/user-icon.component.ts
  • ./src/app/common/pdf-viewer-panel/pdf-viewer-panel.component.ts
  • ./src/app/common/header/header.component.ts
  • ./src/app/common/header/task-dropdown/task-dropdown.component.ts
  • ./src/app/common/header/unit-dropdown/unit-dropdown.component.ts
  • ./src/app/common/services/alert.service.ts
  • ./src/app/sessions/states/sign-in/sign-in.component.ts
  • ./src/app/account/edit-profile/edit-profile.component.ts

TODO:

  • ./src/app/visualisations/alignment-bar-chart.coffee
  • ./src/app/visualisations/summary-task-status-scatter.coffee
  • ./src/app/visualisations/target-grade-pie-chart.coffee
  • ./src/app/visualisations/achievement-custom-bar-chart.coffee
  • ./src/app/visualisations/student-task-status-pie-chart.coffee
  • ./src/app/visualisations/alignment-bullet-chart.coffee
  • ./src/app/visualisations/progress-burndown-chart.coffee
  • ./src/app/visualisations/task-status-pie-chart.coffee
  • ./src/app/visualisations/achievement-box-plot.coffee
  • ./src/app/visualisations/task-completion-box-plot.coffee
  • ./src/app/visualisations/visualisations.coffee
  • ./src/app/tasks/task-status-selector/task-status-selector.coffee
  • ./src/app/tasks/tasks.coffee
  • ./src/app/tasks/modals/modals.coffee
  • ./src/app/tasks/modals/upload-submission-modal/upload-submission-modal.coffee
  • ./src/app/tasks/modals/grade-task-modal/grade-task-modal.coffee
  • ./src/app/tasks/task-definition-selector/task-definition-selector.coffee
  • ./src/app/tasks/project-tasks-list/project-tasks-list.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-rater/task-ilo-alignment-rater.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment-modal/task-ilo-alignment-modal.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-editor/task-ilo-alignment-editor.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-viewer/task-ilo-alignment-viewer.coffee
  • ./src/app/config/privacy-policy/privacy-policy.coffee
  • ./src/app/config/config.coffee
  • ./src/app/config/runtime/runtime.coffee
  • ./src/app/config/root-controller/root-controller.coffee
  • ./src/app/config/local-storage/local-storage.coffee
  • ./src/app/config/routing/routing.coffee
  • ./src/app/config/vendor-dependencies/vendor-dependencies.coffee
  • ./src/app/config/analytics/analytics.coffee
  • ./src/app/config/debug/debug.coffee
  • ./src/app/projects/projects.coffee
  • ./src/app/projects/project-progress-dashboard/project-progress-dashboard.coffee
  • ./src/app/projects/states/states.coffee
  • ./src/app/projects/states/all/directives/directives.coffee
  • ./src/app/projects/states/all/directives/all-projects-list/all-projects-list.coffee
  • ./src/app/projects/states/all/all.coffee
  • ./src/app/projects/states/groups/groups.coffee
  • ./src/app/projects/states/feedback/feedback.coffee
  • ./src/app/projects/states/dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/progress-dashboard/progress-dashboard.coffee
  • ./src/app/projects/states/dashboard/directives/student-task-list/student-task-list.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-outcomes-card/task-outcomes-card.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.coffee
  • ./src/app/projects/states/dashboard/dashboard.coffee
  • ./src/app/projects/states/outcomes/outcomes.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-review-step/portfolio-review-step.coffee
  • ./src/app/projects/states/portfolio/directives/directives.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-learning-summary-report-step/portfolio-learning-summary-report-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-add-extra-files-step/portfolio-add-extra-files-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-grade-select-step/portfolio-grade-select-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-welcome-step/portfolio-welcome-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-tasks-step/portfolio-tasks-step.coffee
  • ./src/app/projects/states/portfolio/portfolio.coffee
  • ./src/app/projects/states/index/index.coffee
  • ./src/app/projects/states/tutorials/tutorials.coffee
  • ./src/app/projects/project-outcome-alignment/project-outcome-alignment.coffee
  • ./src/app/admin/modals/modals.coffee
  • ./src/app/admin/modals/create-unit-modal/create-unit-modal.coffee
  • ./src/app/admin/states/states.coffee
  • ./src/app/admin/states/units/units.coffee
  • ./src/app/admin/states/users/users.coffee
  • ./src/app/admin/admin.coffee
  • ./src/app/groups/group-selector/group-selector.coffee
  • ./src/app/groups/group-set-manager/group-set-manager.coffee
  • ./src/app/groups/group-member-contribution-assigner/group-member-contribution-assigner.coffee
  • ./src/app/groups/group-member-list/group-member-list.coffee
  • ./src/app/groups/group-set-selector/group-set-selector.coffee
  • ./src/app/groups/tutor-group-manager/tutor-group-manager.coffee
  • ./src/app/groups/groups.coffee
  • ./src/app/units/modals/unit-student-enrolment-modal/unit-student-enrolment-modal.coffee
  • ./src/app/units/modals/modals.coffee
  • ./src/app/units/modals/unit-ilo-edit-modal/unit-ilo-edit-modal.coffee
  • ./src/app/units/units.coffee
  • ./src/app/units/states/states.coffee
  • ./src/app/units/states/tasks/inbox/inbox.coffee
  • ./src/app/units/states/tasks/tasks.coffee
  • ./src/app/units/states/tasks/viewer/directives/directives.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-sheet-view/task-sheet-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-details-view/task-details-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/unit-task-list/unit-task-list.coffee
  • ./src/app/units/states/tasks/viewer/viewer.coffee
  • ./src/app/units/states/tasks/definition/definition.coffee
  • ./src/app/units/states/portfolios/portfolios.coffee
  • ./src/app/units/states/all/directives/all-units-list/all-units-list.coffee
  • ./src/app/units/states/all/directives/directives.coffee
  • ./src/app/units/states/all/all.coffee
  • ./src/app/units/states/groups/groups.coffee
  • ./src/app/units/states/edit/directives/directives.coffee
  • ./src/app/units/states/edit/directives/unit-group-set-editor/unit-group-set-editor.coffee
  • ./src/app/units/states/edit/directives/unit-details-editor/unit-details-editor.coffee
  • ./src/app/units/states/edit/directives/unit-staff-editor/unit-staff-editor.coffee
  • ./src/app/units/states/edit/directives/unit-ilo-editor/unit-ilo-editor.coffee
  • ./src/app/units/states/edit/edit.coffee
  • ./src/app/units/states/rollover/directives/directives.coffee
  • ./src/app/units/states/rollover/directives/unit-dates-selector/unit-dates-selector.coffee
  • ./src/app/units/states/rollover/rollover.coffee
  • ./src/app/units/states/index/index.coffee
  • ./src/app/units/states/students-list/students-list.coffee
  • ./src/app/units/states/analytics/analytics.coffee
  • ./src/app/common/filters/filters.coffee
  • ./src/app/common/content-editable/content-editable.coffee
  • ./src/app/common/alert-list/alert-list.coffee
  • ./src/app/common/modals/confirmation-modal/confirmation-modal.coffee
  • ./src/app/common/modals/comments-modal/comments-modal.coffee
  • ./src/app/common/modals/modals.coffee
  • ./src/app/common/modals/csv-result-modal/csv-result-modal.coffee
  • ./src/app/common/modals/progress-modal/progress-modal.coffee
  • ./src/app/common/grade-icon/grade-icon.coffee
  • ./src/app/common/file-uploader/file-uploader.coffee
  • ./src/app/common/common.coffee
  • ./src/app/common/services/grade-service.coffee
  • ./src/app/common/services/date-service.coffee
  • ./src/app/common/services/alert-service.coffee
  • ./src/app/common/services/media-service.coffee
  • ./src/app/common/services/recorder-service.coffee
  • ./src/app/common/services/outcome-service.coffee
  • ./src/app/common/services/listener-service.coffee
  • ./src/app/common/services/analytics-service.coffee
  • ./src/app/common/services/services.coffee
  • ./src/app/sessions/auth/http-auth-injector.coffee
  • ./src/app/sessions/sessions.coffee
  • ./src/app/errors/errors.coffee
  • ./src/app/errors/states/states.coffee
  • ./src/app/errors/states/unauthorised/unauthorised.coffee
  • ./src/app/errors/states/not-found/not-found.coffee
  • ./src/app/errors/states/timeout/timeout.coffee

Table of Contents

  1. Getting Started
  2. Resources
  3. Contributing
  4. Deployment
  5. License

Getting Started

If you will be using Docker, follow the instructions there.

Before you get started, make sure you have the Doubtfire API up and running. You will need to do this before continuing.

First, clone the web repository, and change to the root directory:

git clone https://github.com/doubtfire-lms/doubtfire-web.git
cd ./doubtfire-web

You can automate the installation process by running the automated setup script:

./setup.sh

Or, you can continue following the below steps to manually install doubtfire-web.

Install Node.js either by downloading it and installing it manually, or via Homebrew on OS X:

brew install node

or by using apt-get on Linux:

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install nodejs

Install Ruby SASS:

gem install sass

If gem fails, you should read the Doubtfire API README to install ruby. If you are not using rbenv, e.g., using Docker instead, you may need to prepend sudo to the above commands to have root write access.

If using rbenv, rehash to ensure each of the gems are on your PATH:

rbenv rehash

Install all node dependencies using npm, as well as grunt-cli globally:

npm install

Note: You may need to install grunt-cli globally in Linux using sudo.

Lastly, to compile and run a watch server and web server, use npm start:

npm start

This will automatically run the angular 1 grunt watch, and the angular 7 ng serve.

You can then navigate to the Doubtfire web interface at http://localhost:8000.

Deployment

To compile the front-end, ensure doubtfire-api is placed as a sibling directory to doubtfire-web, then run:

cd /path/to/repos
ls
doubtfire-api doubtfire-web
cd ./doubtfire-api
grunt deploy

You may prefix this command with the following environment variables:

  • DF_API_URL - the URL of the API (e.g., https://doubtfire.com/api). This will default to window.location.host if not set and dynamically generate a URL.
  • DF_EXTERNAL_NAME - a new name that removes references to the Doubtfire name should you so want to not use such its original name (😢).

Resources

Doubtfire Web is an Angular application built using Bootstrap. It uses many Open Source libraries, which you can read up on:

Contributing

Refer to CONTRIBUTING.md

License

Licensed under GNU Affero General Public License (AGPL) v3

About

Angular web application for the Doubtfire front-end

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Strip utm_, fbclid, gclid, etc. from all links on page\n(function() {\n var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',\n 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',\n 'ref', 'ref_src', 'source', 'medium', 'campaign'];\n \n function cleanUrl(url) {\n try {\n var u = new URL(url, window.location.origin);\n var changed = false;\n trackingParams.forEach(function(p) {\n if (u.searchParams.has(p)) {\n u.searchParams.delete(p);\n changed = true;\n }\n });\n return changed ? u.toString() : url;\n } catch (e) {\n return url;\n }\n }\n \n function cleanLinks() {\n document.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n \n cleanLinks();\n \n var observer = new MutationObserver(function(mutations) {\n mutations.forEach(function(m) {\n m.addedNodes.forEach(function(node) {\n if (node.nodeType === 1) {\n if (node.tagName === 'A') cleanLinks();\n node.querySelectorAll('a[href]').forEach(function(a) {\n var clean = cleanUrl(a.href);\n if (clean !== a.href) a.href = clean;\n });\n }\n });\n });\n });\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "Remove Tracking Parameters from Links"); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + '
Skip to content

Latest commit

History

4,670 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Doubtfire Logo

Doubtfire Web CI

A modern, lightweight learning management system.

🛠 Migration Status: In Development

Doubtfire web migration from AngularJS/Coffeescript to Angular/Typescript, including refactoring all components, is currently in development.

See the progress of component migration below.

Migration Progress

SUMMARY:

73 / 132 components migrated

MIGRATED:

  • ./src/app/home/splash-screen/splash-screen.component.ts
  • ./src/app/home/states/home/home.component.ts
  • ./src/app/tasks/task-submission-history/task-submission-history.component.ts
  • ./src/app/tasks/task-comments-viewer/task-assessment-comment/task-assessment-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/extension-comment/extension-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-player.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-recorder/intelligent-discussion-recorder.component.ts
  • ./src/app/tasks/task-comments-viewer/pdf-image-comment/pdf-image-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/comment-bubble-action/comment-bubble-action.component.ts
  • ./src/app/tasks/task-comments-viewer/task-comments-viewer.component.ts
  • ./src/app/tasks/task-comment-composer/task-comment-composer.component.ts
  • ./src/app/tasks/task-comment-composer/discussion-prompt-composer/discussion-prompt-composer.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/create-portfolio-task-list-item/create-portfolio-task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/task-list-item/task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-assessment-card/task-assessment-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-similarity-view/task-similarity-view.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-submission-card/task-submission-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-due-card/task-due-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.ts
  • ./src/app/admin/institution-settings/overseer-images/overseer-image-list.component.ts
  • ./src/app/admin/institution-settings/institution-settings.component.ts
  • ./src/app/admin/institution-settings/campuses/campus-list/campus-list.component.ts
  • ./src/app/admin/institution-settings/activity-type-list/activity-type-list.component.ts
  • ./src/app/admin/tii-action-log/tii-action-log.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-list/teaching-period-list.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-unit-import/teaching-period-unit-import.dialog.ts
  • ./src/app/eula/accept-eula/accept-eula.component.ts
  • ./src/app/welcome/welcome.component.ts
  • ./src/app/units/states/tasks/inbox/directives/staff-task-list/staff-task-list.component.ts
  • ./src/app/units/states/tasks/inbox/inbox.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-tutorial-select/student-tutorial-select.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/unit-students-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-campus-select/student-campus-select.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-manager/unit-tutorials-manager.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-list/unit-tutorials-list.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/unit-task-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-who/task-definition-who.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-dates/task-definition-dates.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-options/task-definition-options.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-resources/task-definition-resources.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-overseer/task-definition-overseer.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-general/task-definition-general.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-upload/task-definition-upload.component.ts
  • ./src/app/units/states/analytics/unit-analytics-route.component.ts
  • ./src/app/common/footer/footer.component.ts
  • ./src/app/common/audio-recorder/audio/audio-comment-recorder/audio-comment-recorder.ts
  • ./src/app/common/audio-recorder/audio/microphone-tester/microphone-tester.component.ts
  • ./src/app/common/audio-player/audio-player.component.ts
  • ./src/app/common/edit-profile-form/edit-profile-form.component.ts
  • ./src/app/common/file-drop/file-drop.component.ts
  • ./src/app/common/modals/extension-modal/extension-modal.component.ts
  • ./src/app/common/modals/about-doubtfire-modal/about-doubtfire-modal.component.ts
  • ./src/app/common/modals/calendar-modal/calendar-modal.component.ts
  • ./src/app/common/modals/task-assessment-modal/task-assessment-modal.component.ts
  • ./src/app/common/pdf-viewer/pdf-viewer.component.ts
  • ./src/app/common/obect-select/object-select.component.ts
  • ./src/app/common/hero-sidebar/hero-sidebar.component.ts
  • ./src/app/common/project-progress-bar/project-progress-bar.component.ts
  • ./src/app/common/f-chip/f-chip.component.ts
  • ./src/app/common/status-icon/status-icon.component.ts
  • ./src/app/common/user-badge/user-badge.component.ts
  • ./src/app/common/file-viewer/file-viewer.component.ts
  • ./src/app/common/user-icon/user-icon.component.ts
  • ./src/app/common/pdf-viewer-panel/pdf-viewer-panel.component.ts
  • ./src/app/common/header/header.component.ts
  • ./src/app/common/header/task-dropdown/task-dropdown.component.ts
  • ./src/app/common/header/unit-dropdown/unit-dropdown.component.ts
  • ./src/app/common/services/alert.service.ts
  • ./src/app/sessions/states/sign-in/sign-in.component.ts
  • ./src/app/account/edit-profile/edit-profile.component.ts

TODO:

  • ./src/app/visualisations/alignment-bar-chart.coffee
  • ./src/app/visualisations/summary-task-status-scatter.coffee
  • ./src/app/visualisations/target-grade-pie-chart.coffee
  • ./src/app/visualisations/achievement-custom-bar-chart.coffee
  • ./src/app/visualisations/student-task-status-pie-chart.coffee
  • ./src/app/visualisations/alignment-bullet-chart.coffee
  • ./src/app/visualisations/progress-burndown-chart.coffee
  • ./src/app/visualisations/task-status-pie-chart.coffee
  • ./src/app/visualisations/achievement-box-plot.coffee
  • ./src/app/visualisations/task-completion-box-plot.coffee
  • ./src/app/visualisations/visualisations.coffee
  • ./src/app/tasks/task-status-selector/task-status-selector.coffee
  • ./src/app/tasks/tasks.coffee
  • ./src/app/tasks/modals/modals.coffee
  • ./src/app/tasks/modals/upload-submission-modal/upload-submission-modal.coffee
  • ./src/app/tasks/modals/grade-task-modal/grade-task-modal.coffee
  • ./src/app/tasks/task-definition-selector/task-definition-selector.coffee
  • ./src/app/tasks/project-tasks-list/project-tasks-list.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-rater/task-ilo-alignment-rater.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment-modal/task-ilo-alignment-modal.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-editor/task-ilo-alignment-editor.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-viewer/task-ilo-alignment-viewer.coffee
  • ./src/app/config/privacy-policy/privacy-policy.coffee
  • ./src/app/config/config.coffee
  • ./src/app/config/runtime/runtime.coffee
  • ./src/app/config/root-controller/root-controller.coffee
  • ./src/app/config/local-storage/local-storage.coffee
  • ./src/app/config/routing/routing.coffee
  • ./src/app/config/vendor-dependencies/vendor-dependencies.coffee
  • ./src/app/config/analytics/analytics.coffee
  • ./src/app/config/debug/debug.coffee
  • ./src/app/projects/projects.coffee
  • ./src/app/projects/project-progress-dashboard/project-progress-dashboard.coffee
  • ./src/app/projects/states/states.coffee
  • ./src/app/projects/states/all/directives/directives.coffee
  • ./src/app/projects/states/all/directives/all-projects-list/all-projects-list.coffee
  • ./src/app/projects/states/all/all.coffee
  • ./src/app/projects/states/groups/groups.coffee
  • ./src/app/projects/states/feedback/feedback.coffee
  • ./src/app/projects/states/dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/progress-dashboard/progress-dashboard.coffee
  • ./src/app/projects/states/dashboard/directives/student-task-list/student-task-list.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-outcomes-card/task-outcomes-card.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.coffee
  • ./src/app/projects/states/dashboard/dashboard.coffee
  • ./src/app/projects/states/outcomes/outcomes.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-review-step/portfolio-review-step.coffee
  • ./src/app/projects/states/portfolio/directives/directives.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-learning-summary-report-step/portfolio-learning-summary-report-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-add-extra-files-step/portfolio-add-extra-files-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-grade-select-step/portfolio-grade-select-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-welcome-step/portfolio-welcome-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-tasks-step/portfolio-tasks-step.coffee
  • ./src/app/projects/states/portfolio/portfolio.coffee
  • ./src/app/projects/states/index/index.coffee
  • ./src/app/projects/states/tutorials/tutorials.coffee
  • ./src/app/projects/project-outcome-alignment/project-outcome-alignment.coffee
  • ./src/app/admin/modals/modals.coffee
  • ./src/app/admin/modals/create-unit-modal/create-unit-modal.coffee
  • ./src/app/admin/states/states.coffee
  • ./src/app/admin/states/units/units.coffee
  • ./src/app/admin/states/users/users.coffee
  • ./src/app/admin/admin.coffee
  • ./src/app/groups/group-selector/group-selector.coffee
  • ./src/app/groups/group-set-manager/group-set-manager.coffee
  • ./src/app/groups/group-member-contribution-assigner/group-member-contribution-assigner.coffee
  • ./src/app/groups/group-member-list/group-member-list.coffee
  • ./src/app/groups/group-set-selector/group-set-selector.coffee
  • ./src/app/groups/tutor-group-manager/tutor-group-manager.coffee
  • ./src/app/groups/groups.coffee
  • ./src/app/units/modals/unit-student-enrolment-modal/unit-student-enrolment-modal.coffee
  • ./src/app/units/modals/modals.coffee
  • ./src/app/units/modals/unit-ilo-edit-modal/unit-ilo-edit-modal.coffee
  • ./src/app/units/units.coffee
  • ./src/app/units/states/states.coffee
  • ./src/app/units/states/tasks/inbox/inbox.coffee
  • ./src/app/units/states/tasks/tasks.coffee
  • ./src/app/units/states/tasks/viewer/directives/directives.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-sheet-view/task-sheet-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-details-view/task-details-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/unit-task-list/unit-task-list.coffee
  • ./src/app/units/states/tasks/viewer/viewer.coffee
  • ./src/app/units/states/tasks/definition/definition.coffee
  • ./src/app/units/states/portfolios/portfolios.coffee
  • ./src/app/units/states/all/directives/all-units-list/all-units-list.coffee
  • ./src/app/units/states/all/directives/directives.coffee
  • ./src/app/units/states/all/all.coffee
  • ./src/app/units/states/groups/groups.coffee
  • ./src/app/units/states/edit/directives/directives.coffee
  • ./src/app/units/states/edit/directives/unit-group-set-editor/unit-group-set-editor.coffee
  • ./src/app/units/states/edit/directives/unit-details-editor/unit-details-editor.coffee
  • ./src/app/units/states/edit/directives/unit-staff-editor/unit-staff-editor.coffee
  • ./src/app/units/states/edit/directives/unit-ilo-editor/unit-ilo-editor.coffee
  • ./src/app/units/states/edit/edit.coffee
  • ./src/app/units/states/rollover/directives/directives.coffee
  • ./src/app/units/states/rollover/directives/unit-dates-selector/unit-dates-selector.coffee
  • ./src/app/units/states/rollover/rollover.coffee
  • ./src/app/units/states/index/index.coffee
  • ./src/app/units/states/students-list/students-list.coffee
  • ./src/app/units/states/analytics/analytics.coffee
  • ./src/app/common/filters/filters.coffee
  • ./src/app/common/content-editable/content-editable.coffee
  • ./src/app/common/alert-list/alert-list.coffee
  • ./src/app/common/modals/confirmation-modal/confirmation-modal.coffee
  • ./src/app/common/modals/comments-modal/comments-modal.coffee
  • ./src/app/common/modals/modals.coffee
  • ./src/app/common/modals/csv-result-modal/csv-result-modal.coffee
  • ./src/app/common/modals/progress-modal/progress-modal.coffee
  • ./src/app/common/grade-icon/grade-icon.coffee
  • ./src/app/common/file-uploader/file-uploader.coffee
  • ./src/app/common/common.coffee
  • ./src/app/common/services/grade-service.coffee
  • ./src/app/common/services/date-service.coffee
  • ./src/app/common/services/alert-service.coffee
  • ./src/app/common/services/media-service.coffee
  • ./src/app/common/services/recorder-service.coffee
  • ./src/app/common/services/outcome-service.coffee
  • ./src/app/common/services/listener-service.coffee
  • ./src/app/common/services/analytics-service.coffee
  • ./src/app/common/services/services.coffee
  • ./src/app/sessions/auth/http-auth-injector.coffee
  • ./src/app/sessions/sessions.coffee
  • ./src/app/errors/errors.coffee
  • ./src/app/errors/states/states.coffee
  • ./src/app/errors/states/unauthorised/unauthorised.coffee
  • ./src/app/errors/states/not-found/not-found.coffee
  • ./src/app/errors/states/timeout/timeout.coffee

Table of Contents

  1. Getting Started
  2. Resources
  3. Contributing
  4. Deployment
  5. License

Getting Started

If you will be using Docker, follow the instructions there.

Before you get started, make sure you have the Doubtfire API up and running. You will need to do this before continuing.

First, clone the web repository, and change to the root directory:

git clone https://github.com/doubtfire-lms/doubtfire-web.git
cd ./doubtfire-web

You can automate the installation process by running the automated setup script:

./setup.sh

Or, you can continue following the below steps to manually install doubtfire-web.

Install Node.js either by downloading it and installing it manually, or via Homebrew on OS X:

brew install node

or by using apt-get on Linux:

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install nodejs

Install Ruby SASS:

gem install sass

If gem fails, you should read the Doubtfire API README to install ruby. If you are not using rbenv, e.g., using Docker instead, you may need to prepend sudo to the above commands to have root write access.

If using rbenv, rehash to ensure each of the gems are on your PATH:

rbenv rehash

Install all node dependencies using npm, as well as grunt-cli globally:

npm install

Note: You may need to install grunt-cli globally in Linux using sudo.

Lastly, to compile and run a watch server and web server, use npm start:

npm start

This will automatically run the angular 1 grunt watch, and the angular 7 ng serve.

You can then navigate to the Doubtfire web interface at http://localhost:8000.

Deployment

To compile the front-end, ensure doubtfire-api is placed as a sibling directory to doubtfire-web, then run:

cd /path/to/repos
ls
doubtfire-api doubtfire-web
cd ./doubtfire-api
grunt deploy

You may prefix this command with the following environment variables:

  • DF_API_URL - the URL of the API (e.g., https://doubtfire.com/api). This will default to window.location.host if not set and dynamically generate a URL.
  • DF_EXTERNAL_NAME - a new name that removes references to the Doubtfire name should you so want to not use such its original name (😢).

Resources

Doubtfire Web is an Angular application built using Bootstrap. It uses many Open Source libraries, which you can read up on:

Contributing

Refer to CONTRIBUTING.md

License

Licensed under GNU Affero General Public License (AGPL) v3

About

Angular web application for the Doubtfire front-end

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Auto-enable theater mode on YouTube\n(function() {\n function tryTheater() {\n var btn = document.querySelector('button[aria-label=\"Theater mode\"], ytd-player #player button[title=\"Theater mode\"]');\n if (btn && !btn.classList.contains('activated')) {\n btn.click();\n }\n }\n \n // Try immediately\n tryTheater();\n \n // Try after navigation (SPA)\n var lastUrl = location.href;\n setInterval(function() {\n if (location.href !== lastUrl) {\n lastUrl = location.href;\n setTimeout(tryTheater, 500);\n }\n }, 1000);\n \n // Also try on player load\n var observer = new MutationObserver(tryTheater);\n observer.observe(document.body, { childList: true, subtree: true });\n})();", "YouTube Theater Mode Default"); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Latest commit

History

4,670 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Doubtfire Logo

Doubtfire Web CI

A modern, lightweight learning management system.

🛠 Migration Status: In Development

Doubtfire web migration from AngularJS/Coffeescript to Angular/Typescript, including refactoring all components, is currently in development.

See the progress of component migration below.

Migration Progress

SUMMARY:

73 / 132 components migrated

MIGRATED:

  • ./src/app/home/splash-screen/splash-screen.component.ts
  • ./src/app/home/states/home/home.component.ts
  • ./src/app/tasks/task-submission-history/task-submission-history.component.ts
  • ./src/app/tasks/task-comments-viewer/task-assessment-comment/task-assessment-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/extension-comment/extension-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-player.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-recorder/intelligent-discussion-recorder.component.ts
  • ./src/app/tasks/task-comments-viewer/pdf-image-comment/pdf-image-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/comment-bubble-action/comment-bubble-action.component.ts
  • ./src/app/tasks/task-comments-viewer/task-comments-viewer.component.ts
  • ./src/app/tasks/task-comment-composer/task-comment-composer.component.ts
  • ./src/app/tasks/task-comment-composer/discussion-prompt-composer/discussion-prompt-composer.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/create-portfolio-task-list-item/create-portfolio-task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/task-list-item/task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-assessment-card/task-assessment-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-similarity-view/task-similarity-view.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-submission-card/task-submission-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-due-card/task-due-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.ts
  • ./src/app/admin/institution-settings/overseer-images/overseer-image-list.component.ts
  • ./src/app/admin/institution-settings/institution-settings.component.ts
  • ./src/app/admin/institution-settings/campuses/campus-list/campus-list.component.ts
  • ./src/app/admin/institution-settings/activity-type-list/activity-type-list.component.ts
  • ./src/app/admin/tii-action-log/tii-action-log.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-list/teaching-period-list.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-unit-import/teaching-period-unit-import.dialog.ts
  • ./src/app/eula/accept-eula/accept-eula.component.ts
  • ./src/app/welcome/welcome.component.ts
  • ./src/app/units/states/tasks/inbox/directives/staff-task-list/staff-task-list.component.ts
  • ./src/app/units/states/tasks/inbox/inbox.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-tutorial-select/student-tutorial-select.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/unit-students-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-campus-select/student-campus-select.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-manager/unit-tutorials-manager.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-list/unit-tutorials-list.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/unit-task-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-who/task-definition-who.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-dates/task-definition-dates.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-options/task-definition-options.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-resources/task-definition-resources.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-overseer/task-definition-overseer.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-general/task-definition-general.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-upload/task-definition-upload.component.ts
  • ./src/app/units/states/analytics/unit-analytics-route.component.ts
  • ./src/app/common/footer/footer.component.ts
  • ./src/app/common/audio-recorder/audio/audio-comment-recorder/audio-comment-recorder.ts
  • ./src/app/common/audio-recorder/audio/microphone-tester/microphone-tester.component.ts
  • ./src/app/common/audio-player/audio-player.component.ts
  • ./src/app/common/edit-profile-form/edit-profile-form.component.ts
  • ./src/app/common/file-drop/file-drop.component.ts
  • ./src/app/common/modals/extension-modal/extension-modal.component.ts
  • ./src/app/common/modals/about-doubtfire-modal/about-doubtfire-modal.component.ts
  • ./src/app/common/modals/calendar-modal/calendar-modal.component.ts
  • ./src/app/common/modals/task-assessment-modal/task-assessment-modal.component.ts
  • ./src/app/common/pdf-viewer/pdf-viewer.component.ts
  • ./src/app/common/obect-select/object-select.component.ts
  • ./src/app/common/hero-sidebar/hero-sidebar.component.ts
  • ./src/app/common/project-progress-bar/project-progress-bar.component.ts
  • ./src/app/common/f-chip/f-chip.component.ts
  • ./src/app/common/status-icon/status-icon.component.ts
  • ./src/app/common/user-badge/user-badge.component.ts
  • ./src/app/common/file-viewer/file-viewer.component.ts
  • ./src/app/common/user-icon/user-icon.component.ts
  • ./src/app/common/pdf-viewer-panel/pdf-viewer-panel.component.ts
  • ./src/app/common/header/header.component.ts
  • ./src/app/common/header/task-dropdown/task-dropdown.component.ts
  • ./src/app/common/header/unit-dropdown/unit-dropdown.component.ts
  • ./src/app/common/services/alert.service.ts
  • ./src/app/sessions/states/sign-in/sign-in.component.ts
  • ./src/app/account/edit-profile/edit-profile.component.ts

TODO:

  • ./src/app/visualisations/alignment-bar-chart.coffee
  • ./src/app/visualisations/summary-task-status-scatter.coffee
  • ./src/app/visualisations/target-grade-pie-chart.coffee
  • ./src/app/visualisations/achievement-custom-bar-chart.coffee
  • ./src/app/visualisations/student-task-status-pie-chart.coffee
  • ./src/app/visualisations/alignment-bullet-chart.coffee
  • ./src/app/visualisations/progress-burndown-chart.coffee
  • ./src/app/visualisations/task-status-pie-chart.coffee
  • ./src/app/visualisations/achievement-box-plot.coffee
  • ./src/app/visualisations/task-completion-box-plot.coffee
  • ./src/app/visualisations/visualisations.coffee
  • ./src/app/tasks/task-status-selector/task-status-selector.coffee
  • ./src/app/tasks/tasks.coffee
  • ./src/app/tasks/modals/modals.coffee
  • ./src/app/tasks/modals/upload-submission-modal/upload-submission-modal.coffee
  • ./src/app/tasks/modals/grade-task-modal/grade-task-modal.coffee
  • ./src/app/tasks/task-definition-selector/task-definition-selector.coffee
  • ./src/app/tasks/project-tasks-list/project-tasks-list.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-rater/task-ilo-alignment-rater.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment-modal/task-ilo-alignment-modal.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-editor/task-ilo-alignment-editor.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-viewer/task-ilo-alignment-viewer.coffee
  • ./src/app/config/privacy-policy/privacy-policy.coffee
  • ./src/app/config/config.coffee
  • ./src/app/config/runtime/runtime.coffee
  • ./src/app/config/root-controller/root-controller.coffee
  • ./src/app/config/local-storage/local-storage.coffee
  • ./src/app/config/routing/routing.coffee
  • ./src/app/config/vendor-dependencies/vendor-dependencies.coffee
  • ./src/app/config/analytics/analytics.coffee
  • ./src/app/config/debug/debug.coffee
  • ./src/app/projects/projects.coffee
  • ./src/app/projects/project-progress-dashboard/project-progress-dashboard.coffee
  • ./src/app/projects/states/states.coffee
  • ./src/app/projects/states/all/directives/directives.coffee
  • ./src/app/projects/states/all/directives/all-projects-list/all-projects-list.coffee
  • ./src/app/projects/states/all/all.coffee
  • ./src/app/projects/states/groups/groups.coffee
  • ./src/app/projects/states/feedback/feedback.coffee
  • ./src/app/projects/states/dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/progress-dashboard/progress-dashboard.coffee
  • ./src/app/projects/states/dashboard/directives/student-task-list/student-task-list.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-outcomes-card/task-outcomes-card.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.coffee
  • ./src/app/projects/states/dashboard/dashboard.coffee
  • ./src/app/projects/states/outcomes/outcomes.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-review-step/portfolio-review-step.coffee
  • ./src/app/projects/states/portfolio/directives/directives.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-learning-summary-report-step/portfolio-learning-summary-report-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-add-extra-files-step/portfolio-add-extra-files-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-grade-select-step/portfolio-grade-select-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-welcome-step/portfolio-welcome-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-tasks-step/portfolio-tasks-step.coffee
  • ./src/app/projects/states/portfolio/portfolio.coffee
  • ./src/app/projects/states/index/index.coffee
  • ./src/app/projects/states/tutorials/tutorials.coffee
  • ./src/app/projects/project-outcome-alignment/project-outcome-alignment.coffee
  • ./src/app/admin/modals/modals.coffee
  • ./src/app/admin/modals/create-unit-modal/create-unit-modal.coffee
  • ./src/app/admin/states/states.coffee
  • ./src/app/admin/states/units/units.coffee
  • ./src/app/admin/states/users/users.coffee
  • ./src/app/admin/admin.coffee
  • ./src/app/groups/group-selector/group-selector.coffee
  • ./src/app/groups/group-set-manager/group-set-manager.coffee
  • ./src/app/groups/group-member-contribution-assigner/group-member-contribution-assigner.coffee
  • ./src/app/groups/group-member-list/group-member-list.coffee
  • ./src/app/groups/group-set-selector/group-set-selector.coffee
  • ./src/app/groups/tutor-group-manager/tutor-group-manager.coffee
  • ./src/app/groups/groups.coffee
  • ./src/app/units/modals/unit-student-enrolment-modal/unit-student-enrolment-modal.coffee
  • ./src/app/units/modals/modals.coffee
  • ./src/app/units/modals/unit-ilo-edit-modal/unit-ilo-edit-modal.coffee
  • ./src/app/units/units.coffee
  • ./src/app/units/states/states.coffee
  • ./src/app/units/states/tasks/inbox/inbox.coffee
  • ./src/app/units/states/tasks/tasks.coffee
  • ./src/app/units/states/tasks/viewer/directives/directives.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-sheet-view/task-sheet-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-details-view/task-details-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/unit-task-list/unit-task-list.coffee
  • ./src/app/units/states/tasks/viewer/viewer.coffee
  • ./src/app/units/states/tasks/definition/definition.coffee
  • ./src/app/units/states/portfolios/portfolios.coffee
  • ./src/app/units/states/all/directives/all-units-list/all-units-list.coffee
  • ./src/app/units/states/all/directives/directives.coffee
  • ./src/app/units/states/all/all.coffee
  • ./src/app/units/states/groups/groups.coffee
  • ./src/app/units/states/edit/directives/directives.coffee
  • ./src/app/units/states/edit/directives/unit-group-set-editor/unit-group-set-editor.coffee
  • ./src/app/units/states/edit/directives/unit-details-editor/unit-details-editor.coffee
  • ./src/app/units/states/edit/directives/unit-staff-editor/unit-staff-editor.coffee
  • ./src/app/units/states/edit/directives/unit-ilo-editor/unit-ilo-editor.coffee
  • ./src/app/units/states/edit/edit.coffee
  • ./src/app/units/states/rollover/directives/directives.coffee
  • ./src/app/units/states/rollover/directives/unit-dates-selector/unit-dates-selector.coffee
  • ./src/app/units/states/rollover/rollover.coffee
  • ./src/app/units/states/index/index.coffee
  • ./src/app/units/states/students-list/students-list.coffee
  • ./src/app/units/states/analytics/analytics.coffee
  • ./src/app/common/filters/filters.coffee
  • ./src/app/common/content-editable/content-editable.coffee
  • ./src/app/common/alert-list/alert-list.coffee
  • ./src/app/common/modals/confirmation-modal/confirmation-modal.coffee
  • ./src/app/common/modals/comments-modal/comments-modal.coffee
  • ./src/app/common/modals/modals.coffee
  • ./src/app/common/modals/csv-result-modal/csv-result-modal.coffee
  • ./src/app/common/modals/progress-modal/progress-modal.coffee
  • ./src/app/common/grade-icon/grade-icon.coffee
  • ./src/app/common/file-uploader/file-uploader.coffee
  • ./src/app/common/common.coffee
  • ./src/app/common/services/grade-service.coffee
  • ./src/app/common/services/date-service.coffee
  • ./src/app/common/services/alert-service.coffee
  • ./src/app/common/services/media-service.coffee
  • ./src/app/common/services/recorder-service.coffee
  • ./src/app/common/services/outcome-service.coffee
  • ./src/app/common/services/listener-service.coffee
  • ./src/app/common/services/analytics-service.coffee
  • ./src/app/common/services/services.coffee
  • ./src/app/sessions/auth/http-auth-injector.coffee
  • ./src/app/sessions/sessions.coffee
  • ./src/app/errors/errors.coffee
  • ./src/app/errors/states/states.coffee
  • ./src/app/errors/states/unauthorised/unauthorised.coffee
  • ./src/app/errors/states/not-found/not-found.coffee
  • ./src/app/errors/states/timeout/timeout.coffee

Table of Contents

  1. Getting Started
  2. Resources
  3. Contributing
  4. Deployment
  5. License

Getting Started

If you will be using Docker, follow the instructions there.

Before you get started, make sure you have the Doubtfire API up and running. You will need to do this before continuing.

First, clone the web repository, and change to the root directory:

git clone https://github.com/doubtfire-lms/doubtfire-web.git
cd ./doubtfire-web

You can automate the installation process by running the automated setup script:

./setup.sh

Or, you can continue following the below steps to manually install doubtfire-web.

Install Node.js either by downloading it and installing it manually, or via Homebrew on OS X:

brew install node

or by using apt-get on Linux:

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install nodejs

Install Ruby SASS:

gem install sass

If gem fails, you should read the Doubtfire API README to install ruby. If you are not using rbenv, e.g., using Docker instead, you may need to prepend sudo to the above commands to have root write access.

If using rbenv, rehash to ensure each of the gems are on your PATH:

rbenv rehash

Install all node dependencies using npm, as well as grunt-cli globally:

npm install

Note: You may need to install grunt-cli globally in Linux using sudo.

Lastly, to compile and run a watch server and web server, use npm start:

npm start

This will automatically run the angular 1 grunt watch, and the angular 7 ng serve.

You can then navigate to the Doubtfire web interface at http://localhost:8000.

Deployment

To compile the front-end, ensure doubtfire-api is placed as a sibling directory to doubtfire-web, then run:

cd /path/to/repos
ls
doubtfire-api doubtfire-web
cd ./doubtfire-api
grunt deploy

You may prefix this command with the following environment variables:

  • DF_API_URL - the URL of the API (e.g., https://doubtfire.com/api). This will default to window.location.host if not set and dynamically generate a URL.
  • DF_EXTERNAL_NAME - a new name that removes references to the Doubtfire name should you so want to not use such its original name (😢).

Resources

Doubtfire Web is an Angular application built using Bootstrap. It uses many Open Source libraries, which you can read up on:

Contributing

Refer to CONTRIBUTING.md

License

Licensed under GNU Affero General Public License (AGPL) v3

About

Angular web application for the Doubtfire front-end

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Remove or un-stick sticky/fixed headers that block content\n(function() {\n function unstick() {\n document.querySelectorAll('header, nav, [role=\"banner\"], .header, .navbar, .sticky, .fixed-top, [style*=\"position: fixed\"], [style*=\"position:sticky\"]').forEach(function(el) {\n if (el.style.position === 'fixed' || el.style.position === 'sticky' || \n getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {\n el.style.position = 'static';\n el.style.top = 'auto';\n el.style.zIndex = 'auto';\n }\n });\n }\n \n unstick();\n \n var observer = new MutationObserver(unstick);\n observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });\n})();", "Kill Sticky Headers"); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + '
Skip to content

Latest commit

History

4,670 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Doubtfire Logo

Doubtfire Web CI

A modern, lightweight learning management system.

🛠 Migration Status: In Development

Doubtfire web migration from AngularJS/Coffeescript to Angular/Typescript, including refactoring all components, is currently in development.

See the progress of component migration below.

Migration Progress

SUMMARY:

73 / 132 components migrated

MIGRATED:

  • ./src/app/home/splash-screen/splash-screen.component.ts
  • ./src/app/home/states/home/home.component.ts
  • ./src/app/tasks/task-submission-history/task-submission-history.component.ts
  • ./src/app/tasks/task-comments-viewer/task-assessment-comment/task-assessment-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/extension-comment/extension-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-player.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-recorder/intelligent-discussion-recorder.component.ts
  • ./src/app/tasks/task-comments-viewer/pdf-image-comment/pdf-image-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/comment-bubble-action/comment-bubble-action.component.ts
  • ./src/app/tasks/task-comments-viewer/task-comments-viewer.component.ts
  • ./src/app/tasks/task-comment-composer/task-comment-composer.component.ts
  • ./src/app/tasks/task-comment-composer/discussion-prompt-composer/discussion-prompt-composer.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/create-portfolio-task-list-item/create-portfolio-task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/task-list-item/task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-assessment-card/task-assessment-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-similarity-view/task-similarity-view.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-submission-card/task-submission-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-due-card/task-due-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.ts
  • ./src/app/admin/institution-settings/overseer-images/overseer-image-list.component.ts
  • ./src/app/admin/institution-settings/institution-settings.component.ts
  • ./src/app/admin/institution-settings/campuses/campus-list/campus-list.component.ts
  • ./src/app/admin/institution-settings/activity-type-list/activity-type-list.component.ts
  • ./src/app/admin/tii-action-log/tii-action-log.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-list/teaching-period-list.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-unit-import/teaching-period-unit-import.dialog.ts
  • ./src/app/eula/accept-eula/accept-eula.component.ts
  • ./src/app/welcome/welcome.component.ts
  • ./src/app/units/states/tasks/inbox/directives/staff-task-list/staff-task-list.component.ts
  • ./src/app/units/states/tasks/inbox/inbox.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-tutorial-select/student-tutorial-select.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/unit-students-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-campus-select/student-campus-select.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-manager/unit-tutorials-manager.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-list/unit-tutorials-list.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/unit-task-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-who/task-definition-who.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-dates/task-definition-dates.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-options/task-definition-options.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-resources/task-definition-resources.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-overseer/task-definition-overseer.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-general/task-definition-general.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-upload/task-definition-upload.component.ts
  • ./src/app/units/states/analytics/unit-analytics-route.component.ts
  • ./src/app/common/footer/footer.component.ts
  • ./src/app/common/audio-recorder/audio/audio-comment-recorder/audio-comment-recorder.ts
  • ./src/app/common/audio-recorder/audio/microphone-tester/microphone-tester.component.ts
  • ./src/app/common/audio-player/audio-player.component.ts
  • ./src/app/common/edit-profile-form/edit-profile-form.component.ts
  • ./src/app/common/file-drop/file-drop.component.ts
  • ./src/app/common/modals/extension-modal/extension-modal.component.ts
  • ./src/app/common/modals/about-doubtfire-modal/about-doubtfire-modal.component.ts
  • ./src/app/common/modals/calendar-modal/calendar-modal.component.ts
  • ./src/app/common/modals/task-assessment-modal/task-assessment-modal.component.ts
  • ./src/app/common/pdf-viewer/pdf-viewer.component.ts
  • ./src/app/common/obect-select/object-select.component.ts
  • ./src/app/common/hero-sidebar/hero-sidebar.component.ts
  • ./src/app/common/project-progress-bar/project-progress-bar.component.ts
  • ./src/app/common/f-chip/f-chip.component.ts
  • ./src/app/common/status-icon/status-icon.component.ts
  • ./src/app/common/user-badge/user-badge.component.ts
  • ./src/app/common/file-viewer/file-viewer.component.ts
  • ./src/app/common/user-icon/user-icon.component.ts
  • ./src/app/common/pdf-viewer-panel/pdf-viewer-panel.component.ts
  • ./src/app/common/header/header.component.ts
  • ./src/app/common/header/task-dropdown/task-dropdown.component.ts
  • ./src/app/common/header/unit-dropdown/unit-dropdown.component.ts
  • ./src/app/common/services/alert.service.ts
  • ./src/app/sessions/states/sign-in/sign-in.component.ts
  • ./src/app/account/edit-profile/edit-profile.component.ts

TODO:

  • ./src/app/visualisations/alignment-bar-chart.coffee
  • ./src/app/visualisations/summary-task-status-scatter.coffee
  • ./src/app/visualisations/target-grade-pie-chart.coffee
  • ./src/app/visualisations/achievement-custom-bar-chart.coffee
  • ./src/app/visualisations/student-task-status-pie-chart.coffee
  • ./src/app/visualisations/alignment-bullet-chart.coffee
  • ./src/app/visualisations/progress-burndown-chart.coffee
  • ./src/app/visualisations/task-status-pie-chart.coffee
  • ./src/app/visualisations/achievement-box-plot.coffee
  • ./src/app/visualisations/task-completion-box-plot.coffee
  • ./src/app/visualisations/visualisations.coffee
  • ./src/app/tasks/task-status-selector/task-status-selector.coffee
  • ./src/app/tasks/tasks.coffee
  • ./src/app/tasks/modals/modals.coffee
  • ./src/app/tasks/modals/upload-submission-modal/upload-submission-modal.coffee
  • ./src/app/tasks/modals/grade-task-modal/grade-task-modal.coffee
  • ./src/app/tasks/task-definition-selector/task-definition-selector.coffee
  • ./src/app/tasks/project-tasks-list/project-tasks-list.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-rater/task-ilo-alignment-rater.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment-modal/task-ilo-alignment-modal.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-editor/task-ilo-alignment-editor.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-viewer/task-ilo-alignment-viewer.coffee
  • ./src/app/config/privacy-policy/privacy-policy.coffee
  • ./src/app/config/config.coffee
  • ./src/app/config/runtime/runtime.coffee
  • ./src/app/config/root-controller/root-controller.coffee
  • ./src/app/config/local-storage/local-storage.coffee
  • ./src/app/config/routing/routing.coffee
  • ./src/app/config/vendor-dependencies/vendor-dependencies.coffee
  • ./src/app/config/analytics/analytics.coffee
  • ./src/app/config/debug/debug.coffee
  • ./src/app/projects/projects.coffee
  • ./src/app/projects/project-progress-dashboard/project-progress-dashboard.coffee
  • ./src/app/projects/states/states.coffee
  • ./src/app/projects/states/all/directives/directives.coffee
  • ./src/app/projects/states/all/directives/all-projects-list/all-projects-list.coffee
  • ./src/app/projects/states/all/all.coffee
  • ./src/app/projects/states/groups/groups.coffee
  • ./src/app/projects/states/feedback/feedback.coffee
  • ./src/app/projects/states/dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/progress-dashboard/progress-dashboard.coffee
  • ./src/app/projects/states/dashboard/directives/student-task-list/student-task-list.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-outcomes-card/task-outcomes-card.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.coffee
  • ./src/app/projects/states/dashboard/dashboard.coffee
  • ./src/app/projects/states/outcomes/outcomes.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-review-step/portfolio-review-step.coffee
  • ./src/app/projects/states/portfolio/directives/directives.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-learning-summary-report-step/portfolio-learning-summary-report-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-add-extra-files-step/portfolio-add-extra-files-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-grade-select-step/portfolio-grade-select-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-welcome-step/portfolio-welcome-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-tasks-step/portfolio-tasks-step.coffee
  • ./src/app/projects/states/portfolio/portfolio.coffee
  • ./src/app/projects/states/index/index.coffee
  • ./src/app/projects/states/tutorials/tutorials.coffee
  • ./src/app/projects/project-outcome-alignment/project-outcome-alignment.coffee
  • ./src/app/admin/modals/modals.coffee
  • ./src/app/admin/modals/create-unit-modal/create-unit-modal.coffee
  • ./src/app/admin/states/states.coffee
  • ./src/app/admin/states/units/units.coffee
  • ./src/app/admin/states/users/users.coffee
  • ./src/app/admin/admin.coffee
  • ./src/app/groups/group-selector/group-selector.coffee
  • ./src/app/groups/group-set-manager/group-set-manager.coffee
  • ./src/app/groups/group-member-contribution-assigner/group-member-contribution-assigner.coffee
  • ./src/app/groups/group-member-list/group-member-list.coffee
  • ./src/app/groups/group-set-selector/group-set-selector.coffee
  • ./src/app/groups/tutor-group-manager/tutor-group-manager.coffee
  • ./src/app/groups/groups.coffee
  • ./src/app/units/modals/unit-student-enrolment-modal/unit-student-enrolment-modal.coffee
  • ./src/app/units/modals/modals.coffee
  • ./src/app/units/modals/unit-ilo-edit-modal/unit-ilo-edit-modal.coffee
  • ./src/app/units/units.coffee
  • ./src/app/units/states/states.coffee
  • ./src/app/units/states/tasks/inbox/inbox.coffee
  • ./src/app/units/states/tasks/tasks.coffee
  • ./src/app/units/states/tasks/viewer/directives/directives.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-sheet-view/task-sheet-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-details-view/task-details-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/unit-task-list/unit-task-list.coffee
  • ./src/app/units/states/tasks/viewer/viewer.coffee
  • ./src/app/units/states/tasks/definition/definition.coffee
  • ./src/app/units/states/portfolios/portfolios.coffee
  • ./src/app/units/states/all/directives/all-units-list/all-units-list.coffee
  • ./src/app/units/states/all/directives/directives.coffee
  • ./src/app/units/states/all/all.coffee
  • ./src/app/units/states/groups/groups.coffee
  • ./src/app/units/states/edit/directives/directives.coffee
  • ./src/app/units/states/edit/directives/unit-group-set-editor/unit-group-set-editor.coffee
  • ./src/app/units/states/edit/directives/unit-details-editor/unit-details-editor.coffee
  • ./src/app/units/states/edit/directives/unit-staff-editor/unit-staff-editor.coffee
  • ./src/app/units/states/edit/directives/unit-ilo-editor/unit-ilo-editor.coffee
  • ./src/app/units/states/edit/edit.coffee
  • ./src/app/units/states/rollover/directives/directives.coffee
  • ./src/app/units/states/rollover/directives/unit-dates-selector/unit-dates-selector.coffee
  • ./src/app/units/states/rollover/rollover.coffee
  • ./src/app/units/states/index/index.coffee
  • ./src/app/units/states/students-list/students-list.coffee
  • ./src/app/units/states/analytics/analytics.coffee
  • ./src/app/common/filters/filters.coffee
  • ./src/app/common/content-editable/content-editable.coffee
  • ./src/app/common/alert-list/alert-list.coffee
  • ./src/app/common/modals/confirmation-modal/confirmation-modal.coffee
  • ./src/app/common/modals/comments-modal/comments-modal.coffee
  • ./src/app/common/modals/modals.coffee
  • ./src/app/common/modals/csv-result-modal/csv-result-modal.coffee
  • ./src/app/common/modals/progress-modal/progress-modal.coffee
  • ./src/app/common/grade-icon/grade-icon.coffee
  • ./src/app/common/file-uploader/file-uploader.coffee
  • ./src/app/common/common.coffee
  • ./src/app/common/services/grade-service.coffee
  • ./src/app/common/services/date-service.coffee
  • ./src/app/common/services/alert-service.coffee
  • ./src/app/common/services/media-service.coffee
  • ./src/app/common/services/recorder-service.coffee
  • ./src/app/common/services/outcome-service.coffee
  • ./src/app/common/services/listener-service.coffee
  • ./src/app/common/services/analytics-service.coffee
  • ./src/app/common/services/services.coffee
  • ./src/app/sessions/auth/http-auth-injector.coffee
  • ./src/app/sessions/sessions.coffee
  • ./src/app/errors/errors.coffee
  • ./src/app/errors/states/states.coffee
  • ./src/app/errors/states/unauthorised/unauthorised.coffee
  • ./src/app/errors/states/not-found/not-found.coffee
  • ./src/app/errors/states/timeout/timeout.coffee

Table of Contents

  1. Getting Started
  2. Resources
  3. Contributing
  4. Deployment
  5. License

Getting Started

If you will be using Docker, follow the instructions there.

Before you get started, make sure you have the Doubtfire API up and running. You will need to do this before continuing.

First, clone the web repository, and change to the root directory:

git clone https://github.com/doubtfire-lms/doubtfire-web.git
cd ./doubtfire-web

You can automate the installation process by running the automated setup script:

./setup.sh

Or, you can continue following the below steps to manually install doubtfire-web.

Install Node.js either by downloading it and installing it manually, or via Homebrew on OS X:

brew install node

or by using apt-get on Linux:

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install nodejs

Install Ruby SASS:

gem install sass

If gem fails, you should read the Doubtfire API README to install ruby. If you are not using rbenv, e.g., using Docker instead, you may need to prepend sudo to the above commands to have root write access.

If using rbenv, rehash to ensure each of the gems are on your PATH:

rbenv rehash

Install all node dependencies using npm, as well as grunt-cli globally:

npm install

Note: You may need to install grunt-cli globally in Linux using sudo.

Lastly, to compile and run a watch server and web server, use npm start:

npm start

This will automatically run the angular 1 grunt watch, and the angular 7 ng serve.

You can then navigate to the Doubtfire web interface at http://localhost:8000.

Deployment

To compile the front-end, ensure doubtfire-api is placed as a sibling directory to doubtfire-web, then run:

cd /path/to/repos
ls
doubtfire-api doubtfire-web
cd ./doubtfire-api
grunt deploy

You may prefix this command with the following environment variables:

  • DF_API_URL - the URL of the API (e.g., https://doubtfire.com/api). This will default to window.location.host if not set and dynamically generate a URL.
  • DF_EXTERNAL_NAME - a new name that removes references to the Doubtfire name should you so want to not use such its original name (😢).

Resources

Doubtfire Web is an Angular application built using Bootstrap. It uses many Open Source libraries, which you can read up on:

Contributing

Refer to CONTRIBUTING.md

License

Licensed under GNU Affero General Public License (AGPL) v3

About

Angular web application for the Doubtfire front-end

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages

, 'i'); if (__m === '*' || __re.test(location.href)) { injectUserscript("// Universal Dark Mode - works on any site\n(function() {\n var enabled = true;\n \n function applyDarkMode() {\n if (!enabled) return;\n \n // Create style element if it doesn't exist\n var style = document.getElementById('universal-dark-mode-style');\n if (!style) {\n style = document.createElement('style');\n style.id = 'universal-dark-mode-style';\n document.head.appendChild(style);\n }\n \n // Dark mode CSS - inverts colors but preserves images/video\n style.textContent = '\n /* Invert everything except media */\n html {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #1a1a2e !important;\n }\n \n /* Restore images, videos, iframes, canvas */\n img, video, iframe, canvas, svg, picture, [style*=\"background-image\"] {\n filter: invert(1) hue-rotate(180deg) !important;\n }\n \n /* Preserve specific elements that should not be inverted */\n .no-dark-mode, .no-dark-mode *,\n [data-theme=\"light\"], [data-theme=\"light\"],\n .ace_editor, .ace_editor *,\n .CodeMirror, .CodeMirror *,\n .monaco-editor, .monaco-editor *,\n .markdown-body pre, .markdown-body pre *,\n .highlight, .highlight *,\n pre code, pre code * {\n filter: none !important;\n }\n \n /* Fix common UI elements */\n .modal, .popup, .dropdown-menu, .tooltip, .popover {\n filter: invert(1) hue-rotate(180deg) !important;\n background: #2d2d44 !important;\n border-color: #444 !important;\n }\n \n /* Scrollbars */\n ::-webkit-scrollbar { background: #1a1a2e !important; }\n ::-webkit-scrollbar-thumb { background: #444 !important; }\n ::-webkit-scrollbar-thumb:hover { background: #555 !important; }\n \n /* Selection */\n ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; }\n ';\n }\n \n function removeDarkMode() {\n var style = document.getElementById('universal-dark-mode-style');\n if (style) style.remove();\n }\n \n // Toggle with Alt+Shift+D\n document.addEventListener('keydown', function(e) {\n if (e.altKey && e.shiftKey && e.key === 'D') {\n e.preventDefault();\n enabled = !enabled;\n if (enabled) {\n applyDarkMode();\n console.log('[Universal Dark Mode] Enabled');\n } else {\n removeDarkMode();\n console.log('[Universal Dark Mode] Disabled');\n }\n }\n });\n \n // Apply on load\n applyDarkMode();\n \n // Re-apply on dynamic content\n var observer = new MutationObserver(function(mutations) {\n if (enabled && !document.getElementById('universal-dark-mode-style')) {\n applyDarkMode();\n }\n });\n observer.observe(document.head, { childList: true });\n \n console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle');\n})();", "Universal Dark Mode"); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })();
Skip to content

Latest commit

History

4,670 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Doubtfire Logo

Doubtfire Web CI

A modern, lightweight learning management system.

🛠 Migration Status: In Development

Doubtfire web migration from AngularJS/Coffeescript to Angular/Typescript, including refactoring all components, is currently in development.

See the progress of component migration below.

Migration Progress

SUMMARY:

73 / 132 components migrated

MIGRATED:

  • ./src/app/home/splash-screen/splash-screen.component.ts
  • ./src/app/home/states/home/home.component.ts
  • ./src/app/tasks/task-submission-history/task-submission-history.component.ts
  • ./src/app/tasks/task-comments-viewer/task-assessment-comment/task-assessment-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/extension-comment/extension-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-player.component.ts
  • ./src/app/tasks/task-comments-viewer/intelligent-discussion-player/intelligent-discussion-recorder/intelligent-discussion-recorder.component.ts
  • ./src/app/tasks/task-comments-viewer/pdf-image-comment/pdf-image-comment.component.ts
  • ./src/app/tasks/task-comments-viewer/comment-bubble-action/comment-bubble-action.component.ts
  • ./src/app/tasks/task-comments-viewer/task-comments-viewer.component.ts
  • ./src/app/tasks/task-comment-composer/task-comment-composer.component.ts
  • ./src/app/tasks/task-comment-composer/discussion-prompt-composer/discussion-prompt-composer.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/create-portfolio-task-list-item/create-portfolio-task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/student-task-list/task-list-item/task-list-item.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-assessment-card/task-assessment-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-similarity-view/task-similarity-view.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-submission-card/task-submission-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-due-card/task-due-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-description-card/task-description-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-status-card/task-status-card.component.ts
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.component.ts
  • ./src/app/admin/institution-settings/overseer-images/overseer-image-list.component.ts
  • ./src/app/admin/institution-settings/institution-settings.component.ts
  • ./src/app/admin/institution-settings/campuses/campus-list/campus-list.component.ts
  • ./src/app/admin/institution-settings/activity-type-list/activity-type-list.component.ts
  • ./src/app/admin/tii-action-log/tii-action-log.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-list/teaching-period-list.component.ts
  • ./src/app/admin/states/teaching-periods/teaching-period-unit-import/teaching-period-unit-import.dialog.ts
  • ./src/app/eula/accept-eula/accept-eula.component.ts
  • ./src/app/welcome/welcome.component.ts
  • ./src/app/units/states/tasks/inbox/directives/staff-task-list/staff-task-list.component.ts
  • ./src/app/units/states/tasks/inbox/inbox.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-tutorial-select/student-tutorial-select.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/unit-students-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-students-editor/student-campus-select/student-campus-select.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-manager/unit-tutorials-manager.component.ts
  • ./src/app/units/states/edit/directives/unit-tutorials-list/unit-tutorials-list.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/unit-task-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-who/task-definition-who.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-dates/task-definition-dates.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-options/task-definition-options.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-resources/task-definition-resources.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-overseer/task-definition-overseer.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-editor.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-general/task-definition-general.component.ts
  • ./src/app/units/states/edit/directives/unit-tasks-editor/task-definition-editor/task-definition-upload/task-definition-upload.component.ts
  • ./src/app/units/states/analytics/unit-analytics-route.component.ts
  • ./src/app/common/footer/footer.component.ts
  • ./src/app/common/audio-recorder/audio/audio-comment-recorder/audio-comment-recorder.ts
  • ./src/app/common/audio-recorder/audio/microphone-tester/microphone-tester.component.ts
  • ./src/app/common/audio-player/audio-player.component.ts
  • ./src/app/common/edit-profile-form/edit-profile-form.component.ts
  • ./src/app/common/file-drop/file-drop.component.ts
  • ./src/app/common/modals/extension-modal/extension-modal.component.ts
  • ./src/app/common/modals/about-doubtfire-modal/about-doubtfire-modal.component.ts
  • ./src/app/common/modals/calendar-modal/calendar-modal.component.ts
  • ./src/app/common/modals/task-assessment-modal/task-assessment-modal.component.ts
  • ./src/app/common/pdf-viewer/pdf-viewer.component.ts
  • ./src/app/common/obect-select/object-select.component.ts
  • ./src/app/common/hero-sidebar/hero-sidebar.component.ts
  • ./src/app/common/project-progress-bar/project-progress-bar.component.ts
  • ./src/app/common/f-chip/f-chip.component.ts
  • ./src/app/common/status-icon/status-icon.component.ts
  • ./src/app/common/user-badge/user-badge.component.ts
  • ./src/app/common/file-viewer/file-viewer.component.ts
  • ./src/app/common/user-icon/user-icon.component.ts
  • ./src/app/common/pdf-viewer-panel/pdf-viewer-panel.component.ts
  • ./src/app/common/header/header.component.ts
  • ./src/app/common/header/task-dropdown/task-dropdown.component.ts
  • ./src/app/common/header/unit-dropdown/unit-dropdown.component.ts
  • ./src/app/common/services/alert.service.ts
  • ./src/app/sessions/states/sign-in/sign-in.component.ts
  • ./src/app/account/edit-profile/edit-profile.component.ts

TODO:

  • ./src/app/visualisations/alignment-bar-chart.coffee
  • ./src/app/visualisations/summary-task-status-scatter.coffee
  • ./src/app/visualisations/target-grade-pie-chart.coffee
  • ./src/app/visualisations/achievement-custom-bar-chart.coffee
  • ./src/app/visualisations/student-task-status-pie-chart.coffee
  • ./src/app/visualisations/alignment-bullet-chart.coffee
  • ./src/app/visualisations/progress-burndown-chart.coffee
  • ./src/app/visualisations/task-status-pie-chart.coffee
  • ./src/app/visualisations/achievement-box-plot.coffee
  • ./src/app/visualisations/task-completion-box-plot.coffee
  • ./src/app/visualisations/visualisations.coffee
  • ./src/app/tasks/task-status-selector/task-status-selector.coffee
  • ./src/app/tasks/tasks.coffee
  • ./src/app/tasks/modals/modals.coffee
  • ./src/app/tasks/modals/upload-submission-modal/upload-submission-modal.coffee
  • ./src/app/tasks/modals/grade-task-modal/grade-task-modal.coffee
  • ./src/app/tasks/task-definition-selector/task-definition-selector.coffee
  • ./src/app/tasks/project-tasks-list/project-tasks-list.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-rater/task-ilo-alignment-rater.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment-modal/task-ilo-alignment-modal.coffee
  • ./src/app/tasks/task-ilo-alignment/modals/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-editor/task-ilo-alignment-editor.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment.coffee
  • ./src/app/tasks/task-ilo-alignment/task-ilo-alignment-viewer/task-ilo-alignment-viewer.coffee
  • ./src/app/config/privacy-policy/privacy-policy.coffee
  • ./src/app/config/config.coffee
  • ./src/app/config/runtime/runtime.coffee
  • ./src/app/config/root-controller/root-controller.coffee
  • ./src/app/config/local-storage/local-storage.coffee
  • ./src/app/config/routing/routing.coffee
  • ./src/app/config/vendor-dependencies/vendor-dependencies.coffee
  • ./src/app/config/analytics/analytics.coffee
  • ./src/app/config/debug/debug.coffee
  • ./src/app/projects/projects.coffee
  • ./src/app/projects/project-progress-dashboard/project-progress-dashboard.coffee
  • ./src/app/projects/states/states.coffee
  • ./src/app/projects/states/all/directives/directives.coffee
  • ./src/app/projects/states/all/directives/all-projects-list/all-projects-list.coffee
  • ./src/app/projects/states/all/all.coffee
  • ./src/app/projects/states/groups/groups.coffee
  • ./src/app/projects/states/feedback/feedback.coffee
  • ./src/app/projects/states/dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/progress-dashboard/progress-dashboard.coffee
  • ./src/app/projects/states/dashboard/directives/student-task-list/student-task-list.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/directives.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/directives/task-outcomes-card/task-outcomes-card.coffee
  • ./src/app/projects/states/dashboard/directives/task-dashboard/task-dashboard.coffee
  • ./src/app/projects/states/dashboard/dashboard.coffee
  • ./src/app/projects/states/outcomes/outcomes.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-review-step/portfolio-review-step.coffee
  • ./src/app/projects/states/portfolio/directives/directives.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-learning-summary-report-step/portfolio-learning-summary-report-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-add-extra-files-step/portfolio-add-extra-files-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-grade-select-step/portfolio-grade-select-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-welcome-step/portfolio-welcome-step.coffee
  • ./src/app/projects/states/portfolio/directives/portfolio-tasks-step/portfolio-tasks-step.coffee
  • ./src/app/projects/states/portfolio/portfolio.coffee
  • ./src/app/projects/states/index/index.coffee
  • ./src/app/projects/states/tutorials/tutorials.coffee
  • ./src/app/projects/project-outcome-alignment/project-outcome-alignment.coffee
  • ./src/app/admin/modals/modals.coffee
  • ./src/app/admin/modals/create-unit-modal/create-unit-modal.coffee
  • ./src/app/admin/states/states.coffee
  • ./src/app/admin/states/units/units.coffee
  • ./src/app/admin/states/users/users.coffee
  • ./src/app/admin/admin.coffee
  • ./src/app/groups/group-selector/group-selector.coffee
  • ./src/app/groups/group-set-manager/group-set-manager.coffee
  • ./src/app/groups/group-member-contribution-assigner/group-member-contribution-assigner.coffee
  • ./src/app/groups/group-member-list/group-member-list.coffee
  • ./src/app/groups/group-set-selector/group-set-selector.coffee
  • ./src/app/groups/tutor-group-manager/tutor-group-manager.coffee
  • ./src/app/groups/groups.coffee
  • ./src/app/units/modals/unit-student-enrolment-modal/unit-student-enrolment-modal.coffee
  • ./src/app/units/modals/modals.coffee
  • ./src/app/units/modals/unit-ilo-edit-modal/unit-ilo-edit-modal.coffee
  • ./src/app/units/units.coffee
  • ./src/app/units/states/states.coffee
  • ./src/app/units/states/tasks/inbox/inbox.coffee
  • ./src/app/units/states/tasks/tasks.coffee
  • ./src/app/units/states/tasks/viewer/directives/directives.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-sheet-view/task-sheet-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/task-details-view/task-details-view.coffee
  • ./src/app/units/states/tasks/viewer/directives/unit-task-list/unit-task-list.coffee
  • ./src/app/units/states/tasks/viewer/viewer.coffee
  • ./src/app/units/states/tasks/definition/definition.coffee
  • ./src/app/units/states/portfolios/portfolios.coffee
  • ./src/app/units/states/all/directives/all-units-list/all-units-list.coffee
  • ./src/app/units/states/all/directives/directives.coffee
  • ./src/app/units/states/all/all.coffee
  • ./src/app/units/states/groups/groups.coffee
  • ./src/app/units/states/edit/directives/directives.coffee
  • ./src/app/units/states/edit/directives/unit-group-set-editor/unit-group-set-editor.coffee
  • ./src/app/units/states/edit/directives/unit-details-editor/unit-details-editor.coffee
  • ./src/app/units/states/edit/directives/unit-staff-editor/unit-staff-editor.coffee
  • ./src/app/units/states/edit/directives/unit-ilo-editor/unit-ilo-editor.coffee
  • ./src/app/units/states/edit/edit.coffee
  • ./src/app/units/states/rollover/directives/directives.coffee
  • ./src/app/units/states/rollover/directives/unit-dates-selector/unit-dates-selector.coffee
  • ./src/app/units/states/rollover/rollover.coffee
  • ./src/app/units/states/index/index.coffee
  • ./src/app/units/states/students-list/students-list.coffee
  • ./src/app/units/states/analytics/analytics.coffee
  • ./src/app/common/filters/filters.coffee
  • ./src/app/common/content-editable/content-editable.coffee
  • ./src/app/common/alert-list/alert-list.coffee
  • ./src/app/common/modals/confirmation-modal/confirmation-modal.coffee
  • ./src/app/common/modals/comments-modal/comments-modal.coffee
  • ./src/app/common/modals/modals.coffee
  • ./src/app/common/modals/csv-result-modal/csv-result-modal.coffee
  • ./src/app/common/modals/progress-modal/progress-modal.coffee
  • ./src/app/common/grade-icon/grade-icon.coffee
  • ./src/app/common/file-uploader/file-uploader.coffee
  • ./src/app/common/common.coffee
  • ./src/app/common/services/grade-service.coffee
  • ./src/app/common/services/date-service.coffee
  • ./src/app/common/services/alert-service.coffee
  • ./src/app/common/services/media-service.coffee
  • ./src/app/common/services/recorder-service.coffee
  • ./src/app/common/services/outcome-service.coffee
  • ./src/app/common/services/listener-service.coffee
  • ./src/app/common/services/analytics-service.coffee
  • ./src/app/common/services/services.coffee
  • ./src/app/sessions/auth/http-auth-injector.coffee
  • ./src/app/sessions/sessions.coffee
  • ./src/app/errors/errors.coffee
  • ./src/app/errors/states/states.coffee
  • ./src/app/errors/states/unauthorised/unauthorised.coffee
  • ./src/app/errors/states/not-found/not-found.coffee
  • ./src/app/errors/states/timeout/timeout.coffee

Table of Contents

  1. Getting Started
  2. Resources
  3. Contributing
  4. Deployment
  5. License

Getting Started

If you will be using Docker, follow the instructions there.

Before you get started, make sure you have the Doubtfire API up and running. You will need to do this before continuing.

First, clone the web repository, and change to the root directory:

git clone https://github.com/doubtfire-lms/doubtfire-web.git
cd ./doubtfire-web

You can automate the installation process by running the automated setup script:

./setup.sh

Or, you can continue following the below steps to manually install doubtfire-web.

Install Node.js either by downloading it and installing it manually, or via Homebrew on OS X:

brew install node

or by using apt-get on Linux:

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install nodejs

Install Ruby SASS:

gem install sass

If gem fails, you should read the Doubtfire API README to install ruby. If you are not using rbenv, e.g., using Docker instead, you may need to prepend sudo to the above commands to have root write access.

If using rbenv, rehash to ensure each of the gems are on your PATH:

rbenv rehash

Install all node dependencies using npm, as well as grunt-cli globally:

npm install

Note: You may need to install grunt-cli globally in Linux using sudo.

Lastly, to compile and run a watch server and web server, use npm start:

npm start

This will automatically run the angular 1 grunt watch, and the angular 7 ng serve.

You can then navigate to the Doubtfire web interface at http://localhost:8000.

Deployment

To compile the front-end, ensure doubtfire-api is placed as a sibling directory to doubtfire-web, then run:

cd /path/to/repos
ls
doubtfire-api doubtfire-web
cd ./doubtfire-api
grunt deploy

You may prefix this command with the following environment variables:

  • DF_API_URL - the URL of the API (e.g., https://doubtfire.com/api). This will default to window.location.host if not set and dynamically generate a URL.
  • DF_EXTERNAL_NAME - a new name that removes references to the Doubtfire name should you so want to not use such its original name (😢).

Resources

Doubtfire Web is an Angular application built using Bootstrap. It uses many Open Source libraries, which you can read up on:

Contributing

Refer to CONTRIBUTING.md

License

Licensed under GNU Affero General Public License (AGPL) v3

About

Angular web application for the Doubtfire front-end

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages