103 Commits

Author SHA1 Message Date
MuPp3t33r
bc96768c69
fix: Update sync_users (#58)
* fix: Update sync_users

fix issue during "sync credentials.core_user to openedx.auth_user"
ERROR 1292 (22007) at line 1: Truncated incorrect DOUBLE value: 'FirstName'

MySQL does not use + to concatenate strings, so it was treated as a math equation instead.
2025-08-22 10:50:28 +05:00
Muhammad Labeeb
802657547d v20.0.0 2025-06-05 18:11:57 +05:00
Muhammad Faraz Maqsood
ab37979349 v19.0.0
upgrade to sumac
2024-11-29 22:29:41 +05:00
Muhammad Faraz Maqsood
4c559d5382 fix: uwsgi workers not starting properly 2024-10-22 19:54:10 +05:00
Muhammad Faraz Maqsood
c72ffd819a feat: ubuntu upgrade to 24.04
- Update Credentials Image to use Ubuntu `24.04` as base OS.
- Change `APP_USER_ID` to 1001 as UID 1000 is now shipped by default.
- Add `mime-support` alternatives that are `media-types mailcap`.
- Update `python-openssl` to `python3-openssl`.
- add changelog entry.
2024-10-22 16:50:40 +05:00
Régis Behmo
2cbbc728a1 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
Muhammad Faraz Maqsood
b883636a8e
Enhancement: Python 3.11 upgrade (#41)
* feat: upgrade python version to 3.11.9

* add changelog entry

* remove label from dockerfile
as the maintainer's and author's information already mentioned in the setup.py

* ci: temporarily skip building on arm64
As the upstream credentials repo seems to be breaking on arm64
and they are skipping arm64 builds as well due to the didkit
package dependency not available on arm64 yet

---------

Co-authored-by: Muhammad Faraz  Maqsood <faraz.maqsood@A006-01130.local>
Co-authored-by: Muhammad Faraz  Maqsood <faraz.maqsood@a006-01130.home>
Co-authored-by: Danyal-Faheem <danyal.faheem@arbisoft.com>
2024-05-14 10:47:33 +05:00
Overhang.IO
3b136117ae Merge remote-tracking branch 'origin/master' into nightly 2024-01-18 11:46:54 +00:00
Danyal-Faheem
e4658402e4 fix: add url slash for production services 2024-01-18 16:38:50 +05:00
Omar Al-Ithawi
8d1f30080e feat: add atlas pull 2024-01-15 14:15:56 +05:00
Talha
c471070e4b feat: upgrade to quince 2023-12-11 18:12:10 +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
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
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
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
Muhammad Faraz Maqsood
bfc057bbf6 fix: fix wrong variable name for extra_requirement for pip extra requirements 2023-11-02 14:20:39 +05:00
Hina Khadim
2c4b44263f fix: solve missing manifest files staticentry for bundles #3 2023-10-20 18:59:03 +05:00
Muhammad Faraz Maqsood
61111bb128 feat: upgrade to Palm 2023-06-15 00:30:42 +02:00
Edward Zarecor
74cf7ce788 fix: defensive set var 2023-01-18 08:53:29 -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
c45a5ec455 switch to OPENEDX_LMS_BASE 2022-09-14 13:40:06 -05:00
lpm0073
a3189b4d52 add to ALLOWED_HOSTS 2022-09-13 22:34:16 -05:00
lpm0073
ebe0617a5a add to ALLOWED_HOSTS 2022-09-13 22:34:00 -05:00
lpm0073
d762fe310b create_dot_application 2022-09-13 22:05:53 -05:00
lpm0073
b93da91138 lint 2022-09-13 21:45:11 -05:00
lpm0073
6e5a695700 replace db name literals w params 2022-09-13 21:22:01 -05:00
lpm0073
3734459c71 remove secret param 2022-09-13 21:10:37 -05:00
lpm0073
5ff5f653af fix dumbest error ever 2022-09-13 19:49:45 -05:00
lpm0073
63c93ce4b1 canary in the coal mine 2022-09-13 19:02:06 -05:00
lpm0073
c8b51efa02 sync users after db migrations have run 2022-09-13 18:27:22 -05:00
lpm0073
eca5d60374 resequence calls to tutor_hooks.Filters.COMMANDS_INIT.add_item() so that mysql init is called first 2022-05-26 20:02:20 -05:00