140 Commits

Author SHA1 Message Date
Emad Rad
71e988b3ee feat: Makefile added 2023-11-24 08:39:38 +05:00
Emad Rad
962f796458 chore: changelog entry added 2023-11-24 08:39:38 +05:00
Muhammad Faraz Maqsood
8105cd9230 feat: introduce course discovery repository and version settings 2023-11-21 15:30:13 +05:00
Régis Behmo
411a601ba9 feat: simplify nightly version management
By pulling the version suffix from tutor, we avoid git conflicts when
merging the release branch in nightly.
2023-11-20 17:39:47 +01:00
Muhammad Faraz Maqsood
af757b3e4c updated maintainer email 2023-11-14 16:54:32 +05:00
Muhammad Faraz Maqsood
d3ab250f57 v16.0.1 v16.0.1 2023-11-08 14:02:04 +05:00
Muhammad Faraz Maqsood
811e792a17
fix: wrong variable name for extra_requirement for pip extra requirements
Co-authored-by: Muhammad Faraz  Maqsood <faraz.maqsood@a006-01130.home>
2023-11-08 07:50:17 +01:00
Régis Behmo
4e90634092 chore: mark compatibility with python 3.12 2023-10-03 08:23:48 +02:00
Régis Behmo
b5c266efdb fix: nightly package version
The package version may not include the "-nightly" suffix. Otherwise,
`pip install .` fails with:

    setuptools.extern.packaging.version.InvalidVersion: Invalid version: '...-nightly'
2023-09-07 18:39:53 +02:00
Muhammad Faraz Maqsood
286acdae0b feat: upgrade to palm v16.0.0 2023-06-15 00:42:53 +02:00
Régis Behmo
54bacd664e ci: improve compatibility with main & nightly 2023-05-26 16:49:26 +02:00
Régis Behmo
dbcf969a7a chore: handle nightly version numbers
Here, we make it possible to add a "-nightly" suffix to the package
version. This suffix will find its way to the Docker image tags. Thus,
the nightly branch will have different image tags. This will resolve
some confusion, as image tags are currently identical in nightly and
master.
2023-05-26 16:28:10 +02:00
Régis Behmo
89dc4fada1 docs: fix lingering i char in changelog
Damn you vim!
2023-05-22 09:38:30 +02:00
Régis Behmo
36c5331563 docs: add a scriv-managed changelog
This will be useful for tracking changes across releases.

This partly addresses https://github.com/overhangio/tutor/issues/746
2023-05-19 16:19:56 +02:00
Régis Behmo
c95794ccfa fix: build-time warning
Installing from source triggers a warning on pip 23.0.1 if
pyproject.toml is not present. Building does not require any special
dependencies, so we just add a simple pyproject.toml file.

See: https://github.com/overhangio/tutor/issues/836
2023-05-17 10:24:21 +02:00
Régis Behmo
3a5c8280c7 docs: instruct to install from index 2023-05-16 10:08:58 +02:00
Navin Karkera
38a538a675 feat: extra pip requirements 2023-05-03 17:49:14 +02:00
Régis Behmo
a8f8e064aa ci: upgrade checkout action 2023-02-27 11:55:06 +01:00
Abderraouf Mehdi Bouhali
c0fadf4faa fix(build): load NPM_REGISTRY from config 2022-12-31 18:08:39 +01:00
Régis Behmo
36bbec4a9e feat: upgrade to olive v15.0.0 2022-12-12 19:23:02 +01:00
Carlos Muniz
c68f96a1d7 docs: change quickstart to launch
This change is due to renaming quickstart to launch in tutor.
2022-12-12 18:56:13 +01:00
Régis Behmo
fec9f3202c v14.0.2 v14.0.2 2022-11-21 18:13:03 +01:00
Régis Behmo
27b76c0096 fix: rsa_import_key is undefined
See: https://discuss.openedx.org/t/tutor-4-2-0-rsa-import-key-is-undefined/8763/1
2022-11-21 16:55:09 +01:00
Régis Behmo
90e007920b docs: make it clear who is maintaining this plugin 2022-11-10 16:09:52 +01:00
Régis Behmo
24aed9354b ci: fix nutmeg target 2022-11-10 15:51:28 +01:00
Régis Behmo
84886feaa7 v14.0.1 v14.0.1 2022-07-04 06:24:49 +02:00
Régis Behmo
a1eef4cd78 chore: simplify DJANGO_SETTINGS_MODULE configuration
The Docker image now defaults to the tutor production settings, which allows us
to remove the environment variable from the docker-compose and k8s
configuration files.
2022-07-04 06:24:49 +02:00
Régis Behmo
eac59cd82d fix: ConnectionError during init
Since we introduced `tutor dev quickstart`, we must be able to initialize the
discovery container in dev mode. The problem is that the "openedx" partner is
unavailable in dev mode. Thus, we need to default to the "dev" partner in dev
mode.

