Commit Graph
4853 Commits
Author SHA1 Message Date
Joseph Nuthalapati 71ccb5882b pagekite: Make Custom Services look like it's under Configuration
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-20 05:55:21 +05:30
Joseph Nuthalapati c2412621b3 pagekite: Show existing services only if there are any
Reduces visual noise on the page.

Some formatting changes

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-20 05:03:07 +05:30
Joseph Nuthalapati 6f975a159c pagekite: Fix functional tests
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-20 04:59:25 +05:30
Matt Conroy bdb090e386 pagekite: Get rid of tabs in the configuration page
Made the changes requested in issue #1693 to the pagekite
configuration page. Removed the tabs and the javascript.
Made a sort of hacky but working solution to always having
the standard pagekite services being enabled. Put custom
services configuration below the regular configuration and
added a separate add custom service page a la the Gitweb
page.

Fixed formatting issues.

Signed-off-by: Matt Conroy <matt@mattconroy.net>
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-20 04:58:03 +05:30
James Valleroy a869ef531c Release v19.21 to unstable
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v19.21
2019-11-18 19:36:34 -05:00
James Valleroy 295a4804f6 locale: Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-18 18:48:43 -05:00
Joseph Nuthalapati 6d1b0669fb searx: Set safe_search to Moderate by default
I remember the default being Moderate earlier. Maybe the Debian package
or upstream changed it to None. To be safe, we should set it in our
installation script too.

One problem I observed with default setting being None is that any
queries performed with this setting will be cached and a stricter
setting will not apply on the same search query. For example, if you
searched for "computer" with the default setting of None, there will be
some NSFW images returned by SearX. Setting safe_search to Moderate or
Strict later will have no effect on the search query "computer".

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-18 18:28:05 -05:00
James Valleroy 1bd0a65e5c d/po: Run debconf-updatepo
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-18 18:14:35 -05:00
Joseph Nuthalapati 815d3ec0e8 firstboot: reading firstboot-wizard-secret file
Explain how to read the firstboot-wizard-secret file using shell
commands. Remove output of the cat command.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2019-11-18 18:10:24 -05:00
Joseph Nuthalapati 00725b3526 app: Fix broken functional tests
Fix functional tests broken by the new toggle button to enable/disable
applications.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-19 00:02:16 +05:30
Joseph Nuthalapati 62bcae4975 app: Avoid showing empty configuration block
Several applications whose configuration form only includes an "Enable
application" checkbox look empty with an "Update setup" button when JavaScript
is enabled. Fixed this.

Added license header for LibreJS compliance.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-19 00:02:16 +05:30
Alice Kile fec995d7e0 app: Make the toggle-button responsive
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-19 00:02:16 +05:30
Alice Kile 1a65c88881 app: Use single form for app toggle and configuration
Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-19 00:02:16 +05:30
Alice Kile ec62f331b8 app: Implement toggle button in app page
- revamp the old form submission model to enable/disable apps into a
  simple toggle button
- provide backwards compatibility when javascript is disabled

Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-19 00:02:16 +05:30
Radek Pasiok 1504e182e4 Translated using Weblate (Polish)
Currently translated at 33.1% (366 of 1106 strings)
2019-11-18 19:04:35 +01:00
Joseph Nuthalpati 95709518eb clients: Improve code readability
- Break up long lines multiple short lines
- Fix indentation and formatting

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
2019-11-18 19:41:41 +05:30
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