3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

591 commits

Author SHA1 Message Date
Ingo Blechschmidt bfbaae5daf whitebophir: 1.14.6 -> 1.16.0 2021-12-17 19:36:49 +01:00
Martin Weinelt ce27c22824 mediawiki: 1.37.0 -> 1.37.1 2021-12-16 11:52:32 +01:00
Jonas Heinrich cc8ab71ee9 nixos/dokuwiki: add passthru test 2021-12-13 17:26:36 +01:00
Kim Lindberger 9bf94de535
Merge pull request #147506 from talyz/discourse-2.8.0.beta8
discourse: 2.7.9 -> 2.8.0.beta9
2021-12-08 18:15:48 +01:00
ajs124 8f7d8afb82 sogo: enable multi-factor authentication 2021-12-06 23:19:07 +00:00
talyz 125bb7dac1
discourse: Don't patch the public path
Instead of patching the path to /public in Discourse's sources, make
the nginx configuration refer to the symlink in the discourse
package which points to the real path.

When there is a mismatch between the path nginx serves and the path
Discourse thinks it serves, we can run into issues like files not
being served - at least when sendfile requests from the ruby app are
processed by nginx. The issue I ran into most recently is that backup
downloads don't work.

Since Discourse refers to the public directory relative to the Rails
root in many places, it's much easier to just sync this path to the
nginx configuration than trying to patch all occurrences in the
sources. This should hopefully mean less potential for breakage in
future Discourse releases, too.
2021-12-06 14:21:39 +01:00
talyz 4fb343c87e
discourse: update.py: Improve version handling, use pinned plugins
Add a DiscourseVersion class which handles Discourse's version
numbering properly when sorting - beta versions are sorted lower than
their respective release versions. It can also return both its version
number and equivalent git tag, removing the need for `rev2version` and
manually adding `v` to the front.

Using DiscourseVersion instead of LooseVersion, we can list all
current version number tags from the `discourse` repo and sort them
correctly, giving us the latest one, regardless of type; i.e. we don't
have to filter for only release versions or beta versions anymore.

