8460 Commits

Author SHA1 Message Date
James Valleroy
d8a69d002f
Release v24.2~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v24.2_bpo12+1
2024-01-18 06:47:39 -05:00
James Valleroy
12c888046b freedombox Debian release 24.2
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmWmctoWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICPi8D/0fahzzL9iLW7HqbjAvvSNAPxth
 6z6X27/eFNXqUY4c0zILtNHYJjlSXx3utmfyRS1CpKbSNHMRrtJ37hsXXgMCJ/qv
 rI89ITaXFQzHmQB4ddhQpp115bZ11ASRcu0H92hjsGjbmgJF0e3iduNLfvGgi4TD
 R1krLMHheNeIGLd1YAOm/1s8bGBQk/kFJvwY9Qqg71aw78A5tbADryE26rb5Z4Ls
 0s7cXTixHtOBXlI4npZAz4PrrPX0h0O5NQAJkNlx7jAGEZAnnnr3gRfHQEOCrNDg
 9WMUCDF3PRtPw9S6c0eP/hWqEXKXWOHKPYWamdsvUKcv2vrhyFzmTQ4ofLB2RnJG
 q+kLDPwS1kBqz3vr4SsAQFbTuJ8N5jm0lvDQMjGg2/xuDKMi+47VxCZS/i7a3Li9
 ZMeBzKimfopSThH2XiniaumQL8hQ9puRoTUsuSYpb+OavDyLcua6dX8e4eaSwnXV
 6SmQmEcYbK33efhVWN0RJG8BRvDNxNuvzVQylxDAtmvO5FTfaOTbIWRpQi46Lmic
 4GMHn41kwhKq+Vacf9n16W5PMDBwvJDZ8M40U4VDl+2vG43DTdrY4OsA2NTwGdLq
 h9CRUogFd6xaNkWjAj5N/9bwKL7gX9nguCFpMMG6CecaWpu1Vi08tnFrhYI9+LN2
 3tZN2AX5M2HtpYS3yQ==
 =8EZ3
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmWpD64WHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICCUiD/wLKmpJR+z5L4uEGMF7djepsvdf
 dUhJtMLUaFFzfzkJ4tnnWY//X04jf0fsyoZq1f2M1+ptecysdy1WfkfMBdJDzuAU
 eGRwGBIX4xfptFldU0+qLPf7SwgHsrnwyZWMZf+oYzl4orws1m2EqXoo/hw9l3I6
 zoe9KwdPnACRmT8fmUsruL3W1V3T3wFxakfgouZFtpYoyLJse23eX26C9A0sSVSm
 /8QP+9KyBQbRM1UsMzKKn6bYslnLn7OTo6cdpX81mGqOXaAf0iTagw1c10LCWfuz
 apwMeX+fw64uv4djjYkrFD0ui0Y44B0y7jUXTDbFLtRBp76Gsu9m0FQvc8Z/p0Gj
 WfbpFOWInqOspSldAApddsfBc27nB8q3/a7oXJdnlXOfJVAs37sdRVQcuP9xqRCD
 +mpf+Gcx4/Ifw4zGV8amI0AQYHMTxd1xYyEfU/lAI6LW4QXVLas8akqLdqlu+Wd4
 Cd1CWRnFoElvlwphXklANQULjG/3QxctV3aNqx6Bhs3LhG13zbg1l6mUJYhejswM
 XE+ETmY+DMskxRUu1RBu2lS+9Pbv3bN0UNqn6OpWe98CMY5iL1BtAl62VW6O8Osj
 6whPcHvRxGyWX3tdazct80OJYB8XGXjGzPh/0vjqkzUR79yQl0OsLC0di8vCaHzx
 1DaAI6nT67J8jVejRQ==
 =JXVD
 -----END PGP SIGNATURE-----

Merge tag 'v24.2' into debian/bookworm-backports