Close #33.
2022-07-04 06:24:49 +02:00
Régis Behmo
778b698084 feat: upgrade to nutmeg 2022-06-09 21:39:43 +02:00
Kyle McCormick
d2f4ea6f35 feat: open stdin & allocate tty on dev services
This ensures that services started with `tutor dev start`
are as capable for breakpoint debugging, et al, as services
started with `tutor dev runserver` are. We plan to remove
`tutor dev runserver`.
2022-04-21 14:47:27 +02:00
Régis Behmo
6ee17f6788 v13.0.1 2022-04-20 19:37:56 +02:00
Sofiane Bebert
dc47b220a7 fix: Fix 502 error on editing course metadata
The uwsgi buffer size was too small to account for large headers in requests with datatables query parameters. This issue is resolved by increasing the buffer size.  See docs: https://uwsgi-docs.readthedocs.io/en/latest/ThingsToKnow.html

Close #24
2022-04-20 19:37:20 +02:00
Gabor Boros
4bcc0b530f fix: support mysql8 syntax
Signed-off-by: Gabor Boros <gabor.brs@gmail.com>
2022-04-15 10:39:54 +02:00
Jayram Nai
813f6c62b4 docs: fix README typo 2022-01-08 18:00:39 +01:00
Michael Wheeler
ffef307789 feat: Upgrade to maple
Patches related to nginx are removed and Caddy is now being used as a reverse proxy.
In addition, application log storage has been moved in order to run as
non-root. The local log handler was removed.
2021-12-21 00:08:35 +01:00
Régis Behmo
993cbc80c7 v12.0.4 2021-10-11 12:13:47 +02:00
Régis Behmo
e7bc9eaaa3 fix: programs discovery
In Discovery, programs and courses are always associated to a site and partner.
However, sites differ in development and in production, because their urls are
different. And when we run the `cache_programs` in the LMS, we must be careful
to hit the url that corresponds to the right site in dev and prod. This url is
no longer defined by the COURSE_API_URL setting, or the internal_api_url
attribute. Instead, they are loaded from the corresponding site configuration.
To resolve this mess, we make sure that the right site configurations are
properly defined in dev and local.

It is the responsibility of end users to properly associate courses and
programs to the right site (dev or local) on their running platform...

How to reproduce the issue:

- Run the `create_catalog_integrations` command indicated in the readme.
- Create a program in discovery, and add a few courses to it. Make sure it is associated to the "Open edX" partner, and not "Open edX - dev".
- Run the `cache_programs` command from the readme
- Authenticate and open /dashboard/programs. The program you created should appear.
2021-10-11 09:37:10 +02:00
Régis Behmo
552add319f v12.0.3 2021-09-23 05:45:59 +02:00
Sofiane Bebert
bb313d9d60 fix: add studio-url at initialisation 2021-09-23 05:45:11 +02:00
Régis Behmo
89f2dc9ed5 ci: both way repo sync 2021-09-02 14:16:50 +02:00
Régis Behmo
fefa151b03 v12.0.2 2021-08-31 14:56:13 +02:00
Miguel Afonso
572f62fccd Drop conditionals and leverage ELASTICSEARCH_SCHEME directly 2021-08-31 14:55:27 +02:00
Miguel Afonso
c81205b6dd Honour ELASTICSEARCH_SCHEME setting 2021-08-31 14:55:27 +02:00
Régis Behmo
2ce2473692 fix: tutor-openedx was renamed to tutor 2021-07-06 10:32:13 +02:00
Régis Behmo
eb6ccfd075 v12.0.1 2021-07-01 08:32:06 +02:00
liupengcheng
9c8536ba9c Add local nginx aliase.
Add local nginx aliase to allow access discovery service through
discovery.local.overhang.io when running locally. One use case
is credentials service needs to access discovery api to pull catalogs.
2021-07-01 08:31:32 +02:00
liupengcheng
6380a2b53d feat: upgrade to open-release/lilac.master 2021-06-08 22:35:58 +02:00
Régis Behmo
63117295b3 v11.0.3 2021-05-18 10:09:53 +02:00
liupengcheng
aa65ddf9d3 feat: Make redis database configurable for cache.
Use the same redis database as openedx cache by default.
2021-05-18 09:30:19 +02:00
Régis Behmo
a36718277e Fix "MissingSchema: Invalid URL" error on org creation
See: https://discuss.overhang.io/t/issues-with-creating-organizations-in-discovery/1273

This was due to the fact that partners did not have an associated organizations
API url.
2021-02-04 13:04:34 +01:00