Skip to content

Commit

Permalink
Merge pull request #58 from ucfopen/develop
Browse files Browse the repository at this point in the history
Release v5.0.0
  • Loading branch information
Thetwam committed Nov 1, 2021
2 parents 42a91ed + 9e6863a commit 90656e8
Show file tree
Hide file tree
Showing 15 changed files with 387 additions and 475 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ config.py
/env*
/htmlcov
/logs
dump.rdb
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Change Log

## [Unreleased]

## [5.0.0] - 2021-10-31

### General

- Added ability to give extensions to users in the `"invited"` enrollment state.
- Changed student list from loading 10 at at time with pagination to loading all with scrolling.
- Renamed "filter" to "search"
- Change config template to use `"staff"` rather than `"admin"` and `"student"`.

### Bugfixes

- Fixed an issue where a change to headers in the ["Get users in a course" endpoint of the Canvas API](https://canvas.instructure.com/doc/api/courses.html#method.courses.users) caused students to be displayed only if there were 10 or fewer in the course.

### Backstage

- Switched from Travis CI to GitHub Actions
- Switched from Coveralls to Codecov
- Added CanvasAPI for some API calls
- Added test for accessing from a bad domain

## [4.0.0] - 2020-03-31

### General
Expand Down Expand Up @@ -60,6 +82,8 @@

- Initial release

[Unreleased]: https://github.com/ucfopen/quiz-extensions/compare/v5.0.0...master
[5.0.0]: https://github.com/ucfopen/quiz-extensions/compare/v4.0.0...v5.0.0
[4.0.0]: https://github.com/ucfopen/quiz-extensions/compare/v3.1.1...v4.0.0
[3.1.1]: https://github.com/ucfopen/quiz-extensions/compare/v3.1.0...v3.1.1
[3.1.0]: https://github.com/ucfopen/quiz-extensions/compare/v3.0.0...v3.1.0
Expand Down
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[![Build Status](https://travis-ci.org/ucfopen/quiz-extensions.svg?branch=master)](https://travis-ci.org/ucfopen/quiz-extensions)
[![Coverage Status](https://coveralls.io/repos/github/ucfopen/quiz-extensions/badge.svg)](https://coveralls.io/github/ucfopen/quiz-extensions)
[![Build Status](https://github.com/ucfopen/quiz-extensions/actions/workflows/run-tests.yml/badge.svg)](https://github.com/ucfopen/quiz-extensions/actions/workflows/run-tests.yml/)
[![Coverage Status](https://codecov.io/gh/ucfopen/quiz-extensions/branch/master/graph/badge.svg?token=7MfeVsKdxc)](https://codecov.io/gh/ucfopen/quiz-extensions)
[![Join UCF Open Slack Discussions](https://ucf-open-slackin.herokuapp.com/badge.svg)](https://ucf-open-slackin.herokuapp.com/)

A self-service LTI for faculty to easily extend time for multiple users for
all quizzes at once.

# Table of Contents

* [Installation](#installation)
* [Development Installation](#development-installation)
* [Production Installation](#production-installation)
* [Third Party Licenses](#third-party-licenses)
- [Installation](#installation)
- [Development Installation](#development-installation)
- [Production Installation](#production-installation)
- [Third Party Licenses](#third-party-licenses)

# Installation

Expand Down Expand Up @@ -38,8 +38,6 @@ Fill in the config file
API_URL = '' # Canvas API URL (e.g. 'http:https://example.com/api/v1/')
API_KEY = '' # Canvas API Key

# The default number of objects the Canvas API will return per page (usually 10)
DEFAULT_PER_PAGE = 10
# The maximum amount of objects the Canvas API will return per page (usually 100)
MAX_PER_PAGE = 100

Expand Down Expand Up @@ -72,13 +70,13 @@ source env/bin/activate

Install required packages

* If you want to be able to run tests:
- If you want to be able to run tests:

```sh
pip install -r test_requirements.txt
```

* Otherwise,
- Otherwise,

```sh
pip install -r requirements.txt
Expand Down
12 changes: 7 additions & 5 deletions config.py.template
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ API_KEY = "CHANGEME"
# (e.g. ['example.com', 'example.edu'])
ALLOWED_CANVAS_DOMAINS = ["example.edu"]

# The default number of objects the Canvas API will return per page (usually 10)
DEFAULT_PER_PAGE = 10
# The maximum amount of objects the Canvas API will return per page (usually 100)
MAX_PER_PAGE = 100

Expand Down Expand Up @@ -72,9 +70,13 @@ PYLTI_CONFIG = {
},
"roles": {
# Maps values sent in the lti launch value of "roles" to a group
# Allows you to check LTI.is_role('admin') for your user
"admin": ["Administrator", "urn:lti:instrole:ims/lis/Administrator"],
"student": ["Student", "urn:lti:instrole:ims/lis/Student"],
# Allows you to check LTI.is_role('staff') for your user
"staff": [
"urn:lti:instrole:ims/lis/Administrator",
"Instructor",
# 'ContentDeveloper',
# 'urn:lti:role:ims/lis/TeachingAssistant'
]
},
}

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
canvasapi==2.2.0
Flask==2.0.2
Flask-Migrate==3.1.0
Flask-SQLAlchemy==2.5.1
Expand Down
Loading

0 comments on commit 90656e8

Please sign in to comment.