5416 Commits

Author SHA1 Message Date
James Valleroy
6d1c637c1d
upgrades: Allow installation of python3-twisted from backports
- matrix-synapse >= 1.12 requires python3-twisted >= 18.9.0-8~.

- python3-twisted requires matching version of python3-twisted-bin.

- Increment upgrades module version.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-04-19 11:23:59 -07:00
Veiko Aasa
d26e87661b
gitweb: Improve error handling when creating repository
If an error occurs during creation of a git repository, delete possibly
corrupted git repository directory and show more specific error message.

Closes #1829

Tests performed:
- Gitweb unit and functional tests pass
- Create a small disk for git repositories:
  > dd if=/dev/zero of=disk.img iflag=fullblock bs=128k count=100 && sync
  > mkfs.ext4 disk.img
  > mount -o loop disk.img /var/lib/git/
- Clone a large repository https://salsa.debian.org/freedombox-team/plinth
  Disk got full during cloning remote repository. Repository listing do not
  show this repository anymore. (No errors is shown to the user.)
- Fill disk space:
  > head -c 1G </dev/urandom > /var/lib/git/myfile
- Disk is full. Cloning an existing remote repository fails with an error
  message (No space left on device)
- Disk is full. Creating a new repository fails with an error message
  (No space left on device)

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-18 15:23:11 -04:00
Joseph Nuthalapati
202980b6d5
Translated using Weblate (Telugu)
Currently translated at 64.9% (816 of 1257 strings)
2020-04-15 15:11:14 +02:00
Localisation Lab
4a435f0ca0
Translated using Weblate (French)
Currently translated at 100.0% (1257 of 1257 strings)
2020-04-15 15:11:14 +02:00
vihor
14b4c6b795
Translated using Weblate (Serbian)
Currently translated at 11.2% (141 of 1257 strings)
2020-04-13 07:34:40 +02:00
Coucouf
d3c8aac7c3
Translated using Weblate (French)
Currently translated at 100.0% (1257 of 1257 strings)
2020-04-13 07:34:40 +02:00
James Valleroy
ba0bb524ee
Release v20.6.1 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.6.1
2020-04-11 09:57:07 -04:00
James Valleroy
178caf65fe
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-11 09:56:07 -04:00
vihor
0e0ce2d6cb
Translated using Weblate (Serbian)
Currently translated at 10.5% (132 of 1257 strings)
2020-04-11 15:36:20 +02:00
wind
4786272efe
Translated using Weblate (Russian)
Currently translated at 75.3% (947 of 1257 strings)
2020-04-11 15:36:19 +02:00
Jeannette L
67ed607c86
Translated using Weblate (Italian)
Currently translated at 50.1% (630 of 1257 strings)
2020-04-11 15:36:17 +02:00
Jeannette L
f96e87a5d5
Translated using Weblate (French)
Currently translated at 100.0% (1257 of 1257 strings)
2020-04-11 15:36:17 +02:00
Jeannette L
11b43fd8ee
Translated using Weblate (German)
Currently translated at 99.9% (1256 of 1257 strings)
2020-04-11 15:36:16 +02:00
Coucouf
eb2e10833a
Translated using Weblate (French)
Currently translated at 100.0% (1257 of 1257 strings)
2020-04-11 08:28:02 +02:00
James Valleroy
a9adc13a56
debian: Add firmware-ath9k-htc to Recommends
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-09 17:35:21 -04:00
nautilusx
d3c462ca40
Translated using Weblate (German)
Currently translated at 99.9% (1256 of 1257 strings)
2020-04-09 05:20:56 +02:00
Manuela Silva
ba32cd1208
Translated using Weblate (Portuguese)
Currently translated at 13.6% (172 of 1257 strings)
2020-04-08 15:55:30 +02:00
Coucouf
a723352d19
Translated using Weblate (French)
Currently translated at 100.0% (1257 of 1257 strings)
2020-04-08 15:55:28 +02:00
Allan Nordhøy
9f0d5dc0fa
Translated using Weblate (German)
Currently translated at 99.7% (1254 of 1257 strings)
2020-04-08 15:55:26 +02:00
Allan Nordhøy
f3fc0654fb
Translated using Weblate (Norwegian Bokmål)
Currently translated at 86.0% (1082 of 1257 strings)
2020-04-07 21:03:07 +02:00
Allan Nordhøy
f83302e541
gitweb: Use proper ellipsis char when showing clone progress
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-04-07 10:09:32 -07:00
James Valleroy
c43ba1d824
users: Fix regression where form help_text line was dropped
Thanks to coucouf for pointing this out.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-04-07 10:05:28 -07:00
James Valleroy
64024725be
Release v20.6 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v20.6
2020-04-06 20:53:29 -04:00
James Valleroy
30b4b67e7f
debian: Cleanup overrides for jsxc symlinks
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-06 20:52:44 -04:00
James Valleroy
b185ff8e37
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-06 20:40:11 -04:00
James Valleroy
7f7821e886
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-06 20:00:47 -04:00
Coucouf
308dd7425c
Translated using Weblate (French)
Currently translated at 100.0% (1261 of 1261 strings)
2020-04-07 01:58:35 +02:00
Luis A. Arizmendi
97b023e5f1
Translated using Weblate (Spanish)
Currently translated at 100.0% (1261 of 1261 strings)
2020-04-07 01:58:20 +02:00
Joseph Nuthalapati
4f6d987ef4
infinoted: Fix permissions of sync directory
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-06 19:54:53 -04:00
Joseph Nuthalapati
435b028d17
firewalld: Force upgrade anything in [0.7, 0.9)
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-06 19:03:02 -04:00
Joseph Nuthalapati
7ed64c03fc
vagrant: Skip upgrading freedombox dependencies
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-06 19:02:58 -04:00
vihor
e14ba856ae
Translated using Weblate (Serbian)
Currently translated at 7.6% (96 of 1261 strings)
2020-04-06 04:28:26 +02:00
Joseph Nuthalapati
7b5aa454fc
Translated using Weblate (Telugu)
Currently translated at 65.1% (821 of 1261 strings)
2020-04-06 04:28:24 +02:00
Coucouf
a3eda27b54
Translated using Weblate (French)
Currently translated at 100.0% (1261 of 1261 strings)
2020-04-06 04:28:23 +02:00
Joseph Nuthalapati
900d4e7e18
ikiwiki: Disable edits. Add moderation of comments
Fixes #1631

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-05 18:54:52 -04:00
Thomas Vincent
97846f60cb
Translated using Weblate (French)
Currently translated at 100.0% (1261 of 1261 strings)
2020-04-05 15:06:19 +02:00
Coucouf
8cc4691674
Translated using Weblate (French)
Currently translated at 100.0% (1261 of 1261 strings)
2020-04-05 15:06:19 +02:00
James Valleroy
907912d3a6
packages: Keep existing hold if already set
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-04 17:03:23 -04:00
James Valleroy
10c6ee13da
packages: Mark freedombox package as held during package installs
In case the package to be installed (or its dependencies) conflicts
with freedombox (or its dependencies), this will fail the installation
rather than removing the freedombox package.

