Commit Graph

197 Commits

Author SHA1 Message Date
mtnash
7191c8573c discourse: 2026.7.0 -> 2026.7.1
extremely minor update, only changed version and hash
2026-08-03 00:07:08 -04:00
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
Sefa Eyeoglu
8d092bb467 treewide: pin pnpm args to pnpm_10
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2026-05-11 18:09:19 +02:00
Aliaksandr
f3224fa2ca discourse: migrate from fetcherVersion = 1 to fetcherVersion = 3 2026-04-24 21:49:19 +03:00
Leona Maroni
801c7e00c9 discourse: 2026.1.2 -> 2026.1.3
https://releases.discourse.org/changelog/v2026.1.3
2026-03-31 17:14:37 +02:00
Leona Maroni
8da82e75c9 discourse: 2026.1.1 -> 2026.1.2
https://releases.discourse.org/changelog/v2026.1.2
2026-03-23 09:37:56 +01: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
Antoine du Hamel
dbcb81f67b nodejs: make nodejs_* depend on nodejs-slim_* (#481461) 2026-02-06 18:57:21 +00:00
Antoine du Hamel
7459fe949f nodejs: make nodejs_* depend on nodejs-slim_* 2026-02-03 23:54:16 +01:00
Leona Maroni
4e8092775c discourse: 2025.12.0 -> 2025.12.1
https://releases.discourse.org/changelog/v2025.12.1

No Gemfile update, see https://github.com/discourse/discourse/compare/v2025.12.0...v2025.12.1

fixes
- CVE-2025-68660
- CVE-2025-68659
- CVE-2025-68666
- CVE-2025-69218
- CVE-2025-69289
- CVE-2025-24742
- CVE-2025-68479
- CVE-2025-68662
- CVE-2025-23743
- CVE-2025-21865
- CVE-2025-68933
- CVE-2025-68934
- CVE-2025-66488
- CVE-2025-67723
2026-02-03 19:05:57 +01:00
Michael Daniels
006ecdbdeb treewide: fix typos (#479869) 2026-01-24 21:36:44 +00:00
Martin Weinelt
706cee81c0 discourse.plugins.discourse-events: init at 83a6ee2c (#479351) 2026-01-19 15:39:26 +00:00
Ben Siraphob
c7e10647ea treewide: fix typos 2026-01-13 14:45:11 -05:00
Wolfgang Walther
d4758e105d teams/flyingcircus: handle team with external membership (#478808) 2026-01-12 19:31:38 +00:00
Leona Maroni
9ba0d28c75 discourse.plugins.discourse-events: init at 83a6ee2c
Currently an additional plugin for discourse.nixos.org.
It would be helpful to update this directly in Nixpkgs.
2026-01-12 14:59:31 +01:00
Wolfgang Walther
6b395c955f maintainers: drop dpausp
Inactive since 2024, except for one comment in May 2025. Dropping
according to maintainer guidelines.
2026-01-10 21:39:39 +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
Sefa Eyeoglu
65b04e5fb8 treewide: migrate to fetchPnpmDeps and pnpmConfigHook
This moves all packages to the new top-level attributes introduced
previously.

This doesn't cause any rebuilds.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-12-18 12:24:09 +01:00
Ihar Hrachyshka
a269d900c4 treewide: remove remaining meta = with lib; 2025-12-14 15:16:00 -05:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +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
b5d03c91fa discourse: 3.5.1 -> 3.5.2
https://meta.discourse.org/t/3-5-2-security-and-maintenance-release/386388
2025-10-29 20:28:10 +01:00
Leona Maroni
392c719769 discourse.plugins.discourse-ldap-auth: fix plugin name 2025-10-29 20:28:10 +01:00
Leona Maroni
28b018d923 discourse.mkDiscoursePlugin: allow overriding pluginName
discourse.plugins.discourse-ldap-auth has the interesting situation that
it – as only package – only has `ldap` as name and not prefixed with
`discourse-`. I feel like having a `ldap` derivation without further
context is bad, so I went this way.
2025-10-29 20:28:10 +01:00
Leona Maroni
f9bf90c4b5 discourse: remove deprecated and moved to core plugins
moved to discourse core in this discourse 3.5.0:
  - discourse-assign
  - discourse-calender
  - discourse-chat-integration
  - discourse-data-explorer
  - discourse-github
  - discourse-math
  - discourse-oauth2-basic
  - discourse-openid-connect
  - discourse-reactions
  - discourse-solved

moved to discourse core in earlier releases:
  - discourse-spoiler-alert

deprecated plugins:
  - discourse-canned-replies (since Aug. 2023)
2025-10-29 20:28:10 +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
NAHO
c8d4dabc43 pkgs: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --type file \
      . \
      pkgs \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2025-10-04 19:02:37 +02:00
Wolfgang Walther
f09f724ef8 maintainers: drop ehmry
This user is blocked since May 2025, thus can't maintain any packages
anymore.
2025-08-31 16:53:44 +02:00
Robert Schütz
6c32fe8992 nodePackages.svgo: drop 2025-08-24 18:24:21 -07:00
Ben Siraphob
04b0a4711b treewide: standardize descriptions according to style guide (#430180) 2025-08-11 07:32:59 +00:00
Martin Weinelt
5cf720e932 discourse: 3.4.6 -> 3.4.7
https://meta.discourse.org/t/3-4-7-security-and-maintenance-release/375747

Fixes: CVE-2025-53102
2025-08-04 17:05:02 +02:00
Martin Weinelt
a4cadd9cfa discourse: fix passthru nixos test 2025-08-04 15:48:21 +02: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
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Sefa Eyeoglu
a8c9a2aa3e treewide: adjust pnpm.fetchDeps parameter order
It is more common to specify hash as the last attribute of fetcher
function args. Let's move fetcherVersion right above hash for all
occurrences.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2025-07-15 15:09:16 +02:00
Gutyina Gergő
09a31a6397 treewide: set pnpm.fetchDeps fetcherVersion to 1 2025-07-14 11:51:34 +02:00
zimbatm
39c01d22bf net-tools: rename from nettools
By being in sync with the pname, it makes it easier to walk back from
the pname that shows in the /nix/store back to the attribute.

This change should not cause any rebuild.
2025-06-21 19:57:36 +02:00
Martin Weinelt
b26b82374f discourse: 3.4.3 -> 3.4.4
https://meta.discourse.org/t/3-4-4-bug-fix-and-ux-release/367301/1
2025-05-28 18:28:15 +02:00
Martin Weinelt
723e0aa48f discourse.plugins: update for 3.4.3 2025-05-15 20:14:32 +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
9522ab87ff discourse.plugins: update for 3.4.2 versions 2025-04-08 22:57:51 +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
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Sandro Jäckel
ab85459656 discourse: mark broken 2025-03-12 19:07:58 +01:00
Sandro Jäckel
739f4f15ae discourse: move meta after passthru according to contribution doc 2025-03-12 19:07:09 +01:00