5760 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
ed5f10437a
bepasty: tests: functional: Add a password before removing all
- Make fixtures more specific to avoid potential clashes with functional BDD
test fixtures of other apps.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-08-21 22:41:53 +05:30
Sunil Mohan Adapa
e03b6041d4
bepasty: Minor fixes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-08-21 22:41:42 +05:30
Sunil Mohan Adapa
6eed0484ab
bepasty: Add diagnostics tests on app URL
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-08-21 22:41:34 +05:30
Sunil Mohan Adapa
2bbcd2d869
infinoted, syncthing: Fix minor typo in a comment
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-08-21 22:41:22 +05:30
Sunil Mohan Adapa
35a0cdbe3e
bepasty: Tighten permissions on the uwsgi socket
Tested to work alright after wsgi is restarted. Checked permissions on the
socket file /run/uwsgi/app/bepasty-freedombox/socket.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-08-21 22:40:39 +05:30
Sunil Mohan Adapa
06568fe789
bepasty: Expand app description
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-08-21 22:40:27 +05:30
Sunil Mohan Adapa
31d7b0afec
bepasty: Make description a private variable
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-08-21 22:40:00 +05:30
James Valleroy
7bd9b61cac
bepasty: Fetch manual page
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-08-21 21:52:52 +05:30
James Valleroy
65f4b6750b
bepasty: Add public access config form
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-08-21 21:50:39 +05:30
James Valleroy
7edc2f4e13
bepasty: New app for file upload and sharing
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-08-21 21:50:38 +05:30
Sunil Mohan Adapa
66537b1f9c
frontpage: Fix documentation related to renamed parameter
Closes: #1916.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-08-21 19:31:38 +05:30
Sunil Mohan Adapa
6c143090ae
menu: Update documentation to clarify that icons can be files
Closes: #1915.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-08-21 19:28:37 +05:30
Joseph Nuthalapati
2ada14ccdb
wireguard: Remove hardcoded Windows client version
Take user to the download page so that they can download the latest
version of the Windows client.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-08-21 19:24:54 +05:30
Sunil Mohan Adapa
7afe361eee
ejabberd, mumble, wireguard: Update Apple app links
- Old URLs are still valid but are being redirected to newer URLs.

Tests:

- View the app pages. See the list of the clients and visit the URLs.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-08-21 19:23:45 +05:30
Sunil Mohan Adapa
10544b4386
matrixsynapse: Rename Riot to Element
- Add link to iOS app.

- Update the F-Droid/Android app IDs

Closes: #1918.

Tests:

- View the matrixsyanpse app page. See the list of the clients and visit the
URLs.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-08-21 19:22:47 +05:30
James Valleroy
296c136d94
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-08-19 19:23:48 -04:00
James Valleroy
880e3dc10e
radicale: Remove code to handle 1.x
Since radicale 1.x is only in Stretch (oldstable), remove code that
was added to support that version and migration from 1.x to newer
versions.

Keep the fix for missing log path as the fix is not available in Buster yet.

Tests:

- Ran functional tests in testing container. Manually tested logging
  in to web interface and creating a calendar.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Add back the fix for missing log path]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-08-19 14:03:20 -07:00
Nikita Epifanov
c629191aa8
Translated using Weblate (Russian)
Currently translated at 100.0% (1285 of 1285 strings)
2020-08-18 22:32:56 +02:00
Fioddor Superconcentrado
856b028f36
Translated using Weblate (Spanish)
Currently translated at 100.0% (1285 of 1285 strings)
2020-08-18 22:32:54 +02:00
Jens Molgaard
c337798645
Translated using Weblate (Danish)
Currently translated at 46.4% (597 of 1285 strings)
2020-08-18 22:32:54 +02:00
Sunil Mohan Adapa
56326a7536
storage: Fix expanding partitions on GPT partition tables
GPT scheme has two mostly identical partition table headers. One at the
beginning of the disk and one at the end. When an image is written to larger
disk, the second header is not at the end of the disk. Fix that by moving second
partition to end of the disk before attempting partition

Tests:

- Unit tests run as root work.

- On A64-OLinuXino board, boot with eMMC and UEFI image. The partition does not
expand on initial setup. Trying to manually expand in storage app fails. Apply
patch. Manual expansion works.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-08-16 18:00:39 -04:00
James Valleroy
a89ae56382
debian: Split copyright paragraph to avoid lintian error
Update overall copyright year.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-08-15 15:50:29 -07:00
James Valleroy
53919d1374
debian: Fix use of wildcard path in copyright
Avoid a lintian info about network-freedombox.svg.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Add network-connection*.svg to list, also based on Tango icons]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-08-15 15:44:11 -07:00
James Valleroy
a2d45d31bb
debian: Add gbp dch config
Simplifies running the `gbp dch` command.

