120 Commits

Author SHA1 Message Date
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
Régis Behmo
81d41c492a v11.0.1 2020-12-28 08:44:41 +01:00
Régis Behmo
441d0f3748 Improve python requirement installation
Additional installation of python requirements should happen after the
base requirements.
2020-12-28 08:43:51 +01:00
Régis Behmo
9a0935fe9f Fix TypeError at /jsi18n/
Close #11.
2020-12-28 08:43:38 +01:00
Régis Behmo
752a75cd77 Upgrade to Koa 2020-12-09 21:43:47 +01:00
Régis Behmo
330080ea8b Define release variable in CI 2020-11-16 15:59:33 +01:00
Régis Behmo
e19218c23a Mark as compatible with python 3.9, 3.10 2020-10-15 16:46:45 +02:00
Régis Behmo
ca3a269103 Release v10.1.7 2020-10-13 12:59:35 +02:00
Régis Behmo
2da983c458 Add {{ patch(...) }} statements to the discovery setting files
This should allow anyone to create plugins that patch those settings.
2020-10-13 12:58:38 +02:00
Régis Behmo
5d054672a6 Release v10.1.6 2020-09-28 11:40:35 +02:00
liupengcheng
2867bfcaa2 Fix oauth2 url for development mode. 2020-09-28 11:38:24 +02:00
Régis Behmo
687af7d486 Take advantage of automatically defined openedx version 2020-09-17 10:54:15 +02:00
Régis Behmo
f469eeb878 Fix error management on fatal callback 2020-09-14 15:16:34 +02:00
Régis Behmo
7dd74eb4df Indicate compatibility with Python 3.8 2020-09-04 11:10:28 +02:00
Régis Behmo
39ca7a2c13 Fix broken setuptools installation 2020-09-01 15:58:15 +02:00
Régis Behmo
d3f83c9a8c Fix custom npm registry url 2020-09-01 15:56:49 +02:00
Régis Behmo
c4746f4aac Upgrade to juniper.3 2020-08-27 17:43:42 +02:00
Régis Behmo
be49709a1f Serve static assets with whitenoise 2020-08-15 19:02:27 +02:00
Régis Behmo
cb030cb4a1 Make it possible to override individual docker registry 2020-07-21 09:10:04 +02:00
Régis Behmo
8b3afbdd40 Upgrade to juniper.2 2020-07-16 11:26:34 +02:00
Régis Behmo
30515295b7 Fix instructions for caching programs
See
https://discuss.overhang.io/t/re-indexing-courses-command/713/7?u=regis
2020-07-05 21:14:52 +02:00