Commit Graph
4536 Commits
Author SHA1 Message Date
Federico Ceratto 263cd58b24 Upload v19.13~bpo10+1 to buster-backports 19.13bpo10+1 2019-08-06 15:40:09 +01:00
James Valleroy 6b77eb9a05 Release v19.13~bpo10+1 to buster-backports
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-31 20:55:18 -04:00
James Valleroy 4901ad76f2 Release v19.13 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.13
2019-07-29 19:43:59 -04:00
James Valleroy 1df4f19801 security: Fixup refactoring
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-29 19:43:51 -04:00
James Valleroy 64eac18873 doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-29 19:13:18 -04:00
James Valleroy 08a23b6416 locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-29 18:41:21 -04:00
Anxin YI 1c35acb27f Translated using Weblate (Chinese (Simplified))
Currently translated at 60.3% (628 of 1041 strings)
2019-07-30 00:36:59 +02:00
nautilusx 89a193f3a4 Translated using Weblate (German)
Currently translated at 100.0% (1041 of 1041 strings)
2019-07-30 00:36:57 +02:00
Sunil Mohan Adapa 229843cd1e backups: Fix HTML template indentation, remove inline styling
Remove inline styling as it won't work with upcoming content security rules.
They should be re-added in CSS files.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-29 14:09:38 -07:00
Sunil Mohan Adapa c64fea7746 backups: Fix issue with showing index page
Fix an exception when loading backups page:

Exception Value: 'functools.partial' object has no attribute '__name__'

Exception Location: /vagrant/plinth/modules/backups/decorators.py in
 delete_tmp_backup_file, line 38

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-29 14:09:35 -07:00
Joseph Nuthalapati caf1e4b0bd flake8: Remove unused import
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-29 14:09:31 -07:00
Joseph Nuthalapati faac8cdd9c backups: Make backup location tables collapsible
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
[sunil@medhas.org Fix incorrectly removed <tr> tag in <thead>]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-29 14:09:28 -07:00
Joseph Nuthalapati c2cb187d91 backups: Make UI more consistent with other apps
- Replace subsubmenu with buttons
- Left align icons in table header (restore and delete)
- Replace the technical term "repository" with "location"
- Confirmation dialogs shouldn't have app name, description, manual etc.
- Confirmation dialogs don't need Cancel buttons

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
[sunil@medhas.org: Remove 'primary' for all but one button]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-29 14:09:12 -07:00
James Valleroy 22c00d5cd4 security: Show vulnerability counts
Show the number of vulnerabilities reported by debsecan for freedombox
package and for managed_packages of each installed app.

Essential apps are not included in the list. Also note that
dependencies of the managed_packages are not included yet.

The purpose of this information is to help users decide which apps to
use, and what level of personal information to store in each app.

Closes #1609.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil@medhas.org Show essential apps too]
[sunil@medhas.org Fix HTML tags]
[sunil@medhas.org Use setup_helper to get the installed state of an app]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-29 12:08:04 -07:00
James Valleroy a0837be410 help: Show security notice when backports are in use
Closes #1611.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil@medhas.org: Fixed incorrect HTML nesting and inline styling]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-26 16:51:31 -07:00
Sunil Mohan Adapa 9d39225098 diaspora: Fix tests by reverting changes during flake8 clenaup
Revert diaspora changes from 86da6a894a

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-25 12:08:27 -07:00
Sunil Mohan Adapa 86da6a894a Minor changes to flake8 related updates
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-25 11:46:14 -07:00
Nikolas Nyby 5439084c84 Add flake8 to gitlib-ci - closes #58
And fix the rest of the flake8 errors.

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-25 11:07:06 -07:00
Nikolas Nyby f81b1751ce Fix typos in module init docs
Intialize -> Initialize

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-24 14:55:22 -07:00
Petter Reinholdtsen bd951fbf2b Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (1041 of 1041 strings)
2019-07-24 23:03:33 +02:00
Nikolas Nyby ace339eabf Introduce flake8 checking - #58
This introduces flake8 and fixes a bunch of flake8 errors.

flake8 is run with: ./venv/bin/flake8 plinth
if you're using a python3 venv.

We can eventually further integrate this with gitlab ci.