Also detected by debian-janitor to skip updating the changelog.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-08-15 12:12:54 -07:00
ikmaak
ea5aee17d9
Translated using Weblate (Dutch)
Currently translated at 75.7% (973 of 1285 strings)
2020-08-14 11:32:51 +02:00
Xosé M
d1e48f6791
Translated using Weblate (Galician)
Currently translated at 1.7% (23 of 1285 strings)
2020-08-12 18:32:57 +02:00
Burak Yavuz
04601d1f7f
Translated using Weblate (Turkish)
Currently translated at 100.0% (1285 of 1285 strings)
2020-08-12 18:32:54 +02:00
ikmaak
badf6892c8
Translated using Weblate (Dutch)
Currently translated at 74.7% (961 of 1285 strings)
2020-08-12 18:32:50 +02:00
Veiko Aasa
5e77cf9b6b
container: Randomize btrfs partition UUID
Fixes #1910

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-08-08 09:24:06 -04:00
Veiko Aasa
c454aa1019
functional-tests: snapshot: Skip if filesystem doesn't support snapshots
Tested that on the Btrfs filesystem snapshot functional tests pass and
on the ext4 filesystem tests are skipped.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-08-06 09:32:02 -04:00
Joseph Nuthalapati
d92ca09e19
framework: Remove module init() functions
Fixes #1906

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-08-03 18:06:48 -04:00
Veiko Aasa
0df674dc20
debian: Add newline to end of /var/lib/plinth/firstboot-wizard-secret
Fixes #1882

Tests performed:
- During the .deb package installation, the firstboot secret
  is shown correctly
- the firstboot secret is separated from the next prompt after
  running `cat /var/lib/plinth/firstboot-wizard-secret`
- plinth web interface accepts the firstboot secret

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-08-01 09:55:21 -04:00
Michael Breidenbach
7033cde212
Translated using Weblate (Swedish)
Currently translated at 100.0% (1285 of 1285 strings)
2020-07-31 05:32:25 +02:00
Michael Breidenbach
426e54e3e0
Translated using Weblate (German)
Currently translated at 100.0% (1285 of 1285 strings)
2020-07-31 05:32:24 +02:00
James Valleroy
fafdc5602a
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-07-27 18:34:58 -04:00
James Valleroy
5fc7fbc4c7
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-07-27 17:43:21 -04:00
Veiko Aasa
8bfe1ce546
ssh: Disallow managing keys for the root user
- Also, set 'username' and 'keys' arguments for the ssh action
  script as required.

Tests performed:
- Setting and deleting ssh keys for the 'tester' user via
  web interface works.
- trying to set keys for the root user
  `./actions/ssh set-keys --username root --keys abc`
  fails with an error.
- trying to get root user keys fails
  `./actions/ssh get-keys --username root`
- running ./actions/ssh get-keys and set-keys without parameters
  shows required arguments.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-07-25 21:01:27 -07:00
Joseph Nuthalapati
71cabff4d0
functional-tests: Use latest version of splinter
splinter 0.13.0 has a bug which is fixed in 0.14.0

See https://github.com/cobrateam/splinter/pull/749

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-07-25 20:58:11 -07:00
Veiko Aasa
e2e3768fe1
ikiwiki: Validate a path when deleting wiki or blog
I tested that ikiwiki functional tests pass and running the command
`sudo ./actions/ikiwiki delete  --name '../'`
returns an error and does not delete any directory.

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-07-25 14:03:25 -07:00
Fioddor Superconcentrado
f0000c4ba3
post-processor: Solve 1908 fixing the wiki links fix
The previous logic of the wiki links fix didn't work for translated pages.

Closes: #1908.

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
[jvalleroy: Remove extra spaces]
[jvalleroy: Fix output path]
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-07-25 10:12:27 -04:00
Michael Breidenbach
7e41e96d95
Translated using Weblate (Swedish)
Currently translated at 100.0% (1286 of 1286 strings)
2020-07-24 19:41:55 +02:00
Michael Breidenbach
2d8742f5ec
Translated using Weblate (German)
Currently translated at 100.0% (1286 of 1286 strings)
2020-07-24 19:41:55 +02:00
Павел Протасов
e220547fd2
Translated using Weblate (Russian)
Currently translated at 74.1% (954 of 1286 strings)
2020-07-23 04:33:44 +02:00
Fioddor Superconcentrado
514f1f5699 Typo 2020-07-22 14:29:58 +00:00
Fioddor Superconcentrado
6536c8fbd9 Specify machine
Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
2020-07-22 14:28:21 +00:00
Fioddor Superconcentrado
b20a9d6190 Branch-out
Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
2020-07-22 14:23:57 +00:00
Fioddor Superconcentrado
0f0f7be681 sudo user needed for container
Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
2020-07-22 13:52:59 +00:00
Joseph Nuthalapati
6dd7dcd2f8
functional-tests: Fix instructions for running functional tests
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-07-22 12:21:45 +03:00
Sunil Mohan Adapa
866fa6cde3
container: unstable: Handle interface naming for systemd < 245
systemd-nspawn versions < 245 seem to truncate the interface name from
've-fbx-unstable' to 've-fbx-unstabl'.

See:

 - https://github.com/systemd/systemd/pull/12865
 - https://salsa.debian.org/freedombox-team/freedombox/-/merge_requests/1856

Tests:

- On Debian Buster with systemd version 241, start testing and unstable
containers. For testing the interface name is ve-fbx-testing and for unstable it
is ve-fbx-unstabl. The containers are brought up and provisioned successfully.
Running 'nmcli c show fbx-${distribution}-shared' shows the correct interface
name assigned.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-07-22 12:11:21 +03:00
Joseph Nuthalapati
2773c4737e
container: Add unstable distribution
Related freedombox-team/infrastructure!38

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-07-22 12:10:58 +03:00