Compare commits

...
Author SHA1 Message Date
Kilian 698dfb4f81 Merge pull request #250 from kerberos-io/feat/hub-timeline-collapse-defaults
feat(hub): recordings timeline collapsed state on load (0.200.0)
2026-11-20 11:11:35 +01:00
Kilian BouteandClaude Opus 5.5 2ab970a82c hub: release the timeline collapsed defaults as 0.200.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:08:30 +00:00
Kilian Boute 7f5adf2e1c Merge remote-tracking branch 'origin/main' into feat/hub-timeline-collapse-defaults 2026-11-20 10:08:30 +00:00
Kilian 17829c9b6b Merge pull request #255 from kerberos-io/feat/cleanup-account-deletion-purge
hub: account deletion erasure runs in hub-cleanup (0.199.0)
2026-11-20 11:07:29 +01:00
Kilian BouteandClaude Opus 5.5 08de8348f6 hub: account deletion erasure runs in hub-cleanup (0.199.0)
kerberoshub.cleanup.accountDeletion.purge.{enabled,dryRun} replaces
kerberoshub.api.accountDeletion.purge. Every erasure worker takes any due
deletion in its database, and hub-api runs in every environment that
shares one; hub-cleanup runs once per database.

hub-cleanup gets ACCOUNT_DELETION_PURGE_*, and with the purge on the Vault
connection, STRIPE_KEY and the audit transport. hub-api gets
ACCOUNT_DELETION_PURGE_ENABLED=false, so older images stop their own
worker. Setting the old value stops the render with a pointer to the new
one, so it is never ignored silently.

Needs a hub-cleanup release with the worker (uug-ai/hub-cleanup).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:04:13 +00:00
Kilian 253ca3968f Merge pull request #256 from kerberos-io/feat/frontend-markers-flag
hub: frontend markerOverview.enabled for the Marker overview page (0.198.0)
2026-11-20 10:56:58 +01:00
Kilian 1fdd957592 Merge branch 'main' into feat/hub-timeline-collapse-defaults 2026-11-19 12:24:19 +01:00
Kilian BouteandClaude Fable 5.2 03d4571eb7 feat(hub): recordings timeline collapsed state on load (0.194.0)
kerberoshub.frontend.features.media.timeline.collapsed.desktop and
.mobile set FEATURE_MEDIA_TIMELINE_COLLAPSED_DESKTOP and
FEATURE_MEDIA_TIMELINE_COLLAPSED_MOBILE on the frontend: whether the
Recordings timeline opens collapsed to one combined activity row. The
defaults keep the current behaviour, open on desktop and collapsed on
viewports up to 900 px wide.

