Compare commits

...

1 Commits
release ... koa

Author SHA1 Message Date
Régis Behmo
874b20755b Upgrade to Koa 2020-11-17 15:02:28 +01:00
5 changed files with 7 additions and 12 deletions

View File

@ -2,7 +2,7 @@ variables:
TUTOR_PLUGIN: notes TUTOR_PLUGIN: notes
TUTOR_IMAGES: notes TUTOR_IMAGES: notes
TUTOR_PYPI_PACKAGE: tutor-notes TUTOR_PYPI_PACKAGE: tutor-notes
OPENEDX_RELEASE: juniper OPENEDX_RELEASE: koa
include: include:
- project: 'community/tutor-ci' - project: 'community/tutor-ci'

View File

@ -1,9 +1,9 @@
Students notes plugin for `Tutor <https://docs.tutor.overhang.io>`_ Students notes plugin for `Tutor <https://docs.tutor.overhang.io>`_
=================================================================== ===================================================================
This is a plugin for `Tutor <https://docs.tutor.overhang.io>`_ to easily add the `Open edX note-taking app <https://github.com/edx/edx-notes-api>`_ to an Open edX platform. This app allows students to annotate portions of the courseware (see `the official documentation <https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/open-release-juniper.master/exercises_tools/notes.html>`_). This is a plugin for `Tutor <https://docs.tutor.overhang.io>`_ to easily add the `Open edX note-taking app <https://github.com/edx/edx-notes-api>`_ to an Open edX platform. This app allows students to annotate portions of the courseware (see `the official documentation <https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/open-release-koa.master/exercises_tools/notes.html>`_).
.. image:: https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/open-release-juniper.master/_images/SFD_SN_bodyexample.png .. image:: https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/open-release-koa.master/_images/SFD_SN_bodyexample.png
:alt: Notes in action :alt: Notes in action
Installation Installation

View File

@ -31,7 +31,7 @@ setup(
packages=find_packages(exclude=["tests*"]), packages=find_packages(exclude=["tests*"]),
include_package_data=True, include_package_data=True,
python_requires=">=3.5", python_requires=">=3.5",
install_requires=["tutor-openedx>=10.0.0,<11.0.0"], install_requires=["tutor-openedx>=11.0.0,<12.0.0"],
entry_points={"tutor.plugin.v0": ["notes = tutornotes.plugin"]}, entry_points={"tutor.plugin.v0": ["notes = tutornotes.plugin"]},
classifiers=[ classifiers=[
"Development Status :: 5 - Production/Stable", "Development Status :: 5 - Production/Stable",

View File

@ -1 +1 @@
__version__ = "10.1.4" __version__ = "11.0.0"

View File

@ -23,13 +23,8 @@ DATABASES = {
CLIENT_ID = "notes" CLIENT_ID = "notes"
CLIENT_SECRET = "{{ NOTES_OAUTH2_SECRET }}" CLIENT_SECRET = "{{ NOTES_OAUTH2_SECRET }}"
HAYSTACK_CONNECTIONS = { ELASTICSEARCH_DSL["default"]["hosts"] = "{{ ELASTICSEARCH_HOST }}:{{ ELASTICSEARCH_PORT }}"
"default": { ELASTICSEARCH_INDEX_NAMES = {"notesapi.v1.search_indexes.documents.note": "notes"}
"ENGINE": "notesserver.highlight.ElasticsearchSearchEngine",
"URL": "http://{{ ELASTICSEARCH_HOST }}:{{ ELASTICSEARCH_PORT }}/",
"INDEX_NAME": "notes",
}
}
LOGGING = { LOGGING = {
"version": 1, "version": 1,