Commit Graph

107 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
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
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
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
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
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
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
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
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
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
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
492050c0d3 discourse: mark as known vulnerable
There is no maintenance happening on this package and I can't keep doing
security updates for it, when the build changes on every minor release.
2024-10-17 02:32:11 +02:00
Martin Weinelt
326c87902e discourse: 3.2.4 -> 3.2.5
https://meta.discourse.org/t/3-2-5-security-and-bug-fix-release/316349/1

Fixes: CVE-2024-37165, CVE-2024-39320, CVE-2024-37299
2024-07-30 18:00:12 +02:00
Martin Weinelt
078b2393fd discourse: 3.2.3 -> 3.2.4
https://meta.discourse.org/t/3-2-4-security-and-bug-fix-release/315984

Fixes: CVE-2024-38360
2024-07-15 15:40:50 +02:00
Martin Weinelt
d0cdca4d0e Merge pull request #324349 from mweinelt/discourse-3.2.3
discourse: 3.2.2 -> 3.2.3
2024-07-04 17:59:54 +02:00
Sandro Jäckel
2040dfa812 uglify-js: remove remaining aliases, entry from nodePackages 2024-07-03 21:25:54 +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
898d023384 discourse: build discourseAllPlugins in passthru.tests.
Useful to reveal failing plugin builds.
2024-05-27 20:47:29 +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
Sandro Jäckel
fb0d661081 treewide: replace prefetch-yarn-deps with fixup-yarn-lock where necessary 2024-04-17 13:34:05 -04:00
Felix Buehler
be146a1021 discourse: migrate to prefetch-yarn-deps 2024-03-25 21:14:50 +01:00
Vladimír Čunát
43a630fcb1 Merge #292260: libpsl: split outputs
...into staging
2024-03-12 07:39:02 +01:00
Vladimír Čunát
3af48c85ed libpsl: split outputs
https://github.com/NixOS/nixpkgs/pull/285295#issuecomment-1970426344
2024-02-29 08:04:16 +01:00