260 Commits

Author SHA1 Message Date
Overhang.IO
c6f50c6ef1 Merge remote-tracking branch 'origin/master' into nightly 2023-05-16 16:02:05 +00:00
Régis Behmo
a6676f209a ci: skip building on arm64 2023-05-16 17:57:45 +02:00
Régis Behmo
b9aaf3f145 docs: fix emoji 2023-05-16 17:56:09 +02:00
Régis Behmo
f8b22f1c45 docs: fix link to screenshots 2023-05-16 17:53:30 +02:00
Régis Behmo
240cfd0acd feat: I'm fruiiiiiiit 2023-05-16 17:49:42 +02:00
Régis Behmo
31adec4c62 docs: fix "quickstart" -> "launch" 2023-05-15 08:59:24 +02:00
Régis Behmo
da9dc6d3dc docs: fix local init -> local do init 2023-05-15 08:58:12 +02:00
Overhang.IO
1fd584e7e1 Merge remote-tracking branch 'origin/master' into nightly 2023-05-09 07:22:10 +00: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
Overhang.IO
260105bf52 Merge remote-tracking branch 'origin/master' into nightly 2023-04-13 09:25:19 +00: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
Overhang.IO
d537cd138c Merge remote-tracking branch 'origin/master' into nightly 2023-03-17 08:21:34 +00: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
Overhang.IO
5eff55e474 Merge remote-tracking branch 'origin/master' into nightly 2023-01-12 11:42:56 +00: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
Overhang.IO
df15674dd9 Merge remote-tracking branch 'origin/master' into nightly 2023-01-12 08:51:40 +00:00
Régis Behmo
5d8a4e0943 v15.0.2 2023-01-12 09:49:22 +01:00
Régis Behmo
6e168d7f22 fix: celery 5 deprecation of beat --app=...
In celery 5 the `--app` option must be used as a global option: `celery
--app=... beat ...`. This was causing the worker to fail.
2023-01-12 09:47:54 +01:00
Overhang.IO
6d5c5cce92 Merge remote-tracking branch 'origin/master' into nightly 2023-01-05 10:46:55 +00:00
Régis Behmo
4c6f78d466 v15.0.1 2023-01-05 11:42:34 +01:00
Régis Behmo
56797b0a06 fix: browser tab crash on large course completion chart
"Course completion" was causing browser crashes when it attempted to display
10k course items (which is the maximum allowed). Displaying 10000 bars does not
make sense anyway, so we threshold this number to 100.
2023-01-05 11:40:48 +01:00
Overhang.IO
cae7ca0e69 Merge remote-tracking branch 'origin/master' into nightly 2022-12-12 18:29:28 +00:00
Régis Behmo
a4de1d8783 fix: image push for CI 2022-12-12 19:27:00 +01:00
Overhang.IO
ff1ea7c615 Merge remote-tracking branch 'origin/master' into nightly 2022-12-12 18:06:57 +00:00
Régis Behmo
41b0e5bcc8 feat: upgrade to olive 2022-11-24 19:03:19 +01:00
Overhang.IO
f675857b8e Merge remote-tracking branch 'origin/master' into nightly 2022-10-17 13:54:49 +00:00
Régis Behmo
a4e15fae5a v14.0.4 2022-10-17 15:50:48 +02:00
Régis Behmo
281e4ce7e6 fix: correctly configure redis instance
Superset was ignoring the cairn-redis container, so we decided to remove it.
But the superset celery worker was writing to the /0 database, which conflicts
with the default celery database from the lms/cms. We fix this issue by running
in a different database.
The CELERY_RESULT_BACKEND seemed to be completely useless, so we got rid of it.
2022-10-17 15:47:21 +02:00
Overhang.IO
2057023bb6 Merge remote-tracking branch 'origin/master' into nightly 2022-10-07 13:29:08 +00:00
Régis Behmo
f37e5f8eaf v14.0.3 2022-10-07 15:25:15 +02:00
Régis Behmo
30dd7714ce fix: upgrade vector and decrease log level to avoid spam
Vector is spamming us with messages concerning absent containers. Such messages include:

tutor_local-cairn-vector-1                  | 2022-10-07T13:09:27.053010Z  INFO source{component_kind="source" component_id=docker_logs component_type=docker_logs component_name=docker_logs}: vector::internal_events::docker_logs: Started watching for container logs. container_id=680c2bf183676caadee2c165b26493f90fb5d02cb15b9f2579a106fdd436f827

Or:

{“log”:“2022-10-07T07:19:17.839042Z INFO vector::internal_events::docker_logs: Started watching for container logs. container_id=a932d5916f9a1d1848224b71070591d16c813e83796d6850fa64b0a5f956d5ed\n”,“stream”:“stderr”,“time”:“2022-10-07T07:19:17.83961548Z”}
{“log”:“2022-10-07T07:19:17.839311Z INFO vector::internal_events::docker_logs: Stopped watching for container logs. container_id=cb9a4330dc154e02f02f6f6b49d9ddb04b5357083becdf6e9c5cbf49f4d01f68\n”,“stream”:“stderr”,“time”:“2022-10-07T07:19:17.83967086Z”}

See also: https://github.com/vectordotdev/vector/issues/8881

This issue has affected multiple users in the past. To address it, we first
tried to upgrade Vector, which did not help. Thus, we decided to reduce the
verbosity of Vector.
2022-10-07 15:24:59 +02:00
Overhang.IO
11f7e10740 Merge remote-tracking branch 'origin/master' into nightly 2022-09-20 07:25:36 +00:00
Régis Behmo
a802eed7d3 v14.0.2 2022-09-20 09:20:23 +02:00
Régis Behmo
f398600152 fix: superset user creation with existing email address
When creating a new user, but with an email address already associated
to a different user, the `cairn createuser` script crashes with an
obscure error. This slightly improves the error messsage.

See: https://discuss.openedx.org/t/cairn-password-reset/8226
2022-09-20 09:17:34 +02:00
Overhang.IO
1ba6f623ef Merge remote-tracking branch 'origin/master' into nightly 2022-07-04 08:11:49 +00:00
Régis Behmo
3fa702356d feat: make it possible to parse 'timestamp' fields instead of 'time'
This is necessary for some customers who are not using the
common.djangoapps.track.shim.LegacyFieldMappingProcessor in
settings.EVENT_TRACKING_BACKENDS.
2022-07-04 10:07:15 +02:00
Overhang.IO
b26f04cf44 Merge remote-tracking branch 'origin/master' into nightly 2022-06-27 08:56:57 +00:00
Régis Behmo
ecae5c1bcc v14.0.1 2022-06-27 10:53:59 +02:00
Régis Behmo
6d1947ef0b fix: broken init because of mysql's API change 2022-06-27 10:53:11 +02:00
Overhang.IO
a805ec291f Merge remote-tracking branch 'origin/master' into nightly 2022-06-13 19:07:36 +00:00
Régis Behmo
ffaea14212 v14.0.0: minimal upgrade
We'll have to migrate to plugin API v1 and to the newest releases of
superset/clickhouse/vector.
2022-06-13 21:05:07 +02:00
Régis Behmo
66f9748c08 v14.0.0: minimal upgrade
We'll have to migrate to plugin API v1 and to the newest releases of
superset/clickhouse/vector.
2022-06-13 20:50:50 +02:00
Régis Behmo
337a17f471 v13.0.7 2022-05-09 16:34:12 +02:00
Régis Behmo
059546ab8a feat: add "cairn-superset-settings" patch 2022-05-09 16:33:45 +02:00
Régis Behmo
f076d52f0d v13.0.6 2022-03-21 09:58:23 +01:00