Commit Graph

41 Commits

Author SHA1 Message Date
mtnash
b94714baca discourse: 2026.1.4 -> 2026.7.0
Update discourse to latest(ish) ESR version from previous, soon-to-be unsupported, ESR version.
Upstream changes: https://releases.discourse.org/changelog/custom?end=v2026.7.0&start=v2026.1.4

Changes:
- simple version / dep updates of all plugins and discourse itself
- updated the update script to correctly handle changes to discourses's architecture, and fixed a bug
  - the NamedTemporaryFiles were not flush()ed, which meant their content was not written
  - discourse now has dependencies under `migrations/` which are specified by path. this requires downloading the `migrations/` directory during the update so `bundle lock` / `bundix` run successfully. the logic for performing this was borrowed from the gitlab package.
  - the hashes for the newly added dart-sass download are automatically updated
- updated some patches to match changes in the targeted code (notification_email, prebuild-asset-processor)
- delete a no longer relevant patch (unicorn_logging_and_timeout) (discourse no longer uses unicorn internally, although the external interface is similar / pretends to still exist)
- added two new patches, safe-exec-from-nix-store and sass_embedded_vendored_dart_sass
  - safe-exec-from-nix-store: add /nix/store to the list of executable paths for the container used to sandbox imagemagick, which by default only contains the standard FHS paths
  - sass_embedded_vendored_dart_sass: patch sass-embedded to use a version of dart-sass provided by the package instead of downloading it's own which would fail. this patch also involves code in default.nix which sets DART_SASS_VENDORED to the path of a downloaded dart-sass version
- updated the comment on prebuild-asset-processor.patch to more accurately reflect what and why it exists
2026-08-03 00:07:08 -04:00
Martin Weinelt
bf49b33367 discourse: 2026.1.3 -> 2026.1.4
https://releases.discourse.org/changelog/v2026.1.4/

Fixes:

- CVE-2026-44779
  Bot debug endpoints disclose whisper translation audit logs
- CVE-2026-44782
  GroupPostSerializer leaks hidden full names through reaction post association
- CVE-2026-44783
  Replying to a whisper lets non-whisperers create staff-only whisper posts
- CVE-2026-44786
  Public chat MessageBus broadcasts are not restricted to chat-eligible users
- CVE-2026-45085
  Chat misauthorization and information disclosure
- CVE-2026-44784
  Non-staff group owners can see email password in plaintext through group history
- CVE-2026-44785
  Hidden reply-to post raw can be disclosed through AI explain prompts
- CVE-2026-45775
  Cross-site backup access via path traversal in multisite local backups
- (CVE Pending)
  Don't leak restricted tag group names via tag info
- CVE-2026-34154
  Subscription access bypass in discourse-subscriptions plugin
- CVE-2026-33514
  Information Disclosure in Form Template API Due to Missing Authorization
- CVE-2026-44780
  Category queue reviewers can read raw incoming emails from queued posts
- (CVE Pending)
  Prevent webhook payload disclosure on event redelivery
- CVE-2026-32244
  Cached outdated summaries can leak removed content
2026-05-19 03:53:01 +02:00
Leona Maroni
1d9a3bcf0f discourse: 2025.12.2 -> 2026.1.1
https://releases.discourse.org/changelog/v2026.1.0/
2026-03-13 13:09:08 +01:00
Leona Maroni
0d227993bd discourse: 2025.12.1 -> 2025.12.2
https://releases.discourse.org/changelog/v2025.12.2
2026-03-10 13:41:54 +01:00
Leona Maroni
0cf640ccac discourse: 3.5.3 -> 2025.12.0
3.5.x will be EOL by the end of January 2026. 2025.12.0 is the newest
released version. Ref: https://releases.discourse.org/

libv8-node is not compatible with NodeJS 24 in this version.
2026-01-10 18:05:18 +01:00
Leona Maroni
4374367738 discourse: update openssl gem to >=3.3.1 and persist in update script 2026-01-05 15:13:22 +01:00
Martin Weinelt
af6946fc8e discourse: 3.5.2 -> 3.5.3
https://meta.discourse.org/t/release-v3-5-3-security-and-maintenance-release/392357

Fixes: CVE-2025-64528
2025-12-30 19:16:11 +01:00
Leona Maroni
2825c3692a discourse: use newer openssl gem to fix mail sending problems
This fixes https://github.com/ruby/openssl/issues/949 for discourse.
This doesn't need a changed update script as the next version of discourse
(2025.11.0) already has openssl 3.3.2:
https://github.com/discourse/discourse/blob/v2025.11.0/Gemfile.lock
2025-12-10 16:31:05 +01:00
Leona Maroni
aeeb97eb19 discourse: 3.4.7 -> 3.5.1
https://meta.discourse.org/t/3-5-0-major-release/379212?tl=en
https://meta.discourse.org/t/3-5-1-security-and-maintenance-release/383511

