Commit Graph

18 Commits

Author SHA1 Message Date
Dominique Martinet
cb5483a806 cryptpad: fix darwin build
MacOS filesystem is not case sensitive and file collisions break
hash, this should fix that problem.

Co-authored-by: eljamm <fedi.jamoussi@protonmail.ch>
2025-11-11 19:28:25 +09:00
Dominique Martinet
0bafd706ab cryptpad: only install onlyoffice >= v7
We apparently don't need older versions, only install what we need.

Keep it configurable for now but we might remove older versions from
onlyoffice_versions and remove the old installation method if there
would be no reason to install older versions
(older versions are no longer tested so would eventually become
outdated, even if they should not change much as the older versions
don't evolve)
2025-11-11 19:28:25 +09:00
Dominique Martinet
cb36793826 cryptpad: restore install-onlyoffice.sh
fix script --check mode and use it
2025-11-10 18:53:35 +09:00
Dominique Martinet
c00f7f40c6 cryptpad: 2025.6.0 -> 2025.9.0 2025-11-10 18:53:35 +09:00
themadbit
447aaff2fd cryptpad: 2025.3.0 -> 2025.6.0
Signed-off-by: themadbit <marktanui75@gmail.com>
2025-11-05 07:59:25 +03:00
mivorasu
1e377fedf7 treewide: strip trailing punctuation from description strings 2025-07-22 19:09:42 +00:00
Dominique Martinet
9d64a0b452 cryptpad: fix broken symlink that renders cryptpad unusable
This fixes a broken symlink after install; there probably is a better
way to do it but that'll work and ideally new test will catch this
breaking again.

Fixes: #404114
2025-05-28 12:19:23 +09:00
Dominique Martinet
25363b9ab1 cryptpad: 2024.12.0 -> 2025.3.0
On update cryptpad tries to run a migration script from run dir as
./scripts... so add a link for scripts as well

Fixes: #404114
2025-05-20 11:21:21 +09:00
Dominique Martinet
f8163822d8 cryptpad: use full path for ln in wrapper script
This allows running cryptpad even if coreutils is not in PATH

Fixes: #408753
2025-05-20 11:21:21 +09:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
R. Ryantm
0082779f06 cryptpad: 2024.9.1 -> 2024.12.0 2024-12-18 03:13:54 +00:00
Jeremy Fleischman
ca965ec64f cryptpad: verify that we've installed the correct versions of OnlyOffice
With this change, I saw the following when I built cryptpad:

```
$ nix build .#cryptpad
...
       > v1 was up to date
       > v2b was up to date
       > v4 was up to date
       > v5 was up to date
       > v6 was up to date
       > Wrong commit of /nix/store/1m2d8c4fppfav7n2s4fvali3iira2ky2-cryptpad-2024.9.1/lib/node_modules/cryptpad/www/common/onlyoffice/dist/v7 found. Expected: e1267803. Actual: 9d8b914a
```

This reproduces the issue @martinetd noticed in
<https://github.com/NixOS/nixpkgs/pull/365126#discussion_r1885015234>.

I then addressed these issue by fixing the commit we use for `v7` of
OnlyOffice.
2024-12-16 00:43:40 -08:00
Jeremy Fleischman
d667d349bb cryptpad: add missing x2t.js
This dependency is necessary for cryptpad to convert between various
document formats. I ran into this when trying to import a `.xlsx` file
into cryptpad.

This code was inspired by the [`install_x2t` function in upstream's
`install-onlyoffice.sh` script](https://github.com/cryptpad/cryptpad/blob/2024.9.1/install-onlyoffice.sh#L37).
2024-12-15 21:00:06 -08:00
R. Ryantm
e8005c58f8 cryptpad: 2024.9.0 -> 2024.9.1 2024-11-14 01:51:32 +00:00
R. Ryantm
9d3aedf208 cryptpad: 2024.6.1 -> 2024.9.0 2024-10-03 05:56:53 +00:00
R. Ryantm
34bd07132d cryptpad: 2024.6.0 -> 2024.6.1 2024-07-26 13:22:04 +00:00
Dominique Martinet
5f020a4166 cryptpad: init at 2024.6.0
This re-adds the cryptpad package that was removed due to bower
packaging being insane.

upstream improved that, so add the package back.

Link: https://github.com/cryptpad/cryptpad/issues/295
Co-authored-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
2024-07-24 16:14:15 +09:00