freedombox Debian release 24.2
2024-01-18 06:46:53 -05:00
James Valleroy
ab213138e0
Release v24.2 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v24.2
2024-01-15 21:31:27 -05:00
James Valleroy
012cc31f5a
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-01-15 21:30:17 -05:00
Сергій
4ec8f76260
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1554 of 1554 strings)
2024-01-07 15:06:26 +01:00
James Valleroy
40bf5005cb
Release v24.1~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v24.1_bpo12+1
2024-01-05 07:39:43 -05:00
James Valleroy
c64a643882 freedombox Debian release 24.1
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmWTeoIWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICADfD/4tjMYBuPM7DcWlg477BPjU4SCm
 RvC/uErEtDoxrz0RFssd7+Ggmzns7pKZMeYyEhgc9vRYF6Oa7KZ/yyJpSNubIV59
 h1wqRh3g+i2Egnhy1YvAMYrL/xPaiZ76LAWEGP4n9sTrVR3uKbjMjIHu4pNAbGm8
 NO9cyvUabT2UJls9D0xZP4MGpnPUgC4eQ6exOxJgJaaYqZJe1LldyUghfWU6DIUj
 NEFf8neGATDQvUZXeOLJKS7ol6ZRg+jWVuDjSqvnqBieQMk31FfAemaVBp4NKB3U
 ADrhxONvLxP10J0h9msyp9jk+hkVzThs9xEv0HF/r6GDMraSB8whlvlxJgeow5nk
 Eg3TMQ6ICJ67v65f1E3g03QEKTTBLtsaRzfJcROoCQW6FfB9WaTJy2inG9Yb/dVd
 IjBsx3FXvmPK04DPcucV/Z9RT7TVdQk22v1xM5b2WMSk4YMYWi8jatZfPqaMP2/e
 V8bqaC+BWWzeHiRfyzg1UrXeUooDIBp56nUGW0bchks+pc94HTXmvwZJtiJo7yqj
 h9hGoHU8yYX/kLhqEiR628/XiWB92vE3/SfiMg4TIcgawjeYFE7HK9pOivk68gXs
 VvV793gRG3loNUwrqUea25i/9P8AjIQ16YjdsK4nzLmDs8DJK8puFe7A6jApC0Qu
 J9adWkwLlNyPaL2OKQ==
 =7F5H
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmWX+GMWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICF/hEACcwjEGa//1cH0n3UPzXln7TEut
 FBtSnXfT2RX6pyT3TvXCv/aj0TY2HFFzDduEBq20mBwotG72iBC1igpq7W0QQayr
 K/oxiFufcOoBWxcI7SvgARtjfXzLSwktt3aIjxTlthri2LVrcA7SFRP2TIyQGy0d
 xQmWxoopWT6NQEBl4EBSGvDXL6qN/j9Hf7n9iBwVIaZLacv3+vsKBBkYZSdtS31B
 mj5QtTtGQTd85n15YvnnkB0aM2cM7NpP6oMVolTa3+UeFMSlHMFV8J2aIij4Dfda
 wIQVuuo7LwUXBbi21IHSnjJrSyfcCQAUVeIuOY0T1Z92o6AvhjGuoeVgwMag7ro/
 YTnP4Caid2UWf9DsGz4+OPuqr8b0G3ELHRWBLlH/AFEr1juClvF3amLnt7k3XB5S
 sJEb/nAWfoSD4dU3/U6u17nvNgk0zUbIbH9RnjsV4A9cS1XHQ3WFTSua6QhacVzo
 odD4QU5yjuqpodPnn3u7y3Q/s37b+GpuxBE5Sm7gOBZGqI1MxL4dO667UAXRdtzb
 TSalEwCmaCCv2JuxKGGx+aXv8uEH5R82A1nWrMzJZttila7wsRAOpL5bdtqsjlJv
 dLHVqcXOsZOXyx8QpmRcZxC+ORC3jr66iMI6jhiSecLu7GkO9/XF33+cO7Ctsi6M
 wIrlUvP2jB2GG+KgRg==
 =Tu84
 -----END PGP SIGNATURE-----

