9 Commits

Author SHA1 Message Date
Régis Behmo
029ac27251 feat: support for user-submitted files
Previously, user-uploaded files were stored in the /openedx/xqueue/openedx
folder (considered by django to be a media subfolder). This folder was not
being mounted on the host, thus causing files to be lost on container restart.
Also, files were simply not reported by the `tutor submissions show` utility.

We now bind-mount the media folder from the host. Media assets are served by
uwsgi, which replaced gunicorn.

When object storage is in use, we will have to point xqueue to the remote
storage solution. This means that we need to add patches to the tutor-minio
plugin.

Close #2.
2021-09-02 10:48:12 +02:00
Régis Behmo
970dafe87b Upgrade to Koa 2020-12-09 22:29:07 +01:00
Régis Behmo
52dd830624 Make it possible to override individual docker registry 2020-07-21 09:12:32 +02:00
Régis Behmo
141fc8bdf1 Make it possible to define xqueue url from env var 2020-05-13 11:21:37 +02:00
Régis Behmo
886ae671a0 Fix submission client when no host is passed to the cli 2020-05-13 10:29:29 +02:00
Régis Behmo
ece1ab9983 Make xqueue actually do something
Xqueue was mostly broken in the previous releases. In this version, we
address the following issues:

- Proper initialisation by creating the right users
- Shift from 8040 to the more standard 8000 port
- Expose xqueue service on the internet for accessing its API
- Properly define the xqueue name ("openedx")
- Make sure that all logs go to the console
- Add convenient CLI for using the awkward Xqueue API
- Properly document how to use Xqueue
2020-05-05 16:49:38 +02:00
Régis Behmo
629c7be558 Fix image building with custom registry 2020-04-07 14:27:45 +02:00
Régis Behmo
d2cc809f5c Replace mysql-client init by mysql 2019-09-03 10:43:12 +02:00
Régis Behmo
bbc9dfc5d4 🌅 2019-08-21 12:22:46 +02:00