• Stars
    star
    114
  • Rank 296,894 (Top 7 %)
  • Language
    Kotlin
  • Created about 5 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Canvas Android apps

Instructure Android

Instructure's Open Source Android Code

The open source code provided by the Android Team at Instructure.

Building

First, install the Flutter SDK using the instructions found here.

Next, run ./open_source.sh once. You may now use Gradle to build the apps. Prior to building the Student app for the first time, navigate to libs/flutter_student_embed and run the command flutter pub get.

Student and Teacher

  1. Open apps/build.gradle in Android Studio
Android Studio > Import Project > canvas-android/apps/build.gradle
  1. Select the app from the list of configurations (student or teacher)
  2. Tap 'Run' (^R) to run the app

Parent

  1. Open canvas-android/apps/flutter_parent in Android Studio.
  2. Make sure the main.dart configuration is selected
  3. Tap 'Run' (^R) to run the app
App Command Build Status
Student ./gradle/gradlew -p apps :student:assembleDevDebug Student build Status
Teacher ./gradle/gradlew -p apps :teacher:assembleDevDebug Teacher build Status
Parent (in apps/flutter_parent) flutter pub get; flutter build apk Parent build Status

Running tests

To run unit tests for Student and Teacher

  1. Open the Build Variants window and set the variant to qaDebug for the app that you wish to test.
  2. You can run the tests by tapping on the play button next to the test case or the test class.

Applications:

The Applications we have published on Google Play.

App Description
Canvas Student Used by Students all over the world to be smarter, go faster, and do more.
Canvas Teacher User by Teachers all over the world to update course content or grade on the go.
Canvas Parent Used by Parents all over the world to be parents.

Modules:

These are things that we use internally to create our applications.

Module Description
BluePrint An MVP Architecture that depends on PandaRecyclerView.
Canvas-Api Deprecated - Canvas for Android Api used to talk to Canvas LMS. (deprecated)
Canvas-Api-2 Canvas for Android Api used to talk to the Canvas LMS and is testable.
dataseedingapi gRPC wrapper for Canvas that enables creating data to test the apps
Espresso The UI testing library built on Espresso.
SoSeedyCLI CLI for using data seeding API manually
SoSeedyGRPC gRPC server for using data seeding with iOS from Xcode
Foosball A Foosball Application created and used interally to boost fun by over 120%.
Login-Api Deprecated - The Library used to making logging in and getting a token relatively easy. (deprecated)
Login-Api-2 The libarary used to make logging in and getting a token relative easy and is testable.
PandaUtils The core library for new features in the Student and Teacher apps.
PandaRecyclerView A fancy RecyclerView library that supports expanding and collapsing, pagination, and stuff like that.
Rceditor A wrapper for rich content editing used in Canvas Teacher.

Our applications are licensed under the GPLv3 License.

Copyright (C) 2016 - present  Instructure, Inc.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3 of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Our Modules are licensed under the Apache v2 License.

Copyright (C) 2016 - present Instructure, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

More Repositories

1

canvas-lms

The open LMS by Instructure, Inc.
Ruby
4,978
star
2

canvas-ios

Canvas iOS apps
Swift
728
star
3

pdf-annotate.js

Annotation layer for pdf.js (no longer maintained)
JavaScript
527
star
4

instructure-ui

A UI Component Library made by Instructure, Inc.
TypeScript
425
star
5

CKRefreshControl

A pull-to-refresh view for iOS 5, 100% API-compatible with UIRefreshControl in iOS 6
Objective-C
291
star
6

ims-lti

A Ruby library to help implement IMS LTI tool consumers and providers
Ruby
187
star
7

ic-ajax

ember-friendly jQuery.ajax wrapper
JavaScript
167
star
8

paseto

A paseto implementation in rust.
Rust
150
star
9

dynamo-local-admin-docker

A combined docker image with DynamoDB-Local and dynamo-admin.
126
star
10

aws-keychain-util

A small command-line utility to help manage AWS credentials in the OS X keychain.
Ruby
71
star
11

ic-tabs

JavaScript
66
star
12

i18nema

fast i18n backend that doesn't stop up the garbage collector
C
65
star
13

ic-modal