This also implements the plugin pinning algorithm laid out here:
https://meta.discourse.org/t/pinning-plugin-and-theme-versions-for-older-discourse-installs/156971
to make sure we don't upgrade plugins further than what's compatible
with our currently packaged Discourse version. While it likely won't
matter much most of the time if we continue packaging the beta
versions, it could be helpful if we decide to go back to packaging
release versions or if we run into issues with future upgrades. In
that case, the plugins could still be updated safely even though we're
not on the latest version of Discourse.
2021-12-02 11:55:07 +01:00
talyz ab042d6452
discourse.plugins: Update all plugins to their latest versions
Also, add support for updating plugins which keep gem versions in
files at the root of the repo (discourse-prometheus) and replace the
`up-plugin.sh` script with a README file pointing to the plugin
packaging documentation.
2021-12-02 10:43:14 +01: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
Martin Weinelt 25a9d1ba9e
mediawiki: drop redvers from maintainers 2021-11-29 02:06:43 +01:00
Martin Weinelt a0e1114e17 mediawiki: 1.36.2 -> 1.37.0 2021-11-29 02:04:24 +01:00
Martin Weinelt cd12d81d53 mediawiki: 1.36.1 -> 1.36.2 2021-11-29 02:03:59 +01:00
Bill Ewanick 7a4744b164
Update lemmy webapp (#147204)
* lemmy: change update script to be more idiomatic

Co-authored-by: Raphael Megzari <raphael@megzari.com>

* lemmy: 0.13.3 -> 0.14.0

Co-authored-by: Raphael Megzari <raphael@megzari.com>

Co-authored-by: Raphael Megzari <raphael@megzari.com>
2021-11-24 10:48:53 +09:00
Kim Lindberger 7dfea71857
Merge pull request #146325 from ryantm/dev/ryantm/discourse-update-py
discourse/update.py: fix for nix 2.4/2.5pre
2021-11-23 15:37:32 +01:00
ajs124 57b974d907 sogo: 5.2.0 -> 5.3.0 2021-11-18 23:10:09 +01:00
Ryan Mulligan 88120a1377 discourse/update.py: use nix-instantiate
The interface of `nix eval` is not stable across versions of nix that
are currently in the wild, so use the older nix-instantiate command
instead.
2021-11-16 15:59:32 -08:00
Martin Weinelt 37fa1e7c1d treewide: pass and inherit writeShellScript in node2nix packages 2021-11-16 16:08:23 +01:00
Moritz Hedtke dfc142b35b
wordpress: 5.8.1 -> 5.8.2 2021-11-13 20:42:33 +01:00
xaverdh 03a257e5a3
treewide: quote urls according to rfc 0045 (#145260)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-10 11:37:56 +01:00
Finn Behrens 6db345c50e
moodle: 3.11.2 -> 3.11.4 (#145172)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-11-10 01:22:12 +01:00
Maciej Krüger 951e9002ed
matomo: 4.4.1 -> 4.5.0 2021-11-09 15:14:36 +01:00
Maciej Krüger 69a54df996
matomo: add vendor/matomo/matomo-php-tracker/run_tests.sh to filesToFIx
also add log message about missing files
2021-11-09 15:14:35 +01:00
Maximilian Bosch 25e6a0ad62
Merge pull request #143345 from happysalada/update_plausible
plausible: 1.3.0 -> 1.4.0
2021-11-08 23:48:53 +01:00
happysalada 7857183c0b plausible: update update.sh script
plausible: fix yarn.nix call
2021-11-06 09:21:23 -04:00
happysalada 3886aa3535 plausible: 1.3.0 -> 1.4.0 2021-11-06 09:11:31 -04:00
Sandro Jäckel 8547db919a
treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
Yannick Markus 500754df86
bookstack: 21.08.3 -> 21.10.3 2021-11-02 10:16:28 +01:00
happysalada 8d8a17f889 lemmy: 0.12.2 -> 0.13.3
lemmy: update update.sh to include package.json

lemmy: use commited package.json
2021-11-01 10:42:30 +09:00
happysalada f1d3cdcf58 lemmy: use pin.json to prepare for update script
lemmy: add initial update script

lemmy: remove use of upstream package.json

lemmy: add update script

lemmy: fixes

lemmy: use importJSON

lemmy: use correct import json ref
2021-11-01 10:42:30 +09:00
happysalada 9a3e6e2253 lemmy-ui: use fetchyarndeps
lemmy: remove yarn.nix
2021-11-01 10:42:30 +09:00
Robert Scott 5a314fb447
Merge pull request #137639 from ymarkus/bookstack
bookstack: 21.05.3 -> 21.08.3
2021-10-31 21:33:56 +00:00
Kim Lindberger b4ef544bcd
Merge pull request #140904 from dpausp/discourse-new-plugins
Discourse: add plugins: assign, chat-integration, docs, prometheus, saved-searches
2021-10-31 12:55:26 +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
Ryan Burns f67d4dd9c1
Merge pull request #142616 from r-burns/toplevel-system
treewide: remove toplevel `system` attr
2021-10-27 10:03:24 -07:00
Tobias Stenzel 34ba7d2fdc discourse.plugins.discourse-voting: Init 2021-10-26 23:24:10 +02:00
Tobias Stenzel 3251a4a7d2 discourse.plugins.discourse-saved-searches: Init 2021-10-26 23:24:10 +02:00
Tobias Stenzel 7584343790 discourse.plugins.discourse-prometheus: Init 2021-10-26 23:24:10 +02:00
Tobias Stenzel 9ede32d45c discourse.plugins.discourse-docs: Init 2021-10-26 23:24:09 +02:00
Tobias Stenzel ecb1b736c7 discourse.plugins.discourse-chat-integration: Init 2021-10-26 23:24:09 +02:00
Tobias Stenzel 1ef543a549 discourse.plugins.discourse-assign: Init 2021-10-26 23:24:09 +02:00
Mrinal Purohit e4fafc019a cryptpad: 4.9.0 -> 4.11.0 2021-10-24 17:39:21 +05:30
talyz 1fb77e822b discourse: Fix the public directory path reported by Discourse
Change the path to the public directory reported by Discourse
to its real path instead of the symlink in the store, since
the store path won't be matched by any nginx rules.

Fixes #142528.
2021-10-22 23:38:53 +02:00
Ryan Burns 2bbc2eaed3 bookstack: remove toplevel system attr 2021-10-22 14:03:17 -07:00
Yureka 149fb9c529 hedgedoc: use fetchYarnDeps, add update script 2021-10-20 11:39:16 +02:00
Maciej Krüger 4da1ca8777
Merge pull request #139936 from mkg20001/disoid 2021-10-19 16:21:00 +02:00
R. RyanTM 3fe3c640e8 jitsi-meet: 1.0.5307 -> 1.0.5415 2021-10-16 10:36:28 -07:00
Bill Ewanick cc3b147ed1 nixos/lemmy: init
Co-authored-by: Raphael Megzari <raphael@megzari.com>
2021-10-06 21:02:51 +09:00
Kim Lindberger 5a58649f4f
Merge pull request #140133 from talyz/discourse-notification-email
discourse: Make sure the notification email setting applies
2021-10-04 09:59:34 +02:00
happysalada 5e7aab5982 lemmy-ui: add static assets folder to out 2021-10-03 14:51:06 +09:00
talyz 917a0cfe47
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.
2021-10-01 11:37:35 +02:00
happysalada 1320843aad pict-rs: fixes 2021-09-30 21:32:25 +09:00
Maciej Krüger de65b31b17
discourse.plugins.discourse-openid-connect: init at unstable 2021-09-29 18:10:36 +02:00
Maciej Krüger 463090378b
discourse: add up-plugin.sh 2021-09-29 18:08:49 +02:00
happysalada 84587ecefa pict-rs: init at 0.3.0-alpha.37 2021-09-29 16:49:56 +09:00
Maximilian Bosch 0b90c450df
Merge pull request #139444 from Ma27/bump-wiki-js
wiki-js: 2.5.214 -> 2.5.219
2021-09-28 09:33:34 +02:00
Kim Lindberger 454f253acf
Merge pull request #139201 from talyz/discourse-2.7.8
discourse: 2.7.7 -> 2.7.8, update plugins
2021-09-27 15:33:48 +02:00
talyz ed8c4e01d9
discourse: Enable jhead, which is no longer marked vulnerable 2021-09-27 09:58:45 +02:00
talyz e4ed6b5929
discourse.plugins.discourse-yearly-review: Update 2021-09-27 09:58:39 +02:00
talyz 957eaf8237
discourse.plugins.discourse-spoiler-alert: Update 2021-09-27 09:58:34 +02:00
talyz fd084acb95
discourse.plugins.discourse-solved: Update 2021-09-27 09:58:29 +02:00
talyz b1aa7efd36
discourse.plugins.discourse-math: Update 2021-09-27 09:58:24 +02:00
talyz 97034cfa1c
discourse.plugins.discourse-github: Update 2021-09-27 09:58:18 +02:00
Leo Maroni 7b03c7ee60 vikunja-frontend: 0.18.0 -> 0.18.1 2021-09-27 08:27:36 +02:00
Leo Maroni b24780c6b4 vikunja-api: 0.18.0 -> 1.18.1 2021-09-27 08:27:36 +02:00
Maximilian Bosch aa4c5bb7cf hedgedoc: fix build by re-running yarn2nix
Failing Hydra build: https://hydra.nixos.org/build/154209534
2021-09-26 21:05:28 +02:00
Maximilian Bosch e12d71e71b
wiki-js: 2.5.214 -> 2.5.219
ChangeLog: https://github.com/Requarks/wiki/releases/tag/2.5.219
2021-09-25 15:52:08 +02:00
Kim Lindberger 0686c40309
Merge pull request #139180 from ryantm/dev/ryantm/discourse-tmp
discourse: enable restoring backups bigger than RAM
2021-09-24 14:31:46 +02:00
WilliButz 962b349555
Merge pull request #138468 from Ma27/bump-hedgedoc
hedgedoc: 1.8.2 -> 1.9.0, fixes CVE-2021-39175
2021-09-23 21:17:35 +02:00
Ryan Mulligan f933c68374 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.
2021-09-23 09:59:31 -07:00
talyz d583001723
discourse.plugins.discourse-checklist: Update 2021-09-23 18:50:11 +02:00
talyz 1e62b64b90
discourse.plugins.discourse-canned-replies: Update 2021-09-23 18:49:48 +02:00
talyz d62ea8705b
discourse.plugins.discourse-calendar: Update 2021-09-23 18:47:43 +02:00
talyz 73e8eb91c1
discourse: 2.7.7 -> 2.7.8 2021-09-23 18:46:23 +02:00
Robin Gloster 61b79f4514
Merge pull request #137700 from r-ryantm/auto-update/wordpress
wordpress: 5.8 -> 5.8.1
2021-09-22 09:40:53 +02:00
Maximilian Bosch e187f77ceb
hedgedoc: fix eval with allowAliases = false 2021-09-19 00:23:28 +02:00
Maximilian Bosch 0a10c17c8d
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
2021-09-19 00:18:18 +02:00
Bill Ewanick ad79645eff lemmy-server: 0.11.3 -> 0.12.2 2021-09-16 10:26:10 -07:00
Bill Ewanick 62f24d0c57 lemmy-ui: init at 0.12.2 2021-09-16 10:26:10 -07:00
Bill Ewanick 00b7ced782 lemmy: move to server.nix 2021-09-16 10:26:10 -07:00
R. RyanTM 6a1014f1b4 wordpress: 5.8 -> 5.8.1 2021-09-13 23:00:48 +00:00
Yannick Markus 9185d6f6b1
bookstack: 21.05.3 -> 21.08.3 2021-09-13 13:18:26 +02:00
R. RyanTM f7e646df7f jitsi-meet: 1.0.5056 -> 1.0.5307 2021-09-12 19:54:14 +00:00
Sandro b432b2f337
Merge pull request #137510 from Ma27/bump-wiki-js
wiki-js: 2.5.201 -> 2.5.214
2021-09-12 14:47:46 +02:00
Maximilian Bosch 75eaccdcbc
wiki-js: 2.5.201 -> 2.5.214
ChangeLog: https://github.com/Requarks/wiki/releases/tag/2.5.214
2021-09-12 11:52:17 +02:00
tshaynik fcc29f9599 jitsi-meet: add passthru.updateScript
Pull version number from stable releases, to ensure
that the latest stable release is used.
2021-09-09 15:27:51 -04:00
Martin Weinelt f81ea682cf
Merge pull request #136801 from em0lar/vikunja-0.18.0 2021-09-06 02:53:50 +02:00
Leo Maroni 732316e9c5
vikunja-api: 0.17.1 -> 0.18.0 2021-09-05 20:51:11 +02:00
Leo Maroni e0fbad9a66
vikunja-frontend: 0.17.0 -> 0.18.0 2021-09-05 20:49:59 +02:00
happysalada 702d183421 lemmy: 0.11.2 -> 0.11.3 2021-09-04 07:50:53 +09:00
Robin Gloster 43cc2477ae
Merge pull request #134022 from r-ryantm/auto-update/wordpress
wordpress: 5.7.2 -> 5.8
2021-09-01 21:23:08 +02:00
davidak bb01facb08
Merge pull request #134111 from sebbel/master
matomo: 4.3.1 -> 4.4.1
2021-08-26 04:24:01 +02:00
ajs124 5fdc39a49d sogo: 5.1.1 -> 5.2.0
https://github.com/inverse-inc/sogo/releases/tag/SOGo-5.2.0
2021-08-19 18:23:39 +02:00
Kim Lindberger 14b0f20fa1
Merge pull request #132475 from ryantm/dev/ryantm/discourse-ldap-auth
discourseAllPlugins: init discourse-ldap-auth
2021-08-19 15:27:31 +02:00
Finn Behrens c93e318747 moodle: update to 3.11.2 2021-08-18 19:12:43 +02:00
Ryan Mulligan 70d29c5cf4 discourseAllPlugins: init discourse-ldap-auth 2021-08-18 10:12:41 -07:00
talyz 12ff4b79e4
discourse: update.py: Remove native platforms in plugin lock files..
...and add ruby.
2021-08-17 18:21:27 +02:00
talyz 04e6b03fa9
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.
2021-08-17 18:21:21 +02:00
talyz f8096460bd
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.
2021-08-17 18:21:15 +02:00
talyz 4197b6dd14
discourse.plugins.discourse-github: Update 2021-08-17 18:21:10 +02:00
talyz 443b318ee9
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.
2021-08-17 18:21:03 +02:00