Commit Graph

138 Commits

Author SHA1 Message Date
Martin Weinelt
7a6af82358
discourse: update plugins 2024-07-15 15:40:50 +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
ece092568a
discourse: fix nix-shell package order
The python environment needs to come early, or else we're getting another
python, that does not have the bundled dependencies.
2024-07-15 15:40:32 +02:00
Sigmanificient
512e8afdb9 treewide: remove unused occurence of stdenv (and other) arguments
format (will squash)
2024-07-14 04:32:56 +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
c8c381efaf
discourse.plugins.discourse-migratepassword: 1.16.3 -> 1.17.0 2024-07-03 16:05:55 +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
10a6847471
discourse: fix update script after nix-universal-prefetch removal
Replaces nix-universal-prefetch with nurl.
2024-07-03 15:56:43 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
isabel
63aceac766 treewide: remove unused occurence of fetchFromGitHub argument 2024-05-30 05:56:07 +00: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
1d2d14cc1f
discourse: update plugins 2024-05-27 20:47:28 +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
Martin Weinelt
5cf005119a
discourse: strip markers from plugin compat spec
The plugin updater would previously stumble over compat spec version
entries that begin with angled brackets.

````
< 3.3.0.beta1-dev: 56b0de3896361b6a87523537c8f5b450d2fe0807
3.2.0: 33c43ca51ac7b7baa8a309a269dcf8685b8bd638
< 3.2.0.beta2-dev: ac930c509e2a5b0c37b84bcea28d332e686add95
3.1.999: a304cd2028ccf1f5b00f5137633aa7027a1fd334
3.1.0.beta3: 9c270cac9abc1c2b30574d8c655fb3a90546236b
[...]
````
2024-05-27 10:58:26 +02:00
Martin Weinelt
3106519f14
discourse: rely on packaging module for version comparison
The distutils module is deprecated and was removed in Python 3.12, which
would eventually break this updater.
2024-05-27 10:58:25 +02:00
Peder Bergebakken Sundt
db15bbc3d5
treewide: remove unreferenced patch files (#308127)
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
2024-05-02 12:41:45 +00: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
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
Rick van Schijndel
ba75066821
Merge pull request #271362 from pbsds/rm-dead-patches
treewide: remove unreferenced patch files
2023-12-06 03:28:15 +01:00
Sandro
04b28d5c69
discourse: stop redis (#244037) 2023-12-05 22:27:26 +01:00
Peder Bergebakken Sundt
f41aba3739 treewide: remove unreferenced patch files
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'`
2023-12-01 06:11:20 +01:00
MTRNord
80bd53412a
discourse: Update plugin versions 2023-09-25 19:05:47 +02:00
MTRNord
beee2842bd
discourse: 3.1.0.beta4 -> 3.2.0.beta4 2023-09-25 19:05:30 +02:00
Pol Dellaiera
d30fde0977
Merge pull request #250735 from TheNeikos/fix/discourse
discourse: update 3.1.0.beta4 -> 3.1.0
2023-09-14 16:03:28 +02:00
Marcel Müller
bbdccb8eb9 discourse: Use nodejs18
Suggested-by: talyz <kim.lindberger@gmail.com>
2023-09-13 20:26:05 +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
48f63c5b74 discourseAllPlugins.plugins.discourse-prometheus: Update ABI patch 2023-09-13 14:48:58 +02:00
Marcel Müller
c28a6bf832 discourseAllPlugins: Update all 2023-09-13 14:48:47 +02:00
Marcel Müller
77b7dc52cf discourse: Fix update.py handling newlines
The update.py script would error out if the spec had a trailing new
line. The split that follows it would try to split it into two, and
error out as it can't.
2023-09-13 14:48:34 +02:00
Marcel Müller
c87ad974cb discourse: 3.1.0.beta4 -> 3.1.0 2023-09-13 14:48:03 +02:00
Lord-Valen
75c7894435 nodePackages.terser: use buildNpmPackage 2023-09-13 10:23:09 +02:00
Maximilian Bosch
77d4f4feee
discourse.assets: work around cannot execute: required file not found
`yarn run patch-package` as `postinstall`-hook doesn't work because it
has a shebang using `/usr/bin/env` which isn't available in the sandbox.
Removing the postinstall hook and manually running this after
`patchShebangs` appears to solve the issue.

Relevant error log of the build error
(`NIXPKGS_ALLOW_INSECURE=1 nix-build -A discourse.assets`)

    error /build/source/app/assets/javascripts/node_modules/discourse: Command failed.
    Exit code: 127
    Command: patch-package
    Arguments:
    Directory: /build/source/app/assets/javascripts/node_modules/discourse
    Output:
    /bin/sh: line 1: /build/source/app/assets/javascripts/node_modules/.bin/patch-package: cannot execute: required file not found
    info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2023-06-24 12:27:44 +02:00
Kira Bruneau
e12199b8a0 dart-sass-embedded: build from source 2023-04-29 12:16:23 -04:00
IndeedNotJames
06fa6807d2
discourseAllPlugins: update all 2023-04-28 12:14:58 +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
Sandro Jäckel
aad577bd30 nodejs*: normalise names to better fit other packages
Versioned package attributes are usually named like $pname_$version
eg: nodejs-14_x -> nodejs_14
2023-04-25 11:28:17 +02:00
talyz
ca6aa07304
discourse: Document how to update 2023-02-09 17:36:48 +01:00
talyz
0dcc8c9adb
discourse: Update plugins
Co-authored-by: Paul Grayson <pdg@alum.mit.edu>
2023-02-09 17:36:36 +01:00
talyz
8fb5bab784
discourse: 2.9.0.beta14 -> 3.1.0.beta2 2023-02-09 17:36:29 +01:00
talyz
aef5ef0108
discourse: Reformat function arguments 2023-02-09 14:52:01 +01:00
Benno Bielmeier
7215603cb9 discourse.plugins.discourse-reactions: Init 2023-01-31 12:19:20 +09:00
Maximilian Bosch
8b81191211
discoursePlugins: update all 2022-12-03 16:03:23 +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