2737 Commits

Author SHA1 Message Date
James Valleroy
2e7b2d41fd
Release v0.20.0
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v0.20.0
2018-01-01 15:04:26 -05:00
James Valleroy
3553cbe88a
Fetch latest manual from wiki
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-01 15:00:59 -05:00
James Valleroy
e6b303dd9b
Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-01 13:37:52 -05:00
Joseph Nuthalpati
37138ee83b
mediawiki: Add wiki application
Installs and configures MediaWiki. SSO integration is not included yet.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-01 13:20:37 -05:00
Sunil Mohan Adapa
407f5fb6ac
storage: yapf formatting
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-01 09:49:55 -05:00
Sunil Mohan Adapa
67cb367838
storage: Make tests run on special filesystems
When the source code directory is on a special filesystem such as vbox shared
filesystem, loop back device setup does not seem to work properly. Fix this by
creating disk images in temporary directory instead of source code directory.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-01 09:49:39 -05:00
Viral Sachde
0c7d41f3f6 Translated using Weblate (Gujarati)
Currently translated at 7.7% (67 of 866 strings)
2018-01-01 15:45:12 +01:00
Sunil Mohan Adapa
0a3eec3510
bind: Add information about current utility
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-01-01 09:41:46 -05:00
Petter Reinholdtsen
239816a38d Translated using Weblate (Norwegian Bokmål)
Currently translated at 90.3% (782 of 866 strings)
2017-12-31 14:13:07 +01:00
Sunil Mohan Adapa
ec0a323cb6
bind: Minor i18n updates
- Use a proper i18n label for 'Forwarders' fields instead of auto-generated one.

- Reuse an already used success message for form submission so that a new
  message is not introduced for l10n.

- Minor styling fixes and a yapf run.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-31 18:42:22 +05:30
James Valleroy
c7c9b200a8
bind: Remove option to enable forwarding
Forwarding is enabled by adding forwarders.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-31 18:42:12 +05:30
James Valleroy
7dcaee7b43
bind: Don't use forwarders by default
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-31 18:42:05 +05:30
James Valleroy
3e66e57c0f
bind: Rework getting and changing config
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-31 18:41:58 +05:30
James Valleroy
3cb95fcbbd
bind: Add tests for config
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-31 18:41:48 +05:30
Johannes Keyser
a2102ff4ad Translated using Weblate (German)
Currently translated at 100.0% (866 of 866 strings)
2017-12-31 05:50:47 +01:00
Johannes Keyser
e0dd7d10be
ejabberd: Minor description cleanups
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-31 10:19:25 +05:30
Sunil Mohan Adapa
15f2e7d0c3
users: Make sure first run actually works
During the first setup, older_version is sent as 0 instead of None. Make sure
that is actually works by doing proper condition check.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-29 14:20:15 -05:00
Johannes Keyser
4506437927 Translated using Weblate (German)
Currently translated at 100.0% (866 of 866 strings)
2017-12-29 19:53:35 +01:00
Pavel Borecki
e38c9952c0 Translated using Weblate (Czech)
Currently translated at 96.0% (832 of 866 strings)
2017-12-26 07:16:08 +01:00
Johannes Keyser
ff05d015ef
ejabberd: Remove redundant button Client Apps
- Fixes issue #1167.

Signed-off-by: Johannes Keyser <johanneskeyser@posteo.de>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-26 11:45:09 +05:30
James Valleroy
80f27bb7af
Release v0.19.0
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
v0.19.0
2017-12-18 17:17:15 -05:00
James Valleroy
029451870c
Bump standards version, no changes needed
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-18 17:16:47 -05:00
James Valleroy
ece1ffff75
Fetch latest manual from wiki
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-18 17:02:29 -05:00
James Valleroy
efd34ac83e
Update changelog
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-18 16:42:02 -05:00
James Valleroy
e4e7af0f45
Update translation strings
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-18 16:34:15 -05:00
Sunil Mohan Adapa
d15e6b22f1
help: Don't uncompress the PDF manual
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-12-18 15:27:44 +05:30
Joseph Nuthalapati
0b6006968e
manual: Download can serve either pdf or pdf.gz file
Fixes the problem where an installation might not have a gzipped version of the
manual (like the Plinth development VM for example).

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-18 15:27:26 +05:30
Joseph Nuthalapati
3bafdb3789
manual: Make manual available as a PDF download
- serving gzipped version of PDF manual
- works with the latest versions of both Firefox and Chromium
- closes #1117

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-18 15:26:33 +05:30
Joseph Nuthalapati
202d0bf5c7
snapshots: Minor refactoring
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-12-18 12:23:58 +05:30
hanisha
76ffad7955
Option to enable/disble automatic timeline snapshots
Signed-off-by: Hanisha P<hanishap@thoughtworks.com>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-12-18 12:21:01 +05:30
James Valleroy
a2997a0c70
vagrant: Avoid debconf prompts while provisioning
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-12-18 10:38:30 +05:30
Joseph Nuthalapati
3e5dcfcbf5
snapshots: Button to delete all snapshots
- closes #1144

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-14 10:04:07 -05:00
Joseph Nuthalapati
81f4d7ec42
users: tests: restore previous value of restricted access
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-14 08:51:11 -05:00
Joseph Nuthalapati
dafd2f113e
Suppress unnecessary logging in cfg tests
Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-14 08:51:02 -05:00
Joseph Nuthalapati
8da56c0fb4
Fix failing root tests
- There are tests checking whether a user can login to ssh which fail with the
  default security settings.
