Commit graph

258 commits

Author SHA1 Message Date
Sandro Jäckel 2fd8e33615
nextcloud26: 26.0.8 -> 26.0.9 2023-11-24 01:21:48 +01:00
Sandro Jäckel 1a6f28cbd8
nextcloud-notify_push: 0.6.3 -> 0.6.5
Changelog: https://github.com/nextcloud/notify_push/releases/tag/v0.6.4
Changelog: https://github.com/nextcloud/notify_push/releases/tag/v0.6.5
2023-11-24 00:31:02 +01:00
Felix Buehler 7f9abdcfcb nixos/nextcloud: fix docu of packages 2023-11-17 23:16:23 +01:00
Mynacol 9e635a13ab nextcloudPackages: Add cookbook, music and update
I added "cookbook" and "music" to `nextcloud-apps.json` and ran
`./generate.sh`. This also updated the already existing app's metadata.
2023-11-17 20:47:43 +01:00
Sandro Jäckel 91239bc459
nextcloud27Packages: regen 2023-10-28 16:47:52 +02:00
Sandro Jäckel ecc02253d3
nextcloud26Packages: regen 2023-10-28 16:47:42 +02:00
Sandro Jäckel 8edd2e856c
nextcloud27: 27.1.2 -> 27.1.3 2023-10-28 16:47:29 +02:00
Sandro Jäckel 1fd87b651d
nextcloud26: 26.0.7 -> 26.0.8 2023-10-28 16:47:12 +02:00
Maximilian Bosch 391a1245b6
nextcloud: stdenv -> stdenvNoCC 2023-10-09 17:43:06 +02:00
Maximilian Bosch bbc7d49666
nextcloud*Packages: update 2023-10-07 16:18:27 +02:00
Maximilian Bosch efc5c80e18
nextcloud25: remove
EOL of Nextcloud v25 is scheduled by the end of this month.
2023-10-07 16:16:42 +02:00
Isa 0ad1a333f5
nextcloud27: 27.1.1 -> 27.1.2 2023-10-07 16:11:34 +02:00
Robert Schütz db9532dc44 nextcloudPackages: update 2023-09-24 09:42:53 -07:00
Sandro Jäckel 390b483468
nextcloud27: 27.1.0 -> 27.1.1 2023-09-21 17:11:48 +02:00
Sandro Jäckel 3aa88bee8a
nextcloud26: 26.0.6 -> 26.0.7 2023-09-21 17:11:40 +02:00
Sandro Jäckel 5c22d11861
nextcloud25: 25.0.11 -> 25.0.12 2023-09-21 17:11:29 +02:00
Sandro Jäckel ff404e6b41
nextcloud27: 27.0.2 -> 27.1.0 2023-09-18 18:11:55 +02:00
Sandro Jäckel 3f2929850f
nextcloud26: 26.0.5 -> 26.0.6 2023-09-18 18:11:46 +02:00
Sandro Jäckel d8f4c08f37
nextcloud25: 25.0.10 -> 25.0.11 2023-09-18 18:11:36 +02:00
Maximilian Bosch c7589fc67c
nextcloud*Packages: update 2023-08-20 13:41:51 +02:00
Maximilian Bosch c317dcec0d
nextcloud*Packages: expose proper license information
This change makes sure that each Nextcloud plugin installed provides a
`meta` section with proper license information.

Unfortunately, the metadata from the appstore is useless for this
purpose since it doesn't differentiate between e.g. AGPL 3.x and AGPL
3.x or any later version. In fact, this isn't consistent between their
software, e.g. `bookmarks` has `agpl3Plus` according to the files'
headers[1] whereas `twofactor_nextcloud_notification` is AGPL 3 only[2].

I don't think there's any trivial and reasonable way to retrieve this
information programatically, so I decided to change the format of
`nextcloud-apps.json`[3] to also contain the license in the form of the
license attribute we have in `lib/licenses.nix`, i.e. GNU AGPL 3 or
later is `agpl3Plus`.

I retrieved the information using the following approach:

* go to the source code of $app at the revision we currently have
  packaged