This release introduces a few rust-based ruby dependencies.

Two plugins were removed
- discourse-migratepassword as it's deprecated
- discourse-topic-voting as it's integrated into discourse core

pgvector extension handling:
Co-Authored-By: talyz <kim.lindberger@gmail.com>
2025-10-29 20:28:06 +01:00
Martin Weinelt
37c67710b7 discourse: 3.4.4 -> 3.4.6
https://meta.discourse.org/t/3-4-5-security-fixes-release/369347
https://meta.discourse.org/t/3-4-6-security-fix-release/370631

Fixes: CVE-2025-48877, CVE-2025-48062, CVE-2025-48053, CVE-2025-49845
2025-08-04 15:48:20 +02:00
Martin Weinelt
f3e03878e4 discourse: 3.4.2 -> 3.4.3
https://meta.discourse.org/t/3-4-3-bug-fix-and-ux-release/362895
2025-05-14 01:51:44 +02:00
Leona Maroni
f2ebbabda0 discourse: 3.3.2 -> 3.4.2
https://meta.discourse.org/t/3-3-3-security-and-maintenance-release/343239
https://meta.discourse.org/t/3-3-4-security-and-maintenance-release/349301
https://blog.discourse.org/2025/02/unpacking-discourse-3-4/
https://meta.discourse.org/t/3-4-1-bug-fix-and-ux-release/353247
https://meta.discourse.org/t/3-4-2-security-and-bug-fix-release/358152
2025-04-08 22:56:45 +02:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Leona Maroni
6a5e0f7dac discourse: 3.2.5 -> 3.3.2
https://meta.discourse.org/t/3-3-0-major-release/316353
https://meta.discourse.org/t/3-3-1-bug-fix-release/322330
https://meta.discourse.org/t/3-3-2-security-and-maintenance-release/329341
2024-10-25 10:27:26 +02:00
Martin Weinelt
b212150fa2 discourse: 3.2.2 -> 3.2.3
https://meta.discourse.org/t/3-2-3-security-and-bug-fix-release/313392

Fixes: CVE-2024-35227, CVE-2024-35234, CVE-2024-36113, CVE-2024-36122,
       CVE-2024-37157
2024-07-03 16:02:33 +02:00
Martin Weinelt
25755c0d20 discourse: 3.1.0 -> 3.2.2
https://meta.discourse.org/t/3-1-1-security-and-bug-fix-release/278760
https://meta.discourse.org/t/3-1-2-security-and-bug-fix-release/282427
https://meta.discourse.org/t/3-1-3-security-and-bug-fix-release/284973
https://meta.discourse.org/t/3-1-4-security-and-bug-fix-release/290939
https://blog.discourse.org/2024/01/celebrating-discourse-3-2/
https://meta.discourse.org/t/3-2-1-security-and-bug-fix-release/298237
https://meta.discourse.org/t/3-2-2-bug-fix-release/307780

Co-Authored-By: Christian Albrecht <christian.albrecht@mayflower.de>
Fixes: CVE-2023-38706, CVE-2023-40588, CVE-2023-41043, CVE-2023-41042,
       CVE-2023-44388, CVE-2023-43814, CVE-2023-45147, CVE-2023-43659,
       CVE-2023-44391, CVE-2023-45131, CVE-2023-47120, CVE-2023-45816,
       CVE-2023-46130, CVE-2023-47119, CVE-2023-47121, CVE-2023-45806,
       CVE-2023-49099, CVE-2024-21655, CVE-2024-21655, CVE-2023-48297,
       CVE-2024-24748, CVE-2024-24827, CVE-2024-27085, CVE-2024-27100,
       CVE-2024-28242
2024-05-27 13:36:51 +02:00
Emery
859a581948 discourse: 3.1.0 <- 3.2.0.beta1
The beta doesn't build, revert to a release.

