31 Commits

Author SHA1 Message Date
Florian du Garage Num
ab18396e89 remove hard-coded uid 1000
Some checks failed
Sync with private repo / sync (push) Has been cancelled
Run tests / tests (3.12) (push) Has been cancelled
Run tests / tests (3.9) (push) Has been cancelled
2025-09-30 21:47:30 +02:00
jfavellar90
3fe46bc278 feat: upgrade to teak 2025-04-04 12:44:52 -05:00
Régis Behmo
9d91f7499d
fix: broken feature in dev mode (#43)
Student notes were simply not working in dev mode because the dev server
hostname was not whitelisted in ALLOWED_HOSTS.
2025-02-13 20:34:56 -05:00
Régis Behmo
6e8bc34475 feat: migrate to Meilisearch
We make use of a new search engine to search annotations. The index will
automatically be created and filled during init. This is considered a
breaking change if you have customised your notes index.
2024-11-29 22:28:03 +05:00
Régis Behmo
a61e09c11e fix: actually mount notes directory
Notes directory could be added via `tutor mounts add ./edx-notes-api`,
but it was not actually being mounted.
2024-11-29 22:28:03 +05:00
Jhony Avella
fdf73b62e3
Ubuntu 24.04 Upgrade (#39)
* chore: notes service now uses ubuntu 24.04 as base image

* chore: using 1000 UID. Updating setuptools

* chore: adding changelog entry
2024-10-22 16:07:32 -05:00
Régis Behmo
9671824e1f 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
Jhony Avella
20ec2c8b99
feat: adding python 3.12 support (#36)
* feat: adding first version of Dockerfile Python3.12 compatible

* ci: add python 3.12 checks
2024-04-29 11:28:19 -05:00
jfavellar90
0d0128210c feat: upgrade to Quince 2023-12-11 18:12:10 +01:00
Régis Behmo
cb08b63217
fix: add missing pkg-config package (#30)
Build fails in nightly with the following error:

	#27 4.029   × Getting requirements to build wheel did not run
	    successfully.
	#27 4.029   │ exit code: 1
	#27 4.029   ╰─> [24 lines of output]
	#27 4.029       /bin/sh: 1: pkg-config: not found
	#27 4.029       /bin/sh: 1: pkg-config: not found
	#27 4.029       Trying pkg-config --exists mysqlclient
	#27 4.029       Command 'pkg-config --exists mysqlclient' returned
	    non-zero exit status 127.
	#27 4.029       Trying pkg-config --exists mariadb
	#27 4.029       Command 'pkg-config --exists mariadb' returned non-zero
	    exit status 127.
	#27 4.029       Traceback (most recent call last):
	#27 4.029         File
	    "/app/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
	line 353, in <module>
	#27 4.029           main()
	#27 4.029         File
	    "/app/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
	line 335, in main
	#27 4.029           json_out['return_val'] =
	    hook(**hook_input['kwargs'])
	#27 4.029         File
	    "/app/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
	line 118, in get_requires_for_build_wheel
	#27 4.029           return hook(config_settings)
	#27 4.029         File
	    "/tmp/pip-build-env-td0z_pds/overlay/lib/python3.8/site-packages/setuptools/build_meta.py",
	line 355, in get_requires_for_build_wheel
	#27 4.029           return self._get_build_requires(config_settings,
	    requirements=['wheel'])
	#27 4.029         File
	    "/tmp/pip-build-env-td0z_pds/overlay/lib/python3.8/site-packages/setuptools/build_meta.py",
	line 325, in _get_build_requires
	#27 4.029           self.run_setup()
	#27 4.029         File
	    "/tmp/pip-build-env-td0z_pds/overlay/lib/python3.8/site-packages/setuptools/build_meta.py",
	line 341, in run_setup
	#27 4.029           exec(code, locals())
	#27 4.029         File "<string>", line 154, in <module>
	#27 4.029         File "<string>", line 48, in get_config_posix
	#27 4.029         File "<string>", line 27, in find_package_name
	#27 4.029       Exception: Can not find valid pkg-config name.
	#27 4.029       Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env
	    vars manually
2023-11-21 06:40:11 -05:00
Jhony Avella
702e029d55
feat: upgrade to Palm 2023-06-15 01:03:44 +02:00
Navin Karkera
d55b36e6b7 fix: build elasticsearch index during initialization
The elasticsearch index needs to be created on initialization else notes
search functionality does not work.
2023-04-13 15:30:31 +02:00
Jhony Avella
527c3e9738
feat: allowing customization of notes repo and version 2023-02-28 09:36:13 +01:00
Jhony Avella
2a9078b592 feat: upgrade to Olive 2022-12-12 18:55:13 +01:00
Andrés González
58b38037a1 fix: specify elasticsearch scheme
Add ELASTICSEARCH_SCHEME in ELASTICSEARCH_DSL to avoid an error
when ES is implemented with SSL
2022-10-03 13:48:27 +02:00
Régis Behmo
47c90a8409 feat: upgrade to nutmeg 2022-06-09 20:11:30 +02:00
Gabor Boros
6625efcf60 fix: support mysql8 syntax
Signed-off-by: Gabor Boros <gabor.brs@gmail.com>
2022-04-15 10:42:48 +02:00
Régis Behmo
29218141d7 feat: upgrade to Maple 2021-11-30 12:39:24 +01:00
Régis Behmo
283890555b fix: tutor-openedx was renamed to tutor 2021-07-06 10:35:03 +02:00
Gonzalo
7ffb297dcd Upgrade notes plugin to lilac release 2021-06-07 18:11:35 +02:00
Régis Behmo
3803c37d7e fix: 'ln' error on image building
'/usr/bin/pip' now exists in ubuntu:20.04.
2021-06-07 10:13:16 +02:00
Régis Behmo
45141e00c3 Take advantage of automatically defined openedx version 2020-09-17 10:56:51 +02:00
Régis Behmo
6dc0fa8696 Upgrade to juniper.3 2020-08-27 17:43:23 +02:00
Régis Behmo
96e2fd4302 Upgrade to juniper.2 2020-07-16 11:26:06 +02:00
Régis Behmo
8e63a6ac37 Upgrade to juniper 2020-06-15 10:41:34 +02:00
Régis Behmo
b6f9147a34 Customize mysql root username 2020-06-01 17:23:34 +02:00
Régis Behmo
6e3278c44f Compatibility with newer job-running scheme 2020-04-25 23:24:42 +02:00
Régis Behmo
d434f8f061 Explicitely point to docker.io images 2020-01-10 17:21:56 +01:00
Régis Behmo
b61b1fdc63 Get rid of mysql strict trans mode warnings 2019-10-07 17:10:38 +02:00
Régis Behmo
96b8b2be67 Replace mysql-client init by mysql 2019-09-03 10:42:22 +02:00
Régis Behmo
15518f0c59 🌅 2019-08-21 12:02:26 +02:00