Skip to content

chore(upstream): merge zammad/zammad 7.3.0 - #11

Merged
UsamaSadiq merged 749 commits into
foss-sandboxfrom
usama/upstream-zammad-7.3.0
Nov 30, 2026
Merged

UsamaSadiq merged 749 commits into
foss-sandboxfrom
usama/upstream-zammad-7.3.0

Conversation

@UsamaSadiq

Copy link
Copy Markdown
Collaborator

Description

  • Merges upstream zammad/zammad 7.3.0 into foss-sandbox (which carries 7.2.3 from chore(upstream): merge zammad/zammad 7.2.3 #10 and FOSS-778 proxy-header trust from fix(sso): trust mpass identity headers only from traefik and verify the token #8). Tracks FOSS-843, part of train FOSS-838. Staging-gated: if the upgrade is not clean on staging, the train ships 7.2.3 instead.
  • 7.2.3 is a stable-branch tag and not an ancestor of 7.3.0, so the merge stopped on 253 files that are nearly all upstream stable vs upstream develop. Resolution: tree set to 7.3.0, then our fork delta re-applied file by file with a 3-way merge (base 7.2.3, ours foss-sandbox, theirs 7.3.0).
  • Review tip: --remerge-diff is noisy. Compare these two instead; they match except for the files listed below.
    git diff 7.2.3 origin/foss-sandbox   # old fork delta, 28 files
    git diff 7.3.0 HEAD                  # new fork delta, 27 files
    • app/frontend/apps/mobile/pages/authentication/routes.ts: handleMpassLogout() returns before upstream's new push-device unregister, so an SSO sign-out stays navigation-only.
    • spec/models/system_report_spec.rb: mpass_sso_active and mpass_logout_redirect_url appended to 7.3.0's non-confidential settings list.
    • i18n/zammad.pot: our mpass msgids kept next to upstream's refreshed references; catalog check up to date.
    • config/brakeman.ignore: taken from 7.3.0; our change only re-fingerprinted the Rails 8.0 EOL warning and 7.3.0 is on Rails 8.1.
    • .gitignore: both sides kept.
  • Platform: Ruby 3.4.12 to 3.4.13, Rails 8.1.4.1, pnpm >=12. Our jwt ~> 3.2 resolves to 3.3.0. The Dockerfile 7-character COMMIT_SHA patch is kept.
  • Migrations: 17 new (push subscriptions, VAPID keys, tag unique index, implicit LOWER() index removal, JSON columns for object manager and core workflow, built-in MCP server setting, and others) plus 12 edited existing ones.
  • Upstream breaking changes that reach us:
    • Customer ticket search only matches customer-visible data (GHSA-32wx-47p6-qqvw); zammad-mcp customer-tier results narrow.
    • DELETE /api/v1/organizations/:id needs admin.organization; agent tokens get 403.
    • Knowledge base search index changed: run rake zammad:searchindex:rebuild where Elasticsearch is used.
    • /auth/sso login-source hardening does not apply; our SSO uses the X-Auth-Request-* middleware.
  • Upstream adds a built-in POST /mcp (personal access tokens only, off by default via api_mcp_access); it does not collide with zammad-mcp.
  • No new env names our deployment needs.
  • Known CI gap (same as 7.2.3): ci.yaml pins a zammad-ci digest with Ruby 3.4.9, and the only published tag, latest, has moved past 3.4.13, so no CI image matches and GitHub CI stops at bundle install. Local rspec below stands in for it.
  • Follow-up, not in this merge: MpassProxyAuth#find_user should use 7.3.0's User.by_login_or_email so it hits the LOWER(login) index.

Testing

  • Throwaway ruby:3.4.13 + postgres:18 + redis:6, rails db:create db:migrate db:seed:
    • CI_SKIP_ASSETS_PRECOMPILE=1 bundle exec rspec spec/lib/zammad/ spec/requests/application_controller/logs_http_access_spec.rb spec/models/system_report_spec.rb: 183 examples, 0 failures
    • rails generate zammad:translation_catalog --check: up to date; RuboCop on our 15 Ruby files: no offenses
  • SSO smoke with AUTH_TYPE=SSO: /api/v1/users/me with edge secret and bare mPass id returns 200 and creates the user; without the edge secret 403, no user; zammad-mcp token mint flow returns a working token after the Customer grant, 403 without it
  • Not run: frontend type-check/eslint, full suite and system specs, an upgrade over real 7.2.3 data (staging is the first run)

AI disclosure

  • Prepared with Anthropic Claude (Claude Code).
  • I reviewed the diff and this description and can answer for the change.

rolfschmidt and others added 30 commits October 28, 2026 16:21
Approved-by: Ralf Schmid <rsc@zammad.com>
Co-authored-by: Ralf Schmid <rsc@zammad.com>
…ipelines.

Approved-by: Dominik Klein <dk@zammad.com>
…when their code changes.

Approved-by: Dominik Klein <dk@zammad.com>
… shared test connection.

Approved-by: Florian Liebe <fl@zammad.com>
…, too.

Approved-by: Dominik Klein <dk@zammad.com>
Approved-by: Florian Liebe <fl@zammad.com>
Approved-by: Florian Liebe <fl@zammad.com>
Approved-by: Florian Liebe <fl@zammad.com>
Approved-by: Florian Liebe <fl@zammad.com>

Co-authored-by: Florian Liebe <fl@zammad.com>
…ing webhook URL is too long.

Approved-by: Dusan Vuckovic <dv@zammad.com>
…tribute type.

Approved-by: Florian Liebe <fl@zammad.com>
Approved-by: Florian Liebe <fl@zammad.com>

Co-authored-by: updatecli-bot <updatecli-bot@updatecli.io>
Approved-by: Mantas Masalskis <mm@zammad.com>
…iew without opening it

Approved-by: Dusan Vuckovic <dv@zammad.com>

Co-authored-by: Ben <bs@zammad.com>
…new" to any other status always results in uncommited status "closed".

Approved-by: Florian Liebe <fl@zammad.com>
…tead of becoming tickets.

Approved-by: Rene Reimann <rr@zammad.com>
…systems must click through a login page that offers no choice.

Approved-by: Dominik Klein <dk@zammad.com>
Approved-by: Florian Liebe <fl@zammad.com>
Approved-by: Florian Liebe <fl@zammad.com>
Approved-by: Florian Liebe <fl@zammad.com>
Approved-by: Florian Liebe <fl@zammad.com>

Co-authored-by: updatecli-bot <updatecli-bot@updatecli.io>
Approved-by: Florian Liebe <fl@zammad.com>
Approved-by: Florian Liebe <fl@zammad.com>

Co-authored-by: Florian Liebe <fl@zammad.com>
…error ticket creation.

Approved-by: Mantas Masalskis <mm@zammad.com>
Approved-by: Dusan Vuckovic <dv@zammad.com>
…zoom system specs.

Approved-by: Dominik Klein <dk@zammad.com>
…tly of the browser driver.

Approved-by: Dominik Klein <dk@zammad.com>
dominikklein and others added 27 commits November 23, 2026 13:09
Co-authored-by: Zammad Renovate Bot <development+renovatebot@zammad.com>
…te of articles on the new ticket while another agent has it open.
Special thanks to the amazing translation team. You rock! 💪

Co-authored-by: WKobes <github@wouterkobes.nl>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translations.zammad.org/projects/zammad/zammad-stable/
Translate-URL: https://translations.zammad.org/projects/zammad/zammad-stable/nl/
Translation: Zammad/Zammad (pre-release 7.3 version)
…per record and repeated database lookups.
Special thanks to the amazing translation team. You rock! 💪

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translations.zammad.org/projects/zammad/zammad-stable/
Translation: Zammad/Zammad (pre-release 7.3 version)
…, GitLab or i-doit from their AI client.
…e ticket lists and counts of all overviews of the agent.
…rder of the first user's language for all users.
…, so the import process grows without limit.
…d", because the background worker resets the maximum run time of jobs.
…emails of all earlier recipients are sent.
…kflow validation twice in the new desktop view and mobile app.
…tachment_ignore and fill the search index size budget (429 / missing article bodies).

Co-authored-by: Benjamin Scharf <bs@zammad.com>
Co-authored-by: Benjamin Scharf <bs@zammad.com>
# Conflicts:
#	.dev/agent_docs/knowledge_base_patterns.md
#	.dev/cypress/cypress.config.mjs
#	.dev/cypress/support/index.js
#	.devcontainer/default/compose.yaml
#	.gitignore
#	.gitlab/ci/__includes__/job_defaults.yml
#	.gitlab/ci/browser/capybara.yml
#	.gitlab/ci/browser/capybara_es.yml
#	.gitlab/ci/browser/capybara_filtered.yml
#	.gitlab/ci/database.yml
#	.gitlab/ci/lint.yml
#	.gitlab/ci/test/docker.yml
#	.gitlab/ci/test/frontend.yml
#	.gitlab/ci/test/migration.yml
#	.gitlab/ci/test/performance.yml
#	.ruby-version
#	BREAKING_CHANGES.md
#	CHANGELOG.md
#	Dockerfile
#	Gemfile
#	Gemfile.lock
#	VERSION
#	app/assets/javascripts/app/controllers/_ai/provider_connections.coffee
#	app/assets/javascripts/app/controllers/_plugin/maintenance.coffee
#	app/assets/javascripts/app/controllers/knowledge_base/reader_controller.coffee
#	app/assets/javascripts/app/lib/app_post/full_quote_header.coffee
#	app/assets/javascripts/app/lib/app_post/knowledge_base_video.coffee
#	app/assets/javascripts/app/models/ticket_article.coffee
#	app/assets/javascripts/app/models/user.coffee
#	app/channels/application_cable/connection.rb
#	app/channels/graphql_channel.rb
#	app/controllers/knowledge_base/search_controller.rb
#	app/controllers/users_controller.rb
#	app/frontend/apps/desktop/AppDesktop.vue
#	app/frontend/apps/desktop/components/CommonAIFeedback/CommonAIFeedback.vue
#	app/frontend/apps/desktop/components/CommonAIFeedback/__test__/CommonAIFeedback.spec.ts
#	app/frontend/apps/desktop/components/CommonPopoverMenu/CommonPopoverMenu.vue
#	app/frontend/apps/desktop/components/Form/fields/FieldDate/FieldDateTimeInput.vue
#	app/frontend/apps/desktop/components/Form/fields/FieldDate/index.ts
#	app/frontend/apps/desktop/components/Form/fields/FieldEditor/__tests__/FieldEditorActionBar.spec.ts
#	app/frontend/apps/desktop/components/Form/fields/FieldTreeSelect/FieldTreeSelectInputDropdownItem.vue
#	app/frontend/apps/desktop/components/KnowledgeBase/KnowledgeBaseAnswer/KnowledgeBaseAnswerAttributes.vue
#	app/frontend/apps/desktop/components/KnowledgeBase/KnowledgeBaseAnswer/KnowledgeBaseAnswerPopoverWithTrigger/graphql/queries/knowledgeBaseAnswerInfoForPopover.api.ts
#	app/frontend/apps/desktop/components/KnowledgeBase/KnowledgeBaseAnswer/KnowledgeBaseAnswerPopoverWithTrigger/skeleton/KnowledgeBaseAnswerPopoverSkeleton.vue
#	app/frontend/apps/desktop/components/KnowledgeBase/KnowledgeBaseAnswerTable.vue
#	app/frontend/apps/desktop/entities/knowledge-base/graphql/queries/knowledgeBaseAnswers.api.ts
#	app/frontend/apps/desktop/entities/user/current/stores/__tests__/taskbarTabs.spec.ts
#	app/frontend/apps/desktop/form/theme/global/getCoreDesktopClasses.ts
#	app/frontend/apps/desktop/pages/knowledge-base/__tests__/knowledge-base-answer-edit.spec.ts
#	app/frontend/apps/desktop/pages/knowledge-base/components/KnowledgeBaseAnswer/KnowledgeBaseAnswerSidebar/KnowledgeBaseAnswerSidebarContent.vue
#	app/frontend/apps/desktop/pages/knowledge-base/composables/__tests__/useKnowledgeBaseAnswer.spec.ts
#	app/frontend/apps/desktop/pages/personal-setting/__tests__/personal-setting-notifications.spec.ts
#	app/frontend/apps/desktop/pages/personal-setting/views/PersonalSettingNotifications.vue
#	app/frontend/apps/desktop/pages/search/__tests__/search.spec.ts
#	app/frontend/apps/desktop/pages/search/components/SearchContent.vue
#	app/frontend/apps/desktop/pages/ticket/components/TicketDetailView/TicketDetailTopBar/TicketDetailTopBar.vue
#	app/frontend/apps/desktop/pages/ticket/components/TicketDetailView/TicketDetailTopBar/__tests__/TicketDetailTopBar.spec.ts
#	app/frontend/apps/desktop/pages/ticket/components/TicketDetailView/TicketDetailTopBar/components/TopBarHeaderCompact.vue
#	app/frontend/apps/desktop/pages/ticket/components/TicketDetailView/TicketDetailTopBar/components/useTopBarHeader.ts
#	app/frontend/apps/mobile/AppMobile.vue
#	app/frontend/apps/mobile/components/Form/fields/FieldDate/__tests__/FieldDateTime.spec.ts
#	app/frontend/apps/mobile/components/Form/fields/FieldDate/index.ts
#	app/frontend/apps/mobile/components/Form/fields/FieldEditor/__tests__/FieldEditorActionBar.spec.ts
#	app/frontend/apps/mobile/pages/authentication/routes.ts
#	app/frontend/apps/mobile/pages/ticket/__tests__/ticket-article-context.spec.ts
#	app/frontend/apps/mobile/pages/ticket/components/TicketDetailView/ArticleMetadataDialog.vue
#	app/frontend/cypress/shared/components/Form/fields/FieldEditor/editor-actions.cy.ts
#	app/frontend/cypress/shared/components/Form/fields/FieldEditor/editor-image-resize.cy.ts
#	app/frontend/shared/components/EntityAttributes/EntityAttribute.vue
#	app/frontend/shared/components/EntityAttributes/EntityAttributes.vue
#	app/frontend/shared/components/Form/fields/FieldEditor/__tests__/FieldEditorInput.spec.ts
#	app/frontend/shared/composables/__tests__/useCopyToClipboard.spec.ts
#	app/frontend/shared/composables/__tests__/useUnknownAddressDetection.spec.ts
#	app/frontend/shared/composables/useUnknownAddressDetection.ts
#	app/frontend/shared/entities/ticket-article/action/plugins/__tests__/email-reply-quote-header.spec.ts
#	app/frontend/shared/entities/ticket-article/action/plugins/email/reply.ts
#	app/frontend/shared/graphql/types.ts
#	app/frontend/shared/types/error.ts
#	app/graphql/gql/action_cable_subscriptions.rb
#	app/graphql/gql/concerns/searches_knowledge_base_answers.rb
#	app/graphql/gql/context/current_user_aware.rb
#	app/graphql/gql/mutations/form/upload_cache/concerns/handles_authorization.rb
#	app/graphql/gql/mutations/ticket/article/email_forward_reply.rb
#	app/graphql/gql/subscriptions/base_subscription.rb
#	app/graphql/gql/types/overview_type.rb
#	app/graphql/gql/types/ticket/article_type.rb
#	app/graphql/graphql_introspection.json
#	app/models/core_workflow/result/backend.rb
#	app/models/form_updater/apply_value/user_autocomplete.rb
#	app/models/form_updater/relation/group.rb
#	app/models/form_updater/updater/ticket/create.rb
#	app/models/http_log.rb
#	app/models/online_notification.rb
#	app/models/organization.rb
#	app/models/ticket/search.rb
#	app/models/transaction/notification.rb
#	app/models/user.rb
#	app/policies/online_notification_policy.rb
#	app/services/service/knowledge_base/search.rb
#	app/views/mailer/ticket_article_update_reaction/sv.html.erb
#	app/views/mailer/ticket_article_update_reaction/uk.html.erb
#	db/migrate/20261006120000_add_alternative_fqdn_setting.rb
#	db/migrate/20261009130000_alternative_fqdn_frontend.rb
#	db/migrate/20261027130343_report_templates_referring_to_unreadable_settings.rb
#	db/seeds/settings.rb
#	i18n/zammad.ar.po
#	i18n/zammad.az.po
#	i18n/zammad.bg.po
#	i18n/zammad.ca.po
#	i18n/zammad.cs.po
#	i18n/zammad.da.po
#	i18n/zammad.de-de.po
#	i18n/zammad.el.po
#	i18n/zammad.en-ca.po
#	i18n/zammad.en-gb.po
#	i18n/zammad.es-ca.po
#	i18n/zammad.es-co.po
#	i18n/zammad.es-es.po
#	i18n/zammad.es-mx.po
#	i18n/zammad.et.po
#	i18n/zammad.fa-ir.po
#	i18n/zammad.fi.po
#	i18n/zammad.fr-ca.po
#	i18n/zammad.fr-fr.po
#	i18n/zammad.he-il.po
#	i18n/zammad.hi-in.po
#	i18n/zammad.hr.po
#	i18n/zammad.hu.po
#	i18n/zammad.id.po
#	i18n/zammad.is.po
#	i18n/zammad.it-it.po
#	i18n/zammad.ja.po
#	i18n/zammad.ko-kr.po
#	i18n/zammad.lt.po
#	i18n/zammad.lv.po
#	i18n/zammad.ms-my.po
#	i18n/zammad.nl-nl.po
#	i18n/zammad.no-no.po
#	i18n/zammad.pl.po
#	i18n/zammad.pot
#	i18n/zammad.pt-br.po
#	i18n/zammad.pt-pt.po
#	i18n/zammad.ro-ro.po
#	i18n/zammad.ru.po
#	i18n/zammad.rw.po
#	i18n/zammad.sk.po
#	i18n/zammad.sl.po
#	i18n/zammad.sr-cyrl-rs.po
#	i18n/zammad.sv-se.po
#	i18n/zammad.th.po
#	i18n/zammad.tr.po
#	i18n/zammad.uk.po
#	i18n/zammad.vi.po
#	i18n/zammad.zh-cn.po
#	i18n/zammad.zh-tw.po
#	lib/auth/maintenance_mode.rb
#	lib/core_ext/string.rb
#	lib/knowledge_base/adjacent_answer.rb
#	lib/search_index_backend.rb
#	lib/search_knowledge_base_backend.rb
#	lib/secure_mailing/backend/handler_incoming.rb
#	lib/user_agent.rb
#	lib/user_info/assets.rb
#	package.json
#	pnpm-lock.yaml
#	public/assets/chat/chat-no-jquery.coffee
#	public/assets/chat/chat-no-jquery.js
#	public/assets/chat/chat-no-jquery.min.js
#	public/assets/chat/chat.coffee
#	public/assets/chat/chat.js
#	public/assets/chat/chat.min.js
#	public/assets/form/form.js
#	public/assets/images/icons/lightbulb.svg
#	public/assets/tests/qunit/kb_video_embeding.js
#	publiccode.yml
#	spec/channels/application_cable/connection_spec.rb
#	spec/channels/graphql_channel_spec.rb
#	spec/graphql/gql/action_cable_subscriptions_spec.rb
#	spec/graphql/gql/context/current_user_aware_spec.rb
#	spec/graphql/gql/mutations/ai_analytics/usage_spec.rb
#	spec/graphql/gql/mutations/ticket/article/email_forward_reply_spec.rb
#	spec/graphql/gql/mutations/user/add_first_admin_spec.rb
#	spec/graphql/gql/mutations/user/password_reset/send_spec.rb
#	spec/graphql/gql/mutations/user/signup_spec.rb
#	spec/graphql/gql/queries/search/counts_spec.rb
#	spec/graphql/gql/queries/search_spec.rb
#	spec/graphql/gql/queries/templates_spec.rb
#	spec/graphql/gql/queries/ticket/articles_spec.rb
#	spec/graphql/gql/subscriptions/ai/text_tool_updates_spec.rb
#	spec/graphql/gql/subscriptions/macros_update_spec.rb
#	spec/graphql/gql/subscriptions/template_updates_spec.rb
#	spec/lib/auth/maintenance_mode_spec.rb
#	spec/lib/core_ext/string_spec.rb
#	spec/lib/import/otrs/article_customer_factory_spec.rb
#	spec/lib/knowledge_base/adjacent_answer_spec.rb
#	spec/lib/search_knowledge_base_backend_spec.rb
#	spec/lib/selector/base_spec.rb
#	spec/lib/session_helper_spec.rb
#	spec/lib/transaction_dispatcher_spec.rb
#	spec/lib/user_info_spec.rb
#	spec/lib/websocket_server_spec.rb
#	spec/models/application_model/can_assets_spec.rb
#	spec/models/channel/email_parser/process_postmaster_filter_spec.rb
#	spec/models/channel/email_parser/process_trusted_spec.rb
#	spec/models/channel/email_parser_spec.rb
#	spec/models/form_updater/graphql/serializer_spec.rb
#	spec/models/form_updater/updater/ticket/create_spec.rb
#	spec/models/group/assets_spec.rb
#	spec/models/http_log_spec.rb
#	spec/models/object_manager/attribute_spec.rb
#	spec/models/organization/assets_spec.rb
#	spec/models/organization_spec.rb
#	spec/models/system_report_spec.rb
#	spec/models/ticket/search_spec.rb
#	spec/models/user/assets_spec.rb
#	spec/policies/controllers/knowledge_base/manage_controller_policy_spec.rb
#	spec/policies/ticket/article_policy_spec.rb
#	spec/policies/user_policy_spec.rb
#	spec/requests/activity_stream_spec.rb
#	spec/requests/getting_started_spec.rb
#	spec/requests/graphql_spec.rb
#	spec/requests/knowledge_base/deactivated_role_spec.rb
#	spec/requests/knowledge_base/manage_authorization_spec.rb
#	spec/requests/knowledge_base/search_with_details_spec.rb
#	spec/requests/knowledge_base_public/categories_spec.rb
#	spec/requests/organization_spec.rb
#	spec/requests/settings_spec.rb
#	spec/requests/user_spec.rb
#	spec/services/service/knowledge_base/search_spec.rb
#	spec/services/service/user/add_first_admin_spec.rb
#	spec/support/capybara/form_helpers.rb
#	spec/support/capybara/test_flags.rb
#	spec/support/custom_matchers/take_less_cpu_time_than.rb
#	spec/support/graphql.rb
#	spec/system/apps/desktop/knowledge_base/sorting_spec.rb
#	spec/system/apps/desktop/personal_setting/online_notifications_spec.rb
#	spec/system/apps/desktop/personal_setting/token_access_spec.rb
#	spec/system/apps/desktop/search_spec.rb
#	spec/system/apps/desktop/ticket/create_spec.rb
#	spec/system/apps/desktop/ticket/reply_inline_image_spec.rb
#	spec/system/apps/mobile_old/tickets/ticket_article_actions_spec.rb
#	spec/system/apps/mobile_old/tickets/ticket_article_reply_inline_image_spec.rb
#	spec/system/basic/http_log_spec.rb
#	spec/system/examples/core_workflow_examples.rb
#	spec/system/manage/calendars_spec.rb
#	spec/system/manage/sla_spec.rb
#	spec/system/manage/users_spec.rb
#	spec/system/search_spec.rb
#	spec/system/ticket/create_spec.rb
#	spec/system/ticket/update/full_quote_header_spec.rb
#	spec/system/ticket/zoom/checklist_spec.rb
#	spec/system/ticket/zoom/telegram_reply_spec.rb
#	spec/system/ticket/zoom_spec.rb
@UsamaSadiq
UsamaSadiq merged commit 9613c21 into foss-sandbox Nov 30, 2026
1 of 2 checks passed
@UsamaSadiq

Copy link
Copy Markdown
Collaborator Author

Merged with red GitHub CI by decision: no zammad-ci image ships Ruby 3.4.13, same as the 7.2.3 sync. Local rspec (183/0) and the SSO smoke stand in; greening all fork CI is tracked separately. Staging upgrade over real 7.2.3 data is the gate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.