Fix #286332
2024-02-26 15:05:53 +00:00
MTRNord
beee2842bd discourse: 3.1.0.beta4 -> 3.2.0.beta4 2023-09-25 19:05:30 +02:00
Marcel Müller
8e8a6ed409 discourse: Remove sass-embedded patch
This was fixed globally in #240000 and thus is not needed here anymore.
2023-09-13 17:59:24 +02:00
Marcel Müller
c87ad974cb discourse: 3.1.0.beta4 -> 3.1.0 2023-09-13 14:48:03 +02:00
IndeedNotJames
f88be46556 discourse: 3.1.0.beta2 -> 3.1.0.beta4
https://meta.discourse.org/t/3-1-0-beta4-new-notifications-menu-chat-and-sidebar-improvements-security-fixes-and-more/262044
https://meta.discourse.org/t/3-1-0-beta3-search-optimizations-resizable-chat-drawer-new-api-scopes-and-more/258274
diff: https://github.com/discourse/discourse/compare/v3.1.0.beta2..v3.1.0.beta4
2023-04-28 12:14:58 +02:00
talyz
8fb5bab784 discourse: 2.9.0.beta14 -> 3.1.0.beta2 2023-02-09 17:36:29 +01:00
WilliButz
4f61987758 discourse: 2.9.0.beta12 -> 2.9.0.beta14
Co-authored-by: Maximilian Bosch <maximilian@mbosch.me>
2022-12-03 09:58:03 +01:00
Ryan Mulligan
4b5d9e6514 discourse: 2.9.0.beta11 -> 2.9.0.beta12 2022-11-14 12:53:04 -08:00
Ryan Mulligan
e9f3ebbc17 discourse: 2.9.0.beta10 -> 2.9.0.beta11 2022-11-01 16:20:47 -07:00
Ryan Mulligan
3005b8858e discourse: 2.9.0.beta9 -> 2.9.0.beta10 2022-09-30 13:11:34 -07:00
talyz
7feea0d062 discourse: 2.9.0.beta4 -> 2.9.0.beta9
Co-authored-by: Tobias Stenzel <ts@flyingcircus.io>
2022-08-12 12:20:17 +02:00
Ryan Mulligan
8c33504431 discourse: 2.9.0.beta3 -> 2.9.0.beta4 2022-04-14 13:23:50 -07:00
talyz
04afc69a29 discourse: 2.9.0.beta1 -> 2.9.0.beta3 2022-03-25 12:05:48 +01:00
Ryan Mulligan
c0ddbde02f discourse: 2.8.0.beta11 -> 2.9.0.beta1 2022-01-27 16:42:23 -08:00
Ryan Mulligan
3d2cb0d6a2 discourse: 2.8.0.beta10 -> 2.8.0.beta11
https://meta.discourse.org/t/2-8-0-beta11-user-will-not-be-mentioned-warning-updated-emoji-and-more/214752

Small fix to a patch but otherwise I just ran the update scripts.
2022-01-13 15:08:41 -08:00
talyz
1138af5637 discourse: Add aarch64-linux to the list of platforms to be removed
...in the update script and remove it from the Gemfile.lock. Having
it there causes a failure with the error message:

Could not find libv8-node-16.10.0.0-aarch64-linux in any of the
sources (Bundler::GemNotFound)

And since we're not using the prebuilt binary packages anyway, we
don't need it there in the first place.
2021-12-23 10:24:18 +01:00
Ryan Mulligan
50832be998 discourse: 2.8.0.beta9 -> 2.8.0.beta10; update plugins 2021-12-21 15:40:12 -08:00
talyz
e2415dbb8f discourse: 2.7.9 -> 2.8.0.beta9
Update to the latest beta, since upstream advocates for it. See
https://github.com/NixOS/nixpkgs/issues/146308 for more info.
2021-12-02 10:31:00 +01:00
TredwellGit
44ffcb8362 discourse: 2.7.8 -> 2.7.9
https://nvd.nist.gov/vuln/detail/CVE-2021-41163
2021-10-28 01:56:09 +00:00
talyz
73e8eb91c1 discourse: 2.7.7 -> 2.7.8 2021-09-23 18:46:23 +02:00
talyz
60d78d7f1f discourse: 2.7.4 -> 2.7.5 2021-07-14 13:18:23 +02:00
talyz
a2dbc3af1d discourse: Remove architecture bound platforms from Gemfile.lock
Maybe bundix doesn't handle them properly? They cause runtime issues
and don't seem necessary when the binary gems are built from scratch
anyway.
2021-07-14 13:18:12 +02:00
talyz
f7fb0d20a6 discourse: 2.7.0 -> 2.7.4 2021-06-15 18:19:59 +02:00
talyz
1f6b48be74 discourse: 2.6.5 -> 2.7.0 2021-05-28 17:43:02 -07:00
talyz
4d8c8f4722 discourse: init at 2.6.3 2021-04-05 13:54:06 +02:00