* check for a license identifier (does it specify the license only or
  the license "or any later version")?
  * first in `src/main.js` because most apps from Nextcloud itself used
    actual spdx identifiers in the frontend's source-code.
  * then in `lib/AppInfo/Application.php` which each Nextcloud app has.

License changes should be updated accordingly when updating the apps. As
with any other package in nixpkgs as well, this currently needs to be
done manually (or as part of the review process)[4].

Also, I decided to change the `name` of the `applyPatches` derivation
from `source-patched` to `nextcloud-app-${appName}-${appVersion}`. When
deploying a lot of apps (and probably displaying the diff using
`nix store diff-closures` on deploy), the current output isn't very
helpful. This is purely optional because I didn't want to break the
interface of `fetchNextcloudApp` again.

[1] https://github.com/nextcloud/bookmarks/blob/v13.1.0/lib/AppInfo/Application.php#L6
[2] https://github.com/nextcloud/twofactor_nextcloud_notification/blob/v3.7.0/lib/AppInfo/Application.php
[3] This isn't really well-defined since it's preprocessed with `jq(1)`
    before passing the apps to nc4nix.
[4] Though notable license changes (e.g. agpl -> gpl) would also pop up
    in the diff of <nextcloudversion>.json, so this is pretty easy to
    catch.
2023-08-20 13:39:44 +02:00
Raito Bezarius c74490e000
nextcloud*Packages: add description, homepage, licenses from JSON
This ensures this data is replicated in the meta attribute.
2023-08-20 11:49:15 +02:00
Maximilian Bosch 519c64b1be
nextcloudPackages*: pin maps to stable 1.1.0
No idea what this gibberish disguised as tag is, but nc4nix doesn't seem
to cope well with it. For now, let's pin `maps` to the stable 1.1 release (as
it's the case for nextcloud27 already) since 1.1 is supported for all of
v25 to v27[1], so this seems reasonable to do.

[1] https://github.com/nextcloud/maps/blob/v1.1.0/appinfo/info.xml#L36
2023-08-14 23:43:20 +02:00
Maximilian Bosch 986c328056
nextcloud26: 26.0.4 -> 26.0.5
ChangeLog: https://nextcloud.com/changelog/#26-0-4
2023-08-14 15:57:10 +02:00
Maximilian Bosch 4fba496c6a
nextcloud25: 25.0.9 -> 25.0.10
ChangeLog: https://nextcloud.com/changelog/#25-0-10
2023-08-14 15:56:36 +02:00
Maximilian Bosch ff8121a615
nextcloudPackages*: update 2023-08-14 15:30:59 +02:00
Maximilian Bosch 7900a6ac9d
nextcloud: 27.0.1 -> 27.0.2
ChangeLog: https://nextcloud.com/changelog/#27-0-2
2023-08-14 15:30:09 +02:00
Maximilian Bosch 06bfbdbc6b
nextcloud*Packages: update 2023-07-21 19:31:25 +02:00
Robert Schütz 9167341e3f nextcloudPackages: update 2023-07-20 12:24:10 -07:00
Robert Schütz 450f783631 nextcloud27: 27.0.0 -> 27.0.1
Changelog: https://nextcloud.com/changelog/#27-0-1
2023-07-20 12:22:48 -07:00
Robert Schütz cf94e7529c nextcloud26: 26.0.3 -> 26.0.4
Changelog: https://nextcloud.com/changelog/#26-0-4
2023-07-20 12:20:15 -07:00
Robert Schütz 84232105ad nextcloud25: 25.0.8 -> 25.0.9
Changelog: https://nextcloud.com/changelog/#25-0-9
2023-07-20 12:13:06 -07:00
Matthieu Coudron c39f24e4df nextcloudApps: update package sets 2023-07-18 00:09:58 +02:00
Matthieu Coudron e44e079e80 nextcloud-apps.json: adds memories
an app that improves handling of photos in nextcloud with albums for instance
2023-07-18 00:09:58 +02:00
Robert Schütz 6b8186f405 nextcloud24: remove unused patch
nextcloud24 was removed in 430f1dcdbd
2023-07-13 05:29:19 -07:00
Maximilian Bosch 0b39fed163
nextcloud: 25.0.7 -> 25.0.8, 26.0.2 -> 26.0.3
ChangeLog: https://nextcloud.com/changelog/#26-0-3
ChangeLog: https://nextcloud.com/changelog/#25-0-8
2023-06-23 15:25:50 +02:00
Maximilian Bosch 67d1f272af
nextcloud: expose nextcloudXXPackages as nextcloudXX.packages
That way you can add packages like this in your `configuration.nix(8)`:

    extraApps = with config.services.nextcloud.package.packages.apps; {
      inherit calendar contacts;
    };