Merge tag 'v24.1' into debian/bookworm-backports

freedombox Debian release 24.1
2024-01-05 07:38:57 -05:00
Eric
65a9d8e335
Translated using Weblate (Chinese (Simplified))
Currently translated at 67.1% (1043 of 1554 strings)
2024-01-05 07:09:33 +00:00
John Doe
436e9d429a
Translated using Weblate (French)
Currently translated at 100.0% (1554 of 1554 strings)
2024-01-05 07:09:32 +00:00
bittin1ddc447d824349b2
ab090c8c56
Translated using Weblate (Swedish)
Currently translated at 100.0% (1554 of 1554 strings)
2024-01-03 16:09:55 +00:00
Burak Yavuz
e73ddf6ace
Translated using Weblate (Turkish)
Currently translated at 100.0% (1554 of 1554 strings)
2024-01-03 16:09:54 +00:00
gallegonovato
8aed6b6163
Translated using Weblate (Spanish)
Currently translated at 100.0% (1554 of 1554 strings)
2024-01-03 16:09:52 +00:00
James Valleroy
e829d36c36
Release v24.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v24.1
2024-01-01 21:01:33 -05:00
James Valleroy
873afaef4b
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-01-01 20:59:56 -05:00
James Valleroy
bd80630be1
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2024-01-01 20:20:36 -05:00
rsquared
92492d2449
storage: Show notification when rootfs is read-only
Tests:

- Change the partition to test to '/mnt'. Mount a loopback filesystem on /mnt.
'dd if=/dev/zero of=/test-file bs=1M count=100; mkfs.ext4 /test-file; mount -o
loop /test-file /mnt'. Turn it to read-only with 'mount -o remount,ro /mnt'.
Wait about 3 minutes for the notification to show up.

- The notification shows icon, title and message as expected. The button power
app appears and works as expected.

- When the filesystem is mount rw again, the notification goes away in 3
minutes. 'mount -o remount,rw /mnt'.

[sunil: Let glib.schedule decide time when debugging]
[sunil: Perform exact matching in partition mount options]
[sunil: Simplify notification message. Minor grammar change]
[sunil: Minor refactoring for styling]
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2024-01-01 11:45:23 -08:00
James Valleroy
c8dac10308
tests: operation: Fix mock has_calls assertion
In Python 3.12, has_calls is not a valid assertion.

Closes: #1058421

Tests:

- Run "python3.12 -m pytest plinth/tests/test_operation.py" in unstable
  container. All tests are passed.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-12-26 07:47:25 -08:00
