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
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
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
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
talyz
6fd5a40cca
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.
2021-08-17 18:20:55 +02:00
talyz
bb14315d51
discourse: Remove leftover link to unused plugins directory
2021-08-17 18:17:56 +02:00
talyz
6f26527358
discourse.plugins.discourse-data-explorer: Update
2021-08-17 18:17:50 +02:00
talyz
92b758266e
discourse.plugins.discourse-solved: Update
2021-08-17 18:17:45 +02:00
talyz
5d94e3bfc9
discourse.plugins.discourse-canned-replies: Update
2021-08-17 18:17:39 +02:00
talyz
d1a63bf19c
discourse.plugins.discourse-calendar: Update
2021-08-17 18:17:34 +02:00
talyz
c97ae4ad8e
discourse: 2.7.5 -> 2.7.7
2021-08-17 18:17:27 +02:00
Robert Hensing
fbafeb7ad5
treewide: runCommandNoCC -> runCommand
...
This has been synonymous for ~5y.
2021-08-15 17:36:41 +02:00
Ryan Mulligan
32e24e792c
discourse/update.py: add missing plugins
2021-08-05 13:25:38 -07:00
Ryan Mulligan
85d7eb75c9
discourseAllPlugins: init discourse-migratepassword
2021-08-02 15:21:53 -07:00
Ryan Mulligan
601db31c26
discourseAllPlugins: init discourse-data-explorer
2021-08-02 15:01:58 -07:00
Ryan Mulligan
eb02dc0c4a
discourseAllPlugins: init discourse-checklist
2021-08-02 14:54:52 -07:00
Ryan Mulligan
858b0157e5
discourseAllPlugins: add discourse-calendar
2021-07-27 13:44:58 -07:00
Felix Buehler
4f62b05137
discourse.mkDiscoursePlugin: remove phases
2021-07-24 22:20:26 +02:00
talyz
60d78d7f1f
discourse: 2.7.4 -> 2.7.5
2021-07-14 13:18:23 +02:00
talyz
61f4429fbd
discourse: Use terser
when building assets
...
Discourse prefers to use `terser` when building js assets, see
https://github.com/discourse/discourse/pull/12656 . It still wants to
find `uglify-js` in order to not fall back to a ruby js compression
library, so let's keep it around for now. A fix for this has been
submitted upstream in
https://github.com/discourse/discourse/pull/13683 .
2021-07-14 13:18:17 +02:00
talyz
a2dbc3af1d
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.
2021-07-14 13:18:12 +02:00
talyz
3300282db3
discourse: Add update-plugins
action to update.py
2021-07-14 13:17:55 +02:00
talyz
d3bc5d5b7a
discourse.plugins: Update and add metadata
2021-07-14 13:17:49 +02:00
talyz
7671b90919
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.
2021-06-24 20:54:14 +02:00
talyz
f0ae7fdf7e
discourse: Patch sources instead of using replace-literal
2021-06-24 19:38:25 +02:00
talyz
9af3672f4f
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.
2021-06-24 19:38:19 +02:00
talyz
f7fb0d20a6
discourse: 2.7.0 -> 2.7.4
2021-06-15 18:19:59 +02:00
Ryan Mulligan
2dec0de3c0
nixos/discourse: Add rsync dependency
...
It is used for backup importing.
2021-05-28 17:43:02 -07:00
talyz
1f6b48be74
discourse: 2.6.5 -> 2.7.0
2021-05-28 17:43:02 -07:00
talyz
2db1ae068d
discourse: 2.6.3 -> 2.6.5
2021-04-16 14:20:56 +02:00
talyz
5138941ad3
discourse: Add updater script
2021-04-05 13:55:52 +02:00
talyz
3c7df2a3cb
nixos/discourse: Add test
2021-04-05 13:55:44 +02:00
talyz
1d3715d375
discourse-mail-receiver: Init at 4.0.7
2021-04-05 13:54:14 +02:00
talyz
4d8c8f4722
discourse: init at 2.6.3
2021-04-05 13:54:06 +02:00