Ember component for modal dialog
JavaScript
62
star
14

switchman

Ruby
60
star
15

ic-autocomplete

accessible ember autocomplete component
JavaScript
57
star
16

canvas-data-cli

Command line tool to connect and download files from Canvas Data
JavaScript
56
star
17

common-cartridge-viewer

View Common Cartridges in the browser
JavaScript
56
star
18

vector

Auto Scaling Groups helper
Ruby
53
star
19

dockerfiles

base docker images and files used by Instructure
Dockerfile
50
star
20

CanvasAPI

Canvas by Instructure library for Android 2.3 +
Java
48
star
21

ic-menu

accessible popup menu component
JavaScript
45
star
22

outrigger

tag your migrations
Ruby
37
star
23

ruby-saml2

SAML 2.0 Library for Ruby
Ruby
37
star
24

dress_code

CSS Documentation and Styleguide Generator
Ruby
36
star
25

CanvasKit

Canvas library for Cocoa.
Objective-C
34
star
26

android-ImageSweep

Python script used to remove all unused image resources.
Python
33
star
27

pandarus

A Ruby library for the Canvas API (and code generator for other languages, eventually)
Ruby
33
star
28

lti1_tool_provider_example

A simple LTI Tool Provider Sinatra app
HTML
33
star
29

straitjacket

a restricted code execution framework
JavaScript
32
star
30

analytics

The official analytics package for Instructure's Canvas LMS.
Ruby
31
star
31

lti_example

an example of using LTI and the Outcomes Service in Instructure Canvas
Ruby
31
star
32

rollcall-attendance

An attendance LTI tool that integrates with Canvas
Ruby
26
star
33

ic-droppable

Ember Component Mixin that wraps native drop events. No longer maintained.
JavaScript
26
star
34

lti_tool_provider_example

