187 Commits

Author SHA1 Message Date
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
Régis Behmo
bab403c361 feat: Superset language
A nice language flag will be added to the superset sidebar when the
LMS/CMS have a different language.
2022-03-21 09:57:55 +01:00
Régis Behmo
ee3dbb912f harmonize setting names 2022-03-17 10:05:42 +01:00
Régis Behmo
45ffa3d11b docs: list all settings in readme 2022-03-17 09:48:03 +01:00
Régis Behmo
665c091dc9 v13.0.5 2022-03-10 17:54:00 +01:00
Régis Behmo
4161ff4f58 fix: permissions error when mounting custom migrations
See: https://discuss.overhang.io/t/custom-reg-form-extrainfo-does-not-exits-in-cairn/2508/8
2022-03-10 17:51:58 +01:00
Régis Behmo
82febd4ebb v13.0.4 2022-03-09 09:56:18 +01:00
Régis Behmo
2e28c5d551 fix: "unhealthy" superset containers
Superset container were reported as "unhealthy" because the healthcheck
was not testing the right port.
2022-03-09 09:55:41 +01:00
Régis Behmo
2adb2f57ed v13.0.3 2022-02-21 12:12:29 +01:00
Régis Behmo
b1f9cabed3 fix: chown: cannot read directory clickhouse error
The error was caused by the fact that the clickhouse container attempts to chown
the data directory.

See: https://discuss.overhang.io/t/cairn-clickhouse-failed/2414
2022-02-21 12:02:28 +01:00
Régis Behmo
88b8ac66c5 v13.0.2 2022-01-27 10:59:01 +01:00
Régis Behmo
8a4fd731f1 fix: k8s deployment securityContext syntax error 2022-01-27 10:59:01 +01:00
Régis Behmo
1f6db2a6ff docs: clarify that bootstrapping dashboard is necessary
This stems from a conversation with an actual end user.
2022-01-19 10:14:59 +01:00
Régis Behmo
19594df571 docs: add list of available metrics to readme 2022-01-07 12:28:45 +01:00
Régis Behmo
2e7f3d588d v13.0.1 2021-12-24 12:35:05 +01:00
Régis Behmo
5e53a77d3f fix: permissions of clickhouse job 2021-12-24 12:34:41 +01:00
Régis Behmo
54049ee28a feat: upgrade to maple 2021-12-20 22:44:40 +01:00
Régis Behmo
546a0cf8f7 feat: upgrade to maple 2021-12-13 08:39:39 +01:00
Régis Behmo
ca4c7908c3 v12.0.13 2021-11-25 12:52:38 +01:00
Régis Behmo
67a3b30553 fix: readme typo that breaks rendering 2021-11-25 12:52:12 +01:00
Régis Behmo
2cc4c5ae61 v12.0.12 2021-11-25 12:24:41 +01:00
Régis Behmo
1f6f16a9ce fix: dataset creation from physical table
We could not create datasets directly from physical tables. Turns out, this is
caused by the fact that reflection is enabled on the clickhouse databases in
Superset. To disable reflection, we manually specify the server version.

In the future, we must remove the server version from the database, and instead
specify engine_reflection=no in the DSN. We will be able to do that once a new
version of clickhouse-sqlalchemy has been released.

See:
https://github.com/xzkostyan/clickhouse-sqlalchemy/issues/151
https://github.com/xzkostyan/clickhouse-sqlalchemy/issues/140
This is preventing us from creating datasets from physical tables.
2021-11-25 12:21:31 +01:00
Régis Behmo
bf13620a2e feat: custom migrations 2021-11-25 11:39:01 +01:00
Régis Behmo
6871c16201 v12.0.11 2021-11-23 23:07:27 +01:00