Commit Graph

427 Commits

Author SHA1 Message Date
Moritz Hedtke ac2dea2208
wordpress: 5.7.2 -> 5.7.3 2021-10-07 17:08:28 +02:00
talyz 1c5946027c discourse: Make sure the notification email setting applies
Discourse normally overrides the default notification email setting,
which makes the `notificationEmailAddress` setting ineffective. Add a
patch to remove this override.

Fixes #140114.

(cherry picked from commit 917a0cfe47bad420a894fe8ca35d7dd95ebb5a7c)
2021-10-04 08:03:15 +00:00
Ryan Mulligan 4b7b04754a
Merge pull request #139323 from NixOS/backport-139180-to-release-21.05
[Backport release-21.05] discourse: enable restoring backups bigger than RAM
2021-09-29 05:33:49 -07:00
Maximilian Bosch bc787aef50
Merge pull request #139705 from NixOS/backport-139444-to-release-21.05
[Backport release-21.05] wiki-js: 2.5.214 -> 2.5.219
2021-09-28 14:18:23 +02:00
Maximilian Bosch 1cd12e483a wiki-js: 2.5.214 -> 2.5.219
ChangeLog: https://github.com/Requarks/wiki/releases/tag/2.5.219
(cherry picked from commit e12d71e71b85bfd297ddf5f639511ff892e8fcae)
2021-09-28 07:38:14 +00:00
Maximilian Bosch ce6b39b6be
Merge pull request #139238 from Ma27/backport-hedgedoc
[21.05] hedgedoc: 1.8.2 -> 1.9.0, fixes CVE-2021-39175
2021-09-28 09:33:57 +02:00
talyz ec588badc4 discourse: Enable jhead, which is no longer marked vulnerable
(cherry picked from commit ed8c4e01d985d115f8821106318afc65fc7eaf5f)
2021-09-27 13:37:42 +00:00
talyz e93c033a3b discourse.plugins.discourse-yearly-review: Update
(cherry picked from commit e4ed6b5929d56328e79ad8792568790f6c077251)
2021-09-27 13:37:41 +00:00
talyz df8becc53f discourse.plugins.discourse-spoiler-alert: Update
(cherry picked from commit 957eaf8237a44f6849716739d35057b7ceaba84c)
2021-09-27 13:37:40 +00:00
talyz 61fab89e08 discourse.plugins.discourse-solved: Update
(cherry picked from commit fd084acb95f3e80a80405924e44002e2e4f6dd0e)
2021-09-27 13:37:40 +00:00
talyz cb35abb6c1 discourse.plugins.discourse-math: Update
(cherry picked from commit b1aa7efd36d1e8c9df8f97602038b98533f84cf9)
2021-09-27 13:37:39 +00:00
talyz 9c26876e2b discourse.plugins.discourse-github: Update
(cherry picked from commit 97034cfa1c3b455f1114fea8d302925014dd4bd8)
2021-09-27 13:37:38 +00:00
talyz 125bceeb25 discourse.plugins.discourse-checklist: Update
(cherry picked from commit d583001723e9ad4588c5b54c9f27c111758fe105)
2021-09-27 13:37:38 +00:00
talyz 394d86a424 discourse.plugins.discourse-canned-replies: Update
(cherry picked from commit 1e62b64b9036a3e9332b60c838f658ee35fa0a5a)
2021-09-27 13:37:37 +00:00
talyz 1d1a2bbf2b discourse.plugins.discourse-calendar: Update
(cherry picked from commit d62ea8705b22c8163fcbc6dcb7c70a42e7e745fe)
2021-09-27 13:37:36 +00:00
talyz cb502f9b10 discourse: 2.7.7 -> 2.7.8
(cherry picked from commit 73e8eb91c122699e5ede88980f7c7ef727b29896)
2021-09-27 13:37:35 +00:00
R. RyanTM 5b2ff56444 jitsi-meet: 1.0.5056 -> 1.0.5307
(cherry picked from commit f7e646df7f6db413aef1dd1cea9495719b893b63)
2021-09-25 23:14:13 +00:00
Maximilian Bosch 36a3756d71
hedgedoc: fix build by re-running `yarn2nix`
Failing Hydra build: https://hydra.nixos.org/build/154209534

(cherry picked from commit 0a2615fe2f52c5743fd3a6cb3bd40558bdf31ee5)
2021-09-26 01:12:44 +02:00
Ryan Mulligan d3bee2a63a discourse: enable restoring backups bigger than RAM
When restoring a backup, discourse decompresses the backup archive in
the /share/discourse/tmp dir. Before this change, it is linked to /run
which is typically backed by memory, so the backup will fail to
restore if you do not have enough memory on your system to contain the
backup. This has already happened to me on two small forums.

This moves tmp to the StateDirectory /var/lib/discourse/tmp which is
typically backed by disk.