kopatych
4b9f7c86a7
Added translation using Weblate (Belarusian) 2023-12-11 13:30:44 +01:00
ikmaak
f2f01648da
Translated using Weblate (Dutch)
Currently translated at 99.4% (1543 of 1551 strings)
2023-12-03 22:05:54 +01:00
James Valleroy
9d4a568429
Release v23.21~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v23.21_bpo12+1
2023-12-02 10:10:05 -05:00
James Valleroy
a0b7f66994 freedombox Debian release 23.21
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmVkiDIWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICI5AD/0XPPJz2Pj5I0tEg+88au4xzfQm
 GRbz8NOi899YvRW3sY06HDuu0JH74zO62dq0Pmsv1a4aAgzBYtFh0RgddRHdbd1E
 WOSLpimVA4Y9p33HKfDVdWgh0ZgsODfZeja7mpKQg3xe6gMTNNgs1OJCmZu7A58e
 dMq+/9qcgjnJm3LWq9R/07vd3p7YS+ZYFISqc7QDO/ExvWo79mlrD1N6PN0ah+oK
 O/s9o8fGHG+PCZ+K2WkHXqJTmy9jE6LcXoIbKvErMjyULADN2yA5GXzXQvvvNzmu
 P/2QrpgTNWn16UUE5i3pGt3CymssFJajlUoq2W0i2JSE5cgtNaZVvIPu0lccxp2V
 0+Tk8vJlLzbbBz7F9zAtf8WB58xyzbH3g2T6YzJcPiTcmXRdrgVvqdrMMgXcjrO8
 fl/WN7UmSVpRCy5FOBKxfQLir26HFpS4DBlV6eo68aC02+1mxorNNKhRBdiD5xHK
 WyzrQzKFcvEKU6S5em1nSVvE0k0rbD9OrUOu1lrwpl0DK80cjqNU+584SSHQiIrS
 VroyPKvKW/qzxyj0Nf358GxYB1cxm/+Q/9QJeoXK51m7A+TTStn0uP5AmREZXzx2
 OK8BCo3dFYrv2B+uQ9qzDRKXbeBz2IJFtM1WxEUk977lNxAdpe4qm88a4oIbrkBp
 +L3S0NAZeyeiDH0qhw==
 =LLE6
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmVrSKEWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICCz6D/9k4NwWM9DpaOqYjvueiDgKg9Dm
 vnDu2xR/KJa79SuAkJuP2FcUf+Ku2ULFTFT39tyRu8YF4q9wnDUOl1bWArNfUVID
 5KbGBmWZ+n0BDDgGfySgL9kKTbN7VqXMp7lVvJLS/9YRgardFRnqYaRFJKPtBxRa
 pa8Rl+CKUjjFIAqYTdW0PD6OwNS0yLSDQUQ90TKHWMo+7Q6MgLngAiTT2eCnATdP
 eyPpqZhAD4l3aTeXmqlg6n58yXIeGDqkqFVPUIbio8DxhTUjxXEH5OfuWmdpGsLI
 /XIE8bQCEplqD5tgVKrG4hiQK/0H+IaVfv0zaidpkSiRRZlpGOxLBwvMQO8FsonT
 nTIWFfMIfVWl4uEHf+C5oBTg7+7o1lnlVX3Fwyqab1sxmaong2Hh3cQdb66lcGrC
 xWcTZAK7LbeKUq5Heu1ZPKzyLRAgSfhj8pmjZlWtg9fxrbuOVcEjoNGGfsD05f+i
 ibTNQ5fc4C7f9Olg7eEZ3QIf8pbXgYC7KgiAr7PHkMZ4XrityUfN0993pRyHnbPp
 asExe+VonzVSVhgJBSwApAtzGUeX+w2ZViYZPO4ZdFti9PMFIgarDIk9Ss1RK6So
 NCDUxqIkrZ/5L9aBh9QvZVFS37cunNGmtfg6G4keV6WUyLNju6bKxJWVfZJjbUWn
 bQ/cQkYUF0vFcaN/ow==
 =Ocfj
 -----END PGP SIGNATURE-----

Merge tag 'v23.21' into debian/bookworm-backports