This is a basic and simple LTI Tool Provider that uses the [ims-lti](https://github.com/instructure/ims-lti) 2.0.0.beta gem.
Ruby
25
star
35

inst-jobs

Instructure-maintained fork of delayed_job
Ruby
25
star
36

canvas-hosted-data-examples

Collection of examples that use Canvas Hosted Data to answer questions.
23
star
37

i18nliner

I18n made simple
Ruby
23
star
38

tinymce-a11y-checker

An accessibility checker plugin for TinyMCE.
JavaScript
22
star
39

ic-styled

automatically style components with css templates
JavaScript
21
star
40

rack-lti

Rack middleware supporting LTI (http://www.imsglobal.org/toolsinteroperability2.cfm) integration.
Ruby
21
star
41

once-ler

rspec supercharger
Ruby
21
star
42

CheckYourSSeLf

A friendly Slack bot that checks your Amazon AWS accounts for expiring SSL certificates.
Ruby
20
star
43

lti_tool_consumer_example

A simple LTI Tool Consumer Sinatra app
Ruby
20
star
44

instructure-icons

DEPRECATED: see instructure-ui
JavaScript
19
star
45

canvas-rce-api

JavaScript
17
star
46

canvas-data-loader

An Example Application to download data from Canvas Data, and import it into a Database.
Rust
17
star
47

canvas-contrib

No longer supported, see https://github.com/kajigga/canvas-contrib
Visual Basic
16
star
48

ic-ember

library of instructure ember stuff
CSS
16
star
49

tinymce-mediauploader

Media Uploader plugin for TinyMCE
JavaScript
16
star
50

guardrail

ActiveRecord extension to allow multiple database environments (secondary, deploy) enabling least privilege when possible.
Ruby
16
star
51

contests

repository for coding contest problems
JavaScript
15
star
52

aws_dcos_terraform

Terraform modules for DC/OS
HCL
12
star
53

lti-public-resources-eak

Public Resources LTI App (using Ember App Kit)
JavaScript
12
star
54

canvas-alexa-lambda

Instructure's Alexa lambda interface for Canvas-LMS
JavaScript
12
star
55

soap4r-middleware

Expose a soap4r server endpoint using Rack middleware
Ruby
11
star
56

QTIMigrationTool

Source code and software for converting QTI version 1.x data into QTI 2.0 content packages.
Python
11
star
57

mathman

A simple lambda function that converts LaTeX formulae to MathML and SVG.
JavaScript
11
star
58

goro

Four arms for your RSpec.
JavaScript
10
star
59

after_transaction_commit

ActiveRecord::Base.connection.after_transaction_commit { ... }
Ruby
9
star
60

codewarden

a coding competition host
Python
9
star
61

ftl-engine

Build and execute workflows, parallel and safe
TypeScript
9
star
62

dashed_map

Ruby
9
star
63

gergich

Command-line tool for adding Gerrit comments
Ruby
9
star
64

pygmy

mysql -> postgres data migrator
Ruby
8
star
65

fukuzatsu

Ruby
8
star
66

moodle2cc

Convert Moodle 1.9 backup files to Common Cartridge .imscc files
Ruby
7
star
67

lti2_reference_tool_provider

LTI2.1 Tool Provider reference implementation
Ruby
7
star
68

lti_provider_engine

LtiProvider is a mountable engine for handling the LTI launch and exposing LTI parameters in your rails app.
Ruby
7
star
69

folio

Folio is a library for pagination. It's meant to be nearly compatible with WillPaginate, but with broader -- yet more well-defined -- semantics to allow for sources whose page identifiers are non-ordinal.
Ruby
7
star
70

ddb-sync

ddb-sync is a tool used for syncing data from a set of source tables to a set of destination tables in DynamoDB. It's configurable to perform backfill operations, stream consumptions or both by CLI or config file.
Go
7
star
71

qti

Ruby
6
star
72

MinecraftLTI

An LTI tool for integrating Minecraft with LMS applications.
Java
6
star
73

ic-sortable

JavaScript
6
star
74

apollo-link-deep-dedup

Apollo Link for combining queries and issuing minimal requests.
TypeScript
6
star
75

yard-api

A YARD plugin for documenting APIs in Rails projects.
CSS
6
star
76

canvas-app

A quick-start tool for building a front-end app within Canvas
JavaScript
6
star
77

ic-data

Ember Data models, serializers, and adapters for working with the canvas API
JavaScript
6
star
78

ic-buttonset

An accessible, Bootstrap-friendly buttonset component for Ember.js
JavaScript
6
star
79

color-slicer

Generate lists of readable text colors.
JavaScript
6
star
80

canvas_connect

Adobe Connect plugin for Canvas LMS.
Ruby
6
star
81

steps-selective-builds

Bitrise step for selective builds (mono repo support)
Shell
5
star
82

ic-lazy-list

lazily loads remote records
JavaScript
5
star
83

canvas_cc

Ruby
5
star
84

common_cartridge

A ruby library for parsing IMS Common Cartridge files
Ruby
4
star
85

SwiftUITest

Swift UI testing framework
Swift
4
star
86

canvas_oauth_engine

mountable engine to provide canvas OAuth flow in a rails app + canvas api helpers
Ruby
4
star
87

xml_security

Ruby bindings into the XMLSec Library. Work in progress!
C
4
star
88

tf_versioned_lambda

tf_versioned_lambda
HCL
4
star
89

BukkitLTI

An LTI tool plugin for Bukkit.
Java
4
star
90

mobile-shared

Shared open source code for Instructure's mobile apps published as artifacts.
Kotlin
4
star
91

canvas-studio-api-examples

useful example scripts for the Studio team and account administrators to access the public API of Canvas Studio
Python
4
star
92

academic_benchmarks

This repo houses the source code for the academic_benchmarks gem in use by canvas. It implements v3 of the Academic Benchmarks API.
Ruby
4
star
93

api-client-builder

Ruby
3
star
94

expo-ui-test

A quick demo app to test automation with an Expo app
Objective-C
3
star
95

jqui-datepicker

ember component that wraps jquery-ui datepicker
JavaScript
3
star
96

lti_docs

CSS
3
star
97

learn_lti_engine

Rails engine for the Learn LTI course (LTI app)
Ruby
3
star
98

tinymce-light-skin

JavaScript
3
star
99

pandapush

Browser-based, multi-tenant, pub/sub service
JavaScript
3
star
100

bundler-multilock

Support multiple lockfiles
Ruby
3
star