uug-ai/hub-frontend#1055

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-18 09:06:19 +00:00
6 changed files with 68 additions and 15 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.198.0
version: 0.200.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
+5 -3
View File
@@ -918,9 +918,7 @@ kerberospipeline:
| `kerberoshub.api.rbacOrganisations.enabled` | Every new organisation starts in rbac mode (sets `RBAC_ORGANISATIONS_ENABLED` on hub-api): organisations created with `POST /organisations` and the home organisation of every new account. It starts with every built-in role and its creator as Owner; its members and roles are managed on the Members & access pages only, and the legacy Accounts page cannot add people there. Existing organisations and accounts keep their mode. | `false` |
| `kerberoshub.api.accountDeletion.enabled` | An owner can delete their own account on the profile page: sets `FEATURE_ACCOUNT_DELETION_ENABLED` on hub-api and the frontend. A deletion locks the account at once and is erased after `graceDays`. An account that is already locked stays locked, and can still be reactivated, when this is switched off again. | `false` |
| `kerberoshub.api.accountDeletion.graceDays` | Days a requested deletion can still be cancelled by signing in, 0 to 30 (`ACCOUNT_DELETION_GRACE_DAYS`). | `14` |
| `kerberoshub.api.accountDeletion.purge.enabled` | Starts the hub-api worker that erases accounts whose grace period has passed, with their recordings in storage and their Stripe customer (`ACCOUNT_DELETION_PURGE_ENABLED`). Without it requested deletions stay locked and nothing is erased. Enable it only in the environment that owns the database: a deployment that shares a database with another one erases that database's accounts. | `false` |
| `kerberoshub.api.accountDeletion.purge.dryRun` | The worker counts what it would erase, writes the counts to the `account_deletions` document of the request and deletes nothing (`ACCOUNT_DELETION_PURGE_DRY_RUN`). | `false` |
| `kerberoshub.api.organisationDeletion.enabled` | The primary owner of an organisation can delete it in the organisation settings: sets `FEATURE_ORGANISATION_DELETION_ENABLED` on hub-api and the frontend. A deletion closes the organisation to every member at once and is erased after `accountDeletion.graceDays` by the `accountDeletion.purge` worker; members keep their accounts and their other organisations. An organisation that is already closed stays closed, and its primary owner can still reopen it, when this is switched off again. | `false` |
| `kerberoshub.api.organisationDeletion.enabled` | The primary owner of an organisation can delete it in the organisation settings: sets `FEATURE_ORGANISATION_DELETION_ENABLED` on hub-api and the frontend. A deletion closes the organisation to every member at once and is erased after `accountDeletion.graceDays` by the `kerberoshub.cleanup.accountDeletion.purge` worker; members keep their accounts and their other organisations. An organisation that is already closed stays closed, and its primary owner can still reopen it, when this is switched off again. | `false` |
| `kerberoshub.api.mediaProxy.enabled` | Serve media through hub-api (`/media/proxy`) instead of handing out Vault/storage URLs, hiding the storage endpoint from clients. | `false` |
| `kerberoshub.api.mediaProxy.publicUrl` | Public hub-api base URL used in proxied media URLs. Defaults to `{schema}://{url}`. | `""` |
| `kerberoshub.api.mediaProxy.key` | Key used to encrypt proxied media URLs (`openssl rand -hex 32`). Defaults to a key derived from `jwtSecret`. | `""` |
@@ -1069,6 +1067,8 @@ kerberospipeline:
| `kerberoshub.frontend.features.media.filter.events.enabled` | Enable or disable `kerberoshub.frontend.features.media.filter.events`. | `"true"` |
| `kerberoshub.frontend.features.media.filter.tags.enabled` | Enable or disable `kerberoshub.frontend.features.media.filter.tags`. | `"true"` |
| `kerberoshub.frontend.features.media.filter.defaultView` | Default view for the media page: `timeline` or `grid`. | `"timeline"` |
| `kerberoshub.frontend.features.media.timeline.collapsed.desktop` | Open the Recordings timeline collapsed to one combined activity row on desktop (`FEATURE_MEDIA_TIMELINE_COLLAPSED_DESKTOP`). Users can still expand it. | `"false"` |
| `kerberoshub.frontend.features.media.timeline.collapsed.mobile` | Open the Recordings timeline collapsed to one combined activity row on viewports up to 900 px wide (`FEATURE_MEDIA_TIMELINE_COLLAPSED_MOBILE`). Users can still expand it. | `"true"` |
| `kerberoshub.frontend.features.ask.enabled` | Show the dashboard Ask block; sets `FEATURE_ASK_ENABLED`. Needs `kerberoshub.api.ask.enabled`. | `"false"` |
| `kerberoshub.frontend.features.floorplan.enabled` | Enable or disable `kerberoshub.frontend.features.floorplan`. | `"true"` |
| `kerberoshub.frontend.features.floorplan.colorDeviceActive` | Color customization for `floorplan` in the frontend. | `"hsla(131, 31%, 52%, 1)"` |
@@ -1112,6 +1112,8 @@ kerberospipeline:
| `kerberoshub.cleanup.deleteTimeoutSeconds` | Timeout for delete operations. | `"120"` |
| `kerberoshub.cleanup.reportIncludeStats` | Include richer per-user dry-run summary stats. | `"false"` |
| `kerberoshub.cleanup.dryRun` | Force dry-run behavior through env var. | `"false"` |
| `kerberoshub.cleanup.accountDeletion.purge.enabled` | Starts the worker in hub-cleanup that erases accounts and organisations whose deletion is due, with their recordings in storage and their Stripe subscriptions (`ACCOUNT_DELETION_PURGE_ENABLED`). It uses `kerberosvault.*`, `kerberoshub.api.stripe.privateKey` and the `audit` transport. Without it requested deletions stay locked and nothing is erased. Every worker takes any due deletion in its database, whichever deployment requested it: enable it in exactly one deployment per database. Replaces `kerberoshub.api.accountDeletion.purge`, which now stops the render when enabled. | `false` |
| `kerberoshub.cleanup.accountDeletion.purge.dryRun` | The worker counts what it would erase, writes the counts to the deletion record and deletes nothing (`ACCOUNT_DELETION_PURGE_DRY_RUN`). `kerberoshub.cleanup.dryRun` and `mode: dry-run` imply it. | `false` |
| `kerberoshub.cleanup.debug` | Enable extra cleanup debug logging. | `"false"` |
| `kerberoshub.cleanup.globalPassEnabled` | Enable optional global orphan cleanup pass. | `"false"` |
| `kerberoshub.cleanup.globalPassIntervalHours` | Minimum hours between global cleanup passes. | `"0"` |
@@ -426,17 +426,18 @@ spec:
- name: RBAC_ORGANISATIONS_ENABLED
value: {{ (.Values.kerberoshub.api.rbacOrganisations | default dict).enabled | default false | quote }}
# Account deletion by the owner; the purge worker has its own switch.
# Account deletion by the owner; hub-cleanup erases due deletions.
{{- $accountDeletion := .Values.kerberoshub.api.accountDeletion | default dict }}
{{- $accountPurge := $accountDeletion.purge | default dict }}
{{- if ($accountDeletion.purge | default dict).enabled }}
{{- fail "kerberoshub.api.accountDeletion.purge moved to kerberoshub.cleanup.accountDeletion.purge: hub-cleanup erases due deletions now" }}
{{- end }}
- name: FEATURE_ACCOUNT_DELETION_ENABLED
value: {{ $accountDeletion.enabled | default false | quote }}
- name: ACCOUNT_DELETION_GRACE_DAYS
value: {{ if hasKey $accountDeletion "graceDays" }}{{ $accountDeletion.graceDays | int | quote }}{{ else }}"14"{{ end }}
# Older hub-api images run their own erasure worker unless this is false.
- name: ACCOUNT_DELETION_PURGE_ENABLED
value: {{ $accountPurge.enabled | default false | quote }}
- name: ACCOUNT_DELETION_PURGE_DRY_RUN
value: {{ $accountPurge.dryRun | default false | quote }}
value: "false"
# Organisation deletion by its primary owner; grace period and worker are the account ones.
- name: FEATURE_ORGANISATION_DELETION_ENABLED
value: {{ (.Values.kerberoshub.api.organisationDeletion | default dict).enabled | default false | quote }}
@@ -139,6 +139,38 @@ spec:
value: "{{ .Values.kerberoshub.cleanup.auditEventRetentionDays }}"
- name: WORKFLOW_RUN_RETENTION_DAYS
value: "{{ .Values.kerberoshub.cleanup.workflowRunRetentionDays | default "0" }}"
# Erasure of due account and organisation deletions.
{{- $accountPurge := ((.Values.kerberoshub.cleanup.accountDeletion | default dict).purge | default dict) }}
- name: ACCOUNT_DELETION_PURGE_ENABLED
value: {{ $accountPurge.enabled | default false | quote }}
- name: ACCOUNT_DELETION_PURGE_DRY_RUN
value: {{ $accountPurge.dryRun | default false | quote }}
{{- if $accountPurge.enabled }}
- name: STORAGE_URI
value: "{{ .Values.kerberosvault.uri }}"
- name: STORAGE_ACCESS_KEY
value: "{{ .Values.kerberosvault.accesskey }}"
- name: STORAGE_SECRET_KEY
value: "{{ .Values.kerberosvault.secretkey }}"
- name: STRIPE_KEY
value: "{{ .Values.kerberoshub.api.stripe.privateKey }}"
- name: AUDIT_ENABLED
value: {{ .Values.audit.enabled | default false | quote }}
{{- if .Values.audit.enabled }}
- name: AUDIT_QUEUE
value: {{ .Values.audit.intake.queue | quote }}
- name: AUDIT_DEADLETTER_QUEUE
value: {{ .Values.audit.intake.deadletterQueue | quote }}
- name: RABBITMQ_HOST
value: "{{ .Values.rabbitmq.host }}"
- name: RABBITMQ_EXCHANGE
value: "{{ .Values.rabbitmq.exchange }}"
- name: RABBITMQ_USERNAME
value: "{{ .Values.rabbitmq.username }}"
- name: RABBITMQ_PASSWORD
value: "{{ .Values.rabbitmq.password }}"
{{- end }}
{{- end }}
{{- if .Values.kerberoshub.extraEnv }}
{{- toYaml .Values.kerberoshub.extraEnv | nindent 12 }}
{{- end }}
@@ -505,6 +505,10 @@ spec:
value: {{ .Values.kerberoshub.frontend.features.media.filter.markerCategoryPriority.categories | toJson | replace "\\" "\\\\" | replace "'" "\\u0027" | quote }}
- name: FEATURE_MEDIA_FILTER_DEFAULT_VIEW
value: "{{ .Values.kerberoshub.frontend.features.media.filter.defaultView }}"
- name: FEATURE_MEDIA_TIMELINE_COLLAPSED_DESKTOP
value: "{{ .Values.kerberoshub.frontend.features.media.timeline.collapsed.desktop }}"
- name: FEATURE_MEDIA_TIMELINE_COLLAPSED_MOBILE
value: "{{ .Values.kerberoshub.frontend.features.media.timeline.collapsed.mobile }}"
- name: FEATURE_MEDIA_FILTER_EVENTS_ENABLED
value: "{{ .Values.kerberoshub.frontend.features.media.filter.events.enabled }}"
- name: FEATURE_MEDIA_FILTER_TAGS_ENABLED
+20 -6
View File
@@ -459,17 +459,15 @@ kerberoshub:
enabled: false # Every new organisation starts in rbac mode: created ones (POST /organisations) and new accounts' home organisations. Existing organisations keep their mode.
# Account deletion by the owner, on the profile page.
# A deletion locks the account at once and erases it after graceDays; the
# owner cancels it by signing in before then.
# owner cancels it by signing in before then. hub-cleanup does the
# erasing: kerberoshub.cleanup.accountDeletion.purge.
accountDeletion:
enabled: false # Serves the delete route on hub-api and shows the Account tab in the frontend.
graceDays: 14 # Days a requested deletion can still be cancelled, 0 to 30.
purge:
enabled: false # Starts the hub-api worker that erases due accounts from this deployment's database and storage. Enable it only in the environment that owns the database.
dryRun: false # The worker counts what it would erase, writes the counts to the request and deletes nothing.
# Deletion of an organisation by its primary owner, in the organisation
# settings. It closes the organisation to every member at once and erases
# it after accountDeletion.graceDays; the accountDeletion.purge worker
# does the erasing.
# it after accountDeletion.graceDays; the
# kerberoshub.cleanup.accountDeletion.purge worker does the erasing.
organisationDeletion:
enabled: false # Serves the delete route on hub-api and shows "Delete organisation" in the frontend.
mediaProxy:
@@ -835,6 +833,13 @@ kerberoshub:
tags:
enabled: "true" # Enable or disable tags filter in media 'true' or 'false'
defaultView: "timeline" # Default view for media page 'timeline' or 'grid'
# Recordings timeline on page load: collapsed to one combined activity row,
# or open with a row per device. Users can expand or collapse it afterwards;
# that choice lasts until the page is reloaded.
timeline:
collapsed:
desktop: "false" # Open the timeline collapsed on desktop 'true' or 'false'
mobile: "true" # Open the timeline collapsed on viewports up to 900 px wide 'true' or 'false'
# Chart feature
chart:
colors:
@@ -939,6 +944,15 @@ kerberoshub:
deleteTimeoutSeconds: "120" # Delete timeout.
reportIncludeStats: "false" # Include richer dry-run/user summary stats.
dryRun: "false" # Force dry-run behavior without using mode=dry-run.
# Erasure of the accounts and organisations whose deletion is due
# (kerberoshub.api.accountDeletion / organisationDeletion). Every worker
# takes any due deletion in its database: enable it in exactly one
# deployment per database. It uses kerberosvault.*, kerberoshub.api.stripe
# and the audit transport.
accountDeletion:
purge:
enabled: false # Starts the worker in hub-cleanup that erases due accounts and organisations from the database, storage and Stripe.
dryRun: false # The worker counts what it would erase, writes the counts to the request and deletes nothing. dryRun / mode dry-run above imply it.
debug: "false" # Extra per-user/global debug logging.
globalPassEnabled: "false" # Enable post-user global cleanup pass.
globalPassIntervalHours: "0" # 0 = every cycle when enabled.