128 Commits

Author SHA1 Message Date
Danyal-Faheem
6ada8298f8 fix: ignore type for MFE_APPS.add decorator 2024-03-19 15:41:41 +05:00
Max Sokolski
05a3245048 feat: add mounts for docker-compose-dev-services 2024-02-29 12:16:40 +05:00
Régis Behmo
d3d0294b16 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:50 +01:00
Muhammad Faraz Maqsood
487d7f445b v17.0.1 2024-01-23 14:38:49 +05:00
Danyal-Faheem
e4658402e4 fix: add url slash for production services 2024-01-18 16:38:50 +05:00
Talha
c471070e4b feat: upgrade to quince 2023-12-11 18:12:10 +01:00
Régis Behmo
cd533f0597 fix: remove now obsolete github refs function 2023-12-09 18:16:13 +01:00
Régis Behmo
ef9390eaf8 fix: port syntax 2023-12-09 17:48:05 +01:00
Adolfo R. Brandes
3c445adf8e feat: Add support for the Learner Record MFE
And while we're at it:

* Fix an issue with development mode OAUTH2
* Fix the OAUTH2 LMS configuration variables; it wasn't possible to
  change them in production
2023-12-09 15:31:41 +01:00
Muhammad Faraz Maqsood
b9a68dc605 v16.1.0 2023-11-30 17:16:44 +05:00
Régis Behmo
a31f6b7d65 chore: simplify settings 2023-11-30 17:02:30 +05:00
Régis Behmo
a3d1ca8c09 chore: simplify Dockerfile
Many steps were copy-pasted from the "openedx" Dockerfile, and are
actually unnecessary.
2023-11-30 17:02:30 +05:00
Muhammad Faraz Maqsood
05e33e1877 fix: add missing settings 2023-11-24 15:26:54 +05:00
Emad Rad
70d0957446 fix: move all configs to one place 2023-11-24 14:57:20 +05:00
Emad Rad
a1b8e93d77 chore: cleanup 2023-11-24 14:57:20 +05:00
Emad Rad
f6b1821385 feat: typing added 2023-11-24 14:57:20 +05:00
Régis Behmo
89d2668a87 fix: build issue due to outdated nodeenv
We were sometimes facing the following issue during build:

	171.0 Traceback (most recent call last):
	171.0   File "/openedx/venv/bin/nodeenv", line 8, in <module>
	171.0     sys.exit(main())
	171.0   File "/openedx/venv/lib/python3.8/site-packages/nodeenv.py",
	    line 1104, in main
	171.0     create_environment(env_dir, args)
	171.0   File "/openedx/venv/lib/python3.8/site-packages/nodeenv.py",
	    line 980, in create_environment
	171.0     install_node(env_dir, src_dir, args)
	171.0   File "/openedx/venv/lib/python3.8/site-packages/nodeenv.py",
	    line 739, in install_node
	171.0     install_node_wrapped(env_dir, src_dir, args)
	171.0   File "/openedx/venv/lib/python3.8/site-packages/nodeenv.py",
	    line 762, in install_node_wrapped
	171.0     download_node_src(node_url, src_dir, args)
	171.0   File "/openedx/venv/lib/python3.8/site-packages/nodeenv.py",
	    line 602, in download_node_src
	171.0     with ctx as archive:
	171.0   File "/opt/pyenv/versions/3.8.15/lib/python3.8/contextlib.py",
	    line 113, in __enter__
	171.0     return next(self.gen)
	171.0   File "/openedx/venv/lib/python3.8/site-packages/nodeenv.py",
	    line 573, in tarfile_open
	171.0     tf = tarfile.open(*args, **kwargs)
	171.0   File "/opt/pyenv/versions/3.8.15/lib/python3.8/tarfile.py", line
	    1601, in open
	171.0     saved_pos = fileobj.tell()
	171.0 AttributeError: 'bytes' object has no attribute 'tell'

This is an issue that is caused by some network failure and is
incorrectly managed by nodeenv 1.7.0. We reolve the issue (in some
cases) by upgrading nodeenv.
2023-11-21 16:09:18 +05:00
Muhammad Faraz Maqsood
400be3b827 v16.0.3 2023-11-21 15:20:13 +05:00
Muhammad Faraz Maqsood
9e6aa1ec38 change credentials repo link 2023-11-21 15:07:54 +05:00
Muhammad Faraz Maqsood
108324cff1 refactor: add superuser command and removed some settings 2023-11-21 15:07:54 +05:00
Muhammad Faraz Maqsood
a1be1d61f7 enhancement: hard code the catalog api url 2023-11-21 15:07:54 +05:00
Muhammad Faraz Maqsood
feff56909c fix: fix site configuration issue for dev mode 2023-11-21 15:07:54 +05:00
Régis Behmo
fb58b88980 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
bfc057bbf6 fix: fix wrong variable name for extra_requirement for pip extra requirements 2023-11-02 14:20:39 +05:00
Régis Behmo
a9bc26a134 v16.0.1 2023-10-24 09:11:07 +02:00
Hina Khadim
2c4b44263f fix: solve missing manifest files staticentry for bundles #3 2023-10-20 18:59:03 +05:00
Régis Behmo
cb2e99507a 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
61111bb128 feat: upgrade to Palm 2023-06-15 00:30:42 +02:00
Régis Behmo
e439e2df0f 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
Edward Zarecor
74cf7ce788 fix: defensive set var 2023-01-18 08:53:29 -05:00
lpm0073
c7498d1c53 general production release 2022-09-15 06:58:16 -05:00
lpm0073
cf20e08182 fix the static and media paths served from uwsgi 2022-09-14 21:01:31 -05:00
lpm0073
f308539d25 revert last commit 2022-09-14 20:40:46 -05:00
lpm0073
ee8011ad94 change 'assets' to 'static' 2022-09-14 20:31:34 -05:00
lpm0073
68c765f18e change 'assets' to 'static' 2022-09-14 20:29:42 -05:00
lpm0073
5058982c30 add webpack 2022-09-14 19:46:31 -05:00
lpm0073
3188dabaa1 documentation 2022-09-14 19:13:21 -05:00
lpm0073
60099e33ad manage.py compilejsi18n does not have a noinput flag 2022-09-14 18:33:46 -05:00
lpm0073
f49113baeb fix stupid mistake 2022-09-14 18:20:33 -05:00
lpm0073
02557e46e2 scaffold from license_manager 2022-09-14 18:11:36 -05:00
lpm0073
54b0a5c125 refactor collectstatic 2022-09-14 18:08:56 -05:00
lpm0073
33d21585eb remove user-specific locales 2022-09-14 18:00:53 -05:00
lpm0073
be11f08b98 add additional locales from edx-platform 2022-09-14 17:48:08 -05:00
lpm0073
28c57d491d no /openedx/locale 2022-09-14 17:36:05 -05:00
lpm0073
a801baa4a7 rebuild based on tutor openedx Dockerfile 2022-09-14 17:25:59 -05:00
lpm0073
feeb7bc772 use /bin/webpack 2022-09-14 15:07:16 -05:00
lpm0073
83a0dff4af bump to nutmeg.master. added static asset collection 2022-09-14 14:35:28 -05:00
lpm0073
fb7bcf76f3 set logo url defaults 2022-09-14 14:16:15 -05:00
lpm0073
5f41f2ad88 LMS_BASE is now LMS_HOST 2022-09-14 13:48:48 -05:00
lpm0073
2ea05a8779 OPENEDX_LMS_BASE should be LMS_BASE 2022-09-14 13:44:39 -05:00