freedombox Debian release 23.21

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-12-02 10:09:20 -05:00
James Valleroy
1c1b0190fe
Release v23.21 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v23.21
2023-11-20 21:09:39 -05:00
James Valleroy
63edda2a29
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-11-20 21:05:55 -05:00
Jiří Podhorecký
892da5db3e
Translated using Weblate (Czech)
Currently translated at 100.0% (1551 of 1551 strings)
2023-11-20 05:11:27 +00:00
Jiří Podhorecký
b4b25161e6
Translated using Weblate (Czech)
Currently translated at 99.2% (1539 of 1551 strings)
2023-11-16 23:03:23 +01:00
Eric
8d80508b06
Translated using Weblate (Chinese (Simplified))
Currently translated at 67.1% (1041 of 1551 strings)
2023-11-12 07:00:20 +01:00
James Valleroy
f60eb635a6
Release v23.20~bpo12+1 to bookworm-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v23.20_bpo12+1
2023-11-10 06:19:50 -05:00
James Valleroy
b111c67e32 freedombox Debian release 23.20
-----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmVJrB0WHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICHo/EADJuVx9w7Ra/h+87Dq2lvdzxVAF
 Lrb/tpW9lpZLwBJZfSh6E7+KkQZxpDVYORvv6L6RAeFiFCfIIbkslmEXQff0+OC3
 DhhvjUYnt9BHBRaXAiI1HuzzrjNwdsvLxNsYLIGFzkIrLs6lLffQoM8pCrf+I06R
 obCpqtx57FwjGPA6xQGcp5PmWRARXdY/XIL/raovjN/UhC/vh8SgddtpGXfoy0/p
 NY8SXdqJvVSXV6wmf+1XxEAFLj77tcr2HuYxMuUYNL/aqDr5xVjoAvY1GKcCYQEh
 RIkqjXqqTV1URDiRZ7RqNy8fQg4kJldrJDELhOyTPqxCatU8rmT++fl4r9B4+sGa
 fn29cs8h17APPjboe6GbrPB83KCtyItZfltwG9IgmgC1TIWLJZQmw3iYJyek3akJ
 ICzdlnoDLjDmuX2S3STnyPC937OksWc88/kG3NwNek8le5ZVxhfjKEmrp3B7aYMX
 9QRcDIqS/P1PLB0WaVwOyhVIPZmu4iZTYjV9v0A1hhusMOGRJjIrawOdRsliZ2c7
 3rIAPLvXvoZU7UPuGHhOreH4s3iUXJQYGraoOhI/3lJefZzllXsu1xVPAfquytZV
 t97D/U/Z6elMYFM/zTjimmFEk4jKkyIWA+P6o4041Q0b2FTNvUKSp4YGfYJahbaG
 VjFEJgoWmERAYBxcMQ==
 =JEJf
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEfWrbdQ+RCFWJSEvmd8DHXntlCAgFAmVOEXMWHGp2YWxsZXJv
 eUBtYWlsYm94Lm9yZwAKCRB3wMdee2UICCZID/9BtAC+ttqcOuPFviOlDmF2aBn/
 LL5nitLvFEoCdOS08NMh6e7pQBfiUho9MoJFslEgv0/v4VL52jYYE0yQkZ+YzjpF
 mYN+OwvtEZmjuw6OYt53Djc9bO4Ad4G9TmYXeX0BGe4dFMI/p7K97umWh9ZiWuR5
 khWUkIxxDKLPXFQfwmeYa5qpoRZcb1wtZ7KD/sZjuY1QysKHRxLXLACGi4Q7IWss
 VUljoXm+fElYbmIlKfDtg8cD3sCkJWrnM9ruXbKqOhPnSXyZFjRV/3iLXfdIatS6
 yC/TDT6DM7ANDk+QZvKTdmoVhQ/yVnrNRGbRIMTTgHWTmKwJqQf+ndYpJsbLJkYH
 TyQhwr+rS3qK0LB5EznPhFWsJLVlEOrfpclcMSUuRIlniAUVP5hoT44WRn8q8z0M
 rbPYSQ97FFJhkfbAOodEFvsc6xbiEIzGWlM1CsWIjIy715vKrSxakDEa8VT60V8y
 6NtnTFv9cqAzWfZAFP0200K3IbOSZ1YOq85BmZJgHg9NgpDjjT8ZV+XX5AURqYhQ
 NdKFOWlE1EXct62memcAGU9P2kcxfP+mLK7asvq2yU+lbmAqBANhCGBUNvt44Azw
 cWId1mNbZoNxrzdCpvD136vBjzRmmhO7BKcdE1/sgEZHMjbQTxpwnGpXZwtymknL
 ZHyR5n2Spm5zoeb9dQ==
 =CMKU
 -----END PGP SIGNATURE-----

Merge tag 'v23.20' into debian/bookworm-backports