- Toggling the security settings in the setup and teardown of the test suite to
  allow non-admin users to login to ssh as well.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-14 08:50:45 -05:00
hanisha
9adc777ae9
minetest: Show domain information for users to connect to minetest
Signed-off-by: Hanisha P <hanishap@thoughtworks.com>
Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
2017-12-14 16:56:54 +05:30
Sunil Mohan Adapa
2d17f19ae2
users: Add a note about using separate first setup action
Instead of a separate action that is conditionally called for a version number,
we can check if the domain currently configured is what we want and then based
on the value do a reconfiguration. This approach will work better when Plinth
state is reset etc.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-14 11:43:23 +05:30
James Valleroy
87eecb7c62
users: Handle upgrade for ldapscripts config
Increment users module version so existing users will get FreedomBox
copy of ldapscripts config file.

Avoid reconfiguration of slapd during module upgrade, because this
will move the existing database.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-14 11:43:07 +05:30
James Valleroy
4cbb60ccfe
users: Use own copy of ldapscripts config
Avoid modifying the conffile shipped with ldapscripts.

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2017-12-14 11:42:51 +05:30
Sunil Mohan Adapa
44b92f12eb
clients: Update all manifest due to use updated framework
- Validate all the client data using the validation function.

- No need for enums anymore. Easier to read.

- Use the combined store URL method.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-13 18:56:38 -05:00
Sunil Mohan Adapa
acd248e506
clients: Cleanup framework
- Move all utilities to a separate clients.py module. Tests too.

- Use fewer custom template tags. Actually only one tag is really required.
  Keeping custom tags minimal is a goal.

- Merge the methods to generate app store URLs.

- Implement a validator for validating client information and use that instead
  of enums.

- Internationalize the text on template page.

- Add missing RPM package case.

- Cleanup CSS. Remove unused styles, minimize the styles set.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-13 18:56:30 -05:00
Sunil Mohan Adapa
13c4c687da
api: Update for clarity (API breaking change)
- Change the term 'service' to 'shortcut' as what we want to present is actually
  shortcuts and not services. Services is already a confused term between
  firewall service and a service daemon.

- Fix icon paths containing relative URLs.

- Make the access information API extensible in future.

- Send full list of domains in access information and not just one domain per
  domain type.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-13 18:56:23 -05:00
Sunil Mohan Adapa
ed25449711
clients: Update icons to be 32x32 consistently
- Avoid serving large PNG files to improve performance.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-13 18:56:14 -05:00
Sunil Mohan Adapa
1200020a0e
clients: Minor styling fixes
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-13 18:56:08 -05:00
Sunil Mohan Adapa
b542d43175
Update HACKING file about coding standard tools
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-13 18:56:01 -05:00
Sunil Mohan Adapa
3e644f7afa
Update yapf configuration for simplicity
- Currently set spaces_before_comment is default, don't set explicitly.

- Currently set split_before_logical_operator is default, don't set explicitly.

- Current set each_dict_entry_on_separate_line is default, don't set explicitly.
  Also this is not a configuration available on yapf in stretch making this
  configuration unusable on stretch machines.

- coalesce_backets is only effective when dedent_closing_brackets is set which
  is off by default. So this has no effect.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-13 18:55:38 -05:00
John McCann
cb55b87660
ejabberd: Use dynamic reload after enabling/disabling MAM
After a user enables/disables MAM, use ejabberd's reload_config instead
of restarting ejabberd.

Please let me know how this looks? Could reload_config also be of use
when adding/dropping a Let's Encrypt certificate?

Fixes #1010

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-13 08:48:16 -05:00
Allan Nordhøy
0c3f08c082 Translated using Weblate (Norwegian Bokmål)
Currently translated at 90.9% (766 of 842 strings)
2017-12-13 01:49:27 +01:00
Joseph Nuthalapati
32b2ef38c7
Fixes for user groups
- Edit user form fails because a 'wiki' group entry exists in the database
  though the ikiwiki app hasn't been installed yet.
- Register group when a user group is created by an application, so that a
  plinth restart can be avoided.

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-10 19:09:58 -05:00
Joseph Nuthalapati
7ce5d1f636
groups: User permissions for access to apps based on LDAP groups
- More user-friendly treatment of groups and their permissions

Closes #690

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2017-12-10 19:09:55 -05:00