108 Commits

Author SHA1 Message Date
Danyal-Faheem
2dbd9dc0e7 v19.0.0 2024-11-29 22:21:08 +05:00
Danyal-Faheem
be91f0741d feat: upgrade clickhouse base image 2024-11-29 22:20:11 +05:00
Régis Behmo
5c99bb477f docs: *.local.edly.io -> *.local.openedx.io
The default URL to run a local platform switched from local.edly.io to
local.openedx.io. This changes makes it clearer for everyone that Tutor
is to run Open edX.

See: https://github.com/overhangio/tutor/issues/1120
2024-10-17 08:36:40 +02:00
Danyal Faheem
e1fd75464c
feat: auto import course structure on course publish (#43) 2024-09-02 18:11:13 +05:00
Régis Behmo
b47e52195a fix: docker build deprecation warnings
With the latest Docker upgrade, we got the following warnings during
build:

	FromAsCasing: 'as' and 'FROM' keywords' casing do not match
	LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format
2024-06-21 17:12:57 +02:00
FahadKhalid210
90a519c7dd upgrade to redwood 2024-06-20 03:19:41 +02:00
FahadKhalid210
d816204b36 improved code 2024-05-08 09:57:43 +05:00
FahadKhalid210
b0a96c50b8 update cors and readme 2024-05-08 09:57:43 +05:00
FahadKhalid210
372e04309a adde cors 2024-05-08 09:57:43 +05:00
Fahad Khalid
2b02ef803b Update 0012_modify_course_enrollments.sql 2024-05-06 11:06:14 +05:00
FahadKhalid210
3007465f21 removed comments from docker 2024-05-06 11:06:14 +05:00
FahadKhalid210
c84c912a3b upgrade clickhouse 2024-05-06 11:06:14 +05:00
FahadKhalid210
b2438247cd update user activity query 2024-04-22 10:14:37 +05:00
Régis Behmo
97600a5350 fix: remove pkg_resources for compatibility with python 3.12
pkg_resources is a package that is unavailable in python 3.12, unless
setuptools is explicitely installed. Turns out, there are replacement
functions coming from importlib_resources, which can be obtained from
the importlib-resources pypi package. This package will be installed
with tutor starting from 17.0.2.
2024-02-12 11:57:51 +01:00
Régis Behmo
22e67e757c v17.1.0 2024-02-09 09:53:17 +01:00
FahadKhalid210
575d38a931 fix security context
Close #6
2024-02-09 10:32:12 +05:00
Fahad Khalid
6c7972c7e0
feat: Convert user_id field from Int64 to UInt64
Close #12
2024-01-23 09:49:04 +01:00
FahadKhalid210
ce88178a2b feat: upgrade to quince 2023-12-11 18:22:16 +01:00
Régis Behmo
86c3798129 local.overhang.io -> local.edly.io
This is related to https://github.com/overhangio/tutor/issues/945
2023-12-09 15:54:28 +01:00
Régis Behmo
a156959518 chore: format 2023-12-06 16:13:57 +01:00
Régis Behmo
db88bdec10 fix: DOCKER_IMAGE typo that was breaking env 2023-11-27 08:39:51 +01:00
Emad Rad
3e68e6f8cb chore: cleanup with black and isort 2023-11-27 10:27:47 +05:00
Emad Rad
267c353367 fix: all configs moved to 1 place 2023-11-27 10:27:47 +05:00
FahadKhalid210
808f87f986 This reverts commit 22fa480998929b67ae8e13ec286e447abffbb800. 2023-11-22 10:20:08 +05:00
Régis Behmo
22fa480998 v14.0.0: minimal upgrade
We'll have to migrate to plugin API v1 and to the newest releases of
superset/clickhouse/vector.
2023-11-21 18:02:32 +05:00
Régis Behmo
6394227a16 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
FahadKhalid210
710761251a sync auth roles updated 2023-11-15 15:03:31 +05:00
Régis Behmo
43453166bc fix: convert graded field to boolean 2023-10-10 15:44:56 +05:00
Régis Behmo
c495970020 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
Régis Behmo
54af15a686 v16.0.3 2023-09-07 18:14:28 +02:00
Ravi Khetani
8e6b645b70 fix: mismatching redirect uri, when running behind web proxy 2023-09-07 18:11:12 +02:00
Régis Behmo
4a7f188102 v16.0.2 2023-09-04 15:34:52 +02:00
Muhammad Faraz Maqsood
02b29e64d7
feat: add graded field to course_blocks table
---------

Co-authored-by: Muhammad Faraz  Maqsood <faraz.maqsood@a006-01130.home>
2023-08-28 09:06:50 +02:00
Régis Behmo
80e8538037 fix: assign proper database name to superset user
When running `do cairn-createuser`, the created db did not have the
right name. If the user had been created earlier with SSO, then the
Clickhouse DB did not exist.
2023-08-19 08:17:52 +02:00
Régis Behmo
a22f4c3d14 fix: cannot list resource pods
Looks like the vector container now requires new permissions. This was
detected here: https://github.com/openedx/tutor-contrib-aspects/issues/180#issuecomment-1639147060
2023-07-31 09:12:17 +02:00
Régis Behmo
961d2c92c1 v16.0.1 2023-07-17 10:18:16 +02:00
Jayram Nai
e4ca341e53 fix: user creation issue with Palm 2023-07-17 10:16:52 +02:00
Régis Behmo
5bf17dda91 feat: upgrade to Palm
This upgrade includes SSO login. Finally! We can now login to Superset
via the LMS. Thanks to OARS for providing the base security manager
implementation!
2023-06-15 00:13:57 +02:00
Régis Behmo
6f3637e34f fix: support empty spaces in superset passwords
Close #2.
2023-06-02 09:54:54 +02:00
Régis Behmo
fda8baab19 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
6906bfaddc v15.0.6 2023-05-09 09:16:32 +02:00
Régis Behmo
a7fe5914c6 feat: enable dashboard embedding by default
Embedding is allowed per domain for admin users.
2023-05-09 09:16:01 +02:00
Régis Behmo
774f6e2a3e v15.0.5 2023-04-13 11:19:44 +02:00
Régis Behmo
490565333e fix: run open edx behind a web proxy
Without the ENABLE_PROXY_FIX setting, running Open edX behind a web
proxy leads superset to redirect to http, and to the lms login page.
2023-04-13 11:19:44 +02:00
Régis Behmo
08fc27cf8f v15.0.4 2023-03-17 09:16:55 +01:00
Régis Behmo
b5940bab8c fix: clickhouse image building in the UK
CI was failing during `apt update` with the following error:

	E: The repository 'https://repo.clickhouse.com/deb/stable main/ Release' does not have a Release file.

Note that this error was occurring in the UK and Germany, but not in
France.
2023-03-17 09:16:55 +01:00
Régis Behmo
237432a930 fix: clickhouse client permission error
Clickhouse client command was triggering a permission denied error:

$ tutor local run cairn-clickhouse cairn-client
Code: 586. DB::ErrnoException: Cannot create file:
//.clickhouse-client-history, errno: 13, strerror: Permission denied.
(CANNOT_CREATE_FILE)

Traceback (most recent call last):
  File "/scripts/cairn", line 161, in <module>
    main()
  File "/scripts/cairn", line 62, in main
    args.func(args)
  File "/scripts/cairn", line 68, in command_client
    subprocess.check_call(get_client_command())
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['clickhouse', 'client',
'--host', 'cairn-clickhouse', '--port', '9000', '--user', 'openedx',
'--password', 'xrIDmynTAiDuJeVZc5ar', '--multiline', '--multiquery',
'--database', 'openedx']' returned non-zero exit status 74.

This was because the home of the cairn client was set to "/".
2023-03-16 16:29:57 +01:00
Régis Behmo
c3f74e7f3e v15.0.3 2023-01-12 12:40:32 +01:00
Régis Behmo
59b2868bdd fix: celery non-beat worker
Fix is the same as for the beat worker.
2023-01-12 12:40:04 +01:00
Régis Behmo
5d8a4e0943 v15.0.2 2023-01-12 09:49:22 +01:00