freedombox Debian release 23.20

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-11-10 06:18:09 -05:00
Ihor Hordiichuk
7c1f115e11
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1551 of 1551 strings)
2023-11-09 09:32:41 +00:00
bittin1ddc447d824349b2
d8e9fa899e
Translated using Weblate (Swedish)
Currently translated at 100.0% (1551 of 1551 strings)
2023-11-09 09:32:40 +00:00
Burak Yavuz
2abf2d8c53
Translated using Weblate (Turkish)
Currently translated at 100.0% (1551 of 1551 strings)
2023-11-09 09:32:39 +00:00
gallegonovato
8e9f753742
Translated using Weblate (Spanish)
Currently translated at 100.0% (1551 of 1551 strings)
2023-11-09 09:32:38 +00:00
James Valleroy
d22d142490
Release v23.20 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v23.20
2023-11-06 21:08:59 -05:00
James Valleroy
441eee7e1f
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-11-06 21:02:47 -05:00
James Valleroy
4c37d54f5c
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2023-11-06 20:21:54 -05:00
Sunil Mohan Adapa
a11197b285
email: Increase the size of the message to 100MiB
- This includes the envelope size, so the actual size of the message and
attachments is somewhat lower.

Tests:

- Install the app freshly with the patch. Notice that message_size_limit is set
to 102400000 by running 'postconf message_size_limit'.

- Install the app without the patch. Apply patche and notice that the app is
updated. Notice that message_size_limit is set to 102400000 by running 'postconf
message_size_limit'.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-11-06 13:03:53 -05:00
Joseph Nuthalapati
fd1955a084
tests: functional: Run tests on two app servers
- Using `--dist=loadscope` splits the tests based on module, thus
  ensuring each app's tests get assigned to one worker only.
- Though app servers run in 2 separate VMs, the pytest-xdist workers
  simply run in two Python subprocesses (`-n 2`). This allows us to
  generate a unified test report.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-11-05 09:21:47 -08:00
Sunil Mohan Adapa
f4d8d3d046
ejabberd: Update old STUN URIs to remove 'transport' parameter
- If the STUN/TURN configuration is not managed by FreedomBox, the parameters
are left unchanged.

Tests:

- Install app after installing Coturn. Notice that STUN URI doesn't have a
'transport' parameter.

- Install app without the patches after installing Coturn. Notice that STUN URIs
have 'transport' parameter. Then apply patches. Setup is run. 'transport'
parameter is removed and only one STUN URI is present. matrix-synapse server
restarts successfully and don't have show any errors/warnings regarding
STUN/TURN configuration during startup.

- Install app without patches and set custom STUN/TURN URIs. Apply patches.
Setup is run. The URIs are not changed.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-11-05 06:44:07 -05:00
Sunil Mohan Adapa
e42740b589
matrixsynapse: Update old STUN URIs to remove 'transport' parameter
- If the STUN/TURN configuration is not managed by FreedomBox, the parameters
are left unchanged.

Tests:

- Install app after installing Coturn. Notice that STUN URI doesn't have a
'transport' parameter.

- Install app without the patches after installing Coturn. Notice that STUN URIs
have 'transport' parameter. Then apply patches. Setup is run. 'transport'
parameter is removed and only one STUN URI is present. matrix-synapse server
restarts successfully and don't have show any errors/warnings regarding
STUN/TURN configuration during startup.

- Install app without patches and set custom STUN/TURN URIs. Apply patches.
Setup is run. The URIs are not changed.

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-11-05 06:43:56 -05:00
Sunil Mohan Adapa
e6e6896d0d
coturn: Fix incorrectly passing transport argument to STUN URIs
Closes: #2362.

Passing ?transport= parameter in STUN URIs is invalid. It always uses UDP.
Chrome and perhaps Firefox has recently started enforcing the correct syntax
leading to failures using the Coturn server URIs we set in Janus. This also
likely effects matrix-syanpse and ejabberd clients.

Links:

1) https://www.rfc-editor.org/rfc/rfc7064#section-3.1
2) https://bugs.chromium.org/p/chromium/issues/detail?id=1385735

Tests:

- Install Coturn. Observe that STUN URIs shown don't contain the 'transport'
parameter.

- Install Janus and launch the meeting room. Notice that the STUN URIs in the
room page don't have 'transport' parameter.

- Install ejabberd and notice that the auto-configured STUN URIs don't have
'transport' parameter.