I.e. it's not necessary anymore to update the reference anymore when
upgrading to a new major.
2023-06-16 16:46:29 +02:00
Maximilian Bosch 3c7af053f2
nextcloudPackages: add cospend, user_saml & maps 2023-06-16 16:42:09 +02:00
Maximilian Bosch c92902f5b1
nextcloudPackages: update 27.json 2023-06-16 16:33:03 +02:00
Maximilian Bosch 5a2769d981
nextcloud27: init
Fixes #237560
2023-06-16 14:11:38 +02:00
Robert Schütz 1cb9ad9036 nextcloudPackages.apps.qownnotesapi: init at 23.6.0 2023-06-15 14:05:39 -07:00
Robert Schütz fcf1a7e037 nextcloudPackages: update 2023-06-15 13:16:14 -07:00
Robert Schütz 2e30678017 nextcloudPackages: update 2023-06-13 14:45:16 -07:00
Maximilian Bosch d78f882005
nextcloud25: 25.0.6 -> 25.0.7
ChangeLog: https://nextcloud.com/changelog/#25-0-7
2023-06-09 12:29:54 +02:00
Raito Bezarius 2ede3cb621 nextcloud26: 26.0.1 -> 26.0.2
https://nextcloud.com/changelog/#26-0-2
2023-05-27 18:03:58 +02:00
Robert Schütz 3caff70464 nextcloud-notify_push: 0.6.2 -> 0.6.3
Diff: https://github.com/nextcloud/notify_push/compare/v0.6.2...v0.6.3
2023-05-18 01:29:50 -07:00
Robert Schütz cac01149e7 nextcloudPackages: update 2023-05-18 01:29:50 -07:00
Robert Schütz 6301ccc20e nextcloudPackages: update 2023-04-23 12:31:14 -07:00
Maximilian Bosch 430f1dcdbd
nextcloud: remove nextcloud24, 25.0.5 -> 25.0.6, 26.0.0 -> 26.0.1 2023-04-20 11:34:54 +02:00
Robert Schütz 1370c12881 nextcloudPackages: update 2023-04-18 13:29:56 -07:00
Robert Schütz 5efbe9703d nextcloudPackages: update 2023-04-10 07:15:35 -07:00
Sandro 89b5be094b
Merge pull request #223785 from dotlambda/nextcloud-previewgenerator-init
nextcloudPackages.apps.previewgenerator: init at 5.2.1
2023-03-30 16:12:05 +02:00
Robert Schütz 9e87f7dbde nextcloud-notify_push: 0.6.1 -> 0.6.2
Diff: https://github.com/nextcloud/notify_push/compare/v0.6.1...v0.6.2
2023-03-29 15:50:11 -07:00
Robert Schütz 9c3a588fa0 nextcloudPackages.apps.previewgenerator: init at 5.2.1 2023-03-29 13:23:42 -07:00
Robert Schütz 8373cbec30 nextcloudPackages: update 2023-03-28 18:43:27 -07:00
Sandro Jäckel 282d3a0335
nextcloud-notify_push: 0.6.0 -> 0.6.1
Diff: https://github.com/nextcloud/notify_push/compare/v0.6.0...v0.6.1
2023-03-28 15:13:21 +02:00
Maximilian Bosch 8b4ba70235
nextcloud25: 25.0.4 -> 25.0.5
Changes: https://github.com/nextcloud/server/compare/v25.0.4...v25.0.5
2023-03-24 19:28:50 +01:00
Maximilian Bosch f9bf71d5f1
nextcloud24: 24.0.10 -> 24.0.11
Changes: https://github.com/nextcloud/server/compare/v24.0.10...v24.0.11
2023-03-24 19:28:25 +01:00
Maximilian Bosch 6a0b0a5de9 nextcloud: remove compat references to v23
This is not needed anymore because the version is EOL for almost a year
now and we don't even have the packages anymore, only the attributes for
compatibility for upgrades from older NixOS versions.
2023-03-22 22:37:17 +01:00
Raito Bezarius dd96b7d8b4 nextcloud26, nixos/web-apps/nextcloud: drop the autocreate db user patch and wire the default in the NixOS module 2023-03-22 22:37:16 +01:00
Raito Bezarius 2f9c4a7e74 nextcloud24Packages: update at various 2023-03-21 16:49:27 +01:00
Raito Bezarius 9a33d7d9db nextcloud25Packages: update at various 2023-03-21 16:49:19 +01:00
Raito Bezarius 1eddc824e2 nextcloud26Packages: init at various 2023-03-21 16:49:10 +01:00
Raito Bezarius 109166f87e nextcloud26: init at 26.0.0 2023-03-21 16:41:47 +01:00
Sandro Jäckel 017522f61a
nextcloud{24,25}Packages: update 2023-02-27 01:06:50 +01:00
Sandro Jäckel 7d530fdb99
nextcloud-notify_push: 0.5.0 -> 0.6.0
Diff: https://github.com/nextcloud/notify_push/compare/v0.5.0...v0.6.0
2023-02-25 20:34:20 +01:00
Sandro 83b8193be9
Merge pull request #201780 from helsinki-systems/init/nextcloud-notify-push
nextcloud-notify-push: init at 0.5.0
2023-02-24 12:10:02 +01:00
Robert Schütz 47e8ca4c43 nextcloud24Packages: update 2023-02-23 12:25:51 -08:00
Robert Schütz 07a6fb6a7c nextcloud25Packages: update 2023-02-23 12:25:46 -08:00
Robert Schütz a6be4eab6c nextcloud24: 24.0.9 -> 24.0.10
Changelog: https://nextcloud.com/changelog/#24-0-10
2023-02-23 11:13:15 -08:00
Robert Schütz 66164bded0 nextcloud25: 25.0.3 -> 25.0.4
Changelog: https://nextcloud.com/changelog/#25-0-4
2023-02-23 09:35:29 -08:00
ajs124 3b2a768f0f nextcloudPackages.notify_push: init 2023-02-21 15:05:16 +01:00
ajs124 80df9ff90d nextcloud-notify-push: init at 0.5.0 2023-02-21 15:05:16 +01:00
Sandro cef47da8e5
Revert "nextcloud26: init at 26.0.0beta1" 2023-01-28 22:01:42 +01:00
Colin Arnott 546924dfb0
nextcloud26Packages: init at various
While we had to lie to generate.sh in order to get nc26 into the
running, and there are a lot of apps that have not released a compatible
version yet, for the ones that have, we are adding them alongside
nextcloud 26.0.0beta1.
2023-01-27 15:28:42 +00:00
Colin Arnott aefbc9623b
nextcloud26: init at 26.0.0beta1
Because nextcloud ships their prerelease versions on a different url, we
are not parsing the version string to detect which path to use. We also
enabled and validated this change via nixos module testing.
2023-01-27 15:28:41 +00:00
Yaya ff2fd5b4d8 nextcloud25: 25.0.2 -> 25.0.3
https://nextcloud.com/changelog/#latest25
2023-01-17 11:00:20 +00:00
Yaya ef5f4cfd2e nextcloud24: 24.0.8 -> 24.0.9
https://nextcloud.com/changelog/#latest24
2023-01-17 10:58:47 +00:00
Colin Arnott c19fee7366
nextcloudPackages: init and update various
This includes the following new packages:

- files_texteditor
- files_markdown
- forms
- groupfolders
- impersonate
- registration
- spreed
- twofactor_nextcloud_notification
- twofactor_totp
- unsplash

And the following updated ones:

- bookmarks
- calendar
- contacts
- deck
- mail
- news
- polls
2023-01-10 11:06:20 +00:00
Naïm Favier 22ea90a4d8
.editorconfig: apply trailing whitespace removal
editorconfig-checker -disable-indent-size **/*.md
2022-12-29 01:40:50 +01:00
figsoda ec8cb34358 treewide: fix typos 2022-12-17 19:39:44 -05:00
Maximilian Bosch e7ee5bf36b
nextcloud25: 25.0.1 -> 25.0.2
ChangeLog: https://nextcloud.com/changelog/#25-0-2
Also we need two versions of the patch now because the code has changed
in the v25 branch.

Closes #205161
2022-12-09 12:39:59 +01:00
Maximilian Bosch d54ee5eaca
nextcloud24: 24.0.7 -> 24.0.8
ChangeLog: https://nextcloud.com/changelog/#24-0-8
2022-12-09 12:29:20 +01:00
Jonas Heinrich aec2518c5b nextcloudPackages: init 2022-11-15 07:17:35 -05:00
Maximilian Bosch 126d3848ce
nextcloud25: 25.0.0 -> 25.0.1 2022-11-03 14:35:39 +01:00
Maximilian Bosch d2fad4bebd
nextcloud24: 24.0.6 -> 24.0.7 2022-11-03 14:34:50 +01:00
Maximilian Bosch 40b7f52b8f
nextcloud25: init 2022-10-23 17:20:49 +02:00
Yaya 5234adeffe nextcloud: 23.0.9 -> 23.0.10, 24.0.5 -> 24.0.6
https://nextcloud.com/changelog/#latest23
https://nextcloud.com/changelog/#latest24
2022-10-06 14:51:46 +00:00
Maximilian Bosch 958914fab2
nextcloud: drop password regeneration behavior
While updating to 23.0.9/24.0.5[1], it was discovered that Nextcloud
silently changes db passwords in some cases (in case of MySQL in **all**
now).

This is inherently incompatible with our module. Further context is
provided in the patch file attached to this commit.

[1] https://github.com/NixOS/nixpkgs/pull/190646, see comments below
2022-09-10 15:23:39 +02:00
Maximilian Bosch 1801529961
nextcloud24: 24.0.4 -> 24.0.5
ChangeLog: https://nextcloud.com/changelog/#24-0-5
2022-09-10 11:57:50 +02:00
Maximilian Bosch 0e3e28fef0
nextcloud23: 23.0.8 -> 23.0.9
ChangeLog: https://nextcloud.com/changelog/#23-0-9
2022-09-10 11:57:47 +02:00
Yaya 333c145d41 nextcloud: 23.0.7 -> 23.0.8, 24.0.3 -> 24.0.4
https://nextcloud.com/changelog/#latest23
https://nextcloud.com/changelog/#latest24
2022-08-11 09:11:50 +00:00
Franz Pletz c092a502df
treewide: remove myself as maintainer from some pkgs
Only packages I'm not able to maintain anymore as of today. Mostly
because I'm haven't been using them in a while.
2022-08-03 14:17:51 +02:00
Yaya 33bf1e6127 nextcloud: 23.0.6 -> 23.0.7
https://nextcloud.com/changelog/#latest23
2022-07-25 11:18:15 +02:00
Bernardo Meurer aea4ab4fd7 nextcloud24: 24.0.2 -> 24.0.3 2022-07-18 18:07:35 -07:00
Robbert Gurdeep Singh 376dfe8766 nextcloud: 23.0.5 -> 23.0.6, 24.0.1 -> 24.0.2 2022-06-21 08:40:33 +02:00
Maximilian Bosch 33c44a1031
nextcloud22: drop
Version 22 will be EOLed in July 2022[1] and we shouldn't have
unsupported software in the soon-to-be-released NixOS 22.05, hence
dropping it already.

[1] https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule
2022-05-21 18:34:28 +02:00
Yaya d8d36fa0ed nextcloud: 22.2.7 -> 22.2.8, 23.0.4 -> 23.0.5, 24.0.0 -> 24.0.1 2022-05-20 12:21:59 +00:00
Colin Arnott ecd8d42397
nextcloud24: init at 24.0.0
Added Nextcloud 23 and set it as the default Nextcloud version for the
NixOS module. Added PHP 8.1 as an option for phpPackage and default for
Nextcloud ≥ 24.
2022-05-06 00:37:39 +00:00
Yaya 7dc9954956 nextcloud: 22.2.6 -> 22.2.7, 23.0.3 -> 23.0.4 2022-04-21 16:36:43 +00:00