https://salsa.debian.org/freedombox-team/plinth/issues/58

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-24 14:01:54 -07:00
Nikolas Nyby d2e987ef3c Fix a handful of typos in docs and comments
Found with [codespell](https://github.com/codespell-project/codespell/)

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-07-24 12:39:11 -07:00
James Valleroy 45614b198b Release v19.12 to experimental
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.12
2019-07-22 19:23:45 -04:00
James Valleroy d42338bf17 doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-22 19:22:39 -04:00
James Valleroy b9a6af4f6a locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-22 18:36:39 -04:00
James Valleroy 98a824bf80 Translated using Weblate (Chinese (Simplified))
Currently translated at 58.2% (618 of 1061 strings)
2019-07-23 00:31:47 +02:00
Joseph Nuthalapati 884b1c67fb sharing: Indicate public shares in listing of shares
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-22 17:56:52 -04:00
Joseph Nuthalapati 654d69a389 sharing: Simplify --is-public option
Use store_true with default=False to toggle public status based on whether
'--is-public' argument is passed or not.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-22 17:56:50 -04:00
Joseph Nuthalapati 9fc8c3604c sharing: Add JavaScript to hide user groups for public shares
- User groups will only be shown when the shares are not public.
- Checking the checkbox for public shares hides the user groups.
- Unchecking the checkbox for public shares shows the user groups.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-22 17:56:47 -04:00
Joseph Nuthalapati 6e0671e142 sharing: Add functional test for public shares
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-22 17:56:45 -04:00
Joseph Nuthalapati 1eec1cf9ce sharing: Allow directories to be publicly shared
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-22 17:56:35 -04:00
Joseph Nuthalapati d0ed538bfa Translated using Weblate (Chinese (Simplified))
Currently translated at 58.2% (618 of 1061 strings)
2019-07-22 19:07:01 +02:00
ZeroAurora 5036d7ea62 Translated using Weblate (Chinese (Simplified))
Currently translated at 58.2% (618 of 1061 strings)
2019-07-22 19:07:00 +02:00
Igor 16b27122a5 Translated using Weblate (Russian)
Currently translated at 97.8% (1038 of 1061 strings)
2019-07-22 19:06:58 +02:00
Joseph Nuthalapati bcd842734f Translated using Weblate (Telugu)
Currently translated at 66.4% (704 of 1061 strings)
2019-07-22 19:06:57 +02:00
Sunil Mohan Adapa b0d797a84a Minor yapf and isort changes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-21 09:06:04 -04:00
Sunil Mohan Adapa 0f807bcd48 sso: Use new features of axes, log axes messages
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-07-21 09:05:58 -04:00
Anxin YI 9c8b48ceac Translated using Weblate (Chinese (Simplified))
Currently translated at 57.0% (605 of 1061 strings)
2019-07-18 16:05:06 +02:00
Elizabeth Sherrock a058f28264 Translated using Weblate (Chinese (Simplified))
Currently translated at 57.0% (605 of 1061 strings)
2019-07-18 16:05:06 +02:00
Sunil Mohan Adapa de146b9678 ejabberd: Backup and restore TLS certificates
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-07-16 15:13:50 +05:30
Sunil Mohan Adapa 49b543599a ejabberd: Add let's encrypt component for managing certificates
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-07-16 15:13:44 +05:30
Sunil Mohan Adapa 9fd1b95244 matrixsynapse: Add let's encrypt component for certficiates
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-07-16 15:13:35 +05:30
Sunil Mohan Adapa c47a99b25e apache: Add let's encrypt certificate component
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-07-16 15:13:28 +05:30
Sunil Mohan Adapa 254b8a98a9 letsencrypt: Handling certificate renewals when daemon is offline
During boot or in other situations when FreedomBox Service is offline, Let's
Encrypt certificate renewals might happen. When FreedomBox Service starts, check
on such certificates and run certificate setup mechanism in each app to use the
latest renewed certificate.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-07-16 15:13:21 +05:30
Sunil Mohan Adapa 9c6efad55d letsencrypt: Implement re-obtain separately
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-07-16 15:13:13 +05:30
Sunil Mohan Adapa 8cae72c441 letsencrypt: Trigger events for obtain, revoke and delete
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-07-16 15:12:52 +05:30
Sunil Mohan Adapa c33c44eea0 letsencrypt: Trigger renewal certificate events in component
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-07-16 15:12:44 +05:30
Sunil Mohan Adapa c54a75f85c letsencrypt: Add permanent hook to receive renewal notifications
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-07-16 15:12:34 +05:30
Sunil Mohan Adapa e24a76e1b7 letsencrypt: Introduce component for handling certificates
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-07-16 15:12:25 +05:30
Sunil Mohan Adapa da366636d8 letsencrypt: Implement action to compare copied certificates
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2019-07-16 15:12:16 +05:30