- Install matrix-synapse and notice that the auto-configured STUN URIs don't
have 'transport' parameter.

- Install ejabberd and matrix-synapse. Ensure that STUN URIs manually. They are
not allowed to 'transport' parameter for the STUN URIs but must have transport
parameter for TURN URIs.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-11-05 06:43:54 -05:00
Sunil Mohan Adapa
5e6c676748
operation: Fix issue with re-running setup when it fails first time
When setup is run from the application thread after startup, it continuously
tries until it succeeds. However, after making the first attempt, it does not
collect the status of the operation keeping the operation object in operation
manager. When trying for the second time, trying to create operation with same
ID fails since the operation is already present.

Fix this by allowing the operation to be recreated if the existing operation has
failed.

Tests:

- Unit tests pass.

- Functional tests for bepasty app pass.

- Install an app. Create an error in the setup mechanism for an app. Increment
is app version number. Start the service and notice that setup of app is
attempted and fails. Few seconds later the setup is attempted again and the
process continues. Each time the failure is due to fault in the app's setup
method rather than operation not being accepted.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-11-04 17:48:35 -04:00
Sunil Mohan Adapa
300f90f2a2
backups: Don't leave services stopped if backup fails
- We stop services before backup and restart them when backup is completed.
However, if backup fails, we are not restarting the services. With this change,
ensure that stopped services are restarted even if backup process fails.

- Similarly for restore operation.

Tests:

- Backup and restore of an app work.

- Functional tests for matrix-synapse work.

- Run the following two tests without the patch to ensure that the reported bug
is reproducible.

- Make a backup operation fail by raising an exception in the privileged code
that takes backup. Enable matrix-synapse app. Run backup including the
matrix-synapse app. Backup fails and shows an error. The service is
stopped before backup and restarted after backup failure.

- Make a restore operation fail by raising an exception in the privileged code
that does restore. Enable matrix-synapse app. Run backup including the
matrix-synapse app and try to restore it. Restore fails and shows an error. The
service is stopped before restore and restarted after restore failure.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-11-04 10:23:57 -04:00
Besnik Bleta
58b2c3a796
Translated using Weblate (Albanian)
Currently translated at 95.0% (1474 of 1551 strings)
2023-11-03 21:31:47 +01:00
Ihor Hordiichuk
3f2620f1d8
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1551 of 1551 strings)
2023-11-03 21:31:47 +01:00
Burak Yavuz
14279cc07a
Translated using Weblate (Turkish)
Currently translated at 100.0% (1551 of 1551 strings)
2023-11-03 21:31:47 +01:00
Sunil Mohan Adapa
f105980476
apache: tests: Update to use DiagnosticCheck class
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-11-01 22:08:50 -04:00
Sunil Mohan Adapa
e3c2546b79
datetime: Fix diagnostic test for checking NTP server sync
Fixes: #2384

- This was missed during the original transition to DiagnosticCheck class for
returning diagnostic results.

Tests:

- In vagrant container, test that the diagnostic test result shows up in
datetime app and it passes.

- Running full diagnostics on the system works.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-11-01 22:08:43 -04:00
James Valleroy
1f90047621
diagnostics: Add shortcut to re-run setup for app
- When running diagnostics for an app, if there are any failures or warnings,
  then show a button to re-run setup.

- When showing all diagnostics results, if there are any failures or warnings
  for an app, then show a button to re-run setup for that app.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Use Result class instead of strings for comparison]
[sunil: Use flex box's justify-content-between to improve button styling]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-10-30 22:10:42 -07:00
James Valleroy
2a8b9b94ba
app: Update diagnose() docstring
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Add reference documentation for the DiagnosticCheck and Result classes]
[sunil: Add link to DiagnosticCheck class from docstring]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2023-10-30 22:09:00 -07:00
Ettore Atalan
520ce34e7c
Translated using Weblate (German)
Currently translated at 98.1% (1523 of 1551 strings)
2023-10-30 10:00:19 +00:00