Closes #1790.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2020-04-04 14:12:52 -04:00
vihor
9d6d3427da
Added translation using Weblate (Serbian) 2020-04-04 18:07:30 +02:00
Sunil Mohan Adapa
8cae5af622
syncthing: Update description to mention 'syncthing' group
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-04 09:32:03 -04:00
Joseph Nuthalapati
ec8702f848
app: Fix grammar in developer documentation string
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-04 09:32:00 -04:00
Joseph Nuthalapati
d2993236e3
cosmetic: Minor yapf and other fixes
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-04 09:31:57 -04:00
Joseph Nuthalapati
09583f3bbe
yapf: Update conf to add blank line before nested class/def
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-04 09:31:52 -04:00
Joseph Nuthalapati
e04ae48637
users: Add component for managing users and groups
- Handle groups needed by an app.
- Handle reserved usernames for an app.
- Updated documentation
- Updated unit tests

Tests performed:
  - Reserved usernames: ez-ipupd, ejabberd, Debian-minetest, mldonkey,
    monkeysphere, mumble-server, privoxy, quasselcore, radicale, debian-tor,
    debian-transmission
  - Reserved usernames checks should work in the following forms:
    - Create user
    - Update user
    - First boot user creation
  - Full list of available groups should appear in following cases:
    - Create user form
    - Update user form
  - Full list of groups should get created in Django DB during:
    - Update user form display
    - First boot form save
  - When updating the last admin user, the 'admin' group choice is checked
    and disabled.
  - Following groups show up (sorted by group name):
    - bit-torrent: Download files using BitTorrent applications
    - git-access: Read-write access to Git repositories
    - i2p: Manage I2P application
    - wiki: View and edit wiki applications
    - minidlna: Media streaming server
    - ed2k: Download files using eDonkey applications
    - freedombox-share: Access to the private shares
    - web-search: Search the web
    - syncthing: Administer Syncthing application
    - feed-reader: Read and subscribe to news feeds
    - admin: Access to all services and system settings
  - Directory validation form checks for write permissions for following apps:
    - deluge with debian-deluged user
    - transmission with debian-transmission user
  - Sharing app should show all the groups in add/edit share forms
  - The following apps should get added to share group during setup:
    debian-transmission
    debian-deluged
  - Unit tests pass
  - Functional tests for users and groups pass
  - Test that an app (example syncthing) provides the necessary
    permissions to users in that group (but not in admin group).

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Fix i18n of group descriptions]
[sunil: Update developer documentation]
[sunil: Separate out cosmetic changes]
[sunil: Fix component ID for mumble]
[sunil: sharing: Remove unneeded dependency on users app]
[sunil: Implement better API for getting groups in component]
[sunil: Fix incorrect regression change ttrss app]
[sunil: Make iterating over gourps more readable]
[sunil: Improve tests, drop single use fixtures]
[sunil: Simplify test_view.py fixture]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Tested-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-04-04 09:31:35 -04:00
Allan Nordhøy
e6e67f7d53
Translated using Weblate (Hindi)
Currently translated at 65.1% (821 of 1261 strings)
2020-04-03 22:11:10 +02:00
Allan Nordhøy
8252332072
Translated using Weblate (Italian)
Currently translated at 50.1% (633 of 1261 strings)
2020-04-03 22:11:10 +02:00
Allan Nordhøy
62f75f16d6
Translated using Weblate (French)
Currently translated at 100.0% (1261 of 1261 strings)
2020-04-03 22:11:09 +02:00
Allan Nordhøy
b9b4a2058b
Translated using Weblate (German)
Currently translated at 100.0% (1261 of 1261 strings)
2020-04-03 22:11:09 +02:00
James Valleroy
2472b59484
radicale: Support upgrade to any 2.x version
Closes #1429

Test:
- Install latest radicale (2.1.11-8). Downgrade python3-radicale and
  radicale to 2.1.11-6. Change access rights setting to something
  other than the default. Run `unattended-upgrades -v` and confirm
  that there is a conffile prompt. Run `apt update` and check that log
  show radicale is upgraded. Confirm that access rights are still set
  as selected.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Nektarios Katakis <iam@nektarioskatakis.xyz>
2020-04-02 20:24:41 +01:00