Skip to content

Commit

Permalink
feat: upgrade to Sumac
Browse files Browse the repository at this point in the history
  • Loading branch information
regisb authored Dec 16, 2024
2 parents 8721f0b + 32dc088 commit 85f9811
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 14 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,25 @@ instructions, because git commits are used to generate release notes:

<!-- scriv-insert-here -->

<a id='changelog-19.0.0'></a>
## v19.0.0 (2024-10-22)

- [Improvement] Added CORS for embeded Dashboards. (by @Fahadkhalid210)

- [Bugfix] Fix legacy warnings during Docker build. (by @regisb)

- [Improvement] Auto import course structure to clickhouse on course publish by parsing CMS logs. (by @Danyal-Faheem)

- [Feature] Upgrade Clickhouse base image to 24.2.3.70. (by @Danyal-Faheem)

- [Deprecation] Drop support for python 3.8 as it has reached end of life. (by @Danyal-Faheem)

- 💥[Improvement] Rename Tutor's two branches (by @DawoudSheraz):
* Rename **master** to **release**, as this branch runs the latest official Open edX release tag.
* Rename **nightly** to **main**, as this branch runs the Open edX master branches, which are the basis for the next Open edX release.

- 💥[Feature] Upgrade to Sumac. (by @Danyal-Faheem)

<a id='changelog-18.0.0'></a>
## v18.0.0 (2024-06-20)

Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Then, restart your platform and run the initialization scripts::

tutor local launch

Open http(s)://data.<YOUR_LMS_HOST> in your browser. When running locally, this will be http://data.local.edly.io. (http://data.local.edly.io:2247 in development). Users authenticate with their LMS user. By default, they have access to the data generated by the courses in which they have the "staff role". Once a user has successfully logged-in, their account can be modified with the ``cairn-createuser`` command.
Open http(s)://data.<YOUR_LMS_HOST> in your browser. When running locally, this will be http://data.local.openedx.io. (http://data.local.openedx.io:2247 in development). Users authenticate with their LMS user. By default, they have access to the data generated by the courses in which they have the "staff role". Once a user has successfully logged-in, their account can be modified with the ``cairn-createuser`` command.

For instance, to convert an existing user to administrator status, run::

Expand Down Expand Up @@ -187,7 +187,7 @@ In this example, the following folder should be created in the plugin:: ``tutorc
Development
-----------

In development, the Superset user interface will be available at http://data.local.edly.io:2247.
In development, the Superset user interface will be available at http://data.local.openedx.io:2247.

To reload Vector configuration after changes to vector.toml, run::

Expand Down
1 change: 0 additions & 1 deletion changelog.d/20240416_165758_fahad.khalid.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/20240621_170044_regis.md

This file was deleted.

This file was deleted.

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/20241119_180254_dawoud.sheraz_branch_rename.md

This file was deleted.

4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def load_about():
packages=find_packages(exclude=["tests*"]),
include_package_data=True,
python_requires=">=3.9",
install_requires=["tutor>=18.0.0,<19.0.0"],
extras_require={"dev": ["tutor[dev]>=18.0.0,<19.0.0"]},
install_requires=["tutor>=19.0.0,<20.0.0"],
extras_require={"dev": ["tutor[dev]>=19.0.0,<20.0.0"]},
entry_points={"tutor.plugin.v1": ["cairn = tutorcairn.plugin"]},
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down
2 changes: 1 addition & 1 deletion tutorcairn/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "18.0.0"
__version__ = "19.0.0"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# https://hub.docker.com/r/clickhouse/clickhouse-server/tags
FROM docker.io/clickhouse/clickhouse-server:24.1.8.22
FROM docker.io/clickhouse/clickhouse-server:24.2.3.70

RUN apt update && apt install -y python3
COPY ./scripts /scripts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def oauth_user_info(self, provider, response=None):
def get_user_info(self):
"""
Make calls to the LMS API to fetch user information
http://local.edly.io:8000/api-docs/#/user/user_v1_me_read
http://local.openedx.io:8000/api-docs/#/user/user_v1_me_read
"""
username = self.get_lms_api("/api/user/v1/me")["username"]
account = self.get_lms_api(f"/api/user/v1/accounts/{username}")
Expand Down

0 comments on commit 85f9811

Please sign in to comment.