(cherry picked from commit f933c68374b9c6195dc74d26c95fc9bf240fead8)
2021-09-24 12:35:53 +00:00
Maximilian Bosch 4eb0a2b3cb
hedgedoc: 1.8.2 -> 1.9.0, fixes CVE-2021-39175
ChangeLog: https://github.com/hedgedoc/hedgedoc/releases/tag/1.9.0

As documented in the Nix expression, I unfortunately had to patch
`yarn.lock` manually (the `yarn.nix` result isn't affected by this). By
adding a `git+https`-prefix to
`midi "https://github.com/paulrosen/MIDI.js.git#abcjs"` in the lock-file
I ensured that `yarn` actually uses the `MIDI.js` from the offline-cache
from `yarn2nix` rather than trying to download a tarball from GitHub.

Also, this release contains a fix for CVE-2021-39175 which doesn't seem
to be backported to 1.8. To quote NVD[1]:

> In versions prior to 1.9.0, an unauthenticated attacker can inject
> arbitrary JavaScript into the speaker-notes of the slide-mode feature
> by embedding an iframe hosting the malicious code into the slides or by
> embedding the HedgeDoc instance into another page.

Even though it "only" has a medium rating by NVD (6.1), this seems
rather problematic to me (also, GitHub rates this as "High"), so it's
actually a candidate for a backport.

[1] https://nvd.nist.gov/vuln/detail/CVE-2021-39175

(cherry picked from commit 0a10c17c8d01e5f9fefa3d6dbb7802a3cbce7e23)
2021-09-23 23:33:29 +02:00
Maximilian Bosch caef9da135 wiki-js: 2.5.201 -> 2.5.214
ChangeLog: https://github.com/Requarks/wiki/releases/tag/2.5.214
(cherry picked from commit 75eaccdcbc79f908902638bbea4aef33ebdad712)
2021-09-12 12:51:18 +00:00
Ryan Mulligan 6feba8ac10 discourseAllPlugins: init discourse-ldap-auth
(cherry picked from commit 70d29c5cf4c0561b22f8934db0c5b2dd1bf6484c)
2021-08-19 13:32:24 +00:00
talyz 18902d1e12
discourse: update.py: Remove native platforms in plugin lock files..
...and add ruby.

(cherry picked from commit 12ff4b79e48d9c4aa5660d2ec7ce52a21806d8e4)
2021-08-17 23:16:54 +02:00
talyz ba5434c984
discourse.mkDiscoursePlugin: Handle repos with `gems` directories
Some plugin repos already have a `gems` directory. This lets the
packager choose whether it should be kept and the nix packaged ruby
gems should be copied into it or if it should be removed in favor of
our ruby gems.

(cherry picked from commit 04e6b03fa91603c7f1961cfcdcf5880c91fe6b05)
2021-08-17 23:16:47 +02:00
talyz fd169abf9b
discourse.plugins: Make the updater able to package plugins
Let the update.py script handle the initial, repetitive task of
packaging new plugins. With this in place, the plugin only needs to be
added to the list in `update-plugins` and most of the work will be
done automatically when the script is run. Metadata still needs to be
filled in manually and some packages may of course require additional
work/patching.

(cherry picked from commit f8096460bd15d4f13a01cfddf0a30798921fdb42)
2021-08-17 23:16:41 +02:00
talyz 08fde82d77
discourse.plugins.discourse-github: Update
(cherry picked from commit 4197b6dd146c395f1caec3b086334a2b0eff623a)
2021-08-17 23:16:34 +02:00
talyz af15cbe6b0
discourse: Change the path to the auto generated plugin assets
Change the path to the auto generated plugin assets, which defaults to
the plugin's directory and isn't writable at the time of asset
generation.

(cherry picked from commit 443b318ee9c614d480a2ecb0120b52806d6fbb3b)
2021-08-17 23:16:28 +02:00
talyz 080e4e43fb
discourse.tests: Test the appropriate discourse package
Perform the tests on the package that the `tests` attribute is a child
of, i.e. if `discourseAllPlugins.tests` is built, the tests will run
with the `discourseAllPlugins` package, not the `discourse` package as
previously.

(cherry picked from commit 6fd5a40ccaf0b4da1362803a387bf46d381dd66a)
2021-08-17 23:16:18 +02:00
talyz 639e1d9639
discourse: Remove leftover link to unused plugins directory
(cherry picked from commit bb14315d51a1c35304dfd82ff5c1faeaaf2c450c)
2021-08-17 23:13:55 +02:00
talyz 202c17a806
discourse.plugins.discourse-data-explorer: Update
(cherry picked from commit 6f2652735817e22c55de3b6e137faf7cdbc3fd2a)
2021-08-17 23:13:49 +02:00
talyz 700cfb0fc3
discourse.plugins.discourse-solved: Update
(cherry picked from commit 92b758266e61b2efe078973a3d020b3d1a2c363d)
2021-08-17 23:13:43 +02:00
talyz fddb277d03
discourse.plugins.discourse-canned-replies: Update
(cherry picked from commit 5d94e3bfc94637f6876b9957471fc571646867b0)
2021-08-17 23:13:36 +02:00
talyz 4a30a10e62
discourse.plugins.discourse-calendar: Update
(cherry picked from commit d1a63bf19c6c75430393dab94f5e939b258ffdb6)
2021-08-17 23:13:30 +02:00
talyz f2533d47c8
discourse: 2.7.5 -> 2.7.7
(cherry picked from commit c97ae4ad8e782765b333840d8d1aa83903f82b7f)
2021-08-17 23:13:23 +02:00
Felix Buehler c193cf6ed9
discourse.mkDiscoursePlugin: remove phases
(cherry picked from commit 4f62b051375b0fdaa01ba37e915cfaaa7de40d80)
2021-08-17 23:12:50 +02:00
Ryan Mulligan 8b8ccc0fd8
discourseAllPlugins: add discourse-calendar
(cherry picked from commit 858b0157e56426ee0d56faae393fc85b361ffd90)
2021-08-17 23:12:44 +02:00
Ryan Mulligan 48f779f37d
discourse/update.py: add missing plugins
(cherry picked from commit 32e24e792caefa1de46bf20da2ba4d8fbbf035dc)
2021-08-17 23:12:39 +02:00
Ryan Mulligan a9358e80fc
discourseAllPlugins: init discourse-migratepassword
(cherry picked from commit 85d7eb75c968421ea233f4c8a5b05886733c2dec)
2021-08-17 23:12:33 +02:00
Ryan Mulligan d0064e3868
discourseAllPlugins: init discourse-data-explorer
(cherry picked from commit 601db31c264f3008c25f3fb13f1968a543a9cfe6)
2021-08-17 23:12:28 +02:00
Ryan Mulligan 3c3cd97025
discourseAllPlugins: init discourse-checklist
(cherry picked from commit eb02dc0c4a14d5a15f3443567bc12abf631c300a)
2021-08-17 23:12:19 +02:00
talyz 955cdd607f
discourse: 2.7.4 -> 2.7.5
(cherry picked from commit 60d78d7f1f218e19b1d0997ff4798c97a274cc47)
2021-07-15 19:59:04 +02:00
talyz 32c19b6bf8 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.

(cherry picked from commit a2dbc3af1d50edb8d646817e7abe799bcf369f20)
2021-07-15 12:54:01 +00:00
talyz 23cdb918f0 discourse: Add `update-plugins` action to update.py
(cherry picked from commit 3300282db3f8711a5ed5a5f627c4ddfb83168e3b)
2021-07-15 12:53:59 +00:00
talyz d57e97faef discourse.plugins: Update and add metadata
(cherry picked from commit d3bc5d5b7a9e0d5fc0f33aa0f0e91e50e9921805)
2021-07-15 12:53:59 +00:00
Kim Lindberger 5fd730e210
Merge pull request #128823 from NixOS/backport-127931-to-release-21.05
[Backport release-21.05] discourse: Fix plugin support
2021-07-15 14:50:11 +02:00
illustris f58e00875d jitsi-meet: stable/jitsi-meet_5390 -> stable/jitsi-meet_5963
(cherry picked from commit a415ec434fc8f4aa8d5ff7dadea6f8e196c74d5c)
2021-07-10 00:02:59 +02:00
talyz 71474d1e41 discourse: Add a proper plugin builder + a few initial packages
Some discourse plugins have Ruby dependencies and require a
specialized builder. This introduces a generic builder that can be
used whether the plugin has Ruby dependencies or not. It also adds a
set of pre-packaged plugins available through `discourse.plugins` and
provides an easy way to add more.

(cherry picked from commit 7671b90919af8271bdf7e07bb86d63216a2145d6)
2021-06-30 22:07:26 +00:00
talyz 0a64a8b87c discourse: Patch sources instead of using replace-literal
(cherry picked from commit f0ae7fdf7e9518ab1fef4603daa860d5402f5b3b)
2021-06-30 22:07:25 +00:00
talyz 3b84448e67 discourse: Fix plugin support
For plugins to work properly, their assets need to be precompiled
along with the rest of Discourse's assets. This means we need to build
new packages when the list of plugins change.

(cherry picked from commit 9af3672f4faaafba0ce0129a87fc7925c14eeb61)
2021-06-30 22:07:25 +00:00
Maciej Krüger 1a409bd977
[Backport release-21.05] matomo: 4.2.1 -> 4.3.1
(cherry picked from commit 41ebb21aa46045d02fb8e7240c5f3fb01f7b1581)
2021-06-28 08:18:06 +02:00