4837 Commits

Author SHA1 Message Date
Alice Kile
8e3bbdb089
clients: implement launch button feature
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-18 19:41:14 +05:30
Radek Pasiok
42949bf212
Translated using Weblate (Polish)
Currently translated at 30.1% (333 of 1106 strings)
2019-11-17 14:04:30 +01:00
Sunil Mohan Adapa
ebe6a0ed02
tor: Listen on IPv6 for OrPort
- Fix regex for reading OrPort value from command port communication.

- Setup all new configurations for listening on IPv6 for OrPort.

- Upgrade existing configuration for listening on IPv6 for OrPort. Increment app
  version number force run setup again.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-15 20:14:49 -05:00
Sunil Mohan Adapa
ca9047104a
tor: Expect obfs service to be also available on IPv6
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-15 20:14:46 -05:00
Sunil Mohan Adapa
dcdd6a0988
tor: Fix port diagnostics by correcting port data type
Helps #472.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-15 20:14:44 -05:00
Sunil Mohan Adapa
7354277e58
doc: Fix unavailability of manual images
Closes: #1688.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-14 21:32:29 +05:30
Veiko Aasa
955da6bee8
turbolinks: Disable turbolinks on links that don't point to /plinth/...
Fixes #1678

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-14 08:14:49 +05:30
James Valleroy
e3e123bcbd
HACKING: Fix provision with tests command
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-13 08:12:14 -05:00
Sunil Mohan Adapa
96a8647b5d
CONTRIBUTING: Add more instructions on commits and MR changes
- Talk about 'Contributor Invite' tags.

- Suggest how to split commits and provide changes to address review commits.

- Suggest using 'yapf' and 'isort' tools for code quality.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-13 07:59:52 -05:00
Sunil Mohan Adapa
190a82e9e8
HACKING: Update with instructions for multiple OSes
- Add instructions on how to install Git, Vagrant and VirtualBox for other OSes.
  Instructions for other OSes are untested by me.

- Add instruction to checkout the source code.

- Remove instructions for installing on the host machine, these have not been
  tested for a while and could lead to confusion. 'setup.py develop' option is
  not being used anymore.

- Installing firefox using apt provides a sufficient version of functional
  tests. Simplify the instructions.

- Update functional tests instructions to use the '-m' mark option instead of of
  '-k' keyword.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-13 07:59:49 -05:00
Allan Nordhøy
3809051760
Translated using Weblate (Norwegian Bokmål)
Currently translated at 95.8% (1059 of 1106 strings)
2019-11-12 09:04:19 +01:00
Birger Schacht
47261ae79a
tor: Rename "Hidden Service" to "Onion Service"
Upstream does not use the term "Hidden Service" anymore.
https://2019.www.torproject.org/docs/onion-services.html.en

Closes #1624

Signed-off-by: Birger Schacht <birger@rantanplan.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-11 22:13:35 +05:30
Michael Breidenbach
4bbfc1a212
Translated using Weblate (Swedish)
Currently translated at 100.0% (1106 of 1106 strings)
2019-11-10 16:04:58 +01:00
Thomas Vincent
866e586742
Translated using Weblate (French)
Currently translated at 100.0% (1106 of 1106 strings)
2019-11-10 16:04:11 +01:00
Joseph Nuthalapati
010b9cfde4
doc: dev: Add favicon to developer documentation site
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-09 17:11:25 -08:00
Joseph Nuthalapati
8225de973c
doc: dev: Fix headings
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-09 17:11:18 -08:00
Joseph Nuthalapati
bc1ab90630
doc: dev: Reduce toc depth to 2 levels to reduce noise
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-09 17:11:11 -08:00
Joseph Nuthalapati
f424c80a0a
doc: dev: Mention where to find the user manual
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Minor wording changes]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-09 17:11:04 -08:00
Joseph Nuthalapati
ad30321fac
doc: dev: Add instructions to setup developer documentation
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil: Package is python3-sphinx-autobuild and not python3-sphinx-autodoc]
[sunil: Add about section, reindent]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-09 17:10:49 -08:00
Joseph Nuthalapati
307dc1585c
README: Fix hyperlinks to badges and images
- Avoid redirect in Weblate translation badge

- Point to freedombox package instead of plinth for Debian badges

- Fix image hyperlinks

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-09 16:27:33 -08:00
Joseph Nuthalapati
cd1e7b649d
tahoe: Mark Tahoe-LAFS as an advanced app
Tahoe LAFS is an app requiring some technical knowledge to use and its support
in FreedomBox is experimental. The use case of a cluster of FreedomBoxes running
Tahoe-LAFS nodes isn't tested yet. It's intended use case as a backend for the
backups app isn't implemented yet.

- Fixed functional test implementation for advanced mode
- Did not fix failing Tahoe-LAFS tests, keeping them skipped for now.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-08 13:58:55 -08:00
Sunil Mohan Adapa
8e341a6c3b
backups: Simplify SSH fingerprint verification command
There is no need to access the private key of an SSH host to get it's public key
fingerprint. Use public key file instead. No need for 'sudo' privileges because
of this any non-admin users can also do this verification.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-08 22:42:42 +05:30
Sunil Mohan Adapa
a5d9736abc
backups: i18n for a string on verify ssh host page
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-08 22:42:24 +05:30
Joseph Nuthalapati
baa5a12c62
ejabberd: Handle case where domain name is not set
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-07 15:35:34 -08:00
Veiko Aasa
aaee9ec8a9
gitweb: Do not recursively scan for Git repositories
Temporary directories are now hidden when cloning remote repositories.

