Compare commits

...

185 Commits

Author SHA1 Message Date
b110f12655 New test release v1.10.11-sc.0.test.3 2022-05-09 09:37:17 +02:00
dbda42b528 New test release v1.10.11-sc.0.test.2 2022-05-01 19:14:00 +02:00
921f3c5a0a New test release v1.10.11-sc.0.test.1 2022-04-30 13:52:59 +02:00
72166a9a90 Remove reskindex 2022-04-30 13:48:37 +02:00
3b2da6b386 New test release v1.10.10-sc.0.test.3 2022-04-30 11:59:31 +02:00
982c2ac09b New test release v1.10.10-sc.0.test.2 2022-04-30 11:58:48 +02:00
58e2f34b63 New test release v1.10.10-sc.0.test.1 2022-04-16 21:36:25 +02:00
3d67db61b6 Use signed tags 2022-04-16 21:36:25 +02:00
ad2fc85f24 Translated using Weblate (Swedish)
Currently translated at 100.0% (44 of 44 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/sv/
2022-04-16 21:36:25 +02:00
a20f05c933 Translated using Weblate (Indonesian)
Currently translated at 100.0% (44 of 44 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/id/
2022-04-16 21:36:25 +02:00
3b5d16de82 Translated using Weblate (Czech)
Currently translated at 100.0% (44 of 44 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/cs/
2022-04-16 21:36:25 +02:00
7b4678e91d Add Debian signing key to readme 2022-04-16 16:13:26 +02:00
fe615fa099 New test release v1.10.8-sc.0.test.2 2022-04-01 17:34:31 +02:00
a0f99d1c86 New test release v1.10.8-sc.0.test.1 2022-04-01 13:50:19 +02:00
1e90e778bb Add new string for disabling home meta space 2022-04-01 13:48:40 +02:00
0bc5275d14 New test release v1.10.7-sc.0.test.1 2022-03-17 11:14:21 +01:00
79ac866bed Translated using Weblate (Indonesian)
Currently translated at 100.0% (43 of 43 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/id/
2022-03-16 23:52:58 +01:00
bcf9db8b8f Translated using Weblate (Swedish)
Currently translated at 100.0% (43 of 43 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/sv/
2022-03-07 11:44:58 +01:00
dd75a20e7a Translated using Weblate (German)
Currently translated at 100.0% (43 of 43 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/de/
2022-03-07 11:44:58 +01:00
c07881ba34 Translated using Weblate (Czech)
Currently translated at 100.0% (43 of 43 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/cs/
2022-03-07 11:44:58 +01:00
3957463f72 New test release v1.10.6-sc.0.test.3 2022-03-07 09:57:07 +01:00
d0b9a59e59 Let version bump scripts add tags 2022-03-07 09:55:58 +01:00
40694fb207 sqlcipher now statically linked 2022-03-07 09:34:07 +01:00
5a232a27db New test release v1.10.6-sc.0.test.2 2022-03-05 01:40:52 +01:00
602d6bcc91 Add string 2022-03-05 01:36:42 +01:00
768b648981 New test release v1.10.6-sc.0.test.1 2022-03-05 01:32:50 +01:00
909043215f Translated using Weblate (Czech)
Currently translated at 100.0% (42 of 42 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/cs/
2022-03-02 17:44:56 +01:00
7228bf7fee Translated using Weblate (Indonesian)
Currently translated at 100.0% (42 of 42 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/id/
2022-03-01 09:44:56 +01:00
84be27839c Translated using Weblate (Swedish)
Currently translated at 100.0% (42 of 42 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/sv/
2022-03-01 09:44:56 +01:00
c655803783 New release v1.10.4-sc.1 2022-02-27 19:45:35 +01:00
cf10ad7893 Add string for YouTube embed player option 2022-02-27 19:37:37 +01:00
edb8bd0a58 Merge remote-tracking branch 'weblate/sc' into sc 2022-02-27 19:35:03 +01:00
605966fc32 Revert "Try Element nightly AUR search in encrypted rooms fix"
This reverts commit fd8bca4d20.
2022-02-27 19:24:46 +01:00
db1d3e4e8a Reset AUR bin pkgrel 2022-02-26 11:39:22 +01:00
74bb708796 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (41 of 41 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/pt_BR/
2022-02-17 21:39:01 +01:00
3a8eecb023 New test release v1.10.3-sc.0.test.1 2022-02-15 01:36:47 +01:00
a689c01b0e Add map_style_url to sc config 2022-02-15 00:50:29 +01:00
7a96f32c3f New test release v1.10.1-sc.0.test.1 2022-02-01 19:52:34 +01:00
867ca2ceaa local-pkgbuild: Actually fix search in encrypted rooms 2022-01-31 23:52:13 +01:00
57be42182b New test release v1.10.0-sc.0.test.1 2022-01-31 23:19:40 +01:00
47e56badc4 New test release v1.9.9-sc.0.test.1 2022-01-26 23:47:55 +01:00
9d595d6087 Allow react sdk theme.sh being run without commit 2022-01-26 23:47:11 +01:00
c4e17a1bc4 Let sc.0.test.0 be the initial version after a merge 2022-01-17 21:27:44 +01:00
3c9487541b New release v1.9.8-sc.1 2021-12-31 03:48:23 +01:00
4a52399ec2 Always run setup to get yarn links in place (again) 2021-12-30 01:20:07 +01:00
c27c617d14 New test release v1.9.8-sc.0.test.3 2021-12-30 00:39:29 +01:00
764f0767c7 sc update announcement room toast now uses hardcoded alias 2021-12-30 00:39:06 +01:00
fd8bca4d20 Try Element nightly AUR search in encrypted rooms fix
https://aur.archlinux.org/cgit/aur.git/commit/?h=element-desktop-nightly-bin&id=ca89fc1f025d30512c53abbe87cff61c7739c69b
2021-12-27 22:35:40 +01:00
52bfca57fb New test release v1.9.8-sc.0.test.2 2021-12-27 22:30:13 +01:00
5dfc140993 Let version bumps autocommit everything 2021-12-27 22:29:51 +01:00
50dde2a683 Revert "Every build after a merge is a new test build"
This reverts commit 31c746c5d2.
2021-12-27 22:29:13 +01:00
8ada69cbcd Translated using Weblate (Persian)
Currently translated at 100.0% (1 of 1 strings)

Translation: SchildiChat/element-desktop
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/element-desktop/fa/
2021-12-20 01:06:48 +01:00
5aaedf0f19 Update submodules 2021-12-13 17:05:52 +01:00
a03a0dd01e New release v1.9.7-sc.1 2021-12-13 16:55:54 +01:00
5a04ec7c3c New test release v1.9.6-sc.0.test.3 2021-12-13 16:15:38 +01:00
718c2a57bd New test release v1.9.6-sc.0.test.2 2021-12-12 17:19:12 +01:00
5abd379edb Update Debian dependencies for bullseye 2021-12-10 13:27:45 +01:00
9e03657ec4 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (41 of 41 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/zh_Hans/
2021-12-05 21:06:44 +01:00
05e8426172 New release v1.9.5-sc.2 2021-12-03 17:28:50 +01:00
8bbae92dce New release v1.9.5-sc.1 2021-12-03 16:27:05 +01:00
8d64b69523 Translated using Weblate (Indonesian)
Currently translated at 100.0% (41 of 41 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/id/
2021-12-03 14:06:43 +01:00
b3623fea39 Translated using Weblate (Czech)
Currently translated at 100.0% (41 of 41 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/cs/
2021-11-27 14:06:42 +01:00
f5d6de5a99 Added translation using Weblate (Bulgarian) 2021-11-26 11:26:24 +01:00
a574c196ca Added translation using Weblate (Bulgarian) 2021-11-26 11:26:20 +01:00
2b11d57d03 Added translation using Weblate (Bulgarian) 2021-11-26 11:26:17 +01:00
ae7e3c11b7 Translated using Weblate (German)
Currently translated at 100.0% (41 of 41 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/de/
2021-11-26 01:06:41 +01:00
eebf90e664 Translated using Weblate (Swedish)
Currently translated at 100.0% (41 of 41 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/sv/
2021-11-19 14:06:39 +01:00
74d6ac6092 Translated using Weblate (Czech)
Currently translated at 100.0% (41 of 41 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/cs/
2021-11-19 14:06:38 +01:00
71fbf37b8a Translated using Weblate (Indonesian)
Currently translated at 100.0% (1 of 1 strings)

Translation: SchildiChat/element-desktop
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/element-desktop/id/
2021-11-17 18:11:30 +01:00
c91c02231d Translated using Weblate (Indonesian)
Currently translated at 100.0% (38 of 38 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/id/
2021-11-17 18:11:30 +01:00
c1397c5ff1 Add string overlays for mark as (un)read 2021-11-17 16:27:56 +01:00
6507aa195d Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1 of 1 strings)

Translation: SchildiChat/element-desktop
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/element-desktop/zh_Hant/
2021-11-07 23:06:35 +01:00
80d380aa18 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (38 of 38 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/zh_Hans/
2021-11-07 23:06:35 +01:00
a45d2ec0dc Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (1 of 1 strings)

Translation: SchildiChat/element-desktop
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/element-desktop/zh_Hans/
2021-11-07 23:06:34 +01:00
bab64d3a11 Added translation using Weblate (Chinese (Traditional)) 2021-11-06 22:19:51 +01:00
1c3f68a0a2 Added translation using Weblate (Chinese (Traditional)) 2021-11-06 22:19:50 +01:00
43bd5860f8 Added translation using Weblate (Chinese (Traditional)) 2021-11-06 22:19:48 +01:00
b952f0c90c Added translation using Weblate (Chinese (Simplified)) 2021-11-06 22:15:35 +01:00
9bc7439399 Added translation using Weblate (Chinese (Simplified)) 2021-11-06 22:15:27 +01:00
59e8830550 Added translation using Weblate (Chinese (Simplified)) 2021-11-06 22:15:24 +01:00
61e5e05bf7 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1 of 1 strings)

Translation: SchildiChat/element-desktop
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/element-desktop/pt_BR/
2021-10-26 01:06:31 +02:00
7bbeed7e44 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (38 of 38 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/pt_BR/
2021-10-26 01:06:30 +02:00
a70fbc26d5 Translated using Weblate (French)
Currently translated at 60.5% (23 of 38 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/fr/
2021-10-24 01:06:29 +02:00
2503792cdb Translated using Weblate (Russian)
Currently translated at 100.0% (38 of 38 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/ru/
2021-10-17 01:04:31 +02:00
e72f0869d8 Translated using Weblate (Swedish)
Currently translated at 94.7% (36 of 38 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/sv/
2021-10-17 01:04:31 +02:00
7f11a25859 Translated using Weblate (French)
Currently translated at 21.0% (8 of 38 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/fr/
2021-10-17 01:04:31 +02:00
5c3fe626cd bash increment failed this way for whatever reason 2021-10-17 00:49:17 +02:00
24803095bb Don't rely on upstream/master 2021-10-16 23:46:56 +02:00
31c746c5d2 Every build after a merge is a new test build 2021-10-14 18:11:21 +02:00
079575eb20 Translated using Weblate (Lithuanian)
Currently translated at 50.0% (19 of 38 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/lt/
2021-10-11 16:24:31 +02:00
db8da648b5 Added translation using Weblate (Indonesian) 2021-10-11 16:24:31 +02:00
9240a11f59 Added translation using Weblate (Indonesian) 2021-10-11 16:24:31 +02:00
57a5141051 Added translation using Weblate (Indonesian) 2021-10-11 16:24:31 +02:00
37622b25ea Translated using Weblate (Czech)
Currently translated at 100.0% (38 of 38 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/cs/
2021-10-11 16:24:31 +02:00
c0e608b2a9 Merge pull request #106 from yu-re-ka/feature-unvendor-yarn2nix
nix: update nixpkgs, unvendor yarn2nix
2021-10-11 15:30:38 +02:00
e153a52c84 nix: update nixpkgs, unvendor yarn2nix 2021-10-10 23:36:06 +02:00
50d8b024b6 Add helper scripts 2021-10-08 17:03:28 +02:00
bfb1270131 New release v1.9.0-sc.1 2021-10-07 23:07:18 +02:00
5dcd48b4d5 Translated using Weblate (German)
Currently translated at 100.0% (38 of 38 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/de/
2021-10-07 23:00:31 +02:00
bd2d3d27a3 Add some sc specific strings 2021-10-07 22:50:36 +02:00
a1dcd4c7a3 Merge remote-tracking branch 'weblate/sc' into sc 2021-09-28 17:27:07 +02:00
32a1898fc0 Use new helpers in merge script 2021-09-28 17:26:53 +02:00
d674744588 Add version helpers
Close #97
Co-authored-by: Finn Behrens <me@kloenk.dev>
2021-09-28 17:23:48 +02:00
8ecdbb82b0 Add helpers for overlaying package.json 2021-09-28 12:46:07 +02:00
a2d5ca9656 Added translation using Weblate (Vietnamese) 2021-09-27 11:05:12 +02:00
307541ac00 Added translation using Weblate (Vietnamese) 2021-09-27 11:05:10 +02:00
11cef45048 Added translation using Weblate (Vietnamese) 2021-09-27 11:05:09 +02:00
312b0ef380 Translated using Weblate (German)
Currently translated at 100.0% (33 of 33 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/de/
2021-09-23 17:54:15 +02:00
9ca2ebb64f Translated using Weblate (Czech)
Currently translated at 100.0% (33 of 33 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/cs/
2021-09-23 17:54:15 +02:00
a88415936c Translated using Weblate (Czech)
Currently translated at 100.0% (29 of 29 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/cs/
2021-09-23 17:22:27 +02:00
b3b5688a42 Translated using Weblate (Swedish)
Currently translated at 93.1% (27 of 29 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/sv/
2021-09-23 17:22:27 +02:00
Vib
48fca325c9 Translated using Weblate (Romanian)
Currently translated at 89.6% (26 of 29 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/ro/
2021-09-23 17:22:27 +02:00
e79c17cb87 Add sc specific strings 2021-09-23 17:21:51 +02:00
4f8f3eebaa New release v1.8.5-sc1 2021-09-21 20:56:44 +02:00
caaee3f4bf Restructure release targets and add rpm 2021-09-21 15:18:07 +02:00
bd63523d99 Make the different branches even more clear 2021-09-21 15:04:35 +02:00
c5d87b2e47 Information about branches 2021-09-21 14:48:36 +02:00
bf43efd0f3 Fetch upstream for latest strings 2021-09-18 00:21:21 +02:00
737b93d446 Translated using Weblate (German)
Currently translated at 100.0% (29 of 29 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/de/
2021-09-17 13:05:58 +02:00
af167b4bf0 Translated using Weblate (German)
Currently translated at 100.0% (29 of 29 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/de/
2021-09-17 12:57:46 +02:00
Vib
4149d72d02 Translated using Weblate (Romanian)
Currently translated at 53.3% (8 of 15 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/ro/
2021-09-17 12:57:46 +02:00
5214a1795e User name color modes: In direct chats --> For people 2021-09-17 12:57:29 +02:00
71535bf430 Add some sc specific strings 2021-09-17 12:33:15 +02:00
Vib
62f491e1c8 Translated using Weblate (Romanian)
Currently translated at 100.0% (1 of 1 strings)

Translation: SchildiChat/element-desktop
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/element-desktop/ro/
2021-09-16 09:17:18 +02:00
Vib
d3a6bba0d1 Translated using Weblate (Romanian)
Currently translated at 6.6% (1 of 15 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/ro/
2021-09-16 09:17:18 +02:00
39d2d7eb6b Added translation using Weblate (Romanian) 2021-09-16 09:17:18 +02:00
cbcbe0b6f1 Added translation using Weblate (Romanian) 2021-09-16 09:17:18 +02:00
7ad043a3e2 Added translation using Weblate (Romanian) 2021-09-16 09:17:18 +02:00
582177aaec Translated using Weblate (Swedish)
Currently translated at 100.0% (1 of 1 strings)

Translation: SchildiChat/element-desktop
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/element-desktop/sv/
2021-09-16 09:17:18 +02:00
001b397053 Translated using Weblate (Swedish)
Currently translated at 100.0% (15 of 15 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/sv/
2021-09-16 09:17:18 +02:00
953232860f Translated using Weblate (Italian)
Currently translated at 100.0% (1 of 1 strings)

Translation: SchildiChat/element-desktop
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/element-desktop/it/
2021-09-16 09:17:18 +02:00
a2f955a39a Translated using Weblate (Italian)
Currently translated at 73.3% (11 of 15 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/it/
2021-09-16 09:17:18 +02:00
550085f7d6 Translated using Weblate (German)
Currently translated at 100.0% (15 of 15 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/de/
2021-09-16 09:17:18 +02:00
61ddf415f4 Translated using Weblate (Czech)
Currently translated at 100.0% (15 of 15 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/cs/
2021-09-16 09:17:18 +02:00
769579b766 Merge pull request #98 from yu-re-ka/feature/vendor-yarn2nix
nix: temporarily vendor yarn2nix
2021-09-16 09:17:11 +02:00
5ab48849f7 nix: temporarily vendor yarn2nix 2021-09-15 21:06:18 +02:00
049377ae8b Added translation using Weblate (Italian) 2021-09-15 10:08:31 +02:00
c301b602f8 Added translation using Weblate (Italian) 2021-09-15 10:08:31 +02:00
f2cb4fd658 Added translation using Weblate (Italian) 2021-09-15 10:08:31 +02:00
1ff4e15d78 Added translation using Weblate (Swedish) 2021-09-15 10:08:31 +02:00
501c88aae8 Added translation using Weblate (Swedish) 2021-09-15 10:08:31 +02:00
51d92e8f54 Added translation using Weblate (Swedish) 2021-09-15 10:08:31 +02:00
f0c2fa1d85 Merge pull request #95 from nyantec/flake-default-app
flake: add default apps
2021-09-15 09:31:16 +02:00
7fab0738a7 flake: add default apps
Signed-off-by: Finn Behrens <me@kloenk.dev>
2021-09-15 09:27:53 +02:00
b0fa36abac Not sc specific string 2021-09-14 12:08:35 +02:00
b4b17cc015 Really fix flathub deploy script 2021-09-14 01:36:17 +02:00
e45b9c2479 Update submodules 2021-09-13 23:02:11 +02:00
d39696f776 Merge pull request #92 from nyantec/makefile-mac-universal
fix macOS dmg output file in Make
2021-09-13 19:33:29 +02:00
1bf339dcb1 fix macOS dmg output file in Make
Signed-off-by: Finn Behrens <me@kloenk.dev>
2021-09-13 19:26:52 +02:00
d730a87a59 New release v1.8.4-sc1 2021-09-13 19:14:56 +02:00
e900562d5e Fix flathub deploy script 2021-09-13 19:14:27 +02:00
c827d5af18 readme: Correct typo 2021-09-13 16:13:20 +02:00
d8af01d36a Makefile: Add rpm targets 2021-09-13 16:09:53 +02:00
519801c059 Add some new sc specific strings 2021-09-13 15:04:18 +02:00
cf2ba283e8 Makefile: Add -f to bom.lock clean 2021-09-13 08:49:34 +02:00
898ba1215e Merge pull request #89 from nyantec/bom
add bom.lock makefile target
2021-09-12 10:51:55 +02:00
29abb3e567 add bom.lock makefile target
Signed-off-by: Finn Behrens <me@kloenk.dev>
2021-09-11 17:50:28 +02:00
2294770442 Merge pull request #87 from yu-re-ka/feature-nix-flake
add Nix flake
2021-09-07 19:54:18 +02:00
ab496bbf96 add Nix flake 2021-09-07 18:44:33 +02:00
8bcb23f52f Translated using Weblate (Dutch)
Currently translated at 100.0% (1 of 1 strings)

Translation: SchildiChat/element-desktop
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/element-desktop/nl/
2021-09-07 13:06:15 +02:00
f9a9e091d3 Translated using Weblate (Dutch)
Currently translated at 100.0% (10 of 10 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/nl/
2021-09-07 13:06:14 +02:00
99d6a3790c Translated using Weblate (Russian)
Currently translated at 100.0% (1 of 1 strings)

Translation: SchildiChat/element-desktop
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/element-desktop/ru/
2021-08-17 17:18:14 +02:00
2aedca9fb7 Translated using Weblate (Russian)
Currently translated at 100.0% (10 of 10 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/ru/
2021-08-17 17:18:14 +02:00
1a305bab96 Translated using Weblate (Czech)
Currently translated at 100.0% (10 of 10 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/cs/
2021-08-17 17:18:14 +02:00
0206873c18 Change github release target to master 2021-08-17 17:16:52 +02:00
7a61dc1da8 Merge pull request #83 from nyantec/makefile
add icns and mas target to makefile
2021-08-13 18:36:31 +02:00
98c8da3c34 add macOS signing info to README.md 2021-08-13 18:26:05 +02:00
a4436f462a Update submodules 2021-08-13 17:03:20 +02:00
17ae7bf98b add icns and mas target to makefile 2021-08-12 22:09:59 +02:00
4aa0bbec25 Makefile: Let debian target only build Debian 2021-07-20 20:31:29 +02:00
bdac1e4334 Update submodules 2021-07-20 20:25:36 +02:00
b447e3f45d Makefile: Fix renamed yarn script 2021-07-20 20:14:38 +02:00
552ab5913f i18n: Run yarn i18n in submodules for each before overlaying 2021-07-20 19:54:18 +02:00
046b7c02fd Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (10 of 10 strings)

Translation: SchildiChat/matrix-react-sdk
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/matrix-react-sdk/nb_NO/
2021-07-20 17:55:16 +02:00
4a68ab4f94 Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (1 of 1 strings)

Translation: SchildiChat/element-desktop
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/element-desktop/nb_NO/
2021-07-20 17:55:16 +02:00
90195daa63 Added translation using Weblate (Norwegian Bokmål) 2021-07-20 03:32:41 +02:00
54eaabde39 Added translation using Weblate (Norwegian Bokmål) 2021-07-20 03:32:39 +02:00
fa9153bbca Added translation using Weblate (Norwegian Bokmål) 2021-07-20 03:32:38 +02:00
ca8629d4e5 Added translation using Weblate (Persian) 2021-07-12 11:25:42 +02:00
b64bd20b15 Added translation using Weblate (Persian) 2021-07-12 11:25:39 +02:00
e72dfceb12 Added translation using Weblate (Persian) 2021-07-12 11:25:37 +02:00
9cc3cdc3dc Translated using Weblate (Polish)
Currently translated at 100.0% (1 of 1 strings)

Translation: SchildiChat/element-desktop
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/element-desktop/pl/
2021-07-11 07:08:47 +02:00
460458ca0a Added translation using Weblate (Polish) 2021-07-10 17:18:21 +02:00
d56fac4ea7 Added translation using Weblate (Polish) 2021-07-10 17:18:20 +02:00
2b06a6cbd8 Added translation using Weblate (Polish) 2021-07-10 17:18:11 +02:00
68 changed files with 1176 additions and 95 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
release.mk
/release
/local-pkgbuild
bom.lock

View File

@ -1,5 +1,6 @@
.PHONY: all setup regenerate-i18n reskindex web desktop-common linux debian pacman local-pkgbuild local-pkgbuild-install windows windows-portable
.PHONY: web-release debian-release pacman-release windows-setup-release windows-unpacked-release windows-portable-release windows-release
.PHONY: all setup regenerate-i18n web desktop-common linux debian rpm pacman local-pkgbuild local-pkgbuild-install windows windows-portable
.PHONY: web-release debian-release rpm-release pacman-release windows-setup-release windows-unpacked-release windows-portable-release windows-release
.PHONY: macos-common macos macos-mas macos-release macos-mas-release icns
.PHONY: clean
CFGDIR ?= configs/sc
@ -19,6 +20,7 @@ OUT_WEB := $(WEB_OUT)/$(WEB_APP_NAME)-$(WEB_OUT_DIST_VERSION).tar.gz
DESKTOP_OUT := element-desktop/dist
OUT_DEB64 := $(DESKTOP_OUT)/$(DESKTOP_APP_NAME)_$(VERSION)_amd64.deb
OUT_RPM64 := $(DESKTOP_OUT)/$(DESKTOP_APP_NAME)-$(VERSION).x86_64.rpm
OUT_PAC64 := $(DESKTOP_OUT)/$(DESKTOP_APP_NAME)-$(VERSION).pacman
OUT_APPIMAGE64 := $(DESKTOP_OUT)/$(PRODUCT_NAME)-$(VERSION).AppImage
OUT_TARXZ64 := $(DESKTOP_OUT)/$(DESKTOP_APP_NAME)-$(VERSION).tar.xz
@ -27,26 +29,39 @@ OUT_WIN64_PORTABLE := $(DESKTOP_OUT)/$(PRODUCT_NAME)\ $(VERSION).exe
OUT_WIN64_BETTER_NAME := $(PRODUCT_NAME)_Setup_v$(VERSION).exe
OUT_WIN64_UNPACKED_BETTER_NAME := $(PRODUCT_NAME)_win-unpacked_v$(VERSION).zip
OUT_WIN64_PORTABLE_BETTER_NAME := $(PRODUCT_NAME)_win-portable_v$(VERSION)
OUT_MACOS := $(DESKTOP_OUT)/$(PRODUCT_NAME)-$(VERSION).dmg
OUT_MACOS := $(DESKTOP_OUT)/$(PRODUCT_NAME)-$(VERSION)-universal.dmg
OUT_MACOS_MAS := $(DESKTOP_OUT)/mas-universal/$(PRODUCT_NAME).app
RELEASE_DIR := release
CURRENT_RELEASE_DIR := $(RELEASE_DIR)/$(VERSION)
# macOS Codesigning
CSC_IDENTITY_AUTO_DISCOVERY ?= false
NOTARIZE_APPLE_ID ?=
CSC_NAME ?=
-include release.mk
setup:
if [ ! -L "element-desktop/webapp" ]; then ./setup.sh; fi
./setup.sh
element-desktop/build/SchildiChat.xcassets/SchildiChat.iconset: $(wildcard element-desktop/build/SchildiChat.xcassets/SchildiChat.iconset/*)
element-desktop/build/icon.icns: element-desktop/build/SchildiChat.xcassets/SchildiChat.iconset
iconutil -c icns -o $@ $<
element-desktop/build/SchildiChat.xcassets/SchildiChatDMG.iconset: $(wildcard element-desktop/build/SchildiChat.xcassets/SchildiChatDMG.iconset/*)
element-desktop/build/dmg.icns: element-desktop/build/SchildiChat.xcassets/SchildiChatDMG.iconset
iconutil -c icns -o $@ $<
icns: element-desktop/build/icon.icns element-desktop/build/dmg.icns
regenerate-i18n: setup
./regenerate_i18n.sh
reskindex: setup
$(YARN) --cwd matrix-react-sdk reskindex
$(YARN) --cwd element-web reskindex
web: export DIST_VERSION=$(WEB_OUT_DIST_VERSION)
web: setup reskindex
web: setup
cp $(CFGDIR)/config.json element-web/
$(YARN) --cwd element-web dist
echo "$(VERSION)" > element-web/webapp/version
@ -55,26 +70,41 @@ desktop-common: web
$(YARN) --cwd element-desktop run fetch --cfgdir ''
$(YARN) --cwd element-desktop run build:native
macos-common: web icns
$(YARN) --cwd element-desktop run fetch --cfgdir ''
$(YARN) --cwd element-desktop run build:native:universal
linux: desktop-common
$(YARN) --cwd element-desktop run build64 --linux deb pacman tar.xz
$(YARN) --cwd element-desktop run build:64 --linux deb pacman tar.xz
debian: desktop-common
$(YARN) --cwd element-desktop run build64 --linux deb pacman tar.xz
$(YARN) --cwd element-desktop run build:64 --linux deb
rpm: desktop-common
$(YARN) --cwd element-desktop run build:64 --linux rpm
pacman: desktop-common
$(YARN) --cwd element-desktop run build64 --linux pacman
$(YARN) --cwd element-desktop run build:64 --linux pacman
appimage: desktop-common
$(YARN) --cwd element-desktop run build64 --linux AppImage
$(YARN) --cwd element-desktop run build:64 --linux AppImage
windows: desktop-common
$(YARN) --cwd element-desktop run build64 --windows nsis
$(YARN) --cwd element-desktop run build:64 --windows nsis
windows-portable: desktop-common
$(YARN) --cwd element-desktop run build64 --windows portable
$(YARN) --cwd element-desktop run build:64 --windows portable
macos: desktop-common
$(YARN) --cwd element-desktop run build --mac dmg -c.mac.identity=null
macos: macos-common
export CSC_IDENTITY_AUTO_DISCOVERY
export NOTARIZE_APPLE_ID
export CSC_NAME
$(YARN) --cwd element-desktop run build:universal --mac dmg
macos-mas: macos-common
export NOTARIZE_APPLE_ID
export CSC_NAME
$(YARN) --cwd element-desktop run build:universal --mac mas
local-pkgbuild: debian
./create_local_pkgbuild.sh $(VERSION) $(DESKTOP_APP_NAME) $(PRODUCT_NAME) $(OUT_DEB64)
@ -90,6 +120,10 @@ debian-release: debian
mkdir -p $(CURRENT_RELEASE_DIR)
cp $(OUT_DEB64) $(CURRENT_RELEASE_DIR)
rpm-release: rpm
mkdir -p $(CURRENT_RELEASE_DIR)
cp $(OUT_RPM64) $(CURRENT_RELEASE_DIR)
pacman-release: pacman
mkdir -p $(CURRENT_RELEASE_DIR)
cp $(OUT_PAC64) $(CURRENT_RELEASE_DIR)
@ -115,6 +149,14 @@ macos-release: macos
mkdir -p $(CURRENT_RELEASE_DIR)
cp $(OUT_MACOS) $(CURRENT_RELEASE_DIR)
macos-mas-release: macos-mas
mkdir -p $(CURRENT_RELEASE_DIR)
cp $(OUT_MACOS_MAS) $(CURRENT_RELEASE_DIR)
bom.lock: element-desktop/yarn.lock element-web/yarn.lock matrix-js-sdk/yarn.lock matrix-react-sdk/yarn.lock
./build-bom.sh
bom: bom.lock
clean:
$(YARN) --cwd matrix-js-sdk clean
$(YARN) --cwd matrix-react-sdk clean
@ -123,3 +165,4 @@ clean:
rm -f element-desktop/webapp
rm -rf element-web/dist
rm -rf local-pkgbuild
rm -f bom.lock

View File

@ -3,7 +3,7 @@
SchildiChat Web/Desktop is a fork of Element [Web](https://github.com/vector-im/element-web)/[Desktop](https://github.com/vector-im/element-desktop).
The most important changes of SchildiChat Web/Desktop compared to Element Web/Desktop are:
- A unifed chat list for both direct and group chats
- A unified chat list for both direct and group chats
- Message bubbles
- Bigger items in the room list
- &hellip; and more!
@ -15,11 +15,26 @@ Feel free to [join the discussion on matrix](https://matrix.to/#/#schildichat-we
<img src="https://raw.githubusercontent.com/SchildiChat/schildichat-desktop/sc/screenshots/1.png"/>
<details>
<summary>Public key used to sign the Debian packages</summary>
```
pub rsa4096 2020-12-08 [SC]
560BB70DA86A6633A39CEC6023358905FE294D01
uid Super apt repo key <apt@supercable.onl>
sub rsa4096 2020-12-08 [E]
```
</details>
## Building SchildiChat Web/Desktop
This particular repo is a wrapper project for element-desktop, element-web, matrix-react-sdk and matrix-js-sdk. It's the recommended starting point to build SchildiChat for Web **and** Desktop.
The `master` branch contains the latest release.
Development happens in the `sc` branch, which might be **broken at any time**!
<pre><code><b>schildichat-desktop</b> <i>&lt;-- this repo</i> (recommended starting point to build SchildiChat for Web <b>and</b> Desktop)
|-- <a href="https://github.com/SchildiChat/element-desktop">element-desktop</a> (electron wrapper)
|-- <a href="https://github.com/SchildiChat/element-web">element-web</a> ("skin" for matrix-react-sdk)
@ -33,10 +48,11 @@ This particular repo is a wrapper project for element-desktop, element-web, matr
Since Debian is usually slow to update packages on its stable releases,
some dependencies might not be recent enough to build SchildiChat.
The following are the dependencies required to build SchildiChat Web/Desktop on Debian 10:
The following are the dependencies required to build SchildiChat Web/Desktop on Debian 11 (bullseye):
```
# apt install vim curl git make gcc g++ libsqlcipher-dev pkg-config libsecret-1-dev bsdtar
# apt install vim curl git make gcc g++ python jq libsqlcipher-dev pkg-config libsecret-1-dev libarchive-tools
# curl -sL https://deb.nodesource.com/setup_14.x | bash -
# apt update
# apt install nodejs
@ -64,34 +80,46 @@ $ source .bashrc
brew install tcl rust node gpg vim curl git yarn git make gcc
```
#### Signed macOS builds
To sign a macOS build set the environment or make variable `CSC_IDENTITY_AUTO_DISCOVERY` to true
or set `CSC_NAME` to your certificate name or id.
To notarize a build with Apple set `NOTARIZE_APPLE_ID` to your AppleID and set the keychain item
`NOTARIZE_CREDS` to an App specific AppleID password.
### Initial setup
As already noted above, **`master` contains the latest release** and **`sc` is the development branch**!
```
git clone --recurse-submodules https://github.com/SchildiChat/schildichat-desktop.git
git clone -b master --recurse-submodules https://github.com/SchildiChat/schildichat-desktop.git
cd schildichat-desktop
make setup # optional step if using the other make targets
```
### Create release builds
Those are the builds distributed via GitHub releases.
```
# The single make targets are explained below
make [{web|debian|windows-setup|windows-portable|macos}-release]
make {web|debian|windows-setup|windows-portable|macos|...}-release
```
After that these packages which belong to to their respective make target should appear in release/\<version\>/:
- `web`: _schildichat-web-\<version\>.tar.gz_: archive that can be unpacked and served by a **web** server (copy `config.sample.json` to `config.json` and adjust the [configuration](https://github.com/SchildiChat/element-web/blob/sc/docs/config.md) to your likings)
- `debian`: file ready for installation on a **Debian Linux** (based) system via `dpkg -i schildichat-desktop_<version>_amd64.deb`
- `windows-setup`: _SchildiChat_Setup_v\<version\>.exe_: file ready for **installation** on a **Windows** system
- `windows-portable`: _SchildiChat_win-portable_v\<version\>.zip_: **portable** version for a **Windows** system take SchildiChat together with your login data around with you (the archive contains a readme with **instructions** and **notes**)
- `macos`: Build a *.dmg for macOS
After that these packages which belong to their respective make target should appear in release/\<version\>/.
#### Additional make targets not used for GitHub releases
- `pacman`: file ready for installation on an **Arch Linux** (based) system via `pacman -U schildichat-desktop-<version>.pacman`
#### Builds distributed via GitHub releases
- `web`: _schildichat-web-\<version\>.tar.gz_: Archive that can be unpacked and served by a **web** server (copy `config.sample.json` to `config.json` and adjust the [configuration](https://github.com/SchildiChat/element-web/blob/sc/docs/config.md) to your likings)
- `debian`: File ready for installation on a **Debian Linux** (based) system via `dpkg -i schildichat-desktop_<version>_amd64.deb`
- `windows-setup`: _SchildiChat_Setup_v\<version\>.exe_: File ready for **installation** on a **Windows** system
- `windows-portable`: _SchildiChat_win-portable_v\<version\>.zip_: **Portable** version for a **Windows** system take SchildiChat together with your login data around with you (the archive contains a readme with **instructions** and **notes**)
- `macos`: Build a *.dmg for **macOS**
#### Additional `{...}-release` targets not used for GitHub releases
- `pacman`: File ready for installation on an **Arch Linux** (based) system via `pacman -U schildichat-desktop-<version>.pacman`
- `rpm`: Build a *.rpm for Linux
- `windows-unpacked`: _SchildiChat_win-unpacked_v\<version\>.zip_: **unpacked** archive for a **Windows** system
- `macos-mas`: Build a *.pkg for release in the Mac App Store
### Build SchildiChat Web and deploy it directly to your web server

46
build-bom.sh Executable file
View File

@ -0,0 +1,46 @@
# /usr/bin/env bash
cat element-desktop/yarn.lock > bom.lock
echo "" >> bom.lock
cat element-web/yarn.lock >> bom.lock
echo "" >> bom.lock
cat matrix-js-sdk/yarn.lock >> bom.lock
echo "" >> bom.lock
cat matrix-react-sdk/yarn.lock >> bom.lock
echo "" >> bom.lock
# matrix-seshat
cat << EOF >> bom.lock
matrix-seshat@2.3.0:
version "2.3.0"
resolved "https://github.com/matrix-org/seshat/archive/refs/heads/master.tar.gz"
integrity sha512-y4xtZViRX/h0zczl5hiqWyFNK7np0vVujQ/l47g1Mm7B7mDTHAneSSy/d5GADeUIsezZyvT3qKhSCwSSyqS8Xw==
dependencies:
sqlcipher "~m1"
openssl "~1.1.1f"
sqlcipher@m1:
version "m1"
resolved "https://github.com/SchildiChat/sqlcipher/archive/refs/heads/m1.tar.gz"
integrity sha512-1Nk7J0dQyVedFLqnxUJQWrf/VBsUsfC5vAYaHDH3LRbWarfKDGYduZrhdBuzgAF+kMA237HaDt9Tq+CcXV0EJA==
openssl@1.1.1f:
version "1.1.1f"
resolved "https://www.openssl.org/source/openssl-1.1.1f.tar.gz"
integrity sha512-sAvZta1SmPvO7sa7GcGrDBBspc+zEXhJfFi/fg4M8w/MGcIPhOI68xzBJr8kR9Pk+EYduXuvp7149pVhky8ADA==
EOF
echo "" >> bom.lock
# keytar
cat << EOF >> bom.lock
keytar@^5.6.0:
version "5.6.0"
resolved "https://github.com/atom/node-keytar/archive/refs/tags/v5.6.0.tar.gz"
integrity sha512-dPdXLrm8AlqooT0ZS7y/mYif0DmQXoGGrqomwfl6ugIEHlpL1D+hJYhjyMC00TK924vOGD1a6OhDS2+RKEffXA==
dependencies:
libsecret "~0.20.3"
libsecret@0.20.3:
version "0.20.3"
resolved "https://gitlab.gnome.org/GNOME/libsecret/-/archive/0.20.3/libsecret-0.20.3.tar.gz"
integrity sha512-tbD1jNKEEW9bPWuyd5YZ68eQjHhXOsy5PseVwleWYMEXgrrPPGnGGrLzSFUXRzNulFceLMeUG49Qr1rnyvfa1A==
EOF

29
bump_release_version.sh Executable file
View File

@ -0,0 +1,29 @@
#!/bin/bash
set -e
mydir="$(dirname "$(realpath "$0")")"
pushd "$mydir" > /dev/null
source ./merge_helpers.sh
# Check branch
check_branch $branch
forall_repos check_branch $branch
# Ensure clean git state
forall_repos check_clean_git
bump_release_version
# Get version string
get_current_versions
get_versions_string
# Add everything
git add -A
git commit --allow-empty -m "New release v$versions_string"
git tag -s "v$versions_string" -m "New release v$versions_string"
popd > /dev/null

29
bump_test_version.sh Executable file
View File

@ -0,0 +1,29 @@
#!/bin/bash
set -e
mydir="$(dirname "$(realpath "$0")")"
pushd "$mydir" > /dev/null
source ./merge_helpers.sh
# Check branch
check_branch $branch
forall_repos check_branch $branch
# Ensure clean git state
forall_repos check_clean_git
bump_test_version
# Get version string
get_current_versions
get_versions_string
# Add everything
git add -A
git commit --allow-empty -m "New test release v$versions_string"
git tag -s "v$versions_string" -m "New test release v$versions_string"
popd > /dev/null

View File

@ -27,11 +27,5 @@
"text": "Privacy Policy"
}
],
"sc_update_announcement_room": {
"room_id_or_alias": "!JwTYjASnrfLEJQGQvt:matrix.org",
"via_servers": [
"supercable.onl",
"spiritcroc.de"
]
}
"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"
}

View File

@ -15,7 +15,7 @@ release_notes_file="/tmp/scrn.md"
owner=SchildiChat
repo=schildichat-desktop
target=sc
target=master
# Define variables
GH_API="https://api.github.com"

View File

@ -21,6 +21,7 @@ git fetch
git reset --hard origin/master
sed -i "s|^_pkgver=.*$|_pkgver=$version|" PKGBUILD
sed -i "s|^pkgrel=.*$|pkgrel=1|" PKGBUILD
sed -i "s|^sha256sums=('.*'$|sha256sums=('$sha256sum'|" PKGBUILD
makepkg --printsrcinfo > .SRCINFO

View File

@ -13,7 +13,6 @@ repourl="git@github.com:flathub/chat.schildi.desktop.git"
downloadurl="https://github.com/SchildiChat/schildichat-desktop/releases/download/v${version}/schildichat-desktop_${version}_amd64.deb"
sha256sum=($(sha256sum $debpath))
debsize=($(wc -c $debpath))
debdate=$(date +%Y-%m-%d -r $debpath)
[ -d "$repopath" ] || git clone $repourl $repopath
@ -23,20 +22,15 @@ pushd "$repopath" > /dev/null
git fetch
git reset --hard origin/master
jsonFile="chat.schildi.desktop.json"
jsonString=$(jq -r "." $jsonFile)
yamlFile="chat.schildi.desktop.yaml"
xmlFile="chat.schildi.desktop.metainfo.xml"
xmlFile="chat.schildi.desktop.appdata.xml"
sed -i "s|url: .* #SC:url|url: $downloadurl #SC:url|" "$yamlFile"
sed -i "s|sha256: .* #SC:sha256|sha256: $sha256sum #SC:sha256|" "$yamlFile"
jsonString=$(echo $jsonString | jq -r ".modules[]? |= ((select(.name?==\"schildichat\") | .sources[0].url = \"${downloadurl}\") // .)")
jsonString=$(echo $jsonString | jq -r ".modules[]? |= ((select(.name?==\"schildichat\") | .sources[0].sha256 = \"${sha256sum}\") // .)")
jsonString=$(echo $jsonString | jq -r ".modules[]? |= ((select(.name?==\"schildichat\") | .sources[0].size = ${debsize}) // .)")
sed -i "s|^\s\s<releases>$| <releases>\n <release version=\"$version\" date=\"$debdate\"/>|" "$xmlFile"
echo $jsonString | jq --indent 4 "." > $jsonFile
sed -i "s|^\s\s<releases>$| <releases>\n <release version=\"$version\" date=\"$debdate\"/>|" $xmlFile
git add $jsonFile $xmlFile
git add $yamlFile $xmlFile
git commit -m "Bump version to v$version"
git push

26
flake.lock generated Normal file
View File

@ -0,0 +1,26 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1633901457,
"narHash": "sha256-GNJLwKENqEA4xlzkWI76VLHBAua4LUIlTeeiH4FR7Gc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f358794824b4595d77fec93732485d329ed7b0e0",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

44
flake.nix Normal file
View File

@ -0,0 +1,44 @@
{
description = "The SchildiChat Matrix client";
inputs.nixpkgs.url = github:NixOS/nixpkgs;
outputs = { self, nixpkgs }: let
systems = [ "x86_64-linux" "i686-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
overlay = import ./nix/overlay.nix;
# Memoize nixpkgs for different platforms for efficiency.
nixpkgsFor = forAllSystems (system:
import nixpkgs {
inherit system;
overlays = [ overlay ];
});
in {
inherit overlay;
packages = builtins.mapAttrs (system: pkgs: {
inherit (pkgs)
schildichat-web
schildichat-desktop
schildichat-desktop-wayland
;
}) nixpkgsFor;
defaultPackage = forAllSystems (system: self.packages.${system}.schildichat-desktop);
apps = forAllSystems(system: {
schildichat-desktop = {
type = "app";
program = "${self.packages.${system}.schildichat-desktop}/bin/schildichat-desktop";
};
schildichat-desktop-wayland = {
type = "app";
program = "${self.packages.${system}.schildichat-desktop-wayland}/bin/schildichat-desktop";
};
});
defaultApp = forAllSystems (system: self.apps.${system}.schildichat-desktop);
};
}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1,3 @@
{
"Show": "نشان دادن"
}

View File

@ -0,0 +1,3 @@
{
"Show": "Tampilkan"
}

View File

@ -0,0 +1,3 @@
{
"Show": "Visualizza"
}

View File

@ -0,0 +1,3 @@
{
"Show": "Vis"
}

View File

@ -1 +1,3 @@
{}
{
"Show": "Tonen"
}

View File

@ -0,0 +1,3 @@
{
"Show": "Pokaż"
}

View File

@ -1 +1,3 @@
{}
{
"Show": "Mostrar"
}

View File

@ -0,0 +1,3 @@
{
"Show": "Arată"
}

View File

@ -1 +1,3 @@
{}
{
"Show": "Показать"
}

View File

@ -0,0 +1,3 @@
{
"Show": "Visa"
}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1,3 @@
{
"Show": "显示"
}

View File

@ -0,0 +1,3 @@
{
"Show": "顯示"
}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1 @@
{}

View File

@ -6,5 +6,42 @@
"Normal priority": "Normální priorita",
"Message layout": "Vzhled zpráv",
"Modern": "Moderní",
"Show people and rooms in a combined list": "Zobrazit lidi a místnosti v kombinovaném seznamu"
"Show people and rooms in a combined list": "Zobrazit lidi a místnosti v kombinovaném seznamu",
"Update notifications": "Aktualizace oznámení",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Chcete se připojit k místnosti, která vás bude informovat o nových verzích? To je užitečné zejména v případě, že vaše platforma nepodporuje automatické aktualizace SchildiChatu (např. Windows a macOS).",
"Don't ask again": "Neptat se znovu",
"System": "Systém",
"Light theme": "Světlý motiv",
"Dark theme": "Tmavý motiv",
"Add custom theme": "Přidat vlastní motiv",
"Theme in use": "Používaný motiv",
"User name color mode": "Barevný režim uživatelského jména",
"Uniform": "Jednotný",
"PowerLevel": "Úroveň oprávnění",
"MXID": "MXID",
"In group chats": "Ve skupinových chatech",
"In public rooms": "Ve veřejných místnostech",
"All rooms you're in will appear in Home.": "Všechny místnosti, ve kterých se nacházíte, se zobrazí v domovském zobrazení.",
"Show all rooms in Home": "Ukázat všechny místnosti v domovském zobrazení",
"Show people in spaces": "Ukázat lidi v prostorech",
"Show notification badges for People in Spaces": "Zobrazit odznaky oznámení pro Lidé v prostorech",
"Return to the room previously opened in a space": "Návrat do dříve otevřené místnosti v prostoru",
"If disabled, the space overview will be shown when switching to another space.": "Pokud je vypnuto, zobrazí se při přepnutí do jiného prostoru přehled prostorů.",
"For people": "Pro osoby",
"If disabled, you can still add Direct Messages to Personal Spaces. If enabled, you'll automatically see everyone who is a member of the Space.": "Pokud je zakázáno, můžete stále přidávat chaty s lidmi do osobních prostorů. Pokud je povoleno, automaticky se zobrazí všichni, kteří jsou členy daného prostoru.",
"Intermediate: medium sized avatar with single-line preview": "Střední: středně velký avatar s jednořádkovým náhledem",
"Roomy: big avatar with two-line preview": "Prostorný: velký avatar s dvouřádkovým náhledem",
"Room list style": "Styl seznamu místností",
"Compact: tiny avatar together with name and preview in one line": "Kompaktní: malý avatar spolu se jménem a náhledem v jednom řádku",
"Show advanced theme settings": "Zobrazit pokročilá nastavení motivu",
"Theme": "Motiv",
"Room list": "Seznam místností",
"Font size and typeface": "Velikost a typ písma",
"Hide advanced theme settings": "Skrýt pokročilá nastavení motivu",
"Mark rooms as unread": "Povolit označování chatů jako nepřečtených",
"Mark as unread": "Označit jako nepřečtené",
"Mark as read": "Označit jako přečtené",
"Enable YouTube embed player": "Povolí vložený přehrávač YouTube",
"Collapse additional buttons": "Sbalit další tlačítka",
"Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms.": "Úvod je užitečný pro získání přehledu o všem. Mějte na paměti, že její vypnutí může způsobit, že nebudete moci zobrazit některé místnosti."
}

View File

@ -86,7 +86,7 @@
"Enable experimental, compact IRC style layout": "Kompaktes, experimentelles Layout im IRC-Stil aktivieren",
"Enable layout with message bubbles": "Layout mit Sprechblasen aktivieren",
"Show message bubbles on one side only": "Sprechblasen nur auf einer Seite anzeigen",
"Show message bubbles depending on the width either on both sides or only on one side": "Sprechblasen abhänging von der Breite auf beiden Seiten oder nur einer Seite anzeigen",
"Show message bubbles depending on the width either on both sides or only on one side": "Sprechblasen abhängig von der Breite auf beiden Seiten oder nur einer Seite anzeigen",
"%(brand)s can't securely cache encrypted messages locally while running in a web browser. Use <desktopLink>%(brand)s Desktop</desktopLink> for encrypted messages to appear in search results.": "%(brand)s kann verschlüsselte Nachrichten nicht sicher während der Ausführung im Browser durchsuchen. Benutze <desktopLink>%(brand)s Desktop</desktopLink>, um verschlüsselte Nachrichten in den Suchergebnissen angezeigt zu bekommen.",
"Use default": "Standardeinstellungen benutzen",
"Your firewall or anti-virus is blocking the request.": "Deine Firewall oder dein Antivirenprogramm blockiert die Anfrage.",
@ -109,5 +109,39 @@
"Show people and rooms in a combined list": "Personen und Räume in einer gemeinsamen Liste anzeigen",
"Update notifications": "Updatebenachrichtigungen",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Möchtest du einem Raum beitreten, der dich über neue Updates informiert? Das ist besonders nützlich, wenn deine Plattform keine automatischen Updates für SchildiChat unterstützt (z. B. Windows und macOS).",
"Don't ask again": "Nicht erneut fragen"
"Don't ask again": "Nicht erneut fragen",
"Light theme": "Helles Design",
"Dark theme": "Dunkles Design",
"System": "System",
"Add custom theme": "Benutzerdefiniertes Design hinzufügen",
"Theme in use": "Design in Verwendung",
"Uniform": "Einfarbig",
"PowerLevel": "Berechtigungslevel",
"MXID": "MXID",
"In direct chats": "In direkten Chats",
"In group chats": "In Gruppenchats",
"Show all rooms in Home": "Alle Räume auf der Startseite zeigen",
"Show notification badges for People in Spaces": "Benachrichtigungssymbol für Personen in Spaces zeigen",
"Return to the room previously opened in a space": "In den zuvor geöffneten Raum in einem Space zurückkehren",
"If disabled, the space overview will be shown when switching to another space.": "Wenn deaktiviert, wird die Space-Übersicht beim Wechsel zu einem anderen Space angezeigt.",
"User name color mode": "Farbmodus der Benutzernamen",
"In public rooms": "In öffentlichen Räumen",
"All rooms you're in will appear in Home.": "Alle Räume, in denen du dich befindest, werden auf der Startseite angezeigt.",
"Show people in spaces": "Personen in Spaces anzeigen",
"If disabled, you can still add Direct Messages to Personal Spaces. If enabled, you'll automatically see everyone who is a member of the Space.": "Falls deaktiviert, kannst du trotzdem Direktnachrichten in privaten Spaces hinzufügen. Falls aktiviert, wirst du alle Mitglieder des Spaces sehen.",
"For people": "Für Personen",
"Intermediate: medium sized avatar with single-line preview": "Zwischending: mittelgroßer Avatar mit einer einzeiligen Vorschau",
"Roomy: big avatar with two-line preview": "Geräumig: großer Avatar mit einer zweizeiligen Vorschau",
"Room list style": "Stil der Raumliste",
"Compact: tiny avatar together with name and preview in one line": "Kompakt: winziger Avatar zusammen mit dem Namen und der Vorschau in einer Zeile",
"Hide advanced theme settings": "Erweiterte Designeinstellungen ausblenden",
"Theme": "Design",
"Room list": "Raumliste",
"Font size and typeface": "Schriftgröße und Schriftart",
"Show advanced theme settings": "Erweiterte Designeinstellungen anzeigen",
"Mark rooms as unread": "Erlaube Chats als ungelesen zu markieren",
"Mark as read": "Als gelesen markieren",
"Mark as unread": "Als ungelesen markieren",
"Enable YouTube embed player": "Eingebetteten YouTube-Player aktivieren",
"Collapse additional buttons": "Zusätzliche Buttons einklappen"
}

View File

@ -8,5 +8,39 @@
"Show people and rooms in a combined list": "Show people and rooms in a combined list",
"Update notifications": "Update notifications",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).",
"Don't ask again": "Don't ask again"
"Don't ask again": "Don't ask again",
"System": "System",
"Add custom theme": "Add custom theme",
"Theme in use": "Theme in use",
"Light theme": "Light theme",
"Dark theme": "Dark theme",
"User name color mode": "User name color mode",
"Uniform": "Uniform",
"PowerLevel": "PowerLevel",
"MXID": "MXID",
"For people": "For people",
"In group chats": "In group chats",
"In public rooms": "In public rooms",
"Show all rooms in Home": "Show all rooms in Home",
"All rooms you're in will appear in Home.": "All rooms you're in will appear in Home.",
"Show people in spaces": "Show people in spaces",
"If disabled, you can still add Direct Messages to Personal Spaces. If enabled, you'll automatically see everyone who is a member of the Space.": "If disabled, you can still add Direct Messages to Personal Spaces. If enabled, you'll automatically see everyone who is a member of the Space.",
"Show notification badges for People in Spaces": "Show notification badges for People in Spaces",
"Return to the room previously opened in a space": "Return to the room previously opened in a space",
"If disabled, the space overview will be shown when switching to another space.": "If disabled, the space overview will be shown when switching to another space.",
"Compact: tiny avatar together with name and preview in one line": "Compact: tiny avatar together with name and preview in one line",
"Intermediate: medium sized avatar with single-line preview": "Intermediate: medium sized avatar with single-line preview",
"Roomy: big avatar with two-line preview": "Roomy: big avatar with two-line preview",
"Room list style": "Room list style",
"Hide advanced theme settings": "Hide advanced theme settings",
"Show advanced theme settings": "Show advanced theme settings",
"Theme": "Theme",
"Room list": "Room list",
"Font size and typeface": "Font size and typeface",
"Mark rooms as unread": "Allow marking chats as unread",
"Mark as unread": "Mark as unread",
"Mark as read": "Mark as read",
"Enable YouTube embed player": "Enable YouTube embed player",
"Collapse additional buttons": "Collapse additional buttons",
"Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms.": "Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms."
}

View File

@ -0,0 +1 @@
{}

View File

@ -5,5 +5,24 @@
"Normal priority": "Priorité normale",
"Message layout": "Disposition des messages",
"Modern": "Moderne",
"Show people and rooms in a combined list": "Afficher les personnes et les salons dans une liste combinée"
"Show people and rooms in a combined list": "Afficher les personnes et les salons dans une liste combinée",
"Update notifications": "Mettre à jour les notifications",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Souhaitez-vous rejoindre un salon vous notifiant à propos des nouvelles versions ? Cela est surtout utile si votre plateforme ne supporte pas les mises à jour automatiques pour SchildiChat (par ex. Windows et macOS).",
"Don't ask again": "Ne plus demander",
"System": "Système",
"Add custom theme": "Ajouter un thème personnalisé",
"Theme in use": "Thème utilisé",
"Light theme": "Thème lumineux",
"Dark theme": "Thème sombre",
"Uniform": "Uniforme",
"MXID": "MXID",
"In group chats": "Dans les chats de groupe",
"In public rooms": "Dans les salons publiques",
"All rooms you're in will appear in Home.": "Tous les salons dans lesquels vous êtes apparaîtront dans Accueil",
"Show people in spaces": "Afficher les personnes dans les espaces",
"Show notification badges for People in Spaces": "Afficher les badges de notifications pour les Personnes dans les Espaces",
"User name color mode": "Mode de couleur des noms d'utilisateur",
"If disabled, you can still add Direct Messages to Personal Spaces. If enabled, you'll automatically see everyone who is a member of the Space.": "Si désactivé, vous pouvez toujours ajouter Messages Directs à votre Espace Personnel. Si activé, vous verrez automatiquement toutes les personnes qui sont membres de l'Espace.",
"For people": "Pour les personnes",
"Show all rooms in Home": "Afficher tous les salons dans Accueil"
}

View File

@ -0,0 +1,46 @@
{
"Normal priority": "Prioritas normal",
"Message layout": "Tata letak pesan",
"Modern": "Modern",
"Show people and rooms in a combined list": "Tampilkan pengguna dan ruangan di daftar gabungan",
"Don't ask again": "Jangan tanya lagi",
"System": "Sistem",
"Add custom theme": "Tambahkan tema kustom",
"Theme in use": "Tema digunakan",
"Light theme": "Tema terang",
"Dark theme": "Tema gelap",
"User name color mode": "Mode warna nama pengguna",
"Uniform": "Seragam",
"PowerLevel": "TingkatDaya",
"MXID": "MXID",
"In group chats": "Di grup",
"In public rooms": "Di ruangan publik",
"Show all rooms in Home": "Tampilkan semua ruangan di Beranda",
"All rooms you're in will appear in Home.": "Semua ruangan yang Anda bergabung akan ditampilkan di Beranda.",
"Show notification badges for People in Spaces": "Tampilkan lencana pemberitahuan untuk Orang di Space",
"Show people in spaces": "Tampilkan orang di space",
"For people": "Untuk orang-orang",
"Return to the room previously opened in a space": "Kembali ke ruangan yang sebelumnya dibuka di sebuah space",
"If disabled, the space overview will be shown when switching to another space.": "Jika dinonaktifkan, ikhtisar space akan ditampilkan saat ganti ke space yang lain.",
"Compact: tiny avatar together with name and preview in one line": "Kecil: avatar kecil dengan nama dan tampilan di satu baris",
"Roomy: big avatar with two-line preview": "Luas: avatar besar dengan tampilan dua baris",
"Room list style": "Gaya daftar ruangan",
"Hide advanced theme settings": "Sembunyikan pengaturan tema lanjutan",
"Show advanced theme settings": "Tampilkan pengaturan tema lanjutan",
"Theme": "Tema",
"Room list": "Daftar ruangan",
"Font size and typeface": "Ukuran fon dan jenis huruf",
"Show message bubbles on one side only": "Tampilkan gelembung pesan di satu sisi saja",
"Show message bubbles depending on the width either on both sides or only on one side": "Tampilkan gelembung pesan tergantung pada lebarnya baik di kedua sisi atau hanya di satu sisi",
"Message bubbles": "Gelembung pesan",
"Update notifications": "Notifikasi peningkatan",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Apakah Anda ingin bergabung ke ruangan yang memberitahu Anda tentang rilis yang baru? Ini sangat berguna jika platform Anda tidak mendukung pembaruan otomatis untuk SchildiChat (mis. Windows dan macOS).",
"If disabled, you can still add Direct Messages to Personal Spaces. If enabled, you'll automatically see everyone who is a member of the Space.": "Jika dinonaktifkan, Anda masih dapat menambahkan Pesan Langsung ke Space Personal. Jika diaktifkan, Anda akan otomatis melihat semua orang yang juga ada di Spacenya.",
"Intermediate: medium sized avatar with single-line preview": "Sedang: avatar sedang dengan tampilan satu baris",
"Mark rooms as unread": "Perbolehkan menandai obrolan sebagai dibaca",
"Mark as unread": "Tandai sebagai belum dibaca",
"Mark as read": "Tandai sebagai dibaca",
"Enable YouTube embed player": "Aktifkan pemain YouTube tersemat",
"Collapse additional buttons": "Sembunyikan tombol tambahan",
"Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms.": "Beranda berguna untuk mendapatkan ikhtisar segalanya. Menonaktifkan Beranda mungkin dapat membuat Anda tidak dapat melihat beberapa ruangan."
}

View File

@ -0,0 +1,13 @@
{
"Modern": "Moderno",
"Show people and rooms in a combined list": "Visualizza persone e stanze in una lista combinata",
"Update notifications": "Aggiorna notifiche",
"Don't ask again": "Non chiedere di nuovo",
"System": "Sistema",
"Add custom theme": "Aggiungi tema personalizzato",
"Theme in use": "Tema in uso",
"Light theme": "Tema chiaro",
"Dark theme": "Tema scuro",
"Normal priority": "Priorità normale",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Vuoi entrare in una stanza che ti notificherà riguardo nuove release? Sarebbe comodo particolarmente se la tua piattaforma non supporta aggiornamenti automatici (Come per esempio Windows o MacOS.)"
}

View File

@ -3,5 +3,19 @@
"Modern": "Modernus",
"Message bubbles": "Žinučių burbulai",
"Message layout": "Žinučių išdėstymas",
"Show people and rooms in a combined list": "Asmenų ir kambarių rodymas bendrame sąraše"
"Show people and rooms in a combined list": "Asmenų ir kambarių rodymas bendrame sąraše",
"Room list": "Kambarių sąrašas",
"Show message bubbles on one side only": "Rodyti žinučių burbulus tik vienoje pusėje",
"Update notifications": "Atnaujinimų pranešimai",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Ar jūs norite prisijungti prie kambario kuris praneš jums apie atnaujinimus? Tai yra labai naudinga jei jūsų platforma nepalaiko automatinių SchildiChat atnaujinimų (pvz. Windows ir macOS).",
"Don't ask again": "Nebeklausti",
"System": "Sistema",
"Theme in use": "Tema naudojama",
"Light theme": "Šviesi tema",
"Dark theme": "Tamsi tema",
"MXID": "MXID",
"In group chats": "Pokalbių grupėse",
"In public rooms": "Viešuose kambariuose",
"Show all rooms in Home": "Rodyti visus kambarius Pradžioje",
"All rooms you're in will appear in Home.": "Visi kambariai kuriuose esate bus rodomi Pradžioje."
}

View File

@ -0,0 +1,12 @@
{
"Message bubbles": "Meldingsbobler",
"Normal priority": "Normal prioritet",
"Message layout": "Meldingsvisning",
"Modern": "Moderne",
"Show people and rooms in a combined list": "Vis folk og rom i kombinert liste",
"Update notifications": "Oppdater merknader",
"Show message bubbles on one side only": "Vis meldingsbobler kun på én side",
"Show message bubbles depending on the width either on both sides or only on one side": "Vis meldingsbobler avhengig av bredden enten på begge sider eller kun på én side",
"Don't ask again": "Ikke spør igjen",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Ønsker du at et rom skal gi deg merknader om nye utgivelser? Dette er spesielt nyttig hvis din plattform ikke støtter automatiske oppdateringer for SchildiChat (f.eks. Windows og macOS)."
}

View File

@ -3,5 +3,11 @@
"Show message bubbles depending on the width either on both sides or only on one side": "Toon berichtbubbels, afhankelijk van de breedte, aan beide zijden of slechts aan één zijde",
"Message bubbles": "Boodschap bellen",
"Normal priority": "Normale prioriteit",
"Enable layout with message bubbles": "Schakel lay-out in met tekstballonnen"
"Enable layout with message bubbles": "Schakel lay-out in met tekstballonnen",
"Update notifications": "Update meldingen",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Wilt u lid worden van een kamer waarin u wordt geïnformeerd over nieuwe releases? Dit is vooral handig als uw platform geen automatische updates voor SchildiChat ondersteunt (bijv. Windows en macOS).",
"Don't ask again": "Niet nogmaals vragen",
"Modern": "Modern",
"Message layout": "Berichtlayout",
"Show people and rooms in a combined list": "Toon personen en kamers in een gecombineerde lijst"
}

View File

@ -0,0 +1 @@
{}

View File

@ -3,5 +3,42 @@
"Message bubbles": "Bolhas de mensagens",
"Normal priority": "Prioridade normal",
"Show message bubbles on one side only": "Mostrar bolhas de mensagem em apenas um lado",
"Show message bubbles depending on the width either on both sides or only on one side": "Mostrar bolhas de mensagem dependendo da largura de ambos os lados ou somente de um lado"
"Show message bubbles depending on the width either on both sides or only on one side": "Mostrar bolhas de mensagem dependendo da largura de ambos os lados ou somente de um lado",
"Hide advanced theme settings": "Ocultar configurações de tema avançadas",
"Show advanced theme settings": "Mostrar configurações de tema avançadas",
"Theme": "Tema",
"Room list": "Lista de salas",
"Font size and typeface": "Tamanho da fonte e tipo de letra",
"Message layout": "Layout da mensagem",
"Modern": "Moderno",
"Show people and rooms in a combined list": "Mostrar pessoas e salas em uma lista combinada",
"Update notifications": "Atualizar notificações",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Você quer participar numa sala para ser notificado sobre novos lançamentos? Isto é especialmente útil se a sua plataforma não suportar atualizações automáticas para SchildiChat (tipo Windows e macOS).",
"Don't ask again": "Não pergunte novamente",
"System": "Sistema",
"Add custom theme": "Adicionar tema personalizado",
"Theme in use": "Tema em uso",
"Dark theme": "Tema escuro",
"Light theme": "Tema claro",
"Uniform": "comum",
"PowerLevel": "Nível de poder",
"MXID": "MXID",
"In group chats": "Em conversas de grupo",
"In public rooms": "Em salas públicas",
"All rooms you're in will appear in Home.": "Todos as salas em que você estiver aparecerão em Início.",
"Show all rooms in Home": "Mostrar todos as salas em Início",
"Show people in spaces": "Mostrar as pessoas em espaços",
"Show notification badges for People in Spaces": "Mostrar símbolo de notificação para Pessoas em Espaços",
"Return to the room previously opened in a space": "Retornar à sala previamente aberta em um espaço",
"If disabled, the space overview will be shown when switching to another space.": "Se desativado, a visão geral do espaço será mostrada ao mudar para outro espaço.",
"For people": "Para pessoas",
"User name color mode": "Modo de cor baseado em nome do usuário",
"If disabled, you can still add Direct Messages to Personal Spaces. If enabled, you'll automatically see everyone who is a member of the Space.": "Se estiver desativado, você ainda pode adicionar Mensagens Diretas aos Espaços Pessoais. Se ativado, você verá automaticamente todos os que são membros do Espaço.",
"Compact: tiny avatar together with name and preview in one line": "Compacto: avatar minúsculo junto com o nome e visualização em uma linha",
"Intermediate: medium sized avatar with single-line preview": "Intermédio: avatar de tamanho médio com visualização de uma linha",
"Roomy: big avatar with two-line preview": "Amplo: grande avatar com visualização em duas linhas",
"Room list style": "Estilo da lista de salas",
"Mark rooms as unread": "Permitir markar conversas como não lidos",
"Mark as unread": "Markar como não lido",
"Mark as read": "Markar como lido"
}

View File

@ -0,0 +1,28 @@
{
"Show message bubbles on one side only": "Arata bulele mesajelor pe o singură parte",
"Show message bubbles depending on the width either on both sides or only on one side": "Arată bulele mesajelor bazat fie pe lățimea ambelor părți sau o singură parte",
"Message bubbles": "Bulele mesajelor",
"Normal priority": "Prioritate normală",
"Message layout": "Așezarea mesajului",
"Modern": "Modern",
"Show people and rooms in a combined list": "Arată persoanele și camerele într-o listă combinată",
"Update notifications": "Actualizează notificările",
"Don't ask again": "Nu întreba din nou",
"System": "Sistem",
"Add custom theme": "Adaugă o temă proprie",
"Theme in use": "Temă în folosință",
"Light theme": "Temă luminoasă",
"Dark theme": "Temă întunecată",
"Uniform": "Uniform",
"In group chats": "În chaturile de grup",
"In public rooms": "În camerele publice",
"All rooms you're in will appear in Home.": "Toate camerele în care te afli vor apărea în Pagina principala",
"Show people in spaces": "Arată persoanele în spații",
"Show notification badges for People in Spaces": "Arată simboluri de notificare pentru Persoanele din Spații",
"Return to the room previously opened in a space": "Întoarce-te spre camera deschisă ultima oară într-un spațiu",
"If disabled, the space overview will be shown when switching to another space.": "Dacă e dezactivat, se va arăta vederea de ansamblu a spațiului când schimbi pe alt spațiu.",
"For people": "Pentru persoane",
"User name color mode": "Modul culorilor utilizatorilor",
"Show all rooms in Home": "Arată toate camerele în Pagina principală",
"If disabled, you can still add Direct Messages to Personal Spaces. If enabled, you'll automatically see everyone who is a member of the Space.": "Dacă e dezactivat, încă poți adăuga Mesaje Directe în Spații Personale. Dacă e activat, vei vedea toți membrii Spațiului automat."
}

View File

@ -3,5 +3,39 @@
"Normal priority": "Нормальный приоритет",
"Enable layout with message bubbles": "Включение макета с пузырьками сообщений",
"Show message bubbles on one side only": "Показывайте пузырьки с сообщениями только на одной стороне",
"Show message bubbles depending on the width either on both sides or only on one side": "Показывать пузырьки сообщений в зависимости от ширины либо с обеих сторон, либо только с одной стороны"
"Show message bubbles depending on the width either on both sides or only on one side": "Показывать пузырьки сообщений в зависимости от ширины либо с обеих сторон, либо только с одной стороны",
"Modern": "Современное",
"Message layout": "Оформление сообщений",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Вы хотите присоединиться к комнате, уведомляющей вас о новых релизах? Это особенно полезно, если ваша платформа не поддерживает автоматические обновления для SchildiChat (например, Windows и macOS).",
"Show people and rooms in a combined list": "Показать людей и комнаты в объединенном списке",
"Update notifications": "Уведомления об обновлениях",
"Don't ask again": "Не спрашивать больше",
"Hide advanced theme settings": "Скрыть расширенные настройки темы",
"Show advanced theme settings": "Показать расширенные настройки темы",
"Theme": "Тема",
"Room list": "Список комнат",
"Font size and typeface": "Размер и начертание шрифта",
"Light theme": "Светлая тема",
"Dark theme": "Тёмная тема",
"System": "Система",
"Add custom theme": "Добавить пользовательскую тему",
"Theme in use": "Используемая тема",
"In group chats": "В групповых чатах",
"In public rooms": "В публичных комнатах",
"PowerLevel": "Уровень прав",
"MXID": "MXID",
"Show all rooms in Home": "Показать все комнаты в Начале",
"Show notification badges for People in Spaces": "Показывать значки уведомлений для людей в пространствах",
"Return to the room previously opened in a space": "Возврат в комнату, ранее открытую в пространстве",
"If disabled, the space overview will be shown when switching to another space.": "Если отключить, то при переключении на другое пространство будет отображаться обзор пространства.",
"Uniform": "Одинаковый",
"All rooms you're in will appear in Home.": "Все комнаты, в которых вы находитесь, будут отображаться в Начале.",
"Show people in spaces": "Показать людей в пространствах",
"If disabled, you can still add Direct Messages to Personal Spaces. If enabled, you'll automatically see everyone who is a member of the Space.": "Если этот параметр отключен, вы по-прежнему можете добавлять личные сообщения в личные пространства. Если включено, вы будете автоматически видеть всех, кто является членом пространства.",
"Compact: tiny avatar together with name and preview in one line": "Компактный: крошечный аватар вместе с именем и превью в одной строке",
"User name color mode": "Имя пользователя цветовой режим",
"For people": "Для людей",
"Room list style": "Стиль списка комнат",
"Intermediate: medium sized avatar with single-line preview": "Средний: аватар среднего размера с однострочным превью",
"Roomy: big avatar with two-line preview": "Вместительный: большой аватар с двухстрочным превью"
}

View File

@ -0,0 +1,46 @@
{
"Message bubbles": "Meddelandebubblor",
"Normal priority": "Normal prioritet",
"Message layout": "Meddelande layout",
"Modern": "Modern",
"Show people and rooms in a combined list": "Visa personer och rum i en kombinerad lista",
"Update notifications": "Uppdatera meddelanden",
"Don't ask again": "Fråga inte igen",
"System": "System",
"Add custom theme": "Lägg till anpassat tema",
"Theme in use": "Tema i bruk",
"Light theme": "Ljus tema",
"Dark theme": "Mörkt tema",
"Show message bubbles on one side only": "Visa meddelandebubblor bara på ena sidan",
"Show message bubbles depending on the width either on both sides or only on one side": "Visa meddelandebubblor beroende på bredden antingen på båda sidor eller bara på ena sidan",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "Vill du gå med i ett rum som informerar dig om nya utgåvor? Detta är särskilt användbart om din plattform inte stöder automatiska uppdateringar för SchildiChat (t.ex.Windows och macOS).",
"Uniform": "Enhetlig",
"PowerLevel": "PowerLevel",
"MXID": "MXID",
"In group chats": "I gruppchattar",
"In public rooms": "I offentliga rum",
"Show all rooms in Home": "Visa alla rum i Home",
"Show people in spaces": "Visa människor i Spaces",
"If disabled, you can still add Direct Messages to Personal Spaces. If enabled, you'll automatically see everyone who is a member of the Space.": "Om den är inaktiverad kan du fortfarande lägga till direktmeddelanden till personliga utrymmen. Om den är aktiverad ser du automatiskt alla som är medlem i Space.",
"Show notification badges for People in Spaces": "Visa meddelandemärken för personer in Spaces",
"Return to the room previously opened in a space": "Återgå till rummet som tidigare öppnats i ett Space",
"If disabled, the space overview will be shown when switching to another space.": "Om den är inaktiverad visas utrymmeöversikten när du byter till ett annat utrymme.",
"For people": "För folk",
"User name color mode": "Användarnamns färgläge",
"All rooms you're in will appear in Home.": "Alla rum du befinner dig i visas i Home.",
"Show advanced theme settings": "Visa avancerade temainställningar",
"Theme": "tema",
"Room list": "Rumslista",
"Font size and typeface": "Teckenstorlek och typsnitt",
"Hide advanced theme settings": "Dölj avancerade temainställningar",
"Compact: tiny avatar together with name and preview in one line": "Kompakt: liten avatar tillsammans med namn och förhandsvisning på en rad",
"Intermediate: medium sized avatar with single-line preview": "Medel: medelstor avatar med enradig förhandsvisning",
"Roomy: big avatar with two-line preview": "Rymlig: stor avatar med förhandsvisning med två rader",
"Room list style": "Rumslista stil",
"Mark as unread": "markera som oläst",
"Mark as read": "markera som läst",
"Mark rooms as unread": "Tillåt att chattar markeras som olästa",
"Enable YouTube embed player": "Aktivera inbäddad YouTube-spelare",
"Collapse additional buttons": "Dölj ytterligare knappar",
"Home is useful for getting an overview of everything. Keep in mind that disabling it could leave you unable to see certain rooms.": "Home är användbart för att få en överblick över allt. Tänk på att om du inaktiverar den kan du inte se vissa rum."
}

View File

@ -0,0 +1 @@
{}

View File

@ -0,0 +1,43 @@
{
"Message bubbles": "消息气泡",
"Normal priority": "正常优先级",
"Message layout": "消息布局",
"Modern": "现代",
"Show people and rooms in a combined list": "使用组合列表显示所有人员和房间",
"Update notifications": "更新通知",
"Don't ask again": "不再询问",
"System": "系统",
"Add custom theme": "添加自定义主题",
"Theme in use": "当前主题",
"User name color mode": "用户名颜色模式",
"Light theme": "浅色主题",
"Dark theme": "深色主题",
"Uniform": "单色",
"In group chats": "群聊",
"For people": "私聊",
"All rooms you're in will appear in Home.": "你加入的所有聊天室都会显示在主页。",
"In public rooms": "公共聊天室",
"Show people in spaces": "显示空间中的人",
"Show all rooms in Home": "在主页显示所有聊天室",
"If disabled, you can still add Direct Messages to Personal Spaces. If enabled, you'll automatically see everyone who is a member of the Space.": "如果禁用,你仍可以将私聊添加至个人空间。若启用,你将自动看见空间中的每位成员。",
"Show notification badges for People in Spaces": "为空间中的人显示通知标志",
"PowerLevel": "根据权限等级自动设定",
"MXID": "根据 Matrix ID 自动设定",
"Return to the room previously opened in a space": "返回先前在空间中打开的聊天室",
"If disabled, the space overview will be shown when switching to another space.": "如果禁用,切换到其他空间时将显示空间概览。",
"Compact: tiny avatar together with name and preview in one line": "紧凑:在一行中包含小头像、用户名和消息预览",
"Intermediate: medium sized avatar with single-line preview": "中等:中等大小头像,用户名与消息预览在头像旁以单行宽度分列",
"Roomy: big avatar with two-line preview": "宽敞:大尺寸头像,用户名与消息预览在头像旁以双行宽度分列",
"Hide advanced theme settings": "隐藏高级主题设置",
"Show advanced theme settings": "显示高级主题设置",
"Theme": "主题",
"Room list": "聊天室列表",
"Font size and typeface": "字号与字型",
"Show message bubbles on one side only": "仅在一侧显示消息气泡",
"Room list style": "聊天室列表样式",
"Show message bubbles depending on the width either on both sides or only on one side": "根据窗口大小智能切换消息气泡的显示样式",
"Do you want to join a room notifying you about new releases? This is especially useful if your platform doesn't support automatic updates for SchildiChat (e.g. Windows and macOS).": "您想加入一个用来通知版本更新的房间吗?如果您的平台不支持自动更新 SchildiChat例如 Windows 和 macOS这将非常有用。",
"Mark as read": "标记为已读",
"Mark rooms as unread": "允许将聊天记录标记为未读",
"Mark as unread": "标记为未读"
}

View File

@ -0,0 +1 @@
{}

View File

@ -10,7 +10,7 @@ pkgdesc="SchildiChat is a Matrix client based on Element with a more traditional
arch=('x86_64')
url="https://schildi.chat"
license=('Apache')
depends=('sqlcipher')
depends=()
provides=('---appName---')
conflicts=('---appName---')
source=("---debName---"
@ -22,4 +22,5 @@ package() {
msg2 "Extracting the data.tar.xz..."
bsdtar -xf data.tar.xz -C "$pkgdir/"
install -Dm755 "${srcdir}"/---appName---.sh "${pkgdir}"/usr/bin/---appName---
sed -i 's|^Exec=.*|Exec=/usr/bin/---appName--- %u|' "${pkgdir}"/usr/share/applications/---appName---.desktop
}

View File

@ -2,6 +2,8 @@
SCHILDI_ROOT="$(dirname "$(realpath "$0")")"
branch=${BRANCH:-"sc"}
i18n_helper_path="$SCHILDI_ROOT/i18n-helper/index.js"
i18n_path="src/i18n/strings"
i18n_overlay_path="$SCHILDI_ROOT/i18n-overlays"
@ -30,18 +32,31 @@ add_upstream() {
}
forall_repos() {
pushd "$SCHILDI_ROOT/matrix-js-sdk"
pushd "$SCHILDI_ROOT/matrix-js-sdk" > /dev/null
"$@"
popd
pushd "$SCHILDI_ROOT/matrix-react-sdk"
popd > /dev/null
pushd "$SCHILDI_ROOT/matrix-react-sdk" > /dev/null
"$@"
popd
pushd "$SCHILDI_ROOT/element-web"
popd > /dev/null
pushd "$SCHILDI_ROOT/element-web" > /dev/null
"$@"
popd
pushd "$SCHILDI_ROOT/element-desktop"
popd > /dev/null
pushd "$SCHILDI_ROOT/element-desktop" > /dev/null
"$@"
popd
popd > /dev/null
}
forelement_repos() {
pushd "$SCHILDI_ROOT/element-web" > /dev/null
"$@"
popd > /dev/null
pushd "$SCHILDI_ROOT/element-desktop" > /dev/null
"$@"
popd > /dev/null
}
ensure_yes() {
@ -70,11 +85,10 @@ check_clean_git() {
revert_i18n_changes() {
local i18n_path="$1"
local skip_commit="$2"
local revision="$2"
local skip_commit="$3"
git checkout upstream/master -- "$i18n_path"
$yarn i18n
git checkout "$revision" -- "$i18n_path"
if [[ "$skip_commit" != [Yy]* ]]; then
git commit -m "Automatic i18n reversion" || true
@ -91,32 +105,159 @@ apply_i18n_changes() {
automatic_i18n_reversion() {
local skip_commit="$1"
local current_upstream_tag
get_current_upstream_tag
local current_mxjssdk_tag
local current_mxreactsdk_tag
get_current_mxsdk_tags
pushd "$SCHILDI_ROOT/matrix-react-sdk" > /dev/null
revert_i18n_changes "$i18n_path" $skip_commit
revert_i18n_changes "$i18n_path" "$current_mxreactsdk_tag" "$skip_commit"
popd > /dev/null
pushd "$SCHILDI_ROOT/element-web" > /dev/null
revert_i18n_changes "$i18n_path" $skip_commit
revert_i18n_changes "$i18n_path" "$current_upstream_tag" "$skip_commit"
popd > /dev/null
pushd "$SCHILDI_ROOT/element-desktop" > /dev/null
revert_i18n_changes "$i18n_path" $skip_commit
revert_i18n_changes "$i18n_path" "$current_upstream_tag" "$skip_commit"
popd > /dev/null
}
automatic_i18n_adjustment() {
node "$i18n_helper_path" "$SCHILDI_ROOT/matrix-react-sdk/$i18n_path" "$i18n_overlay_path/matrix-react-sdk"
# matrix-react-sdk
pushd "$SCHILDI_ROOT/matrix-react-sdk" > /dev/null
$yarn i18n
node "$i18n_helper_path" "$SCHILDI_ROOT/matrix-react-sdk/$i18n_path" "$i18n_overlay_path/matrix-react-sdk"
apply_i18n_changes "$i18n_path"
popd > /dev/null
node "$i18n_helper_path" "$SCHILDI_ROOT/element-web/$i18n_path" "$i18n_overlay_path/element-web"
# element-web
pushd "$SCHILDI_ROOT/element-web" > /dev/null
$yarn i18n
node "$i18n_helper_path" "$SCHILDI_ROOT/element-web/$i18n_path" "$i18n_overlay_path/element-web"
apply_i18n_changes "$i18n_path"
popd > /dev/null
node "$i18n_helper_path" "$SCHILDI_ROOT/element-desktop/$i18n_path" "$i18n_overlay_path/element-desktop"
# element-desktop
pushd "$SCHILDI_ROOT/element-desktop" > /dev/null
$yarn i18n
node "$i18n_helper_path" "$SCHILDI_ROOT/element-desktop/$i18n_path" "$i18n_overlay_path/element-desktop"
apply_i18n_changes "$i18n_path"
popd > /dev/null
}
get_current_versions() {
local version=`cat "$SCHILDI_ROOT/element-web/package.json" | jq .version -r`
if [[ "$version" =~ ([0-9\.]*)(-sc\.([0-9]+)(\.test.([0-9]+))?)? ]]; then
upstream="${BASH_REMATCH[1]}"
release="${BASH_REMATCH[3]}"
test="${BASH_REMATCH[5]}"
fi
versions=("${upstream:-"0.0.1"}" "${release:-"0"}" "${test:-"0"}")
}
get_versions_string() {
versions_string="${versions[0]}-sc.${versions[1]}"
# both zero means the initial version after a merge
if [[ ${versions[1]} -eq 0 || ${versions[2]} -gt 0 ]]; then
versions_string+=".test.${versions[2]}"
fi
}
write_version() {
local file="$1"
local versions_string
get_versions_string
new_content=`jq --arg version "$versions_string" '.version = $version' "$file"`
echo "$new_content" > "$file"
git add "$file"
git commit -m "Update version to $versions_string" || true
}
bump_test_version() {
local versions
get_current_versions
# increment test version
versions[2]=$((versions[2] + 1))
forelement_repos write_version "package.json"
}
bump_release_version() {
local versions
get_current_versions
# increment release version
versions[1]=$((versions[1] + 1))
# set test version to 0
versions[2]=0
forelement_repos write_version "package.json"
}
revert_packagejson_changes() {
local path="$1"
local revision="$2"
local skip_commit="$3"
git checkout "$revision" -- "$path"
if [[ "$skip_commit" != [Yy]* ]]; then
git commit -m "Automatic package.json reversion" || true
fi
}
apply_packagejson_overlay() {
local orig_path="$1"
local overlay_path="$2"
# see: https://stackoverflow.com/a/24904276
new_content=`jq -s '.[0] * .[1]' "$orig_path" "$overlay_path"`
echo "$new_content" > "$orig_path"
git add "$orig_path"
git commit -m "Automatic package.json adjustment" || true
}
automatic_packagejson_reversion() {
local skip_commit="$1"
local current_upstream_tag
get_current_upstream_tag
forelement_repos revert_packagejson_changes "package.json" "$current_upstream_tag" "$skip_commit"
}
automatic_packagejson_adjustment() {
local versions
get_current_versions
forelement_repos apply_packagejson_overlay "package.json" "overlay-package.json"
forelement_repos write_version "package.json"
}
get_latest_upstream_tag() {
pushd "$SCHILDI_ROOT/element-web" > /dev/null
git fetch upstream
latest_upstream_tag=`git for-each-ref --sort=creatordate --format '%(refname) %(creatordate)' refs/tags | sed -nr 's|refs/tags/(v[0-9]+(\.[0-9]+(\.[0-9]+)?)?) .*|\1|p' | tail -n 1`
popd > /dev/null
}
get_current_upstream_tag() {
local versions
get_current_versions
current_upstream_tag="v${versions[0]}"
}
get_current_mxsdk_tags() {
current_mxreactsdk_tag="v$(cat "$SCHILDI_ROOT/element-web/package.json" | jq '.dependencies["matrix-react-sdk"]' -r)"
current_mxjssdk_tag="v$(cat "$SCHILDI_ROOT/element-web/package.json" | jq '.dependencies["matrix-js-sdk"]' -r)"
}

View File

@ -3,7 +3,6 @@
set -e
mydir="$(dirname "$(realpath "$0")")"
branch=${BRANCH:-"sc"}
pushd "$mydir" > /dev/null
@ -16,23 +15,38 @@ forall_repos check_branch $branch
# Ensure clean git state
forall_repos check_clean_git
# Automatic i18n reversion
automatic_i18n_reversion
# Merge
# Fetch upstream
forall_repos git fetch upstream
forall_repos git merge upstream/master
# Automatic reversions
automatic_i18n_reversion
automatic_packagejson_reversion
# Merge upstream
get_latest_upstream_tag
forelement_repos git merge "$latest_upstream_tag"
get_current_mxsdk_tags
pushd "matrix-js-sdk" > /dev/null
git merge "$current_mxjssdk_tag"
popd > /dev/null
pushd "matrix-react-sdk" > /dev/null
git merge "$current_mxreactsdk_tag"
popd > /dev/null
# Refresh environment
make clean
make setup
# Automatic i18n adjustment
# Automatic adjustments
automatic_i18n_adjustment
automatic_packagejson_adjustment
# Automatic theme update
pushd "matrix-react-sdk" > /dev/null
./theme.sh
./theme.sh y
popd > /dev/null
popd > /dev/null

18
nix/overlay.nix Normal file
View File

@ -0,0 +1,18 @@
final: prev: {
cleanSchildichatDesktopSource = src: with final.lib; cleanSourceWith {
filter = name: type: cleanSourceFilter name type
&& !(hasInfix "/node_modules/" name)
&& !(hasInfix "/nix/" name && hasSuffix ".nix" name)
;
inherit src;
};
schildichat-web = final.callPackage ./schildichat-web.nix {
};
schildichat-desktop = final.callPackage ./schildichat-desktop.nix {
inherit (final.darwin.apple_sdk.frameworks) Security AppKit CoreServices;
};
schildichat-desktop-wayland = final.callPackage ./schildichat-desktop.nix {
inherit (final.darwin.apple_sdk.frameworks) Security AppKit CoreServices;
useWayland = true;
};
}

109
nix/schildichat-desktop.nix Normal file
View File

@ -0,0 +1,109 @@
{ lib
, stdenv
, fetchFromGitHub
, makeWrapper
, makeDesktopItem
, mkYarnPackage
, electron
, element-desktop # for native modules
, schildichat-web
, callPackage
, Security
, AppKit
, CoreServices
, useWayland ? false
, cleanSchildichatDesktopSource
, schildichat-desktop-src ? ../.
}:
let
packageJSON = schildichat-desktop-src + "/element-desktop/package.json";
yarnLock = schildichat-desktop-src + "/element-desktop/yarn.lock";
package = builtins.fromJSON (builtins.readFile packageJSON);
pname = "schildichat-desktop";
version = package.version;
executableName = pname;
electron_exec = if stdenv.isDarwin then "${electron}/Applications/Electron.app/Contents/MacOS/Electron" else "${electron}/bin/electron";
in mkYarnPackage rec {
inherit pname version packageJSON;
src = cleanSchildichatDesktopSource (schildichat-desktop-src + "/element-desktop");
nativeBuildInputs = [ makeWrapper ];
inherit (element-desktop) seshat keytar;
buildPhase = ''
runHook preBuild
export HOME=$(mktemp -d)
pushd deps/schildichat-desktop/
npx tsc
yarn run i18n
node ./scripts/copy-res.js
popd
rm -rf node_modules/matrix-seshat node_modules/keytar
ln -s $keytar node_modules/keytar
ln -s $seshat node_modules/matrix-seshat
runHook postBuild
'';
installPhase = ''
runHook preInstall
# resources
mkdir -p "$out/share/element"
ln -s '${schildichat-web}' "$out/share/element/webapp"
cp -r './deps/schildichat-desktop' "$out/share/element/electron"
cp -r './deps/schildichat-desktop/res/img' "$out/share/element"
rm "$out/share/element/electron/node_modules"
cp -r './node_modules' "$out/share/element/electron"
cp $out/share/element/electron/lib/i18n/strings/en_EN.json $out/share/element/electron/lib/i18n/strings/en-us.json
ln -s $out/share/element/electron/lib/i18n/strings/en{-us,}.json
# icons
for icon in $out/share/element/electron/build/icons/*.png; do
mkdir -p "$out/share/icons/hicolor/$(basename $icon .png)/apps"
ln -s "$icon" "$out/share/icons/hicolor/$(basename $icon .png)/apps/element.png"
done
# desktop item
mkdir -p "$out/share"
ln -s "${desktopItem}/share/applications" "$out/share/applications"
# executable wrapper
makeWrapper '${electron_exec}' "$out/bin/${executableName}" \
--add-flags "$out/share/element/electron${lib.optionalString useWayland " --enable-features=UseOzonePlatform --ozone-platform=wayland"}"
runHook postInstall
'';
# Do not attempt generating a tarball for element-web again.
# note: `doDist = false;` does not work.
distPhase = ''
true
'';
# The desktop item properties should be kept in sync with data from upstream:
# https://github.com/vector-im/element-desktop/blob/develop/package.json
desktopItem = makeDesktopItem {
name = "schildichat-desktop";
exec = "${executableName} %u";
icon = "schildichat";
desktopName = "SchildiChat";
genericName = "Matrix Client";
categories = "Network;InstantMessaging;Chat;";
extraEntries = ''
StartupWMClass=schildichat
MimeType=x-scheme-handler/element;
'';
};
}

75
nix/schildichat-web.nix Normal file
View File

@ -0,0 +1,75 @@
{ stdenv
, mkYarnModules
, nodejs
, cleanSchildichatDesktopSource
, schildichat-desktop-src ? ../.
, ...
}:
let
packageJSON = schildichat-desktop-src + "/element-web/package.json";
yarnLock = schildichat-desktop-src + "/element-web/yarn.lock";
package = builtins.fromJSON (builtins.readFile packageJSON);
pname = "schildichat-web";
version = package.version;
modules = mkYarnModules {
name = "${pname}-modules-${version}";
inherit pname version packageJSON yarnLock;
};
in stdenv.mkDerivation {
inherit pname version;
src = cleanSchildichatDesktopSource schildichat-desktop-src;
buildInputs = [ nodejs ];
postPatch = ''
patchShebangs .
'';
configurePhase = ''
runHook preConfigure
cp configs/sc/config.json element-web/
cp -r ${modules}/node_modules node_modules
chmod u+rwX -R node_modules
rm -rf node_modules/matrix-react-sdk
ln -s $PWD/matrix-react-sdk node_modules/
ln -s $PWD/node_modules matrix-react-sdk/
ln -s $PWD/node_modules element-web/
runHook postConfigure
'';
buildPhase = ''
runHook preBuild
pushd matrix-react-sdk
node_modules/.bin/reskindex -h ../element-web/src/header
popd
pushd element-web
node scripts/copy-res.js
node_modules/.bin/reskindex -h ../element-web/src/header
node_modules/.bin/webpack --progress --mode production
popd
runHook postBuild
'';
installPhase = ''
runHook preInstall
cp -r element-web/webapp $out
runHook postInstall
'';
passthru = {
inherit modules;
};
}

31
publish_release.sh Executable file
View File

@ -0,0 +1,31 @@
#!/bin/bash
set -e
mydir="$(dirname "$(realpath "$0")")"
pushd "$mydir" > /dev/null
source ./merge_helpers.sh
# Check branch
check_branch $branch
forall_repos check_branch $branch
# Ensure clean git state
forall_repos check_clean_git
git fetch origin
git branch -D master || true
git checkout -b master --track origin/master
git merge --ff-only sc
git push
git checkout sc
forall_repos git fetch origin
forall_repos git branch -D master || true
forall_repos git checkout -b master --track origin/master
forall_repos git merge --ff-only sc
forall_repos git push
forall_repos git checkout sc
popd > /dev/null

View File

@ -9,6 +9,9 @@ pushd "$mydir" > /dev/null
source ./merge_helpers.sh
# Fetch to get upstream strings for current version
forall_repos git fetch upstream
# Check branch
check_branch $branch
forall_repos check_branch $branch