Skip to content

Commit 90656e8

Browse files
authored
Merge pull request #58 from ucfopen/develop
Release v5.0.0
2 parents 42a91ed + 9e6863a commit 90656e8

15 files changed

Lines changed: 387 additions & 475 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ config.py
88
/env*
99
/htmlcov
1010
/logs
11+
dump.rdb

.travis.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Change Log
22

3+
## [Unreleased]
4+
5+
## [5.0.0] - 2021-10-31
6+
7+
### General
8+
9+
- Added ability to give extensions to users in the `"invited"` enrollment state.
10+
- Changed student list from loading 10 at at time with pagination to loading all with scrolling.
11+
- Renamed "filter" to "search"
12+
- Change config template to use `"staff"` rather than `"admin"` and `"student"`.
13+
14+
### Bugfixes
15+
16+
- 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.
17+
18+
### Backstage
19+
20+
- Switched from Travis CI to GitHub Actions
21+
- Switched from Coveralls to Codecov
22+
- Added CanvasAPI for some API calls
23+
- Added test for accessing from a bad domain
24+
325
## [4.0.0] - 2020-03-31
426

527
### General
@@ -60,6 +82,8 @@
6082

6183
- Initial release
6284

85+
[Unreleased]: https://github.com/ucfopen/quiz-extensions/compare/v5.0.0...master
86+
[5.0.0]: https://github.com/ucfopen/quiz-extensions/compare/v4.0.0...v5.0.0
6387
[4.0.0]: https://github.com/ucfopen/quiz-extensions/compare/v3.1.1...v4.0.0
6488
[3.1.1]: https://github.com/ucfopen/quiz-extensions/compare/v3.1.0...v3.1.1
6589
[3.1.0]: https://github.com/ucfopen/quiz-extensions/compare/v3.0.0...v3.1.0

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
[![Build Status](https://travis-ci.org/ucfopen/quiz-extensions.svg?branch=master)](https://travis-ci.org/ucfopen/quiz-extensions)
2-
[![Coverage Status](https://coveralls.io/repos/github/ucfopen/quiz-extensions/badge.svg)](https://coveralls.io/github/ucfopen/quiz-extensions)
1+
[![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/)
2+
[![Coverage Status](https://codecov.io/gh/ucfopen/quiz-extensions/branch/master/graph/badge.svg?token=7MfeVsKdxc)](https://codecov.io/gh/ucfopen/quiz-extensions)
33
[![Join UCF Open Slack Discussions](https://ucf-open-slackin.herokuapp.com/badge.svg)](https://ucf-open-slackin.herokuapp.com/)
44

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

88
# Table of Contents
99

10-
* [Installation](#installation)
11-
* [Development Installation](#development-installation)
12-
* [Production Installation](#production-installation)
13-
* [Third Party Licenses](#third-party-licenses)
10+
- [Installation](#installation)
11+
- [Development Installation](#development-installation)
12+
- [Production Installation](#production-installation)
13+
- [Third Party Licenses](#third-party-licenses)
1414

1515
# Installation
1616

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

41-
# The default number of objects the Canvas API will return per page (usually 10)
42-
DEFAULT_PER_PAGE = 10
4341
# The maximum amount of objects the Canvas API will return per page (usually 100)
4442
MAX_PER_PAGE = 100
4543

@@ -72,13 +70,13 @@ source env/bin/activate
7270

7371
Install required packages
7472

75-
* If you want to be able to run tests:
73+
- If you want to be able to run tests:
7674

7775
```sh
7876
pip install -r test_requirements.txt
7977
```
8078

81-
* Otherwise,
79+
- Otherwise,
8280

8381
```sh
8482
pip install -r requirements.txt

config.py.template

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ API_KEY = "CHANGEME"
99
# (e.g. ['example.com', 'example.edu'])
1010
ALLOWED_CANVAS_DOMAINS = ["example.edu"]
1111

12-
# The default number of objects the Canvas API will return per page (usually 10)
13-
DEFAULT_PER_PAGE = 10
1412
# The maximum amount of objects the Canvas API will return per page (usually 100)
1513
MAX_PER_PAGE = 100
1614

@@ -72,9 +70,13 @@ PYLTI_CONFIG = {
7270
},
7371
"roles": {
7472
# Maps values sent in the lti launch value of "roles" to a group
75-
# Allows you to check LTI.is_role('admin') for your user
76-
"admin": ["Administrator", "urn:lti:instrole:ims/lis/Administrator"],
77-
"student": ["Student", "urn:lti:instrole:ims/lis/Student"],
73+
# Allows you to check LTI.is_role('staff') for your user
74+
"staff": [
75+
"urn:lti:instrole:ims/lis/Administrator",
76+
"Instructor",
77+
# 'ContentDeveloper',
78+
# 'urn:lti:role:ims/lis/TeachingAssistant'
79+
]
7880
},
7981
}
8082

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
canvasapi==2.2.0
12
Flask==2.0.2
23
Flask-Migrate==3.1.0
34
Flask-SQLAlchemy==2.5.1

0 commit comments

Comments
 (0)