Fixes #1677

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-07 15:00:24 -08:00
Birger Schacht
7eb6d23e83
ssh: Add the error of ssh-keyscan to the verification view
This commit takes the stderr of `ssh-keyscan` (in case of a returncode thats not
zero) and stores it as as string in the form object. The view then displays the
information as preformatted text in a warning class.

Signed-off-by: Birger Schacht <birger@rantanplan.org>
[sunil: Cosmetic: variable name change for consistent naming]
[sunil: <pre> can't be inside <p>, keep it out]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-07 14:25:30 -08:00
Birger Schacht
25bcee6488
backups: Show proper error when SSH server is not reachable
The backup module is connecting to the remote backup host using ssh-keyscan to
get a list of SSH public keys. When the connection fails, the form should inform
the user that there was a problem, instead of simply not listing any SSH public
keys.

Closes: #1656.

Signed-off-by: Birger Schacht <birger@rantanplan.org>
[sunil: Minor indentation]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-07 14:25:26 -08:00
Allan Nordhøy
7cb7369ff4
Translated using Weblate (Swedish)
Currently translated at 35.9% (397 of 1106 strings)
2019-11-06 07:04:02 +01:00
Doma Gergő
35ebc80e57
Translated using Weblate (Hungarian)
Currently translated at 96.7% (1069 of 1106 strings)
2019-11-06 07:04:01 +01:00
nautilusx
3e5d67edfc
Translated using Weblate (German)
Currently translated at 100.0% (1106 of 1106 strings)
2019-11-06 07:03:59 +01:00
Veiko Aasa
c99b33b40e
gitweb: Allow to import from a remote repository
- Allow to enter either name or URL when creating repository

- Validate a repository URL, allow only http and https schemes

- Set autocomplete off on the name/URL field because URL may contain
  username:password

- Check whether the repository actually exists before cloning

- Show progress info while cloning

- Actions script: new subcommand check-repo-exists and new arguments
  for the create-repo: --url, --prepare-only and --skip-prepare

- Add test for invalid URLs

Closes #1670

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
[sunil: Fix validating repo name in edit form]
[sunil: Don't pipe stdin of clone process, it may lead to a hang]
[sunil: Always run clone process with 'C' locale since we are parsing output]
[sunil: Cosmetic changes]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-04 21:16:30 -08:00
James Valleroy
ca0c991562
Release v19.20 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.20
2019-11-04 19:26:55 -05:00
James Valleroy
6e35012b2a
doc: Fetch latest manual
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-04 19:15:10 -05:00
James Valleroy
077c935b20
locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-04 18:35:36 -05:00
James Valleroy
17cafd9594
coquelicot: Change quotes to ASCII
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-04 18:33:46 -05:00
Sunil Mohan Adapa
d5e6690019
Translated using Weblate (Swedish)
Currently translated at 36.1% (398 of 1101 strings)
2019-11-04 21:36:29 +01:00
Veiko Aasa
2c999899ea
sharing: Fix wrong links on Apache2 directory index page
For example, when visiting '/share/myshare' then shared test.txt file links
to a wrong url /share/text.txt, it should be /share/myshare/text.txt.

This is related to #1676

Signed-off-by: Veiko Aasa <veiko17@disroot.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-04 12:23:20 -08:00
James Valleroy
88bf07adee
functional_tests: Update config form ids
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-04 11:30:41 -08:00
James Valleroy
b338501778
config: Implement get_initial and form_valid
Fixes #1675.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2019-11-04 11:30:38 -08:00
Michael Breidenbach
da0325e4b5
Translated using Weblate (Swedish)
Currently translated at 36.1% (398 of 1101 strings)
2019-11-04 19:04:02 +01:00
Fred
2970d27551
Translated using Weblate (French)
Currently translated at 98.9% (1089 of 1101 strings)
2019-11-04 19:03:56 +01:00
Allan Nordhøy
3b447e026a
Translated using Weblate (French)
Currently translated at 98.9% (1089 of 1101 strings)
2019-11-04 19:03:54 +01:00
Joseph Nuthalapati
19d96f30e8
snapshot: Sort snapshot list from newest to oldest
Fixes #1655

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-04 06:15:48 -05:00
Sunil Mohan Adapa
1b218666f4
actions: Fix issue with docstring causing issues with Sphnix
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-02 13:51:18 -04:00
Sunil Mohan Adapa
80498919fb
doc: Add developer documentation using Sphinx
- This is completely reworked but based on /Developer page in the FreedomBox
  Manual.

- This documentation can be made available as static site on
  https://docs.freedombox.org and the /Developer page in the FreedomBox Manual
  can be dropped.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-02 13:51:14 -04:00
Allan Nordhøy
108f7b8d46
Translated using Weblate (French)
Currently translated at 97.6% (1075 of 1101 strings)
2019-11-02 15:17:58 +01:00
Fred
4cb48deed6
Translated using Weblate (French)
Currently translated at 97.6% (1075 of 1101 strings)
2019-11-02 15:17:58 +01:00
Michael Breidenbach
7bd4e60ba0
Translated using Weblate (Swedish)
Currently translated at 29.6% (326 of 1101 strings)
2019-11-01 00:03:57 +01:00
Thomas Vincent
d5144224e5
Translated using Weblate (French)
Currently translated at 78.1% (860 of 1101 strings)
2019-11-01 00:03:49 +01:00
Doma Gergő
2a33c87c4c
Translated using Weblate (Hungarian)
Currently translated at 94.9% (1045 of 1101 strings)
2019-11-01 00:03:47 +01:00